@blinkk/root-cms 2.5.4 → 2.5.6

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/core.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  translationsForLocale,
17
17
  unmarshalArray,
18
18
  unmarshalData
19
- } from "./chunk-UEJ2UTTJ.js";
19
+ } from "./chunk-7LT3ZBCG.js";
20
20
  import {
21
21
  __export
22
22
  } from "./chunk-MLKGABMK.js";
package/dist/functions.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  runCronJobs
3
- } from "./chunk-4XSWQVCI.js";
4
- import "./chunk-UEJ2UTTJ.js";
3
+ } from "./chunk-A5DEI2QQ.js";
4
+ import "./chunk-7LT3ZBCG.js";
5
5
  import "./chunk-MLKGABMK.js";
6
6
 
7
7
  // core/functions.ts
package/dist/plugin.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import '@blinkk/root';
2
2
  import 'firebase-admin/app';
3
3
  import 'firebase-admin/firestore';
4
- export { Z as CMSAIConfig, X as CMSBuiltInSidebarTool, a0 as CMSPlugin, $ as CMSPluginOptions, _ as CMSSidebarTool, Y as CMSUser, a1 as cmsPlugin } from './client-C5l3dj98.js';
5
- import './schema-BKfPP_s9.js';
4
+ export { Z as CMSAIConfig, X as CMSBuiltInSidebarTool, a0 as CMSPlugin, $ as CMSPluginOptions, _ as CMSSidebarTool, Y as CMSUser, a1 as cmsPlugin } from './client-TgoRyFWJ.js';
5
+ import './schema-Bht24XmU.js';
package/dist/plugin.js CHANGED
@@ -4,15 +4,15 @@ import {
4
4
  } from "./chunk-T5UK2H24.js";
5
5
  import {
6
6
  getServerVersion
7
- } from "./chunk-HFAYSWLP.js";
7
+ } from "./chunk-PCA5TR6B.js";
8
8
  import {
9
9
  runCronJobs
10
- } from "./chunk-4XSWQVCI.js";
10
+ } from "./chunk-A5DEI2QQ.js";
11
11
  import {
12
12
  RootCMSClient,
13
13
  parseDocId,
14
14
  unmarshalData
15
- } from "./chunk-UEJ2UTTJ.js";
15
+ } from "./chunk-7LT3ZBCG.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
 
18
18
  // core/plugin.ts
package/dist/project.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as Schema, C as Collection } from './schema-BKfPP_s9.js';
1
+ import { S as Schema, C as Collection } from './schema-Bht24XmU.js';
2
2
 
3
3
  /**
4
4
  * Loads various files or configurations from the project.
@@ -125,6 +125,10 @@ declare function object(field: Omit<ObjectField, 'type'>): ObjectField;
125
125
  type ArrayField = CommonFieldProps & {
126
126
  type: 'array';
127
127
  default?: any[];
128
+ /**
129
+ * Default value to use when a new array item is added in the CMS UI.
130
+ */
131
+ itemDefault?: Record<string, any>;
128
132
  /**
129
133
  * String format for the preview line of an item in the array. Placeholder
130
134
  * values should use brackets, e.g. `m{_index:02}: {_type}`.