@firecms/core 3.0.0-canary.242 → 3.0.0-canary.244
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/dist/components/ArrayContainer.d.ts +7 -12
- package/dist/components/VirtualTable/VirtualTableProps.d.ts +0 -4
- package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +3 -9
- package/dist/index.es.js +705 -370
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +713 -381
- package/dist/index.umd.js.map +1 -1
- package/dist/types/collections.d.ts +4 -0
- package/package.json +8 -6
- package/src/components/ArrayContainer.tsx +408 -294
- package/src/components/HomePage/DefaultHomePage.tsx +1 -0
- package/src/components/VirtualTable/VirtualTable.tsx +0 -26
- package/src/components/VirtualTable/VirtualTableProps.tsx +0 -5
- package/src/core/EntityEditView.tsx +1 -0
- package/src/core/EntitySidePanel.tsx +1 -13
- package/src/form/components/CustomIdField.tsx +3 -1
- package/src/form/field_bindings/StorageUploadFieldBinding.tsx +222 -154
- package/src/types/collections.ts +5 -0
package/src/types/collections.ts
CHANGED
|
@@ -577,6 +577,11 @@ export interface EntityCustomViewParams<M extends Record<string, any> = any> {
|
|
|
577
577
|
* Use the form context to access the form state and methods
|
|
578
578
|
*/
|
|
579
579
|
formContext: FormContext;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* If this is a subcollection, this is the path of the parent collections
|
|
583
|
+
*/
|
|
584
|
+
parentCollectionIds?: string[];
|
|
580
585
|
}
|
|
581
586
|
|
|
582
587
|
export type InferCollectionType<S extends EntityCollection> = S extends EntityCollection<infer M> ? M : never;
|