@stoker-platform/types 0.5.50 → 0.5.51

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.50",
3
+ "version": "0.5.51",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
@@ -720,7 +720,9 @@ export interface CollectionAdmin {
720
720
  record: string
721
721
  }
722
722
  | ((
723
- context?: "permissions" | "search-all",
723
+ context?: "permissions" | "search-all" | "relation-list",
724
+ parentCollection?: CollectionSchema,
725
+ parentRecord?: StokerRecord,
724
726
  ) => { collection: string; record: string } | Promise<{ collection: string; record: string }>)
725
727
  icon?: React.FC | (() => React.FC | Promise<React.FC>)
726
728
  duplicate?: boolean | (() => boolean | Promise<boolean>)