Skip to content

Commit

Permalink
add missing basicQuery properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rrozek committed Mar 20, 2024
1 parent 2d4c8df commit 6babba8
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 6babba8

Please sign in to comment.