@bettercms-ai/db 0.6.0 → 0.7.0
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 +6 -4
- package/dist/index.js +286 -279
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -788,6 +788,8 @@ type ProjectFormDefaults = {
|
|
|
788
788
|
type RobotsConfig = {
|
|
789
789
|
mode: "auto" | "custom";
|
|
790
790
|
custom: string;
|
|
791
|
+
/** AI crawlers blocked by name in auto mode (absent on rows saved before the switches). */
|
|
792
|
+
disallow?: string[];
|
|
791
793
|
};
|
|
792
794
|
/**
|
|
793
795
|
* SitemapConfig — per-site sitemap.xml control (FLO-174). The sitemap is
|
|
@@ -5206,11 +5208,11 @@ type ContentModelFieldUi = {
|
|
|
5206
5208
|
};
|
|
5207
5209
|
layout?: "list" | "grid" | "table";
|
|
5208
5210
|
reorderable?: boolean;
|
|
5209
|
-
control?: "segmented" | "slider";
|
|
5211
|
+
control?: "segmented" | "slider" | "rating";
|
|
5210
5212
|
icon?: string;
|
|
5211
5213
|
itemLabel?: string;
|
|
5212
5214
|
};
|
|
5213
|
-
type ContentModelFieldType = "text" | "richtext" | "document" | "image" | "boolean" | "number" | "select" | "reference" | "multi-reference" | "multiReference" | "array" | "date" | "datetime" | "group" | "repeater" | "longtext" | "slug" | "email" | "phone" | "link" | "color" | "json" | "file" | "component-ref" | "modular" | "sections" | "location" | "button";
|
|
5215
|
+
type ContentModelFieldType = "text" | "richtext" | "document" | "image" | "boolean" | "number" | "select" | "reference" | "multi-reference" | "multiReference" | "array" | "date" | "datetime" | "group" | "repeater" | "longtext" | "slug" | "email" | "phone" | "link" | "color" | "json" | "file" | "component-ref" | "modular" | "sections" | "location" | "button" | "multiselect" | "icon";
|
|
5214
5216
|
type ArrayItemType = "text" | "number" | "date";
|
|
5215
5217
|
type ContentModelFieldConfig = {
|
|
5216
5218
|
contentModelId?: string;
|
|
@@ -10392,7 +10394,7 @@ type FormImplementation = {
|
|
|
10392
10394
|
type FormField = {
|
|
10393
10395
|
key: string;
|
|
10394
10396
|
label: string;
|
|
10395
|
-
type: "text" | "email" | "textarea" | "select" | "checkbox" | "checkboxes" | "radio" | "number" | "phone" | "date" | "url" | "consent" | "hidden";
|
|
10397
|
+
type: "text" | "email" | "textarea" | "select" | "checkbox" | "checkboxes" | "radio" | "number" | "phone" | "date" | "url" | "consent" | "hidden" | "step";
|
|
10396
10398
|
placeholder?: string;
|
|
10397
10399
|
helpText?: string;
|
|
10398
10400
|
required?: boolean;
|
|
@@ -27708,7 +27710,7 @@ type ComponentPropDef = {
|
|
|
27708
27710
|
* a `component` block's. The form's FIELDS stay on the Form document; a component references a
|
|
27709
27711
|
* form, it never re-declares one.
|
|
27710
27712
|
*/
|
|
27711
|
-
type: "text" | "richtext" | "image" | "url" | "boolean" | "number" | "select" | "group" | "table" | "slot" | "form";
|
|
27713
|
+
type: "text" | "richtext" | "image" | "url" | "boolean" | "number" | "select" | "group" | "table" | "slot" | "form" | "link" | "button" | "date" | "color" | "file" | "icon" | "multiselect";
|
|
27712
27714
|
defaultValue?: unknown;
|
|
27713
27715
|
/**
|
|
27714
27716
|
* EDITOR HINTS (playbook §12). Stored in the props JSON, so no migration.
|