@sitecoreai-labs/sitecoreai-cli 0.0.4
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 +67 -0
- package/LICENSE +21 -0
- package/README.md +357 -0
- package/bin/sitecoreai-cli +3 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +358 -0
- package/dist/commands/config.d.ts +3 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +27 -0
- package/dist/commands/deploy/deployments.d.ts +3 -0
- package/dist/commands/deploy/deployments.d.ts.map +1 -0
- package/dist/commands/deploy/deployments.js +58 -0
- package/dist/commands/deploy/editing-host.d.ts +3 -0
- package/dist/commands/deploy/editing-host.d.ts.map +1 -0
- package/dist/commands/deploy/editing-host.js +49 -0
- package/dist/commands/deploy/environments/deployments.d.ts +3 -0
- package/dist/commands/deploy/environments/deployments.d.ts.map +1 -0
- package/dist/commands/deploy/environments/deployments.js +28 -0
- package/dist/commands/deploy/environments/index.d.ts +3 -0
- package/dist/commands/deploy/environments/index.d.ts.map +1 -0
- package/dist/commands/deploy/environments/index.js +29 -0
- package/dist/commands/deploy/environments/mutations.d.ts +9 -0
- package/dist/commands/deploy/environments/mutations.d.ts.map +1 -0
- package/dist/commands/deploy/environments/mutations.js +103 -0
- package/dist/commands/deploy/environments/queries.d.ts +7 -0
- package/dist/commands/deploy/environments/queries.d.ts.map +1 -0
- package/dist/commands/deploy/environments/queries.js +56 -0
- package/dist/commands/deploy/environments/variables.d.ts +3 -0
- package/dist/commands/deploy/environments/variables.d.ts.map +1 -0
- package/dist/commands/deploy/environments/variables.js +40 -0
- package/dist/commands/deploy/environments.d.ts +2 -0
- package/dist/commands/deploy/environments.d.ts.map +1 -0
- package/dist/commands/deploy/environments.js +17 -0
- package/dist/commands/deploy/index.d.ts +3 -0
- package/dist/commands/deploy/index.d.ts.map +1 -0
- package/dist/commands/deploy/index.js +26 -0
- package/dist/commands/deploy/logs.d.ts +3 -0
- package/dist/commands/deploy/logs.d.ts.map +1 -0
- package/dist/commands/deploy/logs.js +39 -0
- package/dist/commands/deploy/organizations.d.ts +3 -0
- package/dist/commands/deploy/organizations.d.ts.map +1 -0
- package/dist/commands/deploy/organizations.js +29 -0
- package/dist/commands/deploy/projects.d.ts +3 -0
- package/dist/commands/deploy/projects.d.ts.map +1 -0
- package/dist/commands/deploy/projects.js +74 -0
- package/dist/commands/deploy/shared.d.ts +3 -0
- package/dist/commands/deploy/shared.d.ts.map +1 -0
- package/dist/commands/deploy/shared.js +12 -0
- package/dist/commands/deploy/site.d.ts +10 -0
- package/dist/commands/deploy/site.d.ts.map +1 -0
- package/dist/commands/deploy/site.js +36 -0
- package/dist/commands/deploy/source-control.d.ts +3 -0
- package/dist/commands/deploy/source-control.d.ts.map +1 -0
- package/dist/commands/deploy/source-control.js +89 -0
- package/dist/commands/deploy.d.ts +2 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +5 -0
- package/dist/commands/history.d.ts +3 -0
- package/dist/commands/history.d.ts.map +1 -0
- package/dist/commands/history.js +88 -0
- package/dist/commands/init.d.ts +3 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +32 -0
- package/dist/commands/login.d.ts +3 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +21 -0
- package/dist/commands/logout.d.ts +3 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +18 -0
- package/dist/commands/recipe/index.d.ts +3 -0
- package/dist/commands/recipe/index.d.ts.map +1 -0
- package/dist/commands/recipe/index.js +158 -0
- package/dist/commands/serialization/index.d.ts +3 -0
- package/dist/commands/serialization/index.d.ts.map +1 -0
- package/dist/commands/serialization/index.js +89 -0
- package/dist/commands/serialization/package.d.ts +3 -0
- package/dist/commands/serialization/package.d.ts.map +1 -0
- package/dist/commands/serialization/package.js +36 -0
- package/dist/commands/shared.d.ts +21 -0
- package/dist/commands/shared.d.ts.map +1 -0
- package/dist/commands/shared.js +82 -0
- package/dist/commands/shell.d.ts +10 -0
- package/dist/commands/shell.d.ts.map +1 -0
- package/dist/commands/shell.js +155 -0
- package/dist/commands/status.d.ts +3 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +15 -0
- package/dist/commands/telemetry.d.ts +3 -0
- package/dist/commands/telemetry.d.ts.map +1 -0
- package/dist/commands/telemetry.js +28 -0
- package/dist/config/env-overrides.d.ts +4 -0
- package/dist/config/env-overrides.d.ts.map +1 -0
- package/dist/config/env-overrides.js +199 -0
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +13 -0
- package/dist/config/modules.d.ts +4 -0
- package/dist/config/modules.d.ts.map +1 -0
- package/dist/config/modules.js +152 -0
- package/dist/config/paths.d.ts +2 -0
- package/dist/config/paths.d.ts.map +1 -0
- package/dist/config/paths.js +39 -0
- package/dist/config/root-config.d.ts +10 -0
- package/dist/config/root-config.d.ts.map +1 -0
- package/dist/config/root-config.js +159 -0
- package/dist/config/schema.json +278 -0
- package/dist/config/serialization-module.schema.json +127 -0
- package/dist/config/telemetry.schema.json +21 -0
- package/dist/config/types.d.ts +245 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +19 -0
- package/dist/config/validation.d.ts +10 -0
- package/dist/config/validation.d.ts.map +1 -0
- package/dist/config/validation.js +43 -0
- package/dist/deploy/api/common/headers.d.ts +2 -0
- package/dist/deploy/api/common/headers.d.ts.map +1 -0
- package/dist/deploy/api/common/headers.js +10 -0
- package/dist/deploy/api/common/index.d.ts +4 -0
- package/dist/deploy/api/common/index.d.ts.map +1 -0
- package/dist/deploy/api/common/index.js +19 -0
- package/dist/deploy/api/common/request.d.ts +9 -0
- package/dist/deploy/api/common/request.d.ts.map +1 -0
- package/dist/deploy/api/common/request.js +253 -0
- package/dist/deploy/api/common/types.d.ts +44 -0
- package/dist/deploy/api/common/types.d.ts.map +1 -0
- package/dist/deploy/api/common/types.js +5 -0
- package/dist/deploy/api/common.d.ts +2 -0
- package/dist/deploy/api/common.d.ts.map +1 -0
- package/dist/deploy/api/common.js +17 -0
- package/dist/deploy/api/deployment-logs.d.ts +2 -0
- package/dist/deploy/api/deployment-logs.d.ts.map +1 -0
- package/dist/deploy/api/deployment-logs.js +23 -0
- package/dist/deploy/api/deployments.d.ts +9 -0
- package/dist/deploy/api/deployments.d.ts.map +1 -0
- package/dist/deploy/api/deployments.js +61 -0
- package/dist/deploy/api/environments.d.ts +21 -0
- package/dist/deploy/api/environments.d.ts.map +1 -0
- package/dist/deploy/api/environments.js +67 -0
- package/dist/deploy/api/index.d.ts +9 -0
- package/dist/deploy/api/index.d.ts.map +1 -0
- package/dist/deploy/api/index.js +24 -0
- package/dist/deploy/api/logs.d.ts +8 -0
- package/dist/deploy/api/logs.d.ts.map +1 -0
- package/dist/deploy/api/logs.js +29 -0
- package/dist/deploy/api/organizations.d.ts +6 -0
- package/dist/deploy/api/organizations.d.ts.map +1 -0
- package/dist/deploy/api/organizations.js +18 -0
- package/dist/deploy/api/projects.d.ts +13 -0
- package/dist/deploy/api/projects.d.ts.map +1 -0
- package/dist/deploy/api/projects.js +42 -0
- package/dist/deploy/api/source-control.d.ts +15 -0
- package/dist/deploy/api/source-control.d.ts.map +1 -0
- package/dist/deploy/api/source-control.js +71 -0
- package/dist/deploy/api.d.ts +2 -0
- package/dist/deploy/api.d.ts.map +1 -0
- package/dist/deploy/api.js +17 -0
- package/dist/deploy/tasks/deployment-result.d.ts +6 -0
- package/dist/deploy/tasks/deployment-result.d.ts.map +1 -0
- package/dist/deploy/tasks/deployment-result.js +36 -0
- package/dist/deploy/tasks/deployments.d.ts +10 -0
- package/dist/deploy/tasks/deployments.d.ts.map +1 -0
- package/dist/deploy/tasks/deployments.js +201 -0
- package/dist/deploy/tasks/editing-host.d.ts +28 -0
- package/dist/deploy/tasks/editing-host.d.ts.map +1 -0
- package/dist/deploy/tasks/editing-host.js +216 -0
- package/dist/deploy/tasks/environments.d.ts +20 -0
- package/dist/deploy/tasks/environments.d.ts.map +1 -0
- package/dist/deploy/tasks/environments.js +364 -0
- package/dist/deploy/tasks/index.d.ts +10 -0
- package/dist/deploy/tasks/index.d.ts.map +1 -0
- package/dist/deploy/tasks/index.js +25 -0
- package/dist/deploy/tasks/logs.d.ts +5 -0
- package/dist/deploy/tasks/logs.d.ts.map +1 -0
- package/dist/deploy/tasks/logs.js +56 -0
- package/dist/deploy/tasks/organizations.d.ts +6 -0
- package/dist/deploy/tasks/organizations.d.ts.map +1 -0
- package/dist/deploy/tasks/organizations.js +51 -0
- package/dist/deploy/tasks/projects.d.ts +11 -0
- package/dist/deploy/tasks/projects.d.ts.map +1 -0
- package/dist/deploy/tasks/projects.js +246 -0
- package/dist/deploy/tasks/shared.d.ts +63 -0
- package/dist/deploy/tasks/shared.d.ts.map +1 -0
- package/dist/deploy/tasks/shared.js +261 -0
- package/dist/deploy/tasks/site-bind.d.ts +21 -0
- package/dist/deploy/tasks/site-bind.d.ts.map +1 -0
- package/dist/deploy/tasks/site-bind.js +142 -0
- package/dist/deploy/tasks/site.d.ts +14 -0
- package/dist/deploy/tasks/site.d.ts.map +1 -0
- package/dist/deploy/tasks/site.js +29 -0
- package/dist/deploy/tasks/source-control.d.ts +14 -0
- package/dist/deploy/tasks/source-control.d.ts.map +1 -0
- package/dist/deploy/tasks/source-control.js +173 -0
- package/dist/deploy/tasks/types.d.ts +204 -0
- package/dist/deploy/tasks/types.d.ts.map +1 -0
- package/dist/deploy/tasks/types.js +7 -0
- package/dist/deploy/tasks.d.ts +3 -0
- package/dist/deploy/tasks.d.ts.map +1 -0
- package/dist/deploy/tasks.js +18 -0
- package/dist/recipe/api/auth.d.ts +9 -0
- package/dist/recipe/api/auth.d.ts.map +1 -0
- package/dist/recipe/api/auth.js +12 -0
- package/dist/recipe/api/authoring-client.d.ts +37 -0
- package/dist/recipe/api/authoring-client.d.ts.map +1 -0
- package/dist/recipe/api/authoring-client.js +495 -0
- package/dist/recipe/api/client.d.ts +99 -0
- package/dist/recipe/api/client.d.ts.map +1 -0
- package/dist/recipe/api/client.js +17 -0
- package/dist/recipe/api/graphql.d.ts +15 -0
- package/dist/recipe/api/graphql.d.ts.map +1 -0
- package/dist/recipe/api/graphql.js +38 -0
- package/dist/recipe/api/ref-encoding.d.ts +38 -0
- package/dist/recipe/api/ref-encoding.d.ts.map +1 -0
- package/dist/recipe/api/ref-encoding.js +160 -0
- package/dist/recipe/api/site-discovery.d.ts +49 -0
- package/dist/recipe/api/site-discovery.d.ts.map +1 -0
- package/dist/recipe/api/site-discovery.js +127 -0
- package/dist/recipe/api/sites-client.d.ts +48 -0
- package/dist/recipe/api/sites-client.d.ts.map +1 -0
- package/dist/recipe/api/sites-client.js +19 -0
- package/dist/recipe/cache.d.ts +36 -0
- package/dist/recipe/cache.d.ts.map +1 -0
- package/dist/recipe/cache.js +114 -0
- package/dist/recipe/compile/component-section.d.ts +46 -0
- package/dist/recipe/compile/component-section.d.ts.map +1 -0
- package/dist/recipe/compile/component-section.js +143 -0
- package/dist/recipe/compile/component-template.d.ts +34 -0
- package/dist/recipe/compile/component-template.d.ts.map +1 -0
- package/dist/recipe/compile/component-template.js +709 -0
- package/dist/recipe/compile/content-item.d.ts +31 -0
- package/dist/recipe/compile/content-item.d.ts.map +1 -0
- package/dist/recipe/compile/content-item.js +189 -0
- package/dist/recipe/compile/content-template.d.ts +18 -0
- package/dist/recipe/compile/content-template.d.ts.map +1 -0
- package/dist/recipe/compile/content-template.js +52 -0
- package/dist/recipe/compile/enumeration.d.ts +59 -0
- package/dist/recipe/compile/enumeration.d.ts.map +1 -0
- package/dist/recipe/compile/enumeration.js +236 -0
- package/dist/recipe/compile/page-design.d.ts +22 -0
- package/dist/recipe/compile/page-design.d.ts.map +1 -0
- package/dist/recipe/compile/page-design.js +93 -0
- package/dist/recipe/compile/parameters-template.d.ts +14 -0
- package/dist/recipe/compile/parameters-template.d.ts.map +1 -0
- package/dist/recipe/compile/parameters-template.js +92 -0
- package/dist/recipe/compile/partial-design.d.ts +18 -0
- package/dist/recipe/compile/partial-design.d.ts.map +1 -0
- package/dist/recipe/compile/partial-design.js +76 -0
- package/dist/recipe/compile/section-definition.d.ts +18 -0
- package/dist/recipe/compile/section-definition.d.ts.map +1 -0
- package/dist/recipe/compile/section-definition.js +26 -0
- package/dist/recipe/compile/shared.d.ts +442 -0
- package/dist/recipe/compile/shared.d.ts.map +1 -0
- package/dist/recipe/compile/shared.js +843 -0
- package/dist/recipe/compile/site-template.d.ts +52 -0
- package/dist/recipe/compile/site-template.d.ts.map +1 -0
- package/dist/recipe/compile/site-template.js +140 -0
- package/dist/recipe/compile/site.d.ts +44 -0
- package/dist/recipe/compile/site.d.ts.map +1 -0
- package/dist/recipe/compile/site.js +127 -0
- package/dist/recipe/compile.d.ts +93 -0
- package/dist/recipe/compile.d.ts.map +1 -0
- package/dist/recipe/compile.js +741 -0
- package/dist/recipe/execute.d.ts +119 -0
- package/dist/recipe/execute.d.ts.map +1 -0
- package/dist/recipe/execute.js +273 -0
- package/dist/recipe/guids.d.ts +400 -0
- package/dist/recipe/guids.d.ts.map +1 -0
- package/dist/recipe/guids.js +488 -0
- package/dist/recipe/index.d.ts +32 -0
- package/dist/recipe/index.d.ts.map +1 -0
- package/dist/recipe/index.js +156 -0
- package/dist/recipe/io.d.ts +21 -0
- package/dist/recipe/io.d.ts.map +1 -0
- package/dist/recipe/io.js +147 -0
- package/dist/recipe/ir/operations.d.ts +692 -0
- package/dist/recipe/ir/operations.d.ts.map +1 -0
- package/dist/recipe/ir/operations.js +347 -0
- package/dist/recipe/ir/sitecore-templates.d.ts +455 -0
- package/dist/recipe/ir/sitecore-templates.d.ts.map +1 -0
- package/dist/recipe/ir/sitecore-templates.js +465 -0
- package/dist/recipe/layout/emit.d.ts +101 -0
- package/dist/recipe/layout/emit.d.ts.map +1 -0
- package/dist/recipe/layout/emit.js +127 -0
- package/dist/recipe/layout/templates-mapping.d.ts +28 -0
- package/dist/recipe/layout/templates-mapping.d.ts.map +1 -0
- package/dist/recipe/layout/templates-mapping.js +29 -0
- package/dist/recipe/plan.d.ts +134 -0
- package/dist/recipe/plan.d.ts.map +1 -0
- package/dist/recipe/plan.js +565 -0
- package/dist/recipe/policy.d.ts +43 -0
- package/dist/recipe/policy.d.ts.map +1 -0
- package/dist/recipe/policy.js +75 -0
- package/dist/recipe/rollback.d.ts +72 -0
- package/dist/recipe/rollback.d.ts.map +1 -0
- package/dist/recipe/rollback.js +130 -0
- package/dist/recipe/schema/field-types.d.ts +72 -0
- package/dist/recipe/schema/field-types.d.ts.map +1 -0
- package/dist/recipe/schema/field-types.js +118 -0
- package/dist/recipe/schema/recipe.d.ts +1545 -0
- package/dist/recipe/schema/recipe.d.ts.map +1 -0
- package/dist/recipe/schema/recipe.js +1175 -0
- package/dist/recipe/schema/source-fields.d.ts +48 -0
- package/dist/recipe/schema/source-fields.d.ts.map +1 -0
- package/dist/recipe/schema/source-fields.js +79 -0
- package/dist/recipe/tasks/compile.d.ts +14 -0
- package/dist/recipe/tasks/compile.d.ts.map +1 -0
- package/dist/recipe/tasks/compile.js +89 -0
- package/dist/recipe/tasks/diff.d.ts +17 -0
- package/dist/recipe/tasks/diff.d.ts.map +1 -0
- package/dist/recipe/tasks/diff.js +6 -0
- package/dist/recipe/tasks/index.d.ts +9 -0
- package/dist/recipe/tasks/index.d.ts.map +1 -0
- package/dist/recipe/tasks/index.js +13 -0
- package/dist/recipe/tasks/placeholder-allow.d.ts +53 -0
- package/dist/recipe/tasks/placeholder-allow.d.ts.map +1 -0
- package/dist/recipe/tasks/placeholder-allow.js +218 -0
- package/dist/recipe/tasks/plan.d.ts +11 -0
- package/dist/recipe/tasks/plan.d.ts.map +1 -0
- package/dist/recipe/tasks/plan.js +72 -0
- package/dist/recipe/tasks/prune-defaults.d.ts +90 -0
- package/dist/recipe/tasks/prune-defaults.d.ts.map +1 -0
- package/dist/recipe/tasks/prune-defaults.js +184 -0
- package/dist/recipe/tasks/push.d.ts +18 -0
- package/dist/recipe/tasks/push.d.ts.map +1 -0
- package/dist/recipe/tasks/push.js +417 -0
- package/dist/recipe/tasks/shared.d.ts +152 -0
- package/dist/recipe/tasks/shared.d.ts.map +1 -0
- package/dist/recipe/tasks/shared.js +94 -0
- package/dist/recipe/validate.d.ts +103 -0
- package/dist/recipe/validate.d.ts.map +1 -0
- package/dist/recipe/validate.js +297 -0
- package/dist/serialization/commands.d.ts +48 -0
- package/dist/serialization/commands.d.ts.map +1 -0
- package/dist/serialization/commands.js +175 -0
- package/dist/serialization/compare.d.ts +29 -0
- package/dist/serialization/compare.d.ts.map +1 -0
- package/dist/serialization/compare.js +124 -0
- package/dist/serialization/field-filter.d.ts +7 -0
- package/dist/serialization/field-filter.d.ts.map +1 -0
- package/dist/serialization/field-filter.js +20 -0
- package/dist/serialization/filesystem-store/constants.d.ts +3 -0
- package/dist/serialization/filesystem-store/constants.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/constants.js +5 -0
- package/dist/serialization/filesystem-store/index.d.ts +4 -0
- package/dist/serialization/filesystem-store/index.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/index.js +15 -0
- package/dist/serialization/filesystem-store/items.d.ts +10 -0
- package/dist/serialization/filesystem-store/items.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/items.js +64 -0
- package/dist/serialization/filesystem-store/roles.d.ts +6 -0
- package/dist/serialization/filesystem-store/roles.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/roles.js +46 -0
- package/dist/serialization/filesystem-store/users.d.ts +6 -0
- package/dist/serialization/filesystem-store/users.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/users.js +46 -0
- package/dist/serialization/filesystem-store/utils.d.ts +2 -0
- package/dist/serialization/filesystem-store/utils.d.ts.map +1 -0
- package/dist/serialization/filesystem-store/utils.js +17 -0
- package/dist/serialization/filesystem-store.d.ts +2 -0
- package/dist/serialization/filesystem-store.d.ts.map +1 -0
- package/dist/serialization/filesystem-store.js +17 -0
- package/dist/serialization/item-path.d.ts +32 -0
- package/dist/serialization/item-path.d.ts.map +1 -0
- package/dist/serialization/item-path.js +123 -0
- package/dist/serialization/path-provider.d.ts +12 -0
- package/dist/serialization/path-provider.d.ts.map +1 -0
- package/dist/serialization/path-provider.js +271 -0
- package/dist/serialization/signature.d.ts +4 -0
- package/dist/serialization/signature.d.ts.map +1 -0
- package/dist/serialization/signature.js +71 -0
- package/dist/serialization/sitecore-api/auth.d.ts +31 -0
- package/dist/serialization/sitecore-api/auth.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/auth.js +319 -0
- package/dist/serialization/sitecore-api/graphql.d.ts +12 -0
- package/dist/serialization/sitecore-api/graphql.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/graphql.js +20 -0
- package/dist/serialization/sitecore-api/history.d.ts +9 -0
- package/dist/serialization/sitecore-api/history.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/history.js +36 -0
- package/dist/serialization/sitecore-api/index.d.ts +7 -0
- package/dist/serialization/sitecore-api/index.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/index.js +22 -0
- package/dist/serialization/sitecore-api/items.d.ts +8 -0
- package/dist/serialization/sitecore-api/items.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/items.js +132 -0
- package/dist/serialization/sitecore-api/publish.d.ts +14 -0
- package/dist/serialization/sitecore-api/publish.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/publish.js +43 -0
- package/dist/serialization/sitecore-api/roles.d.ts +9 -0
- package/dist/serialization/sitecore-api/roles.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/roles.js +42 -0
- package/dist/serialization/sitecore-api/users.d.ts +9 -0
- package/dist/serialization/sitecore-api/users.d.ts.map +1 -0
- package/dist/serialization/sitecore-api/users.js +62 -0
- package/dist/serialization/sitecore-api.d.ts +2 -0
- package/dist/serialization/sitecore-api.d.ts.map +1 -0
- package/dist/serialization/sitecore-api.js +17 -0
- package/dist/serialization/tasks/diff.d.ts +3 -0
- package/dist/serialization/tasks/diff.d.ts.map +1 -0
- package/dist/serialization/tasks/diff.js +109 -0
- package/dist/serialization/tasks/env/constants.d.ts +2 -0
- package/dist/serialization/tasks/env/constants.d.ts.map +1 -0
- package/dist/serialization/tasks/env/constants.js +4 -0
- package/dist/serialization/tasks/env/deploy-token.d.ts +3 -0
- package/dist/serialization/tasks/env/deploy-token.d.ts.map +1 -0
- package/dist/serialization/tasks/env/deploy-token.js +128 -0
- package/dist/serialization/tasks/env/index.d.ts +5 -0
- package/dist/serialization/tasks/env/index.d.ts.map +1 -0
- package/dist/serialization/tasks/env/index.js +11 -0
- package/dist/serialization/tasks/env/init/auth.d.ts +24 -0
- package/dist/serialization/tasks/env/init/auth.d.ts.map +1 -0
- package/dist/serialization/tasks/env/init/auth.js +122 -0
- package/dist/serialization/tasks/env/init/deploy-lookup.d.ts +22 -0
- package/dist/serialization/tasks/env/init/deploy-lookup.d.ts.map +1 -0
- package/dist/serialization/tasks/env/init/deploy-lookup.js +244 -0
- package/dist/serialization/tasks/env/init.d.ts +3 -0
- package/dist/serialization/tasks/env/init.d.ts.map +1 -0
- package/dist/serialization/tasks/env/init.js +253 -0
- package/dist/serialization/tasks/env/logout.d.ts +3 -0
- package/dist/serialization/tasks/env/logout.d.ts.map +1 -0
- package/dist/serialization/tasks/env/logout.js +61 -0
- package/dist/serialization/tasks/env/status.d.ts +3 -0
- package/dist/serialization/tasks/env/status.d.ts.map +1 -0
- package/dist/serialization/tasks/env/status.js +149 -0
- package/dist/serialization/tasks/env.d.ts +2 -0
- package/dist/serialization/tasks/env.d.ts.map +1 -0
- package/dist/serialization/tasks/env.js +17 -0
- package/dist/serialization/tasks/helpers/collect.d.ts +8 -0
- package/dist/serialization/tasks/helpers/collect.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/collect.js +29 -0
- package/dist/serialization/tasks/helpers/commands.d.ts +5 -0
- package/dist/serialization/tasks/helpers/commands.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/commands.js +14 -0
- package/dist/serialization/tasks/helpers/filesystem.d.ts +6 -0
- package/dist/serialization/tasks/helpers/filesystem.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/filesystem.js +27 -0
- package/dist/serialization/tasks/helpers/index.d.ts +6 -0
- package/dist/serialization/tasks/helpers/index.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/index.js +13 -0
- package/dist/serialization/tasks/helpers/items.d.ts +3 -0
- package/dist/serialization/tasks/helpers/items.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/items.js +5 -0
- package/dist/serialization/tasks/helpers/sitecore.d.ts +5 -0
- package/dist/serialization/tasks/helpers/sitecore.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers/sitecore.js +109 -0
- package/dist/serialization/tasks/helpers.d.ts +2 -0
- package/dist/serialization/tasks/helpers.d.ts.map +1 -0
- package/dist/serialization/tasks/helpers.js +17 -0
- package/dist/serialization/tasks/index.d.ts +8 -0
- package/dist/serialization/tasks/index.d.ts.map +1 -0
- package/dist/serialization/tasks/index.js +19 -0
- package/dist/serialization/tasks/info.d.ts +4 -0
- package/dist/serialization/tasks/info.d.ts.map +1 -0
- package/dist/serialization/tasks/info.js +82 -0
- package/dist/serialization/tasks/package.d.ts +4 -0
- package/dist/serialization/tasks/package.d.ts.map +1 -0
- package/dist/serialization/tasks/package.js +171 -0
- package/dist/serialization/tasks/pull.d.ts +3 -0
- package/dist/serialization/tasks/pull.d.ts.map +1 -0
- package/dist/serialization/tasks/pull.js +82 -0
- package/dist/serialization/tasks/push.d.ts +3 -0
- package/dist/serialization/tasks/push.d.ts.map +1 -0
- package/dist/serialization/tasks/push.js +101 -0
- package/dist/serialization/tasks/roles.d.ts +6 -0
- package/dist/serialization/tasks/roles.d.ts.map +1 -0
- package/dist/serialization/tasks/roles.js +103 -0
- package/dist/serialization/tasks/shared.d.ts +19 -0
- package/dist/serialization/tasks/shared.d.ts.map +1 -0
- package/dist/serialization/tasks/shared.js +59 -0
- package/dist/serialization/tasks/types.d.ts +73 -0
- package/dist/serialization/tasks/types.d.ts.map +1 -0
- package/dist/serialization/tasks/types.js +8 -0
- package/dist/serialization/tasks/users.d.ts +5 -0
- package/dist/serialization/tasks/users.d.ts.map +1 -0
- package/dist/serialization/tasks/users.js +90 -0
- package/dist/serialization/tasks/validate.d.ts +5 -0
- package/dist/serialization/tasks/validate.d.ts.map +1 -0
- package/dist/serialization/tasks/validate.js +50 -0
- package/dist/serialization/tasks/watch.d.ts +3 -0
- package/dist/serialization/tasks/watch.d.ts.map +1 -0
- package/dist/serialization/tasks/watch.js +75 -0
- package/dist/serialization/tasks.d.ts +4 -0
- package/dist/serialization/tasks.d.ts.map +1 -0
- package/dist/serialization/tasks.js +19 -0
- package/dist/serialization/tree-spec.d.ts +51 -0
- package/dist/serialization/tree-spec.d.ts.map +1 -0
- package/dist/serialization/tree-spec.js +241 -0
- package/dist/serialization/types.d.ts +75 -0
- package/dist/serialization/types.d.ts.map +1 -0
- package/dist/serialization/types.js +2 -0
- package/dist/serialization/wildcard.d.ts +3 -0
- package/dist/serialization/wildcard.d.ts.map +1 -0
- package/dist/serialization/wildcard.js +24 -0
- package/dist/serialization/yaml.d.ts +9 -0
- package/dist/serialization/yaml.d.ts.map +1 -0
- package/dist/serialization/yaml.js +307 -0
- package/dist/shared/browser.d.ts +2 -0
- package/dist/shared/browser.d.ts.map +1 -0
- package/dist/shared/browser.js +36 -0
- package/dist/shared/cli-options.d.ts +17 -0
- package/dist/shared/cli-options.d.ts.map +1 -0
- package/dist/shared/cli-options.js +8 -0
- package/dist/shared/cli-tasks.d.ts +38 -0
- package/dist/shared/cli-tasks.d.ts.map +1 -0
- package/dist/shared/cli-tasks.js +108 -0
- package/dist/shared/config-template.d.ts +23 -0
- package/dist/shared/config-template.d.ts.map +1 -0
- package/dist/shared/config-template.js +38 -0
- package/dist/shared/env.d.ts +28 -0
- package/dist/shared/env.d.ts.map +1 -0
- package/dist/shared/env.js +38 -0
- package/dist/shared/errors.d.ts +21 -0
- package/dist/shared/errors.d.ts.map +1 -0
- package/dist/shared/errors.js +59 -0
- package/dist/shared/graphql.d.ts +76 -0
- package/dist/shared/graphql.d.ts.map +1 -0
- package/dist/shared/graphql.js +222 -0
- package/dist/shared/history.d.ts +12 -0
- package/dist/shared/history.d.ts.map +1 -0
- package/dist/shared/history.js +62 -0
- package/dist/shared/keychain.d.ts +15 -0
- package/dist/shared/keychain.d.ts.map +1 -0
- package/dist/shared/keychain.js +177 -0
- package/dist/shared/logger.d.ts +24 -0
- package/dist/shared/logger.d.ts.map +1 -0
- package/dist/shared/logger.js +157 -0
- package/dist/shared/output.d.ts +7 -0
- package/dist/shared/output.d.ts.map +1 -0
- package/dist/shared/output.js +21 -0
- package/dist/shared/prompt.d.ts +5 -0
- package/dist/shared/prompt.d.ts.map +1 -0
- package/dist/shared/prompt.js +87 -0
- package/dist/shared/redact.d.ts +3 -0
- package/dist/shared/redact.d.ts.map +1 -0
- package/dist/shared/redact.js +47 -0
- package/dist/shared/spinner.d.ts +5 -0
- package/dist/shared/spinner.d.ts.map +1 -0
- package/dist/shared/spinner.js +89 -0
- package/dist/shared/style.d.ts +2 -0
- package/dist/shared/style.d.ts.map +1 -0
- package/dist/shared/style.js +61 -0
- package/dist/shared/telemetry.d.ts +21 -0
- package/dist/shared/telemetry.d.ts.map +1 -0
- package/dist/shared/telemetry.js +226 -0
- package/dist/shared/validate.d.ts +3 -0
- package/dist/shared/validate.d.ts.map +1 -0
- package/dist/shared/validate.js +32 -0
- package/dist/sites/api/collections.d.ts +25 -0
- package/dist/sites/api/collections.d.ts.map +1 -0
- package/dist/sites/api/collections.js +21 -0
- package/dist/sites/api/index.d.ts +26 -0
- package/dist/sites/api/index.d.ts.map +1 -0
- package/dist/sites/api/index.js +55 -0
- package/dist/sites/api/jobs.d.ts +31 -0
- package/dist/sites/api/jobs.d.ts.map +1 -0
- package/dist/sites/api/jobs.js +10 -0
- package/dist/sites/api/languages.d.ts +22 -0
- package/dist/sites/api/languages.d.ts.map +1 -0
- package/dist/sites/api/languages.js +18 -0
- package/dist/sites/api/request.d.ts +24 -0
- package/dist/sites/api/request.d.ts.map +1 -0
- package/dist/sites/api/request.js +99 -0
- package/dist/sites/api/sites.d.ts +53 -0
- package/dist/sites/api/sites.d.ts.map +1 -0
- package/dist/sites/api/sites.js +41 -0
- package/dist/sites/api/types.d.ts +29 -0
- package/dist/sites/api/types.d.ts.map +1 -0
- package/dist/sites/api/types.js +4 -0
- package/package.json +109 -0
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PushPolicySchema: z.ZodEnum<{
|
|
3
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
4
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
5
|
+
CreateOnly: "CreateOnly";
|
|
6
|
+
}>;
|
|
7
|
+
export type PushPolicy = z.infer<typeof PushPolicySchema>;
|
|
8
|
+
/**
|
|
9
|
+
* Reference encodings the IR must distinguish — Sitecore stores cross-item
|
|
10
|
+
* references in many shapes (see `plans/sitecore-relationships.md`,
|
|
11
|
+
* "Reference encoding patterns"). The executor decides per-field which form
|
|
12
|
+
* to serialize.
|
|
13
|
+
*
|
|
14
|
+
* Two flavors of GUID reference:
|
|
15
|
+
*
|
|
16
|
+
* - `ref-guid` / `ref-guid-list` — known-at-compile-time GUIDs (Sitecore
|
|
17
|
+
* built-ins like the Standard Template, Folder, View Rendering). Inline
|
|
18
|
+
* constants; no runtime resolution needed.
|
|
19
|
+
* - `ref-recipe` / `ref-recipe-list` — references to items the executor
|
|
20
|
+
* creates during this push. The Authoring API server-assigns itemIds
|
|
21
|
+
* on create, so the IR carries a recipe-internal `refKey` (uuidv5
|
|
22
|
+
* derived from the recipe handle) and the executor substitutes the
|
|
23
|
+
* captured Sitecore itemId before dispatching the field write.
|
|
24
|
+
*/
|
|
25
|
+
export declare const RefValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
|
+
kind: z.ZodLiteral<"string">;
|
|
27
|
+
value: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
kind: z.ZodLiteral<"bool">;
|
|
30
|
+
value: z.ZodBoolean;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
kind: z.ZodLiteral<"number">;
|
|
33
|
+
value: z.ZodNumber;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
36
|
+
value: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
39
|
+
values: z.ZodArray<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
42
|
+
refKey: z.ZodString;
|
|
43
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
45
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
46
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
49
|
+
value: z.ZodString;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
kind: z.ZodLiteral<"query">;
|
|
52
|
+
value: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
55
|
+
site: z.ZodString;
|
|
56
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
57
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
58
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
61
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
62
|
+
}, z.core.$strip>], "kind">;
|
|
63
|
+
export type RefValue = z.infer<typeof RefValueSchema>;
|
|
64
|
+
export declare const FieldValueSchema: z.ZodObject<{
|
|
65
|
+
fieldId: z.ZodString;
|
|
66
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
67
|
+
language: z.ZodOptional<z.ZodString>;
|
|
68
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
70
|
+
kind: z.ZodLiteral<"string">;
|
|
71
|
+
value: z.ZodString;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"bool">;
|
|
74
|
+
value: z.ZodBoolean;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
kind: z.ZodLiteral<"number">;
|
|
77
|
+
value: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
80
|
+
value: z.ZodString;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
83
|
+
values: z.ZodArray<z.ZodString>;
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
86
|
+
refKey: z.ZodString;
|
|
87
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
88
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
89
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
90
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
93
|
+
value: z.ZodString;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
|
+
kind: z.ZodLiteral<"query">;
|
|
96
|
+
value: z.ZodString;
|
|
97
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
99
|
+
site: z.ZodString;
|
|
100
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
101
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
102
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
105
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
106
|
+
}, z.core.$strip>], "kind">;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
export type FieldValue = z.infer<typeof FieldValueSchema>;
|
|
109
|
+
export declare const CreateItemOpSchema: z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
path: z.ZodString;
|
|
112
|
+
parent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
113
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
114
|
+
refKey: z.ZodString;
|
|
115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
116
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
117
|
+
value: z.ZodString;
|
|
118
|
+
}, z.core.$strip>], "kind">;
|
|
119
|
+
templateOf: z.ZodString;
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
122
|
+
fieldId: z.ZodString;
|
|
123
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
124
|
+
language: z.ZodOptional<z.ZodString>;
|
|
125
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
127
|
+
kind: z.ZodLiteral<"string">;
|
|
128
|
+
value: z.ZodString;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
kind: z.ZodLiteral<"bool">;
|
|
131
|
+
value: z.ZodBoolean;
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
|
+
kind: z.ZodLiteral<"number">;
|
|
134
|
+
value: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
137
|
+
value: z.ZodString;
|
|
138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
140
|
+
values: z.ZodArray<z.ZodString>;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
143
|
+
refKey: z.ZodString;
|
|
144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
145
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
146
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
147
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
150
|
+
value: z.ZodString;
|
|
151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
+
kind: z.ZodLiteral<"query">;
|
|
153
|
+
value: z.ZodString;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
156
|
+
site: z.ZodString;
|
|
157
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
158
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
159
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
161
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
162
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
163
|
+
}, z.core.$strip>], "kind">;
|
|
164
|
+
}, z.core.$strip>>;
|
|
165
|
+
policy: z.ZodEnum<{
|
|
166
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
167
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
168
|
+
CreateOnly: "CreateOnly";
|
|
169
|
+
}>;
|
|
170
|
+
label: z.ZodString;
|
|
171
|
+
op: z.ZodLiteral<"CreateItem">;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export declare const SetFieldOpSchema: z.ZodObject<{
|
|
174
|
+
itemRefKey: z.ZodString;
|
|
175
|
+
fieldId: z.ZodString;
|
|
176
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
177
|
+
language: z.ZodOptional<z.ZodString>;
|
|
178
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
180
|
+
kind: z.ZodLiteral<"string">;
|
|
181
|
+
value: z.ZodString;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
kind: z.ZodLiteral<"bool">;
|
|
184
|
+
value: z.ZodBoolean;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"number">;
|
|
187
|
+
value: z.ZodNumber;
|
|
188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
190
|
+
value: z.ZodString;
|
|
191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
192
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
193
|
+
values: z.ZodArray<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
196
|
+
refKey: z.ZodString;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
198
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
199
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
200
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
202
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
203
|
+
value: z.ZodString;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
kind: z.ZodLiteral<"query">;
|
|
206
|
+
value: z.ZodString;
|
|
207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
209
|
+
site: z.ZodString;
|
|
210
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
211
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
212
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
214
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
215
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
216
|
+
}, z.core.$strip>], "kind">;
|
|
217
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
218
|
+
policy: z.ZodEnum<{
|
|
219
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
220
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
221
|
+
CreateOnly: "CreateOnly";
|
|
222
|
+
}>;
|
|
223
|
+
label: z.ZodString;
|
|
224
|
+
op: z.ZodLiteral<"SetField">;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
export declare const SetBaseTemplatesOpSchema: z.ZodObject<{
|
|
227
|
+
itemRefKey: z.ZodString;
|
|
228
|
+
baseTemplates: z.ZodArray<z.ZodString>;
|
|
229
|
+
policy: z.ZodEnum<{
|
|
230
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
231
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
232
|
+
CreateOnly: "CreateOnly";
|
|
233
|
+
}>;
|
|
234
|
+
label: z.ZodString;
|
|
235
|
+
op: z.ZodLiteral<"SetBaseTemplates">;
|
|
236
|
+
}, z.core.$strip>;
|
|
237
|
+
export declare const SetStandardValuesOpSchema: z.ZodObject<{
|
|
238
|
+
templateRefKey: z.ZodString;
|
|
239
|
+
standardValuesRefKey: z.ZodString;
|
|
240
|
+
policy: z.ZodEnum<{
|
|
241
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
242
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
243
|
+
CreateOnly: "CreateOnly";
|
|
244
|
+
}>;
|
|
245
|
+
label: z.ZodString;
|
|
246
|
+
op: z.ZodLiteral<"SetStandardValues">;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
/**
|
|
249
|
+
* Site instantiation via Sitecore's Sites API. Unlike CreateItem (which
|
|
250
|
+
* dispatches to Authoring GraphQL), CreateSiteFromTemplate dispatches
|
|
251
|
+
* to the Sites API's `createSite` operation — the only way to spin up
|
|
252
|
+
* a site instance with all the SXA initialization (content tree
|
|
253
|
+
* skeleton, settings, dictionary structure, etc.) that Authoring API
|
|
254
|
+
* `createItem` can't reproduce.
|
|
255
|
+
*
|
|
256
|
+
* Async semantics: the Sites API's `createSite` returns a JobResponse
|
|
257
|
+
* (a job handle); the executor polls until completion, then looks up
|
|
258
|
+
* the created site by name to capture its assigned itemId. The
|
|
259
|
+
* captured itemId becomes the resolution target for subsequent ops
|
|
260
|
+
* keyed on `siteRefKey`.
|
|
261
|
+
*
|
|
262
|
+
* Idempotency: planner checks if a site with this `siteName` already
|
|
263
|
+
* exists in the environment via Sites API `listSites`. If yes →
|
|
264
|
+
* status: skip (mutation: undefined). If no → status: create, mutation
|
|
265
|
+
* dispatches `createSite`. There is no "update site template"
|
|
266
|
+
* operation on the Sites API; mismatched-template sites are reported
|
|
267
|
+
* as planning errors rather than silently re-instantiated.
|
|
268
|
+
*/
|
|
269
|
+
export declare const CreateSiteFromTemplateOpSchema: z.ZodObject<{
|
|
270
|
+
siteRefKey: z.ZodString;
|
|
271
|
+
siteName: z.ZodString;
|
|
272
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
273
|
+
description: z.ZodOptional<z.ZodString>;
|
|
274
|
+
language: z.ZodString;
|
|
275
|
+
additionalLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
276
|
+
hostName: z.ZodOptional<z.ZodString>;
|
|
277
|
+
templateRefKey: z.ZodString;
|
|
278
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
279
|
+
collectionName: z.ZodOptional<z.ZodString>;
|
|
280
|
+
collectionDisplayName: z.ZodOptional<z.ZodString>;
|
|
281
|
+
collectionDescription: z.ZodOptional<z.ZodString>;
|
|
282
|
+
policy: z.ZodEnum<{
|
|
283
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
284
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
285
|
+
CreateOnly: "CreateOnly";
|
|
286
|
+
}>;
|
|
287
|
+
label: z.ZodString;
|
|
288
|
+
op: z.ZodLiteral<"CreateSiteFromTemplate">;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
/**
|
|
291
|
+
* Append GUIDs to an existing item's multi-list field without disturbing
|
|
292
|
+
* existing values. Used by registry-driven recipes to register their
|
|
293
|
+
* renderings against pre-existing SXA Available Rendering Section
|
|
294
|
+
* Definition items (`availableIn` on `ComponentTemplateRecipe`).
|
|
295
|
+
*
|
|
296
|
+
* Idempotent under `policy: "merge-unique"` — the executor reads the
|
|
297
|
+
* current field value, parses it as a pipe-separated GUID list,
|
|
298
|
+
* unions the desired values into the existing set, and writes back
|
|
299
|
+
* only if the set changed. Re-pushing a recipe with the same
|
|
300
|
+
* `values` is a no-op once the values are present.
|
|
301
|
+
*
|
|
302
|
+
* Removal is intentionally NOT modelled here — uninstalling a
|
|
303
|
+
* component does not auto-remove it from a section's Available
|
|
304
|
+
* Renderings; that's an explicit operator action with a different
|
|
305
|
+
* policy.
|
|
306
|
+
*/
|
|
307
|
+
export declare const AppendToMultiListOpSchema: z.ZodObject<{
|
|
308
|
+
itemRefKey: z.ZodString;
|
|
309
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
310
|
+
fieldId: z.ZodString;
|
|
311
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
312
|
+
values: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
313
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
314
|
+
value: z.ZodString;
|
|
315
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
316
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
317
|
+
refKey: z.ZodString;
|
|
318
|
+
}, z.core.$strip>], "kind">>;
|
|
319
|
+
appendPolicy: z.ZodLiteral<"merge-unique">;
|
|
320
|
+
policy: z.ZodEnum<{
|
|
321
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
322
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
323
|
+
CreateOnly: "CreateOnly";
|
|
324
|
+
}>;
|
|
325
|
+
label: z.ZodString;
|
|
326
|
+
op: z.ZodLiteral<"AppendToMultiList">;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
export declare const OperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
329
|
+
id: z.ZodString;
|
|
330
|
+
path: z.ZodString;
|
|
331
|
+
parent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
333
|
+
refKey: z.ZodString;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
336
|
+
value: z.ZodString;
|
|
337
|
+
}, z.core.$strip>], "kind">;
|
|
338
|
+
templateOf: z.ZodString;
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
341
|
+
fieldId: z.ZodString;
|
|
342
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
343
|
+
language: z.ZodOptional<z.ZodString>;
|
|
344
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
346
|
+
kind: z.ZodLiteral<"string">;
|
|
347
|
+
value: z.ZodString;
|
|
348
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
349
|
+
kind: z.ZodLiteral<"bool">;
|
|
350
|
+
value: z.ZodBoolean;
|
|
351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
352
|
+
kind: z.ZodLiteral<"number">;
|
|
353
|
+
value: z.ZodNumber;
|
|
354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
355
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
356
|
+
value: z.ZodString;
|
|
357
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
358
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
359
|
+
values: z.ZodArray<z.ZodString>;
|
|
360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
361
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
362
|
+
refKey: z.ZodString;
|
|
363
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
364
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
365
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
366
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
369
|
+
value: z.ZodString;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
kind: z.ZodLiteral<"query">;
|
|
372
|
+
value: z.ZodString;
|
|
373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
375
|
+
site: z.ZodString;
|
|
376
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
377
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
378
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
380
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
381
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
382
|
+
}, z.core.$strip>], "kind">;
|
|
383
|
+
}, z.core.$strip>>;
|
|
384
|
+
policy: z.ZodEnum<{
|
|
385
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
386
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
387
|
+
CreateOnly: "CreateOnly";
|
|
388
|
+
}>;
|
|
389
|
+
label: z.ZodString;
|
|
390
|
+
op: z.ZodLiteral<"CreateItem">;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
itemRefKey: z.ZodString;
|
|
393
|
+
fieldId: z.ZodString;
|
|
394
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
395
|
+
language: z.ZodOptional<z.ZodString>;
|
|
396
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
397
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
398
|
+
kind: z.ZodLiteral<"string">;
|
|
399
|
+
value: z.ZodString;
|
|
400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
401
|
+
kind: z.ZodLiteral<"bool">;
|
|
402
|
+
value: z.ZodBoolean;
|
|
403
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
404
|
+
kind: z.ZodLiteral<"number">;
|
|
405
|
+
value: z.ZodNumber;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
408
|
+
value: z.ZodString;
|
|
409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
410
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
411
|
+
values: z.ZodArray<z.ZodString>;
|
|
412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
413
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
414
|
+
refKey: z.ZodString;
|
|
415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
416
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
417
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
418
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
420
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
421
|
+
value: z.ZodString;
|
|
422
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
423
|
+
kind: z.ZodLiteral<"query">;
|
|
424
|
+
value: z.ZodString;
|
|
425
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
427
|
+
site: z.ZodString;
|
|
428
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
429
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
430
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
433
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
434
|
+
}, z.core.$strip>], "kind">;
|
|
435
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
436
|
+
policy: z.ZodEnum<{
|
|
437
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
438
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
439
|
+
CreateOnly: "CreateOnly";
|
|
440
|
+
}>;
|
|
441
|
+
label: z.ZodString;
|
|
442
|
+
op: z.ZodLiteral<"SetField">;
|
|
443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
444
|
+
itemRefKey: z.ZodString;
|
|
445
|
+
baseTemplates: z.ZodArray<z.ZodString>;
|
|
446
|
+
policy: z.ZodEnum<{
|
|
447
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
448
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
449
|
+
CreateOnly: "CreateOnly";
|
|
450
|
+
}>;
|
|
451
|
+
label: z.ZodString;
|
|
452
|
+
op: z.ZodLiteral<"SetBaseTemplates">;
|
|
453
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
454
|
+
templateRefKey: z.ZodString;
|
|
455
|
+
standardValuesRefKey: z.ZodString;
|
|
456
|
+
policy: z.ZodEnum<{
|
|
457
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
458
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
459
|
+
CreateOnly: "CreateOnly";
|
|
460
|
+
}>;
|
|
461
|
+
label: z.ZodString;
|
|
462
|
+
op: z.ZodLiteral<"SetStandardValues">;
|
|
463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
464
|
+
siteRefKey: z.ZodString;
|
|
465
|
+
siteName: z.ZodString;
|
|
466
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
467
|
+
description: z.ZodOptional<z.ZodString>;
|
|
468
|
+
language: z.ZodString;
|
|
469
|
+
additionalLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
470
|
+
hostName: z.ZodOptional<z.ZodString>;
|
|
471
|
+
templateRefKey: z.ZodString;
|
|
472
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
473
|
+
collectionName: z.ZodOptional<z.ZodString>;
|
|
474
|
+
collectionDisplayName: z.ZodOptional<z.ZodString>;
|
|
475
|
+
collectionDescription: z.ZodOptional<z.ZodString>;
|
|
476
|
+
policy: z.ZodEnum<{
|
|
477
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
478
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
479
|
+
CreateOnly: "CreateOnly";
|
|
480
|
+
}>;
|
|
481
|
+
label: z.ZodString;
|
|
482
|
+
op: z.ZodLiteral<"CreateSiteFromTemplate">;
|
|
483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
484
|
+
itemRefKey: z.ZodString;
|
|
485
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
486
|
+
fieldId: z.ZodString;
|
|
487
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
488
|
+
values: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
489
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
490
|
+
value: z.ZodString;
|
|
491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
492
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
493
|
+
refKey: z.ZodString;
|
|
494
|
+
}, z.core.$strip>], "kind">>;
|
|
495
|
+
appendPolicy: z.ZodLiteral<"merge-unique">;
|
|
496
|
+
policy: z.ZodEnum<{
|
|
497
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
498
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
499
|
+
CreateOnly: "CreateOnly";
|
|
500
|
+
}>;
|
|
501
|
+
label: z.ZodString;
|
|
502
|
+
op: z.ZodLiteral<"AppendToMultiList">;
|
|
503
|
+
}, z.core.$strip>], "op">;
|
|
504
|
+
export type CreateItemOp = z.infer<typeof CreateItemOpSchema>;
|
|
505
|
+
export type SetFieldOp = z.infer<typeof SetFieldOpSchema>;
|
|
506
|
+
export type SetBaseTemplatesOp = z.infer<typeof SetBaseTemplatesOpSchema>;
|
|
507
|
+
export type SetStandardValuesOp = z.infer<typeof SetStandardValuesOpSchema>;
|
|
508
|
+
export type CreateSiteFromTemplateOp = z.infer<typeof CreateSiteFromTemplateOpSchema>;
|
|
509
|
+
export type AppendToMultiListOp = z.infer<typeof AppendToMultiListOpSchema>;
|
|
510
|
+
export type Operation = z.infer<typeof OperationSchema>;
|
|
511
|
+
export declare const OperationIrSchema: z.ZodObject<{
|
|
512
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
513
|
+
recipeHandle: z.ZodString;
|
|
514
|
+
operations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
515
|
+
id: z.ZodString;
|
|
516
|
+
path: z.ZodString;
|
|
517
|
+
parent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
518
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
519
|
+
refKey: z.ZodString;
|
|
520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
521
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
522
|
+
value: z.ZodString;
|
|
523
|
+
}, z.core.$strip>], "kind">;
|
|
524
|
+
templateOf: z.ZodString;
|
|
525
|
+
name: z.ZodString;
|
|
526
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
527
|
+
fieldId: z.ZodString;
|
|
528
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
529
|
+
language: z.ZodOptional<z.ZodString>;
|
|
530
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
532
|
+
kind: z.ZodLiteral<"string">;
|
|
533
|
+
value: z.ZodString;
|
|
534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
535
|
+
kind: z.ZodLiteral<"bool">;
|
|
536
|
+
value: z.ZodBoolean;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
kind: z.ZodLiteral<"number">;
|
|
539
|
+
value: z.ZodNumber;
|
|
540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
541
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
542
|
+
value: z.ZodString;
|
|
543
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
544
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
545
|
+
values: z.ZodArray<z.ZodString>;
|
|
546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
548
|
+
refKey: z.ZodString;
|
|
549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
550
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
551
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
552
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
555
|
+
value: z.ZodString;
|
|
556
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
557
|
+
kind: z.ZodLiteral<"query">;
|
|
558
|
+
value: z.ZodString;
|
|
559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
560
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
561
|
+
site: z.ZodString;
|
|
562
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
563
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
564
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
566
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
567
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
568
|
+
}, z.core.$strip>], "kind">;
|
|
569
|
+
}, z.core.$strip>>;
|
|
570
|
+
policy: z.ZodEnum<{
|
|
571
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
572
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
573
|
+
CreateOnly: "CreateOnly";
|
|
574
|
+
}>;
|
|
575
|
+
label: z.ZodString;
|
|
576
|
+
op: z.ZodLiteral<"CreateItem">;
|
|
577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
578
|
+
itemRefKey: z.ZodString;
|
|
579
|
+
fieldId: z.ZodString;
|
|
580
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
581
|
+
language: z.ZodOptional<z.ZodString>;
|
|
582
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
584
|
+
kind: z.ZodLiteral<"string">;
|
|
585
|
+
value: z.ZodString;
|
|
586
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
587
|
+
kind: z.ZodLiteral<"bool">;
|
|
588
|
+
value: z.ZodBoolean;
|
|
589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
590
|
+
kind: z.ZodLiteral<"number">;
|
|
591
|
+
value: z.ZodNumber;
|
|
592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
593
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
594
|
+
value: z.ZodString;
|
|
595
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
596
|
+
kind: z.ZodLiteral<"ref-guid-list">;
|
|
597
|
+
values: z.ZodArray<z.ZodString>;
|
|
598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
599
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
600
|
+
refKey: z.ZodString;
|
|
601
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
602
|
+
kind: z.ZodLiteral<"ref-recipe-list">;
|
|
603
|
+
refKeys: z.ZodArray<z.ZodString>;
|
|
604
|
+
tolerateMissing: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
606
|
+
kind: z.ZodLiteral<"ref-path">;
|
|
607
|
+
value: z.ZodString;
|
|
608
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
609
|
+
kind: z.ZodLiteral<"query">;
|
|
610
|
+
value: z.ZodString;
|
|
611
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
612
|
+
kind: z.ZodLiteral<"ref-source-fields">;
|
|
613
|
+
site: z.ZodString;
|
|
614
|
+
sourceTypes: z.ZodArray<z.ZodString>;
|
|
615
|
+
sourceQuery: z.ZodOptional<z.ZodString>;
|
|
616
|
+
sourceScope: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
kind: z.ZodLiteral<"url-string-map">;
|
|
619
|
+
entries: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
620
|
+
}, z.core.$strip>], "kind">;
|
|
621
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
622
|
+
policy: z.ZodEnum<{
|
|
623
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
624
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
625
|
+
CreateOnly: "CreateOnly";
|
|
626
|
+
}>;
|
|
627
|
+
label: z.ZodString;
|
|
628
|
+
op: z.ZodLiteral<"SetField">;
|
|
629
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
630
|
+
itemRefKey: z.ZodString;
|
|
631
|
+
baseTemplates: z.ZodArray<z.ZodString>;
|
|
632
|
+
policy: z.ZodEnum<{
|
|
633
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
634
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
635
|
+
CreateOnly: "CreateOnly";
|
|
636
|
+
}>;
|
|
637
|
+
label: z.ZodString;
|
|
638
|
+
op: z.ZodLiteral<"SetBaseTemplates">;
|
|
639
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
640
|
+
templateRefKey: z.ZodString;
|
|
641
|
+
standardValuesRefKey: z.ZodString;
|
|
642
|
+
policy: z.ZodEnum<{
|
|
643
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
644
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
645
|
+
CreateOnly: "CreateOnly";
|
|
646
|
+
}>;
|
|
647
|
+
label: z.ZodString;
|
|
648
|
+
op: z.ZodLiteral<"SetStandardValues">;
|
|
649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
650
|
+
siteRefKey: z.ZodString;
|
|
651
|
+
siteName: z.ZodString;
|
|
652
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
653
|
+
description: z.ZodOptional<z.ZodString>;
|
|
654
|
+
language: z.ZodString;
|
|
655
|
+
additionalLanguages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
|
+
hostName: z.ZodOptional<z.ZodString>;
|
|
657
|
+
templateRefKey: z.ZodString;
|
|
658
|
+
collectionId: z.ZodOptional<z.ZodString>;
|
|
659
|
+
collectionName: z.ZodOptional<z.ZodString>;
|
|
660
|
+
collectionDisplayName: z.ZodOptional<z.ZodString>;
|
|
661
|
+
collectionDescription: z.ZodOptional<z.ZodString>;
|
|
662
|
+
policy: z.ZodEnum<{
|
|
663
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
664
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
665
|
+
CreateOnly: "CreateOnly";
|
|
666
|
+
}>;
|
|
667
|
+
label: z.ZodString;
|
|
668
|
+
op: z.ZodLiteral<"CreateSiteFromTemplate">;
|
|
669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
670
|
+
itemRefKey: z.ZodString;
|
|
671
|
+
latePath: z.ZodOptional<z.ZodString>;
|
|
672
|
+
fieldId: z.ZodString;
|
|
673
|
+
fieldName: z.ZodOptional<z.ZodString>;
|
|
674
|
+
values: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
675
|
+
kind: z.ZodLiteral<"ref-guid">;
|
|
676
|
+
value: z.ZodString;
|
|
677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
678
|
+
kind: z.ZodLiteral<"ref-recipe">;
|
|
679
|
+
refKey: z.ZodString;
|
|
680
|
+
}, z.core.$strip>], "kind">>;
|
|
681
|
+
appendPolicy: z.ZodLiteral<"merge-unique">;
|
|
682
|
+
policy: z.ZodEnum<{
|
|
683
|
+
CreateUpdateAndDelete: "CreateUpdateAndDelete";
|
|
684
|
+
CreateAndUpdate: "CreateAndUpdate";
|
|
685
|
+
CreateOnly: "CreateOnly";
|
|
686
|
+
}>;
|
|
687
|
+
label: z.ZodString;
|
|
688
|
+
op: z.ZodLiteral<"AppendToMultiList">;
|
|
689
|
+
}, z.core.$strip>], "op">>;
|
|
690
|
+
}, z.core.$strip>;
|
|
691
|
+
export type OperationIr = z.infer<typeof OperationIrSchema>;
|
|
692
|
+
//# sourceMappingURL=operations.d.ts.map
|