@olonjs/core 1.1.11 → 1.1.13
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/index.d.ts +4 -0
- package/dist/olonjs-core.js +4766 -4673
- package/dist/olonjs-core.umd.cjs +42 -42
- package/dist/runtime.d.ts +4 -0
- package/package.json +1 -1
package/dist/runtime.d.ts
CHANGED
|
@@ -50,6 +50,8 @@ declare interface AdminSidebarProps {
|
|
|
50
50
|
};
|
|
51
51
|
/** All sections (header + page sections + footer) for resolving modal section data. */
|
|
52
52
|
allSectionsData?: Section[];
|
|
53
|
+
collections?: JsonPagesConfig['collections'];
|
|
54
|
+
collectionSource?: string;
|
|
53
55
|
onUpdate: (newData: Record<string, unknown>) => void;
|
|
54
56
|
/** Update a section by id/scope (e.g. from settings modal). When provided with allSectionsData, gear opens modal. */
|
|
55
57
|
onUpdateSection?: OnUpdateSection;
|
|
@@ -428,6 +430,8 @@ declare interface FormFactoryProps {
|
|
|
428
430
|
schema: z.ZodObject<z.ZodRawShape>;
|
|
429
431
|
data: Record<string, unknown>;
|
|
430
432
|
onChange: (newData: Record<string, unknown>) => void;
|
|
433
|
+
collections?: JsonPagesConfig['collections'];
|
|
434
|
+
collectionSource?: string;
|
|
431
435
|
/** When set, only render fields whose key is in this array (e.g. Content vs Settings tabs). */
|
|
432
436
|
keys?: string[] | null;
|
|
433
437
|
/** Root-to-leaf path for deep focus (e.g. silos -> blocks). First segment applies to this level. */
|