@jini-ai/cms 0.5.5 → 0.5.7
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/CHANGELOG.md +4 -0
- package/dist/consent/express/index.d.ts +53 -0
- package/dist/consent/express/index.js +159 -0
- package/dist/consent/express/response.d.ts +21 -0
- package/dist/consent/express/response.js +89 -0
- package/dist/consent/html/client.d.ts +6 -0
- package/dist/consent/html/client.js +135 -0
- package/dist/consent/html/gate.d.ts +29 -0
- package/dist/consent/html/gate.js +104 -0
- package/dist/consent/html/index.d.ts +4 -0
- package/dist/consent/html/index.js +3 -0
- package/dist/consent/html/render.d.ts +27 -0
- package/dist/consent/html/render.js +62 -0
- package/dist/consent/html/static.d.ts +7 -0
- package/dist/consent/html/static.js +25 -0
- package/dist/consent/html/styles.d.ts +3 -0
- package/dist/consent/html/styles.js +22 -0
- package/dist/consent/index.d.ts +3 -0
- package/dist/consent/index.js +3 -0
- package/dist/consent/node/index.d.ts +47 -0
- package/dist/consent/node/index.js +169 -0
- package/dist/consent/policy.d.ts +47 -0
- package/dist/consent/policy.js +62 -0
- package/dist/consent/types.d.ts +40 -0
- package/dist/consent/types.js +5 -0
- package/dist/content-types/agent-tools.js +1 -1
- package/dist/content-types/tool-registrations.d.ts +2 -0
- package/dist/content-types/tool-registrations.js +1 -0
- package/dist/content-types/write-service.d.ts +2 -0
- package/dist/content-types/write-service.js +3 -0
- package/dist/forms/descriptor-rules.d.ts +9 -0
- package/dist/forms/descriptor-rules.js +112 -0
- package/dist/forms/email-format.d.ts +7 -0
- package/dist/forms/email-format.js +11 -0
- package/dist/forms/express/handler.js +4 -8
- package/dist/forms/field-registry.d.ts +193 -0
- package/dist/forms/field-registry.js +231 -0
- package/dist/forms/forms.d.ts +8 -5
- package/dist/forms/forms.js +29 -46
- package/dist/forms/html/html-authoring.js +63 -13
- package/dist/forms/html/html-submission-adapter.d.ts +5 -5
- package/dist/forms/html/html-submission-adapter.js +6 -13
- package/dist/forms/html-render.d.ts +10 -3
- package/dist/forms/html-render.js +116 -14
- package/dist/forms/index.d.ts +1 -0
- package/dist/forms/index.js +1 -0
- package/dist/forms/repo.memory.js +4 -4
- package/dist/forms/submission-attempts.d.ts +1 -1
- package/dist/forms/submission-attempts.js +13 -2
- package/dist/forms/submission-email-validation.js +2 -4
- package/dist/forms/submit-service.d.ts +3 -0
- package/dist/forms/submit-service.js +38 -5
- package/dist/forms/types.d.ts +50 -2
- package/dist/listing/batch.d.ts +53 -0
- package/dist/listing/batch.js +57 -0
- package/dist/listing/html.d.ts +72 -0
- package/dist/listing/html.js +109 -0
- package/dist/listing/index.d.ts +5 -0
- package/dist/listing/index.js +5 -0
- package/dist/listing/paths.d.ts +32 -0
- package/dist/listing/paths.js +37 -0
- package/dist/listing/see-more-script.d.ts +16 -0
- package/dist/listing/see-more-script.js +62 -0
- package/dist/media/content-type-sniffer.d.ts +1 -1
- package/dist/media/content-type-sniffer.js +15 -0
- package/dist/media/image-transformer.sharp.js +4 -1
- package/dist/media/media-service.d.ts +5 -3
- package/dist/media/media-service.js +10 -26
- package/dist/media/node.d.ts +1 -1
- package/dist/media/node.js +1 -1
- package/dist/media/slug.d.ts +8 -0
- package/dist/media/slug.js +32 -0
- package/dist/media/transform-registry.js +1 -1
- package/dist/media/transform-types.d.ts +2 -0
- package/dist/media/transform-types.js +3 -0
- package/dist/media/video-frames.ffmpeg.d.ts +15 -2
- package/dist/media/video-frames.ffmpeg.js +28 -13
- package/dist/navigation/dropdown.d.ts +41 -0
- package/dist/navigation/dropdown.js +85 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +2 -0
- package/dist/redirects/capture.d.ts +2 -0
- package/dist/redirects/capture.js +4 -0
- package/dist/redirects/redirects.d.ts +8 -0
- package/dist/redirects/redirects.js +14 -0
- package/dist/routing/index.d.ts +5 -0
- package/dist/routing/index.js +2 -0
- package/dist/routing/ports.d.ts +51 -0
- package/dist/routing/ports.js +2 -0
- package/dist/routing/routing.d.ts +138 -0
- package/dist/routing/routing.js +443 -0
- package/dist/routing/types.d.ts +164 -0
- package/dist/routing/types.js +2 -0
- package/dist/seo/media.d.ts +23 -0
- package/dist/seo/media.js +30 -5
- package/dist/seo/page-head.js +8 -1
- package/dist/seo/seo.d.ts +2 -0
- package/dist/seo/seo.js +11 -6
- package/dist/seo/types.d.ts +8 -0
- package/dist/seo/xml-escape.d.ts +1 -3
- package/dist/seo/xml-escape.js +1 -6
- package/dist/widgets/concurrency.d.ts +27 -1
- package/dist/widgets/concurrency.js +12 -23
- package/dist/widgets/config-validation.js +6 -0
- package/dist/widgets/gallery-resolver.d.ts +23 -0
- package/dist/widgets/gallery-resolver.js +80 -0
- package/dist/widgets/html/gallery-render.d.ts +24 -0
- package/dist/widgets/html/gallery-render.js +65 -0
- package/dist/widgets/html/html-embeds.d.ts +4 -0
- package/dist/widgets/html/html-embeds.js +7 -1
- package/dist/widgets/html/index.d.ts +3 -0
- package/dist/widgets/html/index.js +3 -0
- package/dist/widgets/html/server-fragment.d.ts +9 -0
- package/dist/widgets/html/server-fragment.js +38 -0
- package/dist/widgets/markers/gallery.d.ts +50 -0
- package/dist/widgets/markers/gallery.js +164 -0
- package/dist/widgets/markers/html-attributes.d.ts +6 -1
- package/dist/widgets/markers/html-attributes.js +24 -9
- package/dist/widgets/markers/index.d.ts +2 -0
- package/dist/widgets/markers/index.js +2 -0
- package/dist/widgets/markers/marker.d.ts +4 -0
- package/dist/widgets/markers/marker.js +6 -0
- package/dist/widgets/markers/media-reference.d.ts +11 -0
- package/dist/widgets/markers/media-reference.js +11 -0
- package/dist/widgets/page-embed-types.d.ts +1 -1
- package/dist/widgets/page-embed-types.js +1 -1
- package/dist/widgets/registry.d.ts +144 -10
- package/dist/widgets/registry.js +40 -0
- package/dist/widgets/resolver-service.d.ts +10 -0
- package/dist/widgets/resolver-service.js +73 -29
- package/dist/widgets/resolvers/create-core-resolvers.d.ts +3 -0
- package/dist/widgets/resolvers/create-core-resolvers.js +2 -0
- package/dist/widgets/resolvers/gallery.d.ts +12 -0
- package/dist/widgets/resolvers/gallery.js +33 -0
- package/dist/widgets/resolvers/index.d.ts +1 -0
- package/dist/widgets/resolvers/index.js +1 -0
- package/dist/widgets/types.d.ts +3 -1
- package/package.json +100 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/cms",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.7",
|
|
4
4
|
"description": "Content-model capability for Jini-hosted products: framework-free contracts, ports, and domain services in `/core` and per-domain subpaths; Node-bound adapters in domain-specific subpaths.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
".": "universal",
|
|
17
17
|
"./core": "universal",
|
|
18
18
|
"./navigation": "universal",
|
|
19
|
+
"./routing": "universal",
|
|
19
20
|
"./media": "node",
|
|
20
21
|
"./settings": "universal",
|
|
21
22
|
"./workspace": "universal",
|
|
@@ -28,6 +29,14 @@
|
|
|
28
29
|
"./trash": "universal",
|
|
29
30
|
"./settings/express": "node",
|
|
30
31
|
"./media/node": "node",
|
|
32
|
+
"./forms/html-render": "universal",
|
|
33
|
+
"./forms/submission-attempts": "universal",
|
|
34
|
+
"./widgets/page-embed-types": "universal",
|
|
35
|
+
"./widgets/html/html-embeds": "node",
|
|
36
|
+
"./widgets/html/gallery-render": "universal",
|
|
37
|
+
"./navigation/types": "universal",
|
|
38
|
+
"./navigation/dropdown": "universal",
|
|
39
|
+
"./media/slug": "universal",
|
|
31
40
|
"./forms": "universal",
|
|
32
41
|
"./forms/html": "node",
|
|
33
42
|
"./forms/sql": "node",
|
|
@@ -46,7 +55,12 @@
|
|
|
46
55
|
"./widgets/markers": "universal",
|
|
47
56
|
"./widgets/html": "node",
|
|
48
57
|
"./widgets/resolvers": "universal",
|
|
49
|
-
"./widgets/sql": "node"
|
|
58
|
+
"./widgets/sql": "node",
|
|
59
|
+
"./consent": "universal",
|
|
60
|
+
"./consent/html": "node",
|
|
61
|
+
"./consent/express": "node",
|
|
62
|
+
"./consent/node": "node",
|
|
63
|
+
"./listing": "universal"
|
|
50
64
|
},
|
|
51
65
|
"isolation": {
|
|
52
66
|
"domains": {
|
|
@@ -65,6 +79,9 @@
|
|
|
65
79
|
"navigation": [
|
|
66
80
|
"src/navigation"
|
|
67
81
|
],
|
|
82
|
+
"routing": [
|
|
83
|
+
"src/routing"
|
|
84
|
+
],
|
|
68
85
|
"presentation": [
|
|
69
86
|
"src/presentation"
|
|
70
87
|
],
|
|
@@ -94,6 +111,12 @@
|
|
|
94
111
|
],
|
|
95
112
|
"widgets": [
|
|
96
113
|
"src/widgets"
|
|
114
|
+
],
|
|
115
|
+
"consent": [
|
|
116
|
+
"src/consent"
|
|
117
|
+
],
|
|
118
|
+
"listing": [
|
|
119
|
+
"src/listing"
|
|
97
120
|
]
|
|
98
121
|
},
|
|
99
122
|
"forbidden": {
|
|
@@ -134,6 +157,11 @@
|
|
|
134
157
|
"import": "./dist/navigation/index.js",
|
|
135
158
|
"default": "./dist/navigation/index.js"
|
|
136
159
|
},
|
|
160
|
+
"./routing": {
|
|
161
|
+
"types": "./dist/routing/index.d.ts",
|
|
162
|
+
"import": "./dist/routing/index.js",
|
|
163
|
+
"default": "./dist/routing/index.js"
|
|
164
|
+
},
|
|
137
165
|
"./media": {
|
|
138
166
|
"types": "./dist/media/index.d.ts",
|
|
139
167
|
"import": "./dist/media/index.js",
|
|
@@ -194,6 +222,46 @@
|
|
|
194
222
|
"import": "./dist/media/node.js",
|
|
195
223
|
"default": "./dist/media/node.js"
|
|
196
224
|
},
|
|
225
|
+
"./forms/html-render": {
|
|
226
|
+
"types": "./dist/forms/html-render.d.ts",
|
|
227
|
+
"import": "./dist/forms/html-render.js",
|
|
228
|
+
"default": "./dist/forms/html-render.js"
|
|
229
|
+
},
|
|
230
|
+
"./forms/submission-attempts": {
|
|
231
|
+
"types": "./dist/forms/submission-attempts.d.ts",
|
|
232
|
+
"import": "./dist/forms/submission-attempts.js",
|
|
233
|
+
"default": "./dist/forms/submission-attempts.js"
|
|
234
|
+
},
|
|
235
|
+
"./widgets/page-embed-types": {
|
|
236
|
+
"types": "./dist/widgets/page-embed-types.d.ts",
|
|
237
|
+
"import": "./dist/widgets/page-embed-types.js",
|
|
238
|
+
"default": "./dist/widgets/page-embed-types.js"
|
|
239
|
+
},
|
|
240
|
+
"./widgets/html/html-embeds": {
|
|
241
|
+
"types": "./dist/widgets/html/html-embeds.d.ts",
|
|
242
|
+
"import": "./dist/widgets/html/html-embeds.js",
|
|
243
|
+
"default": "./dist/widgets/html/html-embeds.js"
|
|
244
|
+
},
|
|
245
|
+
"./widgets/html/gallery-render": {
|
|
246
|
+
"types": "./dist/widgets/html/gallery-render.d.ts",
|
|
247
|
+
"import": "./dist/widgets/html/gallery-render.js",
|
|
248
|
+
"default": "./dist/widgets/html/gallery-render.js"
|
|
249
|
+
},
|
|
250
|
+
"./navigation/types": {
|
|
251
|
+
"types": "./dist/navigation/types.d.ts",
|
|
252
|
+
"import": "./dist/navigation/types.js",
|
|
253
|
+
"default": "./dist/navigation/types.js"
|
|
254
|
+
},
|
|
255
|
+
"./navigation/dropdown": {
|
|
256
|
+
"types": "./dist/navigation/dropdown.d.ts",
|
|
257
|
+
"import": "./dist/navigation/dropdown.js",
|
|
258
|
+
"default": "./dist/navigation/dropdown.js"
|
|
259
|
+
},
|
|
260
|
+
"./media/slug": {
|
|
261
|
+
"types": "./dist/media/slug.d.ts",
|
|
262
|
+
"import": "./dist/media/slug.js",
|
|
263
|
+
"default": "./dist/media/slug.js"
|
|
264
|
+
},
|
|
197
265
|
"./forms": {
|
|
198
266
|
"types": "./dist/forms/index.d.ts",
|
|
199
267
|
"import": "./dist/forms/index.js",
|
|
@@ -288,6 +356,31 @@
|
|
|
288
356
|
"types": "./dist/widgets/sql/index.d.ts",
|
|
289
357
|
"import": "./dist/widgets/sql/index.js",
|
|
290
358
|
"default": "./dist/widgets/sql/index.js"
|
|
359
|
+
},
|
|
360
|
+
"./consent": {
|
|
361
|
+
"types": "./dist/consent/index.d.ts",
|
|
362
|
+
"import": "./dist/consent/index.js",
|
|
363
|
+
"default": "./dist/consent/index.js"
|
|
364
|
+
},
|
|
365
|
+
"./consent/html": {
|
|
366
|
+
"types": "./dist/consent/html/index.d.ts",
|
|
367
|
+
"import": "./dist/consent/html/index.js",
|
|
368
|
+
"default": "./dist/consent/html/index.js"
|
|
369
|
+
},
|
|
370
|
+
"./consent/express": {
|
|
371
|
+
"types": "./dist/consent/express/index.d.ts",
|
|
372
|
+
"import": "./dist/consent/express/index.js",
|
|
373
|
+
"default": "./dist/consent/express/index.js"
|
|
374
|
+
},
|
|
375
|
+
"./consent/node": {
|
|
376
|
+
"types": "./dist/consent/node/index.d.ts",
|
|
377
|
+
"import": "./dist/consent/node/index.js",
|
|
378
|
+
"default": "./dist/consent/node/index.js"
|
|
379
|
+
},
|
|
380
|
+
"./listing": {
|
|
381
|
+
"types": "./dist/listing/index.d.ts",
|
|
382
|
+
"import": "./dist/listing/index.js",
|
|
383
|
+
"default": "./dist/listing/index.js"
|
|
291
384
|
}
|
|
292
385
|
},
|
|
293
386
|
"files": [
|
|
@@ -319,18 +412,18 @@
|
|
|
319
412
|
"@types/better-sqlite3": "^7.6.13",
|
|
320
413
|
"@electric-sql/pglite": "0.5.8",
|
|
321
414
|
"jsdom": "^25.0.1",
|
|
322
|
-
"@jini-ai/
|
|
323
|
-
"@jini-ai/db": "0.3.
|
|
324
|
-
"@jini-ai/
|
|
415
|
+
"@jini-ai/core": "0.4.4",
|
|
416
|
+
"@jini-ai/db": "0.3.3",
|
|
417
|
+
"@jini-ai/http-kit": "0.4.1"
|
|
325
418
|
},
|
|
326
419
|
"dependencies": {
|
|
327
|
-
"@jini-ai/core": "^0.4.
|
|
420
|
+
"@jini-ai/core": "^0.4.4"
|
|
328
421
|
},
|
|
329
422
|
"peerDependencies": {
|
|
330
423
|
"sharp": "^0.35.3",
|
|
331
424
|
"express": "^4.21.0",
|
|
332
425
|
"kysely": "^0.29.6",
|
|
333
|
-
"@jini-ai/db": "^0.3.
|
|
426
|
+
"@jini-ai/db": "^0.3.2",
|
|
334
427
|
"parse5": "^7.3.0",
|
|
335
428
|
"@jini-ai/http-kit": "^0.4.0"
|
|
336
429
|
},
|