@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,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.runDeployLogsData = exports.runDeployLogsView = exports.runDeployLogsList = void 0;
|
|
7
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
8
|
+
const promises_1 = __importDefault(require("node:fs/promises"));
|
|
9
|
+
const api_1 = require("../../deploy/api");
|
|
10
|
+
const shared_1 = require("./shared");
|
|
11
|
+
const runDeployLogsList = async (options) => {
|
|
12
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
13
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
14
|
+
const environmentId = await (0, shared_1.resolveDeployEnvironmentId)(context, options);
|
|
15
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
16
|
+
const result = await (0, api_1.fetchLogList)({ accessToken: context.token, baseUrl: context.baseUrl }, environmentId, options.latest, organizationId);
|
|
17
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.logs.list", result);
|
|
18
|
+
};
|
|
19
|
+
exports.runDeployLogsList = runDeployLogsList;
|
|
20
|
+
const runDeployLogsView = async (options) => {
|
|
21
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
22
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
23
|
+
if (!options.log) {
|
|
24
|
+
throw (0, shared_1.inputError)("Log filename is required. Use --log.");
|
|
25
|
+
}
|
|
26
|
+
const environmentId = await (0, shared_1.resolveDeployEnvironmentId)(context, options);
|
|
27
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
28
|
+
const result = await (0, api_1.fetchLogFile)({ accessToken: context.token, baseUrl: context.baseUrl }, environmentId, options.log, false, organizationId);
|
|
29
|
+
const content = result.buffer.toString("utf8");
|
|
30
|
+
if (logger.isJson()) {
|
|
31
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.logs.view", content);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
logger.info(content);
|
|
35
|
+
};
|
|
36
|
+
exports.runDeployLogsView = runDeployLogsView;
|
|
37
|
+
const runDeployLogsData = async (options) => {
|
|
38
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
39
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
40
|
+
if (!options.log) {
|
|
41
|
+
throw (0, shared_1.inputError)("Log filename is required. Use --log.");
|
|
42
|
+
}
|
|
43
|
+
const environmentId = await (0, shared_1.resolveDeployEnvironmentId)(context, options);
|
|
44
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
45
|
+
const result = await (0, api_1.fetchLogFile)({ accessToken: context.token, baseUrl: context.baseUrl }, environmentId, options.log, true, organizationId);
|
|
46
|
+
const outputPath = options.output
|
|
47
|
+
? node_path_1.default.resolve(options.output)
|
|
48
|
+
: node_path_1.default.resolve(process.cwd(), options.log);
|
|
49
|
+
await promises_1.default.writeFile(outputPath, result.buffer);
|
|
50
|
+
if (logger.isJson()) {
|
|
51
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.logs.data", null, { outputPath });
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
logger.info(`Saved log file to ${outputPath}`, "green");
|
|
55
|
+
};
|
|
56
|
+
exports.runDeployLogsData = runDeployLogsData;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DeployBaseOptions, DeployOrganizationOptions } from "./types";
|
|
2
|
+
export declare const runDeployOrganizationsGet: (options: DeployBaseOptions) => Promise<void>;
|
|
3
|
+
export declare const runDeployOrganizationsHealth: (options: DeployOrganizationOptions) => Promise<void>;
|
|
4
|
+
export declare const runDeployOrganizationsLicense: (options: DeployOrganizationOptions) => Promise<void>;
|
|
5
|
+
export declare const runDeployOrganizationsLaunchDemo: (options: DeployOrganizationOptions) => Promise<void>;
|
|
6
|
+
//# sourceMappingURL=organizations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/deploy/tasks/organizations.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAE5E,eAAO,MAAM,yBAAyB,GAAU,SAAS,iBAAiB,KAAG,OAAO,CAAC,IAAI,CAQxF,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,SAAS,yBAAyB,KACjC,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,SAAS,yBAAyB,KACjC,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,SAAS,yBAAyB,KACjC,OAAO,CAAC,IAAI,CAYd,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.runDeployOrganizationsLaunchDemo = exports.runDeployOrganizationsLicense = exports.runDeployOrganizationsHealth = exports.runDeployOrganizationsGet = void 0;
|
|
4
|
+
const api_1 = require("../../deploy/api");
|
|
5
|
+
const shared_1 = require("./shared");
|
|
6
|
+
const runDeployOrganizationsGet = async (options) => {
|
|
7
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
8
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
9
|
+
const result = await (0, api_1.fetchOrganization)({
|
|
10
|
+
accessToken: context.token,
|
|
11
|
+
baseUrl: context.baseUrl,
|
|
12
|
+
});
|
|
13
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.organizations.get", result);
|
|
14
|
+
};
|
|
15
|
+
exports.runDeployOrganizationsGet = runDeployOrganizationsGet;
|
|
16
|
+
const runDeployOrganizationsHealth = async (options) => {
|
|
17
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
18
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
19
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
20
|
+
if (!organizationId) {
|
|
21
|
+
throw (0, shared_1.inputError)("Organization ID is required. Run init or pass --organization-id.");
|
|
22
|
+
}
|
|
23
|
+
const result = await (0, api_1.fetchOrganizationHealth)({ accessToken: context.token, baseUrl: context.baseUrl }, organizationId);
|
|
24
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.organizations.health", result);
|
|
25
|
+
};
|
|
26
|
+
exports.runDeployOrganizationsHealth = runDeployOrganizationsHealth;
|
|
27
|
+
const runDeployOrganizationsLicense = async (options) => {
|
|
28
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
29
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
30
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
31
|
+
if (!organizationId) {
|
|
32
|
+
throw (0, shared_1.inputError)("Organization ID is required. Run init or pass --organization-id.");
|
|
33
|
+
}
|
|
34
|
+
const result = await (0, api_1.fetchOrganizationLicense)({ accessToken: context.token, baseUrl: context.baseUrl }, organizationId);
|
|
35
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.organizations.license", result);
|
|
36
|
+
};
|
|
37
|
+
exports.runDeployOrganizationsLicense = runDeployOrganizationsLicense;
|
|
38
|
+
const runDeployOrganizationsLaunchDemo = async (options) => {
|
|
39
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
40
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
41
|
+
const organizationId = await (0, shared_1.resolveDeployOrganizationId)(context);
|
|
42
|
+
if (!organizationId) {
|
|
43
|
+
throw (0, shared_1.inputError)("Organization ID is required. Run init or pass --organization-id.");
|
|
44
|
+
}
|
|
45
|
+
const result = await (0, api_1.createOrganizationDemoSolution)({
|
|
46
|
+
accessToken: context.token,
|
|
47
|
+
baseUrl: context.baseUrl,
|
|
48
|
+
});
|
|
49
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.organizations.launch-demo", result);
|
|
50
|
+
};
|
|
51
|
+
exports.runDeployOrganizationsLaunchDemo = runDeployOrganizationsLaunchDemo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DeployBaseOptions, DeployProjectCreateOptions, DeployProjectDeleteOptions, DeployProjectNameValidationOptions, DeployProjectOptions, DeployProjectRepositoryLinkOptions, DeployProjectUpdateOptions } from "./types";
|
|
2
|
+
export declare const runDeployProjectsList: (options: DeployBaseOptions) => Promise<void>;
|
|
3
|
+
export declare const runDeployProjectsLimitation: (options: DeployBaseOptions) => Promise<void>;
|
|
4
|
+
export declare const runDeployProjectsValidateName: (options: DeployProjectNameValidationOptions) => Promise<void>;
|
|
5
|
+
export declare const runDeployProjectsGet: (options: DeployProjectOptions) => Promise<void>;
|
|
6
|
+
export declare const runDeployProjectsCreate: (options: DeployProjectCreateOptions) => Promise<void>;
|
|
7
|
+
export declare const runDeployProjectsDelete: (options: DeployProjectDeleteOptions) => Promise<void>;
|
|
8
|
+
export declare const runDeployProjectsUpdate: (options: DeployProjectUpdateOptions) => Promise<void>;
|
|
9
|
+
export declare const runDeployProjectsLinkRepository: (options: DeployProjectRepositoryLinkOptions) => Promise<void>;
|
|
10
|
+
export declare const runDeployProjectsUnlinkRepository: (options: DeployProjectOptions) => Promise<void>;
|
|
11
|
+
//# sourceMappingURL=projects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/deploy/tasks/projects.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,kCAAkC,EAClC,oBAAoB,EACpB,kCAAkC,EAClC,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,qBAAqB,GAAU,SAAS,iBAAiB,KAAG,OAAO,CAAC,IAAI,CAQpF,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAU,SAAS,iBAAiB,KAAG,OAAO,CAAC,IAAI,CAQ1F,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,SAAS,kCAAkC,KAC1C,OAAO,CAAC,IAAI,CAWd,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,SAAS,oBAAoB,KAAG,OAAO,CAAC,IAAI,CAStF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,SAAS,0BAA0B,KAClC,OAAO,CAAC,IAAI,CA8Bd,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,SAAS,0BAA0B,KAClC,OAAO,CAAC,IAAI,CA6Cd,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,SAAS,0BAA0B,KAClC,OAAO,CAAC,IAAI,CAgEd,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC1C,SAAS,kCAAkC,KAC1C,OAAO,CAAC,IAAI,CA+Cd,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAC5C,SAAS,oBAAoB,KAC5B,OAAO,CAAC,IAAI,CAqCd,CAAC"}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.runDeployProjectsUnlinkRepository = exports.runDeployProjectsLinkRepository = exports.runDeployProjectsUpdate = exports.runDeployProjectsDelete = exports.runDeployProjectsCreate = exports.runDeployProjectsGet = exports.runDeployProjectsValidateName = exports.runDeployProjectsLimitation = exports.runDeployProjectsList = void 0;
|
|
4
|
+
const api_1 = require("../../deploy/api");
|
|
5
|
+
const errors_1 = require("../../shared/errors");
|
|
6
|
+
const shared_1 = require("./shared");
|
|
7
|
+
const runDeployProjectsList = async (options) => {
|
|
8
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
9
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
10
|
+
const result = await (0, api_1.fetchProjects)({
|
|
11
|
+
accessToken: context.token,
|
|
12
|
+
baseUrl: context.baseUrl,
|
|
13
|
+
});
|
|
14
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.list", result);
|
|
15
|
+
};
|
|
16
|
+
exports.runDeployProjectsList = runDeployProjectsList;
|
|
17
|
+
const runDeployProjectsLimitation = async (options) => {
|
|
18
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
19
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
20
|
+
const result = await (0, api_1.fetchProjectsLimitation)({
|
|
21
|
+
accessToken: context.token,
|
|
22
|
+
baseUrl: context.baseUrl,
|
|
23
|
+
});
|
|
24
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.limitation", result);
|
|
25
|
+
};
|
|
26
|
+
exports.runDeployProjectsLimitation = runDeployProjectsLimitation;
|
|
27
|
+
const runDeployProjectsValidateName = async (options) => {
|
|
28
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
29
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
30
|
+
if (!options.name) {
|
|
31
|
+
throw (0, shared_1.inputError)("Project name is required. Use --name.");
|
|
32
|
+
}
|
|
33
|
+
const result = await (0, api_1.validateProjectName)({ accessToken: context.token, baseUrl: context.baseUrl }, options.name);
|
|
34
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.validate-name", result);
|
|
35
|
+
};
|
|
36
|
+
exports.runDeployProjectsValidateName = runDeployProjectsValidateName;
|
|
37
|
+
const runDeployProjectsGet = async (options) => {
|
|
38
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
39
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
40
|
+
const id = options.id ?? options.name ?? context.projectId;
|
|
41
|
+
if (!id) {
|
|
42
|
+
throw (0, shared_1.inputError)("Project ID is required. Use --id/--name or set it in config.");
|
|
43
|
+
}
|
|
44
|
+
const result = await (0, api_1.fetchProject)({ accessToken: context.token, baseUrl: context.baseUrl }, id);
|
|
45
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.get", result);
|
|
46
|
+
};
|
|
47
|
+
exports.runDeployProjectsGet = runDeployProjectsGet;
|
|
48
|
+
const runDeployProjectsCreate = async (options) => {
|
|
49
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
50
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
51
|
+
if (!options.name) {
|
|
52
|
+
throw (0, shared_1.inputError)("Project name is required. Use --name.");
|
|
53
|
+
}
|
|
54
|
+
const body = { name: options.name };
|
|
55
|
+
if (options.repositoryName !== undefined) {
|
|
56
|
+
body.repository = options.repositoryName;
|
|
57
|
+
}
|
|
58
|
+
if (options.repositoryId !== undefined) {
|
|
59
|
+
body.repositoryId = options.repositoryId;
|
|
60
|
+
}
|
|
61
|
+
if (options.sourceControlIntegrationId !== undefined) {
|
|
62
|
+
body.integrationId = options.sourceControlIntegrationId;
|
|
63
|
+
}
|
|
64
|
+
if (options.whatIf) {
|
|
65
|
+
(0, shared_1.printDeployWhatIf)(logger, context, "deploy.projects.create", {
|
|
66
|
+
method: "POST",
|
|
67
|
+
path: "/api/projects/v1",
|
|
68
|
+
body,
|
|
69
|
+
});
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
const result = await (0, api_1.createProject)({ accessToken: context.token, baseUrl: context.baseUrl }, body);
|
|
73
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.create", result);
|
|
74
|
+
};
|
|
75
|
+
exports.runDeployProjectsCreate = runDeployProjectsCreate;
|
|
76
|
+
const runDeployProjectsDelete = async (options) => {
|
|
77
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
78
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
79
|
+
const selection = options.id ?? options.name;
|
|
80
|
+
if (!selection) {
|
|
81
|
+
throw (0, shared_1.inputError)("Project name or ID is required. Use --name or --id.");
|
|
82
|
+
}
|
|
83
|
+
if (options.whatIf) {
|
|
84
|
+
if (!options.id) {
|
|
85
|
+
throw (0, errors_1.createCliError)("Project ID is required for --what-if. Use --id.", "INPUT_INVALID", {
|
|
86
|
+
hint: "Provide an explicit project ID to avoid lookup calls.",
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
(0, shared_1.printDeployWhatIf)(logger, context, "deploy.projects.delete", {
|
|
90
|
+
method: "DELETE",
|
|
91
|
+
path: `/api/projects/v1/${options.id}`,
|
|
92
|
+
});
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const confirmed = await (0, shared_1.confirmDestructive)(`Delete project '${selection}'? This cannot be undone.`, options.force);
|
|
96
|
+
if (!confirmed) {
|
|
97
|
+
logger.info("Delete cancelled.", "yellow");
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const projectId = options.id ??
|
|
101
|
+
(await (async () => {
|
|
102
|
+
const projects = await (0, api_1.fetchProjects)({
|
|
103
|
+
accessToken: context.token,
|
|
104
|
+
baseUrl: context.baseUrl,
|
|
105
|
+
});
|
|
106
|
+
const project = (0, shared_1.selectMatch)(projects, "Project", selection);
|
|
107
|
+
return project.id ?? project.projectId;
|
|
108
|
+
})());
|
|
109
|
+
if (!projectId) {
|
|
110
|
+
throw (0, shared_1.inputError)("Project ID was not available.");
|
|
111
|
+
}
|
|
112
|
+
const result = await (0, api_1.deleteProject)({ accessToken: context.token, baseUrl: context.baseUrl }, projectId);
|
|
113
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.delete", result);
|
|
114
|
+
};
|
|
115
|
+
exports.runDeployProjectsDelete = runDeployProjectsDelete;
|
|
116
|
+
const runDeployProjectsUpdate = async (options) => {
|
|
117
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
118
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
119
|
+
const selection = options.id ?? options.name;
|
|
120
|
+
if (!selection) {
|
|
121
|
+
throw (0, shared_1.inputError)("Project name or ID is required. Use --name or --id.");
|
|
122
|
+
}
|
|
123
|
+
if (options.whatIf && !options.id) {
|
|
124
|
+
throw (0, errors_1.createCliError)("Project ID is required for --what-if. Use --id.", "INPUT_INVALID", {
|
|
125
|
+
hint: "Provide an explicit project ID to avoid lookup calls.",
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
const projectId = options.id ??
|
|
129
|
+
(await (async () => {
|
|
130
|
+
const projects = await (0, api_1.fetchProjects)({
|
|
131
|
+
accessToken: context.token,
|
|
132
|
+
baseUrl: context.baseUrl,
|
|
133
|
+
});
|
|
134
|
+
const project = (0, shared_1.selectMatch)(projects, "Project", selection);
|
|
135
|
+
return project.id ?? project.projectId;
|
|
136
|
+
})());
|
|
137
|
+
if (!projectId) {
|
|
138
|
+
throw (0, shared_1.inputError)("Project ID was not available.");
|
|
139
|
+
}
|
|
140
|
+
if (options.newName === undefined &&
|
|
141
|
+
options.repositoryName === undefined &&
|
|
142
|
+
options.repositoryId === undefined &&
|
|
143
|
+
options.sourceControlIntegrationId === undefined) {
|
|
144
|
+
throw (0, shared_1.inputError)("Project update requires --new-name/--repository-name/--repository-id/--source-control-integration-id.");
|
|
145
|
+
}
|
|
146
|
+
const body = {};
|
|
147
|
+
if (options.newName !== undefined) {
|
|
148
|
+
body.name = options.newName;
|
|
149
|
+
}
|
|
150
|
+
if (options.repositoryName !== undefined) {
|
|
151
|
+
body.repository = options.repositoryName;
|
|
152
|
+
}
|
|
153
|
+
if (options.repositoryId !== undefined) {
|
|
154
|
+
body.repositoryId = options.repositoryId;
|
|
155
|
+
}
|
|
156
|
+
if (options.sourceControlIntegrationId !== undefined) {
|
|
157
|
+
body.sourceControlIntegrationId = options.sourceControlIntegrationId;
|
|
158
|
+
}
|
|
159
|
+
if (options.whatIf) {
|
|
160
|
+
(0, shared_1.printDeployWhatIf)(logger, context, "deploy.projects.update", {
|
|
161
|
+
method: "PUT",
|
|
162
|
+
path: `/api/projects/v1/${projectId}`,
|
|
163
|
+
body,
|
|
164
|
+
});
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const result = await (0, api_1.updateProject)({ accessToken: context.token, baseUrl: context.baseUrl }, projectId, body);
|
|
168
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.update", result);
|
|
169
|
+
};
|
|
170
|
+
exports.runDeployProjectsUpdate = runDeployProjectsUpdate;
|
|
171
|
+
const runDeployProjectsLinkRepository = async (options) => {
|
|
172
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
173
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
174
|
+
if (!options.id) {
|
|
175
|
+
throw (0, shared_1.inputError)("Project ID is required. Use --id.");
|
|
176
|
+
}
|
|
177
|
+
const body = {};
|
|
178
|
+
if (options.repositoryName !== undefined) {
|
|
179
|
+
body.repository = options.repositoryName;
|
|
180
|
+
}
|
|
181
|
+
if (options.repositoryId !== undefined) {
|
|
182
|
+
body.repositoryId = options.repositoryId;
|
|
183
|
+
}
|
|
184
|
+
if (options.integrationId !== undefined) {
|
|
185
|
+
body.integrationId = options.integrationId;
|
|
186
|
+
}
|
|
187
|
+
if (options.repositoryRelativePath !== undefined) {
|
|
188
|
+
body.repositoryRelativePath = options.repositoryRelativePath;
|
|
189
|
+
}
|
|
190
|
+
const missing = [];
|
|
191
|
+
if (!("repositoryId" in body)) {
|
|
192
|
+
missing.push("repositoryId");
|
|
193
|
+
}
|
|
194
|
+
if (!("integrationId" in body)) {
|
|
195
|
+
missing.push("integrationId");
|
|
196
|
+
}
|
|
197
|
+
if (missing.length > 0) {
|
|
198
|
+
throw (0, shared_1.inputError)(`Repository link requires: ${missing.join(", ")}. Use flags or --body/--body-file.`);
|
|
199
|
+
}
|
|
200
|
+
if (options.whatIf) {
|
|
201
|
+
(0, shared_1.printDeployWhatIf)(logger, context, "deploy.projects.repository.link", {
|
|
202
|
+
method: "PUT",
|
|
203
|
+
path: `/api/projects/v1/${options.id}/repository`,
|
|
204
|
+
body,
|
|
205
|
+
});
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const result = await (0, api_1.linkProjectRepository)({ accessToken: context.token, baseUrl: context.baseUrl }, options.id, body);
|
|
209
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.repository.link", result);
|
|
210
|
+
};
|
|
211
|
+
exports.runDeployProjectsLinkRepository = runDeployProjectsLinkRepository;
|
|
212
|
+
const runDeployProjectsUnlinkRepository = async (options) => {
|
|
213
|
+
const logger = (0, shared_1.toLogger)(options);
|
|
214
|
+
const context = await (0, shared_1.getDeployContext)(options);
|
|
215
|
+
const selection = options.id ?? options.name;
|
|
216
|
+
if (!selection) {
|
|
217
|
+
throw (0, shared_1.inputError)("Project name or ID is required. Use --name or --id.");
|
|
218
|
+
}
|
|
219
|
+
if (options.whatIf && !options.id) {
|
|
220
|
+
throw (0, errors_1.createCliError)("Project ID is required for --what-if. Use --id.", "INPUT_INVALID", {
|
|
221
|
+
hint: "Provide an explicit project ID to avoid lookup calls.",
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
const projectId = options.id ??
|
|
225
|
+
(await (async () => {
|
|
226
|
+
const projects = await (0, api_1.fetchProjects)({
|
|
227
|
+
accessToken: context.token,
|
|
228
|
+
baseUrl: context.baseUrl,
|
|
229
|
+
});
|
|
230
|
+
const project = (0, shared_1.selectMatch)(projects, "Project", selection);
|
|
231
|
+
return project.id ?? project.projectId;
|
|
232
|
+
})());
|
|
233
|
+
if (!projectId) {
|
|
234
|
+
throw (0, shared_1.inputError)("Project ID was not available.");
|
|
235
|
+
}
|
|
236
|
+
if (options.whatIf) {
|
|
237
|
+
(0, shared_1.printDeployWhatIf)(logger, context, "deploy.projects.repository.unlink", {
|
|
238
|
+
method: "DELETE",
|
|
239
|
+
path: `/api/projects/v1/${projectId}/repository`,
|
|
240
|
+
});
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
const result = await (0, api_1.unlinkProjectRepository)({ accessToken: context.token, baseUrl: context.baseUrl }, projectId);
|
|
244
|
+
(0, shared_1.printDeployResultWithContext)(logger, context, "deploy.projects.repository.unlink", result);
|
|
245
|
+
};
|
|
246
|
+
exports.runDeployProjectsUnlinkRepository = runDeployProjectsUnlinkRepository;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers specific to `scai deploy` task runners — env-context
|
|
3
|
+
* resolution against the Deploy API, JSON-aware result printing,
|
|
4
|
+
* project/environment/org lookup. Neutral helpers (`toLogger`,
|
|
5
|
+
* `selectMatch`, `confirmDestructive`, etc.) live in
|
|
6
|
+
* `@/shared/cli-tasks`; serialization-specific helpers live in
|
|
7
|
+
* `@/serialization/tasks/shared`.
|
|
8
|
+
*/
|
|
9
|
+
import { Logger } from "../../shared/logger";
|
|
10
|
+
import { DeployEnvironment } from "../../deploy/api";
|
|
11
|
+
export { toLogger, applyIfDefined, inputError, confirmDestructive, selectMatch, selectFromList, resolveApiTimeoutMs, } from "../../shared/cli-tasks";
|
|
12
|
+
export declare const getDeployContext: (options: {
|
|
13
|
+
config?: string;
|
|
14
|
+
environmentName?: string;
|
|
15
|
+
whatIf?: boolean;
|
|
16
|
+
}) => Promise<{
|
|
17
|
+
token: string;
|
|
18
|
+
baseUrl?: string;
|
|
19
|
+
envName: string;
|
|
20
|
+
organizationId?: string;
|
|
21
|
+
projectId?: string;
|
|
22
|
+
environmentId?: string;
|
|
23
|
+
environmentType?: string;
|
|
24
|
+
editingHostEnvironmentIds?: string[];
|
|
25
|
+
whatIf?: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const resolveDeployOrganizationId: (context: {
|
|
28
|
+
token: string;
|
|
29
|
+
baseUrl?: string;
|
|
30
|
+
organizationId?: string;
|
|
31
|
+
}) => Promise<string | undefined>;
|
|
32
|
+
export declare const printDeployResult: (logger: Logger, data: unknown) => void;
|
|
33
|
+
export declare const printDeployResultWithContext: (logger: Logger, context: {
|
|
34
|
+
envName?: string;
|
|
35
|
+
}, command: string, result: unknown, extra?: Record<string, unknown>) => void;
|
|
36
|
+
export declare const printDeployWhatIf: (logger: Logger, context: {
|
|
37
|
+
envName?: string;
|
|
38
|
+
}, command: string, request: Record<string, unknown>) => void;
|
|
39
|
+
export declare const extractDeployEnvironmentList: (result: unknown) => DeployEnvironment[];
|
|
40
|
+
export declare const getEnvironmentType: (environment: DeployEnvironment) => string | undefined;
|
|
41
|
+
export declare const filterEnvironmentsByType: (environments: DeployEnvironment[], type?: string) => DeployEnvironment[];
|
|
42
|
+
export declare const resolveDeployProjectId: (context: {
|
|
43
|
+
token: string;
|
|
44
|
+
baseUrl?: string;
|
|
45
|
+
whatIf?: boolean;
|
|
46
|
+
}, options: {
|
|
47
|
+
project?: string;
|
|
48
|
+
}) => Promise<string | undefined>;
|
|
49
|
+
export declare const resolveDeployEnvironmentId: (context: {
|
|
50
|
+
token: string;
|
|
51
|
+
baseUrl?: string;
|
|
52
|
+
envName?: string;
|
|
53
|
+
environmentId?: string;
|
|
54
|
+
whatIf?: boolean;
|
|
55
|
+
}, options: {
|
|
56
|
+
id?: string;
|
|
57
|
+
name?: string;
|
|
58
|
+
project?: string;
|
|
59
|
+
}) => Promise<string>;
|
|
60
|
+
export declare const resolveEnvironmentType: (value: unknown) => string | undefined;
|
|
61
|
+
export declare const resolveTenantTypeValue: (value: unknown) => number | undefined;
|
|
62
|
+
export declare const resolveProjectIdValue: (value: unknown) => string | undefined;
|
|
63
|
+
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/deploy/tasks/shared.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAKzC,OAAO,EAKL,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAKtB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,UAAU,EACV,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,gBAAgB,GAAU,SAAS;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,KAAG,OAAO,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yBAAyB,CAAC,EAAE,MAAM,EAAE,CAAC;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAmBA,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAU,SAAS;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,KAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAa7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,MAAM,OAAO,KAAG,IAcjE,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,QAAQ,MAAM,EACd,SAAS;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7B,SAAS,MAAM,EACf,QAAQ,OAAO,EACf,QAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,KAClC,IAWF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,MAAM,EACd,SAAS;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7B,SAAS,MAAM,EACf,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC/B,IAWF,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,QAAQ,OAAO,KAAG,iBAAiB,EAY/E,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,aAAa,iBAAiB,KAAG,MAAM,GAAG,SA+B5E,CAAC;AAEF,eAAO,MAAM,wBAAwB,GACnC,cAAc,iBAAiB,EAAE,EACjC,OAAO,MAAM,KACZ,iBAAiB,EAenB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,EAC9D,SAAS;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,KAC5B,OAAO,CAAC,MAAM,GAAG,SAAS,CAc5B,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,SAAS;IACP,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,EACD,SAAS;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,KACxD,OAAO,CAAC,MAAM,CAmDhB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAOhE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAkBhE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,OAAO,OAAO,KAAG,MAAM,GAAG,SAK/D,CAAC"}
|