@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.
Files changed (569) hide show
  1. package/AGENTS.md +67 -0
  2. package/LICENSE +21 -0
  3. package/README.md +357 -0
  4. package/bin/sitecoreai-cli +3 -0
  5. package/dist/cli.d.ts +3 -0
  6. package/dist/cli.d.ts.map +1 -0
  7. package/dist/cli.js +358 -0
  8. package/dist/commands/config.d.ts +3 -0
  9. package/dist/commands/config.d.ts.map +1 -0
  10. package/dist/commands/config.js +27 -0
  11. package/dist/commands/deploy/deployments.d.ts +3 -0
  12. package/dist/commands/deploy/deployments.d.ts.map +1 -0
  13. package/dist/commands/deploy/deployments.js +58 -0
  14. package/dist/commands/deploy/editing-host.d.ts +3 -0
  15. package/dist/commands/deploy/editing-host.d.ts.map +1 -0
  16. package/dist/commands/deploy/editing-host.js +49 -0
  17. package/dist/commands/deploy/environments/deployments.d.ts +3 -0
  18. package/dist/commands/deploy/environments/deployments.d.ts.map +1 -0
  19. package/dist/commands/deploy/environments/deployments.js +28 -0
  20. package/dist/commands/deploy/environments/index.d.ts +3 -0
  21. package/dist/commands/deploy/environments/index.d.ts.map +1 -0
  22. package/dist/commands/deploy/environments/index.js +29 -0
  23. package/dist/commands/deploy/environments/mutations.d.ts +9 -0
  24. package/dist/commands/deploy/environments/mutations.d.ts.map +1 -0
  25. package/dist/commands/deploy/environments/mutations.js +103 -0
  26. package/dist/commands/deploy/environments/queries.d.ts +7 -0
  27. package/dist/commands/deploy/environments/queries.d.ts.map +1 -0
  28. package/dist/commands/deploy/environments/queries.js +56 -0
  29. package/dist/commands/deploy/environments/variables.d.ts +3 -0
  30. package/dist/commands/deploy/environments/variables.d.ts.map +1 -0
  31. package/dist/commands/deploy/environments/variables.js +40 -0
  32. package/dist/commands/deploy/environments.d.ts +2 -0
  33. package/dist/commands/deploy/environments.d.ts.map +1 -0
  34. package/dist/commands/deploy/environments.js +17 -0
  35. package/dist/commands/deploy/index.d.ts +3 -0
  36. package/dist/commands/deploy/index.d.ts.map +1 -0
  37. package/dist/commands/deploy/index.js +26 -0
  38. package/dist/commands/deploy/logs.d.ts +3 -0
  39. package/dist/commands/deploy/logs.d.ts.map +1 -0
  40. package/dist/commands/deploy/logs.js +39 -0
  41. package/dist/commands/deploy/organizations.d.ts +3 -0
  42. package/dist/commands/deploy/organizations.d.ts.map +1 -0
  43. package/dist/commands/deploy/organizations.js +29 -0
  44. package/dist/commands/deploy/projects.d.ts +3 -0
  45. package/dist/commands/deploy/projects.d.ts.map +1 -0
  46. package/dist/commands/deploy/projects.js +74 -0
  47. package/dist/commands/deploy/shared.d.ts +3 -0
  48. package/dist/commands/deploy/shared.d.ts.map +1 -0
  49. package/dist/commands/deploy/shared.js +12 -0
  50. package/dist/commands/deploy/site.d.ts +10 -0
  51. package/dist/commands/deploy/site.d.ts.map +1 -0
  52. package/dist/commands/deploy/site.js +36 -0
  53. package/dist/commands/deploy/source-control.d.ts +3 -0
  54. package/dist/commands/deploy/source-control.d.ts.map +1 -0
  55. package/dist/commands/deploy/source-control.js +89 -0
  56. package/dist/commands/deploy.d.ts +2 -0
  57. package/dist/commands/deploy.d.ts.map +1 -0
  58. package/dist/commands/deploy.js +5 -0
  59. package/dist/commands/history.d.ts +3 -0
  60. package/dist/commands/history.d.ts.map +1 -0
  61. package/dist/commands/history.js +88 -0
  62. package/dist/commands/init.d.ts +3 -0
  63. package/dist/commands/init.d.ts.map +1 -0
  64. package/dist/commands/init.js +32 -0
  65. package/dist/commands/login.d.ts +3 -0
  66. package/dist/commands/login.d.ts.map +1 -0
  67. package/dist/commands/login.js +21 -0
  68. package/dist/commands/logout.d.ts +3 -0
  69. package/dist/commands/logout.d.ts.map +1 -0
  70. package/dist/commands/logout.js +18 -0
  71. package/dist/commands/recipe/index.d.ts +3 -0
  72. package/dist/commands/recipe/index.d.ts.map +1 -0
  73. package/dist/commands/recipe/index.js +158 -0
  74. package/dist/commands/serialization/index.d.ts +3 -0
  75. package/dist/commands/serialization/index.d.ts.map +1 -0
  76. package/dist/commands/serialization/index.js +89 -0
  77. package/dist/commands/serialization/package.d.ts +3 -0
  78. package/dist/commands/serialization/package.d.ts.map +1 -0
  79. package/dist/commands/serialization/package.js +36 -0
  80. package/dist/commands/shared.d.ts +21 -0
  81. package/dist/commands/shared.d.ts.map +1 -0
  82. package/dist/commands/shared.js +82 -0
  83. package/dist/commands/shell.d.ts +10 -0
  84. package/dist/commands/shell.d.ts.map +1 -0
  85. package/dist/commands/shell.js +155 -0
  86. package/dist/commands/status.d.ts +3 -0
  87. package/dist/commands/status.d.ts.map +1 -0
  88. package/dist/commands/status.js +15 -0
  89. package/dist/commands/telemetry.d.ts +3 -0
  90. package/dist/commands/telemetry.d.ts.map +1 -0
  91. package/dist/commands/telemetry.js +28 -0
  92. package/dist/config/env-overrides.d.ts +4 -0
  93. package/dist/config/env-overrides.d.ts.map +1 -0
  94. package/dist/config/env-overrides.js +199 -0
  95. package/dist/config/index.d.ts +5 -0
  96. package/dist/config/index.d.ts.map +1 -0
  97. package/dist/config/index.js +13 -0
  98. package/dist/config/modules.d.ts +4 -0
  99. package/dist/config/modules.d.ts.map +1 -0
  100. package/dist/config/modules.js +152 -0
  101. package/dist/config/paths.d.ts +2 -0
  102. package/dist/config/paths.d.ts.map +1 -0
  103. package/dist/config/paths.js +39 -0
  104. package/dist/config/root-config.d.ts +10 -0
  105. package/dist/config/root-config.d.ts.map +1 -0
  106. package/dist/config/root-config.js +159 -0
  107. package/dist/config/schema.json +278 -0
  108. package/dist/config/serialization-module.schema.json +127 -0
  109. package/dist/config/telemetry.schema.json +21 -0
  110. package/dist/config/types.d.ts +245 -0
  111. package/dist/config/types.d.ts.map +1 -0
  112. package/dist/config/types.js +19 -0
  113. package/dist/config/validation.d.ts +10 -0
  114. package/dist/config/validation.d.ts.map +1 -0
  115. package/dist/config/validation.js +43 -0
  116. package/dist/deploy/api/common/headers.d.ts +2 -0
  117. package/dist/deploy/api/common/headers.d.ts.map +1 -0
  118. package/dist/deploy/api/common/headers.js +10 -0
  119. package/dist/deploy/api/common/index.d.ts +4 -0
  120. package/dist/deploy/api/common/index.d.ts.map +1 -0
  121. package/dist/deploy/api/common/index.js +19 -0
  122. package/dist/deploy/api/common/request.d.ts +9 -0
  123. package/dist/deploy/api/common/request.d.ts.map +1 -0
  124. package/dist/deploy/api/common/request.js +253 -0
  125. package/dist/deploy/api/common/types.d.ts +44 -0
  126. package/dist/deploy/api/common/types.d.ts.map +1 -0
  127. package/dist/deploy/api/common/types.js +5 -0
  128. package/dist/deploy/api/common.d.ts +2 -0
  129. package/dist/deploy/api/common.d.ts.map +1 -0
  130. package/dist/deploy/api/common.js +17 -0
  131. package/dist/deploy/api/deployment-logs.d.ts +2 -0
  132. package/dist/deploy/api/deployment-logs.d.ts.map +1 -0
  133. package/dist/deploy/api/deployment-logs.js +23 -0
  134. package/dist/deploy/api/deployments.d.ts +9 -0
  135. package/dist/deploy/api/deployments.d.ts.map +1 -0
  136. package/dist/deploy/api/deployments.js +61 -0
  137. package/dist/deploy/api/environments.d.ts +21 -0
  138. package/dist/deploy/api/environments.d.ts.map +1 -0
  139. package/dist/deploy/api/environments.js +67 -0
  140. package/dist/deploy/api/index.d.ts +9 -0
  141. package/dist/deploy/api/index.d.ts.map +1 -0
  142. package/dist/deploy/api/index.js +24 -0
  143. package/dist/deploy/api/logs.d.ts +8 -0
  144. package/dist/deploy/api/logs.d.ts.map +1 -0
  145. package/dist/deploy/api/logs.js +29 -0
  146. package/dist/deploy/api/organizations.d.ts +6 -0
  147. package/dist/deploy/api/organizations.d.ts.map +1 -0
  148. package/dist/deploy/api/organizations.js +18 -0
  149. package/dist/deploy/api/projects.d.ts +13 -0
  150. package/dist/deploy/api/projects.d.ts.map +1 -0
  151. package/dist/deploy/api/projects.js +42 -0
  152. package/dist/deploy/api/source-control.d.ts +15 -0
  153. package/dist/deploy/api/source-control.d.ts.map +1 -0
  154. package/dist/deploy/api/source-control.js +71 -0
  155. package/dist/deploy/api.d.ts +2 -0
  156. package/dist/deploy/api.d.ts.map +1 -0
  157. package/dist/deploy/api.js +17 -0
  158. package/dist/deploy/tasks/deployment-result.d.ts +6 -0
  159. package/dist/deploy/tasks/deployment-result.d.ts.map +1 -0
  160. package/dist/deploy/tasks/deployment-result.js +36 -0
  161. package/dist/deploy/tasks/deployments.d.ts +10 -0
  162. package/dist/deploy/tasks/deployments.d.ts.map +1 -0
  163. package/dist/deploy/tasks/deployments.js +201 -0
  164. package/dist/deploy/tasks/editing-host.d.ts +28 -0
  165. package/dist/deploy/tasks/editing-host.d.ts.map +1 -0
  166. package/dist/deploy/tasks/editing-host.js +216 -0
  167. package/dist/deploy/tasks/environments.d.ts +20 -0
  168. package/dist/deploy/tasks/environments.d.ts.map +1 -0
  169. package/dist/deploy/tasks/environments.js +364 -0
  170. package/dist/deploy/tasks/index.d.ts +10 -0
  171. package/dist/deploy/tasks/index.d.ts.map +1 -0
  172. package/dist/deploy/tasks/index.js +25 -0
  173. package/dist/deploy/tasks/logs.d.ts +5 -0
  174. package/dist/deploy/tasks/logs.d.ts.map +1 -0
  175. package/dist/deploy/tasks/logs.js +56 -0
  176. package/dist/deploy/tasks/organizations.d.ts +6 -0
  177. package/dist/deploy/tasks/organizations.d.ts.map +1 -0
  178. package/dist/deploy/tasks/organizations.js +51 -0
  179. package/dist/deploy/tasks/projects.d.ts +11 -0
  180. package/dist/deploy/tasks/projects.d.ts.map +1 -0
  181. package/dist/deploy/tasks/projects.js +246 -0
  182. package/dist/deploy/tasks/shared.d.ts +63 -0
  183. package/dist/deploy/tasks/shared.d.ts.map +1 -0
  184. package/dist/deploy/tasks/shared.js +261 -0
  185. package/dist/deploy/tasks/site-bind.d.ts +21 -0
  186. package/dist/deploy/tasks/site-bind.d.ts.map +1 -0
  187. package/dist/deploy/tasks/site-bind.js +142 -0
  188. package/dist/deploy/tasks/site.d.ts +14 -0
  189. package/dist/deploy/tasks/site.d.ts.map +1 -0
  190. package/dist/deploy/tasks/site.js +29 -0
  191. package/dist/deploy/tasks/source-control.d.ts +14 -0
  192. package/dist/deploy/tasks/source-control.d.ts.map +1 -0
  193. package/dist/deploy/tasks/source-control.js +173 -0
  194. package/dist/deploy/tasks/types.d.ts +204 -0
  195. package/dist/deploy/tasks/types.d.ts.map +1 -0
  196. package/dist/deploy/tasks/types.js +7 -0
  197. package/dist/deploy/tasks.d.ts +3 -0
  198. package/dist/deploy/tasks.d.ts.map +1 -0
  199. package/dist/deploy/tasks.js +18 -0
  200. package/dist/recipe/api/auth.d.ts +9 -0
  201. package/dist/recipe/api/auth.d.ts.map +1 -0
  202. package/dist/recipe/api/auth.js +12 -0
  203. package/dist/recipe/api/authoring-client.d.ts +37 -0
  204. package/dist/recipe/api/authoring-client.d.ts.map +1 -0
  205. package/dist/recipe/api/authoring-client.js +495 -0
  206. package/dist/recipe/api/client.d.ts +99 -0
  207. package/dist/recipe/api/client.d.ts.map +1 -0
  208. package/dist/recipe/api/client.js +17 -0
  209. package/dist/recipe/api/graphql.d.ts +15 -0
  210. package/dist/recipe/api/graphql.d.ts.map +1 -0
  211. package/dist/recipe/api/graphql.js +38 -0
  212. package/dist/recipe/api/ref-encoding.d.ts +38 -0
  213. package/dist/recipe/api/ref-encoding.d.ts.map +1 -0
  214. package/dist/recipe/api/ref-encoding.js +160 -0
  215. package/dist/recipe/api/site-discovery.d.ts +49 -0
  216. package/dist/recipe/api/site-discovery.d.ts.map +1 -0
  217. package/dist/recipe/api/site-discovery.js +127 -0
  218. package/dist/recipe/api/sites-client.d.ts +48 -0
  219. package/dist/recipe/api/sites-client.d.ts.map +1 -0
  220. package/dist/recipe/api/sites-client.js +19 -0
  221. package/dist/recipe/cache.d.ts +36 -0
  222. package/dist/recipe/cache.d.ts.map +1 -0
  223. package/dist/recipe/cache.js +114 -0
  224. package/dist/recipe/compile/component-section.d.ts +46 -0
  225. package/dist/recipe/compile/component-section.d.ts.map +1 -0
  226. package/dist/recipe/compile/component-section.js +143 -0
  227. package/dist/recipe/compile/component-template.d.ts +34 -0
  228. package/dist/recipe/compile/component-template.d.ts.map +1 -0
  229. package/dist/recipe/compile/component-template.js +709 -0
  230. package/dist/recipe/compile/content-item.d.ts +31 -0
  231. package/dist/recipe/compile/content-item.d.ts.map +1 -0
  232. package/dist/recipe/compile/content-item.js +189 -0
  233. package/dist/recipe/compile/content-template.d.ts +18 -0
  234. package/dist/recipe/compile/content-template.d.ts.map +1 -0
  235. package/dist/recipe/compile/content-template.js +52 -0
  236. package/dist/recipe/compile/enumeration.d.ts +59 -0
  237. package/dist/recipe/compile/enumeration.d.ts.map +1 -0
  238. package/dist/recipe/compile/enumeration.js +236 -0
  239. package/dist/recipe/compile/page-design.d.ts +22 -0
  240. package/dist/recipe/compile/page-design.d.ts.map +1 -0
  241. package/dist/recipe/compile/page-design.js +93 -0
  242. package/dist/recipe/compile/parameters-template.d.ts +14 -0
  243. package/dist/recipe/compile/parameters-template.d.ts.map +1 -0
  244. package/dist/recipe/compile/parameters-template.js +92 -0
  245. package/dist/recipe/compile/partial-design.d.ts +18 -0
  246. package/dist/recipe/compile/partial-design.d.ts.map +1 -0
  247. package/dist/recipe/compile/partial-design.js +76 -0
  248. package/dist/recipe/compile/section-definition.d.ts +18 -0
  249. package/dist/recipe/compile/section-definition.d.ts.map +1 -0
  250. package/dist/recipe/compile/section-definition.js +26 -0
  251. package/dist/recipe/compile/shared.d.ts +442 -0
  252. package/dist/recipe/compile/shared.d.ts.map +1 -0
  253. package/dist/recipe/compile/shared.js +843 -0
  254. package/dist/recipe/compile/site-template.d.ts +52 -0
  255. package/dist/recipe/compile/site-template.d.ts.map +1 -0
  256. package/dist/recipe/compile/site-template.js +140 -0
  257. package/dist/recipe/compile/site.d.ts +44 -0
  258. package/dist/recipe/compile/site.d.ts.map +1 -0
  259. package/dist/recipe/compile/site.js +127 -0
  260. package/dist/recipe/compile.d.ts +93 -0
  261. package/dist/recipe/compile.d.ts.map +1 -0
  262. package/dist/recipe/compile.js +741 -0
  263. package/dist/recipe/execute.d.ts +119 -0
  264. package/dist/recipe/execute.d.ts.map +1 -0
  265. package/dist/recipe/execute.js +273 -0
  266. package/dist/recipe/guids.d.ts +400 -0
  267. package/dist/recipe/guids.d.ts.map +1 -0
  268. package/dist/recipe/guids.js +488 -0
  269. package/dist/recipe/index.d.ts +32 -0
  270. package/dist/recipe/index.d.ts.map +1 -0
  271. package/dist/recipe/index.js +156 -0
  272. package/dist/recipe/io.d.ts +21 -0
  273. package/dist/recipe/io.d.ts.map +1 -0
  274. package/dist/recipe/io.js +147 -0
  275. package/dist/recipe/ir/operations.d.ts +692 -0
  276. package/dist/recipe/ir/operations.d.ts.map +1 -0
  277. package/dist/recipe/ir/operations.js +347 -0
  278. package/dist/recipe/ir/sitecore-templates.d.ts +455 -0
  279. package/dist/recipe/ir/sitecore-templates.d.ts.map +1 -0
  280. package/dist/recipe/ir/sitecore-templates.js +465 -0
  281. package/dist/recipe/layout/emit.d.ts +101 -0
  282. package/dist/recipe/layout/emit.d.ts.map +1 -0
  283. package/dist/recipe/layout/emit.js +127 -0
  284. package/dist/recipe/layout/templates-mapping.d.ts +28 -0
  285. package/dist/recipe/layout/templates-mapping.d.ts.map +1 -0
  286. package/dist/recipe/layout/templates-mapping.js +29 -0
  287. package/dist/recipe/plan.d.ts +134 -0
  288. package/dist/recipe/plan.d.ts.map +1 -0
  289. package/dist/recipe/plan.js +565 -0
  290. package/dist/recipe/policy.d.ts +43 -0
  291. package/dist/recipe/policy.d.ts.map +1 -0
  292. package/dist/recipe/policy.js +75 -0
  293. package/dist/recipe/rollback.d.ts +72 -0
  294. package/dist/recipe/rollback.d.ts.map +1 -0
  295. package/dist/recipe/rollback.js +130 -0
  296. package/dist/recipe/schema/field-types.d.ts +72 -0
  297. package/dist/recipe/schema/field-types.d.ts.map +1 -0
  298. package/dist/recipe/schema/field-types.js +118 -0
  299. package/dist/recipe/schema/recipe.d.ts +1545 -0
  300. package/dist/recipe/schema/recipe.d.ts.map +1 -0
  301. package/dist/recipe/schema/recipe.js +1175 -0
  302. package/dist/recipe/schema/source-fields.d.ts +48 -0
  303. package/dist/recipe/schema/source-fields.d.ts.map +1 -0
  304. package/dist/recipe/schema/source-fields.js +79 -0
  305. package/dist/recipe/tasks/compile.d.ts +14 -0
  306. package/dist/recipe/tasks/compile.d.ts.map +1 -0
  307. package/dist/recipe/tasks/compile.js +89 -0
  308. package/dist/recipe/tasks/diff.d.ts +17 -0
  309. package/dist/recipe/tasks/diff.d.ts.map +1 -0
  310. package/dist/recipe/tasks/diff.js +6 -0
  311. package/dist/recipe/tasks/index.d.ts +9 -0
  312. package/dist/recipe/tasks/index.d.ts.map +1 -0
  313. package/dist/recipe/tasks/index.js +13 -0
  314. package/dist/recipe/tasks/placeholder-allow.d.ts +53 -0
  315. package/dist/recipe/tasks/placeholder-allow.d.ts.map +1 -0
  316. package/dist/recipe/tasks/placeholder-allow.js +218 -0
  317. package/dist/recipe/tasks/plan.d.ts +11 -0
  318. package/dist/recipe/tasks/plan.d.ts.map +1 -0
  319. package/dist/recipe/tasks/plan.js +72 -0
  320. package/dist/recipe/tasks/prune-defaults.d.ts +90 -0
  321. package/dist/recipe/tasks/prune-defaults.d.ts.map +1 -0
  322. package/dist/recipe/tasks/prune-defaults.js +184 -0
  323. package/dist/recipe/tasks/push.d.ts +18 -0
  324. package/dist/recipe/tasks/push.d.ts.map +1 -0
  325. package/dist/recipe/tasks/push.js +417 -0
  326. package/dist/recipe/tasks/shared.d.ts +152 -0
  327. package/dist/recipe/tasks/shared.d.ts.map +1 -0
  328. package/dist/recipe/tasks/shared.js +94 -0
  329. package/dist/recipe/validate.d.ts +103 -0
  330. package/dist/recipe/validate.d.ts.map +1 -0
  331. package/dist/recipe/validate.js +297 -0
  332. package/dist/serialization/commands.d.ts +48 -0
  333. package/dist/serialization/commands.d.ts.map +1 -0
  334. package/dist/serialization/commands.js +175 -0
  335. package/dist/serialization/compare.d.ts +29 -0
  336. package/dist/serialization/compare.d.ts.map +1 -0
  337. package/dist/serialization/compare.js +124 -0
  338. package/dist/serialization/field-filter.d.ts +7 -0
  339. package/dist/serialization/field-filter.d.ts.map +1 -0
  340. package/dist/serialization/field-filter.js +20 -0
  341. package/dist/serialization/filesystem-store/constants.d.ts +3 -0
  342. package/dist/serialization/filesystem-store/constants.d.ts.map +1 -0
  343. package/dist/serialization/filesystem-store/constants.js +5 -0
  344. package/dist/serialization/filesystem-store/index.d.ts +4 -0
  345. package/dist/serialization/filesystem-store/index.d.ts.map +1 -0
  346. package/dist/serialization/filesystem-store/index.js +15 -0
  347. package/dist/serialization/filesystem-store/items.d.ts +10 -0
  348. package/dist/serialization/filesystem-store/items.d.ts.map +1 -0
  349. package/dist/serialization/filesystem-store/items.js +64 -0
  350. package/dist/serialization/filesystem-store/roles.d.ts +6 -0
  351. package/dist/serialization/filesystem-store/roles.d.ts.map +1 -0
  352. package/dist/serialization/filesystem-store/roles.js +46 -0
  353. package/dist/serialization/filesystem-store/users.d.ts +6 -0
  354. package/dist/serialization/filesystem-store/users.d.ts.map +1 -0
  355. package/dist/serialization/filesystem-store/users.js +46 -0
  356. package/dist/serialization/filesystem-store/utils.d.ts +2 -0
  357. package/dist/serialization/filesystem-store/utils.d.ts.map +1 -0
  358. package/dist/serialization/filesystem-store/utils.js +17 -0
  359. package/dist/serialization/filesystem-store.d.ts +2 -0
  360. package/dist/serialization/filesystem-store.d.ts.map +1 -0
  361. package/dist/serialization/filesystem-store.js +17 -0
  362. package/dist/serialization/item-path.d.ts +32 -0
  363. package/dist/serialization/item-path.d.ts.map +1 -0
  364. package/dist/serialization/item-path.js +123 -0
  365. package/dist/serialization/path-provider.d.ts +12 -0
  366. package/dist/serialization/path-provider.d.ts.map +1 -0
  367. package/dist/serialization/path-provider.js +271 -0
  368. package/dist/serialization/signature.d.ts +4 -0
  369. package/dist/serialization/signature.d.ts.map +1 -0
  370. package/dist/serialization/signature.js +71 -0
  371. package/dist/serialization/sitecore-api/auth.d.ts +31 -0
  372. package/dist/serialization/sitecore-api/auth.d.ts.map +1 -0
  373. package/dist/serialization/sitecore-api/auth.js +319 -0
  374. package/dist/serialization/sitecore-api/graphql.d.ts +12 -0
  375. package/dist/serialization/sitecore-api/graphql.d.ts.map +1 -0
  376. package/dist/serialization/sitecore-api/graphql.js +20 -0
  377. package/dist/serialization/sitecore-api/history.d.ts +9 -0
  378. package/dist/serialization/sitecore-api/history.d.ts.map +1 -0
  379. package/dist/serialization/sitecore-api/history.js +36 -0
  380. package/dist/serialization/sitecore-api/index.d.ts +7 -0
  381. package/dist/serialization/sitecore-api/index.d.ts.map +1 -0
  382. package/dist/serialization/sitecore-api/index.js +22 -0
  383. package/dist/serialization/sitecore-api/items.d.ts +8 -0
  384. package/dist/serialization/sitecore-api/items.d.ts.map +1 -0
  385. package/dist/serialization/sitecore-api/items.js +132 -0
  386. package/dist/serialization/sitecore-api/publish.d.ts +14 -0
  387. package/dist/serialization/sitecore-api/publish.d.ts.map +1 -0
  388. package/dist/serialization/sitecore-api/publish.js +43 -0
  389. package/dist/serialization/sitecore-api/roles.d.ts +9 -0
  390. package/dist/serialization/sitecore-api/roles.d.ts.map +1 -0
  391. package/dist/serialization/sitecore-api/roles.js +42 -0
  392. package/dist/serialization/sitecore-api/users.d.ts +9 -0
  393. package/dist/serialization/sitecore-api/users.d.ts.map +1 -0
  394. package/dist/serialization/sitecore-api/users.js +62 -0
  395. package/dist/serialization/sitecore-api.d.ts +2 -0
  396. package/dist/serialization/sitecore-api.d.ts.map +1 -0
  397. package/dist/serialization/sitecore-api.js +17 -0
  398. package/dist/serialization/tasks/diff.d.ts +3 -0
  399. package/dist/serialization/tasks/diff.d.ts.map +1 -0
  400. package/dist/serialization/tasks/diff.js +109 -0
  401. package/dist/serialization/tasks/env/constants.d.ts +2 -0
  402. package/dist/serialization/tasks/env/constants.d.ts.map +1 -0
  403. package/dist/serialization/tasks/env/constants.js +4 -0
  404. package/dist/serialization/tasks/env/deploy-token.d.ts +3 -0
  405. package/dist/serialization/tasks/env/deploy-token.d.ts.map +1 -0
  406. package/dist/serialization/tasks/env/deploy-token.js +128 -0
  407. package/dist/serialization/tasks/env/index.d.ts +5 -0
  408. package/dist/serialization/tasks/env/index.d.ts.map +1 -0
  409. package/dist/serialization/tasks/env/index.js +11 -0
  410. package/dist/serialization/tasks/env/init/auth.d.ts +24 -0
  411. package/dist/serialization/tasks/env/init/auth.d.ts.map +1 -0
  412. package/dist/serialization/tasks/env/init/auth.js +122 -0
  413. package/dist/serialization/tasks/env/init/deploy-lookup.d.ts +22 -0
  414. package/dist/serialization/tasks/env/init/deploy-lookup.d.ts.map +1 -0
  415. package/dist/serialization/tasks/env/init/deploy-lookup.js +244 -0
  416. package/dist/serialization/tasks/env/init.d.ts +3 -0
  417. package/dist/serialization/tasks/env/init.d.ts.map +1 -0
  418. package/dist/serialization/tasks/env/init.js +253 -0
  419. package/dist/serialization/tasks/env/logout.d.ts +3 -0
  420. package/dist/serialization/tasks/env/logout.d.ts.map +1 -0
  421. package/dist/serialization/tasks/env/logout.js +61 -0
  422. package/dist/serialization/tasks/env/status.d.ts +3 -0
  423. package/dist/serialization/tasks/env/status.d.ts.map +1 -0
  424. package/dist/serialization/tasks/env/status.js +149 -0
  425. package/dist/serialization/tasks/env.d.ts +2 -0
  426. package/dist/serialization/tasks/env.d.ts.map +1 -0
  427. package/dist/serialization/tasks/env.js +17 -0
  428. package/dist/serialization/tasks/helpers/collect.d.ts +8 -0
  429. package/dist/serialization/tasks/helpers/collect.d.ts.map +1 -0
  430. package/dist/serialization/tasks/helpers/collect.js +29 -0
  431. package/dist/serialization/tasks/helpers/commands.d.ts +5 -0
  432. package/dist/serialization/tasks/helpers/commands.d.ts.map +1 -0
  433. package/dist/serialization/tasks/helpers/commands.js +14 -0
  434. package/dist/serialization/tasks/helpers/filesystem.d.ts +6 -0
  435. package/dist/serialization/tasks/helpers/filesystem.d.ts.map +1 -0
  436. package/dist/serialization/tasks/helpers/filesystem.js +27 -0
  437. package/dist/serialization/tasks/helpers/index.d.ts +6 -0
  438. package/dist/serialization/tasks/helpers/index.d.ts.map +1 -0
  439. package/dist/serialization/tasks/helpers/index.js +13 -0
  440. package/dist/serialization/tasks/helpers/items.d.ts +3 -0
  441. package/dist/serialization/tasks/helpers/items.d.ts.map +1 -0
  442. package/dist/serialization/tasks/helpers/items.js +5 -0
  443. package/dist/serialization/tasks/helpers/sitecore.d.ts +5 -0
  444. package/dist/serialization/tasks/helpers/sitecore.d.ts.map +1 -0
  445. package/dist/serialization/tasks/helpers/sitecore.js +109 -0
  446. package/dist/serialization/tasks/helpers.d.ts +2 -0
  447. package/dist/serialization/tasks/helpers.d.ts.map +1 -0
  448. package/dist/serialization/tasks/helpers.js +17 -0
  449. package/dist/serialization/tasks/index.d.ts +8 -0
  450. package/dist/serialization/tasks/index.d.ts.map +1 -0
  451. package/dist/serialization/tasks/index.js +19 -0
  452. package/dist/serialization/tasks/info.d.ts +4 -0
  453. package/dist/serialization/tasks/info.d.ts.map +1 -0
  454. package/dist/serialization/tasks/info.js +82 -0
  455. package/dist/serialization/tasks/package.d.ts +4 -0
  456. package/dist/serialization/tasks/package.d.ts.map +1 -0
  457. package/dist/serialization/tasks/package.js +171 -0
  458. package/dist/serialization/tasks/pull.d.ts +3 -0
  459. package/dist/serialization/tasks/pull.d.ts.map +1 -0
  460. package/dist/serialization/tasks/pull.js +82 -0
  461. package/dist/serialization/tasks/push.d.ts +3 -0
  462. package/dist/serialization/tasks/push.d.ts.map +1 -0
  463. package/dist/serialization/tasks/push.js +101 -0
  464. package/dist/serialization/tasks/roles.d.ts +6 -0
  465. package/dist/serialization/tasks/roles.d.ts.map +1 -0
  466. package/dist/serialization/tasks/roles.js +103 -0
  467. package/dist/serialization/tasks/shared.d.ts +19 -0
  468. package/dist/serialization/tasks/shared.d.ts.map +1 -0
  469. package/dist/serialization/tasks/shared.js +59 -0
  470. package/dist/serialization/tasks/types.d.ts +73 -0
  471. package/dist/serialization/tasks/types.d.ts.map +1 -0
  472. package/dist/serialization/tasks/types.js +8 -0
  473. package/dist/serialization/tasks/users.d.ts +5 -0
  474. package/dist/serialization/tasks/users.d.ts.map +1 -0
  475. package/dist/serialization/tasks/users.js +90 -0
  476. package/dist/serialization/tasks/validate.d.ts +5 -0
  477. package/dist/serialization/tasks/validate.d.ts.map +1 -0
  478. package/dist/serialization/tasks/validate.js +50 -0
  479. package/dist/serialization/tasks/watch.d.ts +3 -0
  480. package/dist/serialization/tasks/watch.d.ts.map +1 -0
  481. package/dist/serialization/tasks/watch.js +75 -0
  482. package/dist/serialization/tasks.d.ts +4 -0
  483. package/dist/serialization/tasks.d.ts.map +1 -0
  484. package/dist/serialization/tasks.js +19 -0
  485. package/dist/serialization/tree-spec.d.ts +51 -0
  486. package/dist/serialization/tree-spec.d.ts.map +1 -0
  487. package/dist/serialization/tree-spec.js +241 -0
  488. package/dist/serialization/types.d.ts +75 -0
  489. package/dist/serialization/types.d.ts.map +1 -0
  490. package/dist/serialization/types.js +2 -0
  491. package/dist/serialization/wildcard.d.ts +3 -0
  492. package/dist/serialization/wildcard.d.ts.map +1 -0
  493. package/dist/serialization/wildcard.js +24 -0
  494. package/dist/serialization/yaml.d.ts +9 -0
  495. package/dist/serialization/yaml.d.ts.map +1 -0
  496. package/dist/serialization/yaml.js +307 -0
  497. package/dist/shared/browser.d.ts +2 -0
  498. package/dist/shared/browser.d.ts.map +1 -0
  499. package/dist/shared/browser.js +36 -0
  500. package/dist/shared/cli-options.d.ts +17 -0
  501. package/dist/shared/cli-options.d.ts.map +1 -0
  502. package/dist/shared/cli-options.js +8 -0
  503. package/dist/shared/cli-tasks.d.ts +38 -0
  504. package/dist/shared/cli-tasks.d.ts.map +1 -0
  505. package/dist/shared/cli-tasks.js +108 -0
  506. package/dist/shared/config-template.d.ts +23 -0
  507. package/dist/shared/config-template.d.ts.map +1 -0
  508. package/dist/shared/config-template.js +38 -0
  509. package/dist/shared/env.d.ts +28 -0
  510. package/dist/shared/env.d.ts.map +1 -0
  511. package/dist/shared/env.js +38 -0
  512. package/dist/shared/errors.d.ts +21 -0
  513. package/dist/shared/errors.d.ts.map +1 -0
  514. package/dist/shared/errors.js +59 -0
  515. package/dist/shared/graphql.d.ts +76 -0
  516. package/dist/shared/graphql.d.ts.map +1 -0
  517. package/dist/shared/graphql.js +222 -0
  518. package/dist/shared/history.d.ts +12 -0
  519. package/dist/shared/history.d.ts.map +1 -0
  520. package/dist/shared/history.js +62 -0
  521. package/dist/shared/keychain.d.ts +15 -0
  522. package/dist/shared/keychain.d.ts.map +1 -0
  523. package/dist/shared/keychain.js +177 -0
  524. package/dist/shared/logger.d.ts +24 -0
  525. package/dist/shared/logger.d.ts.map +1 -0
  526. package/dist/shared/logger.js +157 -0
  527. package/dist/shared/output.d.ts +7 -0
  528. package/dist/shared/output.d.ts.map +1 -0
  529. package/dist/shared/output.js +21 -0
  530. package/dist/shared/prompt.d.ts +5 -0
  531. package/dist/shared/prompt.d.ts.map +1 -0
  532. package/dist/shared/prompt.js +87 -0
  533. package/dist/shared/redact.d.ts +3 -0
  534. package/dist/shared/redact.d.ts.map +1 -0
  535. package/dist/shared/redact.js +47 -0
  536. package/dist/shared/spinner.d.ts +5 -0
  537. package/dist/shared/spinner.d.ts.map +1 -0
  538. package/dist/shared/spinner.js +89 -0
  539. package/dist/shared/style.d.ts +2 -0
  540. package/dist/shared/style.d.ts.map +1 -0
  541. package/dist/shared/style.js +61 -0
  542. package/dist/shared/telemetry.d.ts +21 -0
  543. package/dist/shared/telemetry.d.ts.map +1 -0
  544. package/dist/shared/telemetry.js +226 -0
  545. package/dist/shared/validate.d.ts +3 -0
  546. package/dist/shared/validate.d.ts.map +1 -0
  547. package/dist/shared/validate.js +32 -0
  548. package/dist/sites/api/collections.d.ts +25 -0
  549. package/dist/sites/api/collections.d.ts.map +1 -0
  550. package/dist/sites/api/collections.js +21 -0
  551. package/dist/sites/api/index.d.ts +26 -0
  552. package/dist/sites/api/index.d.ts.map +1 -0
  553. package/dist/sites/api/index.js +55 -0
  554. package/dist/sites/api/jobs.d.ts +31 -0
  555. package/dist/sites/api/jobs.d.ts.map +1 -0
  556. package/dist/sites/api/jobs.js +10 -0
  557. package/dist/sites/api/languages.d.ts +22 -0
  558. package/dist/sites/api/languages.d.ts.map +1 -0
  559. package/dist/sites/api/languages.js +18 -0
  560. package/dist/sites/api/request.d.ts +24 -0
  561. package/dist/sites/api/request.d.ts.map +1 -0
  562. package/dist/sites/api/request.js +99 -0
  563. package/dist/sites/api/sites.d.ts +53 -0
  564. package/dist/sites/api/sites.d.ts.map +1 -0
  565. package/dist/sites/api/sites.js +41 -0
  566. package/dist/sites/api/types.d.ts +29 -0
  567. package/dist/sites/api/types.d.ts.map +1 -0
  568. package/dist/sites/api/types.js +4 -0
  569. package/package.json +109 -0
@@ -0,0 +1,1545 @@
1
+ import { z } from "zod";
2
+ /**
3
+ * Sitecore-side override on a field or param. Defaults apply when omitted.
4
+ *
5
+ * The picker-scope concept (Sitecore's `Source` field) is expressed as
6
+ * three composable structured fields rather than a stringly-typed
7
+ * mini-language. They combine: e.g. `sourceScope` + `sourceTypes` becomes
8
+ * `DataSource=<path>&IncludeTemplatesForSelection={GUID},...` on emit.
9
+ *
10
+ * sourceTypes — "picker filter": only items of these recipe handles.
11
+ * sourceQuery — "where to look": a Sitecore Query (e.g. `$site/...`).
12
+ * sourceScope — "where to look": a fixed content-tree path.
13
+ * sourceRaw — escape hatch; verbatim Source string (mutually exclusive
14
+ * with the structured fields).
15
+ */
16
+ export declare const SitecoreFieldAugmentSchema: z.ZodObject<{
17
+ type: z.ZodOptional<z.ZodEnum<{
18
+ number: "number";
19
+ integer: "integer";
20
+ tags: "tags";
21
+ lookup: "lookup";
22
+ date: "date";
23
+ file: "file";
24
+ image: "image";
25
+ datetime: "datetime";
26
+ "single-line-text": "single-line-text";
27
+ "multi-line-text": "multi-line-text";
28
+ "rich-text": "rich-text";
29
+ "general-link": "general-link";
30
+ checkbox: "checkbox";
31
+ droplist: "droplist";
32
+ droplink: "droplink";
33
+ treelist: "treelist";
34
+ "treelist-with-search": "treelist-with-search";
35
+ }>>;
36
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ sourceQuery: z.ZodOptional<z.ZodString>;
38
+ sourceScope: z.ZodOptional<z.ZodString>;
39
+ sourceRaw: z.ZodOptional<z.ZodString>;
40
+ hint: z.ZodOptional<z.ZodString>;
41
+ required: z.ZodOptional<z.ZodBoolean>;
42
+ defaultValue: z.ZodOptional<z.ZodString>;
43
+ enumHandle: z.ZodOptional<z.ZodString>;
44
+ sortOrder: z.ZodOptional<z.ZodNumber>;
45
+ section: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ export type SitecoreFieldAugment = z.infer<typeof SitecoreFieldAugmentSchema>;
48
+ export declare const FieldDefinitionSchema: z.ZodObject<{
49
+ name: z.ZodString;
50
+ shape: z.ZodEnum<{
51
+ number: "number";
52
+ boolean: "boolean";
53
+ integer: "integer";
54
+ link: "link";
55
+ enum: "enum";
56
+ text: "text";
57
+ date: "date";
58
+ richText: "richText";
59
+ image: "image";
60
+ datetime: "datetime";
61
+ reference: "reference";
62
+ }>;
63
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ multiple: z.ZodOptional<z.ZodBoolean>;
65
+ default: z.ZodOptional<z.ZodString>;
66
+ sitecore: z.ZodOptional<z.ZodObject<{
67
+ type: z.ZodOptional<z.ZodEnum<{
68
+ number: "number";
69
+ integer: "integer";
70
+ tags: "tags";
71
+ lookup: "lookup";
72
+ date: "date";
73
+ file: "file";
74
+ image: "image";
75
+ datetime: "datetime";
76
+ "single-line-text": "single-line-text";
77
+ "multi-line-text": "multi-line-text";
78
+ "rich-text": "rich-text";
79
+ "general-link": "general-link";
80
+ checkbox: "checkbox";
81
+ droplist: "droplist";
82
+ droplink: "droplink";
83
+ treelist: "treelist";
84
+ "treelist-with-search": "treelist-with-search";
85
+ }>>;
86
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
+ sourceQuery: z.ZodOptional<z.ZodString>;
88
+ sourceScope: z.ZodOptional<z.ZodString>;
89
+ sourceRaw: z.ZodOptional<z.ZodString>;
90
+ hint: z.ZodOptional<z.ZodString>;
91
+ required: z.ZodOptional<z.ZodBoolean>;
92
+ defaultValue: z.ZodOptional<z.ZodString>;
93
+ enumHandle: z.ZodOptional<z.ZodString>;
94
+ sortOrder: z.ZodOptional<z.ZodNumber>;
95
+ section: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>;
98
+ export type FieldDefinition = z.infer<typeof FieldDefinitionSchema>;
99
+ export declare const ParamDefinitionSchema: z.ZodObject<{
100
+ name: z.ZodString;
101
+ shape: z.ZodEnum<{
102
+ number: "number";
103
+ boolean: "boolean";
104
+ integer: "integer";
105
+ link: "link";
106
+ enum: "enum";
107
+ text: "text";
108
+ date: "date";
109
+ richText: "richText";
110
+ image: "image";
111
+ datetime: "datetime";
112
+ reference: "reference";
113
+ }>;
114
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
+ default: z.ZodOptional<z.ZodString>;
116
+ sitecore: z.ZodOptional<z.ZodObject<{
117
+ type: z.ZodOptional<z.ZodEnum<{
118
+ number: "number";
119
+ integer: "integer";
120
+ tags: "tags";
121
+ lookup: "lookup";
122
+ date: "date";
123
+ file: "file";
124
+ image: "image";
125
+ datetime: "datetime";
126
+ "single-line-text": "single-line-text";
127
+ "multi-line-text": "multi-line-text";
128
+ "rich-text": "rich-text";
129
+ "general-link": "general-link";
130
+ checkbox: "checkbox";
131
+ droplist: "droplist";
132
+ droplink: "droplink";
133
+ treelist: "treelist";
134
+ "treelist-with-search": "treelist-with-search";
135
+ }>>;
136
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
+ sourceQuery: z.ZodOptional<z.ZodString>;
138
+ sourceScope: z.ZodOptional<z.ZodString>;
139
+ sourceRaw: z.ZodOptional<z.ZodString>;
140
+ hint: z.ZodOptional<z.ZodString>;
141
+ required: z.ZodOptional<z.ZodBoolean>;
142
+ defaultValue: z.ZodOptional<z.ZodString>;
143
+ enumHandle: z.ZodOptional<z.ZodString>;
144
+ sortOrder: z.ZodOptional<z.ZodNumber>;
145
+ section: z.ZodOptional<z.ZodString>;
146
+ }, z.core.$strip>>;
147
+ }, z.core.$strip>;
148
+ export type ParamDefinition = z.infer<typeof ParamDefinitionSchema>;
149
+ export declare const RenderingVariantDefinitionSchema: z.ZodObject<{
150
+ name: z.ZodString;
151
+ }, z.core.$strip>;
152
+ export type RenderingVariantDefinition = z.infer<typeof RenderingVariantDefinitionSchema>;
153
+ export declare const PlaceholderDefinitionSchema: z.ZodObject<{
154
+ key: z.ZodString;
155
+ allowedRenderingHandles: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
+ }, z.core.$strip>;
157
+ export type PlaceholderDefinition = z.infer<typeof PlaceholderDefinitionSchema>;
158
+ /**
159
+ * One entry in the modern semantic-scope datasource locations list.
160
+ *
161
+ * Each entry compiles to a single Sitecore Source segment; the compiler
162
+ * pipe-joins entries into the rendering's `Datasource Location` field so
163
+ * one rendering can offer authors per-page auto-creation AND a shared
164
+ * site-level pool of datasources to pick from.
165
+ *
166
+ * - `page` → relative `./Data` (no subfolder) or `./Data/<subfolder>`.
167
+ * SXA materialises the `Data` and `<subfolder>` items lazily on first
168
+ * datasource creation; no extra CreateItem op is emitted.
169
+ * - `site` → absolute `<contentItemsRoot>` (no subfolder) or
170
+ * `<contentItemsRoot>/<subfolder>`. With `subfolder` the compiler
171
+ * emits a `CreateOnly` `CreateItem` for the data folder so the
172
+ * shared pool exists before any rendering tries to read from it.
173
+ */
174
+ export declare const RenderingDatasourceLocationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
175
+ scope: z.ZodLiteral<"page">;
176
+ subfolder: z.ZodOptional<z.ZodString>;
177
+ }, z.core.$strip>, z.ZodObject<{
178
+ scope: z.ZodLiteral<"site">;
179
+ subfolder: z.ZodOptional<z.ZodString>;
180
+ }, z.core.$strip>], "scope">;
181
+ export type RenderingDatasourceLocation = z.infer<typeof RenderingDatasourceLocationSchema>;
182
+ /**
183
+ * Top-level datasource block on `ComponentTemplateRecipe`. Captures
184
+ * everything the rendering needs to know about its datasource:
185
+ *
186
+ * - **template**: optional reference to a separate
187
+ * `ContentTemplateRecipe`. When set, the compiler points the
188
+ * rendering's Datasource Template field at that template (its
189
+ * fields land under `Content Models/<group>/<name>`). When unset,
190
+ * the component template itself is the datasource template (legacy
191
+ * inline-`fields:` pattern).
192
+ * - **autoCreate**: toggles `IsAutoDatasourceRendering=true` in the
193
+ * rendering's `OtherProperties` URL-encoded blob. Default true.
194
+ * - **openPropertiesAfterAdd**: opens the rendering parameters
195
+ * dialog right after the rendering is dropped on a page. Default
196
+ * false.
197
+ * - **locations**: semantic page/site scope entries — each compiles
198
+ * to one Sitecore Source segment (a relative `./Data/...` path or
199
+ * an absolute `<contentItemsRoot>/...` path).
200
+ * - **query**: raw Sitecore Source segments — included verbatim.
201
+ * Use `"query:$site/*[@@name='Data']/CustomPath"`-style entries for
202
+ * authors who need a Source shape that doesn't fit the semantic
203
+ * `locations` model.
204
+ *
205
+ * The compiler pipe-joins `locations` (resolved to paths) and `query`
206
+ * (verbatim) into the rendering's `Datasource Location` field.
207
+ */
208
+ export declare const RecipeDatasourceSchema: z.ZodObject<{
209
+ template: z.ZodOptional<z.ZodObject<{
210
+ handle: z.ZodString;
211
+ }, z.core.$strip>>;
212
+ autoCreate: z.ZodDefault<z.ZodBoolean>;
213
+ openPropertiesAfterAdd: z.ZodDefault<z.ZodBoolean>;
214
+ locations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
215
+ scope: z.ZodLiteral<"page">;
216
+ subfolder: z.ZodOptional<z.ZodString>;
217
+ }, z.core.$strip>, z.ZodObject<{
218
+ scope: z.ZodLiteral<"site">;
219
+ subfolder: z.ZodOptional<z.ZodString>;
220
+ }, z.core.$strip>], "scope">>>;
221
+ query: z.ZodDefault<z.ZodArray<z.ZodString>>;
222
+ }, z.core.$strip>;
223
+ export type RecipeDatasource = z.infer<typeof RecipeDatasourceSchema>;
224
+ /**
225
+ * Container for a related set of components in the Sitecore tree.
226
+ * Owns the SIX organisational items that previously emitted implicitly
227
+ * from `ComponentTemplateRecipe.section: string`:
228
+ *
229
+ * 1. Templates section folder — `<componentsRoot>/<name>/`
230
+ * 2. Component Folders bucket — `<componentsRoot>/<name>/Component Folders/`
231
+ * 3. Presentation Parameters bucket — `<componentsRoot>/<name>/Presentation Parameters/`
232
+ * 4. Renderings-tree section folder — `<renderingsRoot>/<name>/`
233
+ * 5. Headless Variants section — `<headlessVariantsRoot>/<name>/`
234
+ * 6. Available Renderings section — `<availableRenderingsRoot>/<name>` (built by
235
+ * the cross-recipe aggregator from every
236
+ * `ComponentTemplateRecipe` referencing this
237
+ * section by handle)
238
+ *
239
+ * `ComponentTemplateRecipe.section` references this recipe by handle
240
+ * (`section: { handle: "ui-section@1" }`); the compiler errors at
241
+ * INPUT_INVALID time if a component points at a section handle no
242
+ * `ComponentSectionRecipe` in the set defines.
243
+ */
244
+ export declare const ComponentSectionRecipeSchema: z.ZodObject<{
245
+ kind: z.ZodLiteral<"component-section">;
246
+ schemaVersion: z.ZodLiteral<"1">;
247
+ handle: z.ZodString;
248
+ name: z.ZodString;
249
+ displayName: z.ZodOptional<z.ZodString>;
250
+ description: z.ZodOptional<z.ZodString>;
251
+ icon: z.ZodOptional<z.ZodString>;
252
+ sortOrder: z.ZodOptional<z.ZodNumber>;
253
+ }, z.core.$strip>;
254
+ export type ComponentSectionRecipe = z.infer<typeof ComponentSectionRecipeSchema>;
255
+ export declare const ComponentTemplateRecipeSchema: z.ZodObject<{
256
+ kind: z.ZodLiteral<"component-template">;
257
+ schemaVersion: z.ZodLiteral<"1">;
258
+ handle: z.ZodString;
259
+ name: z.ZodString;
260
+ displayName: z.ZodString;
261
+ description: z.ZodOptional<z.ZodString>;
262
+ icon: z.ZodOptional<z.ZodString>;
263
+ section: z.ZodOptional<z.ZodObject<{
264
+ handle: z.ZodString;
265
+ }, z.core.$strip>>;
266
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
267
+ name: z.ZodString;
268
+ shape: z.ZodEnum<{
269
+ number: "number";
270
+ boolean: "boolean";
271
+ integer: "integer";
272
+ link: "link";
273
+ enum: "enum";
274
+ text: "text";
275
+ date: "date";
276
+ richText: "richText";
277
+ image: "image";
278
+ datetime: "datetime";
279
+ reference: "reference";
280
+ }>;
281
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
282
+ multiple: z.ZodOptional<z.ZodBoolean>;
283
+ default: z.ZodOptional<z.ZodString>;
284
+ sitecore: z.ZodOptional<z.ZodObject<{
285
+ type: z.ZodOptional<z.ZodEnum<{
286
+ number: "number";
287
+ integer: "integer";
288
+ tags: "tags";
289
+ lookup: "lookup";
290
+ date: "date";
291
+ file: "file";
292
+ image: "image";
293
+ datetime: "datetime";
294
+ "single-line-text": "single-line-text";
295
+ "multi-line-text": "multi-line-text";
296
+ "rich-text": "rich-text";
297
+ "general-link": "general-link";
298
+ checkbox: "checkbox";
299
+ droplist: "droplist";
300
+ droplink: "droplink";
301
+ treelist: "treelist";
302
+ "treelist-with-search": "treelist-with-search";
303
+ }>>;
304
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
+ sourceQuery: z.ZodOptional<z.ZodString>;
306
+ sourceScope: z.ZodOptional<z.ZodString>;
307
+ sourceRaw: z.ZodOptional<z.ZodString>;
308
+ hint: z.ZodOptional<z.ZodString>;
309
+ required: z.ZodOptional<z.ZodBoolean>;
310
+ defaultValue: z.ZodOptional<z.ZodString>;
311
+ enumHandle: z.ZodOptional<z.ZodString>;
312
+ sortOrder: z.ZodOptional<z.ZodNumber>;
313
+ section: z.ZodOptional<z.ZodString>;
314
+ }, z.core.$strip>>;
315
+ }, z.core.$strip>>>;
316
+ insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
317
+ datasource: z.ZodOptional<z.ZodObject<{
318
+ template: z.ZodOptional<z.ZodObject<{
319
+ handle: z.ZodString;
320
+ }, z.core.$strip>>;
321
+ autoCreate: z.ZodDefault<z.ZodBoolean>;
322
+ openPropertiesAfterAdd: z.ZodDefault<z.ZodBoolean>;
323
+ locations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
324
+ scope: z.ZodLiteral<"page">;
325
+ subfolder: z.ZodOptional<z.ZodString>;
326
+ }, z.core.$strip>, z.ZodObject<{
327
+ scope: z.ZodLiteral<"site">;
328
+ subfolder: z.ZodOptional<z.ZodString>;
329
+ }, z.core.$strip>], "scope">>>;
330
+ query: z.ZodDefault<z.ZodArray<z.ZodString>>;
331
+ }, z.core.$strip>>;
332
+ parameters: z.ZodOptional<z.ZodObject<{
333
+ handle: z.ZodString;
334
+ }, z.core.$strip>>;
335
+ children: z.ZodOptional<z.ZodObject<{
336
+ allowedHandles: z.ZodArray<z.ZodString>;
337
+ }, z.core.$strip>>;
338
+ availableIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
339
+ variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
340
+ name: z.ZodString;
341
+ }, z.core.$strip>>>;
342
+ params: z.ZodDefault<z.ZodArray<z.ZodObject<{
343
+ name: z.ZodString;
344
+ shape: z.ZodEnum<{
345
+ number: "number";
346
+ boolean: "boolean";
347
+ integer: "integer";
348
+ link: "link";
349
+ enum: "enum";
350
+ text: "text";
351
+ date: "date";
352
+ richText: "richText";
353
+ image: "image";
354
+ datetime: "datetime";
355
+ reference: "reference";
356
+ }>;
357
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
358
+ default: z.ZodOptional<z.ZodString>;
359
+ sitecore: z.ZodOptional<z.ZodObject<{
360
+ type: z.ZodOptional<z.ZodEnum<{
361
+ number: "number";
362
+ integer: "integer";
363
+ tags: "tags";
364
+ lookup: "lookup";
365
+ date: "date";
366
+ file: "file";
367
+ image: "image";
368
+ datetime: "datetime";
369
+ "single-line-text": "single-line-text";
370
+ "multi-line-text": "multi-line-text";
371
+ "rich-text": "rich-text";
372
+ "general-link": "general-link";
373
+ checkbox: "checkbox";
374
+ droplist: "droplist";
375
+ droplink: "droplink";
376
+ treelist: "treelist";
377
+ "treelist-with-search": "treelist-with-search";
378
+ }>>;
379
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ sourceQuery: z.ZodOptional<z.ZodString>;
381
+ sourceScope: z.ZodOptional<z.ZodString>;
382
+ sourceRaw: z.ZodOptional<z.ZodString>;
383
+ hint: z.ZodOptional<z.ZodString>;
384
+ required: z.ZodOptional<z.ZodBoolean>;
385
+ defaultValue: z.ZodOptional<z.ZodString>;
386
+ enumHandle: z.ZodOptional<z.ZodString>;
387
+ sortOrder: z.ZodOptional<z.ZodNumber>;
388
+ section: z.ZodOptional<z.ZodString>;
389
+ }, z.core.$strip>>;
390
+ }, z.core.$strip>>>;
391
+ placedIn: z.ZodDefault<z.ZodArray<z.ZodString>>;
392
+ placeholders: z.ZodDefault<z.ZodArray<z.ZodObject<{
393
+ key: z.ZodString;
394
+ allowedRenderingHandles: z.ZodOptional<z.ZodArray<z.ZodString>>;
395
+ }, z.core.$strip>>>;
396
+ dynamicPlaceholders: z.ZodDefault<z.ZodBoolean>;
397
+ otherProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
398
+ }, z.core.$strip>;
399
+ export type ComponentTemplateRecipe = z.infer<typeof ComponentTemplateRecipeSchema>;
400
+ /**
401
+ * A content-only template. Has fields but no rendering — exists as a data
402
+ * shape referenced by other recipes via:
403
+ *
404
+ * - A `reference` field with `sitecore.sourceTypes: ["<handle>"]`
405
+ * (related-items pattern: items live wherever, picker filters by template)
406
+ * - `insertOptions: ["<handle>"]` on a parent recipe (child-item pattern:
407
+ * items live as children of the parent's datasource)
408
+ *
409
+ * Not placeable on a page directly. The compiler emits the template,
410
+ * sections, fields, and standard values — but no rendering item.
411
+ *
412
+ * Examples: accordion-item, tabs-item, faq-item — content shapes that
413
+ * appear as part of a parent component, never standalone.
414
+ */
415
+ /**
416
+ * Optional taxonomy metadata, mirroring the registry's `meta.tax.*`
417
+ * namespace. `group` is the only field the compiler currently consumes
418
+ * — it drives `Content Models/<group>/<name>` nesting for content
419
+ * templates. Other fields (`section`, `subgroup`, `tag`) are accepted
420
+ * so registry → recipe pipelines can pass them through without
421
+ * losing data, but they're not load-bearing for compilation.
422
+ */
423
+ export declare const RecipeMetaTaxSchema: z.ZodOptional<z.ZodObject<{
424
+ section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
425
+ group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
426
+ subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
427
+ tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
428
+ }, z.core.$strip>>;
429
+ export declare const RecipeMetaSchema: z.ZodOptional<z.ZodObject<{
430
+ tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
431
+ section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
432
+ group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
433
+ subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
434
+ tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
435
+ }, z.core.$strip>>>;
436
+ }, z.core.$strip>>;
437
+ export type RecipeMeta = z.infer<typeof RecipeMetaSchema>;
438
+ export declare const ContentTemplateRecipeSchema: z.ZodObject<{
439
+ kind: z.ZodLiteral<"content-template">;
440
+ schemaVersion: z.ZodLiteral<"1">;
441
+ handle: z.ZodString;
442
+ name: z.ZodString;
443
+ displayName: z.ZodString;
444
+ description: z.ZodOptional<z.ZodString>;
445
+ meta: z.ZodOptional<z.ZodObject<{
446
+ tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
447
+ section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
448
+ group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
449
+ subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
450
+ tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
451
+ }, z.core.$strip>>>;
452
+ }, z.core.$strip>>;
453
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
454
+ name: z.ZodString;
455
+ shape: z.ZodEnum<{
456
+ number: "number";
457
+ boolean: "boolean";
458
+ integer: "integer";
459
+ link: "link";
460
+ enum: "enum";
461
+ text: "text";
462
+ date: "date";
463
+ richText: "richText";
464
+ image: "image";
465
+ datetime: "datetime";
466
+ reference: "reference";
467
+ }>;
468
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
469
+ multiple: z.ZodOptional<z.ZodBoolean>;
470
+ default: z.ZodOptional<z.ZodString>;
471
+ sitecore: z.ZodOptional<z.ZodObject<{
472
+ type: z.ZodOptional<z.ZodEnum<{
473
+ number: "number";
474
+ integer: "integer";
475
+ tags: "tags";
476
+ lookup: "lookup";
477
+ date: "date";
478
+ file: "file";
479
+ image: "image";
480
+ datetime: "datetime";
481
+ "single-line-text": "single-line-text";
482
+ "multi-line-text": "multi-line-text";
483
+ "rich-text": "rich-text";
484
+ "general-link": "general-link";
485
+ checkbox: "checkbox";
486
+ droplist: "droplist";
487
+ droplink: "droplink";
488
+ treelist: "treelist";
489
+ "treelist-with-search": "treelist-with-search";
490
+ }>>;
491
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
492
+ sourceQuery: z.ZodOptional<z.ZodString>;
493
+ sourceScope: z.ZodOptional<z.ZodString>;
494
+ sourceRaw: z.ZodOptional<z.ZodString>;
495
+ hint: z.ZodOptional<z.ZodString>;
496
+ required: z.ZodOptional<z.ZodBoolean>;
497
+ defaultValue: z.ZodOptional<z.ZodString>;
498
+ enumHandle: z.ZodOptional<z.ZodString>;
499
+ sortOrder: z.ZodOptional<z.ZodNumber>;
500
+ section: z.ZodOptional<z.ZodString>;
501
+ }, z.core.$strip>>;
502
+ }, z.core.$strip>>>;
503
+ insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
504
+ }, z.core.$strip>;
505
+ export type ContentTemplateRecipe = z.infer<typeof ContentTemplateRecipeSchema>;
506
+ /**
507
+ * A standalone Parameters Template — a Sitecore template item that holds
508
+ * rendering-parameter fields, referenced from one or more
509
+ * `ComponentTemplateRecipe.parameters`. Lands at
510
+ * `<componentsRoot>/<section>/Presentation Parameters/<name>`.
511
+ *
512
+ * Authoring shape mirrors a stripped-down ContentTemplateRecipe — the
513
+ * compiler emits a Template + Section + Field children + standard
514
+ * values, parented under the section's "Presentation Parameters"
515
+ * folder. Distinct from inline `params:` (which the compiler hoists
516
+ * into an anonymous parameters template owned by one component);
517
+ * standalone parameters templates are reusable across components.
518
+ *
519
+ * Identity: `paramsTemplateId(handle)` derives the deterministic GUID.
520
+ * Same identity scheme as the inline-hoisted variant — the seed is the
521
+ * recipe handle, and the namespace is `NAMESPACE_TEMPLATE`. The seed
522
+ * suffix is `::params`, identical between inline and standalone forms,
523
+ * which keeps re-pushes idempotent if a recipe migrates from inline to
524
+ * standalone (the GUID stays the same).
525
+ */
526
+ export declare const ParametersTemplateRecipeSchema: z.ZodObject<{
527
+ kind: z.ZodLiteral<"parameters-template">;
528
+ schemaVersion: z.ZodLiteral<"1">;
529
+ handle: z.ZodString;
530
+ name: z.ZodString;
531
+ displayName: z.ZodString;
532
+ description: z.ZodOptional<z.ZodString>;
533
+ icon: z.ZodOptional<z.ZodString>;
534
+ section: z.ZodString;
535
+ params: z.ZodDefault<z.ZodArray<z.ZodObject<{
536
+ name: z.ZodString;
537
+ shape: z.ZodEnum<{
538
+ number: "number";
539
+ boolean: "boolean";
540
+ integer: "integer";
541
+ link: "link";
542
+ enum: "enum";
543
+ text: "text";
544
+ date: "date";
545
+ richText: "richText";
546
+ image: "image";
547
+ datetime: "datetime";
548
+ reference: "reference";
549
+ }>;
550
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
551
+ default: z.ZodOptional<z.ZodString>;
552
+ sitecore: z.ZodOptional<z.ZodObject<{
553
+ type: z.ZodOptional<z.ZodEnum<{
554
+ number: "number";
555
+ integer: "integer";
556
+ tags: "tags";
557
+ lookup: "lookup";
558
+ date: "date";
559
+ file: "file";
560
+ image: "image";
561
+ datetime: "datetime";
562
+ "single-line-text": "single-line-text";
563
+ "multi-line-text": "multi-line-text";
564
+ "rich-text": "rich-text";
565
+ "general-link": "general-link";
566
+ checkbox: "checkbox";
567
+ droplist: "droplist";
568
+ droplink: "droplink";
569
+ treelist: "treelist";
570
+ "treelist-with-search": "treelist-with-search";
571
+ }>>;
572
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
573
+ sourceQuery: z.ZodOptional<z.ZodString>;
574
+ sourceScope: z.ZodOptional<z.ZodString>;
575
+ sourceRaw: z.ZodOptional<z.ZodString>;
576
+ hint: z.ZodOptional<z.ZodString>;
577
+ required: z.ZodOptional<z.ZodBoolean>;
578
+ defaultValue: z.ZodOptional<z.ZodString>;
579
+ enumHandle: z.ZodOptional<z.ZodString>;
580
+ sortOrder: z.ZodOptional<z.ZodNumber>;
581
+ section: z.ZodOptional<z.ZodString>;
582
+ }, z.core.$strip>>;
583
+ }, z.core.$strip>>>;
584
+ }, z.core.$strip>;
585
+ export type ParametersTemplateRecipe = z.infer<typeof ParametersTemplateRecipeSchema>;
586
+ /**
587
+ * Available Rendering Section Definition — declares an SXA section
588
+ * definition item that the registry uses as the target for
589
+ * `availableIn` bindings. Each section definition holds an `Available
590
+ * Renderings` multi-list field whose pipe-separated GUID list controls
591
+ * which renderings appear in the section's toolbox group.
592
+ *
593
+ * The section definition typically lives in the content tree under
594
+ * `/sitecore/content/<tenant>/<site>/Presentation/Available Renderings/<Section>`,
595
+ * but exact path is recipe-supplied via `sitePath` so the same recipe
596
+ * shape works across SXA Headless and classic SXA layouts.
597
+ *
598
+ * Identity: section definitions are referenced by deterministic GUID
599
+ * via `sectionDefinitionId(handle)`. The compiler currently does not
600
+ * emit CreateItem ops for section definitions (they're assumed to
601
+ * pre-exist on the tenant — they're SXA-shipped scaffolding). The
602
+ * recipe surface accepts them so cross-recipe validation of
603
+ * `availableIn` references can resolve.
604
+ */
605
+ export declare const SectionDefinitionRecipeSchema: z.ZodObject<{
606
+ kind: z.ZodLiteral<"section-definition">;
607
+ schemaVersion: z.ZodLiteral<"1">;
608
+ handle: z.ZodString;
609
+ name: z.ZodString;
610
+ displayName: z.ZodOptional<z.ZodString>;
611
+ description: z.ZodOptional<z.ZodString>;
612
+ sitePath: z.ZodString;
613
+ }, z.core.$strip>;
614
+ export type SectionDefinitionRecipe = z.infer<typeof SectionDefinitionRecipeSchema>;
615
+ /**
616
+ * A single field value on a `ContentItemRecipe`. Tagged on `shape` so the
617
+ * Phase 4 compiler can dispatch each value to the right Sitecore wire
618
+ * encoder (image XML, link XML, pipe-separated GUID list, …) without
619
+ * cross-recipe shape lookup at parse time.
620
+ *
621
+ * Shapes mirror `FieldShape` from `field-types.ts`, with `link` split
622
+ * into `link-external` / `link-internal` and `reference` lifted to
623
+ * always-array (`refs: string[]`) — both differences reflect that the
624
+ * value-level form encodes the stored representation, not the abstract
625
+ * field shape on the template.
626
+ *
627
+ * Cross-recipe handle references (`link-internal.ref`, `reference.refs`)
628
+ * resolve via the same `templateId(handle)` / `contentItemId(handle)`
629
+ * derivation the rest of the recipe surface uses.
630
+ */
631
+ export declare const ContentFieldValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
632
+ shape: z.ZodLiteral<"text">;
633
+ value: z.ZodString;
634
+ }, z.core.$strip>, z.ZodObject<{
635
+ shape: z.ZodLiteral<"richText">;
636
+ value: z.ZodString;
637
+ }, z.core.$strip>, z.ZodObject<{
638
+ shape: z.ZodLiteral<"boolean">;
639
+ value: z.ZodBoolean;
640
+ }, z.core.$strip>, z.ZodObject<{
641
+ shape: z.ZodLiteral<"number">;
642
+ value: z.ZodNumber;
643
+ }, z.core.$strip>, z.ZodObject<{
644
+ shape: z.ZodLiteral<"integer">;
645
+ value: z.ZodNumber;
646
+ }, z.core.$strip>, z.ZodObject<{
647
+ shape: z.ZodLiteral<"date">;
648
+ value: z.ZodString;
649
+ }, z.core.$strip>, z.ZodObject<{
650
+ shape: z.ZodLiteral<"datetime">;
651
+ value: z.ZodString;
652
+ }, z.core.$strip>, z.ZodObject<{
653
+ shape: z.ZodLiteral<"enum">;
654
+ value: z.ZodString;
655
+ }, z.core.$strip>, z.ZodObject<{
656
+ shape: z.ZodLiteral<"image">;
657
+ mediaPath: z.ZodString;
658
+ alt: z.ZodOptional<z.ZodString>;
659
+ width: z.ZodOptional<z.ZodNumber>;
660
+ height: z.ZodOptional<z.ZodNumber>;
661
+ }, z.core.$strip>, z.ZodObject<{
662
+ shape: z.ZodLiteral<"link-external">;
663
+ href: z.ZodString;
664
+ text: z.ZodOptional<z.ZodString>;
665
+ target: z.ZodOptional<z.ZodString>;
666
+ title: z.ZodOptional<z.ZodString>;
667
+ }, z.core.$strip>, z.ZodObject<{
668
+ shape: z.ZodLiteral<"link-internal">;
669
+ ref: z.ZodString;
670
+ text: z.ZodOptional<z.ZodString>;
671
+ target: z.ZodOptional<z.ZodString>;
672
+ }, z.core.$strip>, z.ZodObject<{
673
+ shape: z.ZodLiteral<"reference">;
674
+ refs: z.ZodArray<z.ZodString>;
675
+ }, z.core.$strip>], "shape">;
676
+ export type ContentFieldValue = z.infer<typeof ContentFieldValueSchema>;
677
+ /**
678
+ * A concrete content item — one Sitecore item conforming to a content
679
+ * template, populated with the recipe's field values. The Phase 4
680
+ * companion to `ContentTemplateRecipe`: templates declare shape, content
681
+ * items declare instance.
682
+ *
683
+ * Used as the `kind: "shared"` datasource target for `PartialDesignRecipe`
684
+ * and `PageDesignRecipe` placements (e.g. `site-logo-content@1`,
685
+ * `primary-nav-content@1`). The handle is load-bearing — `contentItemId`
686
+ * derives the deterministic Sitecore GUID from it.
687
+ *
688
+ * Field-shape ↔ template-shape validation is deferred to the Phase 4
689
+ * compiler (it requires cross-recipe lookup; Zod can't enforce it alone).
690
+ */
691
+ export declare const ContentItemRecipeSchema: z.ZodObject<{
692
+ kind: z.ZodLiteral<"content-item">;
693
+ schemaVersion: z.ZodLiteral<"1">;
694
+ handle: z.ZodString;
695
+ name: z.ZodString;
696
+ displayName: z.ZodString;
697
+ description: z.ZodOptional<z.ZodString>;
698
+ templateType: z.ZodString;
699
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
700
+ shape: z.ZodLiteral<"text">;
701
+ value: z.ZodString;
702
+ }, z.core.$strip>, z.ZodObject<{
703
+ shape: z.ZodLiteral<"richText">;
704
+ value: z.ZodString;
705
+ }, z.core.$strip>, z.ZodObject<{
706
+ shape: z.ZodLiteral<"boolean">;
707
+ value: z.ZodBoolean;
708
+ }, z.core.$strip>, z.ZodObject<{
709
+ shape: z.ZodLiteral<"number">;
710
+ value: z.ZodNumber;
711
+ }, z.core.$strip>, z.ZodObject<{
712
+ shape: z.ZodLiteral<"integer">;
713
+ value: z.ZodNumber;
714
+ }, z.core.$strip>, z.ZodObject<{
715
+ shape: z.ZodLiteral<"date">;
716
+ value: z.ZodString;
717
+ }, z.core.$strip>, z.ZodObject<{
718
+ shape: z.ZodLiteral<"datetime">;
719
+ value: z.ZodString;
720
+ }, z.core.$strip>, z.ZodObject<{
721
+ shape: z.ZodLiteral<"enum">;
722
+ value: z.ZodString;
723
+ }, z.core.$strip>, z.ZodObject<{
724
+ shape: z.ZodLiteral<"image">;
725
+ mediaPath: z.ZodString;
726
+ alt: z.ZodOptional<z.ZodString>;
727
+ width: z.ZodOptional<z.ZodNumber>;
728
+ height: z.ZodOptional<z.ZodNumber>;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ shape: z.ZodLiteral<"link-external">;
731
+ href: z.ZodString;
732
+ text: z.ZodOptional<z.ZodString>;
733
+ target: z.ZodOptional<z.ZodString>;
734
+ title: z.ZodOptional<z.ZodString>;
735
+ }, z.core.$strip>, z.ZodObject<{
736
+ shape: z.ZodLiteral<"link-internal">;
737
+ ref: z.ZodString;
738
+ text: z.ZodOptional<z.ZodString>;
739
+ target: z.ZodOptional<z.ZodString>;
740
+ }, z.core.$strip>, z.ZodObject<{
741
+ shape: z.ZodLiteral<"reference">;
742
+ refs: z.ZodArray<z.ZodString>;
743
+ }, z.core.$strip>], "shape">>>;
744
+ }, z.core.$strip>;
745
+ export type ContentItemRecipe = z.infer<typeof ContentItemRecipeSchema>;
746
+ /**
747
+ * One rendering placed into a placeholder, with its variant, parameters,
748
+ * and datasource binding. The Phase 4 compiler emits each ComponentPlacement
749
+ * as one `<r>` element in Sitecore's layout XML.
750
+ *
751
+ * The single shape used by anything that holds layout — `PartialDesignRecipe`,
752
+ * `PageDesignRecipe`, and (when Phase 3 lands) `PageRecipe`. The
753
+ * `componentHandle` resolves to a `ComponentTemplateRecipe`'s rendering
754
+ * GUID via `renderingId(handle)`.
755
+ *
756
+ * `datasourceRef` distinguishes how the rendering gets its content:
757
+ *
758
+ * shared — points at a `ContentItemRecipe` by handle (catalog-shipped
759
+ * reusable content like `site-logo-content@1`).
760
+ * scoped — page-local content at `<page>/<slot>`. Used by `PageRecipe`;
761
+ * `PartialDesignRecipe` and `PageDesignRecipe` typically don't
762
+ * use this kind, but the shared schema accepts it.
763
+ * none — config-driven rendering with no datasource (rare).
764
+ */
765
+ export declare const ComponentPlacementSchema: z.ZodObject<{
766
+ componentHandle: z.ZodString;
767
+ variant: z.ZodOptional<z.ZodString>;
768
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
769
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
770
+ kind: z.ZodLiteral<"shared">;
771
+ handle: z.ZodString;
772
+ }, z.core.$strip>, z.ZodObject<{
773
+ kind: z.ZodLiteral<"scoped">;
774
+ slot: z.ZodString;
775
+ }, z.core.$strip>, z.ZodObject<{
776
+ kind: z.ZodLiteral<"none">;
777
+ }, z.core.$strip>], "kind">>;
778
+ }, z.core.$strip>;
779
+ export type ComponentPlacement = z.infer<typeof ComponentPlacementSchema>;
780
+ /**
781
+ * Layout block keyed by placeholder. Each placeholder holds an ordered
782
+ * array of `ComponentPlacement`s — render order is array order.
783
+ */
784
+ export declare const LayoutSchema: z.ZodObject<{
785
+ placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
786
+ componentHandle: z.ZodString;
787
+ variant: z.ZodOptional<z.ZodString>;
788
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
789
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
790
+ kind: z.ZodLiteral<"shared">;
791
+ handle: z.ZodString;
792
+ }, z.core.$strip>, z.ZodObject<{
793
+ kind: z.ZodLiteral<"scoped">;
794
+ slot: z.ZodString;
795
+ }, z.core.$strip>, z.ZodObject<{
796
+ kind: z.ZodLiteral<"none">;
797
+ }, z.core.$strip>], "kind">>;
798
+ }, z.core.$strip>>>>;
799
+ }, z.core.$strip>;
800
+ export type Layout = z.infer<typeof LayoutSchema>;
801
+ /**
802
+ * A reusable layout chunk — header, footer, sidebar, byline. Lives at
803
+ * `/sitecore/.../Presentation/Partial Designs/<name>` on a tenant. Linked
804
+ * by 1..n `PageDesignRecipe`s. Owns its own placeholders and pre-placed
805
+ * renderings; the compiler emits the same layout XML form pages use.
806
+ *
807
+ * Identity: `partialDesignId(handle)` derives the deterministic GUID from
808
+ * the recipe handle.
809
+ */
810
+ export declare const PartialDesignRecipeSchema: z.ZodObject<{
811
+ kind: z.ZodLiteral<"partial-design">;
812
+ schemaVersion: z.ZodLiteral<"1">;
813
+ handle: z.ZodString;
814
+ name: z.ZodString;
815
+ displayName: z.ZodString;
816
+ description: z.ZodOptional<z.ZodString>;
817
+ icon: z.ZodOptional<z.ZodString>;
818
+ layout: z.ZodObject<{
819
+ placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
820
+ componentHandle: z.ZodString;
821
+ variant: z.ZodOptional<z.ZodString>;
822
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
823
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
824
+ kind: z.ZodLiteral<"shared">;
825
+ handle: z.ZodString;
826
+ }, z.core.$strip>, z.ZodObject<{
827
+ kind: z.ZodLiteral<"scoped">;
828
+ slot: z.ZodString;
829
+ }, z.core.$strip>, z.ZodObject<{
830
+ kind: z.ZodLiteral<"none">;
831
+ }, z.core.$strip>], "kind">>;
832
+ }, z.core.$strip>>>>;
833
+ }, z.core.$strip>;
834
+ }, z.core.$strip>;
835
+ export type PartialDesignRecipe = z.infer<typeof PartialDesignRecipeSchema>;
836
+ /**
837
+ * Maps page templates to a layout. Lives at
838
+ * `/sitecore/.../Presentation/Page Designs/<name>` on a tenant. Establishes
839
+ * the templates-to-design mapping (the Sitecore SXA Page Designs root
840
+ * field), lists which partial designs wrap content, and optionally adds
841
+ * its own pre-placed renderings.
842
+ *
843
+ * Identity: `pageDesignId(handle)` derives the deterministic GUID from
844
+ * the recipe handle.
845
+ */
846
+ export declare const PageDesignRecipeSchema: z.ZodObject<{
847
+ kind: z.ZodLiteral<"page-design">;
848
+ schemaVersion: z.ZodLiteral<"1">;
849
+ handle: z.ZodString;
850
+ name: z.ZodString;
851
+ displayName: z.ZodString;
852
+ description: z.ZodOptional<z.ZodString>;
853
+ icon: z.ZodOptional<z.ZodString>;
854
+ appliesTo: z.ZodDefault<z.ZodArray<z.ZodString>>;
855
+ partials: z.ZodDefault<z.ZodArray<z.ZodString>>;
856
+ layout: z.ZodOptional<z.ZodObject<{
857
+ placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
858
+ componentHandle: z.ZodString;
859
+ variant: z.ZodOptional<z.ZodString>;
860
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
861
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
862
+ kind: z.ZodLiteral<"shared">;
863
+ handle: z.ZodString;
864
+ }, z.core.$strip>, z.ZodObject<{
865
+ kind: z.ZodLiteral<"scoped">;
866
+ slot: z.ZodString;
867
+ }, z.core.$strip>, z.ZodObject<{
868
+ kind: z.ZodLiteral<"none">;
869
+ }, z.core.$strip>], "kind">>;
870
+ }, z.core.$strip>>>>;
871
+ }, z.core.$strip>>;
872
+ }, z.core.$strip>;
873
+ export type PageDesignRecipe = z.infer<typeof PageDesignRecipeSchema>;
874
+ /**
875
+ * Default dictionary entry on a `SiteTemplateRecipe`. Every entry the
876
+ * template declares becomes a Sitecore dictionary phrase with the
877
+ * supplied default value. Sites instancing the template can override
878
+ * the value per-phrase via `SiteRecipe.dictionaryOverrides`; phrases
879
+ * not overridden read the template default.
880
+ */
881
+ export declare const SiteTemplateDictionaryEntrySchema: z.ZodObject<{
882
+ phrase: z.ZodString;
883
+ defaultValue: z.ZodString;
884
+ }, z.core.$strip>;
885
+ export type SiteTemplateDictionaryEntry = z.infer<typeof SiteTemplateDictionaryEntrySchema>;
886
+ /**
887
+ * Default taxonomy bucket on a `SiteTemplateRecipe`. Each bucket has a
888
+ * root folder name (e.g. "Content Types") and a list of tag names that
889
+ * become the default children. Sites can override the tag list
890
+ * per-root via `SiteRecipe.taxonomyOverrides`.
891
+ */
892
+ export declare const SiteTemplateTaxonomyEntrySchema: z.ZodObject<{
893
+ root: z.ZodString;
894
+ defaultTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
895
+ }, z.core.$strip>;
896
+ export type SiteTemplateTaxonomyEntry = z.infer<typeof SiteTemplateTaxonomyEntrySchema>;
897
+ /**
898
+ * A `SiteTemplateRecipe` defines a reusable brand/site shape — page
899
+ * templates, designs, partials (transitively), insert-options matrix,
900
+ * templates-to-designs mapping, dictionary structure, and taxonomy
901
+ * structure. The Sitecore SXA "site template" the registry's catalog
902
+ * ships as a single artifact.
903
+ *
904
+ * Many `SiteRecipe`s can reference one `SiteTemplateRecipe`. A
905
+ * customer with three brands has three Sites instancing one Template;
906
+ * that's the multi-brand demo pattern this kind enables.
907
+ *
908
+ * Identity: `templateId(handle)` derives the GUID — site templates
909
+ * are regular Sitecore template items under `/sitecore/templates/Project/<Module>`,
910
+ * not Sites-API-managed instances. Compile path goes through
911
+ * Authoring GraphQL, not the Sites API.
912
+ *
913
+ * Cross-recipe handle resolution: `pageTemplates` and
914
+ * `insertOptionsMatrix.*` resolve to `ContentTemplateRecipe` handles;
915
+ * `pageDesigns` and `templatesToDesigns.*` values resolve to
916
+ * `PageDesignRecipe` handles. The cross-recipe validator
917
+ * (`validateRecipeSet`) catches missing handles before push.
918
+ */
919
+ export declare const SiteTemplateRecipeSchema: z.ZodObject<{
920
+ kind: z.ZodLiteral<"site-template">;
921
+ schemaVersion: z.ZodLiteral<"1">;
922
+ handle: z.ZodString;
923
+ name: z.ZodString;
924
+ displayName: z.ZodString;
925
+ description: z.ZodOptional<z.ZodString>;
926
+ icon: z.ZodOptional<z.ZodString>;
927
+ pageTemplates: z.ZodDefault<z.ZodArray<z.ZodString>>;
928
+ insertOptionsMatrix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
929
+ pageDesigns: z.ZodDefault<z.ZodArray<z.ZodString>>;
930
+ templatesToDesigns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
931
+ dictionary: z.ZodOptional<z.ZodArray<z.ZodObject<{
932
+ phrase: z.ZodString;
933
+ defaultValue: z.ZodString;
934
+ }, z.core.$strip>>>;
935
+ taxonomy: z.ZodOptional<z.ZodArray<z.ZodObject<{
936
+ root: z.ZodString;
937
+ defaultTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
938
+ }, z.core.$strip>>>;
939
+ }, z.core.$strip>;
940
+ export type SiteTemplateRecipe = z.infer<typeof SiteTemplateRecipeSchema>;
941
+ /**
942
+ * Site grouping — hostname + language binding. The Sitecore Sites API
943
+ * `NewSiteInput.hostName` field receives `hostName`; multi-host
944
+ * setups are configured via separate Site Hosts after creation
945
+ * (Sites API has its own hosts surface for that, not modelled here).
946
+ */
947
+ export declare const SiteGroupingSchema: z.ZodObject<{
948
+ hostName: z.ZodOptional<z.ZodString>;
949
+ language: z.ZodOptional<z.ZodString>;
950
+ targetHostName: z.ZodOptional<z.ZodString>;
951
+ }, z.core.$strip>;
952
+ export type SiteGrouping = z.infer<typeof SiteGroupingSchema>;
953
+ /**
954
+ * A `SiteRecipe` instances a `SiteTemplateRecipe` at a specific path
955
+ * with a specific hostname and language. Customers with multiple
956
+ * brands ship multiple SiteRecipes pointing at the same template;
957
+ * each gets its own hostname, content tree, taxonomy values, and
958
+ * dictionary overrides.
959
+ *
960
+ * Identity: `siteId(handle)` derives a stable refKey for IR purposes.
961
+ * The actual Sitecore site itemId is server-assigned by the Sites API
962
+ * `createSite` mutation (which runs as a job — callers poll
963
+ * `getJobStatus` until the site is materialised).
964
+ *
965
+ * Compile path: `SiteRecipe` execution goes through the Sites API
966
+ * (`src/sites/api/`), not Authoring GraphQL. The compiler emits a
967
+ * `CreateSiteFromTemplate` IR op that the executor dispatches to
968
+ * Sites API; site-grouping fields, dictionary overrides, and
969
+ * taxonomy overrides land via subsequent ops on the resulting site.
970
+ *
971
+ * Cross-recipe handle resolution: `siteTemplate` resolves to a
972
+ * `SiteTemplateRecipe`; `initialHome` (when present) resolves to a
973
+ * `PageRecipe` (Phase 6+ — schema accepts the handle now, executor
974
+ * support lands later).
975
+ */
976
+ export declare const SiteRecipeSchema: z.ZodObject<{
977
+ kind: z.ZodLiteral<"site">;
978
+ schemaVersion: z.ZodLiteral<"1">;
979
+ handle: z.ZodString;
980
+ name: z.ZodString;
981
+ displayName: z.ZodString;
982
+ description: z.ZodOptional<z.ZodString>;
983
+ siteTemplate: z.ZodString;
984
+ language: z.ZodString;
985
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
986
+ collectionId: z.ZodOptional<z.ZodString>;
987
+ collectionName: z.ZodOptional<z.ZodString>;
988
+ collectionDisplayName: z.ZodOptional<z.ZodString>;
989
+ collectionDescription: z.ZodOptional<z.ZodString>;
990
+ collectionPath: z.ZodOptional<z.ZodString>;
991
+ siteGrouping: z.ZodOptional<z.ZodObject<{
992
+ hostName: z.ZodOptional<z.ZodString>;
993
+ language: z.ZodOptional<z.ZodString>;
994
+ targetHostName: z.ZodOptional<z.ZodString>;
995
+ }, z.core.$strip>>;
996
+ dictionaryOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
997
+ taxonomyOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
998
+ initialHome: z.ZodOptional<z.ZodString>;
999
+ }, z.core.$strip>;
1000
+ export type SiteRecipe = z.infer<typeof SiteRecipeSchema>;
1001
+ /**
1002
+ * Discriminated union of recipe kinds. Compilers and validators can accept
1003
+ * `Recipe` and dispatch on `kind`.
1004
+ */
1005
+ /**
1006
+ * One value in an `EnumerationRecipe`. Compiles to a Sitecore item that
1007
+ * conforms to the per-site `Enumeration Value` template (NOT the
1008
+ * `Enumeration` template — that one is for the per-enum container).
1009
+ * `Enumeration Value` carries an `Enumeration` Template Section with a
1010
+ * single `Value` Single-Line Text shared field — see
1011
+ * `EnumerationRecipeSchema` for the full template structure.
1012
+ *
1013
+ * `name` — Sitecore item name and uuidv5 GUID seed for the
1014
+ * value item. Load-bearing: renaming `name` creates
1015
+ * a *different* value item and orphans every
1016
+ * existing reference. Also written to the `Value`
1017
+ * shared field on the value item, which is what
1018
+ * SXA-aware consumers (XM Cloud Pages, JSS variants,
1019
+ * custom Edge resolvers) read via the canonical
1020
+ * "picked item's Value field" pattern.
1021
+ * `displayName` — `__Display name` on the item, defaults to `name`.
1022
+ * What the editor's Droplink dropdown shows. Use
1023
+ * this to change the visible label without touching
1024
+ * `name`.
1025
+ */
1026
+ export declare const EnumerationValueSchema: z.ZodObject<{
1027
+ name: z.ZodString;
1028
+ displayName: z.ZodOptional<z.ZodString>;
1029
+ }, z.core.$strip>;
1030
+ export type EnumerationValue = z.infer<typeof EnumerationValueSchema>;
1031
+ /**
1032
+ * A reusable enumeration — backs Droplink fields whose options are
1033
+ * shared across multiple components (color schemes, size scales,
1034
+ * spacing scales, etc.). Each value lands as a child item under
1035
+ * `<enumerationsRoot>/[<subfolder>/]<EnumName>/<ValueName>`.
1036
+ *
1037
+ * Reference from any field via `sitecore.enumHandle: "<handle>"`. On
1038
+ * re-push, adding a value to the enumeration surfaces it on every
1039
+ * referencing field automatically (the Droplink Source resolves by
1040
+ * location at editor time, so consumer field-definitions don't need
1041
+ * to change).
1042
+ *
1043
+ * Underlying template structure (emitted once per site by
1044
+ * `ensureEnumerationTemplates` — three distinct templates, each with
1045
+ * its own role; never collapsed):
1046
+ *
1047
+ * Enumerations Folder (Template — folder layers in the
1048
+ * enum content tree: site enumerations
1049
+ * root + per-folder grouping items)
1050
+ * └── __Standard Values Insert Options:
1051
+ * Enumeration, Enumerations Folder
1052
+ *
1053
+ * Enumeration (Template — per-enum CONTAINER items
1054
+ * like `Color Scheme`, `Heading Size`)
1055
+ * └── __Standard Values Insert Options: Enumeration Value
1056
+ *
1057
+ * Enumeration Value (Template — leaf VALUE items like
1058
+ * `primary`, `accent`, `lg`)
1059
+ * └── Enumeration (Template Section)
1060
+ * └── Value (Single-Line Text, shared)
1061
+ *
1062
+ * Each value item conforms to `Enumeration Value` and stores its `name`
1063
+ * on the `Value` shared field. That payload is what Droplink consumers
1064
+ * read via the SXA "picked item's Value field" pattern — without it,
1065
+ * components wired against the enum stay empty.
1066
+ *
1067
+ * The matching consumer-side surface is `Type=Droplink` (the default
1068
+ * for `shape: "enum"`). Inline Droplink (`shape: "enum"` with `values`
1069
+ * but no `enumHandle`) is unsupported — authors must either point at
1070
+ * an EnumerationRecipe via `enumHandle` or override `sitecore.type` to
1071
+ * `"droplist"` for an inline pipe-list dropdown.
1072
+ */
1073
+ export declare const EnumerationRecipeSchema: z.ZodObject<{
1074
+ kind: z.ZodLiteral<"enumeration">;
1075
+ schemaVersion: z.ZodLiteral<"1">;
1076
+ handle: z.ZodString;
1077
+ name: z.ZodString;
1078
+ displayName: z.ZodOptional<z.ZodString>;
1079
+ description: z.ZodOptional<z.ZodString>;
1080
+ location: z.ZodOptional<z.ZodObject<{
1081
+ scope: z.ZodEnum<{
1082
+ site: "site";
1083
+ siteCollection: "siteCollection";
1084
+ }>;
1085
+ folder: z.ZodOptional<z.ZodString>;
1086
+ }, z.core.$strip>>;
1087
+ values: z.ZodArray<z.ZodObject<{
1088
+ name: z.ZodString;
1089
+ displayName: z.ZodOptional<z.ZodString>;
1090
+ }, z.core.$strip>>;
1091
+ default: z.ZodOptional<z.ZodString>;
1092
+ }, z.core.$strip>;
1093
+ export type EnumerationRecipe = z.infer<typeof EnumerationRecipeSchema>;
1094
+ export declare const RecipeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1095
+ kind: z.ZodLiteral<"component-section">;
1096
+ schemaVersion: z.ZodLiteral<"1">;
1097
+ handle: z.ZodString;
1098
+ name: z.ZodString;
1099
+ displayName: z.ZodOptional<z.ZodString>;
1100
+ description: z.ZodOptional<z.ZodString>;
1101
+ icon: z.ZodOptional<z.ZodString>;
1102
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1103
+ }, z.core.$strip>, z.ZodObject<{
1104
+ kind: z.ZodLiteral<"component-template">;
1105
+ schemaVersion: z.ZodLiteral<"1">;
1106
+ handle: z.ZodString;
1107
+ name: z.ZodString;
1108
+ displayName: z.ZodString;
1109
+ description: z.ZodOptional<z.ZodString>;
1110
+ icon: z.ZodOptional<z.ZodString>;
1111
+ section: z.ZodOptional<z.ZodObject<{
1112
+ handle: z.ZodString;
1113
+ }, z.core.$strip>>;
1114
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
1115
+ name: z.ZodString;
1116
+ shape: z.ZodEnum<{
1117
+ number: "number";
1118
+ boolean: "boolean";
1119
+ integer: "integer";
1120
+ link: "link";
1121
+ enum: "enum";
1122
+ text: "text";
1123
+ date: "date";
1124
+ richText: "richText";
1125
+ image: "image";
1126
+ datetime: "datetime";
1127
+ reference: "reference";
1128
+ }>;
1129
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1130
+ multiple: z.ZodOptional<z.ZodBoolean>;
1131
+ default: z.ZodOptional<z.ZodString>;
1132
+ sitecore: z.ZodOptional<z.ZodObject<{
1133
+ type: z.ZodOptional<z.ZodEnum<{
1134
+ number: "number";
1135
+ integer: "integer";
1136
+ tags: "tags";
1137
+ lookup: "lookup";
1138
+ date: "date";
1139
+ file: "file";
1140
+ image: "image";
1141
+ datetime: "datetime";
1142
+ "single-line-text": "single-line-text";
1143
+ "multi-line-text": "multi-line-text";
1144
+ "rich-text": "rich-text";
1145
+ "general-link": "general-link";
1146
+ checkbox: "checkbox";
1147
+ droplist: "droplist";
1148
+ droplink: "droplink";
1149
+ treelist: "treelist";
1150
+ "treelist-with-search": "treelist-with-search";
1151
+ }>>;
1152
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1153
+ sourceQuery: z.ZodOptional<z.ZodString>;
1154
+ sourceScope: z.ZodOptional<z.ZodString>;
1155
+ sourceRaw: z.ZodOptional<z.ZodString>;
1156
+ hint: z.ZodOptional<z.ZodString>;
1157
+ required: z.ZodOptional<z.ZodBoolean>;
1158
+ defaultValue: z.ZodOptional<z.ZodString>;
1159
+ enumHandle: z.ZodOptional<z.ZodString>;
1160
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1161
+ section: z.ZodOptional<z.ZodString>;
1162
+ }, z.core.$strip>>;
1163
+ }, z.core.$strip>>>;
1164
+ insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1165
+ datasource: z.ZodOptional<z.ZodObject<{
1166
+ template: z.ZodOptional<z.ZodObject<{
1167
+ handle: z.ZodString;
1168
+ }, z.core.$strip>>;
1169
+ autoCreate: z.ZodDefault<z.ZodBoolean>;
1170
+ openPropertiesAfterAdd: z.ZodDefault<z.ZodBoolean>;
1171
+ locations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1172
+ scope: z.ZodLiteral<"page">;
1173
+ subfolder: z.ZodOptional<z.ZodString>;
1174
+ }, z.core.$strip>, z.ZodObject<{
1175
+ scope: z.ZodLiteral<"site">;
1176
+ subfolder: z.ZodOptional<z.ZodString>;
1177
+ }, z.core.$strip>], "scope">>>;
1178
+ query: z.ZodDefault<z.ZodArray<z.ZodString>>;
1179
+ }, z.core.$strip>>;
1180
+ parameters: z.ZodOptional<z.ZodObject<{
1181
+ handle: z.ZodString;
1182
+ }, z.core.$strip>>;
1183
+ children: z.ZodOptional<z.ZodObject<{
1184
+ allowedHandles: z.ZodArray<z.ZodString>;
1185
+ }, z.core.$strip>>;
1186
+ availableIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1187
+ variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
1188
+ name: z.ZodString;
1189
+ }, z.core.$strip>>>;
1190
+ params: z.ZodDefault<z.ZodArray<z.ZodObject<{
1191
+ name: z.ZodString;
1192
+ shape: z.ZodEnum<{
1193
+ number: "number";
1194
+ boolean: "boolean";
1195
+ integer: "integer";
1196
+ link: "link";
1197
+ enum: "enum";
1198
+ text: "text";
1199
+ date: "date";
1200
+ richText: "richText";
1201
+ image: "image";
1202
+ datetime: "datetime";
1203
+ reference: "reference";
1204
+ }>;
1205
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1206
+ default: z.ZodOptional<z.ZodString>;
1207
+ sitecore: z.ZodOptional<z.ZodObject<{
1208
+ type: z.ZodOptional<z.ZodEnum<{
1209
+ number: "number";
1210
+ integer: "integer";
1211
+ tags: "tags";
1212
+ lookup: "lookup";
1213
+ date: "date";
1214
+ file: "file";
1215
+ image: "image";
1216
+ datetime: "datetime";
1217
+ "single-line-text": "single-line-text";
1218
+ "multi-line-text": "multi-line-text";
1219
+ "rich-text": "rich-text";
1220
+ "general-link": "general-link";
1221
+ checkbox: "checkbox";
1222
+ droplist: "droplist";
1223
+ droplink: "droplink";
1224
+ treelist: "treelist";
1225
+ "treelist-with-search": "treelist-with-search";
1226
+ }>>;
1227
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1228
+ sourceQuery: z.ZodOptional<z.ZodString>;
1229
+ sourceScope: z.ZodOptional<z.ZodString>;
1230
+ sourceRaw: z.ZodOptional<z.ZodString>;
1231
+ hint: z.ZodOptional<z.ZodString>;
1232
+ required: z.ZodOptional<z.ZodBoolean>;
1233
+ defaultValue: z.ZodOptional<z.ZodString>;
1234
+ enumHandle: z.ZodOptional<z.ZodString>;
1235
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1236
+ section: z.ZodOptional<z.ZodString>;
1237
+ }, z.core.$strip>>;
1238
+ }, z.core.$strip>>>;
1239
+ placedIn: z.ZodDefault<z.ZodArray<z.ZodString>>;
1240
+ placeholders: z.ZodDefault<z.ZodArray<z.ZodObject<{
1241
+ key: z.ZodString;
1242
+ allowedRenderingHandles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1243
+ }, z.core.$strip>>>;
1244
+ dynamicPlaceholders: z.ZodDefault<z.ZodBoolean>;
1245
+ otherProperties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1246
+ }, z.core.$strip>, z.ZodObject<{
1247
+ kind: z.ZodLiteral<"content-template">;
1248
+ schemaVersion: z.ZodLiteral<"1">;
1249
+ handle: z.ZodString;
1250
+ name: z.ZodString;
1251
+ displayName: z.ZodString;
1252
+ description: z.ZodOptional<z.ZodString>;
1253
+ meta: z.ZodOptional<z.ZodObject<{
1254
+ tax: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1255
+ section: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1256
+ group: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1257
+ subgroup: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1258
+ tag: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1259
+ }, z.core.$strip>>>;
1260
+ }, z.core.$strip>>;
1261
+ fields: z.ZodDefault<z.ZodArray<z.ZodObject<{
1262
+ name: z.ZodString;
1263
+ shape: z.ZodEnum<{
1264
+ number: "number";
1265
+ boolean: "boolean";
1266
+ integer: "integer";
1267
+ link: "link";
1268
+ enum: "enum";
1269
+ text: "text";
1270
+ date: "date";
1271
+ richText: "richText";
1272
+ image: "image";
1273
+ datetime: "datetime";
1274
+ reference: "reference";
1275
+ }>;
1276
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1277
+ multiple: z.ZodOptional<z.ZodBoolean>;
1278
+ default: z.ZodOptional<z.ZodString>;
1279
+ sitecore: z.ZodOptional<z.ZodObject<{
1280
+ type: z.ZodOptional<z.ZodEnum<{
1281
+ number: "number";
1282
+ integer: "integer";
1283
+ tags: "tags";
1284
+ lookup: "lookup";
1285
+ date: "date";
1286
+ file: "file";
1287
+ image: "image";
1288
+ datetime: "datetime";
1289
+ "single-line-text": "single-line-text";
1290
+ "multi-line-text": "multi-line-text";
1291
+ "rich-text": "rich-text";
1292
+ "general-link": "general-link";
1293
+ checkbox: "checkbox";
1294
+ droplist: "droplist";
1295
+ droplink: "droplink";
1296
+ treelist: "treelist";
1297
+ "treelist-with-search": "treelist-with-search";
1298
+ }>>;
1299
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1300
+ sourceQuery: z.ZodOptional<z.ZodString>;
1301
+ sourceScope: z.ZodOptional<z.ZodString>;
1302
+ sourceRaw: z.ZodOptional<z.ZodString>;
1303
+ hint: z.ZodOptional<z.ZodString>;
1304
+ required: z.ZodOptional<z.ZodBoolean>;
1305
+ defaultValue: z.ZodOptional<z.ZodString>;
1306
+ enumHandle: z.ZodOptional<z.ZodString>;
1307
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1308
+ section: z.ZodOptional<z.ZodString>;
1309
+ }, z.core.$strip>>;
1310
+ }, z.core.$strip>>>;
1311
+ insertOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1312
+ }, z.core.$strip>, z.ZodObject<{
1313
+ kind: z.ZodLiteral<"content-item">;
1314
+ schemaVersion: z.ZodLiteral<"1">;
1315
+ handle: z.ZodString;
1316
+ name: z.ZodString;
1317
+ displayName: z.ZodString;
1318
+ description: z.ZodOptional<z.ZodString>;
1319
+ templateType: z.ZodString;
1320
+ fields: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1321
+ shape: z.ZodLiteral<"text">;
1322
+ value: z.ZodString;
1323
+ }, z.core.$strip>, z.ZodObject<{
1324
+ shape: z.ZodLiteral<"richText">;
1325
+ value: z.ZodString;
1326
+ }, z.core.$strip>, z.ZodObject<{
1327
+ shape: z.ZodLiteral<"boolean">;
1328
+ value: z.ZodBoolean;
1329
+ }, z.core.$strip>, z.ZodObject<{
1330
+ shape: z.ZodLiteral<"number">;
1331
+ value: z.ZodNumber;
1332
+ }, z.core.$strip>, z.ZodObject<{
1333
+ shape: z.ZodLiteral<"integer">;
1334
+ value: z.ZodNumber;
1335
+ }, z.core.$strip>, z.ZodObject<{
1336
+ shape: z.ZodLiteral<"date">;
1337
+ value: z.ZodString;
1338
+ }, z.core.$strip>, z.ZodObject<{
1339
+ shape: z.ZodLiteral<"datetime">;
1340
+ value: z.ZodString;
1341
+ }, z.core.$strip>, z.ZodObject<{
1342
+ shape: z.ZodLiteral<"enum">;
1343
+ value: z.ZodString;
1344
+ }, z.core.$strip>, z.ZodObject<{
1345
+ shape: z.ZodLiteral<"image">;
1346
+ mediaPath: z.ZodString;
1347
+ alt: z.ZodOptional<z.ZodString>;
1348
+ width: z.ZodOptional<z.ZodNumber>;
1349
+ height: z.ZodOptional<z.ZodNumber>;
1350
+ }, z.core.$strip>, z.ZodObject<{
1351
+ shape: z.ZodLiteral<"link-external">;
1352
+ href: z.ZodString;
1353
+ text: z.ZodOptional<z.ZodString>;
1354
+ target: z.ZodOptional<z.ZodString>;
1355
+ title: z.ZodOptional<z.ZodString>;
1356
+ }, z.core.$strip>, z.ZodObject<{
1357
+ shape: z.ZodLiteral<"link-internal">;
1358
+ ref: z.ZodString;
1359
+ text: z.ZodOptional<z.ZodString>;
1360
+ target: z.ZodOptional<z.ZodString>;
1361
+ }, z.core.$strip>, z.ZodObject<{
1362
+ shape: z.ZodLiteral<"reference">;
1363
+ refs: z.ZodArray<z.ZodString>;
1364
+ }, z.core.$strip>], "shape">>>;
1365
+ }, z.core.$strip>, z.ZodObject<{
1366
+ kind: z.ZodLiteral<"parameters-template">;
1367
+ schemaVersion: z.ZodLiteral<"1">;
1368
+ handle: z.ZodString;
1369
+ name: z.ZodString;
1370
+ displayName: z.ZodString;
1371
+ description: z.ZodOptional<z.ZodString>;
1372
+ icon: z.ZodOptional<z.ZodString>;
1373
+ section: z.ZodString;
1374
+ params: z.ZodDefault<z.ZodArray<z.ZodObject<{
1375
+ name: z.ZodString;
1376
+ shape: z.ZodEnum<{
1377
+ number: "number";
1378
+ boolean: "boolean";
1379
+ integer: "integer";
1380
+ link: "link";
1381
+ enum: "enum";
1382
+ text: "text";
1383
+ date: "date";
1384
+ richText: "richText";
1385
+ image: "image";
1386
+ datetime: "datetime";
1387
+ reference: "reference";
1388
+ }>;
1389
+ values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1390
+ default: z.ZodOptional<z.ZodString>;
1391
+ sitecore: z.ZodOptional<z.ZodObject<{
1392
+ type: z.ZodOptional<z.ZodEnum<{
1393
+ number: "number";
1394
+ integer: "integer";
1395
+ tags: "tags";
1396
+ lookup: "lookup";
1397
+ date: "date";
1398
+ file: "file";
1399
+ image: "image";
1400
+ datetime: "datetime";
1401
+ "single-line-text": "single-line-text";
1402
+ "multi-line-text": "multi-line-text";
1403
+ "rich-text": "rich-text";
1404
+ "general-link": "general-link";
1405
+ checkbox: "checkbox";
1406
+ droplist: "droplist";
1407
+ droplink: "droplink";
1408
+ treelist: "treelist";
1409
+ "treelist-with-search": "treelist-with-search";
1410
+ }>>;
1411
+ sourceTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1412
+ sourceQuery: z.ZodOptional<z.ZodString>;
1413
+ sourceScope: z.ZodOptional<z.ZodString>;
1414
+ sourceRaw: z.ZodOptional<z.ZodString>;
1415
+ hint: z.ZodOptional<z.ZodString>;
1416
+ required: z.ZodOptional<z.ZodBoolean>;
1417
+ defaultValue: z.ZodOptional<z.ZodString>;
1418
+ enumHandle: z.ZodOptional<z.ZodString>;
1419
+ sortOrder: z.ZodOptional<z.ZodNumber>;
1420
+ section: z.ZodOptional<z.ZodString>;
1421
+ }, z.core.$strip>>;
1422
+ }, z.core.$strip>>>;
1423
+ }, z.core.$strip>, z.ZodObject<{
1424
+ kind: z.ZodLiteral<"section-definition">;
1425
+ schemaVersion: z.ZodLiteral<"1">;
1426
+ handle: z.ZodString;
1427
+ name: z.ZodString;
1428
+ displayName: z.ZodOptional<z.ZodString>;
1429
+ description: z.ZodOptional<z.ZodString>;
1430
+ sitePath: z.ZodString;
1431
+ }, z.core.$strip>, z.ZodObject<{
1432
+ kind: z.ZodLiteral<"partial-design">;
1433
+ schemaVersion: z.ZodLiteral<"1">;
1434
+ handle: z.ZodString;
1435
+ name: z.ZodString;
1436
+ displayName: z.ZodString;
1437
+ description: z.ZodOptional<z.ZodString>;
1438
+ icon: z.ZodOptional<z.ZodString>;
1439
+ layout: z.ZodObject<{
1440
+ placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1441
+ componentHandle: z.ZodString;
1442
+ variant: z.ZodOptional<z.ZodString>;
1443
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1444
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1445
+ kind: z.ZodLiteral<"shared">;
1446
+ handle: z.ZodString;
1447
+ }, z.core.$strip>, z.ZodObject<{
1448
+ kind: z.ZodLiteral<"scoped">;
1449
+ slot: z.ZodString;
1450
+ }, z.core.$strip>, z.ZodObject<{
1451
+ kind: z.ZodLiteral<"none">;
1452
+ }, z.core.$strip>], "kind">>;
1453
+ }, z.core.$strip>>>>;
1454
+ }, z.core.$strip>;
1455
+ }, z.core.$strip>, z.ZodObject<{
1456
+ kind: z.ZodLiteral<"page-design">;
1457
+ schemaVersion: z.ZodLiteral<"1">;
1458
+ handle: z.ZodString;
1459
+ name: z.ZodString;
1460
+ displayName: z.ZodString;
1461
+ description: z.ZodOptional<z.ZodString>;
1462
+ icon: z.ZodOptional<z.ZodString>;
1463
+ appliesTo: z.ZodDefault<z.ZodArray<z.ZodString>>;
1464
+ partials: z.ZodDefault<z.ZodArray<z.ZodString>>;
1465
+ layout: z.ZodOptional<z.ZodObject<{
1466
+ placeholders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1467
+ componentHandle: z.ZodString;
1468
+ variant: z.ZodOptional<z.ZodString>;
1469
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1470
+ datasourceRef: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1471
+ kind: z.ZodLiteral<"shared">;
1472
+ handle: z.ZodString;
1473
+ }, z.core.$strip>, z.ZodObject<{
1474
+ kind: z.ZodLiteral<"scoped">;
1475
+ slot: z.ZodString;
1476
+ }, z.core.$strip>, z.ZodObject<{
1477
+ kind: z.ZodLiteral<"none">;
1478
+ }, z.core.$strip>], "kind">>;
1479
+ }, z.core.$strip>>>>;
1480
+ }, z.core.$strip>>;
1481
+ }, z.core.$strip>, z.ZodObject<{
1482
+ kind: z.ZodLiteral<"site-template">;
1483
+ schemaVersion: z.ZodLiteral<"1">;
1484
+ handle: z.ZodString;
1485
+ name: z.ZodString;
1486
+ displayName: z.ZodString;
1487
+ description: z.ZodOptional<z.ZodString>;
1488
+ icon: z.ZodOptional<z.ZodString>;
1489
+ pageTemplates: z.ZodDefault<z.ZodArray<z.ZodString>>;
1490
+ insertOptionsMatrix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1491
+ pageDesigns: z.ZodDefault<z.ZodArray<z.ZodString>>;
1492
+ templatesToDesigns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1493
+ dictionary: z.ZodOptional<z.ZodArray<z.ZodObject<{
1494
+ phrase: z.ZodString;
1495
+ defaultValue: z.ZodString;
1496
+ }, z.core.$strip>>>;
1497
+ taxonomy: z.ZodOptional<z.ZodArray<z.ZodObject<{
1498
+ root: z.ZodString;
1499
+ defaultTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
1500
+ }, z.core.$strip>>>;
1501
+ }, z.core.$strip>, z.ZodObject<{
1502
+ kind: z.ZodLiteral<"site">;
1503
+ schemaVersion: z.ZodLiteral<"1">;
1504
+ handle: z.ZodString;
1505
+ name: z.ZodString;
1506
+ displayName: z.ZodString;
1507
+ description: z.ZodOptional<z.ZodString>;
1508
+ siteTemplate: z.ZodString;
1509
+ language: z.ZodString;
1510
+ languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
1511
+ collectionId: z.ZodOptional<z.ZodString>;
1512
+ collectionName: z.ZodOptional<z.ZodString>;
1513
+ collectionDisplayName: z.ZodOptional<z.ZodString>;
1514
+ collectionDescription: z.ZodOptional<z.ZodString>;
1515
+ collectionPath: z.ZodOptional<z.ZodString>;
1516
+ siteGrouping: z.ZodOptional<z.ZodObject<{
1517
+ hostName: z.ZodOptional<z.ZodString>;
1518
+ language: z.ZodOptional<z.ZodString>;
1519
+ targetHostName: z.ZodOptional<z.ZodString>;
1520
+ }, z.core.$strip>>;
1521
+ dictionaryOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1522
+ taxonomyOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1523
+ initialHome: z.ZodOptional<z.ZodString>;
1524
+ }, z.core.$strip>, z.ZodObject<{
1525
+ kind: z.ZodLiteral<"enumeration">;
1526
+ schemaVersion: z.ZodLiteral<"1">;
1527
+ handle: z.ZodString;
1528
+ name: z.ZodString;
1529
+ displayName: z.ZodOptional<z.ZodString>;
1530
+ description: z.ZodOptional<z.ZodString>;
1531
+ location: z.ZodOptional<z.ZodObject<{
1532
+ scope: z.ZodEnum<{
1533
+ site: "site";
1534
+ siteCollection: "siteCollection";
1535
+ }>;
1536
+ folder: z.ZodOptional<z.ZodString>;
1537
+ }, z.core.$strip>>;
1538
+ values: z.ZodArray<z.ZodObject<{
1539
+ name: z.ZodString;
1540
+ displayName: z.ZodOptional<z.ZodString>;
1541
+ }, z.core.$strip>>;
1542
+ default: z.ZodOptional<z.ZodString>;
1543
+ }, z.core.$strip>], "kind">;
1544
+ export type Recipe = z.infer<typeof RecipeSchema>;
1545
+ //# sourceMappingURL=recipe.d.ts.map