@stoker-platform/types 0.5.44 → 0.5.45
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/schema.ts +18 -0
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -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
|