@caelo-cms/shared 0.10.72 → 0.11.1
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/ai-tools.d.ts +103 -142
- package/dist/ai-tools.d.ts.map +1 -1
- package/dist/ai-tools.js +79 -167
- package/dist/ai-tools.js.map +1 -1
- package/dist/build-page.d.ts +115 -35
- package/dist/build-page.d.ts.map +1 -1
- package/dist/build-page.js +31 -12
- package/dist/build-page.js.map +1 -1
- package/dist/content.d.ts +214 -102
- package/dist/content.d.ts.map +1 -1
- package/dist/content.js +219 -84
- package/dist/content.js.map +1 -1
- package/dist/css-scope-scan.js +1 -1
- package/dist/css-var-aliases.d.ts +20 -0
- package/dist/css-var-aliases.d.ts.map +1 -0
- package/dist/css-var-aliases.js +95 -0
- package/dist/css-var-aliases.js.map +1 -0
- package/dist/css-var-scan.d.ts +0 -16
- package/dist/css-var-scan.d.ts.map +1 -1
- package/dist/css-var-scan.js +24 -0
- package/dist/css-var-scan.js.map +1 -1
- package/dist/edit-markers.d.ts +41 -5
- package/dist/edit-markers.d.ts.map +1 -1
- package/dist/edit-markers.js +47 -50
- package/dist/edit-markers.js.map +1 -1
- package/dist/escaped-line-breaks.d.ts +44 -0
- package/dist/escaped-line-breaks.d.ts.map +1 -0
- package/dist/escaped-line-breaks.js +203 -0
- package/dist/escaped-line-breaks.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/interactions.js +6 -6
- package/dist/interactions.js.map +1 -1
- package/dist/link-canonicalise.d.ts.map +1 -1
- package/dist/link-canonicalise.js +7 -1
- package/dist/link-canonicalise.js.map +1 -1
- package/dist/link-refs.d.ts +1 -1
- package/dist/link-refs.js +3 -3
- package/dist/lists/address.d.ts +34 -0
- package/dist/lists/address.d.ts.map +1 -0
- package/dist/lists/address.js +43 -0
- package/dist/lists/address.js.map +1 -0
- package/dist/lists/default-types.d.ts +22 -0
- package/dist/lists/default-types.d.ts.map +1 -0
- package/dist/lists/default-types.js +127 -0
- package/dist/lists/default-types.js.map +1 -0
- package/dist/lists/fields.d.ts +152 -0
- package/dist/lists/fields.d.ts.map +1 -0
- package/dist/lists/fields.js +259 -0
- package/dist/lists/fields.js.map +1 -0
- package/dist/lists/index.d.ts +14 -0
- package/dist/lists/index.d.ts.map +1 -0
- package/dist/lists/index.js +15 -0
- package/dist/lists/index.js.map +1 -0
- package/dist/lists/item-attr.d.ts +26 -0
- package/dist/lists/item-attr.d.ts.map +1 -0
- package/dist/lists/item-attr.js +31 -0
- package/dist/lists/item-attr.js.map +1 -0
- package/dist/lists/items.d.ts +105 -0
- package/dist/lists/items.d.ts.map +1 -0
- package/dist/lists/items.js +304 -0
- package/dist/lists/items.js.map +1 -0
- package/dist/lists/list-type.d.ts +401 -0
- package/dist/lists/list-type.d.ts.map +1 -0
- package/dist/lists/list-type.js +275 -0
- package/dist/lists/list-type.js.map +1 -0
- package/dist/lists/model.d.ts +14 -0
- package/dist/lists/model.d.ts.map +1 -0
- package/dist/lists/model.js +15 -0
- package/dist/lists/model.js.map +1 -0
- package/dist/lists/page-type.d.ts +115 -0
- package/dist/lists/page-type.d.ts.map +1 -0
- package/dist/lists/page-type.js +66 -0
- package/dist/lists/page-type.js.map +1 -0
- package/dist/lists/refs.d.ts +13 -0
- package/dist/lists/refs.d.ts.map +1 -0
- package/dist/lists/refs.js +18 -0
- package/dist/lists/refs.js.map +1 -0
- package/dist/lists/render-data.d.ts +123 -0
- package/dist/lists/render-data.d.ts.map +1 -0
- package/dist/lists/render-data.js +3 -0
- package/dist/lists/render-data.js.map +1 -0
- package/dist/lists/render-deps.d.ts +69 -0
- package/dist/lists/render-deps.d.ts.map +1 -0
- package/dist/lists/render-deps.js +93 -0
- package/dist/lists/render-deps.js.map +1 -0
- package/dist/lists/resolve-values.d.ts +63 -0
- package/dist/lists/resolve-values.d.ts.map +1 -0
- package/dist/lists/resolve-values.js +181 -0
- package/dist/lists/resolve-values.js.map +1 -0
- package/dist/lists/resolve.d.ts +119 -0
- package/dist/lists/resolve.d.ts.map +1 -0
- package/dist/lists/resolve.js +970 -0
- package/dist/lists/resolve.js.map +1 -0
- package/dist/lists/scope.d.ts +81 -0
- package/dist/lists/scope.d.ts.map +1 -0
- package/dist/lists/scope.js +3 -0
- package/dist/lists/scope.js.map +1 -0
- package/dist/markup-structure.d.ts +8 -0
- package/dist/markup-structure.d.ts.map +1 -1
- package/dist/markup-structure.js +2 -0
- package/dist/markup-structure.js.map +1 -1
- package/dist/media.d.ts +1 -1
- package/dist/nested-module-render.d.ts +38 -20
- package/dist/nested-module-render.d.ts.map +1 -1
- package/dist/nested-module-render.js +156 -31
- package/dist/nested-module-render.js.map +1 -1
- package/dist/page-log.d.ts +1 -1
- package/dist/preview-compose.d.ts +24 -21
- package/dist/preview-compose.d.ts.map +1 -1
- package/dist/preview-compose.js +34 -118
- package/dist/preview-compose.js.map +1 -1
- package/dist/redirect-plan.d.ts +13 -0
- package/dist/redirect-plan.d.ts.map +1 -1
- package/dist/redirect-plan.js +22 -0
- package/dist/redirect-plan.js.map +1 -1
- package/dist/seo.d.ts +21 -0
- package/dist/seo.d.ts.map +1 -1
- package/dist/seo.js +32 -0
- package/dist/seo.js.map +1 -1
- package/dist/source-text-transport.d.ts +43 -0
- package/dist/source-text-transport.d.ts.map +1 -0
- package/dist/source-text-transport.js +79 -0
- package/dist/source-text-transport.js.map +1 -0
- package/dist/template-engine.d.ts +44 -31
- package/dist/template-engine.d.ts.map +1 -1
- package/dist/template-engine.js +75 -174
- package/dist/template-engine.js.map +1 -1
- package/dist/template-sections.d.ts +69 -0
- package/dist/template-sections.d.ts.map +1 -0
- package/dist/template-sections.js +436 -0
- package/dist/template-sections.js.map +1 -0
- package/dist/version.d.ts +2 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +8 -1
- package/src/__tests__/redos-hardening.test.ts +51 -16
- package/src/ai-tools-add-module-modes.test.ts +51 -1
- package/src/ai-tools.test.ts +7 -10
- package/src/ai-tools.ts +90 -180
- package/src/bug-intake.test.ts +1 -1
- package/src/build-page.test.ts +34 -3
- package/src/build-page.ts +34 -11
- package/src/content.test.ts +137 -4
- package/src/content.ts +230 -85
- package/src/css-scope-scan.ts +1 -1
- package/src/css-var-aliases.test.ts +61 -0
- package/src/css-var-aliases.ts +109 -0
- package/src/css-var-scan.ts +9 -0
- package/src/edit-markers.test.ts +37 -21
- package/src/edit-markers.ts +52 -20
- package/src/escaped-line-breaks.ts +221 -0
- package/src/index.ts +4 -1
- package/src/interactions.ts +6 -6
- package/src/link-canonicalise.test.ts +36 -6
- package/src/link-canonicalise.ts +6 -1
- package/src/link-refs.test.ts +67 -42
- package/src/link-refs.ts +3 -3
- package/src/lists/address.ts +75 -0
- package/src/lists/default-types.ts +141 -0
- package/src/lists/fields.ts +286 -0
- package/src/lists/index.ts +16 -0
- package/src/lists/item-attr.test.ts +36 -0
- package/src/lists/item-attr.ts +49 -0
- package/src/lists/items.ts +402 -0
- package/src/lists/list-fixtures.test.ts +308 -0
- package/src/lists/list-type.ts +306 -0
- package/src/lists/lists.test.ts +328 -0
- package/src/lists/model.ts +16 -0
- package/src/lists/page-type.ts +71 -0
- package/src/lists/refs.ts +21 -0
- package/src/lists/render-data.ts +134 -0
- package/src/lists/render-deps.test.ts +132 -0
- package/src/lists/render-deps.ts +147 -0
- package/src/lists/resolve-values.ts +224 -0
- package/src/lists/resolve.test.ts +472 -0
- package/src/lists/resolve.ts +1246 -0
- package/src/lists/scope.ts +69 -0
- package/src/lists-compose-parity.test.ts +262 -0
- package/src/markup-structure.ts +10 -0
- package/src/nested-module-render.test.ts +147 -74
- package/src/nested-module-render.ts +120 -48
- package/src/preview-compose.test.ts +55 -19
- package/src/preview-compose.ts +59 -154
- package/src/redirect-plan.test.ts +25 -0
- package/src/redirect-plan.ts +24 -0
- package/src/seo.test.ts +58 -0
- package/src/seo.ts +49 -0
- package/src/source-text-transport.test.ts +158 -0
- package/src/source-text-transport.ts +81 -0
- package/src/template-engine-lists.test.ts +608 -0
- package/src/template-engine.test.ts +62 -80
- package/src/template-engine.ts +102 -245
- package/src/template-sections.ts +514 -0
- package/src/version.ts +1 -1
- package/dist/structured-sets.d.ts +0 -70
- package/dist/structured-sets.d.ts.map +0 -1
- package/dist/structured-sets.js +0 -92
- package/dist/structured-sets.js.map +0 -1
- package/src/structured-sets.ts +0 -114
- package/src/template-engine-data-lists.test.ts +0 -90
package/dist/build-page.d.ts
CHANGED
|
@@ -22,10 +22,10 @@ import { z } from "zod";
|
|
|
22
22
|
* existing content paths so build_page adds NO new semantics, only batching:
|
|
23
23
|
*
|
|
24
24
|
* - `inline` → mint a private (unsynced) content_instance carrying
|
|
25
|
-
* `values`, exactly what `
|
|
25
|
+
* `values`, exactly what `set_page_module_content_many` produces for a
|
|
26
26
|
* fresh placement.
|
|
27
27
|
* - `shared` → mint a reusable content_instance (purpose required —
|
|
28
|
-
* same decision-support contract as `
|
|
28
|
+
* same decision-support contract as `create_content_instances`) and
|
|
29
29
|
* bind this placement to it, `synced` by default.
|
|
30
30
|
* - `existing` → bind an already-minted content_instance (reuse-first
|
|
31
31
|
* per CLAUDE.md §1A) — the batched form of `set_placement_content`.
|
|
@@ -67,7 +67,7 @@ export type BuildPageContent = z.infer<typeof buildPageContentSchema>;
|
|
|
67
67
|
* extra authoring keys are TOLERATED (§1A/§11 — a placement that can
|
|
68
68
|
* succeed must not fail over an extra field) but NOT applied; the op
|
|
69
69
|
* surfaces an info naming any carried field whose value differs from the
|
|
70
|
-
* module's stored one, pointing at
|
|
70
|
+
* module's stored one, pointing at update_modules_many (§2 — no silent drop).
|
|
71
71
|
*
|
|
72
72
|
* The element-level superRefine reports issues WITH the element's array
|
|
73
73
|
* index in the Zod path, so a mode error fails as `modules[3]: …`.
|
|
@@ -85,9 +85,9 @@ export declare const buildPageModuleSchema: z.ZodObject<{
|
|
|
85
85
|
displayName: z.ZodOptional<z.ZodString>;
|
|
86
86
|
description: z.ZodOptional<z.ZodString>;
|
|
87
87
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
content: "content";
|
|
88
89
|
chrome: "chrome";
|
|
89
90
|
hero: "hero";
|
|
90
|
-
content: "content";
|
|
91
91
|
cta: "cta";
|
|
92
92
|
utility: "utility";
|
|
93
93
|
}>>;
|
|
@@ -102,29 +102,66 @@ export declare const buildPageModuleSchema: z.ZodObject<{
|
|
|
102
102
|
boolean: "boolean";
|
|
103
103
|
text: "text";
|
|
104
104
|
richtext: "richtext";
|
|
105
|
+
link: "link";
|
|
105
106
|
url: "url";
|
|
106
107
|
image: "image";
|
|
107
|
-
link: "link";
|
|
108
108
|
}>;
|
|
109
109
|
label: z.ZodString;
|
|
110
110
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
111
111
|
}, z.core.$strict>, z.ZodObject<{
|
|
112
112
|
name: z.ZodString;
|
|
113
|
-
kind: z.ZodLiteral<"
|
|
114
|
-
label: z.ZodString;
|
|
115
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
116
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
117
|
-
default: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
119
|
-
name: z.ZodString;
|
|
120
|
-
kind: z.ZodLiteral<"link-list">;
|
|
113
|
+
kind: z.ZodLiteral<"list">;
|
|
121
114
|
label: z.ZodString;
|
|
115
|
+
listType: z.ZodString;
|
|
116
|
+
bind: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
source: "source";
|
|
118
|
+
local: "local";
|
|
119
|
+
shared: "shared";
|
|
120
|
+
}>>;
|
|
121
|
+
list: z.ZodOptional<z.ZodString>;
|
|
122
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
123
|
+
kind: z.ZodLiteral<"query">;
|
|
124
|
+
editable: z.ZodArray<z.ZodEnum<{
|
|
125
|
+
page_type: "page_type";
|
|
126
|
+
terms: "terms";
|
|
127
|
+
terms_mode: "terms_mode";
|
|
128
|
+
parent: "parent";
|
|
129
|
+
exclude_current: "exclude_current";
|
|
130
|
+
order: "order";
|
|
131
|
+
limit: "limit";
|
|
132
|
+
}>>;
|
|
133
|
+
defaults: z.ZodObject<{
|
|
134
|
+
page_type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
135
|
+
terms: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
136
|
+
terms_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
any: "any";
|
|
138
|
+
all: "all";
|
|
139
|
+
}>>>;
|
|
140
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
141
|
+
exclude_current: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
142
|
+
order: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
143
|
+
published_desc: "published_desc";
|
|
144
|
+
published_asc: "published_asc";
|
|
145
|
+
title_asc: "title_asc";
|
|
146
|
+
}>, z.ZodString]>>;
|
|
147
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
}, z.core.$strict>;
|
|
149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
150
|
+
kind: z.ZodLiteral<"system">;
|
|
151
|
+
name: z.ZodEnum<{
|
|
152
|
+
breadcrumbs: "breadcrumbs";
|
|
153
|
+
children: "children";
|
|
154
|
+
siblings: "siblings";
|
|
155
|
+
page_terms: "page_terms";
|
|
156
|
+
term_pages: "term_pages";
|
|
157
|
+
}>;
|
|
158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
159
|
+
kind: z.ZodLiteral<"plugin">;
|
|
160
|
+
name: z.ZodString;
|
|
161
|
+
}, z.core.$strict>], "kind">>;
|
|
122
162
|
min: z.ZodOptional<z.ZodNumber>;
|
|
123
163
|
max: z.ZodOptional<z.ZodNumber>;
|
|
124
|
-
default: z.ZodOptional<z.ZodArray<z.
|
|
125
|
-
label: z.ZodString;
|
|
126
|
-
href: z.ZodString;
|
|
127
|
-
}, z.core.$strict>>>;
|
|
164
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("./index.js").ListItemInput, unknown, z.core.$ZodTypeInternals<import("./index.js").ListItemInput, unknown>>>, z.ZodString]>>;
|
|
128
165
|
}, z.core.$strict>, z.ZodObject<{
|
|
129
166
|
name: z.ZodString;
|
|
130
167
|
kind: z.ZodLiteral<"module">;
|
|
@@ -175,13 +212,16 @@ export declare const buildPageTargetSchema: z.ZodObject<{
|
|
|
175
212
|
pageId: z.ZodOptional<z.ZodString>;
|
|
176
213
|
slug: z.ZodOptional<z.ZodString>;
|
|
177
214
|
title: z.ZodOptional<z.ZodString>;
|
|
178
|
-
|
|
215
|
+
shortTitle: z.ZodOptional<z.ZodString>;
|
|
179
216
|
templateId: z.ZodOptional<z.ZodString>;
|
|
180
217
|
status: z.ZodOptional<z.ZodEnum<{
|
|
181
218
|
draft: "draft";
|
|
182
219
|
published: "published";
|
|
183
220
|
}>>;
|
|
184
|
-
parentPageId: z.ZodOptional<z.ZodString
|
|
221
|
+
parentPageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
pageType: z.ZodOptional<z.ZodString>;
|
|
223
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
224
|
+
terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
225
|
importPageId: z.ZodOptional<z.ZodString>;
|
|
186
226
|
metaDescription: z.ZodOptional<z.ZodString>;
|
|
187
227
|
}, z.core.$strict>;
|
|
@@ -192,13 +232,16 @@ export declare const buildPageInputSchema: z.ZodObject<{
|
|
|
192
232
|
pageId: z.ZodOptional<z.ZodString>;
|
|
193
233
|
slug: z.ZodOptional<z.ZodString>;
|
|
194
234
|
title: z.ZodOptional<z.ZodString>;
|
|
195
|
-
|
|
235
|
+
shortTitle: z.ZodOptional<z.ZodString>;
|
|
196
236
|
templateId: z.ZodOptional<z.ZodString>;
|
|
197
237
|
status: z.ZodOptional<z.ZodEnum<{
|
|
198
238
|
draft: "draft";
|
|
199
239
|
published: "published";
|
|
200
240
|
}>>;
|
|
201
|
-
parentPageId: z.ZodOptional<z.ZodString
|
|
241
|
+
parentPageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
+
pageType: z.ZodOptional<z.ZodString>;
|
|
243
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
244
|
+
terms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
245
|
importPageId: z.ZodOptional<z.ZodString>;
|
|
203
246
|
metaDescription: z.ZodOptional<z.ZodString>;
|
|
204
247
|
}, z.core.$strict>;
|
|
@@ -215,9 +258,9 @@ export declare const buildPageInputSchema: z.ZodObject<{
|
|
|
215
258
|
displayName: z.ZodOptional<z.ZodString>;
|
|
216
259
|
description: z.ZodOptional<z.ZodString>;
|
|
217
260
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
261
|
+
content: "content";
|
|
218
262
|
chrome: "chrome";
|
|
219
263
|
hero: "hero";
|
|
220
|
-
content: "content";
|
|
221
264
|
cta: "cta";
|
|
222
265
|
utility: "utility";
|
|
223
266
|
}>>;
|
|
@@ -232,29 +275,66 @@ export declare const buildPageInputSchema: z.ZodObject<{
|
|
|
232
275
|
boolean: "boolean";
|
|
233
276
|
text: "text";
|
|
234
277
|
richtext: "richtext";
|
|
278
|
+
link: "link";
|
|
235
279
|
url: "url";
|
|
236
280
|
image: "image";
|
|
237
|
-
link: "link";
|
|
238
281
|
}>;
|
|
239
282
|
label: z.ZodString;
|
|
240
283
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
241
284
|
}, z.core.$strict>, z.ZodObject<{
|
|
242
285
|
name: z.ZodString;
|
|
243
|
-
kind: z.ZodLiteral<"
|
|
244
|
-
label: z.ZodString;
|
|
245
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
246
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
247
|
-
default: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
249
|
-
name: z.ZodString;
|
|
250
|
-
kind: z.ZodLiteral<"link-list">;
|
|
286
|
+
kind: z.ZodLiteral<"list">;
|
|
251
287
|
label: z.ZodString;
|
|
288
|
+
listType: z.ZodString;
|
|
289
|
+
bind: z.ZodOptional<z.ZodEnum<{
|
|
290
|
+
source: "source";
|
|
291
|
+
local: "local";
|
|
292
|
+
shared: "shared";
|
|
293
|
+
}>>;
|
|
294
|
+
list: z.ZodOptional<z.ZodString>;
|
|
295
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
296
|
+
kind: z.ZodLiteral<"query">;
|
|
297
|
+
editable: z.ZodArray<z.ZodEnum<{
|
|
298
|
+
page_type: "page_type";
|
|
299
|
+
terms: "terms";
|
|
300
|
+
terms_mode: "terms_mode";
|
|
301
|
+
parent: "parent";
|
|
302
|
+
exclude_current: "exclude_current";
|
|
303
|
+
order: "order";
|
|
304
|
+
limit: "limit";
|
|
305
|
+
}>>;
|
|
306
|
+
defaults: z.ZodObject<{
|
|
307
|
+
page_type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
308
|
+
terms: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
309
|
+
terms_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
310
|
+
any: "any";
|
|
311
|
+
all: "all";
|
|
312
|
+
}>>>;
|
|
313
|
+
parent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
314
|
+
exclude_current: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
315
|
+
order: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
316
|
+
published_desc: "published_desc";
|
|
317
|
+
published_asc: "published_asc";
|
|
318
|
+
title_asc: "title_asc";
|
|
319
|
+
}>, z.ZodString]>>;
|
|
320
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
}, z.core.$strict>;
|
|
322
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
323
|
+
kind: z.ZodLiteral<"system">;
|
|
324
|
+
name: z.ZodEnum<{
|
|
325
|
+
breadcrumbs: "breadcrumbs";
|
|
326
|
+
children: "children";
|
|
327
|
+
siblings: "siblings";
|
|
328
|
+
page_terms: "page_terms";
|
|
329
|
+
term_pages: "term_pages";
|
|
330
|
+
}>;
|
|
331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"plugin">;
|
|
333
|
+
name: z.ZodString;
|
|
334
|
+
}, z.core.$strict>], "kind">>;
|
|
252
335
|
min: z.ZodOptional<z.ZodNumber>;
|
|
253
336
|
max: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
default: z.ZodOptional<z.ZodArray<z.
|
|
255
|
-
label: z.ZodString;
|
|
256
|
-
href: z.ZodString;
|
|
257
|
-
}, z.core.$strict>>>;
|
|
337
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodType<import("./index.js").ListItemInput, unknown, z.core.$ZodTypeInternals<import("./index.js").ListItemInput, unknown>>>, z.ZodString]>>;
|
|
258
338
|
}, z.core.$strict>, z.ZodObject<{
|
|
259
339
|
name: z.ZodString;
|
|
260
340
|
kind: z.ZodLiteral<"module">;
|
package/dist/build-page.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-page.d.ts","sourceRoot":"","sources":["../src/build-page.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"build-page.d.ts","sourceRoot":"","sources":["../src/build-page.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;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AM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAI/F;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B;;;;;;;kBAiBhC,CAAC;AACZ,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
package/dist/build-page.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { z } from "zod";
|
|
21
21
|
import { positionInputSchema, sourceTextArg } from "./ai-tools.js";
|
|
22
|
-
import { contentInstanceCreateSchema, MODULE_CSS_MAX, MODULE_HTML_MAX, MODULE_JS_MAX, moduleFieldSchema, moduleKindSchema, pageStatusSchema, slugSchema, syncModeSchema, } from "./content.js";
|
|
22
|
+
import { contentInstanceCreateSchema, MODULE_CSS_MAX, MODULE_HTML_MAX, MODULE_JS_MAX, moduleFieldSchema, moduleKindSchema, pageCreateSchema, pageStatusSchema, slugSchema, syncModeSchema, } from "./content.js";
|
|
23
23
|
import { SEO_DESCRIPTION_HARD_MAX } from "./seo.js";
|
|
24
24
|
/** Content values keyed by the module's declared field names. */
|
|
25
25
|
const contentValuesSchema = z.record(z.string(), z.unknown());
|
|
@@ -28,10 +28,10 @@ const contentValuesSchema = z.record(z.string(), z.unknown());
|
|
|
28
28
|
* existing content paths so build_page adds NO new semantics, only batching:
|
|
29
29
|
*
|
|
30
30
|
* - `inline` → mint a private (unsynced) content_instance carrying
|
|
31
|
-
* `values`, exactly what `
|
|
31
|
+
* `values`, exactly what `set_page_module_content_many` produces for a
|
|
32
32
|
* fresh placement.
|
|
33
33
|
* - `shared` → mint a reusable content_instance (purpose required —
|
|
34
|
-
* same decision-support contract as `
|
|
34
|
+
* same decision-support contract as `create_content_instances`) and
|
|
35
35
|
* bind this placement to it, `synced` by default.
|
|
36
36
|
* - `existing` → bind an already-minted content_instance (reuse-first
|
|
37
37
|
* per CLAUDE.md §1A) — the batched form of `set_placement_content`.
|
|
@@ -77,7 +77,7 @@ export const buildPageContentSchema = z.discriminatedUnion("source", [
|
|
|
77
77
|
* extra authoring keys are TOLERATED (§1A/§11 — a placement that can
|
|
78
78
|
* succeed must not fail over an extra field) but NOT applied; the op
|
|
79
79
|
* surfaces an info naming any carried field whose value differs from the
|
|
80
|
-
* module's stored one, pointing at
|
|
80
|
+
* module's stored one, pointing at update_modules_many (§2 — no silent drop).
|
|
81
81
|
*
|
|
82
82
|
* The element-level superRefine reports issues WITH the element's array
|
|
83
83
|
* index in the Zod path, so a mode error fails as `modules[3]: …`.
|
|
@@ -114,7 +114,7 @@ export const buildPageModuleSchema = z
|
|
|
114
114
|
*/
|
|
115
115
|
ref: z
|
|
116
116
|
.string()
|
|
117
|
-
.regex(/^[
|
|
117
|
+
.regex(/^[A-Za-z][A-Za-z0-9_-]{0,31}$/, "ref must be a short handle: a letter, then letters, digits, _ or -")
|
|
118
118
|
.optional(),
|
|
119
119
|
/**
|
|
120
120
|
* Place mode: an existing module from `list_modules` (UUID), or a
|
|
@@ -137,9 +137,9 @@ export const buildPageModuleSchema = z
|
|
|
137
137
|
description: z.string().max(1000).optional(),
|
|
138
138
|
kind: moduleKindSchema.optional(),
|
|
139
139
|
type: slugSchema.optional(),
|
|
140
|
-
html: sourceTextArg(z.string().min(1).max(MODULE_HTML_MAX)).optional(),
|
|
141
|
-
css: sourceTextArg(z.string().max(MODULE_CSS_MAX)).optional(),
|
|
142
|
-
js: sourceTextArg(z.string().max(MODULE_JS_MAX)).optional(),
|
|
140
|
+
html: sourceTextArg(z.string().min(1).max(MODULE_HTML_MAX), "html").optional(),
|
|
141
|
+
css: sourceTextArg(z.string().max(MODULE_CSS_MAX), "css").optional(),
|
|
142
|
+
js: sourceTextArg(z.string().max(MODULE_JS_MAX), "js").optional(),
|
|
143
143
|
fields: z.array(moduleFieldSchema).max(64).optional(),
|
|
144
144
|
/** issue #164 slice 2 — opt-in mechanical token binding (tool layer). */
|
|
145
145
|
bindThemeLiterals: z.boolean().optional(),
|
|
@@ -168,7 +168,7 @@ export const buildPageModuleSchema = z
|
|
|
168
168
|
// (build_page places; it does not re-author a shared module). To avoid a
|
|
169
169
|
// SILENT dropped change (§2), the HANDLER surfaces an INFO in the result
|
|
170
170
|
// naming any ignored authoring field whose value DIFFERS from the module's
|
|
171
|
-
// stored one, and points at
|
|
171
|
+
// stored one, and points at update_modules_many. The schema can't do that check (no
|
|
172
172
|
// DB), so it just allows the entry through.
|
|
173
173
|
if (entry.moduleId !== undefined)
|
|
174
174
|
return;
|
|
@@ -194,7 +194,7 @@ export const buildPageTargetSchema = z
|
|
|
194
194
|
pageId: z.string().uuid().optional(),
|
|
195
195
|
slug: slugSchema.optional(),
|
|
196
196
|
title: z.string().min(1).max(256).optional(),
|
|
197
|
-
|
|
197
|
+
shortTitle: pageCreateSchema.shape.shortTitle,
|
|
198
198
|
templateId: z.string().uuid().optional(),
|
|
199
199
|
status: pageStatusSchema.optional(),
|
|
200
200
|
/**
|
|
@@ -202,7 +202,16 @@ export const buildPageTargetSchema = z
|
|
|
202
202
|
* "<parent's path>/<slug>". Create mode only (an existing page moves
|
|
203
203
|
* with `pages.move_many`).
|
|
204
204
|
*/
|
|
205
|
-
|
|
205
|
+
// null = top level, same as pages.create (sibling tools must agree — #106 class).
|
|
206
|
+
parentPageId: z.string().uuid().nullable().optional(),
|
|
207
|
+
/**
|
|
208
|
+
* Epic #1107 — what the new page IS (page type slug), its properties
|
|
209
|
+
* and terms; same semantics as `pages.create` (create mode only — an
|
|
210
|
+
* existing page changes type with `pages.update`).
|
|
211
|
+
*/
|
|
212
|
+
pageType: pageCreateSchema.shape.pageType,
|
|
213
|
+
properties: pageCreateSchema.shape.properties,
|
|
214
|
+
terms: pageCreateSchema.shape.terms,
|
|
206
215
|
/**
|
|
207
216
|
* Migration linkage (issue #278 flow): the `import_pages` row this
|
|
208
217
|
* page rebuilds. The op stamps `import_pages.accepted_page_id` with
|
|
@@ -229,7 +238,17 @@ export const buildPageTargetSchema = z
|
|
|
229
238
|
})
|
|
230
239
|
.strict()
|
|
231
240
|
.superRefine((page, ctx) => {
|
|
232
|
-
const createKeys = [
|
|
241
|
+
const createKeys = [
|
|
242
|
+
"slug",
|
|
243
|
+
"title",
|
|
244
|
+
"shortTitle",
|
|
245
|
+
"templateId",
|
|
246
|
+
"status",
|
|
247
|
+
"parentPageId",
|
|
248
|
+
"pageType",
|
|
249
|
+
"properties",
|
|
250
|
+
"terms",
|
|
251
|
+
].filter((k) => page[k] !== undefined);
|
|
233
252
|
if (page.pageId !== undefined) {
|
|
234
253
|
if (createKeys.length > 0) {
|
|
235
254
|
ctx.addIssue({
|
package/dist/build-page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-page.js","sourceRoot":"","sources":["../src/build-page.ts"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EACL,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,iEAAiE;AACjE,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACnE,CAAC;SACE,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC3B,MAAM,EAAE,mBAAmB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