@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/app.js +1 -1
- package/dist/{chunk-4XSWQVCI.js → chunk-A5DEI2QQ.js} +1 -1
- package/dist/{chunk-HFAYSWLP.js → chunk-PCA5TR6B.js} +7 -4
- package/dist/cli.js +304 -78
- package/dist/{client-C5l3dj98.d.ts → client-TgoRyFWJ.d.ts} +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +1 -1
- package/dist/core.d.ts +3 -3
- package/dist/core.js +1 -1
- package/dist/functions.js +2 -2
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.js +3 -3
- package/dist/project.d.ts +1 -1
- package/dist/{schema-BKfPP_s9.d.ts → schema-Bht24XmU.d.ts} +4 -0
- package/dist/ui/ui.css +1 -1
- package/dist/ui/ui.js +241 -241
- package/dist/ui/ui.js.LEGAL.txt +331 -1147
- package/package.json +8 -5
- /package/dist/{chunk-UEJ2UTTJ.js → chunk-7LT3ZBCG.js} +0 -0
package/dist/core.js
CHANGED
package/dist/functions.js
CHANGED
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-
|
|
5
|
-
import './schema-
|
|
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-
|
|
7
|
+
} from "./chunk-PCA5TR6B.js";
|
|
8
8
|
import {
|
|
9
9
|
runCronJobs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A5DEI2QQ.js";
|
|
11
11
|
import {
|
|
12
12
|
RootCMSClient,
|
|
13
13
|
parseDocId,
|
|
14
14
|
unmarshalData
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7LT3ZBCG.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
|
|
18
18
|
// core/plugin.ts
|
package/dist/project.d.ts
CHANGED
|
@@ -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}`.
|