Skip to content

Commit

Permalink
Merge pull request #12 from tokenguardio/fix/dashboard-elements-are-a…
Browse files Browse the repository at this point in the history
…dded-properly

add missing basicQuery properties
  • Loading branch information
rrozek authored Mar 20, 2024
2 parents dfe6ff5 + 6babba8 commit 9676bac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ export interface IDashboardElementBasicQueryMeasure {

export interface IDashboardElementBasicQuery extends IDashboardElementVis {
type: 'basicQuery';
dbname: string;
schema: string;
table: string;
dimension: string;
differential?: string;
measures: IDashboardElementBasicQueryMeasure[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const dashboardElementButtonSchema =

const dashboardElementBasicQuerySchema =
new mongoose.Schema<IDashboardElementBasicQuery>({
dbname: { type: String },
schema: { type: String },
table: { type: String },
dimension: { type: String },
differential: { type: String },
measures: [
Expand Down

0 comments on commit 9676bac

Please sign in to comment.