@stoker-platform/types 0.5.54 → 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 +4 -0
- package/src/types/schema.ts +1 -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"
|
|
@@ -133,6 +134,7 @@ export interface DashboardChart {
|
|
|
133
134
|
numberOfIntervals?: number
|
|
134
135
|
offset?: number
|
|
135
136
|
animate?: boolean
|
|
137
|
+
currency?: string | (() => string)
|
|
136
138
|
}
|
|
137
139
|
|
|
138
140
|
export interface DashboardReminder {
|
|
@@ -146,6 +148,8 @@ export interface DashboardReminder {
|
|
|
146
148
|
field: string
|
|
147
149
|
direction: "asc" | "desc"
|
|
148
150
|
}
|
|
151
|
+
forceServer?: boolean
|
|
152
|
+
filter?: (record: StokerRecord) => boolean
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
export type DashboardItem = DashboardMetric | DashboardChart | DashboardReminder
|