diff --git a/table/cue.mod/module.cue b/table/cue.mod/module.cue index aaa595408..cc45749b2 100644 --- a/table/cue.mod/module.cue +++ b/table/cue.mod/module.cue @@ -6,12 +6,12 @@ source: { kind: "git" } deps: { - "github.com/perses/perses/cue@v0": { - v: "v0.54.0" - default: true - } "github.com/perses/shared/cue@v0": { v: "v0.55.0-beta.10" default: true } + "github.com/perses/spec/cue@v0": { + v: "v0.3.0-beta.8" + default: true + } } diff --git a/table/schemas/table.cue b/table/schemas/table.cue index 4cad0e007..8e22a63e0 100644 --- a/table/schemas/table.cue +++ b/table/schemas/table.cue @@ -16,7 +16,7 @@ package model import ( "strings" "github.com/perses/shared/cue/common" - model "github.com/perses/perses/cue/model/api/v1/common" + pluginSpec "github.com/perses/spec/cue/plugin" ) kind: "Table" @@ -40,7 +40,7 @@ spec: close({ header?: string headerDescription?: string cellDescription?: string - plugin?: model.#Plugin + plugin?: pluginSpec.#Plugin format?: common.#format align?: "left" | "center" | "right" enableSorting?: bool