-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(widget-load): apply new widget load params
Signed-off-by: samuel.park <[email protected]>
- Loading branch information
1 parent
8933ff8
commit a5a2531
Showing
3 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
apps/web/src/schema/dashboard/private-widget/api-verbs/load.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import type { Sort } from '@cloudforet/core-lib/space-connector/type'; | ||
|
||
import type { Page } from '@/schema/_common/type'; | ||
import type { DashboardVars } from '@/schema/dashboard/_types/dashboard-type'; | ||
|
||
export interface PrivateWidgetLoadParameters { | ||
widget_id: string; | ||
query?: Record<string, any>; | ||
granularity: string; | ||
start: string; | ||
end: string; | ||
sort?: Sort[]; | ||
page?: Page | ||
vars?: DashboardVars; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import type { Sort } from '@cloudforet/core-lib/space-connector/type'; | ||
|
||
import type { Page } from '@/schema/_common/type'; | ||
import type { DashboardVars } from '@/schema/dashboard/_types/dashboard-type'; | ||
|
||
export interface PublicWidgetLoadParameters { | ||
widget_id: string; | ||
query: Record<string, any>; | ||
granularity: string; | ||
start: string; | ||
end: string; | ||
sort?: Sort[]; | ||
page?: Page | ||
vars?: DashboardVars; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters