@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 +1 -1
- package/src/types/schema.ts +2 -1
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -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 {
|