Skip to content

Commit 93edcc2

Browse files
committed
[IGNORE] Use spec in table schema
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
1 parent d5af6cf commit 93edcc2

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

table/cue.mod/module.cue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ source: {
66
kind: "git"
77
}
88
deps: {
9-
"github.com/perses/perses/cue@v0": {
10-
v: "v0.54.0"
11-
default: true
12-
}
139
"github.com/perses/shared/cue@v0": {
1410
v: "v0.55.0-beta.10"
1511
default: true
1612
}
13+
"github.com/perses/spec/cue@v0": {
14+
v: "v0.3.0-beta.8"
15+
default: true
16+
}
1717
}

table/schemas/table.cue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ package model
1616
import (
1717
"strings"
1818
"github.com/perses/shared/cue/common"
19-
model "github.com/perses/perses/cue/model/api/v1/common"
19+
model "github.com/perses/spec/cue/common"
20+
pluginSpec "github.com/perses/spec/cue/plugin"
2021
)
2122

2223
kind: "Table"
@@ -40,7 +41,7 @@ spec: close({
4041
header?: string
4142
headerDescription?: string
4243
cellDescription?: string
43-
plugin?: model.#Plugin
44+
plugin?: pluginSpec.#Plugin
4445
format?: common.#format
4546
align?: "left" | "center" | "right"
4647
enableSorting?: bool

0 commit comments

Comments
 (0)