@bettercms-ai/db 0.6.1 → 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 +3 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5208,11 +5208,11 @@ type ContentModelFieldUi = {
|
|
|
5208
5208
|
};
|
|
5209
5209
|
layout?: "list" | "grid" | "table";
|
|
5210
5210
|
reorderable?: boolean;
|
|
5211
|
-
control?: "segmented" | "slider";
|
|
5211
|
+
control?: "segmented" | "slider" | "rating";
|
|
5212
5212
|
icon?: string;
|
|
5213
5213
|
itemLabel?: string;
|
|
5214
5214
|
};
|
|
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";
|
|
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";
|
|
5216
5216
|
type ArrayItemType = "text" | "number" | "date";
|
|
5217
5217
|
type ContentModelFieldConfig = {
|
|
5218
5218
|
contentModelId?: string;
|
|
@@ -10394,7 +10394,7 @@ type FormImplementation = {
|
|
|
10394
10394
|
type FormField = {
|
|
10395
10395
|
key: string;
|
|
10396
10396
|
label: string;
|
|
10397
|
-
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";
|
|
10398
10398
|
placeholder?: string;
|
|
10399
10399
|
helpText?: string;
|
|
10400
10400
|
required?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -30742,6 +30742,7 @@ var KNOWN_TEXT_PROPS = [
|
|
|
30742
30742
|
function extractBlockText(blocks) {
|
|
30743
30743
|
const parts = [];
|
|
30744
30744
|
for (const block of blocks) {
|
|
30745
|
+
if (block.window) continue;
|
|
30745
30746
|
const props = block.props;
|
|
30746
30747
|
if (block.type === "columns" && Array.isArray(props?.columns)) {
|
|
30747
30748
|
for (const column of props.columns) {
|