@stoker-platform/types 0.5.55 → 0.5.57

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.5.55",
3
+ "version": "0.5.57",
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
@@ -699,6 +699,7 @@ export interface Assignable {
699
699
  collection: string
700
700
  isAvailable: (record: StokerRecord) => boolean
701
701
  unavailableField?: string
702
+ includeAssignedInFilters?: string[]
702
703
  }
703
704
 
704
705
  export interface CustomListAction {