@kardalum/plugin-sdk 0.15.0 → 0.17.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/CHANGELOG.md +49 -1
- package/README.md +10 -0
- package/dist/admin-section-registry.d.ts +14 -5
- package/dist/admin-section-registry.js +14 -4
- package/dist/built-in-value-schemas.js +1 -1
- package/dist/built-ins.js +2 -2
- package/dist/capabilities.d.ts +8 -78
- package/dist/capabilities.js +23 -322
- package/dist/host-entry.d.ts +1 -1
- package/dist/host-entry.js +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +13 -12
- package/dist/license-verdict-keys.d.ts +4 -3
- package/dist/license-verdict-keys.js +6 -5
- package/dist/manifest-entry.d.ts +3 -3
- package/dist/manifest-entry.js +2 -2
- package/dist/manifest-schema.d.ts +113 -56
- package/dist/manifest-schema.js +192 -295
- package/dist/manifest.d.ts +145 -112
- package/dist/manifest.js +13 -36
- package/dist/media/media-picker.js +21 -12
- package/dist/media/upload-error.d.ts +1 -1
- package/dist/media/upload-error.js +1 -1
- package/dist/plugin-context.d.ts +7 -0
- package/dist/plugin-context.js +7 -0
- package/dist/plugin-screen-context.d.ts +44 -3
- package/dist/plugin-screen-context.js +27 -2
- package/dist/read-all-pages.d.ts +23 -0
- package/dist/read-all-pages.js +30 -0
- package/dist/richtext/block-panel.js +6 -6
- package/dist/richtext/insert-menu.js +4 -4
- package/dist/richtext/style-listbox.js +4 -4
- package/dist/tokens/tokens.css +1 -0
- package/dist/tokens/tokens.json +2 -1
- package/dist/type-equality.d.ts +2 -0
- package/dist/type-equality.js +1 -0
- package/dist/views/content-list-view.js +2 -2
- package/dist/views/html-view.js +1 -1
- package/dist/views/image-view.js +24 -39
- package/dist/views/rich-text-view.js +3 -3
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/api-error.schema.js +19 -0
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.d.ts +43 -25
- package/node_modules/@kardalum/api-schemas/dist/api-key-api.schema.js +60 -8
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.d.ts +90 -0
- package/node_modules/@kardalum/api-schemas/dist/asset-api.schema.js +33 -2
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.d.ts +22 -1
- package/node_modules/@kardalum/api-schemas/dist/asset.schema.js +50 -15
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.d.ts +204 -0
- package/node_modules/@kardalum/api-schemas/dist/audit-api.schema.js +134 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.d.ts +5 -0
- package/node_modules/@kardalum/api-schemas/dist/content-api.schema.js +18 -13
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.d.ts +2 -2
- package/node_modules/@kardalum/api-schemas/dist/content-list.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/content-path.js +11 -7
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash-api.schema.js +3 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/content-trash.schema.js +2 -1
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +143 -57
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +110 -60
- package/node_modules/@kardalum/api-schemas/dist/data-type-api.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/document-type-api.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/index.d.ts +67 -40
- package/node_modules/@kardalum/api-schemas/dist/index.js +35 -19
- package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/install-warnings.schema.js +8 -0
- package/node_modules/@kardalum/api-schemas/dist/issue-list.d.ts +6 -0
- package/node_modules/@kardalum/api-schemas/dist/issue-list.js +6 -0
- package/node_modules/@kardalum/api-schemas/dist/management-multipart.schema.d.ts +73 -0
- package/node_modules/@kardalum/api-schemas/dist/management-multipart.schema.js +104 -0
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.d.ts +356 -16
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +93 -10
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.d.ts +10 -0
- package/node_modules/@kardalum/api-schemas/dist/media-api.schema.js +38 -30
- package/node_modules/@kardalum/api-schemas/dist/media-rendition.schema.js +2 -2
- package/node_modules/@kardalum/api-schemas/dist/media.schema.js +1 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.d.ts +6 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-actions.schema.js +8 -6
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.d.ts +69 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs-api.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.d.ts +76 -9
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +84 -24
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.d.ts +17 -7
- package/node_modules/@kardalum/api-schemas/dist/plugin-id-rules.js +18 -8
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.d.ts +69 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install-record.schema.js +59 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.d.ts +597 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +503 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.d.ts +60 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-labels.js +116 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +82 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +228 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +33 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +28 -2
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +11 -3
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +17 -4
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +58 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +198 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.d.ts +64 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-fields.js +134 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.d.ts +2 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-registry-api.schema.js +4 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.d.ts +74 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-template-payload.js +132 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.d.ts +13 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-vocabulary.js +15 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.d.ts +8 -0
- package/node_modules/@kardalum/api-schemas/dist/public-api.schema.js +23 -4
- package/node_modules/@kardalum/api-schemas/dist/render-editing.d.ts +4 -4
- package/node_modules/@kardalum/api-schemas/dist/role.schema.d.ts +17 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.js +13 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.d.ts +44 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +97 -0
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.d.ts +126 -0
- package/node_modules/@kardalum/api-schemas/dist/sandbox-attach.schema.js +70 -0
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.d.ts +36 -6
- package/node_modules/@kardalum/api-schemas/dist/setup-api.schema.js +17 -5
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.d.ts +52 -33
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +195 -56
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +19 -3
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +16 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot.schema.d.ts +1 -1
- package/node_modules/@kardalum/api-schemas/dist/strict-url.d.ts +12 -0
- package/node_modules/@kardalum/api-schemas/dist/strict-url.js +31 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.d.ts +105 -1
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +47 -7
- package/node_modules/@kardalum/api-schemas/dist/template.schema.d.ts +30 -2
- package/node_modules/@kardalum/api-schemas/dist/template.schema.js +19 -5
- package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/trash-cursor.schema.js +29 -0
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +15 -3
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +8 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.d.ts +19 -0
- package/node_modules/@kardalum/api-schemas/dist/whoami-api.schema.js +22 -0
- package/node_modules/@kardalum/api-schemas/package.json +2 -2
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.d.ts +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tailwind-theme.js +2 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.css +1 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.js +3 -0
- package/node_modules/@kardalum/design-tokens/dist/tokens.json +2 -1
- package/node_modules/@kardalum/design-tokens/dist/types.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/README.md +4 -1
- package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +96 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +66 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +103 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +346 -0
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.d.ts +4 -0
- package/node_modules/@kardalum/plugin-package/dist/client-bundle.js +25 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.d.ts +25 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/archive-names.js +203 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/bundle.js +73 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/contributions.js +60 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.d.ts +1 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icon-names.generated.js +2052 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icons.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/icons.js +51 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.d.ts +8 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/index.js +7 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.d.ts +17 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/label-languages.js +119 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.d.ts +14 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/limits.js +21 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/locales.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/locales.js +148 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/package-files.js +76 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.d.ts +22 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/registry.js +133 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/sample-content.js +90 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/support.d.ts +24 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/support.js +55 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.d.ts +6 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/templates.js +158 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.d.ts +53 -0
- package/node_modules/@kardalum/plugin-package/dist/delivery/types.js +1 -0
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.d.ts +3 -2
- package/node_modules/@kardalum/plugin-package/dist/docs-contract.js +4 -2
- package/node_modules/@kardalum/plugin-package/dist/extract.d.ts +92 -3
- package/node_modules/@kardalum/plugin-package/dist/extract.js +251 -41
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +11 -2
- package/node_modules/@kardalum/plugin-package/dist/index.js +8 -2
- package/node_modules/@kardalum/plugin-package/dist/manifest-entry.d.ts +5 -0
- package/node_modules/@kardalum/plugin-package/dist/manifest-entry.js +20 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.d.ts +3 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.js +7 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +38 -1
- package/node_modules/@kardalum/plugin-package/dist/sample-content.js +84 -16
- package/node_modules/@kardalum/plugin-package/dist/shipped-files.d.ts +39 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-files.js +133 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-locales.d.ts +7 -0
- package/node_modules/@kardalum/plugin-package/dist/shipped-locales.js +27 -0
- package/node_modules/@kardalum/plugin-package/dist/types.d.ts +4 -6
- package/node_modules/@kardalum/plugin-package/dist/types.js +15 -1
- package/node_modules/@kardalum/plugin-package/package.json +9 -2
- package/node_modules/@kardalum/ui/dist/components/checkbox.js +2 -2
- package/node_modules/@kardalum/ui/dist/components/dropdown-menu.js +2 -2
- package/node_modules/@kardalum/ui/dist/components/property-field.js +4 -1
- package/node_modules/@kardalum/ui/package.json +1 -1
- package/package.json +6 -6
|
@@ -7,10 +7,16 @@
|
|
|
7
7
|
// the two roles then. S271 converted those call sites and used this as its
|
|
8
8
|
// checklist. Since S271 the `adminGatedToday: true` routes carry
|
|
9
9
|
// requireAction(<action>), and since S276 and S277 so do all the content rows.
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
//
|
|
13
|
-
//
|
|
10
|
+
// Since S298 so do all the document type, data type and template rows.
|
|
11
|
+
// Since S300a so do the asset and settings reads (the admin shell's app bar
|
|
12
|
+
// order read excepted on purpose: it is open to every signed-in user and no
|
|
13
|
+
// action's route; its management read, S309, asks settings.read). Since S300b so do the media rows: no route in the vocabulary asks
|
|
14
|
+
// only for a session. The flag remains what the seeded editor role is derived
|
|
15
|
+
// from.
|
|
16
|
+
// Since S299 the `/api/v1` delivery routes ask the same actions for an API
|
|
17
|
+
// key; the table is in 2026-10-15-s299-tokens-that-carry-actions-design.md
|
|
18
|
+
// section 3.4. Since S300a an API key also needs `managementApi.use`, beside
|
|
19
|
+
// the route's own action, on every route of the management API.
|
|
14
20
|
//
|
|
15
21
|
// Each value was read from the route that serves the action, per route and
|
|
16
22
|
// not per file: content.ts and media.ts mix requireAdmin and requireAuth.
|
|
@@ -22,72 +28,111 @@
|
|
|
22
28
|
// string. The role editor renders this, the same way CAPABILITY_LABELS
|
|
23
29
|
// renders capabilities.
|
|
24
30
|
export const CORE_ACTIONS = [
|
|
25
|
-
{ action: "content.read", adminGatedToday: false, label: "View content and mint preview links", route: "GET /api/content/by-path, GET /api/content/by-address, GET /api/content/:id, GET /api/content/roots, GET /api/content/:id/children, GET /api/content/:id/list, GET /api/content/:id/url-impact, GET /api/content/:id/move-impact, GET /api/content/:id/versions, GET /api/content/:id/versions/latest, GET /api/content/:id/versions/:version, POST /api/content/:id/preview-token, GET /api/plugins/:pluginId/storage/:contentId/:fieldId" },
|
|
26
|
-
{ action: "content.create", adminGatedToday: false, label: "Create and copy content", route: "POST /api/content, POST /api/content/:id/copy" },
|
|
27
|
-
{ action: "content.update", adminGatedToday: false, label: "Edit, move and reorder content", route: "PUT /api/content/:id, POST /api/content/:id/move, POST /api/content/roots/reorder, POST /api/content/:id/children/reorder, PUT /api/plugins/:pluginId/storage/:contentId/:fieldId" },
|
|
28
|
-
{ action: "content.publish", adminGatedToday: false, label: "Publish content", route: "POST /api/content/:id/publish, POST /api/content/:id/publish-all" },
|
|
29
|
-
{ action: "content.delete", adminGatedToday: true, label: "Move content to the trash", route: "DELETE /api/content/:id" },
|
|
30
|
-
{ action: "content.readTrash", adminGatedToday: true, label: "View trashed content", route: "GET /api/content/trash" },
|
|
31
|
-
{ action: "content.restore", adminGatedToday: true, label: "Restore trashed content", route: "POST /api/content/:id/restore" },
|
|
31
|
+
{ action: "content.read", adminGatedToday: false, label: "View content and mint preview links", keyNote: "On the management API this also reads drafts, every saved version and preview links, not only published content.", route: "GET /api/manage/v1/content/by-path, GET /api/manage/v1/content/by-address, GET /api/manage/v1/content/:id, GET /api/manage/v1/content/roots, GET /api/manage/v1/content/:id/children, GET /api/manage/v1/content/:id/list, GET /api/manage/v1/content/:id/url-impact, GET /api/manage/v1/content/:id/move-impact, GET /api/manage/v1/content/:id/versions, GET /api/manage/v1/content/:id/versions/latest, GET /api/manage/v1/content/:id/versions/:version, POST /api/manage/v1/content/:id/preview-token, GET /api/plugins/:pluginId/storage/:contentId/:fieldId" },
|
|
32
|
+
{ action: "content.create", adminGatedToday: false, label: "Create and copy content", route: "POST /api/manage/v1/content, POST /api/manage/v1/content/:id/copy" },
|
|
33
|
+
{ action: "content.update", adminGatedToday: false, label: "Edit, move and reorder content", route: "PUT /api/manage/v1/content/:id, POST /api/manage/v1/content/:id/move, POST /api/manage/v1/content/roots/reorder, POST /api/manage/v1/content/:id/children/reorder, PUT /api/plugins/:pluginId/storage/:contentId/:fieldId" },
|
|
34
|
+
{ action: "content.publish", adminGatedToday: false, label: "Publish content", route: "POST /api/manage/v1/content/:id/publish, POST /api/manage/v1/content/:id/publish-all" },
|
|
35
|
+
{ action: "content.delete", adminGatedToday: true, label: "Move content to the trash", route: "DELETE /api/manage/v1/content/:id" },
|
|
36
|
+
{ action: "content.readTrash", adminGatedToday: true, label: "View trashed content", route: "GET /api/manage/v1/content/trash" },
|
|
37
|
+
{ action: "content.restore", adminGatedToday: true, label: "Restore trashed content", route: "POST /api/manage/v1/content/:id/restore" },
|
|
32
38
|
// S278: reading and saving a node's restrictions, and the search for the
|
|
33
39
|
// roles and users a restriction can name. New with the permissions tab, so
|
|
34
40
|
// there was no earlier gate to read; admin-gated because it decides who
|
|
35
41
|
// may reach a page at all.
|
|
36
|
-
{ action: "content.managePermissions", adminGatedToday: true, label: "Manage permissions on content", route: "GET /api/content/:id/permissions, PUT /api/content/:id/permissions, GET /api/content/permission-subjects, DELETE /api/content/:id/restrictions, GET /api/content/:id/explain, GET /api/content/:id/explain-operation, GET /api/content/:id/who-can" },
|
|
37
|
-
{ action: "media.read", adminGatedToday: false, label: "View media",
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
{ action: "
|
|
44
|
-
{ action: "
|
|
45
|
-
{ action: "
|
|
46
|
-
{ action: "
|
|
47
|
-
{ action: "
|
|
48
|
-
{ action: "
|
|
49
|
-
{ action: "
|
|
50
|
-
{ action: "
|
|
51
|
-
{ action: "
|
|
52
|
-
{ action: "
|
|
53
|
-
{ action: "
|
|
54
|
-
{ action: "
|
|
55
|
-
{ action: "
|
|
56
|
-
{ action: "
|
|
57
|
-
{ action: "
|
|
58
|
-
{ action: "
|
|
59
|
-
{ action: "
|
|
60
|
-
{ action: "
|
|
61
|
-
{ action: "
|
|
62
|
-
{ action: "
|
|
63
|
-
{ action: "
|
|
42
|
+
{ action: "content.managePermissions", adminGatedToday: true, label: "Manage permissions on content", keyNote: "Reads and changes which roles and users may reach which page.", route: "GET /api/manage/v1/content/:id/permissions, PUT /api/manage/v1/content/:id/permissions, GET /api/manage/v1/content/permission-subjects, DELETE /api/manage/v1/content/:id/restrictions, GET /api/manage/v1/content/:id/explain, GET /api/manage/v1/content/:id/explain-operation, GET /api/manage/v1/content/:id/who-can" },
|
|
43
|
+
{ action: "media.read", adminGatedToday: false, label: "View media", keyNote: "Lists and reads every media file with its versions, references and cuts, private files included, each with a working signed link.", route: "GET /api/manage/v1/media, GET /api/manage/v1/media/:id, GET /api/manage/v1/media/:id/versions, GET /api/manage/v1/media/:id/references, GET /api/manage/v1/media/:id/renditions, GET /api/manage/v1/media/folders" },
|
|
44
|
+
// S303 (2026-10-17-s303-the-api-documented-design.md 3.4): split from media.read. The trash lists reach more
|
|
45
|
+
// than the library does, so a key holding media.read no longer gets them. media.link is the action of the
|
|
46
|
+
// explicit link route only: the reads behind media.read already return a signed downloadUrl for a private
|
|
47
|
+
// file, and that stays. Open to the seeded editor, which trashes and restores and needs to see the bin and
|
|
48
|
+
// copy a link.
|
|
49
|
+
{ action: "media.readTrash", adminGatedToday: false, label: "View the media Recycle Bin", keyNote: "Lists the Recycle Bin and what still uses the trashed files.", route: "GET /api/manage/v1/media/trash, GET /api/manage/v1/media/trash/references" },
|
|
50
|
+
{ action: "media.link", adminGatedToday: false, label: "Create links to media files", keyNote: "Mints a signed link to any media file through the explicit link route. The media reads already return one for a private file.", route: "POST /api/manage/v1/media/:id/link" },
|
|
51
|
+
{ action: "media.create", adminGatedToday: false, label: "Upload media", route: "POST /api/manage/v1/media, POST /api/manage/v1/media/folders, POST /api/manage/v1/media/:id/renditions" },
|
|
52
|
+
{ action: "media.update", adminGatedToday: false, label: "Edit media and media folders", route: "PATCH /api/manage/v1/media/:id, PATCH /api/manage/v1/media/folders/:id, POST /api/manage/v1/media/:id/replace, POST /api/manage/v1/media/:id/versions/:version/make-current, DELETE /api/manage/v1/media/folders/:id" },
|
|
53
|
+
{ action: "media.delete", adminGatedToday: false, label: "Move media to the trash", route: "DELETE /api/manage/v1/media/:id" },
|
|
54
|
+
{ action: "media.restore", adminGatedToday: false, label: "Restore trashed media", route: "POST /api/manage/v1/media/:id/restore" },
|
|
55
|
+
{ action: "media.deletePermanent", adminGatedToday: true, label: "Permanently delete media and media versions", route: "DELETE /api/manage/v1/media/:id/permanent, POST /api/manage/v1/media/trash/empty, DELETE /api/manage/v1/media/:id/versions/:version" },
|
|
56
|
+
{ action: "documentTypes.read", adminGatedToday: false, label: "View document types", route: "GET /api/manage/v1/document-types" },
|
|
57
|
+
{ action: "documentTypes.create", adminGatedToday: false, label: "Create document types", route: "POST /api/manage/v1/document-types" },
|
|
58
|
+
{ action: "documentTypes.update", adminGatedToday: false, label: "Edit document types", route: "PUT /api/manage/v1/document-types/:id, PATCH /api/manage/v1/document-types/:id/default-template" },
|
|
59
|
+
{ action: "documentTypes.delete", adminGatedToday: false, label: "Delete document types", route: "DELETE /api/manage/v1/document-types/:id" },
|
|
60
|
+
{ action: "dataTypes.read", adminGatedToday: false, label: "View data types", route: "GET /api/manage/v1/data-types, GET /api/manage/v1/data-types/:id" },
|
|
61
|
+
{ action: "dataTypes.create", adminGatedToday: false, label: "Create data types", route: "POST /api/manage/v1/data-types" },
|
|
62
|
+
{ action: "dataTypes.update", adminGatedToday: false, label: "Configure data types", route: "PATCH /api/manage/v1/data-types/:id" },
|
|
63
|
+
{ action: "dataTypes.delete", adminGatedToday: true, label: "Delete data types", keyNote: "Removes a data type for good. The server refuses a built-in data type, and one any document type still has a field of, naming those types.", route: "DELETE /api/manage/v1/data-types/:id" },
|
|
64
|
+
{ action: "templates.read", adminGatedToday: false, label: "View templates", route: "GET /api/manage/v1/templates, GET /api/manage/v1/templates/:id, GET /api/manage/v1/templates/trash, GET /api/manage/v1/templates/:id/versions, GET /api/manage/v1/templates/:id/versions/:version" },
|
|
65
|
+
{ action: "templates.create", adminGatedToday: true, label: "Create templates", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "POST /api/manage/v1/templates" },
|
|
66
|
+
{ action: "templates.update", adminGatedToday: true, label: "Edit templates", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "PATCH /api/manage/v1/templates/:id, POST /api/manage/v1/templates/:id/versions/:version/current, POST /api/manage/v1/templates/:id/restore" },
|
|
67
|
+
{ action: "templates.delete", adminGatedToday: true, label: "Delete templates", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "DELETE /api/manage/v1/templates/:id" },
|
|
68
|
+
{ action: "templates.sync", adminGatedToday: true, label: "Sync templates from disk", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "POST /api/manage/v1/templates/sync" },
|
|
69
|
+
{ action: "assets.read", adminGatedToday: false, label: "View site assets", route: "GET /api/manage/v1/assets/tree, GET /api/manage/v1/assets/content, GET /api/manage/v1/assets/raw, GET /api/manage/v1/assets/versions, GET /api/manage/v1/assets/versions/:version, GET /api/manage/v1/assets/trash" },
|
|
70
|
+
{ action: "assets.create", adminGatedToday: true, label: "Upload site assets and create folders", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "POST /api/manage/v1/assets/upload, POST /api/manage/v1/assets/extract-zip, POST /api/manage/v1/assets/folder" },
|
|
71
|
+
{ action: "assets.update", adminGatedToday: true, label: "Edit and rename site assets", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "PUT /api/manage/v1/assets/content, PATCH /api/manage/v1/assets/rename, POST /api/manage/v1/assets/versions/:version/current, POST /api/manage/v1/assets/restore" },
|
|
72
|
+
{ action: "assets.delete", adminGatedToday: true, label: "Delete site assets", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "DELETE /api/manage/v1/assets" },
|
|
73
|
+
{ action: "assets.sync", adminGatedToday: true, label: "Sync site assets from disk", keyNote: "Changes code the server serves from the admin's own origin: with managementApi.use this is as strong as an admin session.", route: "POST /api/manage/v1/assets/sync" },
|
|
74
|
+
{ action: "render.read", adminGatedToday: true, label: "View text styles and embeddable blocks", route: "GET /api/manage/v1/render/text-styles, GET /api/manage/v1/render/blocks" },
|
|
75
|
+
{ action: "render.preview", adminGatedToday: true, label: "Render a block preview", route: "POST /api/manage/v1/render/block" },
|
|
76
|
+
// S300a: the app bar's order read in the shell (GET /api/settings/nav) is open to every signed-in user on purpose (S281) and asks no action;
|
|
77
|
+
// its management read (GET /api/manage/v1/settings/nav, S309) asks settings.read, and its write is settings.update.
|
|
78
|
+
{ action: "settings.read", adminGatedToday: false, label: "View settings", route: "GET /api/manage/v1/settings/render, GET /api/manage/v1/settings/cultures, GET /api/manage/v1/settings/sites, GET /api/manage/v1/settings/nav, GET /api/manage/v1/settings/audit-retention" },
|
|
79
|
+
{ action: "settings.update", adminGatedToday: true, label: "Change settings", route: "PUT /api/manage/v1/settings/render, PUT /api/manage/v1/settings/cultures, PUT /api/manage/v1/settings/nav" },
|
|
64
80
|
// S277d: a site's domains and the choice of default site. New with the
|
|
65
81
|
// Site tab, so there was no earlier gate to read; admin-gated because it
|
|
66
82
|
// decides which content every address of the install shows.
|
|
67
|
-
{ action: "sites.manage", adminGatedToday: true, label: "Manage sites", route: "GET /api/sites, PUT /api/settings/sites/default, PUT /api/settings/sites/:siteId/hostnames" },
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
{ action: "sites.manage", adminGatedToday: true, label: "Manage sites", route: "GET /api/manage/v1/sites, PUT /api/manage/v1/settings/sites/default, PUT /api/manage/v1/settings/sites/:siteId/hostnames" },
|
|
84
|
+
// S299: the delivery API's read of the site list (GET /api/v1/sites). Its own
|
|
85
|
+
// action so a key that may read the sites does not hold the power to change
|
|
86
|
+
// them (sites.manage), and does not hold the rest of the settings reads either.
|
|
87
|
+
{ action: "sites.read", adminGatedToday: true, label: "View the sites and their addresses", route: "GET /api/v1/sites" },
|
|
88
|
+
{ action: "users.read", adminGatedToday: true, label: "View users", route: "GET /api/manage/v1/users" },
|
|
89
|
+
{ action: "users.create", adminGatedToday: true, label: "Invite users", keyNote: "A key is refused here: creating a user takes a session, so this matters only to a session's role.", route: "POST /api/manage/v1/users" },
|
|
90
|
+
{ action: "users.update", adminGatedToday: true, label: "Change user roles", keyNote: "Changes what a person may do by changing their role. A key is refused the admin role.", route: "PATCH /api/manage/v1/users/:id/role" },
|
|
91
|
+
{ action: "users.delete", adminGatedToday: true, label: "Delete users", keyNote: "Removes a person's account and ends their sessions. A key is refused when the account is an administrator's.", route: "DELETE /api/manage/v1/users/:id" },
|
|
71
92
|
// S272: new with the role editor, so there was no requireAdmin gate to
|
|
72
93
|
// read. Marked admin-gated because granting the role editor to the seeded
|
|
73
94
|
// editor would let that role grant itself anything.
|
|
74
|
-
{ action: "roles.read", adminGatedToday: true, label: "View roles and the actions they grant", route: "GET /api/roles, GET /api/actions" },
|
|
75
|
-
{ action: "roles.create", adminGatedToday: true, label: "Create roles", route: "POST /api/roles, POST /api/
|
|
76
|
-
{ action: "roles.update", adminGatedToday: true, label: "Edit a role's label and actions", route: "PATCH /api/roles/:id" },
|
|
77
|
-
{ action: "roles.delete", adminGatedToday: true, label: "Delete roles", route: "DELETE /api/roles/:id" },
|
|
78
|
-
{ action: "apiKeys.read", adminGatedToday: true, label: "View API keys", route: "GET /api/api-keys" },
|
|
79
|
-
{ action: "apiKeys.create", adminGatedToday: true, label: "Create API keys", route: "POST /api/api-keys" },
|
|
80
|
-
{ action: "apiKeys.revoke", adminGatedToday: true, label: "Revoke API keys", route: "POST /api/api-keys/:id/revoke" },
|
|
81
|
-
{ action: "apiPlayground.read", adminGatedToday: true, label: "Use the API playground", route: "GET /api/api-playground/openapi" },
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
{ action: "
|
|
87
|
-
{ action: "
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
{ action: "roles.read", adminGatedToday: true, label: "View roles and the actions they grant", route: "GET /api/manage/v1/roles, GET /api/manage/v1/actions" },
|
|
96
|
+
{ action: "roles.create", adminGatedToday: true, label: "Create roles", keyNote: "Decides what people may do. Treat it as an administrator's action.", route: "POST /api/manage/v1/roles, POST /api/manage/v1/plugins/:pluginId/offered-roles/:roleId" },
|
|
97
|
+
{ action: "roles.update", adminGatedToday: true, label: "Edit a role's label and actions", keyNote: "Decides what people may do. Treat it as an administrator's action.", route: "PATCH /api/manage/v1/roles/:id" },
|
|
98
|
+
{ action: "roles.delete", adminGatedToday: true, label: "Delete roles", route: "DELETE /api/manage/v1/roles/:id" },
|
|
99
|
+
{ action: "apiKeys.read", adminGatedToday: true, label: "View API keys", keyNote: "A key is refused here: key routes take a session only, so this matters only to a session's role.", route: "GET /api/manage/v1/api-keys" },
|
|
100
|
+
{ action: "apiKeys.create", adminGatedToday: true, label: "Create API keys", keyNote: "A key is refused here: key routes take a session only, so this matters only to a session's role.", route: "POST /api/manage/v1/api-keys" },
|
|
101
|
+
{ action: "apiKeys.revoke", adminGatedToday: true, label: "Revoke API keys", keyNote: "A key is refused here: key routes take a session only, so this matters only to a session's role.", route: "POST /api/manage/v1/api-keys/:id/revoke" },
|
|
102
|
+
{ action: "apiPlayground.read", adminGatedToday: true, label: "Use the API playground", route: "GET /api/manage/v1/api-playground/openapi" },
|
|
103
|
+
// S314b (P11): the audit log. Both admin-gated and both through requireAction, so a key
|
|
104
|
+
// that holds one beside managementApi.use reads the log too; the entries carry the name
|
|
105
|
+
// and email of everyone who acted, which the note says. The list is not itself recorded;
|
|
106
|
+
// the export is.
|
|
107
|
+
{ action: "audit.read", adminGatedToday: true, label: "View the audit log", keyNote: "Reads every audit entry, with the name and email of everyone who acted and the address they came from.", route: "GET /api/manage/v1/audit" },
|
|
108
|
+
{ action: "audit.export", adminGatedToday: true, label: "Export the audit log", keyNote: "Exports a month of audit entries, with the name and email of everyone who acted and the address they came from.", route: "GET /api/manage/v1/audit/export" },
|
|
109
|
+
// S314b2 (D2): audit log retention. Admin-gated and session-only: requireSessionAction
|
|
110
|
+
// refuses every key, so no script removes entries; the note says so. Reading the setting
|
|
111
|
+
// asks settings.read.
|
|
112
|
+
{ action: "audit.prune", adminGatedToday: true, label: "Set audit log retention and remove archived months", keyNote: "A key is refused here: retention and pruning take a session, so this matters only to a session's role.", route: "PUT /api/manage/v1/settings/audit-retention, POST /api/manage/v1/audit/prune" },
|
|
113
|
+
// Row C2 of 2026-10-16-s300a-management-routes-the-structure-side-design.md
|
|
114
|
+
// (section 4b): what an API key must hold, beside the route's own action, to
|
|
115
|
+
// reach any route under /api/manage/v1, hence the wildcard. requireAction
|
|
116
|
+
// asks it of a key only, never of a session. New with the management API, so
|
|
117
|
+
// there was no earlier gate to read; admin-gated so the seeded editor does not
|
|
118
|
+
// hold it and so cannot give it to a key (the subset rule), and no API key
|
|
119
|
+
// preset holds it.
|
|
120
|
+
{
|
|
121
|
+
action: "managementApi.use",
|
|
122
|
+
adminGatedToday: true,
|
|
123
|
+
label: "Let API keys use the management API", keyNote: "Lets a key call the management API with the actions it also holds. Never give it to a key that ships in a browser.",
|
|
124
|
+
route: "GET /api/manage/v1/*, POST /api/manage/v1/*, PUT /api/manage/v1/*, PATCH /api/manage/v1/*, DELETE /api/manage/v1/*",
|
|
125
|
+
},
|
|
126
|
+
{ action: "plugins.read", adminGatedToday: true, label: "View installed plugins", route: "GET /api/manage/v1/plugins, GET /api/manage/v1/marketplace/status, GET /api/manage/v1/plugins/:pluginId/snapshot-groups, GET /api/manage/v1/plugins/:pluginId/install-record, GET /api/manage/v1/plugin-docs, GET /api/manage/v1/plugin-docs/search-index, GET /api/manage/v1/plugin-docs/:pluginId/pages/:slug, GET /api/manage/v1/plugin-docs/:pluginId/reference" },
|
|
127
|
+
{ action: "plugins.browse", adminGatedToday: true, label: "Browse the plugin marketplace", route: "GET /api/manage/v1/marketplace/listings, GET /api/manage/v1/marketplace/listings/:pluginId" },
|
|
128
|
+
{ action: "plugins.install", adminGatedToday: true, label: "Install plugins", keyNote: "Puts code into the server process. An unsigned package is not refused.", route: "POST /api/manage/v1/marketplace/install, POST /api/manage/v1/plugins/upload" },
|
|
129
|
+
{ action: "plugins.update", adminGatedToday: true, label: "Enable or disable plugins", route: "POST /api/manage/v1/plugins/:pluginId/activate, POST /api/manage/v1/plugins/:pluginId/deactivate, POST /api/manage/v1/plugins/:pluginId/license/recheck" },
|
|
130
|
+
{ action: "plugins.delete", adminGatedToday: true, label: "Uninstall plugins", keyNote: "Removes an installed plugin from the site.", route: "DELETE /api/manage/v1/plugins/:pluginId" },
|
|
131
|
+
{ action: "plugins.restore", adminGatedToday: true, label: "Restore a plugin from a snapshot", route: "POST /api/manage/v1/plugins/:pluginId/snapshot-groups/restore" },
|
|
132
|
+
{ action: "snapshots.read", adminGatedToday: true, label: "View snapshots", route: "GET /api/manage/v1/snapshots" },
|
|
133
|
+
{ action: "snapshots.create", adminGatedToday: true, label: "Create snapshots", route: "POST /api/manage/v1/snapshots" },
|
|
134
|
+
{ action: "snapshots.restore", adminGatedToday: true, label: "Restore a snapshot", route: "POST /api/manage/v1/snapshots/:id/restore" },
|
|
135
|
+
{ action: "snapshots.delete", adminGatedToday: true, label: "Delete snapshots", keyNote: "Removes a snapshot for good: its record of which page versions were published. No page changes.", route: "DELETE /api/manage/v1/snapshots/:id" },
|
|
91
136
|
];
|
|
92
137
|
export const CORE_ACTION_STRINGS = CORE_ACTIONS.map((entry) => entry.action);
|
|
93
138
|
const CORE_SET = new Set(CORE_ACTION_STRINGS);
|
|
@@ -95,3 +140,8 @@ const CORE_SET = new Set(CORE_ACTION_STRINGS);
|
|
|
95
140
|
export function isCoreAction(value) {
|
|
96
141
|
return CORE_SET.has(value);
|
|
97
142
|
}
|
|
143
|
+
const KEY_NOTES = new Map(CORE_ACTIONS.flatMap((entry) => ("keyNote" in entry ? [[entry.action, entry.keyNote]] : [])));
|
|
144
|
+
/** The key-side note of a core action, or null when it has none or is not a core action. */
|
|
145
|
+
export function coreKeyNote(action) {
|
|
146
|
+
return KEY_NOTES.get(action) ?? null;
|
|
147
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare const CreateDataTypeRequestSchema: z.ZodObject<{
|
|
|
5
5
|
settings: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
6
|
}, z.core.$strict>;
|
|
7
7
|
export type CreateDataTypeRequest = z.infer<typeof CreateDataTypeRequestSchema>;
|
|
8
|
+
export type CreateDataTypeRequestInput = z.input<typeof CreateDataTypeRequestSchema>;
|
|
8
9
|
export declare const UpdateDataTypeRequestSchema: z.ZodObject<{
|
|
9
10
|
name: z.ZodOptional<z.ZodString>;
|
|
10
11
|
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -79,6 +79,7 @@ export declare const CreateDocumentTypeRequestSchema: z.ZodDiscriminatedUnion<[z
|
|
|
79
79
|
catchAll: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
}, z.core.$strict>], "kind">;
|
|
81
81
|
export type CreateDocumentTypeRequest = z.infer<typeof CreateDocumentTypeRequestSchema>;
|
|
82
|
+
export type CreateDocumentTypeRequestInput = z.input<typeof CreateDocumentTypeRequestSchema>;
|
|
82
83
|
export declare const UpdateDocumentTypeRequestSchema: z.ZodObject<{
|
|
83
84
|
name: z.ZodString;
|
|
84
85
|
icon: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -112,6 +113,7 @@ export declare const UpdateDocumentTypeRequestSchema: z.ZodObject<{
|
|
|
112
113
|
catchAll: z.ZodOptional<z.ZodBoolean>;
|
|
113
114
|
}, z.core.$strict>;
|
|
114
115
|
export type UpdateDocumentTypeRequest = z.infer<typeof UpdateDocumentTypeRequestSchema>;
|
|
116
|
+
export type UpdateDocumentTypeRequestInput = z.input<typeof UpdateDocumentTypeRequestSchema>;
|
|
115
117
|
export declare const CreateDocumentTypeResponseSchema: z.ZodObject<{
|
|
116
118
|
documentType: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
117
119
|
id: z.ZodString;
|
|
@@ -89,7 +89,7 @@ export const CreateDocumentTypeRequestSchema = z
|
|
|
89
89
|
.strict(),
|
|
90
90
|
])
|
|
91
91
|
.superRefine(validateFieldsAndTabs);
|
|
92
|
-
// PUT /api/document-types/:id
|
|
92
|
+
// PUT /api/manage/v1/document-types/:id: the mutable subset only. `kind` is
|
|
93
93
|
// immutable after creation (a payload carrying it fails .strict() — the
|
|
94
94
|
// intended behavior, not an accident) and `defaultTemplateId` stays with
|
|
95
95
|
// its dedicated pointer endpoint. `treeRules` is optional HERE because
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
export { ActionStringSchema, ACTION_SEGMENT_MIN, ACTION_SEGMENT_MAX, ACTION_MAX_LENGTH, isPluginActionFor } from "./action.schema.js";
|
|
2
2
|
export type { ActionString } from "./action.schema.js";
|
|
3
|
-
export { CORE_ACTIONS, CORE_ACTION_STRINGS, isCoreAction } from "./core-actions.js";
|
|
3
|
+
export { CORE_ACTIONS, CORE_ACTION_STRINGS, coreKeyNote, isCoreAction } from "./core-actions.js";
|
|
4
4
|
export type { CoreAction, CoreActionString } from "./core-actions.js";
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export * from "./management-multipart.schema.js";
|
|
6
|
+
export { TRASH_CURSOR_MAX, TrashCursorSchema, isTrashCursor } from "./trash-cursor.schema.js";
|
|
7
|
+
export { ROLE_ID_PATTERN, SEEDED_ROLE_IDS, RoleIdSchema, ActionSummarySchema, ActionListResponseSchema, RoleSchema, RoleListQuerySchema, RoleListResponseSchema, CreateRoleRequestSchema, UpdateRoleRequestSchema, RoleResponseSchema, DeleteRoleResponseSchema, RoleEscalationRefusalSchema, RoleForbiddenSchema, RoleParamsSchema, } from "./role.schema.js";
|
|
8
|
+
export type { SeededRoleId, RoleId, ActionSummary, ActionListResponse, Role, RoleListQuery, RoleListResponse, CreateRoleRequest, UpdateRoleRequest, RoleResponse, DeleteRoleResponse, RoleEscalationRefusal, RoleParams, } from "./role.schema.js";
|
|
7
9
|
export { RESTRICTABLE_ACTIONS, isRestrictableAction, MAX_RESTRICTED_NODES, MAX_RESTRICTED_NODES_WITH_TRASH, MAX_GRANTS_PER_ENTRY, NODE_ACCESS_SUBJECT_ID_MAX, NodeAccessModeSchema, NodeAccessSubjectKindSchema, NodeAccessGrantSchema, NodeAccessEntrySchema, NodeAccessReasonSchema, NodeAccessDecisionSchema, NODE_ACCESS_REFUSED_MESSAGE, NodeAccessFlagsSchema, NodeAccessRefusalSchema, NodeAccessRefusalDecisionSchema, DecidingEntryGrantSchema, DecidingEntrySchema, NodeAccessDenialSchema, MoveImpactQuerySchema, MoveImpactResponseSchema, ClearRestrictionsResponseSchema, ContentForbiddenSchema, ALL_NODE_ACCESS, nodeAccessFlagKey, PermissionGrantViewSchema, NodePermissionRowSchema, NodePermissionsResponseSchema, NodePermissionInputSchema, SaveNodePermissionsRequestSchema, NodePermissionsRefusalSchema, PermissionSubjectSchema, PermissionSubjectsResponseSchema, PermissionSubjectsQuerySchema, PERMISSION_SUBJECT_QUERY_MAX, PERMISSION_SUBJECT_CURSOR_MAX, ExplainSubjectQuerySchema, AccessTraceViewSchema, ExplainResponseSchema, ExplainOperationQuerySchema, ExplainOperationResponseSchema, OPENED_BELOW_MAX, WhoCanResponseSchema, } from "./node-access.schema.js";
|
|
8
10
|
export type { RestrictableAction, NodeAccessMode, NodeAccessSubjectKind, NodeAccessGrant, NodeAccessEntry, NodeAccessReason, NodeAccessDecision, NodeAccessFlags, NodeAccessRefusal, NodeAccessRefusalDecision, DecidingEntryGrant, DecidingEntry, NodeAccessDenial, NodeAccessFlagKey, MoveImpactQuery, MoveImpactResponse, ClearRestrictionsResponse, PermissionGrantView, NodePermissionRow, NodePermissionsResponse, NodePermissionInput, SaveNodePermissionsRequest, NodePermissionsRefusal, PermissionSubject, PermissionSubjectsResponse, PermissionSubjectsQuery, ExplainSubjectQuery, AccessTraceView, ExplainResponse, ExplainOperationQuery, ExplainOperationResponse, WhoCanResponse, } from "./node-access.schema.js";
|
|
9
11
|
export { ContentNodeSchema, NodeCultureSchema } from "./content.schema.js";
|
|
10
12
|
export type { ContentNode, NodeCulture } from "./content.schema.js";
|
|
11
13
|
export { RESERVED_ROOT_SLUGS, isReservedRootSlug } from "./reserved-slugs.js";
|
|
12
14
|
export { CONTENT_NAME_KEY, canonicalPath, firstSegment, joinContentPath, NEXT_FREE_SLUG_ATTEMPTS, nextAvailableName, nextFreeSlug, publicPath, slugify, } from "./content-path.js";
|
|
13
|
-
export { DefaultSiteSchema,
|
|
14
|
-
export type { DefaultSite, SetDefaultSiteRequest, SetSiteHostnamesRequest, SiteAddress, SiteAddressOptions, SiteHostnames, SiteListQuery, SiteListResponse, SiteListRow, SiteSummary, SitesSettings, SitesSettingsResponse, } from "./sites.schema.js";
|
|
15
|
+
export { DefaultSiteSchema, MAX_HOSTNAMES_PER_SITE, SetDefaultSiteRequestSchema, SetSiteHostnamesRequestSchema, SiteDomainSchema, SiteHostnamesSchema, SiteListQuerySchema, SiteListResponseSchema, SiteListRowSchema, SiteSummarySchema, SitesSettingsResponseSchema, SitesSettingsSchema, addressFromSitesRecord, formatSiteDomain, parseSiteDomain, siteAddress, siteDomainAuthority, siteDomainOrigin, } from "./sites.schema.js";
|
|
16
|
+
export type { DefaultSite, SetDefaultSiteRequest, SetSiteHostnamesRequest, SiteAddress, SiteAddressOptions, SiteDomain, SiteHostnames, SiteListQuery, SiteListResponse, SiteListRow, SiteSummary, SitesSettings, SitesSettingsResponse, } from "./sites.schema.js";
|
|
15
17
|
export { NAV_ORDER_MAX, NavIdSchema, NavSettingsSchema } from "./nav.schema.js";
|
|
16
18
|
export type { NavSettings } from "./nav.schema.js";
|
|
17
19
|
export { LicensingSettingsSchema } from "./licensing.schema.js";
|
|
18
20
|
export type { LicensingSettings } from "./licensing.schema.js";
|
|
19
21
|
export { MANIFEST_ID_SEGMENT_MAX, PLUGIN_ID_REGEX, SLOT_ID_MAX, SLOT_ID_REGEX, isPluginManifestId } from "./plugin-id-rules.js";
|
|
22
|
+
export { PLUGIN_AUTHOR_MAX, PLUGIN_CMS_VERSION_MAX, PLUGIN_DESCRIPTION_MAX, PLUGIN_ID_MAX, PLUGIN_ID_MESSAGE, PLUGIN_ID_SEGMENTS_MESSAGE, PLUGIN_LICENSE_MAX, PLUGIN_NAME_MAX, PLUGIN_VERSION_MAX, PLUGIN_VERSION_MESSAGE, PluginAuthorSchema, PluginCmsVersionSchema, PluginDescriptionSchema, PluginLicenseSchema, PluginManifestIdSchema, PluginNameSchema, PluginVersionSchema, checkPluginListingFields, isPluginVersion, pluginManifestFields, } from "./plugin-manifest-fields.js";
|
|
23
|
+
export { API_ROUTE_ACCESS_TIERS, DATABASE_DIALECTS, PLUGIN_TYPES, STORAGE_TYPES, TEMPLATE_KINDS, TIER1_DIALECTS, } from "./plugin-vocabulary.js";
|
|
24
|
+
export type { DatabaseDialectValue, PluginTypeValue, Tier1Dialect } from "./plugin-vocabulary.js";
|
|
20
25
|
export { cultureDirection } from "./culture-direction.js";
|
|
21
26
|
export { ContentVersionSchema, flattenForCulture } from "./content-version.schema.js";
|
|
22
27
|
export type { ContentVersion } from "./content-version.schema.js";
|
|
@@ -28,46 +33,48 @@ export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceList
|
|
|
28
33
|
export type { MediaReferenceCounts, MediaReferenceListQuery, MediaReferenceListResponse, MediaTrashReferenceSummary, } from "./media-reference-api.schema.js";
|
|
29
34
|
export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
|
|
30
35
|
export type { Snapshot, SnapshotItem, SnapshotMeta } from "./snapshot.schema.js";
|
|
31
|
-
export { ApiErrorSchema } from "./api-error.schema.js";
|
|
32
|
-
export type { ApiError } from "./api-error.schema.js";
|
|
36
|
+
export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
|
|
37
|
+
export type { ApiError, BodyTooLargeError, RateLimitError } from "./api-error.schema.js";
|
|
33
38
|
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
34
39
|
export type { BundledTemplate, SetupStatusResponse, SetupStarterSelection, SetupStarterResult, SetupCompleteRequest, SetupCompleteResponse, } from "./setup-api.schema.js";
|
|
35
|
-
export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
|
|
36
|
-
export type { CreateContentRequest, ContentItemQuery, ContentItemResponse, ContentByAddressQuery, ContentByAddressResponse, ContentByPathQuery, ContentByPathResponse, SaveContentRequest, SaveContentResponse, LatestVersionQuery, LatestVersionResponse, VersionQuery, ContentVersionMeta, VersionListQuery, VersionListResponse, PublishContentRequest, PublishContentResponse, PublishAllRequest, PublishAllResult, PublishAllResponse, PreviewTokenResponse, ContentChildrenQuery, ContentChildrenResponse, ContentNodeWithName, ContentPathConflictResponse, CopyContentRequest, CultureSettings, MoveContentRequest, MoveContentResponse, ReorderNodesRequest, ReorderNodesResponse, FieldValidationFailureResponse, ContentValidationErrorResponse, TranslationIncompleteResponse, } from "./content-api.schema.js";
|
|
40
|
+
export { CreateContentRequestSchema, ContentItemQuerySchema, ContentItemResponseSchema, ContentByAddressQuerySchema, ContentByAddressResponseSchema, ContentByPathQuerySchema, ContentByPathResponseSchema, SaveContentRequestSchema, SaveContentResponseSchema, LatestVersionQuerySchema, LatestVersionResponseSchema, VersionQuerySchema, ContentVersionMetaSchema, VersionListQuerySchema, VersionListResponseSchema, PublishContentRequestSchema, PublishContentResponseSchema, PublishAllRequestSchema, PublishAllResultSchema, PublishAllResponseSchema, PreviewTokenResponseSchema, ContentUrlImpactResponseSchema, ContentChildrenQuerySchema, ContentChildrenResponseSchema, ContentNodeWithNameSchema, ContentPathConflictSchema, CopyContentRequestSchema, CultureSchema, CultureSettingsSchema, MoveContentRequestSchema, MoveContentResponseSchema, ReorderNodesRequestSchema, ReorderNodesResponseSchema, FieldValidationFailureSchema, ContentValidationErrorSchema, TranslationIncompleteResponseSchema, } from "./content-api.schema.js";
|
|
41
|
+
export type { CreateContentRequest, ContentItemQuery, ContentItemResponse, ContentByAddressQuery, ContentByAddressResponse, ContentByPathQuery, ContentByPathResponse, SaveContentRequest, SaveContentResponse, LatestVersionQuery, LatestVersionResponse, VersionQuery, ContentVersionMeta, VersionListQuery, VersionListResponse, PublishContentRequest, PublishContentResponse, PublishAllRequest, PublishAllResult, PublishAllResponse, PreviewTokenResponse, ContentUrlImpactResponse, ContentChildrenQuery, ContentChildrenResponse, ContentNodeWithName, ContentPathConflictResponse, CopyContentRequest, CopyContentRequestInput, CultureSettings, MoveContentRequest, MoveContentResponse, ReorderNodesRequest, ReorderNodesResponse, FieldValidationFailureResponse, ContentValidationErrorResponse, TranslationIncompleteResponse, } from "./content-api.schema.js";
|
|
37
42
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
38
43
|
export type { FieldValidation, FieldDefinition, TabDefinition, TreeRules, DocumentTypeDefinition, } from "./document-type.schema.js";
|
|
39
44
|
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
40
|
-
export type { CreateDocumentTypeRequest, UpdateDocumentTypeRequest, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
41
|
-
export { TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionSchema, TemplateVersionSourceSchema, } from "./template.schema.js";
|
|
42
|
-
export type { TemplateDefinition, TemplateKind, TemplateVersion, TemplateVersionSource, } from "./template.schema.js";
|
|
43
|
-
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, TemplateSyncReportSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
44
|
-
export type { CreateTemplateRequest, CreateTemplateRequestInput, CreateTemplateResponse, DeleteTemplateQuery, SetDefaultTemplateRequest, TemplateConflictResponse, TemplateDeleteBlockedResponse, TemplateListQuery, TemplateListResponse, TemplateResponse, TemplateSyncReport, UpdateTemplateRequest, UpdateTemplateRequestInput, } from "./template-api.schema.js";
|
|
45
|
-
export { AssetDefinitionSchema, AssetPathSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES } from "./asset.schema.js";
|
|
46
|
-
export type { AssetDefinition, AssetVersion } from "./asset.schema.js";
|
|
47
|
-
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, } from "./asset-api.schema.js";
|
|
48
|
-
export type { AssetTreeEntry, AssetTreeResponse, AssetContentResponse, WriteAssetContentRequest, CreateAssetFolderRequest, RenameAssetRequest, DeleteAssetQuery, AssetDeleteBlockedResponse, ZipExtractReport, AssetSyncReport, } from "./asset-api.schema.js";
|
|
45
|
+
export type { CreateDocumentTypeRequest, CreateDocumentTypeRequestInput, UpdateDocumentTypeRequest, UpdateDocumentTypeRequestInput, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
46
|
+
export { TEMPLATE_ALIAS_MAX_SEGMENTS, TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionMetaSchema, TemplateVersionSchema, TemplateVersionSourceSchema, TrashedTemplateSchema, } from "./template.schema.js";
|
|
47
|
+
export type { TemplateDefinition, TemplateKind, TemplateVersion, TemplateVersionMeta, TemplateVersionSource, TrashedTemplate, } from "./template.schema.js";
|
|
48
|
+
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListItemSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, RestoreTemplateResponseSchema, TemplateSyncReportSchema, TemplateTrashListQuerySchema, TemplateTrashListResponseSchema, TemplateVersionListResponseSchema, TemplateVersionParamsSchema, TemplateVersionResponseSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
49
|
+
export type { CreateTemplateRequest, CreateTemplateRequestInput, CreateTemplateResponse, DeleteTemplateQuery, SetDefaultTemplateRequest, TemplateConflictResponse, TemplateDeleteBlockedResponse, TemplateListItem, TemplateListQuery, TemplateListResponse, TemplateResponse, RestoreTemplateResponse, TemplateSyncReport, TemplateTrashListQuery, TemplateTrashListResponse, TemplateVersionListResponse, TemplateVersionParams, TemplateVersionResponse, UpdateTemplateRequest, UpdateTemplateRequestInput, } from "./template-api.schema.js";
|
|
50
|
+
export { AssetDefinitionSchema, AssetPathSchema, AssetVersionMetaSchema, AssetVersionSchema, MAX_ASSET_CONTENT_BYTES, TrashedAssetSchema } from "./asset.schema.js";
|
|
51
|
+
export type { AssetDefinition, AssetVersion, AssetVersionMeta, TrashedAsset } from "./asset.schema.js";
|
|
52
|
+
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeSkipSchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, AssetVersionParamsSchema, AssetVersionListQuerySchema, AssetVersionQuerySchema, AssetVersionListResponseSchema, AssetVersionResponseSchema, MakeAssetVersionCurrentRequestSchema, RestoreAssetRequestSchema, RestoreAssetResponseSchema, AssetTrashListQuerySchema, AssetTrashListResponseSchema, } from "./asset-api.schema.js";
|
|
53
|
+
export type { AssetTreeEntry, AssetTreeSkip, AssetTreeResponse, AssetContentResponse, WriteAssetContentRequest, CreateAssetFolderRequest, RenameAssetRequest, DeleteAssetQuery, AssetDeleteBlockedResponse, ZipExtractReport, AssetSyncReport, AssetVersionParams, AssetVersionListQuery, AssetVersionQuery, AssetVersionListResponse, AssetVersionResponse, MakeAssetVersionCurrentRequest, RestoreAssetRequest, RestoreAssetResponse, AssetTrashListQuery, AssetTrashListResponse, } from "./asset-api.schema.js";
|
|
49
54
|
export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./render-settings-api.schema.js";
|
|
50
55
|
export type { RenderSettings, UpdateRenderSettingsRequest } from "./render-settings-api.schema.js";
|
|
51
56
|
export { MediaFileSchema, MediaVisibilitySchema, MediaFolderSchema, MediaVersionSchema, MEDIA_PRIVATE_ALIAS, IMAGE_MEDIA_TYPE_ID, FILE_MEDIA_TYPE_ID, IMAGE_FILE_DATA_TYPE_ID, ANY_FILE_DATA_TYPE_ID, } from "./media.schema.js";
|
|
52
57
|
export type { MediaFile, MediaVisibility, MediaFolder, MediaVersion } from "./media.schema.js";
|
|
53
|
-
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
54
|
-
export type { MediaFileResponse, MediaDeleteResponse, MediaLinkResponse, MediaListQuery, MediaListResponse, MediaVersionListResponse, MediaRenditionListResponse, UpdateMediaRequest, CreateMediaFolderRequest, UpdateMediaFolderRequest, MediaFolderListResponse, MediaTrashListQuery, MediaTrashListResponse, MediaEmptyTrashResponse, MediaReadQuery, } from "./media-api.schema.js";
|
|
58
|
+
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MEDIA_NESTED_LIST_PAGE_MAX, MediaNestedListQuerySchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
59
|
+
export type { MediaFileResponse, MediaDeleteResponse, MediaLinkResponse, MediaListQuery, MediaListResponse, MediaVersionListResponse, MediaRenditionListResponse, UpdateMediaRequest, CreateMediaFolderRequest, UpdateMediaFolderRequest, MediaFolderListResponse, MediaNestedListQuery, MediaTrashListQuery, MediaTrashListResponse, MediaEmptyTrashResponse, MediaReadQuery, } from "./media-api.schema.js";
|
|
55
60
|
export { CROP_EDITOR_ID, THUMBNAIL_EDITOR_ID, CROP_DATA_TYPE_ID, THUMBNAIL_DATA_TYPE_ID, CropRectSchema, CropSettingsSchema, ThumbnailSettingsSchema, ImageSettingsSchema, MediaRenditionSchema, renditionName, renditionShape, renditionFilename, } from "./media-rendition.schema.js";
|
|
56
61
|
export type { CropRect, CropSettings, ThumbnailSettings, ImageSettings, MediaRendition, } from "./media-rendition.schema.js";
|
|
57
62
|
export { HealthCheckSchema } from "./health.schema.js";
|
|
58
63
|
export type { HealthCheck } from "./health.schema.js";
|
|
59
64
|
export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
|
|
60
65
|
export type { LoginRequest, LoginResponse, RefreshResponse, LogoutResponse, AuthError, } from "./auth.schema.js";
|
|
61
|
-
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
62
|
-
export type { UserSummary, UserListQuery, UserListResponse, CreateUserRequest, CreateUserResponse, UpdateUserRoleRequest, UpdateUserRoleResponse, AdminLocale, UserPreferences, UpdateUserPreferences, } from "./user-api.schema.js";
|
|
63
|
-
export {
|
|
64
|
-
export type {
|
|
66
|
+
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, DeleteUserResponseSchema, UserParamsSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
67
|
+
export type { UserSummary, UserListQuery, UserListResponse, CreateUserRequest, CreateUserResponse, UpdateUserRoleRequest, UpdateUserRoleResponse, DeleteUserResponse, UserParams, AdminLocale, UserPreferences, UpdateUserPreferences, } from "./user-api.schema.js";
|
|
68
|
+
export { DEFAULT_DOCS_LANGUAGE, DOCS_LANGUAGE_MAX_LENGTH, DocsLanguageSchema, PLUGIN_LOCALE_MAX_BYTES, PLUGIN_LOCALE_MAX_KEYS, PLUGIN_LOCALE_KEY_MAX_LENGTH, PLUGIN_LOCALE_VALUE_MAX_LENGTH, PluginLanguagesSchema, PluginLocaleFileSchema, compareLocaleFiles, isPluginLocaleKey, localePlaceholders, parsePluginLocaleFile, pluginLocaleFileLanguage, summarizePluginLanguages, } from "./plugin-locales.js";
|
|
69
|
+
export type { LocaleFileComparison, ParsedPluginLocaleFile, PluginLanguages, PluginLocaleFile } from "./plugin-locales.js";
|
|
70
|
+
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, RestoreSnapshotRequestSchema, RestoreSnapshotConfirmationSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
|
|
71
|
+
export type { CreateSnapshotRequest, SnapshotResponse, SnapshotListQuery, SnapshotListResponse, RestoreSnapshotResponse, RestoreSnapshotRequest, RestoreSnapshotConfirmation, SnapshotParams, } from "./snapshot-api.schema.js";
|
|
65
72
|
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
66
73
|
export type { DataTypeConfig } from "./data-type-config.schema.js";
|
|
67
74
|
export { CONTENT_TREE_HINT_THRESHOLD, CONTENT_LIST_EDITOR_ID, CONTENT_LIST_PROPERTIES, ContentListColumnSchema, ContentListSettingsSchema, CONTENT_LIST_DEFAULT_SETTINGS, ContentListQuerySchema, ContentListRowSchema, ContentListResponseSchema, CONTENT_LIST_DATA_TYPE_CONFIG, FILE_UPLOAD_EDITOR_ID, FileUploadSettingsSchema, VALUELESS_EDITOR_IDS, } from "./content-list.schema.js";
|
|
68
75
|
export type { ContentListColumn, ContentListSettings, ContentListQuery, ContentListRow, ContentListResponse, FileUploadSettings, } from "./content-list.schema.js";
|
|
69
76
|
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
|
|
70
|
-
export type { CreateDataTypeRequest, UpdateDataTypeRequest, DataTypeResponse, DataTypeListQuery, DataTypeListResponse, } from "./data-type-api.schema.js";
|
|
77
|
+
export type { CreateDataTypeRequest, CreateDataTypeRequestInput, UpdateDataTypeRequest, DataTypeResponse, DataTypeListQuery, DataTypeListResponse, } from "./data-type-api.schema.js";
|
|
71
78
|
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
72
79
|
export type { PluginStorageParams, SetPluginFieldValueRequest, PluginFieldValueResponse, } from "./plugin-storage-api.schema.js";
|
|
73
80
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
@@ -75,28 +82,48 @@ export type { Plugin, PluginListQuery, PluginListResponse } from "./plugin-regis
|
|
|
75
82
|
export { ManagedPluginSchema, PluginTamperKindSchema, ManagedPluginRoleOfferSchema, ManagedPluginListQuerySchema, ManagedPluginListResponseSchema, PluginIdParamsSchema, UninstallPluginBodySchema, UninstallConfirmationRequiredSchema, BundleUninstallConfirmationRequiredSchema, UninstallBlockedByDocumentTypesSchema, UninstallSucceededSchema, BundleUninstallSucceededSchema, LicenseRecheckResponseSchema, LicenseVerdictEnvelopeSchema, EntitlementSchema, EntitlementResponseSchema, EntitlementRefusalSchema, MarketplaceStatusResponseSchema, SnapshotGroupSchema, SnapshotGroupListQuerySchema, SnapshotGroupListResponseSchema, RestorePlanEntrySchema, RestoreConfirmationRequiredSchema, RestoreSucceededSchema, RestoreBodySchema, PackageRefusedSchema, PluginUploadResponseSchema, PluginUploadQuerySchema, TrustDowngradeConfirmationSchema, } from "./plugin-management-api.schema.js";
|
|
76
83
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
77
84
|
export type { SampleContentOutcome } from "./sample-content-outcome.schema.js";
|
|
78
|
-
export
|
|
79
|
-
export {
|
|
80
|
-
export
|
|
81
|
-
export {
|
|
82
|
-
export
|
|
83
|
-
export {
|
|
84
|
-
export
|
|
85
|
+
export { INSTALL_WARNINGS_MAX, INSTALL_WARNING_MAX_LENGTH, InstallWarningsSchema } from "./install-warnings.schema.js";
|
|
86
|
+
export type { ManagedPlugin, ManagedPluginListResponse, ManagedPluginListQuery, UninstallPluginBody, SnapshotGroupListQuery, RestoreBody, PluginTamperKind, ManagedPluginRoleOffer, UninstallBlockedByDocumentTypes, UninstallSucceeded, BundleUninstallSucceeded, LicenseRecheckResponse, LicenseVerdictEnvelopeWire, EntitlementWire, EntitlementResponse, EntitlementRefusal, MarketplaceStatusResponse, SnapshotGroup, SnapshotGroupListResponse, RestorePlanEntry, RestoreConfirmationRequired, RestoreSucceeded, PackageRefused, PluginUploadResponse, PluginUploadQuery, TrustDowngradeConfirmation, } from "./plugin-management-api.schema.js";
|
|
87
|
+
export { SANDBOX_ATTACH_OUTCOMES, SandboxAttachRequestSchema, SandboxAttachResponseSchema, SandboxLocalPluginInstallRequestSchema, SandboxLocalPluginSchema, } from "./sandbox-attach.schema.js";
|
|
88
|
+
export type { SandboxAttachRequest, SandboxAttachResponse, SandboxLocalPlugin, SandboxLocalPluginInstallRequest, } from "./sandbox-attach.schema.js";
|
|
89
|
+
export { PublicContentItemSchema, PublicContentItemQuerySchema, PublicContentByPathQuerySchema, PublicContentByAddressQuerySchema, PublicContentByAddressResponseSchema, PublicSiteSchema, PublicSitesQuerySchema, PublicSitesResponseSchema, PublicContentListQuerySchema, PublicContentNodeSummarySchema, PublicContentListResponseSchema, PublicContentSearchQuerySchema, PublicContentExtensionsSchema, PublicContentFormatResponseSchema, PublicMediaFileSchema, PublicMediaListQuerySchema, PublicMediaListResponseSchema, PublicFieldDefinitionSchema, PublicDocumentTypeSchema, PublicDocumentTypeListQuerySchema, PublicDocumentTypeListResponseSchema, PublicTemplateSchema, PublicTemplateListQuerySchema, PublicTemplateListResponseSchema, PublicContentWriteResponseSchema, PublicCreateContentRequestSchema, PublicUpdateContentRequestSchema, PublicContentDeleteResponseSchema, PublicContentDeleteQuerySchema, PublicContentDeleteConfirmationSchema, PublicMediaUploadFieldsSchema, PublicMediaUploadBodySchema, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
90
|
+
export type { PublicContentItem, PublicContentItemQuery, PublicContentByPathQuery, PublicContentByAddressQuery, PublicContentByAddressResponse, PublicSite, PublicSitesQuery, PublicSitesResponse, PublicContentListQuery, PublicContentNodeSummary, PublicContentListResponse, PublicContentSearchQuery, PublicContentFormatResponse, PublicMediaFile, PublicMediaListQuery, PublicMediaListResponse, PublicFieldDefinition, PublicDocumentType, PublicDocumentTypeListQuery, PublicDocumentTypeListResponse, PublicTemplate, PublicTemplateListQuery, PublicTemplateListResponse, PublicContentWriteResponse, PublicCreateContentRequest, PublicCreateContentRequestInput, PublicUpdateContentRequest, PublicContentDeleteResponse, PublicContentDeleteQuery, PublicContentDeleteConfirmation, PublicMediaUploadFields, PublicMediaUploadBody, PublicMediaUpdateRequest, PublicMediaWriteResponse, PublicMediaDeleteResponse, } from "./public-api.schema.js";
|
|
91
|
+
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MARKETPLACE_VERSIONS_MAX_IDS, MARKETPLACE_VERSIONS_IDS_MAX_LENGTH, MarketplaceLatestVersionSchema, MarketplaceVersionsResponseSchema, parseMarketplaceVersionsIds, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
92
|
+
export type { MarketplaceCapability, MarketplaceListing, MarketplaceStarter, MarketplaceDocumentTypeSummary, MarketplaceBundleMember, MarketplaceListingDetailVersion, MarketplaceListingDetail, MarketplaceInstallMember, MarketplaceListQuery, MarketplaceInstallBody, MarketplaceInstallResponse, MarketplaceInstallConflict, MarketplacePublicBase, MarketplaceListResponse, MarketplaceLatestVersion, MarketplaceVersionsResponse, ParsedMarketplaceVersionsIds, } from "./marketplace-listing-api.schema.js";
|
|
93
|
+
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
94
|
+
export type { ApiKeyPresetId, ApiKeySummary, ApiKeyListQuery, ApiKeyListResponse, CreateApiKeyRequest, CreateApiKeyResponse, ApiKeyRefusal, RevokeApiKeyResponse, ApiKeyParams, } from "./api-key-api.schema.js";
|
|
95
|
+
export { WhoamiResponseSchema, type WhoamiResponse } from "./whoami-api.schema.js";
|
|
96
|
+
export { AUDIT_IP_MAX, AUDIT_METHOD_MAX, AUDIT_PERIOD_PATTERN, AUDIT_REQUEST_ID_MAX, AUDIT_RETENTION_MAX_MONTHS, AUDIT_SUMMARY_MAX_BYTES, AUDIT_TEXT_MAX, AuditActorKindSchema, AuditEntrySchema, AuditExportQuerySchema, AuditListQuerySchema, AuditListResponseSchema, AuditOutcomeSchema, AuditPruneBusySchema, AuditPruneResponseSchema, AuditRetentionReasonSchema, AuditRetentionResponseSchema, AuditRetentionSchema, AuditSummaryValueSchema, } from "./audit-api.schema.js";
|
|
97
|
+
export type { AuditActorKind, AuditEntry, AuditExportQuery, AuditListQuery, AuditListResponse, AuditOutcome, AuditPruneBusy, AuditPruneResponse, AuditRetention, AuditRetentionReason, AuditRetentionResponse, AuditSummaryValue, } from "./audit-api.schema.js";
|
|
85
98
|
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
86
99
|
export type { ThemeListItem, ThemeListResponse } from "./theme-api.schema.js";
|
|
87
|
-
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, } from "./content-trash-api.schema.js";
|
|
88
|
-
export type { ContentTrashBody, ContentTrashConfirmation, ContentTrashResult, ContentRestoreResult, } from "./content-trash-api.schema.js";
|
|
100
|
+
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, ContentRestoreRequestSchema, } from "./content-trash-api.schema.js";
|
|
101
|
+
export type { ContentTrashBody, ContentTrashConfirmation, ContentTrashResult, ContentRestoreResult, ContentRestoreRequest, } from "./content-trash-api.schema.js";
|
|
89
102
|
export { ContentTrashListQuerySchema, TrashedSubtreeSchema, ContentTrashListResponseSchema, ContentRestoreBlockedSchema, ContentRestoreConflictSchema, ContentRestoreLimitSchema, ContentRestoreNameTakenSchema, ContentRestoreOrphanSchema, ContentRestorePathOccupiedSchema, } from "./content-trash.schema.js";
|
|
90
|
-
export type { ContentTrashListResponse, TrashedSubtreeDto, ContentRestoreBlocked, ContentRestoreLimit, ContentRestoreNameTaken, } from "./content-trash.schema.js";
|
|
103
|
+
export type { ContentTrashListQuery, ContentTrashListResponse, TrashedSubtreeDto, ContentRestoreBlocked, ContentRestoreLimit, ContentRestoreNameTaken, } from "./content-trash.schema.js";
|
|
91
104
|
export { TextStyleEntrySchema, TextStylesResponseSchema, BlockParamTypeSchema, BlockParamSchema, BlockListingSchema, BlockListResponseSchema, RenderBlockRequestSchema, RenderBlockResponseSchema, } from "./render-editing.js";
|
|
92
105
|
export type { TextStyleEntry, TextStylesResponse, BlockParamType, BlockParam, BlockListing, BlockListResponse, RenderBlockRequest, RenderBlockResponse, } from "./render-editing.js";
|
|
106
|
+
export { PLUGIN_LABEL_MAX, PluginLabelSchema, PluginLabelStringSchema, SlotLabelSchema, resolveLabel } from "./plugin-labels.js";
|
|
107
|
+
export type { PluginLabel, SlotLabelMap } from "./plugin-labels.js";
|
|
93
108
|
export { PluginActionDeclarationSchema, PluginRoleOfferSchema, OfferedRoleParamsSchema } from "./plugin-actions.schema.js";
|
|
94
109
|
export type { PluginActionDeclaration, PluginRoleOffer, OfferedRoleParams } from "./plugin-actions.schema.js";
|
|
95
|
-
export { ACTION_GATED_CONTRIBUTION_KEYS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
110
|
+
export { ACTION_GATED_CONTRIBUTION_KEYS, OFFERABLE_BUILT_IN_ACTIONS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
96
111
|
export type { ActionDeclarationInput, ActionDeclarationIssue } from "./plugin-manifest-actions.js";
|
|
97
|
-
export {
|
|
98
|
-
export type {
|
|
112
|
+
export { API_ROUTE_METHODS, API_ROUTE_PATH_MAX, API_ROUTE_RESPONSE_STATUSES_MAX, API_ROUTES_MAX, isApiRouteResponseStatus, apiRoutePathProblem, apiRoutePathParams, checkApiRouteActions, checkApiRouteDeclarations, checkApiRouteTiers, isApiRouteMethod } from "./plugin-manifest-api-routes.js";
|
|
113
|
+
export type { ApiRouteDeclarationIssue } from "./plugin-manifest-api-routes.js";
|
|
114
|
+
export { PLUGIN_DOC_ROLES, PluginDocsPageSchema, MAX_DOC_PAGES, MAX_DOC_PAGE_BYTES, RESERVED_DOC_SLUGS, docSlug, effectiveDocsPages, checkDocsDeclaration, docsFactsFrom, requiredDocRoles, ReferenceLabelMapSchema, PluginReferenceSchema, emptyPluginReference, REFERENCE_PAGE_SLUGS, REFERENCE_PAGE_TABLES, isReferencePageSlug, referencePageHasContent, referencePageSlugs, } from "./plugin-docs.js";
|
|
115
|
+
export type { PluginDocRole, PluginDocsPage, DocsFacts, PluginReference, ReferencePageSlug } from "./plugin-docs.js";
|
|
99
116
|
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
100
117
|
export type { DocsLink, DocSearchEntry, DocSearchHeading } from "./plugin-docs-text.js";
|
|
101
|
-
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
102
|
-
export type { PluginDocsPageRef, PluginDocsIndexItem, PluginDocsIndexResponse, PluginDocsPageParams, PluginDocsPluginParams, PluginDocsPageResponse, PluginDocsReferenceResponse, PluginDocsSearchItem, PluginDocsSearchIndexResponse, MarketplaceDocsSearchQuery, MarketplaceDocsSearchResult, MarketplaceDocsSearchResponse, } from "./plugin-docs-api.schema.js";
|
|
118
|
+
export { PluginDocsPageRefSchema, PluginDocsIndexItemSchema, PluginDocsIndexResponseSchema, PluginDocsPageParamsSchema, PluginDocsPluginParamsSchema, PluginDocsPageResponseSchema, PluginDocsReferenceResponseSchema, PluginReferenceSourceSchema, PluginDocsSearchItemSchema, PluginDocsSearchIndexResponseSchema, MARKETPLACE_DOCS_SEARCH_MAX_QUERY, MARKETPLACE_DOCS_SEARCH_MAX_RESULTS, MarketplaceDocsSearchQuerySchema, MarketplaceDocsSearchResultSchema, MarketplaceDocsSearchResponseSchema, } from "./plugin-docs-api.schema.js";
|
|
119
|
+
export type { PluginDocsPageRef, PluginDocsIndexItem, PluginDocsIndexResponse, PluginDocsPageParams, PluginDocsPluginParams, PluginDocsPageResponse, PluginDocsReferenceResponse, PluginReferenceSource, PluginDocsSearchItem, PluginDocsSearchIndexResponse, MarketplaceDocsSearchQuery, MarketplaceDocsSearchResult, MarketplaceDocsSearchResponse, } from "./plugin-docs-api.schema.js";
|
|
120
|
+
export { INSTALL_CONSENT_IDS, INSTALL_DESCRIPTION_MAX_LENGTH, INSTALL_LABEL_KEY_MAX_LENGTH, INSTALL_LABEL_MAX_LANGUAGES, INSTALL_LABEL_MAX_LENGTH, INSTALL_MAX_CHOICES_PER_OPTION, INSTALL_MAX_OPTION_ANSWERS, INSTALL_MAX_OPTIONS_PER_STEP, INSTALL_MAX_ROLE_ANSWERS, INSTALL_MAX_STEPS, INSTALL_OPTION_KINDS, InstallAnswerValueSchema, InstallAnswersManifestSchema, InstallAnswersSchema, InstallDescriptionSchema, InstallIdSchema, InstallInterfaceSchema, InstallInterfaceWireSchema, InstallLabelSchema, InstallOptionSchema, InstallStepSchema, PluginInstallDeclarationSchema, ResolvedInstallAnswersSchema, checkInstallDeclaration, installInterfaceFor, installOptionNeedsAnswer, parseInstallAnswersManifest, resolveInstallAnswers, resolveUpdateAnswers, stepsNotCoveredBy, } from "./plugin-install.js";
|
|
121
|
+
export type { InstallAnswerIssue, InstallAnswerValue, InstallAnswers, InstallAnswersManifest, InstallAnswersResult, InstallChoice, InstallConsentId, InstallDeclarationIssue, InstallDescription, InstallInterface, InstallInterfaceManifest, InstallInterfaceWire, InstallLabel, InstallOption, InstallOptionKind, InstallStep, ParsedInstallAnswersManifest, PluginInstallDeclaration, ResolvedInstallAnswers, ShippedInstallFacts, } from "./plugin-install.js";
|
|
122
|
+
export { SAMPLE_CONTENT_MAX_MEDIA, SAMPLE_CONTENT_MAX_NODES, SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile, } from "./sample-content.schema.js";
|
|
123
|
+
export type { ParsedSampleContentFile, SampleContentFile } from "./sample-content.schema.js";
|
|
124
|
+
export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRefusedSchema, InstallRoleOutcomeSchema, PluginInstallCreatedSchema, PluginInstallRecordSchema, PluginInstallRecordSummarySchema, emptyInstallCreated, readInstallRecord, } from "./plugin-install-record.schema.js";
|
|
125
|
+
export type { InstallAnswersRefused, InstallRoleOutcome, PluginInstallRecord, PluginInstallRecordSummary } from "./plugin-install-record.schema.js";
|
|
126
|
+
export { listIssues } from "./issue-list.js";
|
|
127
|
+
export type { ListedIssue } from "./issue-list.js";
|
|
128
|
+
export { ASSET_PATH_MAX, FILE_NAME_MAX, PACKAGE_PATH_MAX, MAX_TEMPLATE_PAYLOAD_ENTRIES, PluginAssetPathSchema, PluginTemplateAliasSchema, PluginTemplateEntrySchema, PluginTemplateFileSchema, PluginTemplatePayloadSchema, REGISTERED_ASSET_TEXT_EXTENSIONS, RESERVED_ASSET_ROOTS, TEMPLATE_ALIAS_MAX, TEMPLATE_FILE_MAX, checkTemplateAndAssetDeclarations, hasRegisteredAssetTextExtension, } from "./plugin-template-payload.js";
|
|
129
|
+
export type { DeclarationIssue, PluginTemplateEntry } from "./plugin-template-payload.js";
|