@stoker-platform/types 0.5.17 → 0.5.18

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.17",
3
+ "version": "0.5.18",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
@@ -676,6 +676,13 @@ export interface CollectionAdmin {
676
676
  active?: unknown[]
677
677
  archived?: unknown[]
678
678
  }
679
+ defaultView?:
680
+ | "list"
681
+ | "cards"
682
+ | "images"
683
+ | "map"
684
+ | "calendar"
685
+ | (() => "list" | "cards" | "images" | "map" | "calendar")
679
686
  defaultRoute?: string | (() => string)
680
687
  defaultSort?:
681
688
  | {
@@ -742,6 +749,7 @@ export interface CollectionAdminCache {
742
749
  }
743
750
  icon?: React.FC
744
751
  duplicate?: boolean
752
+ convert?: Convert[]
745
753
  live?: boolean
746
754
  statusField?: {
747
755
  field: string
@@ -769,6 +777,7 @@ export interface CollectionAdminCache {
769
777
  formButtons?: FormButton[]
770
778
  formUpload?: boolean
771
779
  formImages?: boolean
780
+ formLists?: FormList[]
772
781
  hideCreate?: boolean
773
782
  }
774
783