@stoker-platform/types 0.5.55 → 0.5.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/types/app.ts +3 -0
package/package.json
CHANGED
package/src/types/app.ts
CHANGED
|
@@ -113,6 +113,7 @@ export interface DashboardMetric {
|
|
|
113
113
|
suffix?: string
|
|
114
114
|
textSize?: "text-xl" | "text-2xl" | "text-3xl"
|
|
115
115
|
constraints?: [string, WhereFilterOp, unknown][]
|
|
116
|
+
forceServer?: boolean
|
|
116
117
|
}
|
|
117
118
|
export interface DashboardChart {
|
|
118
119
|
kind: "chart"
|
|
@@ -147,6 +148,8 @@ export interface DashboardReminder {
|
|
|
147
148
|
field: string
|
|
148
149
|
direction: "asc" | "desc"
|
|
149
150
|
}
|
|
151
|
+
forceServer?: boolean
|
|
152
|
+
filter?: (record: StokerRecord) => boolean
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
export type DashboardItem = DashboardMetric | DashboardChart | DashboardReminder
|