@stoker-platform/types 0.5.53 → 0.5.55
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 +1 -0
- package/src/types/schema.ts +2 -0
package/package.json
CHANGED
package/src/types/app.ts
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -634,6 +634,7 @@ export interface Chart {
|
|
|
634
634
|
defaultRange: "90d" | "30d" | "7d"
|
|
635
635
|
roles?: StokerRole[]
|
|
636
636
|
title?: string
|
|
637
|
+
currency?: string | (() => string)
|
|
637
638
|
}
|
|
638
639
|
export interface CollectionMeta {
|
|
639
640
|
title?: string
|
|
@@ -789,6 +790,7 @@ export interface CollectionAdmin {
|
|
|
789
790
|
| (() => "range" | "week" | "month" | ("range" | "week" | "month")[])
|
|
790
791
|
defaultRangeSelector?: "range" | "week" | "month" | (() => "range" | "week" | "month")
|
|
791
792
|
restrictExport?: StokerRole[] | (() => StokerRole[] | Promise<StokerRole[]>)
|
|
793
|
+
titleCount?: boolean | (() => boolean | Promise<boolean>)
|
|
792
794
|
metrics?: (Metric | Chart)[] | (() => (Metric | Chart)[] | Promise<(Metric | Chart)[]>)
|
|
793
795
|
meta?: CollectionMeta | (() => CollectionMeta | Promise<CollectionMeta>)
|
|
794
796
|
rowHighlight?: RowHighlight[] | (() => RowHighlight[])
|