@stoker-platform/types 0.5.44 → 0.5.46

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.44",
3
+ "version": "0.5.46",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
package/src/types/app.ts CHANGED
@@ -132,6 +132,7 @@ export interface DashboardChart {
132
132
  interval?: "day" | "month" | "year"
133
133
  numberOfIntervals?: number
134
134
  offset?: number
135
+ animate?: boolean
135
136
  }
136
137
 
137
138
  export interface DashboardReminder {
@@ -754,6 +754,20 @@ export interface CollectionAdmin {
754
754
  field: string
755
755
  direction?: "asc" | "desc"
756
756
  }>)
757
+ secondarySort?:
758
+ | {
759
+ field: string
760
+ direction?: "asc" | "desc"
761
+ }
762
+ | (() =>
763
+ | {
764
+ field: string
765
+ direction?: "asc" | "desc"
766
+ }
767
+ | Promise<{
768
+ field: string
769
+ direction?: "asc" | "desc"
770
+ }>)
757
771
  itemsPerPage?: number | (() => number | Promise<number>)
758
772
  list?: ListConfig | (() => ListConfig | Promise<ListConfig>)
759
773
  cards?: CardsConfig | (() => CardsConfig | Promise<CardsConfig>)
@@ -822,6 +836,10 @@ export interface CollectionAdminCache {
822
836
  field: string
823
837
  direction?: "asc" | "desc"
824
838
  }
839
+ secondarySort?: {
840
+ field: string
841
+ direction?: "asc" | "desc"
842
+ }
825
843
  itemsPerPage?: number
826
844
  list?: ListConfig
827
845
  cards?: CardsConfig