@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types/app.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.5.55",
3
+ "version": "0.5.56",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
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