@kardalum/plugin-sdk 0.15.0 → 0.16.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 +11 -1
- package/README.md +10 -0
- 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 -319
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -4
- package/dist/license-verdict-keys.js +4 -0
- package/dist/manifest-entry.d.ts +2 -2
- package/dist/manifest-entry.js +1 -1
- package/dist/manifest-schema.d.ts +81 -13
- package/dist/manifest-schema.js +108 -59
- package/dist/manifest.d.ts +105 -40
- 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 +33 -2
- 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 +4 -4
- package/dist/richtext/insert-menu.js +3 -3
- package/dist/views/content-list-view.js +2 -2
- package/dist/views/image-view.js +24 -39
- package/dist/views/rich-text-view.js +2 -2
- 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.js +1 -1
- 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 +12 -8
- 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.schema.d.ts +1 -0
- package/node_modules/@kardalum/api-schemas/dist/core-actions.d.ts +107 -57
- package/node_modules/@kardalum/api-schemas/dist/core-actions.js +96 -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 +39 -28
- package/node_modules/@kardalum/api-schemas/dist/index.js +19 -13
- 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 +302 -1
- package/node_modules/@kardalum/api-schemas/dist/marketplace-listing-api.schema.js +78 -6
- 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-docs-api.schema.d.ts +82 -2
- 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 +88 -5
- package/node_modules/@kardalum/api-schemas/dist/plugin-docs.js +79 -17
- 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 +585 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-install.js +536 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.d.ts +75 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-locales.js +213 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.d.ts +25 -3
- package/node_modules/@kardalum/api-schemas/dist/plugin-management-api.schema.js +21 -1
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.d.ts +7 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-actions.js +16 -3
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.d.ts +44 -0
- package/node_modules/@kardalum/api-schemas/dist/plugin-manifest-api-routes.js +162 -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 +11 -1
- package/node_modules/@kardalum/api-schemas/dist/render-editing.d.ts +4 -4
- package/node_modules/@kardalum/api-schemas/dist/role.schema.d.ts +6 -0
- package/node_modules/@kardalum/api-schemas/dist/role.schema.js +6 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.d.ts +35 -0
- package/node_modules/@kardalum/api-schemas/dist/sample-content.schema.js +79 -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 +8 -8
- package/node_modules/@kardalum/api-schemas/dist/sites.schema.js +8 -8
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.d.ts +4 -0
- package/node_modules/@kardalum/api-schemas/dist/snapshot-api.schema.js +2 -0
- package/node_modules/@kardalum/api-schemas/dist/template-api.schema.js +4 -4
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.d.ts +11 -3
- package/node_modules/@kardalum/api-schemas/dist/user-api.schema.js +5 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.d.ts +111 -0
- package/node_modules/@kardalum/plugin-package/dist/build-reference.js +61 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.d.ts +103 -0
- package/node_modules/@kardalum/plugin-package/dist/capabilities.js +351 -0
- package/node_modules/@kardalum/plugin-package/dist/index.d.ts +3 -1
- package/node_modules/@kardalum/plugin-package/dist/index.js +2 -1
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.d.ts +2 -0
- package/node_modules/@kardalum/plugin-package/dist/reference-entry.js +6 -0
- package/node_modules/@kardalum/plugin-package/dist/sample-content.d.ts +20 -1
- package/node_modules/@kardalum/plugin-package/dist/sample-content.js +56 -16
- 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 +5 -0
- package/node_modules/@kardalum/ui/dist/components/checkbox.js +2 -2
- package/node_modules/@kardalum/ui/dist/components/property-field.js +4 -1
- package/package.json +2 -2
|
@@ -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 app bar's order read
|
|
12
|
+
// excepted on purpose: it is open to every signed-in user and no action's
|
|
13
|
+
// route). 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,97 @@
|
|
|
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: "templates.read", adminGatedToday: false, label: "View templates", route: "GET /api/manage/v1/templates, GET /api/manage/v1/templates/:id" },
|
|
64
|
+
{ 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" },
|
|
65
|
+
{ 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" },
|
|
66
|
+
{ 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" },
|
|
67
|
+
{ 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" },
|
|
68
|
+
{ 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" },
|
|
69
|
+
{ 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" },
|
|
70
|
+
{ 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" },
|
|
71
|
+
{ 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" },
|
|
72
|
+
{ 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" },
|
|
73
|
+
{ 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" },
|
|
74
|
+
{ action: "render.preview", adminGatedToday: true, label: "Render a block preview", route: "POST /api/manage/v1/render/block" },
|
|
75
|
+
// S300a: the app bar's order read (GET /api/settings/nav) is open to every signed-in user on purpose (S281) and is no action's route; only its write is settings.update.
|
|
76
|
+
{ 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" },
|
|
77
|
+
{ 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
78
|
// S277d: a site's domains and the choice of default site. New with the
|
|
65
79
|
// Site tab, so there was no earlier gate to read; admin-gated because it
|
|
66
80
|
// 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
|
-
|
|
81
|
+
{ 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" },
|
|
82
|
+
// S299: the delivery API's read of the site list (GET /api/v1/sites). Its own
|
|
83
|
+
// action so a key that may read the sites does not hold the power to change
|
|
84
|
+
// them (sites.manage), and does not hold the rest of the settings reads either.
|
|
85
|
+
{ action: "sites.read", adminGatedToday: true, label: "View the sites and their addresses", route: "GET /api/v1/sites" },
|
|
86
|
+
{ action: "users.read", adminGatedToday: true, label: "View users", route: "GET /api/manage/v1/users" },
|
|
87
|
+
{ 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" },
|
|
88
|
+
{ 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" },
|
|
71
89
|
// S272: new with the role editor, so there was no requireAdmin gate to
|
|
72
90
|
// read. Marked admin-gated because granting the role editor to the seeded
|
|
73
91
|
// 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
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
{
|
|
90
|
-
|
|
92
|
+
{ action: "roles.read", adminGatedToday: true, label: "View roles and the actions they grant", route: "GET /api/manage/v1/roles, GET /api/manage/v1/actions" },
|
|
93
|
+
{ 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" },
|
|
94
|
+
{ 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" },
|
|
95
|
+
{ action: "roles.delete", adminGatedToday: true, label: "Delete roles", route: "DELETE /api/manage/v1/roles/:id" },
|
|
96
|
+
{ 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" },
|
|
97
|
+
{ 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" },
|
|
98
|
+
{ 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" },
|
|
99
|
+
{ action: "apiPlayground.read", adminGatedToday: true, label: "Use the API playground", route: "GET /api/manage/v1/api-playground/openapi" },
|
|
100
|
+
// Row C2 of 2026-10-16-s300a-management-routes-the-structure-side-design.md
|
|
101
|
+
// (section 4b): what an API key must hold, beside the route's own action, to
|
|
102
|
+
// reach any route under /api/manage/v1, hence the wildcard. requireAction
|
|
103
|
+
// asks it of a key only, never of a session. New with the management API, so
|
|
104
|
+
// there was no earlier gate to read; admin-gated so the seeded editor does not
|
|
105
|
+
// hold it and so cannot give it to a key (the subset rule), and no API key
|
|
106
|
+
// preset holds it.
|
|
107
|
+
{
|
|
108
|
+
action: "managementApi.use",
|
|
109
|
+
adminGatedToday: true,
|
|
110
|
+
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.",
|
|
111
|
+
route: "GET /api/manage/v1/*, POST /api/manage/v1/*, PUT /api/manage/v1/*, PATCH /api/manage/v1/*, DELETE /api/manage/v1/*",
|
|
112
|
+
},
|
|
113
|
+
{ 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" },
|
|
114
|
+
{ action: "plugins.browse", adminGatedToday: true, label: "Browse the plugin marketplace", route: "GET /api/manage/v1/marketplace/listings, GET /api/manage/v1/marketplace/listings/:pluginId" },
|
|
115
|
+
{ 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" },
|
|
116
|
+
{ 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" },
|
|
117
|
+
{ action: "plugins.delete", adminGatedToday: true, label: "Uninstall plugins", keyNote: "Removes an installed plugin from the site.", route: "DELETE /api/manage/v1/plugins/:pluginId" },
|
|
118
|
+
{ action: "plugins.restore", adminGatedToday: true, label: "Restore a plugin from a snapshot", route: "POST /api/manage/v1/plugins/:pluginId/snapshot-groups/restore" },
|
|
119
|
+
{ action: "snapshots.read", adminGatedToday: true, label: "View snapshots", route: "GET /api/manage/v1/snapshots" },
|
|
120
|
+
{ action: "snapshots.create", adminGatedToday: true, label: "Create snapshots", route: "POST /api/manage/v1/snapshots" },
|
|
121
|
+
{ action: "snapshots.restore", adminGatedToday: true, label: "Restore a snapshot", route: "POST /api/manage/v1/snapshots/:id/restore" },
|
|
91
122
|
];
|
|
92
123
|
export const CORE_ACTION_STRINGS = CORE_ACTIONS.map((entry) => entry.action);
|
|
93
124
|
const CORE_SET = new Set(CORE_ACTION_STRINGS);
|
|
@@ -95,3 +126,8 @@ const CORE_SET = new Set(CORE_ACTION_STRINGS);
|
|
|
95
126
|
export function isCoreAction(value) {
|
|
96
127
|
return CORE_SET.has(value);
|
|
97
128
|
}
|
|
129
|
+
const KEY_NOTES = new Map(CORE_ACTIONS.flatMap((entry) => ("keyNote" in entry ? [[entry.action, entry.keyNote]] : [])));
|
|
130
|
+
/** The key-side note of a core action, or null when it has none or is not a core action. */
|
|
131
|
+
export function coreKeyNote(action) {
|
|
132
|
+
return KEY_NOTES.get(action) ?? null;
|
|
133
|
+
}
|
|
@@ -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,9 +1,10 @@
|
|
|
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 { ROLE_ID_PATTERN, SEEDED_ROLE_IDS, RoleIdSchema, ActionSummarySchema, ActionListResponseSchema, RoleSchema, RoleListQuerySchema, RoleListResponseSchema, CreateRoleRequestSchema, UpdateRoleRequestSchema, RoleResponseSchema, DeleteRoleResponseSchema, RoleParamsSchema, } from "./role.schema.js";
|
|
7
|
+
export type { SeededRoleId, RoleId, ActionSummary, ActionListResponse, Role, RoleListQuery, RoleListResponse, CreateRoleRequest, UpdateRoleRequest, RoleResponse, DeleteRoleResponse, RoleParams, } from "./role.schema.js";
|
|
7
8
|
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
9
|
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
10
|
export { ContentNodeSchema, NodeCultureSchema } from "./content.schema.js";
|
|
@@ -28,16 +29,16 @@ export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceList
|
|
|
28
29
|
export type { MediaReferenceCounts, MediaReferenceListQuery, MediaReferenceListResponse, MediaTrashReferenceSummary, } from "./media-reference-api.schema.js";
|
|
29
30
|
export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
|
|
30
31
|
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";
|
|
32
|
+
export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
|
|
33
|
+
export type { ApiError, BodyTooLargeError, RateLimitError } from "./api-error.schema.js";
|
|
33
34
|
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
34
35
|
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";
|
|
36
|
+
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";
|
|
37
|
+
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
38
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
38
39
|
export type { FieldValidation, FieldDefinition, TabDefinition, TreeRules, DocumentTypeDefinition, } from "./document-type.schema.js";
|
|
39
40
|
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 type { CreateDocumentTypeRequest, CreateDocumentTypeRequestInput, UpdateDocumentTypeRequest, UpdateDocumentTypeRequestInput, CreateDocumentTypeResponse, DocumentTypeListQuery, DocumentTypeListResponse, DeleteDocumentTypeResponse, } from "./document-type-api.schema.js";
|
|
41
42
|
export { TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionSchema, TemplateVersionSourceSchema, } from "./template.schema.js";
|
|
42
43
|
export type { TemplateDefinition, TemplateKind, TemplateVersion, TemplateVersionSource, } from "./template.schema.js";
|
|
43
44
|
export { CreateTemplateRequestSchema, CreateTemplateResponseSchema, DeleteTemplateQuerySchema, MAX_TEMPLATE_CONTENT_BYTES, SetDefaultTemplateRequestSchema, TemplateConflictResponseSchema, TemplateDeleteBlockedResponseSchema, TemplateListQuerySchema, TemplateListResponseSchema, TemplateResponseSchema, TemplateSyncReportSchema, UpdateTemplateRequestSchema, } from "./template-api.schema.js";
|
|
@@ -50,24 +51,26 @@ export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./rende
|
|
|
50
51
|
export type { RenderSettings, UpdateRenderSettingsRequest } from "./render-settings-api.schema.js";
|
|
51
52
|
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
53
|
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";
|
|
54
|
+
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";
|
|
55
|
+
export type { MediaFileResponse, MediaDeleteResponse, MediaLinkResponse, MediaListQuery, MediaListResponse, MediaVersionListResponse, MediaRenditionListResponse, UpdateMediaRequest, CreateMediaFolderRequest, UpdateMediaFolderRequest, MediaFolderListResponse, MediaNestedListQuery, MediaTrashListQuery, MediaTrashListResponse, MediaEmptyTrashResponse, MediaReadQuery, } from "./media-api.schema.js";
|
|
55
56
|
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
57
|
export type { CropRect, CropSettings, ThumbnailSettings, ImageSettings, MediaRendition, } from "./media-rendition.schema.js";
|
|
57
58
|
export { HealthCheckSchema } from "./health.schema.js";
|
|
58
59
|
export type { HealthCheck } from "./health.schema.js";
|
|
59
60
|
export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
|
|
60
61
|
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 {
|
|
62
|
+
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, UserParamsSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
63
|
+
export type { UserSummary, UserListQuery, UserListResponse, CreateUserRequest, CreateUserResponse, UpdateUserRoleRequest, UpdateUserRoleResponse, UserParams, AdminLocale, UserPreferences, UpdateUserPreferences, } from "./user-api.schema.js";
|
|
64
|
+
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";
|
|
65
|
+
export type { LocaleFileComparison, ParsedPluginLocaleFile, PluginLanguages, PluginLocaleFile } from "./plugin-locales.js";
|
|
66
|
+
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
|
|
67
|
+
export type { CreateSnapshotRequest, SnapshotResponse, SnapshotListQuery, SnapshotListResponse, RestoreSnapshotResponse, SnapshotParams, } from "./snapshot-api.schema.js";
|
|
65
68
|
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
66
69
|
export type { DataTypeConfig } from "./data-type-config.schema.js";
|
|
67
70
|
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
71
|
export type { ContentListColumn, ContentListSettings, ContentListQuery, ContentListRow, ContentListResponse, FileUploadSettings, } from "./content-list.schema.js";
|
|
69
72
|
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";
|
|
73
|
+
export type { CreateDataTypeRequest, CreateDataTypeRequestInput, UpdateDataTypeRequest, DataTypeResponse, DataTypeListQuery, DataTypeListResponse, } from "./data-type-api.schema.js";
|
|
71
74
|
export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFieldValueResponseSchema, } from "./plugin-storage-api.schema.js";
|
|
72
75
|
export type { PluginStorageParams, SetPluginFieldValueRequest, PluginFieldValueResponse, } from "./plugin-storage-api.schema.js";
|
|
73
76
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
@@ -75,28 +78,36 @@ export type { Plugin, PluginListQuery, PluginListResponse } from "./plugin-regis
|
|
|
75
78
|
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
79
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
77
80
|
export type { SampleContentOutcome } from "./sample-content-outcome.schema.js";
|
|
78
|
-
export type { ManagedPlugin, ManagedPluginListResponse, 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";
|
|
79
|
-
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, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
80
|
-
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, PublicMediaUpdateRequest, PublicMediaWriteResponse, PublicMediaDeleteResponse, } from "./public-api.schema.js";
|
|
81
|
-
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
82
|
-
export type { MarketplaceCapability, MarketplaceListing, MarketplaceStarter, MarketplaceDocumentTypeSummary, MarketplaceBundleMember, MarketplaceListingDetailVersion, MarketplaceListingDetail, MarketplaceInstallMember, MarketplaceInstallResponse, MarketplaceInstallConflict, MarketplacePublicBase, MarketplaceListResponse, } from "./marketplace-listing-api.schema.js";
|
|
83
|
-
export {
|
|
84
|
-
export type {
|
|
81
|
+
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";
|
|
82
|
+
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";
|
|
83
|
+
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";
|
|
84
|
+
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";
|
|
85
|
+
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";
|
|
86
|
+
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
87
|
+
export type { ApiKeyPresetId, ApiKeySummary, ApiKeyListQuery, ApiKeyListResponse, CreateApiKeyRequest, CreateApiKeyResponse, ApiKeyRefusal, RevokeApiKeyResponse, ApiKeyParams, } from "./api-key-api.schema.js";
|
|
85
88
|
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
86
89
|
export type { ThemeListItem, ThemeListResponse } from "./theme-api.schema.js";
|
|
87
90
|
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, } from "./content-trash-api.schema.js";
|
|
88
91
|
export type { ContentTrashBody, ContentTrashConfirmation, ContentTrashResult, ContentRestoreResult, } from "./content-trash-api.schema.js";
|
|
89
92
|
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";
|
|
93
|
+
export type { ContentTrashListQuery, ContentTrashListResponse, TrashedSubtreeDto, ContentRestoreBlocked, ContentRestoreLimit, ContentRestoreNameTaken, } from "./content-trash.schema.js";
|
|
91
94
|
export { TextStyleEntrySchema, TextStylesResponseSchema, BlockParamTypeSchema, BlockParamSchema, BlockListingSchema, BlockListResponseSchema, RenderBlockRequestSchema, RenderBlockResponseSchema, } from "./render-editing.js";
|
|
92
95
|
export type { TextStyleEntry, TextStylesResponse, BlockParamType, BlockParam, BlockListing, BlockListResponse, RenderBlockRequest, RenderBlockResponse, } from "./render-editing.js";
|
|
93
96
|
export { PluginActionDeclarationSchema, PluginRoleOfferSchema, OfferedRoleParamsSchema } from "./plugin-actions.schema.js";
|
|
94
97
|
export type { PluginActionDeclaration, PluginRoleOffer, OfferedRoleParams } from "./plugin-actions.schema.js";
|
|
95
|
-
export { ACTION_GATED_CONTRIBUTION_KEYS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
98
|
+
export { ACTION_GATED_CONTRIBUTION_KEYS, OFFERABLE_BUILT_IN_ACTIONS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
96
99
|
export type { ActionDeclarationInput, ActionDeclarationIssue } from "./plugin-manifest-actions.js";
|
|
97
|
-
export {
|
|
98
|
-
export type {
|
|
100
|
+
export { API_ROUTE_METHODS, API_ROUTE_PATH_MAX, API_ROUTE_RESPONSE_STATUSES_MAX, API_ROUTES_MAX, isApiRouteResponseStatus, apiRoutePathProblem, checkApiRouteActions, checkApiRouteDeclarations } from "./plugin-manifest-api-routes.js";
|
|
101
|
+
export type { ApiRouteDeclarationIssue } from "./plugin-manifest-api-routes.js";
|
|
102
|
+
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";
|
|
103
|
+
export type { PluginDocRole, PluginDocsPage, DocsFacts, PluginReference, ReferencePageSlug } from "./plugin-docs.js";
|
|
99
104
|
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
100
105
|
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";
|
|
106
|
+
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";
|
|
107
|
+
export type { PluginDocsPageRef, PluginDocsIndexItem, PluginDocsIndexResponse, PluginDocsPageParams, PluginDocsPluginParams, PluginDocsPageResponse, PluginDocsReferenceResponse, PluginReferenceSource, PluginDocsSearchItem, PluginDocsSearchIndexResponse, MarketplaceDocsSearchQuery, MarketplaceDocsSearchResult, MarketplaceDocsSearchResponse, } from "./plugin-docs-api.schema.js";
|
|
108
|
+
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";
|
|
109
|
+
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";
|
|
110
|
+
export { SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile } from "./sample-content.schema.js";
|
|
111
|
+
export type { ParsedSampleContentFile, SampleContentFile } from "./sample-content.schema.js";
|
|
112
|
+
export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRefusedSchema, InstallRoleOutcomeSchema, PluginInstallCreatedSchema, PluginInstallRecordSchema, PluginInstallRecordSummarySchema, emptyInstallCreated, readInstallRecord, } from "./plugin-install-record.schema.js";
|
|
113
|
+
export type { InstallAnswersRefused, InstallRoleOutcome, PluginInstallRecord, PluginInstallRecordSummary } from "./plugin-install-record.schema.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { ActionStringSchema, ACTION_SEGMENT_MIN, ACTION_SEGMENT_MAX, ACTION_MAX_LENGTH, isPluginActionFor } from "./action.schema.js";
|
|
2
|
-
export { CORE_ACTIONS, CORE_ACTION_STRINGS, isCoreAction } from "./core-actions.js";
|
|
3
|
-
export
|
|
2
|
+
export { CORE_ACTIONS, CORE_ACTION_STRINGS, coreKeyNote, isCoreAction } from "./core-actions.js";
|
|
3
|
+
export * from "./management-multipart.schema.js";
|
|
4
|
+
export { ROLE_ID_PATTERN, SEEDED_ROLE_IDS, RoleIdSchema, ActionSummarySchema, ActionListResponseSchema, RoleSchema, RoleListQuerySchema, RoleListResponseSchema, CreateRoleRequestSchema, UpdateRoleRequestSchema, RoleResponseSchema, DeleteRoleResponseSchema, RoleParamsSchema, } from "./role.schema.js";
|
|
4
5
|
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";
|
|
5
6
|
export { ContentNodeSchema, NodeCultureSchema } from "./content.schema.js";
|
|
6
7
|
export { RESERVED_ROOT_SLUGS, isReservedRootSlug } from "./reserved-slugs.js";
|
|
@@ -20,9 +21,9 @@ export { mediaReferenceCursor, decodeMediaReferenceCursor } from "./media-refere
|
|
|
20
21
|
// interface for the type.
|
|
21
22
|
export { MediaReferenceCountsSchema, MediaReferenceUseSchema, MediaReferenceListQuerySchema, MediaReferenceListResponseSchema, MediaTrashReferenceSummarySchema, } from "./media-reference-api.schema.js";
|
|
22
23
|
export { SnapshotSchema, SnapshotItemSchema, SnapshotMetaSchema } from "./snapshot.schema.js";
|
|
23
|
-
export { ApiErrorSchema } from "./api-error.schema.js";
|
|
24
|
+
export { ApiErrorSchema, BodyTooLargeErrorSchema, RateLimitErrorSchema } from "./api-error.schema.js";
|
|
24
25
|
export { BundledTemplateSchema, SetupStatusResponseSchema, SetupStarterSelectionSchema, SetupStarterResultSchema, SetupCompleteRequestSchema, SetupCompleteResponseSchema, } from "./setup-api.schema.js";
|
|
25
|
-
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";
|
|
26
|
+
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";
|
|
26
27
|
export { FieldValidationSchema, FieldDefinitionSchema, TabDefinitionSchema, TreeRulesSchema, DocumentTypeDefinitionSchema, } from "./document-type.schema.js";
|
|
27
28
|
export { CreateDocumentTypeRequestSchema, UpdateDocumentTypeRequestSchema, CreateDocumentTypeResponseSchema, DocumentTypeListQuerySchema, DocumentTypeListResponseSchema, DeleteDocumentTypeResponseSchema, } from "./document-type-api.schema.js";
|
|
28
29
|
export { TemplateAliasSchema, TemplateDefinitionSchema, TemplateKindSchema, TemplateVersionSchema, TemplateVersionSourceSchema, } from "./template.schema.js";
|
|
@@ -31,12 +32,13 @@ export { AssetDefinitionSchema, AssetPathSchema, AssetVersionSchema, MAX_ASSET_C
|
|
|
31
32
|
export { ASSET_TREE_MAX_DEPTH, ASSET_TREE_MAX_ENTRIES, AssetTreeEntrySchema, AssetTreeResponseSchema, AssetContentResponseSchema, WriteAssetContentRequestSchema, CreateAssetFolderRequestSchema, RenameAssetRequestSchema, DeleteAssetQuerySchema, AssetDeleteBlockedResponseSchema, ZipExtractReportSchema, AssetSyncReportSchema, } from "./asset-api.schema.js";
|
|
32
33
|
export { RenderSettingsSchema, UpdateRenderSettingsRequestSchema } from "./render-settings-api.schema.js";
|
|
33
34
|
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";
|
|
34
|
-
export { MediaFileResponseSchema, MediaDeleteResponseSchema, MediaLinkResponseSchema, MediaListQuerySchema, MediaListResponseSchema, MediaVersionListResponseSchema, MediaRenditionListResponseSchema, UpdateMediaRequestSchema, CreateMediaFolderRequestSchema, UpdateMediaFolderRequestSchema, MediaFolderListResponseSchema, MediaTrashListQuerySchema, MediaTrashListResponseSchema, MediaEmptyTrashResponseSchema, MediaReadQuerySchema, } from "./media-api.schema.js";
|
|
35
|
+
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";
|
|
35
36
|
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";
|
|
36
37
|
export { HealthCheckSchema } from "./health.schema.js";
|
|
37
38
|
export { LoginRequestSchema, LoginResponseSchema, RefreshResponseSchema, LogoutResponseSchema, AuthErrorSchema, } from "./auth.schema.js";
|
|
38
|
-
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
39
|
-
export {
|
|
39
|
+
export { UserSummarySchema, UserListQuerySchema, UserListResponseSchema, CreateUserRequestSchema, CreateUserResponseSchema, UpdateUserRoleRequestSchema, UpdateUserRoleResponseSchema, UserParamsSchema, ADMIN_LOCALES, ThemeModeSchema, UserPreferencesSchema, UpdateUserPreferencesSchema, } from "./user-api.schema.js";
|
|
40
|
+
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";
|
|
41
|
+
export { CreateSnapshotRequestSchema, SnapshotResponseSchema, SnapshotListQuerySchema, SnapshotListResponseSchema, RestoreSnapshotResponseSchema, SnapshotParamsSchema, } from "./snapshot-api.schema.js";
|
|
40
42
|
export { DataTypeConfigSchema, BUILT_IN_DATA_TYPE_CONFIGS } from "./data-type-config.schema.js";
|
|
41
43
|
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";
|
|
42
44
|
export { CreateDataTypeRequestSchema, UpdateDataTypeRequestSchema, DataTypeResponseSchema, DataTypeListQuerySchema, DataTypeListResponseSchema, } from "./data-type-api.schema.js";
|
|
@@ -44,15 +46,19 @@ export { PluginStorageParamsSchema, SetPluginFieldValueRequestSchema, PluginFiel
|
|
|
44
46
|
export { PluginSchema, PluginListQuerySchema, PluginListResponseSchema } from "./plugin-registry-api.schema.js";
|
|
45
47
|
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";
|
|
46
48
|
export { SampleContentOutcomeSchema } from "./sample-content-outcome.schema.js";
|
|
47
|
-
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, PublicMediaUpdateRequestSchema, PublicMediaWriteResponseSchema, PublicMediaDeleteResponseSchema, } from "./public-api.schema.js";
|
|
48
|
-
export { MarketplaceCapabilitySchema, MarketplaceListingVersionSchema, MarketplaceListingSchema, MarketplaceStarterSchema, MarketplaceDocumentTypeSummarySchema, MarketplaceBundleMemberSchema, MarketplaceListingDetailVersionSchema, MarketplaceListingDetailSchema, MarketplaceListQuerySchema, MarketplaceListResponseSchema, MarketplacePluginIdParamsSchema, MarketplaceInstallBodySchema, MarketplaceInstallMemberSchema, MarketplaceInstallResponseSchema, MarketplaceInstallConflictSchema, MarketplacePublicBaseSchema, } from "./marketplace-listing-api.schema.js";
|
|
49
|
-
export {
|
|
49
|
+
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";
|
|
50
|
+
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";
|
|
51
|
+
export { ApiKeySummarySchema, ApiKeyListQuerySchema, ApiKeyListResponseSchema, CreateApiKeyRequestSchema, CreateApiKeyResponseSchema, ApiKeyRefusalSchema, ApiKeyCreateForbiddenSchema, RevokeApiKeyResponseSchema, API_KEY_PRESETS, API_KEY_MAX_ACTIONS, ApiKeyParamsSchema, } from "./api-key-api.schema.js";
|
|
50
52
|
export { ThemeListItemSchema, ThemeListResponseSchema } from "./theme-api.schema.js";
|
|
51
53
|
export { ContentTrashBodySchema, ContentTrashConfirmationSchema, ContentTrashResultSchema, ContentRestoreResultSchema, } from "./content-trash-api.schema.js";
|
|
52
54
|
export { ContentTrashListQuerySchema, TrashedSubtreeSchema, ContentTrashListResponseSchema, ContentRestoreBlockedSchema, ContentRestoreConflictSchema, ContentRestoreLimitSchema, ContentRestoreNameTakenSchema, ContentRestoreOrphanSchema, ContentRestorePathOccupiedSchema, } from "./content-trash.schema.js";
|
|
53
55
|
export { TextStyleEntrySchema, TextStylesResponseSchema, BlockParamTypeSchema, BlockParamSchema, BlockListingSchema, BlockListResponseSchema, RenderBlockRequestSchema, RenderBlockResponseSchema, } from "./render-editing.js";
|
|
54
56
|
export { PluginActionDeclarationSchema, PluginRoleOfferSchema, OfferedRoleParamsSchema } from "./plugin-actions.schema.js";
|
|
55
|
-
export { ACTION_GATED_CONTRIBUTION_KEYS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
56
|
-
export {
|
|
57
|
+
export { ACTION_GATED_CONTRIBUTION_KEYS, OFFERABLE_BUILT_IN_ACTIONS, checkActionDeclarations } from "./plugin-manifest-actions.js";
|
|
58
|
+
export { API_ROUTE_METHODS, API_ROUTE_PATH_MAX, API_ROUTE_RESPONSE_STATUSES_MAX, API_ROUTES_MAX, isApiRouteResponseStatus, apiRoutePathProblem, checkApiRouteActions, checkApiRouteDeclarations } from "./plugin-manifest-api-routes.js";
|
|
59
|
+
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";
|
|
57
60
|
export { HOSTILE_CHARS_MESSAGE, MAX_DOCS_TARGET_LENGTH, docHeadingId, docHeadingKey, docSearchEntry, extractDocHeadings, hasHostileChars, isRenderableExternalHref, resolveDocsPath, resolveDocsLink, } from "./plugin-docs-text.js";
|
|
58
|
-
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";
|
|
61
|
+
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";
|
|
62
|
+
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";
|
|
63
|
+
export { SAMPLE_CONTENT_MEDIA_FILE_PATTERN, SampleContentFileSchema, parseSampleContentFile } from "./sample-content.schema.js";
|
|
64
|
+
export { INSTALL_RECORD_SUMMARY_TITLES, INSTALL_ROLE_OUTCOMES, InstallAnswersRefusedSchema, InstallRoleOutcomeSchema, PluginInstallCreatedSchema, PluginInstallRecordSchema, PluginInstallRecordSummarySchema, emptyInstallCreated, readInstallRecord, } from "./plugin-install-record.schema.js";
|