@sitecoreai-labs/sitecoreai-cli 0.0.4 → 0.1.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/AGENTS.md +146 -55
- package/README.md +372 -325
- package/dist/agents/api/agents.d.ts +27 -0
- package/dist/agents/api/agents.js +70 -0
- package/dist/agents/api/catalog.d.ts +8 -0
- package/dist/agents/api/catalog.js +33 -0
- package/dist/agents/api/custom-mcps.d.ts +26 -0
- package/dist/agents/api/custom-mcps.js +53 -0
- package/dist/agents/api/html-templates.d.ts +35 -0
- package/dist/agents/api/html-templates.js +116 -0
- package/dist/agents/api/request.d.ts +28 -0
- package/dist/agents/api/request.js +207 -0
- package/dist/agents/api/runs.d.ts +31 -0
- package/dist/agents/api/runs.js +82 -0
- package/dist/agents/api/schema.d.ts +182 -0
- package/dist/agents/api/schema.js +10 -0
- package/dist/agents/api/schemas.d.ts +37 -0
- package/dist/agents/api/schemas.js +95 -0
- package/dist/agents/api/skills.d.ts +25 -0
- package/dist/agents/api/skills.js +55 -0
- package/dist/agents/api/spaces.d.ts +34 -0
- package/dist/agents/api/spaces.js +72 -0
- package/dist/agents/api/tools.d.ts +4 -0
- package/dist/agents/api/tools.js +18 -0
- package/dist/agents/api/widgets.d.ts +32 -0
- package/dist/agents/api/widgets.js +89 -0
- package/dist/agents/client.d.ts +18 -0
- package/dist/agents/client.js +28 -0
- package/dist/agents/index.d.ts +31 -0
- package/dist/agents/index.js +51 -0
- package/dist/agents/recipe/agent.diff.d.ts +4 -0
- package/dist/agents/recipe/agent.diff.js +55 -0
- package/dist/agents/recipe/agent.kind.d.ts +12 -0
- package/dist/agents/recipe/agent.kind.js +107 -0
- package/dist/agents/recipe/agent.schema.d.ts +26 -0
- package/dist/agents/recipe/agent.schema.js +42 -0
- package/dist/agents/recipe/client.d.ts +4 -0
- package/dist/agents/recipe/client.js +15 -0
- package/dist/agents/recipe/converge.d.ts +11 -0
- package/dist/agents/recipe/converge.js +32 -0
- package/dist/agents/recipe/custom-mcp.kind.d.ts +4 -0
- package/dist/agents/recipe/custom-mcp.kind.js +42 -0
- package/dist/agents/recipe/custom-mcp.schema.d.ts +11 -0
- package/dist/agents/recipe/custom-mcp.schema.js +15 -0
- package/dist/agents/recipe/html-template.kind.d.ts +4 -0
- package/dist/agents/recipe/html-template.kind.js +50 -0
- package/dist/agents/recipe/html-template.schema.d.ts +13 -0
- package/dist/agents/recipe/html-template.schema.js +17 -0
- package/dist/agents/recipe/index.d.ts +43 -0
- package/dist/agents/recipe/index.js +81 -0
- package/dist/agents/recipe/schema.kind.d.ts +4 -0
- package/dist/agents/recipe/schema.kind.js +50 -0
- package/dist/agents/recipe/schema.schema.d.ts +15 -0
- package/dist/agents/recipe/schema.schema.js +21 -0
- package/dist/agents/recipe/skill.kind.d.ts +4 -0
- package/dist/agents/recipe/skill.kind.js +48 -0
- package/dist/agents/recipe/skill.schema.d.ts +14 -0
- package/dist/agents/recipe/skill.schema.js +18 -0
- package/dist/agents/recipe/widget.kind.d.ts +4 -0
- package/dist/agents/recipe/widget.kind.js +49 -0
- package/dist/agents/recipe/widget.schema.d.ts +20 -0
- package/dist/agents/recipe/widget.schema.js +23 -0
- package/dist/agents/session/index.d.ts +50 -0
- package/dist/agents/session/index.js +127 -0
- package/dist/agents/session/playwright-login.d.ts +11 -0
- package/dist/agents/session/playwright-login.js +169 -0
- package/dist/agents/session/types.d.ts +72 -0
- package/dist/agents/session/types.js +26 -0
- package/dist/agents/tasks/agent.d.ts +27 -0
- package/dist/agents/tasks/agent.js +183 -0
- package/dist/agents/tasks/index.d.ts +14 -0
- package/dist/agents/tasks/index.js +30 -0
- package/dist/agents/tasks/resources.d.ts +39 -0
- package/dist/agents/tasks/resources.js +219 -0
- package/dist/agents/tasks/session.d.ts +6 -0
- package/dist/agents/tasks/session.js +63 -0
- package/dist/agents/tasks/shared.d.ts +38 -0
- package/dist/agents/tasks/shared.js +72 -0
- package/dist/agents/tasks/space.d.ts +12 -0
- package/dist/agents/tasks/space.js +55 -0
- package/dist/brand/api/auth.d.ts +58 -0
- package/dist/brand/api/auth.js +141 -0
- package/dist/brand/api/client.d.ts +40 -0
- package/dist/brand/api/client.js +83 -0
- package/dist/brand/api/types.d.ts +119 -0
- package/dist/brand/api/types.js +9 -0
- package/dist/brand/credential.d.ts +55 -0
- package/dist/brand/credential.js +87 -0
- package/dist/brand/documents/list.d.ts +85 -0
- package/dist/brand/documents/list.js +53 -0
- package/dist/brand/documents/upload.d.ts +113 -0
- package/dist/brand/documents/upload.js +106 -0
- package/dist/brand/index.d.ts +33 -0
- package/dist/brand/index.js +76 -0
- package/dist/brand/kits/create.d.ts +58 -0
- package/dist/brand/kits/create.js +68 -0
- package/dist/brand/kits/list.d.ts +53 -0
- package/dist/brand/kits/list.js +36 -0
- package/dist/brand/kits/sections.d.ts +156 -0
- package/dist/brand/kits/sections.js +80 -0
- package/dist/brand/pipeline/run.d.ts +58 -0
- package/dist/brand/pipeline/run.js +63 -0
- package/dist/brand/recipe/client.d.ts +4 -0
- package/dist/brand/recipe/client.js +24 -0
- package/dist/brand/recipe/diff.d.ts +4 -0
- package/dist/brand/recipe/diff.js +74 -0
- package/dist/brand/recipe/index.d.ts +10 -0
- package/dist/brand/recipe/index.js +20 -0
- package/dist/brand/recipe/kind.d.ts +4 -0
- package/dist/brand/recipe/kind.js +0 -0
- package/dist/brand/recipe/schema.d.ts +54 -0
- package/dist/brand/recipe/schema.js +59 -0
- package/dist/brand/review/format-json.d.ts +33 -0
- package/dist/brand/review/format-json.js +36 -0
- package/dist/brand/review/format-sarif.d.ts +64 -0
- package/dist/brand/review/format-sarif.js +77 -0
- package/dist/brand/review/format-text.d.ts +24 -0
- package/dist/brand/review/format-text.js +60 -0
- package/dist/brand/review/generate.d.ts +37 -0
- package/dist/brand/review/generate.js +146 -0
- package/dist/brand/review/outcomes.d.ts +43 -0
- package/dist/brand/review/outcomes.js +58 -0
- package/dist/brand/seed.d.ts +81 -0
- package/dist/brand/seed.js +151 -0
- package/dist/brand/tasks/login.d.ts +37 -0
- package/dist/brand/tasks/login.js +192 -0
- package/dist/brand/tasks/review.d.ts +111 -0
- package/dist/brand/tasks/review.js +310 -0
- package/dist/brief/api/brief-types.d.ts +64 -0
- package/dist/brief/api/brief-types.js +103 -0
- package/dist/brief/api/briefs.d.ts +66 -0
- package/dist/brief/api/briefs.js +58 -0
- package/dist/brief/api/comments.d.ts +43 -0
- package/dist/brief/api/comments.js +29 -0
- package/dist/brief/api/request.d.ts +5 -0
- package/dist/brief/api/request.js +83 -0
- package/dist/brief/api/schema.d.ts +158 -0
- package/dist/brief/api/schema.js +18 -0
- package/dist/brief/api/tasks.d.ts +41 -0
- package/dist/brief/api/tasks.js +24 -0
- package/dist/brief/api/types.d.ts +17 -0
- package/dist/brief/api/types.js +21 -0
- package/dist/brief/auth.d.ts +44 -0
- package/dist/brief/auth.js +101 -0
- package/dist/brief/client.d.ts +25 -0
- package/dist/brief/client.js +56 -0
- package/dist/brief/index.d.ts +31 -0
- package/dist/brief/index.js +53 -0
- package/dist/brief/recipe/client.d.ts +4 -0
- package/dist/brief/recipe/client.js +52 -0
- package/dist/brief/recipe/diff.d.ts +4 -0
- package/dist/brief/recipe/diff.js +74 -0
- package/dist/brief/recipe/index.d.ts +10 -0
- package/dist/brief/recipe/index.js +23 -0
- package/dist/brief/recipe/kind.d.ts +4 -0
- package/dist/brief/recipe/kind.js +114 -0
- package/dist/brief/recipe/schema.d.ts +152 -0
- package/dist/brief/recipe/schema.js +99 -0
- package/dist/brief/tasks/index.d.ts +128 -0
- package/dist/brief/tasks/index.js +286 -0
- package/dist/campaigns/api/deliverables.d.ts +37 -0
- package/dist/campaigns/api/deliverables.js +30 -0
- package/dist/campaigns/api/projects.d.ts +49 -0
- package/dist/campaigns/api/projects.js +45 -0
- package/dist/campaigns/api/request.d.ts +5 -0
- package/dist/campaigns/api/request.js +119 -0
- package/dist/campaigns/api/schema.d.ts +144 -0
- package/dist/campaigns/api/schema.js +22 -0
- package/dist/campaigns/api/tasks.d.ts +42 -0
- package/dist/campaigns/api/tasks.js +68 -0
- package/dist/campaigns/api/types.d.ts +17 -0
- package/dist/campaigns/api/types.js +27 -0
- package/dist/campaigns/api/users.d.ts +13 -0
- package/dist/campaigns/api/users.js +16 -0
- package/dist/campaigns/auth.d.ts +19 -0
- package/dist/campaigns/auth.js +86 -0
- package/dist/campaigns/client.d.ts +25 -0
- package/dist/campaigns/client.js +48 -0
- package/dist/campaigns/index.d.ts +29 -0
- package/dist/campaigns/index.js +47 -0
- package/dist/campaigns/recipe/client.d.ts +4 -0
- package/dist/campaigns/recipe/client.js +41 -0
- package/dist/campaigns/recipe/diff.d.ts +4 -0
- package/dist/campaigns/recipe/diff.js +119 -0
- package/dist/campaigns/recipe/index.d.ts +10 -0
- package/dist/campaigns/recipe/index.js +19 -0
- package/dist/campaigns/recipe/kind.d.ts +4 -0
- package/dist/campaigns/recipe/kind.js +217 -0
- package/dist/campaigns/recipe/schema.d.ts +79 -0
- package/dist/campaigns/recipe/schema.js +67 -0
- package/dist/campaigns/tasks/index.d.ts +124 -0
- package/dist/campaigns/tasks/index.js +271 -0
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +84 -63
- package/dist/commands/agents/index.d.ts +28 -0
- package/dist/commands/agents/index.js +289 -0
- package/dist/commands/agents/sync.d.ts +13 -0
- package/dist/commands/agents/sync.js +139 -0
- package/dist/commands/audit/all.d.ts +2 -0
- package/dist/commands/audit/all.js +26 -0
- package/dist/commands/audit/alt-text-missing.d.ts +2 -0
- package/dist/commands/audit/alt-text-missing.js +19 -0
- package/dist/commands/audit/baseline.d.ts +2 -0
- package/dist/commands/audit/baseline.js +75 -0
- package/dist/commands/audit/broken-images.d.ts +2 -0
- package/dist/commands/audit/broken-images.js +25 -0
- package/dist/commands/audit/broken-links.d.ts +2 -0
- package/dist/commands/audit/broken-links.js +18 -0
- package/dist/commands/audit/datasource-missing.d.ts +2 -0
- package/dist/commands/audit/datasource-missing.js +19 -0
- package/dist/commands/audit/dead-templates.d.ts +2 -0
- package/dist/commands/audit/dead-templates.js +18 -0
- package/dist/commands/audit/duplicates.d.ts +2 -0
- package/dist/commands/audit/duplicates.js +21 -0
- package/dist/commands/audit/empty-items.d.ts +2 -0
- package/dist/commands/audit/empty-items.js +19 -0
- package/dist/commands/audit/empty-links.d.ts +2 -0
- package/dist/commands/audit/empty-links.js +25 -0
- package/dist/commands/audit/empty-roles.d.ts +2 -0
- package/dist/commands/audit/empty-roles.js +18 -0
- package/dist/commands/audit/fallback-drift.d.ts +2 -0
- package/dist/commands/audit/fallback-drift.js +22 -0
- package/dist/commands/audit/find-replace.d.ts +2 -0
- package/dist/commands/audit/find-replace.js +27 -0
- package/dist/commands/audit/heavy-templates.d.ts +2 -0
- package/dist/commands/audit/heavy-templates.js +19 -0
- package/dist/commands/audit/history.d.ts +2 -0
- package/dist/commands/audit/history.js +44 -0
- package/dist/commands/audit/index.d.ts +2 -0
- package/dist/commands/audit/index.js +100 -0
- package/dist/commands/audit/language-data.d.ts +2 -0
- package/dist/commands/audit/language-data.js +24 -0
- package/dist/commands/audit/large-fields.d.ts +2 -0
- package/dist/commands/audit/large-fields.js +21 -0
- package/dist/commands/audit/missing-meta.d.ts +2 -0
- package/dist/commands/audit/missing-meta.js +22 -0
- package/dist/commands/audit/orphans.d.ts +2 -0
- package/dist/commands/audit/orphans.js +22 -0
- package/dist/commands/audit/page-design-orphans.d.ts +2 -0
- package/dist/commands/audit/page-design-orphans.js +18 -0
- package/dist/commands/audit/personalization-broken.d.ts +2 -0
- package/dist/commands/audit/personalization-broken.js +18 -0
- package/dist/commands/audit/references.d.ts +2 -0
- package/dist/commands/audit/references.js +27 -0
- package/dist/commands/audit/role-bloat.d.ts +2 -0
- package/dist/commands/audit/role-bloat.js +19 -0
- package/dist/commands/audit/shared.d.ts +7 -0
- package/dist/commands/audit/shared.js +32 -0
- package/dist/commands/audit/site-residue.d.ts +2 -0
- package/dist/commands/audit/site-residue.js +22 -0
- package/dist/commands/audit/slug-conflicts.d.ts +2 -0
- package/dist/commands/audit/slug-conflicts.js +20 -0
- package/dist/commands/audit/stale-content.d.ts +2 -0
- package/dist/commands/audit/stale-content.js +21 -0
- package/dist/commands/audit/stale-users.d.ts +2 -0
- package/dist/commands/audit/stale-users.js +21 -0
- package/dist/commands/audit/stale-workflow.d.ts +2 -0
- package/dist/commands/audit/stale-workflow.js +19 -0
- package/dist/commands/audit/suite.d.ts +2 -0
- package/dist/commands/audit/suite.js +31 -0
- package/dist/commands/audit/template-dependencies.d.ts +2 -0
- package/dist/commands/audit/template-dependencies.js +22 -0
- package/dist/commands/audit/translation-coverage.d.ts +2 -0
- package/dist/commands/audit/translation-coverage.js +22 -0
- package/dist/commands/audit/unused-media.d.ts +2 -0
- package/dist/commands/audit/unused-media.js +21 -0
- package/dist/commands/brand/docs.d.ts +9 -0
- package/dist/commands/brand/docs.js +168 -0
- package/dist/commands/brand/index.d.ts +13 -0
- package/dist/commands/brand/index.js +37 -0
- package/dist/commands/brand/ingest-enrich.d.ts +3 -0
- package/dist/commands/brand/ingest-enrich.js +71 -0
- package/dist/commands/brand/kits.d.ts +18 -0
- package/dist/commands/brand/kits.js +361 -0
- package/dist/commands/brand/review.d.ts +13 -0
- package/dist/commands/brand/review.js +65 -0
- package/dist/commands/brand/seed.d.ts +9 -0
- package/dist/commands/brand/seed.js +136 -0
- package/dist/commands/brand/sync.d.ts +11 -0
- package/dist/commands/brand/sync.js +128 -0
- package/dist/commands/brief/comments.d.ts +11 -0
- package/dist/commands/brief/comments.js +55 -0
- package/dist/commands/brief/delete.d.ts +10 -0
- package/dist/commands/brief/delete.js +40 -0
- package/dist/commands/brief/index.d.ts +19 -0
- package/dist/commands/brief/index.js +53 -0
- package/dist/commands/brief/list.d.ts +2 -0
- package/dist/commands/brief/list.js +19 -0
- package/dist/commands/brief/set-status.d.ts +10 -0
- package/dist/commands/brief/set-status.js +33 -0
- package/dist/commands/brief/show.d.ts +2 -0
- package/dist/commands/brief/show.js +19 -0
- package/dist/commands/brief/sync.d.ts +12 -0
- package/dist/commands/brief/sync.js +121 -0
- package/dist/commands/brief/todos.d.ts +9 -0
- package/dist/commands/brief/todos.js +28 -0
- package/dist/commands/brief/types.d.ts +16 -0
- package/dist/commands/brief/types.js +129 -0
- package/dist/commands/campaign/index.d.ts +2 -0
- package/dist/commands/campaign/index.js +309 -0
- package/dist/commands/campaign/sync.d.ts +12 -0
- package/dist/commands/campaign/sync.js +121 -0
- package/dist/commands/cleanup/archive.d.ts +2 -0
- package/dist/commands/cleanup/archive.js +21 -0
- package/dist/commands/cleanup/dead-templates.d.ts +2 -0
- package/dist/commands/cleanup/dead-templates.js +21 -0
- package/dist/commands/cleanup/duplicates.d.ts +2 -0
- package/dist/commands/cleanup/duplicates.js +49 -0
- package/dist/commands/cleanup/empty-folders.d.ts +2 -0
- package/dist/commands/cleanup/empty-folders.js +18 -0
- package/dist/commands/cleanup/field-set.d.ts +2 -0
- package/dist/commands/cleanup/field-set.js +44 -0
- package/dist/commands/cleanup/find-replace.d.ts +2 -0
- package/dist/commands/cleanup/find-replace.js +35 -0
- package/dist/commands/cleanup/index.d.ts +2 -0
- package/dist/commands/cleanup/index.js +48 -0
- package/dist/commands/cleanup/language-versions.d.ts +2 -0
- package/dist/commands/cleanup/language-versions.js +25 -0
- package/dist/commands/cleanup/rename.d.ts +2 -0
- package/dist/commands/cleanup/rename.js +32 -0
- package/dist/commands/cleanup/roles.d.ts +2 -0
- package/dist/commands/cleanup/roles.js +20 -0
- package/dist/commands/cleanup/shared.d.ts +2 -0
- package/dist/commands/cleanup/shared.js +15 -0
- package/dist/commands/cleanup/site-residue.d.ts +2 -0
- package/dist/commands/cleanup/site-residue.js +32 -0
- package/dist/commands/cleanup/slug-conflicts.d.ts +2 -0
- package/dist/commands/cleanup/slug-conflicts.js +54 -0
- package/dist/commands/cleanup/subtree.d.ts +2 -0
- package/dist/commands/cleanup/subtree.js +25 -0
- package/dist/commands/cleanup/users.d.ts +2 -0
- package/dist/commands/cleanup/users.js +23 -0
- package/dist/commands/cleanup/versions.d.ts +2 -0
- package/dist/commands/cleanup/versions.js +42 -0
- package/dist/commands/cleanup/workflow.d.ts +2 -0
- package/dist/commands/cleanup/workflow.js +40 -0
- package/dist/commands/config.d.ts +0 -1
- package/dist/commands/config.js +3 -3
- package/dist/commands/content/index.d.ts +2 -0
- package/dist/commands/content/index.js +11 -0
- package/dist/commands/content/version/index.d.ts +2 -0
- package/dist/commands/content/version/index.js +19 -0
- package/dist/commands/content/version/inspect.d.ts +2 -0
- package/dist/commands/content/version/inspect.js +22 -0
- package/dist/commands/content/version/set-never-publish.d.ts +2 -0
- package/dist/commands/content/version/set-never-publish.js +40 -0
- package/dist/commands/content/version/set-validity.d.ts +2 -0
- package/dist/commands/content/version/set-validity.js +30 -0
- package/dist/commands/deploy/deployments.d.ts +0 -1
- package/dist/commands/deploy/deployments.js +9 -9
- package/dist/commands/deploy/editing-host.d.ts +0 -1
- package/dist/commands/deploy/editing-host.js +25 -13
- package/dist/commands/deploy/environments/deployments.d.ts +0 -1
- package/dist/commands/deploy/environments/deployments.js +3 -3
- package/dist/commands/deploy/environments/index.d.ts +0 -1
- package/dist/commands/deploy/environments/index.js +1 -0
- package/dist/commands/deploy/environments/mutations.d.ts +0 -1
- package/dist/commands/deploy/environments/mutations.js +18 -17
- package/dist/commands/deploy/environments/queries.d.ts +1 -1
- package/dist/commands/deploy/environments/queries.js +29 -8
- package/dist/commands/deploy/environments/variables.d.ts +0 -1
- package/dist/commands/deploy/environments/variables.js +9 -8
- package/dist/commands/deploy/environments.d.ts +0 -1
- package/dist/commands/deploy/index.d.ts +0 -1
- package/dist/commands/deploy/index.js +1 -1
- package/dist/commands/deploy/logs.d.ts +0 -1
- package/dist/commands/deploy/logs.js +4 -4
- package/dist/commands/deploy/organizations.d.ts +0 -1
- package/dist/commands/deploy/organizations.js +5 -5
- package/dist/commands/deploy/projects.d.ts +0 -1
- package/dist/commands/deploy/projects.js +32 -20
- package/dist/commands/deploy/shared.d.ts +0 -1
- package/dist/commands/deploy/shared.js +1 -0
- package/dist/commands/deploy/site.d.ts +2 -3
- package/dist/commands/deploy/site.js +6 -5
- package/dist/commands/deploy/source-control.d.ts +0 -1
- package/dist/commands/deploy/source-control.js +13 -13
- package/dist/commands/deploy.d.ts +0 -1
- package/dist/commands/explain/index.d.ts +14 -0
- package/dist/commands/explain/index.js +25 -0
- package/dist/commands/explain/orphan-site.d.ts +11 -0
- package/dist/commands/explain/orphan-site.js +36 -0
- package/dist/commands/explain/why-blocked.d.ts +13 -0
- package/dist/commands/explain/why-blocked.js +42 -0
- package/dist/commands/health.d.ts +2 -0
- package/dist/commands/health.js +28 -0
- package/dist/commands/history.d.ts +0 -1
- package/dist/commands/history.js +11 -42
- package/dist/commands/init.d.ts +0 -1
- package/dist/commands/init.js +42 -8
- package/dist/commands/login.d.ts +11 -1
- package/dist/commands/login.js +35 -4
- package/dist/commands/logout.d.ts +0 -1
- package/dist/commands/logout.js +3 -3
- package/dist/commands/mcp/serve.d.ts +27 -0
- package/dist/commands/mcp/serve.js +120 -0
- package/dist/commands/mcp/tools.d.ts +8 -0
- package/dist/commands/mcp/tools.js +75 -0
- package/dist/commands/mcp.d.ts +2 -0
- package/dist/commands/mcp.js +23 -0
- package/dist/commands/policy.d.ts +16 -0
- package/dist/commands/policy.js +296 -0
- package/dist/commands/publish/all.d.ts +2 -0
- package/dist/commands/publish/all.js +41 -0
- package/dist/commands/publish/cancel.d.ts +2 -0
- package/dist/commands/publish/cancel.js +25 -0
- package/dist/commands/publish/history.d.ts +2 -0
- package/dist/commands/publish/history.js +34 -0
- package/dist/commands/publish/index.d.ts +2 -0
- package/dist/commands/publish/index.js +30 -0
- package/dist/commands/publish/item.d.ts +2 -0
- package/dist/commands/publish/item.js +55 -0
- package/dist/commands/publish/status.d.ts +2 -0
- package/dist/commands/publish/status.js +34 -0
- package/dist/commands/publish/unpublish.d.ts +2 -0
- package/dist/commands/publish/unpublish.js +52 -0
- package/dist/commands/recipe/index.d.ts +0 -1
- package/dist/commands/recipe/index.js +19 -15
- package/dist/commands/serialization/index.d.ts +0 -1
- package/dist/commands/serialization/index.js +14 -9
- package/dist/commands/serialization/package.d.ts +0 -1
- package/dist/commands/serialization/package.js +3 -3
- package/dist/commands/setup-client.d.ts +17 -0
- package/dist/commands/setup-client.js +148 -0
- package/dist/commands/shared.d.ts +72 -2
- package/dist/commands/shared.js +151 -24
- package/dist/commands/shell.d.ts +0 -1
- package/dist/commands/shell.js +1 -1
- package/dist/commands/status.d.ts +0 -1
- package/dist/commands/status.js +3 -3
- package/dist/commands/sync.d.ts +23 -0
- package/dist/commands/sync.js +154 -0
- package/dist/commands/telemetry.d.ts +0 -1
- package/dist/commands/telemetry.js +40 -2
- package/dist/commands/topics/index.d.ts +5 -0
- package/dist/commands/topics/index.js +102 -0
- package/dist/commands/webhook/create.d.ts +2 -0
- package/dist/commands/webhook/create.js +52 -0
- package/dist/commands/webhook/delete.d.ts +2 -0
- package/dist/commands/webhook/delete.js +20 -0
- package/dist/commands/webhook/event-types.d.ts +2 -0
- package/dist/commands/webhook/event-types.js +22 -0
- package/dist/commands/webhook/index.d.ts +2 -0
- package/dist/commands/webhook/index.js +33 -0
- package/dist/commands/webhook/inspect.d.ts +2 -0
- package/dist/commands/webhook/inspect.js +17 -0
- package/dist/commands/webhook/list.d.ts +2 -0
- package/dist/commands/webhook/list.js +24 -0
- package/dist/commands/webhook/shared.d.ts +2 -0
- package/dist/commands/webhook/shared.js +11 -0
- package/dist/commands/workflow/advance.d.ts +2 -0
- package/dist/commands/workflow/advance.js +22 -0
- package/dist/commands/workflow/apply.d.ts +2 -0
- package/dist/commands/workflow/apply.js +22 -0
- package/dist/commands/workflow/assigned.d.ts +2 -0
- package/dist/commands/workflow/assigned.js +21 -0
- package/dist/commands/workflow/index.d.ts +2 -0
- package/dist/commands/workflow/index.js +35 -0
- package/dist/commands/workflow/inspect.d.ts +2 -0
- package/dist/commands/workflow/inspect.js +17 -0
- package/dist/commands/workflow/list-commands.d.ts +2 -0
- package/dist/commands/workflow/list-commands.js +17 -0
- package/dist/commands/workflow/list-defs.d.ts +2 -0
- package/dist/commands/workflow/list-defs.js +17 -0
- package/dist/commands/workflow/reset.d.ts +2 -0
- package/dist/commands/workflow/reset.js +20 -0
- package/dist/commands/workflow/shared.d.ts +3 -0
- package/dist/commands/workflow/shared.js +12 -0
- package/dist/commands/workflow/status.d.ts +2 -0
- package/dist/commands/workflow/status.js +18 -0
- package/dist/config/env-overrides.d.ts +0 -1
- package/dist/config/env-overrides.js +41 -5
- package/dist/config/index.d.ts +15 -3
- package/dist/config/index.js +43 -3
- package/dist/config/modules.d.ts +0 -1
- package/dist/config/modules.js +2 -2
- package/dist/config/paths.d.ts +0 -1
- package/dist/config/paths.js +11 -2
- package/dist/config/root-config.d.ts +24 -1
- package/dist/config/root-config.js +84 -7
- package/dist/config/schema.json +113 -25
- package/dist/config/types.d.ts +228 -13
- package/dist/config/types.js +1 -1
- package/dist/config/validation.d.ts +1 -4
- package/dist/content/api/version-fields.d.ts +129 -0
- package/dist/content/api/version-fields.js +193 -0
- package/dist/content/index.d.ts +15 -0
- package/dist/content/index.js +40 -0
- package/dist/content/tasks/shared.d.ts +86 -0
- package/dist/content/tasks/shared.js +130 -0
- package/dist/content/tasks/version-inspect.d.ts +13 -0
- package/dist/content/tasks/version-inspect.js +56 -0
- package/dist/content/tasks/version-never-publish.d.ts +16 -0
- package/dist/content/tasks/version-never-publish.js +115 -0
- package/dist/content/tasks/version-validity.d.ts +24 -0
- package/dist/content/tasks/version-validity.js +159 -0
- package/dist/deploy/api/client-naming.d.ts +80 -0
- package/dist/deploy/api/client-naming.js +124 -0
- package/dist/deploy/api/client.d.ts +72 -0
- package/dist/deploy/api/client.js +72 -0
- package/dist/deploy/api/clients.d.ts +126 -0
- package/dist/deploy/api/clients.js +89 -0
- package/dist/deploy/api/common/headers.d.ts +0 -1
- package/dist/deploy/api/common/request.d.ts +0 -5
- package/dist/deploy/api/common/request.js +93 -120
- package/dist/deploy/api/common/transport-events.d.ts +31 -0
- package/dist/deploy/api/common/transport-events.js +24 -0
- package/dist/deploy/api/common/types.d.ts +60 -1
- package/dist/deploy/api/deployment-logs.d.ts +0 -1
- package/dist/deploy/api/deployment-logs.js +5 -5
- package/dist/deploy/api/deployments.d.ts +1 -2
- package/dist/deploy/api/deployments.js +22 -20
- package/dist/deploy/api/environments.d.ts +28 -2
- package/dist/deploy/api/environments.js +103 -20
- package/dist/deploy/api/index.d.ts +31 -9
- package/dist/deploy/api/index.js +129 -22
- package/dist/deploy/api/logs.d.ts +1 -2
- package/dist/deploy/api/logs.js +9 -7
- package/dist/deploy/api/organizations.d.ts +1 -2
- package/dist/deploy/api/organizations.js +8 -7
- package/dist/deploy/api/projects.d.ts +19 -4
- package/dist/deploy/api/projects.js +75 -13
- package/dist/deploy/api/source-control.d.ts +1 -2
- package/dist/deploy/api/source-control.js +25 -24
- package/dist/deploy/api.d.ts +0 -1
- package/dist/deploy/context.d.ts +52 -0
- package/dist/deploy/context.js +234 -0
- package/dist/deploy/index.d.ts +11 -0
- package/dist/deploy/index.js +38 -0
- package/dist/deploy/tasks/deployment-result.d.ts +0 -1
- package/dist/deploy/tasks/deployments.d.ts +0 -1
- package/dist/deploy/tasks/deployments.js +12 -11
- package/dist/deploy/tasks/editing-host.d.ts +0 -1
- package/dist/deploy/tasks/editing-host.js +48 -18
- package/dist/deploy/tasks/environments.d.ts +3 -3
- package/dist/deploy/tasks/environments.js +108 -24
- package/dist/deploy/tasks/health.d.ts +23 -0
- package/dist/deploy/tasks/health.js +181 -0
- package/dist/deploy/tasks/logs.d.ts +0 -1
- package/dist/deploy/tasks/logs.js +4 -4
- package/dist/deploy/tasks/organizations.d.ts +0 -1
- package/dist/deploy/tasks/organizations.js +5 -5
- package/dist/deploy/tasks/projects.d.ts +6 -2
- package/dist/deploy/tasks/projects.js +61 -42
- package/dist/deploy/tasks/shared.d.ts +9 -52
- package/dist/deploy/tasks/shared.js +46 -222
- package/dist/deploy/tasks/site-bind.d.ts +1 -2
- package/dist/deploy/tasks/site-bind.js +7 -7
- package/dist/deploy/tasks/site.d.ts +2 -3
- package/dist/deploy/tasks/site.js +4 -4
- package/dist/deploy/tasks/source-control.d.ts +0 -1
- package/dist/deploy/tasks/source-control.js +14 -14
- package/dist/deploy/tasks/transport-spinner.d.ts +5 -0
- package/dist/deploy/tasks/transport-spinner.js +118 -0
- package/dist/deploy/tasks/types.d.ts +16 -3
- package/dist/deploy/tasks/types.js +1 -1
- package/dist/hygiene/api/client.d.ts +294 -0
- package/dist/hygiene/api/client.js +827 -0
- package/dist/hygiene/api/graphql.d.ts +4 -0
- package/dist/hygiene/api/graphql.js +18 -0
- package/dist/hygiene/audit-suite.d.ts +84 -0
- package/dist/hygiene/audit-suite.js +95 -0
- package/dist/hygiene/baseline.d.ts +56 -0
- package/dist/hygiene/baseline.js +248 -0
- package/dist/hygiene/cache.d.ts +35 -0
- package/dist/hygiene/cache.js +179 -0
- package/dist/hygiene/history.d.ts +70 -0
- package/dist/hygiene/history.js +148 -0
- package/dist/hygiene/index.d.ts +128 -0
- package/dist/hygiene/index.js +168 -0
- package/dist/hygiene/output-adapters.d.ts +49 -0
- package/dist/hygiene/output-adapters.js +270 -0
- package/dist/hygiene/tasks/audit/all.d.ts +58 -0
- package/dist/hygiene/tasks/audit/all.js +274 -0
- package/dist/hygiene/tasks/audit/alt-text-missing.d.ts +27 -0
- package/dist/hygiene/tasks/audit/alt-text-missing.js +87 -0
- package/dist/hygiene/tasks/audit/baseline.d.ts +66 -0
- package/dist/hygiene/tasks/audit/baseline.js +185 -0
- package/dist/hygiene/tasks/audit/broken-images.d.ts +41 -0
- package/dist/hygiene/tasks/audit/broken-images.js +183 -0
- package/dist/hygiene/tasks/audit/broken-links.d.ts +53 -0
- package/dist/hygiene/tasks/audit/broken-links.js +121 -0
- package/dist/hygiene/tasks/audit/datasource-missing.d.ts +44 -0
- package/dist/hygiene/tasks/audit/datasource-missing.js +146 -0
- package/dist/hygiene/tasks/audit/dead-templates.d.ts +46 -0
- package/dist/hygiene/tasks/audit/dead-templates.js +216 -0
- package/dist/hygiene/tasks/audit/duplicates.d.ts +48 -0
- package/dist/hygiene/tasks/audit/duplicates.js +94 -0
- package/dist/hygiene/tasks/audit/empty-items.d.ts +24 -0
- package/dist/hygiene/tasks/audit/empty-items.js +53 -0
- package/dist/hygiene/tasks/audit/empty-links.d.ts +37 -0
- package/dist/hygiene/tasks/audit/empty-links.js +145 -0
- package/dist/hygiene/tasks/audit/empty-roles.d.ts +41 -0
- package/dist/hygiene/tasks/audit/empty-roles.js +51 -0
- package/dist/hygiene/tasks/audit/fallback-drift.d.ts +53 -0
- package/dist/hygiene/tasks/audit/fallback-drift.js +115 -0
- package/dist/hygiene/tasks/audit/find-replace.d.ts +75 -0
- package/dist/hygiene/tasks/audit/find-replace.js +142 -0
- package/dist/hygiene/tasks/audit/heavy-templates.d.ts +46 -0
- package/dist/hygiene/tasks/audit/heavy-templates.js +73 -0
- package/dist/hygiene/tasks/audit/history.d.ts +30 -0
- package/dist/hygiene/tasks/audit/history.js +161 -0
- package/dist/hygiene/tasks/audit/language-data.d.ts +55 -0
- package/dist/hygiene/tasks/audit/language-data.js +126 -0
- package/dist/hygiene/tasks/audit/large-fields.d.ts +48 -0
- package/dist/hygiene/tasks/audit/large-fields.js +84 -0
- package/dist/hygiene/tasks/audit/missing-meta.d.ts +57 -0
- package/dist/hygiene/tasks/audit/missing-meta.js +97 -0
- package/dist/hygiene/tasks/audit/orphans.d.ts +47 -0
- package/dist/hygiene/tasks/audit/orphans.js +78 -0
- package/dist/hygiene/tasks/audit/page-design-orphans.d.ts +24 -0
- package/dist/hygiene/tasks/audit/page-design-orphans.js +80 -0
- package/dist/hygiene/tasks/audit/personalization-broken.d.ts +25 -0
- package/dist/hygiene/tasks/audit/personalization-broken.js +96 -0
- package/dist/hygiene/tasks/audit/references.d.ts +70 -0
- package/dist/hygiene/tasks/audit/references.js +142 -0
- package/dist/hygiene/tasks/audit/role-bloat.d.ts +42 -0
- package/dist/hygiene/tasks/audit/role-bloat.js +64 -0
- package/dist/hygiene/tasks/audit/site-residue.d.ts +39 -0
- package/dist/hygiene/tasks/audit/site-residue.js +164 -0
- package/dist/hygiene/tasks/audit/slug-conflicts.d.ts +58 -0
- package/dist/hygiene/tasks/audit/slug-conflicts.js +87 -0
- package/dist/hygiene/tasks/audit/stale-content.d.ts +68 -0
- package/dist/hygiene/tasks/audit/stale-content.js +133 -0
- package/dist/hygiene/tasks/audit/stale-users.d.ts +54 -0
- package/dist/hygiene/tasks/audit/stale-users.js +83 -0
- package/dist/hygiene/tasks/audit/stale-workflow.d.ts +50 -0
- package/dist/hygiene/tasks/audit/stale-workflow.js +109 -0
- package/dist/hygiene/tasks/audit/suite-run.d.ts +28 -0
- package/dist/hygiene/tasks/audit/suite-run.js +46 -0
- package/dist/hygiene/tasks/audit/template-dependencies.d.ts +72 -0
- package/dist/hygiene/tasks/audit/template-dependencies.js +97 -0
- package/dist/hygiene/tasks/audit/translation-coverage.d.ts +64 -0
- package/dist/hygiene/tasks/audit/translation-coverage.js +123 -0
- package/dist/hygiene/tasks/audit/unused-media.d.ts +58 -0
- package/dist/hygiene/tasks/audit/unused-media.js +144 -0
- package/dist/hygiene/tasks/browse.d.ts +49 -0
- package/dist/hygiene/tasks/browse.js +50 -0
- package/dist/hygiene/tasks/cleanup/archive-purge.d.ts +50 -0
- package/dist/hygiene/tasks/cleanup/archive-purge.js +129 -0
- package/dist/hygiene/tasks/cleanup/dead-templates.d.ts +74 -0
- package/dist/hygiene/tasks/cleanup/dead-templates.js +247 -0
- package/dist/hygiene/tasks/cleanup/duplicates.d.ts +86 -0
- package/dist/hygiene/tasks/cleanup/duplicates.js +189 -0
- package/dist/hygiene/tasks/cleanup/empty-folders.d.ts +75 -0
- package/dist/hygiene/tasks/cleanup/empty-folders.js +165 -0
- package/dist/hygiene/tasks/cleanup/field-set.d.ts +108 -0
- package/dist/hygiene/tasks/cleanup/field-set.js +230 -0
- package/dist/hygiene/tasks/cleanup/find-replace.d.ts +77 -0
- package/dist/hygiene/tasks/cleanup/find-replace.js +180 -0
- package/dist/hygiene/tasks/cleanup/language-version-add.d.ts +74 -0
- package/dist/hygiene/tasks/cleanup/language-version-add.js +136 -0
- package/dist/hygiene/tasks/cleanup/rename.d.ts +78 -0
- package/dist/hygiene/tasks/cleanup/rename.js +152 -0
- package/dist/hygiene/tasks/cleanup/roles.d.ts +58 -0
- package/dist/hygiene/tasks/cleanup/roles.js +177 -0
- package/dist/hygiene/tasks/cleanup/site-residue.d.ts +55 -0
- package/dist/hygiene/tasks/cleanup/site-residue.js +247 -0
- package/dist/hygiene/tasks/cleanup/slug-conflicts.d.ts +126 -0
- package/dist/hygiene/tasks/cleanup/slug-conflicts.js +296 -0
- package/dist/hygiene/tasks/cleanup/subtree-prune.d.ts +40 -0
- package/dist/hygiene/tasks/cleanup/subtree-prune.js +113 -0
- package/dist/hygiene/tasks/cleanup/subtree.d.ts +123 -0
- package/dist/hygiene/tasks/cleanup/subtree.js +312 -0
- package/dist/hygiene/tasks/cleanup/users.d.ts +48 -0
- package/dist/hygiene/tasks/cleanup/users.js +92 -0
- package/dist/hygiene/tasks/cleanup/versions-archive.d.ts +57 -0
- package/dist/hygiene/tasks/cleanup/versions-archive.js +162 -0
- package/dist/hygiene/tasks/cleanup/versions-prune.d.ts +76 -0
- package/dist/hygiene/tasks/cleanup/versions-prune.js +194 -0
- package/dist/hygiene/tasks/cleanup/workflow-advance.d.ts +76 -0
- package/dist/hygiene/tasks/cleanup/workflow-advance.js +185 -0
- package/dist/hygiene/tasks/cleanup/workflow-apply.d.ts +97 -0
- package/dist/hygiene/tasks/cleanup/workflow-apply.js +310 -0
- package/dist/hygiene/tasks/explain/orphan-site.d.ts +53 -0
- package/dist/hygiene/tasks/explain/orphan-site.js +83 -0
- package/dist/hygiene/tasks/explain/why-blocked.d.ts +81 -0
- package/dist/hygiene/tasks/explain/why-blocked.js +149 -0
- package/dist/hygiene/tasks/reference-kind.d.ts +47 -0
- package/dist/hygiene/tasks/reference-kind.js +73 -0
- package/dist/hygiene/tasks/shared.d.ts +350 -0
- package/dist/hygiene/tasks/shared.js +532 -0
- package/dist/mcp/auth.d.ts +80 -0
- package/dist/mcp/auth.js +165 -0
- package/dist/mcp/build-registry.d.ts +12 -0
- package/dist/mcp/build-registry.js +75 -0
- package/dist/mcp/descriptions.d.ts +22 -0
- package/dist/mcp/descriptions.js +113 -0
- package/dist/mcp/dispatch.d.ts +44 -0
- package/dist/mcp/dispatch.js +110 -0
- package/dist/mcp/errors.d.ts +31 -0
- package/dist/mcp/errors.js +117 -0
- package/dist/mcp/http.d.ts +42 -0
- package/dist/mcp/http.js +128 -0
- package/dist/mcp/logging.d.ts +28 -0
- package/dist/mcp/logging.js +78 -0
- package/dist/mcp/prompts/workflows.d.ts +13 -0
- package/dist/mcp/prompts/workflows.js +171 -0
- package/dist/mcp/redact.d.ts +11 -0
- package/dist/mcp/redact.js +35 -0
- package/dist/mcp/registry.d.ts +84 -0
- package/dist/mcp/registry.js +62 -0
- package/dist/mcp/resources/brand.d.ts +20 -0
- package/dist/mcp/resources/brand.js +514 -0
- package/dist/mcp/resources/env.d.ts +10 -0
- package/dist/mcp/resources/env.js +120 -0
- package/dist/mcp/resources/help.d.ts +10 -0
- package/dist/mcp/resources/help.js +475 -0
- package/dist/mcp/resources/recipes.d.ts +13 -0
- package/dist/mcp/resources/recipes.js +270 -0
- package/dist/mcp/schemas/common.d.ts +22 -0
- package/dist/mcp/schemas/common.js +43 -0
- package/dist/mcp/server.d.ts +26 -0
- package/dist/mcp/server.js +88 -0
- package/dist/mcp/tools/access-check.d.ts +11 -0
- package/dist/mcp/tools/access-check.js +47 -0
- package/dist/mcp/tools/agents-recipe.d.ts +2 -0
- package/dist/mcp/tools/agents-recipe.js +139 -0
- package/dist/mcp/tools/agents.d.ts +2 -0
- package/dist/mcp/tools/agents.js +148 -0
- package/dist/mcp/tools/audit.d.ts +41 -0
- package/dist/mcp/tools/audit.js +584 -0
- package/dist/mcp/tools/bootstrap.d.ts +8 -0
- package/dist/mcp/tools/bootstrap.js +200 -0
- package/dist/mcp/tools/brand-recipe.d.ts +2 -0
- package/dist/mcp/tools/brand-recipe.js +123 -0
- package/dist/mcp/tools/brand.d.ts +28 -0
- package/dist/mcp/tools/brand.js +549 -0
- package/dist/mcp/tools/brief-recipe.d.ts +2 -0
- package/dist/mcp/tools/brief-recipe.js +123 -0
- package/dist/mcp/tools/brief.d.ts +16 -0
- package/dist/mcp/tools/brief.js +388 -0
- package/dist/mcp/tools/browse.d.ts +9 -0
- package/dist/mcp/tools/browse.js +57 -0
- package/dist/mcp/tools/campaign-recipe.d.ts +2 -0
- package/dist/mcp/tools/campaign-recipe.js +125 -0
- package/dist/mcp/tools/campaign.d.ts +20 -0
- package/dist/mcp/tools/campaign.js +342 -0
- package/dist/mcp/tools/cleanup.d.ts +22 -0
- package/dist/mcp/tools/cleanup.js +608 -0
- package/dist/mcp/tools/deploy.d.ts +19 -0
- package/dist/mcp/tools/deploy.js +797 -0
- package/dist/mcp/tools/explain.d.ts +2 -0
- package/dist/mcp/tools/explain.js +132 -0
- package/dist/mcp/tools/inspector.d.ts +12 -0
- package/dist/mcp/tools/inspector.js +101 -0
- package/dist/mcp/tools/onboard.d.ts +11 -0
- package/dist/mcp/tools/onboard.js +65 -0
- package/dist/mcp/tools/publish.d.ts +30 -0
- package/dist/mcp/tools/publish.js +173 -0
- package/dist/mcp/tools/recipe-sync.d.ts +2 -0
- package/dist/mcp/tools/recipe-sync.js +117 -0
- package/dist/mcp/tools/recipe.d.ts +18 -0
- package/dist/mcp/tools/recipe.js +250 -0
- package/dist/mcp/tools/serialization.d.ts +17 -0
- package/dist/mcp/tools/serialization.js +282 -0
- package/dist/mcp/tools/webhook.d.ts +12 -0
- package/dist/mcp/tools/webhook.js +246 -0
- package/dist/mcp/tools/workflow.d.ts +21 -0
- package/dist/mcp/tools/workflow.js +436 -0
- package/dist/policy/access-check.d.ts +56 -0
- package/dist/policy/access-check.js +160 -0
- package/dist/policy/allow-write.d.ts +37 -0
- package/dist/policy/allow-write.js +78 -0
- package/dist/policy/authorize.d.ts +36 -0
- package/dist/policy/authorize.js +102 -0
- package/dist/policy/caller.d.ts +23 -0
- package/dist/policy/caller.js +66 -0
- package/dist/policy/enforce.d.ts +25 -0
- package/dist/policy/enforce.js +57 -0
- package/dist/policy/enroll.d.ts +57 -0
- package/dist/policy/enroll.js +101 -0
- package/dist/policy/environment.d.ts +35 -0
- package/dist/policy/environment.js +44 -0
- package/dist/policy/identity.d.ts +24 -0
- package/dist/policy/identity.js +58 -0
- package/dist/policy/index.d.ts +22 -0
- package/dist/policy/index.js +42 -0
- package/dist/policy/operations.d.ts +24 -0
- package/dist/policy/operations.js +37 -0
- package/dist/policy/organization.d.ts +62 -0
- package/dist/policy/organization.js +97 -0
- package/dist/policy/paths.d.ts +21 -0
- package/dist/policy/paths.js +46 -0
- package/dist/policy/resolve.d.ts +15 -0
- package/dist/policy/resolve.js +67 -0
- package/dist/policy/schema.d.ts +137 -0
- package/dist/policy/schema.js +92 -0
- package/dist/policy/store.d.ts +25 -0
- package/dist/policy/store.js +85 -0
- package/dist/policy/types.d.ts +52 -0
- package/dist/policy/types.js +22 -0
- package/dist/program.d.ts +35 -0
- package/dist/program.js +131 -0
- package/dist/publishing/api/auth.d.ts +49 -0
- package/dist/publishing/api/auth.js +173 -0
- package/dist/publishing/api/client.d.ts +5 -0
- package/dist/publishing/api/client.js +153 -0
- package/dist/publishing/api/languages.d.ts +61 -0
- package/dist/publishing/api/languages.js +116 -0
- package/dist/publishing/api/path-resolver.d.ts +10 -0
- package/dist/publishing/api/path-resolver.js +76 -0
- package/dist/publishing/api/sites.d.ts +23 -0
- package/dist/publishing/api/sites.js +27 -0
- package/dist/publishing/api/types.d.ts +166 -0
- package/dist/publishing/api/types.js +17 -0
- package/dist/publishing/index.d.ts +25 -0
- package/dist/publishing/index.js +51 -0
- package/dist/publishing/job-diagnostics.d.ts +44 -0
- package/dist/publishing/job-diagnostics.js +87 -0
- package/dist/publishing/job-watcher.d.ts +33 -0
- package/dist/publishing/job-watcher.js +118 -0
- package/dist/publishing/tasks/all.d.ts +41 -0
- package/dist/publishing/tasks/all.js +234 -0
- package/dist/publishing/tasks/cancel.d.ts +18 -0
- package/dist/publishing/tasks/cancel.js +147 -0
- package/dist/publishing/tasks/history.d.ts +22 -0
- package/dist/publishing/tasks/history.js +85 -0
- package/dist/publishing/tasks/item.d.ts +69 -0
- package/dist/publishing/tasks/item.js +194 -0
- package/dist/publishing/tasks/status.d.ts +17 -0
- package/dist/publishing/tasks/status.js +74 -0
- package/dist/publishing/tasks/unpublish.d.ts +69 -0
- package/dist/publishing/tasks/unpublish.js +546 -0
- package/dist/recipe/api/auth.d.ts +1 -2
- package/dist/recipe/api/auth.js +1 -1
- package/dist/recipe/api/authoring-client.d.ts +9 -3
- package/dist/recipe/api/authoring-client.js +101 -17
- package/dist/recipe/api/client.d.ts +50 -1
- package/dist/recipe/api/graphql.d.ts +2 -3
- package/dist/recipe/api/graphql.js +1 -1
- package/dist/recipe/api/ref-encoding.d.ts +0 -1
- package/dist/recipe/api/ref-encoding.js +5 -5
- package/dist/recipe/api/site-discovery.d.ts +1 -2
- package/dist/recipe/api/sites-client.d.ts +6 -3
- package/dist/recipe/api/sites-client.js +11 -8
- package/dist/recipe/cache.d.ts +0 -1
- package/dist/recipe/compile/component-section.d.ts +1 -2
- package/dist/recipe/compile/component-section.js +2 -2
- package/dist/recipe/compile/component-template.d.ts +0 -1
- package/dist/recipe/compile/component-template.js +15 -19
- package/dist/recipe/compile/content-item.d.ts +42 -22
- package/dist/recipe/compile/content-item.js +198 -46
- package/dist/recipe/compile/content-template.d.ts +0 -1
- package/dist/recipe/compile/content-template.js +25 -1
- package/dist/recipe/compile/design-parameters-template.d.ts +13 -0
- package/dist/recipe/compile/design-parameters-template.js +92 -0
- package/dist/recipe/compile/enumeration.d.ts +0 -1
- package/dist/recipe/compile/enumeration.js +4 -4
- package/dist/recipe/compile/page-design.d.ts +0 -1
- package/dist/recipe/compile/page-design.js +1 -1
- package/dist/recipe/compile/page-template.d.ts +30 -0
- package/dist/recipe/compile/page-template.js +121 -0
- package/dist/recipe/compile/page.d.ts +26 -0
- package/dist/recipe/compile/page.js +184 -0
- package/dist/recipe/compile/partial-design.d.ts +0 -1
- package/dist/recipe/compile/partial-design.js +1 -1
- package/dist/recipe/compile/placeholder.d.ts +23 -0
- package/dist/recipe/compile/placeholder.js +32 -0
- package/dist/recipe/compile/section-definition.d.ts +0 -1
- package/dist/recipe/compile/shared.d.ts +52 -7
- package/dist/recipe/compile/shared.js +55 -15
- package/dist/recipe/compile/site-template.d.ts +0 -1
- package/dist/recipe/compile/site-template.js +1 -1
- package/dist/recipe/compile/site.d.ts +0 -1
- package/dist/recipe/compile/site.js +1 -1
- package/dist/recipe/compile/webhook-authorization.d.ts +23 -0
- package/dist/recipe/compile/webhook-authorization.js +116 -0
- package/dist/recipe/compile/workflow.d.ts +46 -0
- package/dist/recipe/compile/workflow.js +368 -0
- package/dist/recipe/compile.d.ts +19 -3
- package/dist/recipe/compile.js +297 -11
- package/dist/recipe/ensure-marker-field.d.ts +25 -0
- package/dist/recipe/ensure-marker-field.js +140 -0
- package/dist/recipe/execute.d.ts +19 -2
- package/dist/recipe/execute.js +39 -8
- package/dist/recipe/guids.d.ts +106 -9
- package/dist/recipe/guids.js +126 -15
- package/dist/recipe/index.d.ts +11 -5
- package/dist/recipe/index.js +46 -23
- package/dist/recipe/io.d.ts +0 -1
- package/dist/recipe/io.js +33 -10
- package/dist/recipe/ir/operations.d.ts +66 -4
- package/dist/recipe/ir/operations.js +55 -2
- package/dist/recipe/ir/sitecore-templates.d.ts +87 -1
- package/dist/recipe/ir/sitecore-templates.js +94 -1
- package/dist/recipe/layout/emit.d.ts +22 -3
- package/dist/recipe/layout/emit.js +18 -7
- package/dist/recipe/layout/parse.d.ts +164 -0
- package/dist/recipe/layout/parse.js +295 -0
- package/dist/recipe/layout/templates-mapping.d.ts +0 -1
- package/dist/recipe/marker.d.ts +28 -0
- package/dist/recipe/marker.js +37 -0
- package/dist/recipe/plan.d.ts +9 -2
- package/dist/recipe/plan.js +195 -19
- package/dist/recipe/policy.d.ts +0 -1
- package/dist/recipe/policy.js +19 -1
- package/dist/recipe/read-current.d.ts +109 -0
- package/dist/recipe/read-current.js +1285 -0
- package/dist/recipe/recipe-kind.d.ts +4 -0
- package/dist/recipe/recipe-kind.js +217 -0
- package/dist/recipe/rollback-log.d.ts +52 -0
- package/dist/recipe/rollback-log.js +90 -0
- package/dist/recipe/rollback.d.ts +12 -1
- package/dist/recipe/rollback.js +32 -7
- package/dist/recipe/sandbox/load.d.ts +17 -0
- package/dist/recipe/sandbox/load.js +145 -0
- package/dist/recipe/sandbox/recipe-runner.cjs +49 -0
- package/dist/recipe/sandbox/transpile.d.ts +17 -0
- package/dist/recipe/sandbox/transpile.js +46 -0
- package/dist/recipe/schema/field-types.d.ts +3 -4
- package/dist/recipe/schema/recipe.d.ts +1631 -213
- package/dist/recipe/schema/recipe.js +576 -37
- package/dist/recipe/schema/source-fields.d.ts +0 -1
- package/dist/recipe/tasks/compile.d.ts +1 -2
- package/dist/recipe/tasks/compile.js +14 -4
- package/dist/recipe/tasks/diff.d.ts +1 -2
- package/dist/recipe/tasks/placeholder-allow.d.ts +0 -1
- package/dist/recipe/tasks/placeholder-allow.js +3 -7
- package/dist/recipe/tasks/plan.d.ts +3 -4
- package/dist/recipe/tasks/plan.js +5 -5
- package/dist/recipe/tasks/prune-defaults.d.ts +1 -2
- package/dist/recipe/tasks/prune-defaults.js +6 -7
- package/dist/recipe/tasks/push.d.ts +1 -2
- package/dist/recipe/tasks/push.js +46 -6
- package/dist/recipe/tasks/shared.d.ts +21 -4
- package/dist/recipe/tasks/shared.js +34 -21
- package/dist/recipe/unstable.d.ts +18 -0
- package/dist/recipe/unstable.js +36 -0
- package/dist/recipe/validate.d.ts +51 -2
- package/dist/recipe/validate.js +162 -15
- package/dist/scripting/connect.d.ts +24 -0
- package/dist/scripting/connect.js +17 -0
- package/dist/scripting/helpers/multilist.d.ts +26 -0
- package/dist/scripting/helpers/multilist.js +75 -0
- package/dist/scripting/index.d.ts +20 -0
- package/dist/scripting/index.js +57 -0
- package/dist/serialization/api/auth.d.ts +57 -0
- package/dist/serialization/api/auth.js +433 -0
- package/dist/serialization/api/client.d.ts +41 -0
- package/dist/serialization/api/client.js +41 -0
- package/dist/serialization/api/graphql.d.ts +11 -0
- package/dist/serialization/api/history.d.ts +8 -0
- package/dist/serialization/api/index.d.ts +23 -0
- package/dist/serialization/api/index.js +64 -0
- package/dist/serialization/api/items.d.ts +7 -0
- package/dist/serialization/api/items.js +132 -0
- package/dist/serialization/api/publish.d.ts +43 -0
- package/dist/serialization/api/publish.js +67 -0
- package/dist/serialization/api/roles.d.ts +8 -0
- package/dist/serialization/api/types.d.ts +65 -0
- package/dist/serialization/api/types.js +2 -0
- package/dist/serialization/api/users.d.ts +8 -0
- package/dist/serialization/commands.d.ts +0 -1
- package/dist/serialization/compare.d.ts +0 -1
- package/dist/serialization/context.d.ts +25 -0
- package/dist/serialization/context.js +58 -0
- package/dist/serialization/field-filter.d.ts +0 -1
- package/dist/serialization/filesystem-store/constants.d.ts +0 -1
- package/dist/serialization/filesystem-store/items.d.ts +0 -1
- package/dist/serialization/filesystem-store/items.js +1 -1
- package/dist/serialization/filesystem-store/roles.d.ts +1 -2
- package/dist/serialization/filesystem-store/users.d.ts +1 -2
- package/dist/serialization/filesystem-store/utils.d.ts +0 -1
- package/dist/serialization/index.d.ts +12 -0
- package/dist/serialization/index.js +32 -0
- package/dist/serialization/item-path.d.ts +0 -1
- package/dist/serialization/item-path.js +3 -3
- package/dist/serialization/path-provider.d.ts +0 -1
- package/dist/serialization/path-provider.js +4 -4
- package/dist/serialization/signature.d.ts +0 -1
- package/dist/serialization/tasks/diff.d.ts +0 -1
- package/dist/serialization/tasks/diff.js +176 -48
- package/dist/serialization/tasks/env/constants.d.ts +13 -1
- package/dist/serialization/tasks/env/constants.js +64 -1
- package/dist/serialization/tasks/env/deploy-token.d.ts +0 -1
- package/dist/serialization/tasks/env/deploy-token.js +69 -17
- package/dist/serialization/tasks/env/init/auth.d.ts +11 -3
- package/dist/serialization/tasks/env/init/auth.js +19 -17
- package/dist/serialization/tasks/env/init/deploy-lookup.d.ts +1 -2
- package/dist/serialization/tasks/env/init/deploy-lookup.js +18 -5
- package/dist/serialization/tasks/env/init.d.ts +0 -1
- package/dist/serialization/tasks/env/init.js +18 -12
- package/dist/serialization/tasks/env/logout.d.ts +0 -1
- package/dist/serialization/tasks/env/logout.js +13 -6
- package/dist/serialization/tasks/env/onboard.d.ts +40 -0
- package/dist/serialization/tasks/env/onboard.js +53 -0
- package/dist/serialization/tasks/env/setup-clients.d.ts +24 -0
- package/dist/serialization/tasks/env/setup-clients.js +119 -0
- package/dist/serialization/tasks/env/setup-env.d.ts +54 -0
- package/dist/serialization/tasks/env/setup-env.js +216 -0
- package/dist/serialization/tasks/env/setup-org-client.d.ts +21 -0
- package/dist/serialization/tasks/env/setup-org-client.js +146 -0
- package/dist/serialization/tasks/env/status.d.ts +0 -1
- package/dist/serialization/tasks/env/status.js +36 -11
- package/dist/serialization/tasks/helpers/collect.d.ts +1 -2
- package/dist/serialization/tasks/helpers/collect.js +22 -15
- package/dist/serialization/tasks/helpers/commands.d.ts +0 -1
- package/dist/serialization/tasks/helpers/filesystem.d.ts +0 -1
- package/dist/serialization/tasks/helpers/filesystem.js +4 -4
- package/dist/serialization/tasks/helpers/items.d.ts +0 -1
- package/dist/serialization/tasks/helpers/sitecore.d.ts +1 -2
- package/dist/serialization/tasks/helpers/sitecore.js +2 -2
- package/dist/serialization/tasks/info.d.ts +0 -1
- package/dist/serialization/tasks/package.d.ts +0 -1
- package/dist/serialization/tasks/package.js +21 -16
- package/dist/serialization/tasks/pull.d.ts +0 -1
- package/dist/serialization/tasks/pull.js +24 -9
- package/dist/serialization/tasks/push.d.ts +0 -1
- package/dist/serialization/tasks/push.js +27 -11
- package/dist/serialization/tasks/roles.d.ts +2 -2
- package/dist/serialization/tasks/roles.js +9 -9
- package/dist/serialization/tasks/shared.d.ts +9 -16
- package/dist/serialization/tasks/shared.js +14 -44
- package/dist/serialization/tasks/types.d.ts +44 -4
- package/dist/serialization/tasks/types.js +1 -1
- package/dist/serialization/tasks/users.d.ts +2 -2
- package/dist/serialization/tasks/users.js +9 -9
- package/dist/serialization/tasks/validate.d.ts +0 -1
- package/dist/serialization/tasks/validate.js +2 -2
- package/dist/serialization/tasks/watch.d.ts +0 -1
- package/dist/serialization/tasks/watch.js +9 -8
- package/dist/serialization/tree-spec.d.ts +0 -1
- package/dist/serialization/tree-spec.js +21 -21
- package/dist/serialization/types.d.ts +0 -1
- package/dist/serialization/wildcard.d.ts +0 -1
- package/dist/serialization/wildcard.js +2 -2
- package/dist/serialization/yaml.d.ts +0 -1
- package/dist/serialization/yaml.js +1 -1
- package/dist/shared/browser.d.ts +0 -1
- package/dist/shared/cli-options.d.ts +0 -1
- package/dist/shared/cli-tasks.d.ts +1 -2
- package/dist/shared/cli-tasks.js +2 -2
- package/dist/shared/client-credential.d.ts +82 -0
- package/dist/shared/client-credential.js +117 -0
- package/dist/shared/concurrency.d.ts +20 -0
- package/dist/shared/concurrency.js +67 -0
- package/dist/shared/config-template.d.ts +0 -1
- package/dist/shared/credential-matrix.d.ts +83 -0
- package/dist/shared/credential-matrix.js +65 -0
- package/dist/shared/env-tier.d.ts +2 -0
- package/dist/shared/env-tier.js +31 -0
- package/dist/shared/envelope.d.ts +69 -0
- package/dist/shared/envelope.js +84 -0
- package/dist/shared/errors.d.ts +79 -9
- package/dist/shared/errors.js +49 -11
- package/dist/shared/graphql.d.ts +2 -3
- package/dist/shared/graphql.js +31 -15
- package/dist/shared/history.d.ts +25 -1
- package/dist/shared/history.js +35 -1
- package/dist/shared/human-only-operations.d.ts +28 -0
- package/dist/shared/human-only-operations.js +33 -0
- package/dist/shared/keychain.d.ts +68 -1
- package/dist/shared/keychain.js +416 -46
- package/dist/shared/logger.d.ts +2 -1
- package/dist/shared/logger.js +12 -1
- package/dist/shared/output.d.ts +0 -1
- package/dist/shared/prompt.d.ts +0 -1
- package/dist/shared/prompt.js +2 -2
- package/dist/shared/publish-audit.d.ts +154 -0
- package/dist/shared/publish-audit.js +52 -0
- package/dist/shared/publish-consent.d.ts +104 -0
- package/dist/shared/publish-consent.js +148 -0
- package/dist/shared/redact.d.ts +0 -1
- package/dist/shared/redact.js +4 -2
- package/dist/shared/region.d.ts +96 -0
- package/dist/shared/region.js +129 -0
- package/dist/shared/rwlock.d.ts +43 -0
- package/dist/shared/rwlock.js +110 -0
- package/dist/shared/spinner.d.ts +0 -1
- package/dist/shared/style.d.ts +0 -1
- package/dist/shared/telemetry.d.ts +15 -2
- package/dist/shared/telemetry.js +59 -34
- package/dist/shared/topics.d.ts +33 -0
- package/dist/shared/topics.js +151 -0
- package/dist/shared/validate.d.ts +0 -1
- package/dist/shared/validate.js +18 -3
- package/dist/sites/api/collections.d.ts +0 -1
- package/dist/sites/api/jobs.d.ts +0 -1
- package/dist/sites/api/languages.d.ts +0 -1
- package/dist/sites/api/request.d.ts +0 -1
- package/dist/sites/api/request.js +13 -4
- package/dist/sites/api/sites.d.ts +44 -1
- package/dist/sites/api/sites.js +42 -1
- package/dist/sites/api/types.d.ts +0 -1
- package/dist/sites/index.d.ts +25 -0
- package/dist/sites/index.js +44 -0
- package/dist/sync/aggregate-kinds.d.ts +7 -0
- package/dist/sync/aggregate-kinds.js +32 -0
- package/dist/sync/aggregate.d.ts +100 -0
- package/dist/sync/aggregate.js +173 -0
- package/dist/sync/engine.d.ts +28 -0
- package/dist/sync/engine.js +38 -0
- package/dist/sync/index.d.ts +18 -0
- package/dist/sync/index.js +25 -0
- package/dist/sync/io.d.ts +8 -0
- package/dist/sync/io.js +52 -0
- package/dist/sync/kind.d.ts +80 -0
- package/dist/sync/kind.js +2 -0
- package/dist/sync/plan.d.ts +55 -0
- package/dist/sync/plan.js +27 -0
- package/dist/sync/registry.d.ts +7 -0
- package/dist/sync/registry.js +36 -0
- package/dist/webhooks/api/client.d.ts +134 -0
- package/dist/webhooks/api/client.js +326 -0
- package/dist/webhooks/api/graphql.d.ts +4 -0
- package/dist/webhooks/api/graphql.js +18 -0
- package/dist/webhooks/api/templates.d.ts +41 -0
- package/dist/webhooks/api/templates.js +78 -0
- package/dist/webhooks/index.d.ts +16 -0
- package/dist/webhooks/index.js +43 -0
- package/dist/webhooks/tasks/create.d.ts +58 -0
- package/dist/webhooks/tasks/create.js +127 -0
- package/dist/webhooks/tasks/delete.d.ts +14 -0
- package/dist/webhooks/tasks/delete.js +57 -0
- package/dist/webhooks/tasks/event-types.d.ts +21 -0
- package/dist/webhooks/tasks/event-types.js +32 -0
- package/dist/webhooks/tasks/inspect.d.ts +12 -0
- package/dist/webhooks/tasks/inspect.js +65 -0
- package/dist/webhooks/tasks/list.d.ts +29 -0
- package/dist/webhooks/tasks/list.js +41 -0
- package/dist/webhooks/tasks/shared.d.ts +35 -0
- package/dist/webhooks/tasks/shared.js +38 -0
- package/dist/workflow/api/client.d.ts +208 -0
- package/dist/workflow/api/client.js +421 -0
- package/dist/workflow/api/graphql.d.ts +4 -0
- package/dist/workflow/api/graphql.js +18 -0
- package/dist/workflow/api/resolve-command.d.ts +27 -0
- package/dist/workflow/api/resolve-command.js +26 -0
- package/dist/workflow/index.d.ts +18 -0
- package/dist/workflow/index.js +37 -0
- package/dist/workflow/tasks/advance.d.ts +39 -0
- package/dist/workflow/tasks/advance.js +182 -0
- package/dist/workflow/tasks/apply.d.ts +47 -0
- package/dist/workflow/tasks/apply.js +193 -0
- package/dist/workflow/tasks/assigned.d.ts +33 -0
- package/dist/workflow/tasks/assigned.js +41 -0
- package/dist/workflow/tasks/inspect.d.ts +60 -0
- package/dist/workflow/tasks/inspect.js +171 -0
- package/dist/workflow/tasks/list-commands.d.ts +21 -0
- package/dist/workflow/tasks/list-commands.js +54 -0
- package/dist/workflow/tasks/list-defs.d.ts +21 -0
- package/dist/workflow/tasks/list-defs.js +28 -0
- package/dist/workflow/tasks/reset.d.ts +33 -0
- package/dist/workflow/tasks/reset.js +137 -0
- package/dist/workflow/tasks/shared.d.ts +75 -0
- package/dist/workflow/tasks/shared.js +124 -0
- package/dist/workflow/tasks/status.d.ts +21 -0
- package/dist/workflow/tasks/status.js +41 -0
- package/package.json +102 -8
- package/dist/cli.d.ts.map +0 -1
- package/dist/commands/config.d.ts.map +0 -1
- package/dist/commands/deploy/deployments.d.ts.map +0 -1
- package/dist/commands/deploy/editing-host.d.ts.map +0 -1
- package/dist/commands/deploy/environments/deployments.d.ts.map +0 -1
- package/dist/commands/deploy/environments/index.d.ts.map +0 -1
- package/dist/commands/deploy/environments/mutations.d.ts.map +0 -1
- package/dist/commands/deploy/environments/queries.d.ts.map +0 -1
- package/dist/commands/deploy/environments/variables.d.ts.map +0 -1
- package/dist/commands/deploy/environments.d.ts.map +0 -1
- package/dist/commands/deploy/index.d.ts.map +0 -1
- package/dist/commands/deploy/logs.d.ts.map +0 -1
- package/dist/commands/deploy/organizations.d.ts.map +0 -1
- package/dist/commands/deploy/projects.d.ts.map +0 -1
- package/dist/commands/deploy/shared.d.ts.map +0 -1
- package/dist/commands/deploy/site.d.ts.map +0 -1
- package/dist/commands/deploy/source-control.d.ts.map +0 -1
- package/dist/commands/deploy.d.ts.map +0 -1
- package/dist/commands/history.d.ts.map +0 -1
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/login.d.ts.map +0 -1
- package/dist/commands/logout.d.ts.map +0 -1
- package/dist/commands/recipe/index.d.ts.map +0 -1
- package/dist/commands/serialization/index.d.ts.map +0 -1
- package/dist/commands/serialization/package.d.ts.map +0 -1
- package/dist/commands/shared.d.ts.map +0 -1
- package/dist/commands/shell.d.ts.map +0 -1
- package/dist/commands/status.d.ts.map +0 -1
- package/dist/commands/telemetry.d.ts.map +0 -1
- package/dist/config/env-overrides.d.ts.map +0 -1
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/modules.d.ts.map +0 -1
- package/dist/config/paths.d.ts.map +0 -1
- package/dist/config/root-config.d.ts.map +0 -1
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/validation.d.ts.map +0 -1
- package/dist/deploy/api/common/headers.d.ts.map +0 -1
- package/dist/deploy/api/common/index.d.ts +0 -4
- package/dist/deploy/api/common/index.d.ts.map +0 -1
- package/dist/deploy/api/common/index.js +0 -19
- package/dist/deploy/api/common/request.d.ts.map +0 -1
- package/dist/deploy/api/common/types.d.ts.map +0 -1
- package/dist/deploy/api/common.d.ts +0 -2
- package/dist/deploy/api/common.d.ts.map +0 -1
- package/dist/deploy/api/common.js +0 -17
- package/dist/deploy/api/deployment-logs.d.ts.map +0 -1
- package/dist/deploy/api/deployments.d.ts.map +0 -1
- package/dist/deploy/api/environments.d.ts.map +0 -1
- package/dist/deploy/api/index.d.ts.map +0 -1
- package/dist/deploy/api/logs.d.ts.map +0 -1
- package/dist/deploy/api/organizations.d.ts.map +0 -1
- package/dist/deploy/api/projects.d.ts.map +0 -1
- package/dist/deploy/api/source-control.d.ts.map +0 -1
- package/dist/deploy/api.d.ts.map +0 -1
- package/dist/deploy/tasks/deployment-result.d.ts.map +0 -1
- package/dist/deploy/tasks/deployments.d.ts.map +0 -1
- package/dist/deploy/tasks/editing-host.d.ts.map +0 -1
- package/dist/deploy/tasks/environments.d.ts.map +0 -1
- package/dist/deploy/tasks/index.d.ts +0 -10
- package/dist/deploy/tasks/index.d.ts.map +0 -1
- package/dist/deploy/tasks/index.js +0 -25
- package/dist/deploy/tasks/logs.d.ts.map +0 -1
- package/dist/deploy/tasks/organizations.d.ts.map +0 -1
- package/dist/deploy/tasks/projects.d.ts.map +0 -1
- package/dist/deploy/tasks/shared.d.ts.map +0 -1
- package/dist/deploy/tasks/site-bind.d.ts.map +0 -1
- package/dist/deploy/tasks/site.d.ts.map +0 -1
- package/dist/deploy/tasks/source-control.d.ts.map +0 -1
- package/dist/deploy/tasks/types.d.ts.map +0 -1
- package/dist/deploy/tasks.d.ts +0 -3
- package/dist/deploy/tasks.d.ts.map +0 -1
- package/dist/deploy/tasks.js +0 -18
- package/dist/recipe/api/auth.d.ts.map +0 -1
- package/dist/recipe/api/authoring-client.d.ts.map +0 -1
- package/dist/recipe/api/client.d.ts.map +0 -1
- package/dist/recipe/api/graphql.d.ts.map +0 -1
- package/dist/recipe/api/ref-encoding.d.ts.map +0 -1
- package/dist/recipe/api/site-discovery.d.ts.map +0 -1
- package/dist/recipe/api/sites-client.d.ts.map +0 -1
- package/dist/recipe/cache.d.ts.map +0 -1
- package/dist/recipe/compile/component-section.d.ts.map +0 -1
- package/dist/recipe/compile/component-template.d.ts.map +0 -1
- package/dist/recipe/compile/content-item.d.ts.map +0 -1
- package/dist/recipe/compile/content-template.d.ts.map +0 -1
- package/dist/recipe/compile/enumeration.d.ts.map +0 -1
- package/dist/recipe/compile/page-design.d.ts.map +0 -1
- package/dist/recipe/compile/parameters-template.d.ts +0 -14
- package/dist/recipe/compile/parameters-template.d.ts.map +0 -1
- package/dist/recipe/compile/parameters-template.js +0 -92
- package/dist/recipe/compile/partial-design.d.ts.map +0 -1
- package/dist/recipe/compile/section-definition.d.ts.map +0 -1
- package/dist/recipe/compile/shared.d.ts.map +0 -1
- package/dist/recipe/compile/site-template.d.ts.map +0 -1
- package/dist/recipe/compile/site.d.ts.map +0 -1
- package/dist/recipe/compile.d.ts.map +0 -1
- package/dist/recipe/execute.d.ts.map +0 -1
- package/dist/recipe/guids.d.ts.map +0 -1
- package/dist/recipe/index.d.ts.map +0 -1
- package/dist/recipe/io.d.ts.map +0 -1
- package/dist/recipe/ir/operations.d.ts.map +0 -1
- package/dist/recipe/ir/sitecore-templates.d.ts.map +0 -1
- package/dist/recipe/layout/emit.d.ts.map +0 -1
- package/dist/recipe/layout/templates-mapping.d.ts.map +0 -1
- package/dist/recipe/plan.d.ts.map +0 -1
- package/dist/recipe/policy.d.ts.map +0 -1
- package/dist/recipe/rollback.d.ts.map +0 -1
- package/dist/recipe/schema/field-types.d.ts.map +0 -1
- package/dist/recipe/schema/recipe.d.ts.map +0 -1
- package/dist/recipe/schema/source-fields.d.ts.map +0 -1
- package/dist/recipe/tasks/compile.d.ts.map +0 -1
- package/dist/recipe/tasks/diff.d.ts.map +0 -1
- package/dist/recipe/tasks/index.d.ts +0 -9
- package/dist/recipe/tasks/index.d.ts.map +0 -1
- package/dist/recipe/tasks/index.js +0 -13
- package/dist/recipe/tasks/placeholder-allow.d.ts.map +0 -1
- package/dist/recipe/tasks/plan.d.ts.map +0 -1
- package/dist/recipe/tasks/prune-defaults.d.ts.map +0 -1
- package/dist/recipe/tasks/push.d.ts.map +0 -1
- package/dist/recipe/tasks/shared.d.ts.map +0 -1
- package/dist/recipe/validate.d.ts.map +0 -1
- package/dist/serialization/commands.d.ts.map +0 -1
- package/dist/serialization/compare.d.ts.map +0 -1
- package/dist/serialization/field-filter.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/constants.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/index.d.ts +0 -4
- package/dist/serialization/filesystem-store/index.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/index.js +0 -15
- package/dist/serialization/filesystem-store/items.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/roles.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/users.d.ts.map +0 -1
- package/dist/serialization/filesystem-store/utils.d.ts.map +0 -1
- package/dist/serialization/filesystem-store.d.ts +0 -2
- package/dist/serialization/filesystem-store.d.ts.map +0 -1
- package/dist/serialization/filesystem-store.js +0 -17
- package/dist/serialization/item-path.d.ts.map +0 -1
- package/dist/serialization/path-provider.d.ts.map +0 -1
- package/dist/serialization/signature.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/auth.d.ts +0 -31
- package/dist/serialization/sitecore-api/auth.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/auth.js +0 -319
- package/dist/serialization/sitecore-api/graphql.d.ts +0 -12
- package/dist/serialization/sitecore-api/graphql.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/history.d.ts +0 -9
- package/dist/serialization/sitecore-api/history.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/index.d.ts +0 -7
- package/dist/serialization/sitecore-api/index.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/index.js +0 -22
- package/dist/serialization/sitecore-api/items.d.ts +0 -8
- package/dist/serialization/sitecore-api/items.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/items.js +0 -132
- package/dist/serialization/sitecore-api/publish.d.ts +0 -14
- package/dist/serialization/sitecore-api/publish.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/publish.js +0 -43
- package/dist/serialization/sitecore-api/roles.d.ts +0 -9
- package/dist/serialization/sitecore-api/roles.d.ts.map +0 -1
- package/dist/serialization/sitecore-api/users.d.ts +0 -9
- package/dist/serialization/sitecore-api/users.d.ts.map +0 -1
- package/dist/serialization/sitecore-api.d.ts +0 -2
- package/dist/serialization/sitecore-api.d.ts.map +0 -1
- package/dist/serialization/sitecore-api.js +0 -17
- package/dist/serialization/tasks/diff.d.ts.map +0 -1
- package/dist/serialization/tasks/env/constants.d.ts.map +0 -1
- package/dist/serialization/tasks/env/deploy-token.d.ts.map +0 -1
- package/dist/serialization/tasks/env/index.d.ts +0 -5
- package/dist/serialization/tasks/env/index.d.ts.map +0 -1
- package/dist/serialization/tasks/env/index.js +0 -11
- package/dist/serialization/tasks/env/init/auth.d.ts.map +0 -1
- package/dist/serialization/tasks/env/init/deploy-lookup.d.ts.map +0 -1
- package/dist/serialization/tasks/env/init.d.ts.map +0 -1
- package/dist/serialization/tasks/env/logout.d.ts.map +0 -1
- package/dist/serialization/tasks/env/status.d.ts.map +0 -1
- package/dist/serialization/tasks/env.d.ts +0 -2
- package/dist/serialization/tasks/env.d.ts.map +0 -1
- package/dist/serialization/tasks/env.js +0 -17
- package/dist/serialization/tasks/helpers/collect.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers/commands.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers/filesystem.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers/index.d.ts +0 -6
- package/dist/serialization/tasks/helpers/index.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers/index.js +0 -13
- package/dist/serialization/tasks/helpers/items.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers/sitecore.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers.d.ts +0 -2
- package/dist/serialization/tasks/helpers.d.ts.map +0 -1
- package/dist/serialization/tasks/helpers.js +0 -17
- package/dist/serialization/tasks/index.d.ts +0 -8
- package/dist/serialization/tasks/index.d.ts.map +0 -1
- package/dist/serialization/tasks/index.js +0 -19
- package/dist/serialization/tasks/info.d.ts.map +0 -1
- package/dist/serialization/tasks/package.d.ts.map +0 -1
- package/dist/serialization/tasks/pull.d.ts.map +0 -1
- package/dist/serialization/tasks/push.d.ts.map +0 -1
- package/dist/serialization/tasks/roles.d.ts.map +0 -1
- package/dist/serialization/tasks/shared.d.ts.map +0 -1
- package/dist/serialization/tasks/types.d.ts.map +0 -1
- package/dist/serialization/tasks/users.d.ts.map +0 -1
- package/dist/serialization/tasks/validate.d.ts.map +0 -1
- package/dist/serialization/tasks/watch.d.ts.map +0 -1
- package/dist/serialization/tasks.d.ts +0 -4
- package/dist/serialization/tasks.d.ts.map +0 -1
- package/dist/serialization/tasks.js +0 -19
- package/dist/serialization/tree-spec.d.ts.map +0 -1
- package/dist/serialization/types.d.ts.map +0 -1
- package/dist/serialization/wildcard.d.ts.map +0 -1
- package/dist/serialization/yaml.d.ts.map +0 -1
- package/dist/shared/browser.d.ts.map +0 -1
- package/dist/shared/cli-options.d.ts.map +0 -1
- package/dist/shared/cli-tasks.d.ts.map +0 -1
- package/dist/shared/config-template.d.ts.map +0 -1
- package/dist/shared/env.d.ts +0 -28
- package/dist/shared/env.d.ts.map +0 -1
- package/dist/shared/env.js +0 -38
- package/dist/shared/errors.d.ts.map +0 -1
- package/dist/shared/graphql.d.ts.map +0 -1
- package/dist/shared/history.d.ts.map +0 -1
- package/dist/shared/keychain.d.ts.map +0 -1
- package/dist/shared/logger.d.ts.map +0 -1
- package/dist/shared/output.d.ts.map +0 -1
- package/dist/shared/prompt.d.ts.map +0 -1
- package/dist/shared/redact.d.ts.map +0 -1
- package/dist/shared/spinner.d.ts.map +0 -1
- package/dist/shared/style.d.ts.map +0 -1
- package/dist/shared/telemetry.d.ts.map +0 -1
- package/dist/shared/validate.d.ts.map +0 -1
- package/dist/sites/api/collections.d.ts.map +0 -1
- package/dist/sites/api/index.d.ts +0 -26
- package/dist/sites/api/index.d.ts.map +0 -1
- package/dist/sites/api/index.js +0 -55
- package/dist/sites/api/jobs.d.ts.map +0 -1
- package/dist/sites/api/languages.d.ts.map +0 -1
- package/dist/sites/api/request.d.ts.map +0 -1
- package/dist/sites/api/sites.d.ts.map +0 -1
- package/dist/sites/api/types.d.ts.map +0 -1
- /package/dist/serialization/{sitecore-api → api}/graphql.js +0 -0
- /package/dist/serialization/{sitecore-api → api}/history.js +0 -0
- /package/dist/serialization/{sitecore-api → api}/roles.js +0 -0
- /package/dist/serialization/{sitecore-api → api}/users.js +0 -0
|
@@ -43,6 +43,11 @@ export declare const SitecoreFieldAugmentSchema: z.ZodObject<{
|
|
|
43
43
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
44
44
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
45
45
|
section: z.ZodOptional<z.ZodString>;
|
|
46
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
unversioned: "unversioned";
|
|
48
|
+
versioned: "versioned";
|
|
49
|
+
shared: "shared";
|
|
50
|
+
}>>;
|
|
46
51
|
}, z.core.$strip>;
|
|
47
52
|
export type SitecoreFieldAugment = z.infer<typeof SitecoreFieldAugmentSchema>;
|
|
48
53
|
export declare const FieldDefinitionSchema: z.ZodObject<{
|
|
@@ -50,13 +55,13 @@ export declare const FieldDefinitionSchema: z.ZodObject<{
|
|
|
50
55
|
shape: z.ZodEnum<{
|
|
51
56
|
number: "number";
|
|
52
57
|
boolean: "boolean";
|
|
53
|
-
integer: "integer";
|
|
54
58
|
link: "link";
|
|
59
|
+
integer: "integer";
|
|
55
60
|
enum: "enum";
|
|
56
|
-
text: "text";
|
|
57
61
|
date: "date";
|
|
58
|
-
|
|
62
|
+
text: "text";
|
|
59
63
|
image: "image";
|
|
64
|
+
richText: "richText";
|
|
60
65
|
datetime: "datetime";
|
|
61
66
|
reference: "reference";
|
|
62
67
|
}>;
|
|
@@ -93,21 +98,26 @@ export declare const FieldDefinitionSchema: z.ZodObject<{
|
|
|
93
98
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
94
99
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
95
100
|
section: z.ZodOptional<z.ZodString>;
|
|
101
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
102
|
+
unversioned: "unversioned";
|
|
103
|
+
versioned: "versioned";
|
|
104
|
+
shared: "shared";
|
|
105
|
+
}>>;
|
|
96
106
|
}, z.core.$strip>>;
|
|
97
107
|
}, z.core.$strip>;
|
|
98
108
|
export type FieldDefinition = z.infer<typeof FieldDefinitionSchema>;
|
|
99
|
-
export declare const
|
|
109
|
+
export declare const DesignParameterSchema: z.ZodObject<{
|
|
100
110
|
name: z.ZodString;
|
|
101
111
|
shape: z.ZodEnum<{
|
|
102
112
|
number: "number";
|
|
103
113
|
boolean: "boolean";
|
|
104
|
-
integer: "integer";
|
|
105
114
|
link: "link";
|
|
115
|
+
integer: "integer";
|
|
106
116
|
enum: "enum";
|
|
107
|
-
text: "text";
|
|
108
117
|
date: "date";
|
|
109
|
-
|
|
118
|
+
text: "text";
|
|
110
119
|
image: "image";
|
|
120
|
+
richText: "richText";
|
|
111
121
|
datetime: "datetime";
|
|
112
122
|
reference: "reference";
|
|
113
123
|
}>;
|
|
@@ -143,18 +153,71 @@ export declare const ParamDefinitionSchema: z.ZodObject<{
|
|
|
143
153
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
144
154
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
145
155
|
section: z.ZodOptional<z.ZodString>;
|
|
156
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
unversioned: "unversioned";
|
|
158
|
+
versioned: "versioned";
|
|
159
|
+
shared: "shared";
|
|
160
|
+
}>>;
|
|
146
161
|
}, z.core.$strip>>;
|
|
147
162
|
}, z.core.$strip>;
|
|
148
|
-
export type
|
|
163
|
+
export type DesignParameter = z.infer<typeof DesignParameterSchema>;
|
|
149
164
|
export declare const RenderingVariantDefinitionSchema: z.ZodObject<{
|
|
150
165
|
name: z.ZodString;
|
|
151
166
|
}, z.core.$strip>;
|
|
152
167
|
export type RenderingVariantDefinition = z.infer<typeof RenderingVariantDefinitionSchema>;
|
|
168
|
+
/**
|
|
169
|
+
* An inline placeholder slot a container component EXPOSES for child
|
|
170
|
+
* renderings to drop into. The hybrid placeholder model's component-owned
|
|
171
|
+
* half: a Section / Grid / Tabs component declares the slots it owns
|
|
172
|
+
* here; site-level chrome slots (`/header`, `/footer`) that belong to no
|
|
173
|
+
* single component are authored as a standalone `PlaceholderRecipe`
|
|
174
|
+
* instead.
|
|
175
|
+
*
|
|
176
|
+
* Both forms compile to the same artifact — one Sitecore Placeholder
|
|
177
|
+
* Settings item per unique `key` — emitted by the cross-recipe
|
|
178
|
+
* `buildPlaceholderSettingsAggregate` (see `compile.ts`). Identity is the
|
|
179
|
+
* `key`, so an inline slot and a `PlaceholderRecipe` MUST NOT name the
|
|
180
|
+
* same key; `validateRecipeSet` flags the collision.
|
|
181
|
+
*/
|
|
153
182
|
export declare const PlaceholderDefinitionSchema: z.ZodObject<{
|
|
154
183
|
key: z.ZodString;
|
|
155
|
-
|
|
184
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
185
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
186
|
+
dynamic: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
allowedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
188
|
}, z.core.$strip>;
|
|
157
189
|
export type PlaceholderDefinition = z.infer<typeof PlaceholderDefinitionSchema>;
|
|
190
|
+
/**
|
|
191
|
+
* A standalone placeholder — the hybrid model's site-chrome half. Slots
|
|
192
|
+
* like `/header`, `/footer`, `/main`, or a page-design CTA band belong to
|
|
193
|
+
* no single component; they're authored as their own recipe so partials
|
|
194
|
+
* and page designs have a typed, validated target to place renderings
|
|
195
|
+
* into.
|
|
196
|
+
*
|
|
197
|
+
* Compiles (via `buildPlaceholderSettingsAggregate`) to one Sitecore
|
|
198
|
+
* Placeholder Settings item under the tenant's `placeholderSettingsRoot`,
|
|
199
|
+
* carrying the `Placeholder Key` and an `Allowed Controls` whitelist =
|
|
200
|
+
* `allowedComponents` ∪ every component whose `placedIn` names this
|
|
201
|
+
* `key`.
|
|
202
|
+
*
|
|
203
|
+
* Identity: `placeholderSettingsId(site, key)` — keyed by `key`, not
|
|
204
|
+
* `handle`. The `handle` is the authoring-surface identity used for
|
|
205
|
+
* cross-recipe references and validation messages.
|
|
206
|
+
*/
|
|
207
|
+
export declare const PlaceholderRecipeSchema: z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
209
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
210
|
+
handle: z.ZodString;
|
|
211
|
+
key: z.ZodString;
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
displayName: z.ZodString;
|
|
214
|
+
description: z.ZodOptional<z.ZodString>;
|
|
215
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
216
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
217
|
+
dynamic: z.ZodDefault<z.ZodBoolean>;
|
|
218
|
+
allowedComponents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
export type PlaceholderRecipe = z.infer<typeof PlaceholderRecipeSchema>;
|
|
158
221
|
/**
|
|
159
222
|
* One entry in the modern semantic-scope datasource locations list.
|
|
160
223
|
*
|
|
@@ -268,13 +331,13 @@ export declare const ComponentTemplateRecipeSchema: z.ZodObject<{
|
|
|
268
331
|
shape: z.ZodEnum<{
|
|
269
332
|
number: "number";
|
|
270
333
|
boolean: "boolean";
|
|
271
|
-
integer: "integer";
|
|
272
334
|
link: "link";
|
|
335
|
+
integer: "integer";
|
|
273
336
|
enum: "enum";
|
|
274
|
-
text: "text";
|
|
275
337
|
date: "date";
|
|
276
|
-
|
|
338
|
+
text: "text";
|
|
277
339
|
image: "image";
|
|
340
|
+
richText: "richText";
|
|
278
341
|
datetime: "datetime";
|
|
279
342
|
reference: "reference";
|
|
280
343
|
}>;
|
|
@@ -311,6 +374,11 @@ export declare const ComponentTemplateRecipeSchema: z.ZodObject<{
|
|
|
311
374
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
312
375
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
313
376
|
section: z.ZodOptional<z.ZodString>;
|
|
377
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
378
|
+
unversioned: "unversioned";
|
|
379
|
+
versioned: "versioned";
|
|
380
|
+
shared: "shared";
|
|
381
|
+
}>>;
|
|
314
382
|
}, z.core.$strip>>;
|
|
315
383
|
}, z.core.$strip>>>;
|
|
316
384
|
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -344,13 +412,13 @@ export declare const ComponentTemplateRecipeSchema: z.ZodObject<{
|
|
|
344
412
|
shape: z.ZodEnum<{
|
|
345
413
|
number: "number";
|
|
346
414
|
boolean: "boolean";
|
|
347
|
-
integer: "integer";
|
|
348
415
|
link: "link";
|
|
416
|
+
integer: "integer";
|
|
349
417
|
enum: "enum";
|
|
350
|
-
text: "text";
|
|
351
418
|
date: "date";
|
|
352
|
-
|
|
419
|
+
text: "text";
|
|
353
420
|
image: "image";
|
|
421
|
+
richText: "richText";
|
|
354
422
|
datetime: "datetime";
|
|
355
423
|
reference: "reference";
|
|
356
424
|
}>;
|
|
@@ -386,12 +454,20 @@ export declare const ComponentTemplateRecipeSchema: z.ZodObject<{
|
|
|
386
454
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
387
455
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
388
456
|
section: z.ZodOptional<z.ZodString>;
|
|
457
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
458
|
+
unversioned: "unversioned";
|
|
459
|
+
versioned: "versioned";
|
|
460
|
+
shared: "shared";
|
|
461
|
+
}>>;
|
|
389
462
|
}, z.core.$strip>>;
|
|
390
463
|
}, z.core.$strip>>>;
|
|
391
464
|
placedIn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
392
465
|
placeholders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
393
466
|
key: z.ZodString;
|
|
394
|
-
|
|
467
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
468
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
469
|
+
dynamic: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
allowedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
395
471
|
}, z.core.$strip>>>;
|
|
396
472
|
dynamicPlaceholders: z.ZodDefault<z.ZodBoolean>;
|
|
397
473
|
otherProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -455,13 +531,13 @@ export declare const ContentTemplateRecipeSchema: z.ZodObject<{
|
|
|
455
531
|
shape: z.ZodEnum<{
|
|
456
532
|
number: "number";
|
|
457
533
|
boolean: "boolean";
|
|
458
|
-
integer: "integer";
|
|
459
534
|
link: "link";
|
|
535
|
+
integer: "integer";
|
|
460
536
|
enum: "enum";
|
|
461
|
-
text: "text";
|
|
462
537
|
date: "date";
|
|
463
|
-
|
|
538
|
+
text: "text";
|
|
464
539
|
image: "image";
|
|
540
|
+
richText: "richText";
|
|
465
541
|
datetime: "datetime";
|
|
466
542
|
reference: "reference";
|
|
467
543
|
}>;
|
|
@@ -498,9 +574,15 @@ export declare const ContentTemplateRecipeSchema: z.ZodObject<{
|
|
|
498
574
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
499
575
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
500
576
|
section: z.ZodOptional<z.ZodString>;
|
|
577
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
578
|
+
unversioned: "unversioned";
|
|
579
|
+
versioned: "versioned";
|
|
580
|
+
shared: "shared";
|
|
581
|
+
}>>;
|
|
501
582
|
}, z.core.$strip>>;
|
|
502
583
|
}, z.core.$strip>>>;
|
|
503
584
|
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
585
|
+
defaultWorkflow: z.ZodOptional<z.ZodString>;
|
|
504
586
|
}, z.core.$strip>;
|
|
505
587
|
export type ContentTemplateRecipe = z.infer<typeof ContentTemplateRecipeSchema>;
|
|
506
588
|
/**
|
|
@@ -516,15 +598,15 @@ export type ContentTemplateRecipe = z.infer<typeof ContentTemplateRecipeSchema>;
|
|
|
516
598
|
* into an anonymous parameters template owned by one component);
|
|
517
599
|
* standalone parameters templates are reusable across components.
|
|
518
600
|
*
|
|
519
|
-
* Identity: `
|
|
601
|
+
* Identity: `designParametersTemplateId(handle)` derives the deterministic GUID.
|
|
520
602
|
* Same identity scheme as the inline-hoisted variant — the seed is the
|
|
521
603
|
* recipe handle, and the namespace is `NAMESPACE_TEMPLATE`. The seed
|
|
522
604
|
* suffix is `::params`, identical between inline and standalone forms,
|
|
523
605
|
* which keeps re-pushes idempotent if a recipe migrates from inline to
|
|
524
606
|
* standalone (the GUID stays the same).
|
|
525
607
|
*/
|
|
526
|
-
export declare const
|
|
527
|
-
kind: z.ZodLiteral<"parameters-template">;
|
|
608
|
+
export declare const DesignParametersTemplateRecipeSchema: z.ZodObject<{
|
|
609
|
+
kind: z.ZodLiteral<"design-parameters-template">;
|
|
528
610
|
schemaVersion: z.ZodLiteral<"1">;
|
|
529
611
|
handle: z.ZodString;
|
|
530
612
|
name: z.ZodString;
|
|
@@ -537,13 +619,13 @@ export declare const ParametersTemplateRecipeSchema: z.ZodObject<{
|
|
|
537
619
|
shape: z.ZodEnum<{
|
|
538
620
|
number: "number";
|
|
539
621
|
boolean: "boolean";
|
|
540
|
-
integer: "integer";
|
|
541
622
|
link: "link";
|
|
623
|
+
integer: "integer";
|
|
542
624
|
enum: "enum";
|
|
543
|
-
text: "text";
|
|
544
625
|
date: "date";
|
|
545
|
-
|
|
626
|
+
text: "text";
|
|
546
627
|
image: "image";
|
|
628
|
+
richText: "richText";
|
|
547
629
|
datetime: "datetime";
|
|
548
630
|
reference: "reference";
|
|
549
631
|
}>;
|
|
@@ -579,10 +661,15 @@ export declare const ParametersTemplateRecipeSchema: z.ZodObject<{
|
|
|
579
661
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
580
662
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
581
663
|
section: z.ZodOptional<z.ZodString>;
|
|
664
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
unversioned: "unversioned";
|
|
666
|
+
versioned: "versioned";
|
|
667
|
+
shared: "shared";
|
|
668
|
+
}>>;
|
|
582
669
|
}, z.core.$strip>>;
|
|
583
670
|
}, z.core.$strip>>>;
|
|
584
671
|
}, z.core.$strip>;
|
|
585
|
-
export type
|
|
672
|
+
export type DesignParametersTemplateRecipe = z.infer<typeof DesignParametersTemplateRecipeSchema>;
|
|
586
673
|
/**
|
|
587
674
|
* Available Rendering Section Definition — declares an SXA section
|
|
588
675
|
* definition item that the registry uses as the target for
|
|
@@ -674,28 +761,8 @@ export declare const ContentFieldValueSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
674
761
|
refs: z.ZodArray<z.ZodString>;
|
|
675
762
|
}, z.core.$strip>], "shape">;
|
|
676
763
|
export type ContentFieldValue = z.infer<typeof ContentFieldValueSchema>;
|
|
677
|
-
/**
|
|
678
|
-
|
|
679
|
-
* template, populated with the recipe's field values. The Phase 4
|
|
680
|
-
* companion to `ContentTemplateRecipe`: templates declare shape, content
|
|
681
|
-
* items declare instance.
|
|
682
|
-
*
|
|
683
|
-
* Used as the `kind: "shared"` datasource target for `PartialDesignRecipe`
|
|
684
|
-
* and `PageDesignRecipe` placements (e.g. `site-logo-content@1`,
|
|
685
|
-
* `primary-nav-content@1`). The handle is load-bearing — `contentItemId`
|
|
686
|
-
* derives the deterministic Sitecore GUID from it.
|
|
687
|
-
*
|
|
688
|
-
* Field-shape ↔ template-shape validation is deferred to the Phase 4
|
|
689
|
-
* compiler (it requires cross-recipe lookup; Zod can't enforce it alone).
|
|
690
|
-
*/
|
|
691
|
-
export declare const ContentItemRecipeSchema: z.ZodObject<{
|
|
692
|
-
kind: z.ZodLiteral<"content-item">;
|
|
693
|
-
schemaVersion: z.ZodLiteral<"1">;
|
|
694
|
-
handle: z.ZodString;
|
|
695
|
-
name: z.ZodString;
|
|
696
|
-
displayName: z.ZodString;
|
|
697
|
-
description: z.ZodOptional<z.ZodString>;
|
|
698
|
-
templateType: z.ZodString;
|
|
764
|
+
/** Per-language field values — a simple-mode translation of a content item. */
|
|
765
|
+
export declare const ContentTranslationSchema: z.ZodObject<{
|
|
699
766
|
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
700
767
|
shape: z.ZodLiteral<"text">;
|
|
701
768
|
value: z.ZodString;
|
|
@@ -742,118 +809,64 @@ export declare const ContentItemRecipeSchema: z.ZodObject<{
|
|
|
742
809
|
refs: z.ZodArray<z.ZodString>;
|
|
743
810
|
}, z.core.$strip>], "shape">>>;
|
|
744
811
|
}, z.core.$strip>;
|
|
745
|
-
export type
|
|
812
|
+
export type ContentTranslation = z.infer<typeof ContentTranslationSchema>;
|
|
746
813
|
/**
|
|
747
|
-
*
|
|
748
|
-
*
|
|
749
|
-
*
|
|
750
|
-
*
|
|
751
|
-
* The single shape used by anything that holds layout — `PartialDesignRecipe`,
|
|
752
|
-
* `PageDesignRecipe`, and (when Phase 3 lands) `PageRecipe`. The
|
|
753
|
-
* `componentHandle` resolves to a `ComponentTemplateRecipe`'s rendering
|
|
754
|
-
* GUID via `renderingId(handle)`.
|
|
755
|
-
*
|
|
756
|
-
* `datasourceRef` distinguishes how the rendering gets its content:
|
|
814
|
+
* A personalization variant within a numbered version — an
|
|
815
|
+
* audience-conditional alternative. Carries a partial field delta (and an
|
|
816
|
+
* optional layout) against the version's default.
|
|
757
817
|
*
|
|
758
|
-
*
|
|
759
|
-
*
|
|
760
|
-
*
|
|
761
|
-
* `PartialDesignRecipe` and `PageDesignRecipe` typically don't
|
|
762
|
-
* use this kind, but the shared schema accepts it.
|
|
763
|
-
* none — config-driven rendering with no datasource (rare).
|
|
818
|
+
* The exact XM Cloud personalization wire model is unverified; the compiler
|
|
819
|
+
* mapping for `variants` is deferred — see docs/recipe-sync-architecture.md,
|
|
820
|
+
* "Personalization variants".
|
|
764
821
|
*/
|
|
765
|
-
export declare const
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
kind: z.ZodLiteral<"shared">;
|
|
771
|
-
handle: z.ZodString;
|
|
822
|
+
export declare const ContentVariantSchema: z.ZodObject<{
|
|
823
|
+
audience: z.ZodString;
|
|
824
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
825
|
+
shape: z.ZodLiteral<"text">;
|
|
826
|
+
value: z.ZodString;
|
|
772
827
|
}, z.core.$strip>, z.ZodObject<{
|
|
773
|
-
|
|
774
|
-
|
|
828
|
+
shape: z.ZodLiteral<"richText">;
|
|
829
|
+
value: z.ZodString;
|
|
775
830
|
}, z.core.$strip>, z.ZodObject<{
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
}, z.core.$strip
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}, z.core.$strip
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
displayName: z.ZodString;
|
|
816
|
-
description: z.ZodOptional<z.ZodString>;
|
|
817
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
818
|
-
layout: z.ZodObject<{
|
|
819
|
-
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
820
|
-
componentHandle: z.ZodString;
|
|
821
|
-
variant: z.ZodOptional<z.ZodString>;
|
|
822
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
823
|
-
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
824
|
-
kind: z.ZodLiteral<"shared">;
|
|
825
|
-
handle: z.ZodString;
|
|
826
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
827
|
-
kind: z.ZodLiteral<"scoped">;
|
|
828
|
-
slot: z.ZodString;
|
|
829
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
830
|
-
kind: z.ZodLiteral<"none">;
|
|
831
|
-
}, z.core.$strip>], "kind">>;
|
|
832
|
-
}, z.core.$strip>>>>;
|
|
833
|
-
}, z.core.$strip>;
|
|
834
|
-
}, z.core.$strip>;
|
|
835
|
-
export type PartialDesignRecipe = z.infer<typeof PartialDesignRecipeSchema>;
|
|
836
|
-
/**
|
|
837
|
-
* Maps page templates to a layout. Lives at
|
|
838
|
-
* `/sitecore/.../Presentation/Page Designs/<name>` on a tenant. Establishes
|
|
839
|
-
* the templates-to-design mapping (the Sitecore SXA Page Designs root
|
|
840
|
-
* field), lists which partial designs wrap content, and optionally adds
|
|
841
|
-
* its own pre-placed renderings.
|
|
842
|
-
*
|
|
843
|
-
* Identity: `pageDesignId(handle)` derives the deterministic GUID from
|
|
844
|
-
* the recipe handle.
|
|
845
|
-
*/
|
|
846
|
-
export declare const PageDesignRecipeSchema: z.ZodObject<{
|
|
847
|
-
kind: z.ZodLiteral<"page-design">;
|
|
848
|
-
schemaVersion: z.ZodLiteral<"1">;
|
|
849
|
-
handle: z.ZodString;
|
|
850
|
-
name: z.ZodString;
|
|
851
|
-
displayName: z.ZodString;
|
|
852
|
-
description: z.ZodOptional<z.ZodString>;
|
|
853
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
854
|
-
appliesTo: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
855
|
-
partials: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
856
|
-
layout: z.ZodOptional<z.ZodObject<{
|
|
831
|
+
shape: z.ZodLiteral<"boolean">;
|
|
832
|
+
value: z.ZodBoolean;
|
|
833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
834
|
+
shape: z.ZodLiteral<"number">;
|
|
835
|
+
value: z.ZodNumber;
|
|
836
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
837
|
+
shape: z.ZodLiteral<"integer">;
|
|
838
|
+
value: z.ZodNumber;
|
|
839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
840
|
+
shape: z.ZodLiteral<"date">;
|
|
841
|
+
value: z.ZodString;
|
|
842
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
843
|
+
shape: z.ZodLiteral<"datetime">;
|
|
844
|
+
value: z.ZodString;
|
|
845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
846
|
+
shape: z.ZodLiteral<"enum">;
|
|
847
|
+
value: z.ZodString;
|
|
848
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
849
|
+
shape: z.ZodLiteral<"image">;
|
|
850
|
+
mediaPath: z.ZodString;
|
|
851
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
852
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
853
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
855
|
+
shape: z.ZodLiteral<"link-external">;
|
|
856
|
+
href: z.ZodString;
|
|
857
|
+
text: z.ZodOptional<z.ZodString>;
|
|
858
|
+
target: z.ZodOptional<z.ZodString>;
|
|
859
|
+
title: z.ZodOptional<z.ZodString>;
|
|
860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
861
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
862
|
+
ref: z.ZodString;
|
|
863
|
+
text: z.ZodOptional<z.ZodString>;
|
|
864
|
+
target: z.ZodOptional<z.ZodString>;
|
|
865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
+
shape: z.ZodLiteral<"reference">;
|
|
867
|
+
refs: z.ZodArray<z.ZodString>;
|
|
868
|
+
}, z.core.$strip>], "shape">>>;
|
|
869
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
857
870
|
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
858
871
|
componentHandle: z.ZodString;
|
|
859
872
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -868,36 +881,803 @@ export declare const PageDesignRecipeSchema: z.ZodObject<{
|
|
|
868
881
|
kind: z.ZodLiteral<"none">;
|
|
869
882
|
}, z.core.$strip>], "kind">>;
|
|
870
883
|
}, z.core.$strip>>>>;
|
|
871
|
-
}, z.core.$strip
|
|
872
|
-
}, z.core.$strip>;
|
|
873
|
-
export type PageDesignRecipe = z.infer<typeof PageDesignRecipeSchema>;
|
|
874
|
-
/**
|
|
875
|
-
* Default dictionary entry on a `SiteTemplateRecipe`. Every entry the
|
|
876
|
-
* template declares becomes a Sitecore dictionary phrase with the
|
|
877
|
-
* supplied default value. Sites instancing the template can override
|
|
878
|
-
* the value per-phrase via `SiteRecipe.dictionaryOverrides`; phrases
|
|
879
|
-
* not overridden read the template default.
|
|
880
|
-
*/
|
|
881
|
-
export declare const SiteTemplateDictionaryEntrySchema: z.ZodObject<{
|
|
882
|
-
phrase: z.ZodString;
|
|
883
|
-
defaultValue: z.ZodString;
|
|
884
|
+
}, z.core.$strip>>>;
|
|
884
885
|
}, z.core.$strip>;
|
|
885
|
-
export type
|
|
886
|
+
export type ContentVariant = z.infer<typeof ContentVariantSchema>;
|
|
886
887
|
/**
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
* per-root via `SiteRecipe.taxonomyOverrides`.
|
|
888
|
+
* One numbered version of a content item in a single language — the unit a
|
|
889
|
+
* story-seed recipe authors. See docs/recipe-sync-architecture.md,
|
|
890
|
+
* "Content versioning — seeding a story".
|
|
891
891
|
*/
|
|
892
|
-
export declare const
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
892
|
+
export declare const ContentVersionSchema: z.ZodObject<{
|
|
893
|
+
version: z.ZodNumber;
|
|
894
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
895
|
+
shape: z.ZodLiteral<"text">;
|
|
896
|
+
value: z.ZodString;
|
|
897
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
898
|
+
shape: z.ZodLiteral<"richText">;
|
|
899
|
+
value: z.ZodString;
|
|
900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
901
|
+
shape: z.ZodLiteral<"boolean">;
|
|
902
|
+
value: z.ZodBoolean;
|
|
903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
904
|
+
shape: z.ZodLiteral<"number">;
|
|
905
|
+
value: z.ZodNumber;
|
|
906
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
907
|
+
shape: z.ZodLiteral<"integer">;
|
|
908
|
+
value: z.ZodNumber;
|
|
909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
910
|
+
shape: z.ZodLiteral<"date">;
|
|
911
|
+
value: z.ZodString;
|
|
912
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
913
|
+
shape: z.ZodLiteral<"datetime">;
|
|
914
|
+
value: z.ZodString;
|
|
915
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
916
|
+
shape: z.ZodLiteral<"enum">;
|
|
917
|
+
value: z.ZodString;
|
|
918
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
919
|
+
shape: z.ZodLiteral<"image">;
|
|
920
|
+
mediaPath: z.ZodString;
|
|
921
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
922
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
923
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
925
|
+
shape: z.ZodLiteral<"link-external">;
|
|
926
|
+
href: z.ZodString;
|
|
927
|
+
text: z.ZodOptional<z.ZodString>;
|
|
928
|
+
target: z.ZodOptional<z.ZodString>;
|
|
929
|
+
title: z.ZodOptional<z.ZodString>;
|
|
930
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
931
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
932
|
+
ref: z.ZodString;
|
|
933
|
+
text: z.ZodOptional<z.ZodString>;
|
|
934
|
+
target: z.ZodOptional<z.ZodString>;
|
|
935
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
936
|
+
shape: z.ZodLiteral<"reference">;
|
|
937
|
+
refs: z.ZodArray<z.ZodString>;
|
|
938
|
+
}, z.core.$strip>], "shape">>>;
|
|
939
|
+
workflowState: z.ZodOptional<z.ZodString>;
|
|
940
|
+
date: z.ZodOptional<z.ZodString>;
|
|
941
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
942
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
943
|
+
componentHandle: z.ZodString;
|
|
944
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
945
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
946
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
947
|
+
kind: z.ZodLiteral<"shared">;
|
|
948
|
+
handle: z.ZodString;
|
|
949
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
950
|
+
kind: z.ZodLiteral<"scoped">;
|
|
951
|
+
slot: z.ZodString;
|
|
952
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
953
|
+
kind: z.ZodLiteral<"none">;
|
|
954
|
+
}, z.core.$strip>], "kind">>;
|
|
955
|
+
}, z.core.$strip>>>>;
|
|
956
|
+
}, z.core.$strip>>>;
|
|
957
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
958
|
+
audience: z.ZodString;
|
|
959
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
960
|
+
shape: z.ZodLiteral<"text">;
|
|
961
|
+
value: z.ZodString;
|
|
962
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
963
|
+
shape: z.ZodLiteral<"richText">;
|
|
964
|
+
value: z.ZodString;
|
|
965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
966
|
+
shape: z.ZodLiteral<"boolean">;
|
|
967
|
+
value: z.ZodBoolean;
|
|
968
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
969
|
+
shape: z.ZodLiteral<"number">;
|
|
970
|
+
value: z.ZodNumber;
|
|
971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
972
|
+
shape: z.ZodLiteral<"integer">;
|
|
973
|
+
value: z.ZodNumber;
|
|
974
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
975
|
+
shape: z.ZodLiteral<"date">;
|
|
976
|
+
value: z.ZodString;
|
|
977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
978
|
+
shape: z.ZodLiteral<"datetime">;
|
|
979
|
+
value: z.ZodString;
|
|
980
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
981
|
+
shape: z.ZodLiteral<"enum">;
|
|
982
|
+
value: z.ZodString;
|
|
983
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
984
|
+
shape: z.ZodLiteral<"image">;
|
|
985
|
+
mediaPath: z.ZodString;
|
|
986
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
987
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
990
|
+
shape: z.ZodLiteral<"link-external">;
|
|
991
|
+
href: z.ZodString;
|
|
992
|
+
text: z.ZodOptional<z.ZodString>;
|
|
993
|
+
target: z.ZodOptional<z.ZodString>;
|
|
994
|
+
title: z.ZodOptional<z.ZodString>;
|
|
995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
996
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
997
|
+
ref: z.ZodString;
|
|
998
|
+
text: z.ZodOptional<z.ZodString>;
|
|
999
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1001
|
+
shape: z.ZodLiteral<"reference">;
|
|
1002
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1003
|
+
}, z.core.$strip>], "shape">>>;
|
|
1004
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1005
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1006
|
+
componentHandle: z.ZodString;
|
|
1007
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1009
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1010
|
+
kind: z.ZodLiteral<"shared">;
|
|
1011
|
+
handle: z.ZodString;
|
|
1012
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1013
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1014
|
+
slot: z.ZodString;
|
|
1015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1016
|
+
kind: z.ZodLiteral<"none">;
|
|
1017
|
+
}, z.core.$strip>], "kind">>;
|
|
1018
|
+
}, z.core.$strip>>>>;
|
|
1019
|
+
}, z.core.$strip>>>;
|
|
1020
|
+
}, z.core.$strip>>>;
|
|
1021
|
+
}, z.core.$strip>;
|
|
1022
|
+
export type ContentVersion = z.infer<typeof ContentVersionSchema>;
|
|
1023
|
+
/**
|
|
1024
|
+
* A concrete content item — one Sitecore item conforming to a content
|
|
1025
|
+
* template, populated with the recipe's field values. The Phase 4
|
|
1026
|
+
* companion to `ContentTemplateRecipe`: templates declare shape, content
|
|
1027
|
+
* items declare instance.
|
|
1028
|
+
*
|
|
1029
|
+
* Used as the `kind: "shared"` datasource target for `PartialDesignRecipe`
|
|
1030
|
+
* and `PageDesignRecipe` placements (e.g. `site-logo-content@1`,
|
|
1031
|
+
* `primary-nav-content@1`). The handle is load-bearing — `contentItemId`
|
|
1032
|
+
* derives the deterministic Sitecore GUID from it.
|
|
1033
|
+
*
|
|
1034
|
+
* Field-shape ↔ template-shape validation is deferred to the Phase 4
|
|
1035
|
+
* compiler (it requires cross-recipe lookup; Zod can't enforce it alone).
|
|
1036
|
+
*/
|
|
1037
|
+
export declare const ContentItemRecipeSchema: z.ZodObject<{
|
|
1038
|
+
kind: z.ZodLiteral<"content-item">;
|
|
1039
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1040
|
+
handle: z.ZodString;
|
|
1041
|
+
name: z.ZodString;
|
|
1042
|
+
displayName: z.ZodString;
|
|
1043
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1044
|
+
templateType: z.ZodString;
|
|
1045
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1046
|
+
shape: z.ZodLiteral<"text">;
|
|
1047
|
+
value: z.ZodString;
|
|
1048
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1049
|
+
shape: z.ZodLiteral<"richText">;
|
|
1050
|
+
value: z.ZodString;
|
|
1051
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1052
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1053
|
+
value: z.ZodBoolean;
|
|
1054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1055
|
+
shape: z.ZodLiteral<"number">;
|
|
1056
|
+
value: z.ZodNumber;
|
|
1057
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1058
|
+
shape: z.ZodLiteral<"integer">;
|
|
1059
|
+
value: z.ZodNumber;
|
|
1060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1061
|
+
shape: z.ZodLiteral<"date">;
|
|
1062
|
+
value: z.ZodString;
|
|
1063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1064
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1065
|
+
value: z.ZodString;
|
|
1066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1067
|
+
shape: z.ZodLiteral<"enum">;
|
|
1068
|
+
value: z.ZodString;
|
|
1069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1070
|
+
shape: z.ZodLiteral<"image">;
|
|
1071
|
+
mediaPath: z.ZodString;
|
|
1072
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1074
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1076
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1077
|
+
href: z.ZodString;
|
|
1078
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1079
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1082
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1083
|
+
ref: z.ZodString;
|
|
1084
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1085
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1087
|
+
shape: z.ZodLiteral<"reference">;
|
|
1088
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1089
|
+
}, z.core.$strip>], "shape">>>;
|
|
1090
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1091
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1092
|
+
shape: z.ZodLiteral<"text">;
|
|
1093
|
+
value: z.ZodString;
|
|
1094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1095
|
+
shape: z.ZodLiteral<"richText">;
|
|
1096
|
+
value: z.ZodString;
|
|
1097
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1098
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1099
|
+
value: z.ZodBoolean;
|
|
1100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1101
|
+
shape: z.ZodLiteral<"number">;
|
|
1102
|
+
value: z.ZodNumber;
|
|
1103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1104
|
+
shape: z.ZodLiteral<"integer">;
|
|
1105
|
+
value: z.ZodNumber;
|
|
1106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1107
|
+
shape: z.ZodLiteral<"date">;
|
|
1108
|
+
value: z.ZodString;
|
|
1109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1110
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1111
|
+
value: z.ZodString;
|
|
1112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1113
|
+
shape: z.ZodLiteral<"enum">;
|
|
1114
|
+
value: z.ZodString;
|
|
1115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1116
|
+
shape: z.ZodLiteral<"image">;
|
|
1117
|
+
mediaPath: z.ZodString;
|
|
1118
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1122
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1123
|
+
href: z.ZodString;
|
|
1124
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1128
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1129
|
+
ref: z.ZodString;
|
|
1130
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1133
|
+
shape: z.ZodLiteral<"reference">;
|
|
1134
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1135
|
+
}, z.core.$strip>], "shape">>>;
|
|
1136
|
+
}, z.core.$strip>>>;
|
|
1137
|
+
versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1138
|
+
version: z.ZodNumber;
|
|
1139
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1140
|
+
shape: z.ZodLiteral<"text">;
|
|
1141
|
+
value: z.ZodString;
|
|
1142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1143
|
+
shape: z.ZodLiteral<"richText">;
|
|
1144
|
+
value: z.ZodString;
|
|
1145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1146
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1147
|
+
value: z.ZodBoolean;
|
|
1148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1149
|
+
shape: z.ZodLiteral<"number">;
|
|
1150
|
+
value: z.ZodNumber;
|
|
1151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1152
|
+
shape: z.ZodLiteral<"integer">;
|
|
1153
|
+
value: z.ZodNumber;
|
|
1154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1155
|
+
shape: z.ZodLiteral<"date">;
|
|
1156
|
+
value: z.ZodString;
|
|
1157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1158
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1159
|
+
value: z.ZodString;
|
|
1160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1161
|
+
shape: z.ZodLiteral<"enum">;
|
|
1162
|
+
value: z.ZodString;
|
|
1163
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1164
|
+
shape: z.ZodLiteral<"image">;
|
|
1165
|
+
mediaPath: z.ZodString;
|
|
1166
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1168
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1170
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1171
|
+
href: z.ZodString;
|
|
1172
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1175
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1176
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1177
|
+
ref: z.ZodString;
|
|
1178
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1179
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1181
|
+
shape: z.ZodLiteral<"reference">;
|
|
1182
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1183
|
+
}, z.core.$strip>], "shape">>>;
|
|
1184
|
+
workflowState: z.ZodOptional<z.ZodString>;
|
|
1185
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1187
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1188
|
+
componentHandle: z.ZodString;
|
|
1189
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1190
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1191
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1192
|
+
kind: z.ZodLiteral<"shared">;
|
|
1193
|
+
handle: z.ZodString;
|
|
1194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1195
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1196
|
+
slot: z.ZodString;
|
|
1197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1198
|
+
kind: z.ZodLiteral<"none">;
|
|
1199
|
+
}, z.core.$strip>], "kind">>;
|
|
1200
|
+
}, z.core.$strip>>>>;
|
|
1201
|
+
}, z.core.$strip>>>;
|
|
1202
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1203
|
+
audience: z.ZodString;
|
|
1204
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1205
|
+
shape: z.ZodLiteral<"text">;
|
|
1206
|
+
value: z.ZodString;
|
|
1207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1208
|
+
shape: z.ZodLiteral<"richText">;
|
|
1209
|
+
value: z.ZodString;
|
|
1210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1211
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1212
|
+
value: z.ZodBoolean;
|
|
1213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1214
|
+
shape: z.ZodLiteral<"number">;
|
|
1215
|
+
value: z.ZodNumber;
|
|
1216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1217
|
+
shape: z.ZodLiteral<"integer">;
|
|
1218
|
+
value: z.ZodNumber;
|
|
1219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1220
|
+
shape: z.ZodLiteral<"date">;
|
|
1221
|
+
value: z.ZodString;
|
|
1222
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1223
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1224
|
+
value: z.ZodString;
|
|
1225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1226
|
+
shape: z.ZodLiteral<"enum">;
|
|
1227
|
+
value: z.ZodString;
|
|
1228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1229
|
+
shape: z.ZodLiteral<"image">;
|
|
1230
|
+
mediaPath: z.ZodString;
|
|
1231
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1233
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1235
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1236
|
+
href: z.ZodString;
|
|
1237
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1239
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1240
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1241
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1242
|
+
ref: z.ZodString;
|
|
1243
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1246
|
+
shape: z.ZodLiteral<"reference">;
|
|
1247
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1248
|
+
}, z.core.$strip>], "shape">>>;
|
|
1249
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1250
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1251
|
+
componentHandle: z.ZodString;
|
|
1252
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1254
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1255
|
+
kind: z.ZodLiteral<"shared">;
|
|
1256
|
+
handle: z.ZodString;
|
|
1257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1258
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1259
|
+
slot: z.ZodString;
|
|
1260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1261
|
+
kind: z.ZodLiteral<"none">;
|
|
1262
|
+
}, z.core.$strip>], "kind">>;
|
|
1263
|
+
}, z.core.$strip>>>>;
|
|
1264
|
+
}, z.core.$strip>>>;
|
|
1265
|
+
}, z.core.$strip>>>;
|
|
1266
|
+
}, z.core.$strip>>>>;
|
|
1267
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1268
|
+
shape: z.ZodLiteral<"text">;
|
|
1269
|
+
value: z.ZodString;
|
|
1270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1271
|
+
shape: z.ZodLiteral<"richText">;
|
|
1272
|
+
value: z.ZodString;
|
|
1273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1274
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1275
|
+
value: z.ZodBoolean;
|
|
1276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1277
|
+
shape: z.ZodLiteral<"number">;
|
|
1278
|
+
value: z.ZodNumber;
|
|
1279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1280
|
+
shape: z.ZodLiteral<"integer">;
|
|
1281
|
+
value: z.ZodNumber;
|
|
1282
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1283
|
+
shape: z.ZodLiteral<"date">;
|
|
1284
|
+
value: z.ZodString;
|
|
1285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1286
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1287
|
+
value: z.ZodString;
|
|
1288
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1289
|
+
shape: z.ZodLiteral<"enum">;
|
|
1290
|
+
value: z.ZodString;
|
|
1291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1292
|
+
shape: z.ZodLiteral<"image">;
|
|
1293
|
+
mediaPath: z.ZodString;
|
|
1294
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1296
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1297
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1298
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1299
|
+
href: z.ZodString;
|
|
1300
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1304
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1305
|
+
ref: z.ZodString;
|
|
1306
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1309
|
+
shape: z.ZodLiteral<"reference">;
|
|
1310
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1311
|
+
}, z.core.$strip>], "shape">>>;
|
|
1312
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
}, z.core.$strip>;
|
|
1314
|
+
export type ContentItemRecipe = z.infer<typeof ContentItemRecipeSchema>;
|
|
1315
|
+
/**
|
|
1316
|
+
* One rendering placed into a placeholder, with its variant, parameters,
|
|
1317
|
+
* and datasource binding. The Phase 4 compiler emits each ComponentPlacement
|
|
1318
|
+
* as one `<r>` element in Sitecore's layout XML.
|
|
1319
|
+
*
|
|
1320
|
+
* The single shape used by anything that holds layout —
|
|
1321
|
+
* `PartialDesignRecipe`, `PageDesignRecipe`, and `PageRecipe`. The
|
|
1322
|
+
* `componentHandle` resolves to a `ComponentTemplateRecipe`'s rendering
|
|
1323
|
+
* GUID via `renderingId(handle)`.
|
|
1324
|
+
*
|
|
1325
|
+
* `datasourceRef` distinguishes how the rendering gets its content:
|
|
1326
|
+
*
|
|
1327
|
+
* shared — points at a `ContentItemRecipe` by handle (catalog-shipped
|
|
1328
|
+
* reusable content like `site-logo-content@1`).
|
|
1329
|
+
* scoped — page-local content materialised at `<page>/Data/<slot>`.
|
|
1330
|
+
* Only valid in a `PageRecipe` layout (a page has a content
|
|
1331
|
+
* home to scope under); `PartialDesignRecipe` and
|
|
1332
|
+
* `PageDesignRecipe` reject it — they have no host page.
|
|
1333
|
+
* none — config-driven rendering with no datasource (rare).
|
|
1334
|
+
*/
|
|
1335
|
+
export declare const ComponentPlacementSchema: z.ZodObject<{
|
|
1336
|
+
componentHandle: z.ZodString;
|
|
1337
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1338
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1339
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1340
|
+
kind: z.ZodLiteral<"shared">;
|
|
1341
|
+
handle: z.ZodString;
|
|
1342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1343
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1344
|
+
slot: z.ZodString;
|
|
1345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1346
|
+
kind: z.ZodLiteral<"none">;
|
|
1347
|
+
}, z.core.$strip>], "kind">>;
|
|
1348
|
+
}, z.core.$strip>;
|
|
1349
|
+
export type ComponentPlacement = z.infer<typeof ComponentPlacementSchema>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Layout block keyed by placeholder. Each placeholder holds an ordered
|
|
1352
|
+
* array of `ComponentPlacement`s — render order is array order.
|
|
1353
|
+
*/
|
|
1354
|
+
export declare const LayoutSchema: z.ZodObject<{
|
|
1355
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1356
|
+
componentHandle: z.ZodString;
|
|
1357
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1359
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1360
|
+
kind: z.ZodLiteral<"shared">;
|
|
1361
|
+
handle: z.ZodString;
|
|
1362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1363
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1364
|
+
slot: z.ZodString;
|
|
1365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1366
|
+
kind: z.ZodLiteral<"none">;
|
|
1367
|
+
}, z.core.$strip>], "kind">>;
|
|
1368
|
+
}, z.core.$strip>>>>;
|
|
1369
|
+
}, z.core.$strip>;
|
|
1370
|
+
export type Layout = z.infer<typeof LayoutSchema>;
|
|
1371
|
+
/**
|
|
1372
|
+
* A page template — a Sitecore data template that items in a site's
|
|
1373
|
+
* content tree conform to in order to BE authorable pages. The
|
|
1374
|
+
* page-level peer of `ComponentTemplateRecipe`: where a component
|
|
1375
|
+
* template backs a placeable rendering, a page template backs a
|
|
1376
|
+
* navigable page.
|
|
1377
|
+
*
|
|
1378
|
+
* Unlike `ContentTemplateRecipe` (a plain data shape), a page template
|
|
1379
|
+
* inherits the SXA Headless page base set (`SXA_HEADLESS_PAGE_BASE_TEMPLATES`
|
|
1380
|
+
* — Base Page + _Navigable + _Taggable + _Designable + _Sitemap) so
|
|
1381
|
+
* items conforming to it pick up the layout/presentation fields, the
|
|
1382
|
+
* navigation facet, taxonomy tagging, the page-design binding, and
|
|
1383
|
+
* sitemap metadata. The compiler also stamps the template's
|
|
1384
|
+
* `__Standard Values` `__Renderings` with a JSON-layout shell
|
|
1385
|
+
* (`<r><d id="{device}" l="{jsonLayout}" /></r>`), optionally seeded
|
|
1386
|
+
* with `layout` placements.
|
|
1387
|
+
*
|
|
1388
|
+
* Page templates are the resolution target for `PageDesignRecipe.appliesTo`,
|
|
1389
|
+
* `SiteTemplateRecipe.pageTemplates`, `insertOptionsMatrix`, and
|
|
1390
|
+
* `templatesToDesigns` keys. The default template→design binding is the
|
|
1391
|
+
* `TemplatesMapping` aggregate on the Page Designs root (driven by
|
|
1392
|
+
* `PageDesignRecipe.appliesTo`); the per-page `Page Design` override
|
|
1393
|
+
* field is left unset.
|
|
1394
|
+
*
|
|
1395
|
+
* Identity: `templateId(site, handle)` — a page template IS a Sitecore
|
|
1396
|
+
* template, same GUID family as component/content templates.
|
|
1397
|
+
*/
|
|
1398
|
+
export declare const PageTemplateRecipeSchema: z.ZodObject<{
|
|
1399
|
+
kind: z.ZodLiteral<"page-template">;
|
|
1400
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1401
|
+
handle: z.ZodString;
|
|
1402
|
+
name: z.ZodString;
|
|
1403
|
+
displayName: z.ZodString;
|
|
1404
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1407
|
+
tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1408
|
+
section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1409
|
+
group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1410
|
+
subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1411
|
+
tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1412
|
+
}, z.core.$strip>>>;
|
|
1413
|
+
}, z.core.$strip>>;
|
|
1414
|
+
fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1415
|
+
name: z.ZodString;
|
|
1416
|
+
shape: z.ZodEnum<{
|
|
1417
|
+
number: "number";
|
|
1418
|
+
boolean: "boolean";
|
|
1419
|
+
link: "link";
|
|
1420
|
+
integer: "integer";
|
|
1421
|
+
enum: "enum";
|
|
1422
|
+
date: "date";
|
|
1423
|
+
text: "text";
|
|
1424
|
+
image: "image";
|
|
1425
|
+
richText: "richText";
|
|
1426
|
+
datetime: "datetime";
|
|
1427
|
+
reference: "reference";
|
|
1428
|
+
}>;
|
|
1429
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1430
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1431
|
+
default: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
sitecore: z.ZodOptional<z.ZodObject<{
|
|
1433
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1434
|
+
number: "number";
|
|
1435
|
+
integer: "integer";
|
|
1436
|
+
tags: "tags";
|
|
1437
|
+
lookup: "lookup";
|
|
1438
|
+
date: "date";
|
|
1439
|
+
file: "file";
|
|
1440
|
+
image: "image";
|
|
1441
|
+
datetime: "datetime";
|
|
1442
|
+
"single-line-text": "single-line-text";
|
|
1443
|
+
"multi-line-text": "multi-line-text";
|
|
1444
|
+
"rich-text": "rich-text";
|
|
1445
|
+
"general-link": "general-link";
|
|
1446
|
+
checkbox: "checkbox";
|
|
1447
|
+
droplist: "droplist";
|
|
1448
|
+
droplink: "droplink";
|
|
1449
|
+
treelist: "treelist";
|
|
1450
|
+
"treelist-with-search": "treelist-with-search";
|
|
1451
|
+
}>>;
|
|
1452
|
+
sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1453
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
sourceRaw: z.ZodOptional<z.ZodString>;
|
|
1456
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1458
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
1459
|
+
enumHandle: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1461
|
+
section: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
1463
|
+
unversioned: "unversioned";
|
|
1464
|
+
versioned: "versioned";
|
|
1465
|
+
shared: "shared";
|
|
1466
|
+
}>>;
|
|
1467
|
+
}, z.core.$strip>>;
|
|
1468
|
+
}, z.core.$strip>>>;
|
|
1469
|
+
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1470
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1471
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1472
|
+
componentHandle: z.ZodString;
|
|
1473
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1475
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1476
|
+
kind: z.ZodLiteral<"shared">;
|
|
1477
|
+
handle: z.ZodString;
|
|
1478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1479
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1480
|
+
slot: z.ZodString;
|
|
1481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1482
|
+
kind: z.ZodLiteral<"none">;
|
|
1483
|
+
}, z.core.$strip>], "kind">>;
|
|
1484
|
+
}, z.core.$strip>>>>;
|
|
1485
|
+
}, z.core.$strip>>;
|
|
1486
|
+
defaultWorkflow: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
}, z.core.$strip>;
|
|
1488
|
+
export type PageTemplateRecipe = z.infer<typeof PageTemplateRecipeSchema>;
|
|
1489
|
+
/**
|
|
1490
|
+
* A page — a concrete, navigable item in the site content tree. The
|
|
1491
|
+
* page-level peer of `ContentItemRecipe`: where a content item is a
|
|
1492
|
+
* shared datasource shape, a `PageRecipe` is an authorable page.
|
|
1493
|
+
*
|
|
1494
|
+
* It conforms to a `PageTemplateRecipe` (inheriting the SXA page
|
|
1495
|
+
* presentation facets), carries field values for the page's own
|
|
1496
|
+
* fields, and may declare a `layout` — written to the page item's
|
|
1497
|
+
* `__Final Renderings` (the per-version final layout), distinct from a
|
|
1498
|
+
* page design's `__Renderings`.
|
|
1499
|
+
*
|
|
1500
|
+
* Layout placements bind via `datasourceRef`: `shared` (a
|
|
1501
|
+
* `ContentItemRecipe`), `scoped` (a page-local datasource item the
|
|
1502
|
+
* compiler materialises at `<page>/Data/<slot>`), or `none`. Pages
|
|
1503
|
+
* currently land flat under `pagesRoot` — page-tree nesting (a `parent`
|
|
1504
|
+
* page handle) is the one deferred follow-up.
|
|
1505
|
+
*
|
|
1506
|
+
* Identity: `pageItemId(site, handle)`. `SiteRecipe.initialHome`
|
|
1507
|
+
* resolves to a `PageRecipe` handle.
|
|
1508
|
+
*/
|
|
1509
|
+
export declare const PageRecipeSchema: z.ZodObject<{
|
|
1510
|
+
kind: z.ZodLiteral<"page">;
|
|
1511
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1512
|
+
handle: z.ZodString;
|
|
1513
|
+
name: z.ZodString;
|
|
1514
|
+
displayName: z.ZodString;
|
|
1515
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
template: z.ZodString;
|
|
1517
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1518
|
+
shape: z.ZodLiteral<"text">;
|
|
1519
|
+
value: z.ZodString;
|
|
1520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1521
|
+
shape: z.ZodLiteral<"richText">;
|
|
1522
|
+
value: z.ZodString;
|
|
1523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1524
|
+
shape: z.ZodLiteral<"boolean">;
|
|
1525
|
+
value: z.ZodBoolean;
|
|
1526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1527
|
+
shape: z.ZodLiteral<"number">;
|
|
1528
|
+
value: z.ZodNumber;
|
|
1529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1530
|
+
shape: z.ZodLiteral<"integer">;
|
|
1531
|
+
value: z.ZodNumber;
|
|
1532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1533
|
+
shape: z.ZodLiteral<"date">;
|
|
1534
|
+
value: z.ZodString;
|
|
1535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
+
shape: z.ZodLiteral<"datetime">;
|
|
1537
|
+
value: z.ZodString;
|
|
1538
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1539
|
+
shape: z.ZodLiteral<"enum">;
|
|
1540
|
+
value: z.ZodString;
|
|
1541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1542
|
+
shape: z.ZodLiteral<"image">;
|
|
1543
|
+
mediaPath: z.ZodString;
|
|
1544
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1546
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1548
|
+
shape: z.ZodLiteral<"link-external">;
|
|
1549
|
+
href: z.ZodString;
|
|
1550
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1551
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1552
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1554
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
1555
|
+
ref: z.ZodString;
|
|
1556
|
+
text: z.ZodOptional<z.ZodString>;
|
|
1557
|
+
target: z.ZodOptional<z.ZodString>;
|
|
1558
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1559
|
+
shape: z.ZodLiteral<"reference">;
|
|
1560
|
+
refs: z.ZodArray<z.ZodString>;
|
|
1561
|
+
}, z.core.$strip>], "shape">>>;
|
|
1562
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1563
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1564
|
+
componentHandle: z.ZodString;
|
|
1565
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1567
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1568
|
+
kind: z.ZodLiteral<"shared">;
|
|
1569
|
+
handle: z.ZodString;
|
|
1570
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1571
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1572
|
+
slot: z.ZodString;
|
|
1573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1574
|
+
kind: z.ZodLiteral<"none">;
|
|
1575
|
+
}, z.core.$strip>], "kind">>;
|
|
1576
|
+
}, z.core.$strip>>>>;
|
|
1577
|
+
}, z.core.$strip>>;
|
|
1578
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
}, z.core.$strip>;
|
|
1580
|
+
export type PageRecipe = z.infer<typeof PageRecipeSchema>;
|
|
1581
|
+
/**
|
|
1582
|
+
* A reusable layout chunk — header, footer, sidebar, byline. Lives at
|
|
1583
|
+
* `/sitecore/.../Presentation/Partial Designs/<name>` on a tenant. Linked
|
|
1584
|
+
* by 1..n `PageDesignRecipe`s. Owns its own placeholders and pre-placed
|
|
1585
|
+
* renderings; the compiler emits the same layout XML form pages use.
|
|
1586
|
+
*
|
|
1587
|
+
* Identity: `partialDesignId(handle)` derives the deterministic GUID from
|
|
1588
|
+
* the recipe handle.
|
|
1589
|
+
*/
|
|
1590
|
+
export declare const PartialDesignRecipeSchema: z.ZodObject<{
|
|
1591
|
+
kind: z.ZodLiteral<"partial-design">;
|
|
1592
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1593
|
+
handle: z.ZodString;
|
|
1594
|
+
name: z.ZodString;
|
|
1595
|
+
displayName: z.ZodString;
|
|
1596
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
layout: z.ZodObject<{
|
|
1599
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1600
|
+
componentHandle: z.ZodString;
|
|
1601
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1603
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1604
|
+
kind: z.ZodLiteral<"shared">;
|
|
1605
|
+
handle: z.ZodString;
|
|
1606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1607
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1608
|
+
slot: z.ZodString;
|
|
1609
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1610
|
+
kind: z.ZodLiteral<"none">;
|
|
1611
|
+
}, z.core.$strip>], "kind">>;
|
|
1612
|
+
}, z.core.$strip>>>>;
|
|
1613
|
+
}, z.core.$strip>;
|
|
1614
|
+
}, z.core.$strip>;
|
|
1615
|
+
export type PartialDesignRecipe = z.infer<typeof PartialDesignRecipeSchema>;
|
|
1616
|
+
/**
|
|
1617
|
+
* Maps page templates to a layout. Lives at
|
|
1618
|
+
* `/sitecore/.../Presentation/Page Designs/<name>` on a tenant. Establishes
|
|
1619
|
+
* the templates-to-design mapping (the Sitecore SXA Page Designs root
|
|
1620
|
+
* field), lists which partial designs wrap content, and optionally adds
|
|
1621
|
+
* its own pre-placed renderings.
|
|
1622
|
+
*
|
|
1623
|
+
* Identity: `pageDesignId(handle)` derives the deterministic GUID from
|
|
1624
|
+
* the recipe handle.
|
|
1625
|
+
*/
|
|
1626
|
+
export declare const PageDesignRecipeSchema: z.ZodObject<{
|
|
1627
|
+
kind: z.ZodLiteral<"page-design">;
|
|
1628
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1629
|
+
handle: z.ZodString;
|
|
1630
|
+
name: z.ZodString;
|
|
1631
|
+
displayName: z.ZodString;
|
|
1632
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1633
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1634
|
+
appliesTo: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1635
|
+
partials: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1636
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1637
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1638
|
+
componentHandle: z.ZodString;
|
|
1639
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1640
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1641
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1642
|
+
kind: z.ZodLiteral<"shared">;
|
|
1643
|
+
handle: z.ZodString;
|
|
1644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1645
|
+
kind: z.ZodLiteral<"scoped">;
|
|
1646
|
+
slot: z.ZodString;
|
|
1647
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1648
|
+
kind: z.ZodLiteral<"none">;
|
|
1649
|
+
}, z.core.$strip>], "kind">>;
|
|
1650
|
+
}, z.core.$strip>>>>;
|
|
1651
|
+
}, z.core.$strip>>;
|
|
1652
|
+
}, z.core.$strip>;
|
|
1653
|
+
export type PageDesignRecipe = z.infer<typeof PageDesignRecipeSchema>;
|
|
1654
|
+
/**
|
|
1655
|
+
* Default dictionary entry on a `SiteTemplateRecipe`. Every entry the
|
|
1656
|
+
* template declares becomes a Sitecore dictionary phrase with the
|
|
1657
|
+
* supplied default value. Sites instancing the template can override
|
|
1658
|
+
* the value per-phrase via `SiteRecipe.dictionaryOverrides`; phrases
|
|
1659
|
+
* not overridden read the template default.
|
|
1660
|
+
*/
|
|
1661
|
+
export declare const SiteTemplateDictionaryEntrySchema: z.ZodObject<{
|
|
1662
|
+
phrase: z.ZodString;
|
|
1663
|
+
defaultValue: z.ZodString;
|
|
1664
|
+
}, z.core.$strip>;
|
|
1665
|
+
export type SiteTemplateDictionaryEntry = z.infer<typeof SiteTemplateDictionaryEntrySchema>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Default taxonomy bucket on a `SiteTemplateRecipe`. Each bucket has a
|
|
1668
|
+
* root folder name (e.g. "Content Types") and a list of tag names that
|
|
1669
|
+
* become the default children. Sites can override the tag list
|
|
1670
|
+
* per-root via `SiteRecipe.taxonomyOverrides`.
|
|
1671
|
+
*/
|
|
1672
|
+
export declare const SiteTemplateTaxonomyEntrySchema: z.ZodObject<{
|
|
1673
|
+
root: z.ZodString;
|
|
1674
|
+
defaultTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1676
|
+
export type SiteTemplateTaxonomyEntry = z.infer<typeof SiteTemplateTaxonomyEntrySchema>;
|
|
1677
|
+
/**
|
|
1678
|
+
* A `SiteTemplateRecipe` defines a reusable brand/site shape — page
|
|
1679
|
+
* templates, designs, partials (transitively), insert-options matrix,
|
|
1680
|
+
* templates-to-designs mapping, dictionary structure, and taxonomy
|
|
901
1681
|
* structure. The Sitecore SXA "site template" the registry's catalog
|
|
902
1682
|
* ships as a single artifact.
|
|
903
1683
|
*
|
|
@@ -911,7 +1691,7 @@ export type SiteTemplateTaxonomyEntry = z.infer<typeof SiteTemplateTaxonomyEntry
|
|
|
911
1691
|
* Authoring GraphQL, not the Sites API.
|
|
912
1692
|
*
|
|
913
1693
|
* Cross-recipe handle resolution: `pageTemplates` and
|
|
914
|
-
* `insertOptionsMatrix.*` resolve to `
|
|
1694
|
+
* `insertOptionsMatrix.*` resolve to `PageTemplateRecipe` handles;
|
|
915
1695
|
* `pageDesigns` and `templatesToDesigns.*` values resolve to
|
|
916
1696
|
* `PageDesignRecipe` handles. The cross-recipe validator
|
|
917
1697
|
* (`validateRecipeSet`) catches missing handles before push.
|
|
@@ -970,8 +1750,7 @@ export type SiteGrouping = z.infer<typeof SiteGroupingSchema>;
|
|
|
970
1750
|
*
|
|
971
1751
|
* Cross-recipe handle resolution: `siteTemplate` resolves to a
|
|
972
1752
|
* `SiteTemplateRecipe`; `initialHome` (when present) resolves to a
|
|
973
|
-
* `PageRecipe
|
|
974
|
-
* support lands later).
|
|
1753
|
+
* `PageRecipe`.
|
|
975
1754
|
*/
|
|
976
1755
|
export declare const SiteRecipeSchema: z.ZodObject<{
|
|
977
1756
|
kind: z.ZodLiteral<"site">;
|
|
@@ -1091,6 +1870,123 @@ export declare const EnumerationRecipeSchema: z.ZodObject<{
|
|
|
1091
1870
|
default: z.ZodOptional<z.ZodString>;
|
|
1092
1871
|
}, z.core.$strip>;
|
|
1093
1872
|
export type EnumerationRecipe = z.infer<typeof EnumerationRecipeSchema>;
|
|
1873
|
+
export declare const WebhookAuthorizationRecipeSchema: z.ZodObject<{
|
|
1874
|
+
kind: z.ZodLiteral<"webhook-authorization">;
|
|
1875
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1876
|
+
handle: z.ZodString;
|
|
1877
|
+
name: z.ZodString;
|
|
1878
|
+
displayName: z.ZodString;
|
|
1879
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1880
|
+
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1881
|
+
type: z.ZodLiteral<"ApiKey">;
|
|
1882
|
+
headerName: z.ZodString;
|
|
1883
|
+
key: z.ZodString;
|
|
1884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1885
|
+
type: z.ZodLiteral<"Basic">;
|
|
1886
|
+
username: z.ZodString;
|
|
1887
|
+
password: z.ZodString;
|
|
1888
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1889
|
+
type: z.ZodLiteral<"OAuth2ClientCredentialsGrant">;
|
|
1890
|
+
tokenEndpoint: z.ZodString;
|
|
1891
|
+
clientId: z.ZodString;
|
|
1892
|
+
clientSecret: z.ZodString;
|
|
1893
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
}, z.core.$strip>], "type">;
|
|
1896
|
+
}, z.core.$strip>;
|
|
1897
|
+
export type WebhookAuthorizationRecipe = z.infer<typeof WebhookAuthorizationRecipeSchema>;
|
|
1898
|
+
/**
|
|
1899
|
+
* Cross-field validations (`initialState` must match a declared state,
|
|
1900
|
+
* `nextState` refs must resolve, at least one final state, action auth
|
|
1901
|
+
* is `Ref` XOR `Path`) live in `compileWorkflowRecipe` — not on the
|
|
1902
|
+
* schema — because Zod's `discriminatedUnion` rejects `ZodEffects`
|
|
1903
|
+
* members and we need this schema in `RecipeSchema`. Same pattern
|
|
1904
|
+
* `EnumerationRecipeSchema` uses for its `default ∈ values` check.
|
|
1905
|
+
*/
|
|
1906
|
+
export declare const WorkflowRecipeSchema: z.ZodObject<{
|
|
1907
|
+
kind: z.ZodLiteral<"workflow">;
|
|
1908
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
1909
|
+
handle: z.ZodString;
|
|
1910
|
+
name: z.ZodString;
|
|
1911
|
+
displayName: z.ZodString;
|
|
1912
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1914
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
1915
|
+
tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1916
|
+
section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1917
|
+
group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1918
|
+
subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1919
|
+
tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1920
|
+
}, z.core.$strip>>>;
|
|
1921
|
+
}, z.core.$strip>>;
|
|
1922
|
+
initialState: z.ZodString;
|
|
1923
|
+
states: z.ZodArray<z.ZodObject<{
|
|
1924
|
+
key: z.ZodString;
|
|
1925
|
+
name: z.ZodString;
|
|
1926
|
+
displayName: z.ZodString;
|
|
1927
|
+
final: z.ZodDefault<z.ZodBoolean>;
|
|
1928
|
+
preview: z.ZodDefault<z.ZodBoolean>;
|
|
1929
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1930
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
1931
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
1932
|
+
key: z.ZodString;
|
|
1933
|
+
url: z.ZodString;
|
|
1934
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1936
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
1937
|
+
JSON: "JSON";
|
|
1938
|
+
XML: "XML";
|
|
1939
|
+
}>>;
|
|
1940
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1941
|
+
kind: z.ZodLiteral<"webhook-submit">;
|
|
1942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1943
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
1944
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
1945
|
+
key: z.ZodString;
|
|
1946
|
+
url: z.ZodString;
|
|
1947
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1948
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1949
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
1950
|
+
JSON: "JSON";
|
|
1951
|
+
XML: "XML";
|
|
1952
|
+
}>>;
|
|
1953
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1954
|
+
kind: z.ZodLiteral<"webhook-validation">;
|
|
1955
|
+
}, z.core.$strip>], "kind">>>;
|
|
1956
|
+
commands: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1957
|
+
key: z.ZodString;
|
|
1958
|
+
name: z.ZodString;
|
|
1959
|
+
displayName: z.ZodString;
|
|
1960
|
+
nextState: z.ZodString;
|
|
1961
|
+
autoPublish: z.ZodDefault<z.ZodBoolean>;
|
|
1962
|
+
suppressComment: z.ZodDefault<z.ZodBoolean>;
|
|
1963
|
+
appearanceEvaluator: z.ZodDefault<z.ZodEnum<{
|
|
1964
|
+
default: "default";
|
|
1965
|
+
lock: "lock";
|
|
1966
|
+
unlock: "unlock";
|
|
1967
|
+
}>>;
|
|
1968
|
+
secured: z.ZodDefault<z.ZodBoolean>;
|
|
1969
|
+
validations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1970
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
1971
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
1972
|
+
key: z.ZodString;
|
|
1973
|
+
url: z.ZodString;
|
|
1974
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1976
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
1977
|
+
JSON: "JSON";
|
|
1978
|
+
XML: "XML";
|
|
1979
|
+
}>>;
|
|
1980
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1981
|
+
kind: z.ZodLiteral<"webhook-validation">;
|
|
1982
|
+
}, z.core.$strip>>>;
|
|
1983
|
+
}, z.core.$strip>>>;
|
|
1984
|
+
}, z.core.$strip>>;
|
|
1985
|
+
bindings: z.ZodDefault<z.ZodObject<{
|
|
1986
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
1987
|
+
}, z.core.$strip>>;
|
|
1988
|
+
}, z.core.$strip>;
|
|
1989
|
+
export type WorkflowRecipe = z.infer<typeof WorkflowRecipeSchema>;
|
|
1094
1990
|
export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1095
1991
|
kind: z.ZodLiteral<"component-section">;
|
|
1096
1992
|
schemaVersion: z.ZodLiteral<"1">;
|
|
@@ -1116,13 +2012,13 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1116
2012
|
shape: z.ZodEnum<{
|
|
1117
2013
|
number: "number";
|
|
1118
2014
|
boolean: "boolean";
|
|
1119
|
-
integer: "integer";
|
|
1120
2015
|
link: "link";
|
|
2016
|
+
integer: "integer";
|
|
1121
2017
|
enum: "enum";
|
|
1122
|
-
text: "text";
|
|
1123
2018
|
date: "date";
|
|
1124
|
-
|
|
2019
|
+
text: "text";
|
|
1125
2020
|
image: "image";
|
|
2021
|
+
richText: "richText";
|
|
1126
2022
|
datetime: "datetime";
|
|
1127
2023
|
reference: "reference";
|
|
1128
2024
|
}>;
|
|
@@ -1159,6 +2055,11 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1159
2055
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
1160
2056
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1161
2057
|
section: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
2059
|
+
unversioned: "unversioned";
|
|
2060
|
+
versioned: "versioned";
|
|
2061
|
+
shared: "shared";
|
|
2062
|
+
}>>;
|
|
1162
2063
|
}, z.core.$strip>>;
|
|
1163
2064
|
}, z.core.$strip>>>;
|
|
1164
2065
|
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1183,26 +2084,106 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1183
2084
|
children: z.ZodOptional<z.ZodObject<{
|
|
1184
2085
|
allowedHandles: z.ZodArray<z.ZodString>;
|
|
1185
2086
|
}, z.core.$strip>>;
|
|
1186
|
-
availableIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1187
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1188
|
-
name: z.ZodString;
|
|
1189
|
-
}, z.core.$strip>>>;
|
|
1190
|
-
params: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2087
|
+
availableIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2088
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2089
|
+
name: z.ZodString;
|
|
2090
|
+
}, z.core.$strip>>>;
|
|
2091
|
+
params: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2092
|
+
name: z.ZodString;
|
|
2093
|
+
shape: z.ZodEnum<{
|
|
2094
|
+
number: "number";
|
|
2095
|
+
boolean: "boolean";
|
|
2096
|
+
link: "link";
|
|
2097
|
+
integer: "integer";
|
|
2098
|
+
enum: "enum";
|
|
2099
|
+
date: "date";
|
|
2100
|
+
text: "text";
|
|
2101
|
+
image: "image";
|
|
2102
|
+
richText: "richText";
|
|
2103
|
+
datetime: "datetime";
|
|
2104
|
+
reference: "reference";
|
|
2105
|
+
}>;
|
|
2106
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2107
|
+
default: z.ZodOptional<z.ZodString>;
|
|
2108
|
+
sitecore: z.ZodOptional<z.ZodObject<{
|
|
2109
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
2110
|
+
number: "number";
|
|
2111
|
+
integer: "integer";
|
|
2112
|
+
tags: "tags";
|
|
2113
|
+
lookup: "lookup";
|
|
2114
|
+
date: "date";
|
|
2115
|
+
file: "file";
|
|
2116
|
+
image: "image";
|
|
2117
|
+
datetime: "datetime";
|
|
2118
|
+
"single-line-text": "single-line-text";
|
|
2119
|
+
"multi-line-text": "multi-line-text";
|
|
2120
|
+
"rich-text": "rich-text";
|
|
2121
|
+
"general-link": "general-link";
|
|
2122
|
+
checkbox: "checkbox";
|
|
2123
|
+
droplist: "droplist";
|
|
2124
|
+
droplink: "droplink";
|
|
2125
|
+
treelist: "treelist";
|
|
2126
|
+
"treelist-with-search": "treelist-with-search";
|
|
2127
|
+
}>>;
|
|
2128
|
+
sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2129
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
2130
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
sourceRaw: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2134
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
2135
|
+
enumHandle: z.ZodOptional<z.ZodString>;
|
|
2136
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
2137
|
+
section: z.ZodOptional<z.ZodString>;
|
|
2138
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
2139
|
+
unversioned: "unversioned";
|
|
2140
|
+
versioned: "versioned";
|
|
2141
|
+
shared: "shared";
|
|
2142
|
+
}>>;
|
|
2143
|
+
}, z.core.$strip>>;
|
|
2144
|
+
}, z.core.$strip>>>;
|
|
2145
|
+
placedIn: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2146
|
+
placeholders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2147
|
+
key: z.ZodString;
|
|
2148
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2149
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
2150
|
+
dynamic: z.ZodOptional<z.ZodBoolean>;
|
|
2151
|
+
allowedComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2152
|
+
}, z.core.$strip>>>;
|
|
2153
|
+
dynamicPlaceholders: z.ZodDefault<z.ZodBoolean>;
|
|
2154
|
+
otherProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2156
|
+
kind: z.ZodLiteral<"content-template">;
|
|
2157
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
2158
|
+
handle: z.ZodString;
|
|
2159
|
+
name: z.ZodString;
|
|
2160
|
+
displayName: z.ZodString;
|
|
2161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2162
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2163
|
+
tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2164
|
+
section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2165
|
+
group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2166
|
+
subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2167
|
+
tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2168
|
+
}, z.core.$strip>>>;
|
|
2169
|
+
}, z.core.$strip>>;
|
|
2170
|
+
fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1191
2171
|
name: z.ZodString;
|
|
1192
2172
|
shape: z.ZodEnum<{
|
|
1193
2173
|
number: "number";
|
|
1194
2174
|
boolean: "boolean";
|
|
1195
|
-
integer: "integer";
|
|
1196
2175
|
link: "link";
|
|
2176
|
+
integer: "integer";
|
|
1197
2177
|
enum: "enum";
|
|
1198
|
-
text: "text";
|
|
1199
2178
|
date: "date";
|
|
1200
|
-
|
|
2179
|
+
text: "text";
|
|
1201
2180
|
image: "image";
|
|
2181
|
+
richText: "richText";
|
|
1202
2182
|
datetime: "datetime";
|
|
1203
2183
|
reference: "reference";
|
|
1204
2184
|
}>;
|
|
1205
2185
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2186
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1206
2187
|
default: z.ZodOptional<z.ZodString>;
|
|
1207
2188
|
sitecore: z.ZodOptional<z.ZodObject<{
|
|
1208
2189
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1234,22 +2215,299 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1234
2215
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
1235
2216
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1236
2217
|
section: z.ZodOptional<z.ZodString>;
|
|
2218
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
2219
|
+
unversioned: "unversioned";
|
|
2220
|
+
versioned: "versioned";
|
|
2221
|
+
shared: "shared";
|
|
2222
|
+
}>>;
|
|
1237
2223
|
}, z.core.$strip>>;
|
|
1238
2224
|
}, z.core.$strip>>>;
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
2225
|
+
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2226
|
+
defaultWorkflow: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2228
|
+
kind: z.ZodLiteral<"content-item">;
|
|
2229
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
2230
|
+
handle: z.ZodString;
|
|
2231
|
+
name: z.ZodString;
|
|
2232
|
+
displayName: z.ZodString;
|
|
2233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2234
|
+
templateType: z.ZodString;
|
|
2235
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2236
|
+
shape: z.ZodLiteral<"text">;
|
|
2237
|
+
value: z.ZodString;
|
|
2238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2239
|
+
shape: z.ZodLiteral<"richText">;
|
|
2240
|
+
value: z.ZodString;
|
|
2241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2242
|
+
shape: z.ZodLiteral<"boolean">;
|
|
2243
|
+
value: z.ZodBoolean;
|
|
2244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2245
|
+
shape: z.ZodLiteral<"number">;
|
|
2246
|
+
value: z.ZodNumber;
|
|
2247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2248
|
+
shape: z.ZodLiteral<"integer">;
|
|
2249
|
+
value: z.ZodNumber;
|
|
2250
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2251
|
+
shape: z.ZodLiteral<"date">;
|
|
2252
|
+
value: z.ZodString;
|
|
2253
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2254
|
+
shape: z.ZodLiteral<"datetime">;
|
|
2255
|
+
value: z.ZodString;
|
|
2256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2257
|
+
shape: z.ZodLiteral<"enum">;
|
|
2258
|
+
value: z.ZodString;
|
|
2259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2260
|
+
shape: z.ZodLiteral<"image">;
|
|
2261
|
+
mediaPath: z.ZodString;
|
|
2262
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2263
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2264
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2265
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2266
|
+
shape: z.ZodLiteral<"link-external">;
|
|
2267
|
+
href: z.ZodString;
|
|
2268
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2269
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2270
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2272
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
2273
|
+
ref: z.ZodString;
|
|
2274
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2275
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2277
|
+
shape: z.ZodLiteral<"reference">;
|
|
2278
|
+
refs: z.ZodArray<z.ZodString>;
|
|
2279
|
+
}, z.core.$strip>], "shape">>>;
|
|
2280
|
+
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2281
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2282
|
+
shape: z.ZodLiteral<"text">;
|
|
2283
|
+
value: z.ZodString;
|
|
2284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2285
|
+
shape: z.ZodLiteral<"richText">;
|
|
2286
|
+
value: z.ZodString;
|
|
2287
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2288
|
+
shape: z.ZodLiteral<"boolean">;
|
|
2289
|
+
value: z.ZodBoolean;
|
|
2290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2291
|
+
shape: z.ZodLiteral<"number">;
|
|
2292
|
+
value: z.ZodNumber;
|
|
2293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2294
|
+
shape: z.ZodLiteral<"integer">;
|
|
2295
|
+
value: z.ZodNumber;
|
|
2296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2297
|
+
shape: z.ZodLiteral<"date">;
|
|
2298
|
+
value: z.ZodString;
|
|
2299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2300
|
+
shape: z.ZodLiteral<"datetime">;
|
|
2301
|
+
value: z.ZodString;
|
|
2302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2303
|
+
shape: z.ZodLiteral<"enum">;
|
|
2304
|
+
value: z.ZodString;
|
|
2305
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2306
|
+
shape: z.ZodLiteral<"image">;
|
|
2307
|
+
mediaPath: z.ZodString;
|
|
2308
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2309
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2310
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2312
|
+
shape: z.ZodLiteral<"link-external">;
|
|
2313
|
+
href: z.ZodString;
|
|
2314
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2315
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2318
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
2319
|
+
ref: z.ZodString;
|
|
2320
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2321
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2323
|
+
shape: z.ZodLiteral<"reference">;
|
|
2324
|
+
refs: z.ZodArray<z.ZodString>;
|
|
2325
|
+
}, z.core.$strip>], "shape">>>;
|
|
1243
2326
|
}, z.core.$strip>>>;
|
|
1244
|
-
|
|
1245
|
-
|
|
2327
|
+
versions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2328
|
+
version: z.ZodNumber;
|
|
2329
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2330
|
+
shape: z.ZodLiteral<"text">;
|
|
2331
|
+
value: z.ZodString;
|
|
2332
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2333
|
+
shape: z.ZodLiteral<"richText">;
|
|
2334
|
+
value: z.ZodString;
|
|
2335
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2336
|
+
shape: z.ZodLiteral<"boolean">;
|
|
2337
|
+
value: z.ZodBoolean;
|
|
2338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2339
|
+
shape: z.ZodLiteral<"number">;
|
|
2340
|
+
value: z.ZodNumber;
|
|
2341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2342
|
+
shape: z.ZodLiteral<"integer">;
|
|
2343
|
+
value: z.ZodNumber;
|
|
2344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2345
|
+
shape: z.ZodLiteral<"date">;
|
|
2346
|
+
value: z.ZodString;
|
|
2347
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2348
|
+
shape: z.ZodLiteral<"datetime">;
|
|
2349
|
+
value: z.ZodString;
|
|
2350
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2351
|
+
shape: z.ZodLiteral<"enum">;
|
|
2352
|
+
value: z.ZodString;
|
|
2353
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2354
|
+
shape: z.ZodLiteral<"image">;
|
|
2355
|
+
mediaPath: z.ZodString;
|
|
2356
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2357
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2358
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2359
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2360
|
+
shape: z.ZodLiteral<"link-external">;
|
|
2361
|
+
href: z.ZodString;
|
|
2362
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2363
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2364
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2366
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
2367
|
+
ref: z.ZodString;
|
|
2368
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2369
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2371
|
+
shape: z.ZodLiteral<"reference">;
|
|
2372
|
+
refs: z.ZodArray<z.ZodString>;
|
|
2373
|
+
}, z.core.$strip>], "shape">>>;
|
|
2374
|
+
workflowState: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
date: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2377
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2378
|
+
componentHandle: z.ZodString;
|
|
2379
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2381
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2382
|
+
kind: z.ZodLiteral<"shared">;
|
|
2383
|
+
handle: z.ZodString;
|
|
2384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2385
|
+
kind: z.ZodLiteral<"scoped">;
|
|
2386
|
+
slot: z.ZodString;
|
|
2387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2388
|
+
kind: z.ZodLiteral<"none">;
|
|
2389
|
+
}, z.core.$strip>], "kind">>;
|
|
2390
|
+
}, z.core.$strip>>>>;
|
|
2391
|
+
}, z.core.$strip>>>;
|
|
2392
|
+
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2393
|
+
audience: z.ZodString;
|
|
2394
|
+
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2395
|
+
shape: z.ZodLiteral<"text">;
|
|
2396
|
+
value: z.ZodString;
|
|
2397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2398
|
+
shape: z.ZodLiteral<"richText">;
|
|
2399
|
+
value: z.ZodString;
|
|
2400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2401
|
+
shape: z.ZodLiteral<"boolean">;
|
|
2402
|
+
value: z.ZodBoolean;
|
|
2403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2404
|
+
shape: z.ZodLiteral<"number">;
|
|
2405
|
+
value: z.ZodNumber;
|
|
2406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2407
|
+
shape: z.ZodLiteral<"integer">;
|
|
2408
|
+
value: z.ZodNumber;
|
|
2409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2410
|
+
shape: z.ZodLiteral<"date">;
|
|
2411
|
+
value: z.ZodString;
|
|
2412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2413
|
+
shape: z.ZodLiteral<"datetime">;
|
|
2414
|
+
value: z.ZodString;
|
|
2415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2416
|
+
shape: z.ZodLiteral<"enum">;
|
|
2417
|
+
value: z.ZodString;
|
|
2418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2419
|
+
shape: z.ZodLiteral<"image">;
|
|
2420
|
+
mediaPath: z.ZodString;
|
|
2421
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2423
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2424
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2425
|
+
shape: z.ZodLiteral<"link-external">;
|
|
2426
|
+
href: z.ZodString;
|
|
2427
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2429
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2431
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
2432
|
+
ref: z.ZodString;
|
|
2433
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2434
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2435
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2436
|
+
shape: z.ZodLiteral<"reference">;
|
|
2437
|
+
refs: z.ZodArray<z.ZodString>;
|
|
2438
|
+
}, z.core.$strip>], "shape">>>;
|
|
2439
|
+
layout: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2440
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2441
|
+
componentHandle: z.ZodString;
|
|
2442
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2443
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2444
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2445
|
+
kind: z.ZodLiteral<"shared">;
|
|
2446
|
+
handle: z.ZodString;
|
|
2447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2448
|
+
kind: z.ZodLiteral<"scoped">;
|
|
2449
|
+
slot: z.ZodString;
|
|
2450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2451
|
+
kind: z.ZodLiteral<"none">;
|
|
2452
|
+
}, z.core.$strip>], "kind">>;
|
|
2453
|
+
}, z.core.$strip>>>>;
|
|
2454
|
+
}, z.core.$strip>>>;
|
|
2455
|
+
}, z.core.$strip>>>;
|
|
2456
|
+
}, z.core.$strip>>>>;
|
|
2457
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2458
|
+
shape: z.ZodLiteral<"text">;
|
|
2459
|
+
value: z.ZodString;
|
|
2460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2461
|
+
shape: z.ZodLiteral<"richText">;
|
|
2462
|
+
value: z.ZodString;
|
|
2463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2464
|
+
shape: z.ZodLiteral<"boolean">;
|
|
2465
|
+
value: z.ZodBoolean;
|
|
2466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2467
|
+
shape: z.ZodLiteral<"number">;
|
|
2468
|
+
value: z.ZodNumber;
|
|
2469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2470
|
+
shape: z.ZodLiteral<"integer">;
|
|
2471
|
+
value: z.ZodNumber;
|
|
2472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2473
|
+
shape: z.ZodLiteral<"date">;
|
|
2474
|
+
value: z.ZodString;
|
|
2475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2476
|
+
shape: z.ZodLiteral<"datetime">;
|
|
2477
|
+
value: z.ZodString;
|
|
2478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2479
|
+
shape: z.ZodLiteral<"enum">;
|
|
2480
|
+
value: z.ZodString;
|
|
2481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2482
|
+
shape: z.ZodLiteral<"image">;
|
|
2483
|
+
mediaPath: z.ZodString;
|
|
2484
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
2485
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
2486
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
2487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2488
|
+
shape: z.ZodLiteral<"link-external">;
|
|
2489
|
+
href: z.ZodString;
|
|
2490
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2491
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2492
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2494
|
+
shape: z.ZodLiteral<"link-internal">;
|
|
2495
|
+
ref: z.ZodString;
|
|
2496
|
+
text: z.ZodOptional<z.ZodString>;
|
|
2497
|
+
target: z.ZodOptional<z.ZodString>;
|
|
2498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2499
|
+
shape: z.ZodLiteral<"reference">;
|
|
2500
|
+
refs: z.ZodArray<z.ZodString>;
|
|
2501
|
+
}, z.core.$strip>], "shape">>>;
|
|
2502
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
1246
2503
|
}, z.core.$strip>, z.ZodObject<{
|
|
1247
|
-
kind: z.ZodLiteral<"
|
|
2504
|
+
kind: z.ZodLiteral<"page-template">;
|
|
1248
2505
|
schemaVersion: z.ZodLiteral<"1">;
|
|
1249
2506
|
handle: z.ZodString;
|
|
1250
2507
|
name: z.ZodString;
|
|
1251
2508
|
displayName: z.ZodString;
|
|
1252
2509
|
description: z.ZodOptional<z.ZodString>;
|
|
2510
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1253
2511
|
meta: z.ZodOptional<z.ZodObject<{
|
|
1254
2512
|
tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1255
2513
|
section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1263,13 +2521,13 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1263
2521
|
shape: z.ZodEnum<{
|
|
1264
2522
|
number: "number";
|
|
1265
2523
|
boolean: "boolean";
|
|
1266
|
-
integer: "integer";
|
|
1267
2524
|
link: "link";
|
|
2525
|
+
integer: "integer";
|
|
1268
2526
|
enum: "enum";
|
|
1269
|
-
text: "text";
|
|
1270
2527
|
date: "date";
|
|
1271
|
-
|
|
2528
|
+
text: "text";
|
|
1272
2529
|
image: "image";
|
|
2530
|
+
richText: "richText";
|
|
1273
2531
|
datetime: "datetime";
|
|
1274
2532
|
reference: "reference";
|
|
1275
2533
|
}>;
|
|
@@ -1306,17 +2564,39 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1306
2564
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
1307
2565
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1308
2566
|
section: z.ZodOptional<z.ZodString>;
|
|
2567
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
2568
|
+
unversioned: "unversioned";
|
|
2569
|
+
versioned: "versioned";
|
|
2570
|
+
shared: "shared";
|
|
2571
|
+
}>>;
|
|
1309
2572
|
}, z.core.$strip>>;
|
|
1310
2573
|
}, z.core.$strip>>>;
|
|
1311
2574
|
insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2575
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2576
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2577
|
+
componentHandle: z.ZodString;
|
|
2578
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2580
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2581
|
+
kind: z.ZodLiteral<"shared">;
|
|
2582
|
+
handle: z.ZodString;
|
|
2583
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2584
|
+
kind: z.ZodLiteral<"scoped">;
|
|
2585
|
+
slot: z.ZodString;
|
|
2586
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2587
|
+
kind: z.ZodLiteral<"none">;
|
|
2588
|
+
}, z.core.$strip>], "kind">>;
|
|
2589
|
+
}, z.core.$strip>>>>;
|
|
2590
|
+
}, z.core.$strip>>;
|
|
2591
|
+
defaultWorkflow: z.ZodOptional<z.ZodString>;
|
|
1312
2592
|
}, z.core.$strip>, z.ZodObject<{
|
|
1313
|
-
kind: z.ZodLiteral<"
|
|
2593
|
+
kind: z.ZodLiteral<"page">;
|
|
1314
2594
|
schemaVersion: z.ZodLiteral<"1">;
|
|
1315
2595
|
handle: z.ZodString;
|
|
1316
2596
|
name: z.ZodString;
|
|
1317
2597
|
displayName: z.ZodString;
|
|
1318
2598
|
description: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
|
|
2599
|
+
template: z.ZodString;
|
|
1320
2600
|
fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1321
2601
|
shape: z.ZodLiteral<"text">;
|
|
1322
2602
|
value: z.ZodString;
|
|
@@ -1362,8 +2642,37 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1362
2642
|
shape: z.ZodLiteral<"reference">;
|
|
1363
2643
|
refs: z.ZodArray<z.ZodString>;
|
|
1364
2644
|
}, z.core.$strip>], "shape">>>;
|
|
2645
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2646
|
+
placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2647
|
+
componentHandle: z.ZodString;
|
|
2648
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2650
|
+
datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2651
|
+
kind: z.ZodLiteral<"shared">;
|
|
2652
|
+
handle: z.ZodString;
|
|
2653
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2654
|
+
kind: z.ZodLiteral<"scoped">;
|
|
2655
|
+
slot: z.ZodString;
|
|
2656
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2657
|
+
kind: z.ZodLiteral<"none">;
|
|
2658
|
+
}, z.core.$strip>], "kind">>;
|
|
2659
|
+
}, z.core.$strip>>>>;
|
|
2660
|
+
}, z.core.$strip>>;
|
|
2661
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
1365
2662
|
}, z.core.$strip>, z.ZodObject<{
|
|
1366
|
-
kind: z.ZodLiteral<"
|
|
2663
|
+
kind: z.ZodLiteral<"placeholder">;
|
|
2664
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
2665
|
+
handle: z.ZodString;
|
|
2666
|
+
key: z.ZodString;
|
|
2667
|
+
name: z.ZodString;
|
|
2668
|
+
displayName: z.ZodString;
|
|
2669
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2670
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
folder: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
dynamic: z.ZodDefault<z.ZodBoolean>;
|
|
2673
|
+
allowedComponents: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2675
|
+
kind: z.ZodLiteral<"design-parameters-template">;
|
|
1367
2676
|
schemaVersion: z.ZodLiteral<"1">;
|
|
1368
2677
|
handle: z.ZodString;
|
|
1369
2678
|
name: z.ZodString;
|
|
@@ -1376,13 +2685,13 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1376
2685
|
shape: z.ZodEnum<{
|
|
1377
2686
|
number: "number";
|
|
1378
2687
|
boolean: "boolean";
|
|
1379
|
-
integer: "integer";
|
|
1380
2688
|
link: "link";
|
|
2689
|
+
integer: "integer";
|
|
1381
2690
|
enum: "enum";
|
|
1382
|
-
text: "text";
|
|
1383
2691
|
date: "date";
|
|
1384
|
-
|
|
2692
|
+
text: "text";
|
|
1385
2693
|
image: "image";
|
|
2694
|
+
richText: "richText";
|
|
1386
2695
|
datetime: "datetime";
|
|
1387
2696
|
reference: "reference";
|
|
1388
2697
|
}>;
|
|
@@ -1418,6 +2727,11 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1418
2727
|
enumHandle: z.ZodOptional<z.ZodString>;
|
|
1419
2728
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1420
2729
|
section: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
storage: z.ZodOptional<z.ZodEnum<{
|
|
2731
|
+
unversioned: "unversioned";
|
|
2732
|
+
versioned: "versioned";
|
|
2733
|
+
shared: "shared";
|
|
2734
|
+
}>>;
|
|
1421
2735
|
}, z.core.$strip>>;
|
|
1422
2736
|
}, z.core.$strip>>>;
|
|
1423
2737
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1540,6 +2854,110 @@ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1540
2854
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1541
2855
|
}, z.core.$strip>>;
|
|
1542
2856
|
default: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2858
|
+
kind: z.ZodLiteral<"workflow">;
|
|
2859
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
2860
|
+
handle: z.ZodString;
|
|
2861
|
+
name: z.ZodString;
|
|
2862
|
+
displayName: z.ZodString;
|
|
2863
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2864
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
2866
|
+
tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2867
|
+
section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2868
|
+
group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2869
|
+
subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2870
|
+
tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2871
|
+
}, z.core.$strip>>>;
|
|
2872
|
+
}, z.core.$strip>>;
|
|
2873
|
+
initialState: z.ZodString;
|
|
2874
|
+
states: z.ZodArray<z.ZodObject<{
|
|
2875
|
+
key: z.ZodString;
|
|
2876
|
+
name: z.ZodString;
|
|
2877
|
+
displayName: z.ZodString;
|
|
2878
|
+
final: z.ZodDefault<z.ZodBoolean>;
|
|
2879
|
+
preview: z.ZodDefault<z.ZodBoolean>;
|
|
2880
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2881
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
2882
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
2883
|
+
key: z.ZodString;
|
|
2884
|
+
url: z.ZodString;
|
|
2885
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2887
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
2888
|
+
JSON: "JSON";
|
|
2889
|
+
XML: "XML";
|
|
2890
|
+
}>>;
|
|
2891
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2892
|
+
kind: z.ZodLiteral<"webhook-submit">;
|
|
2893
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2894
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
2895
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
2896
|
+
key: z.ZodString;
|
|
2897
|
+
url: z.ZodString;
|
|
2898
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2899
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
2901
|
+
JSON: "JSON";
|
|
2902
|
+
XML: "XML";
|
|
2903
|
+
}>>;
|
|
2904
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2905
|
+
kind: z.ZodLiteral<"webhook-validation">;
|
|
2906
|
+
}, z.core.$strip>], "kind">>>;
|
|
2907
|
+
commands: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2908
|
+
key: z.ZodString;
|
|
2909
|
+
name: z.ZodString;
|
|
2910
|
+
displayName: z.ZodString;
|
|
2911
|
+
nextState: z.ZodString;
|
|
2912
|
+
autoPublish: z.ZodDefault<z.ZodBoolean>;
|
|
2913
|
+
suppressComment: z.ZodDefault<z.ZodBoolean>;
|
|
2914
|
+
appearanceEvaluator: z.ZodDefault<z.ZodEnum<{
|
|
2915
|
+
default: "default";
|
|
2916
|
+
lock: "lock";
|
|
2917
|
+
unlock: "unlock";
|
|
2918
|
+
}>>;
|
|
2919
|
+
secured: z.ZodDefault<z.ZodBoolean>;
|
|
2920
|
+
validations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2921
|
+
authorizationRef: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
authorizationPath: z.ZodOptional<z.ZodString>;
|
|
2923
|
+
key: z.ZodString;
|
|
2924
|
+
url: z.ZodString;
|
|
2925
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2927
|
+
serializationType: z.ZodDefault<z.ZodEnum<{
|
|
2928
|
+
JSON: "JSON";
|
|
2929
|
+
XML: "XML";
|
|
2930
|
+
}>>;
|
|
2931
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2932
|
+
kind: z.ZodLiteral<"webhook-validation">;
|
|
2933
|
+
}, z.core.$strip>>>;
|
|
2934
|
+
}, z.core.$strip>>>;
|
|
2935
|
+
}, z.core.$strip>>;
|
|
2936
|
+
bindings: z.ZodDefault<z.ZodObject<{
|
|
2937
|
+
templates: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2938
|
+
}, z.core.$strip>>;
|
|
2939
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2940
|
+
kind: z.ZodLiteral<"webhook-authorization">;
|
|
2941
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
2942
|
+
handle: z.ZodString;
|
|
2943
|
+
name: z.ZodString;
|
|
2944
|
+
displayName: z.ZodString;
|
|
2945
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2946
|
+
auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2947
|
+
type: z.ZodLiteral<"ApiKey">;
|
|
2948
|
+
headerName: z.ZodString;
|
|
2949
|
+
key: z.ZodString;
|
|
2950
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2951
|
+
type: z.ZodLiteral<"Basic">;
|
|
2952
|
+
username: z.ZodString;
|
|
2953
|
+
password: z.ZodString;
|
|
2954
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2955
|
+
type: z.ZodLiteral<"OAuth2ClientCredentialsGrant">;
|
|
2956
|
+
tokenEndpoint: z.ZodString;
|
|
2957
|
+
clientId: z.ZodString;
|
|
2958
|
+
clientSecret: z.ZodString;
|
|
2959
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
}, z.core.$strip>], "type">;
|
|
1543
2962
|
}, z.core.$strip>], "kind">;
|
|
1544
2963
|
export type Recipe = z.infer<typeof RecipeSchema>;
|
|
1545
|
-
//# sourceMappingURL=recipe.d.ts.map
|