@stoker-platform/types 0.5.35 → 0.5.37

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.35",
3
+ "version": "0.5.37",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
@@ -702,7 +702,7 @@ export interface CollectionAdmin {
702
702
  record: string
703
703
  }
704
704
  | ((
705
- context?: "permissions",
705
+ context?: "permissions" | "search-all",
706
706
  ) => { collection: string; record: string } | Promise<{ collection: string; record: string }>)
707
707
  icon?: React.FC | (() => React.FC | Promise<React.FC>)
708
708
  duplicate?: boolean | (() => boolean | Promise<boolean>)
@@ -1064,6 +1064,7 @@ export interface RelationList {
1064
1064
  roles?: StokerRole[]
1065
1065
  constraints?: [string, "==" | "in", unknown][]
1066
1066
  loadAll?: boolean
1067
+ showMetrics?: boolean
1067
1068
  }
1068
1069
 
1069
1070
  export interface CollectionSchema {