@pro-laico/create-atomic-payload 0.1.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 (423) hide show
  1. package/bin/cli.js +159 -0
  2. package/package.json +29 -0
  3. package/template/.env.example +35 -0
  4. package/template/.gitattributes +2 -0
  5. package/template/.prettierrc.json +6 -0
  6. package/template/.vscode/extensions.json +3 -0
  7. package/template/.vscode/launch.json +24 -0
  8. package/template/.vscode/settings.json +86 -0
  9. package/template/.yarnrc +1 -0
  10. package/template/LICENSE.md +22 -0
  11. package/template/README.md +128 -0
  12. package/template/eslint.config.mjs +32 -0
  13. package/template/next-env.d.ts +6 -0
  14. package/template/next.config.ts +36 -0
  15. package/template/package.json +75 -0
  16. package/template/public/adminFavicon.svg +1 -0
  17. package/template/public/ogImage.webp +0 -0
  18. package/template/src/access/anyone.ts +3 -0
  19. package/template/src/access/authenticated.ts +7 -0
  20. package/template/src/access/authenticatedOrPublished.ts +6 -0
  21. package/template/src/app/(frontend)/[...slug]/page.tsx +48 -0
  22. package/template/src/app/(frontend)/layout.tsx +49 -0
  23. package/template/src/app/(frontend)/next/exit-preview/route.ts +7 -0
  24. package/template/src/app/(frontend)/next/preview/route.ts +45 -0
  25. package/template/src/app/(frontend)/next/seed/route.ts +31 -0
  26. package/template/src/app/(frontend)/not-found.tsx +93 -0
  27. package/template/src/app/(frontend)/page.tsx +5 -0
  28. package/template/src/app/(frontend)/sitemap.ts +14 -0
  29. package/template/src/app/(payload)/admin/[[...segments]]/not-found.tsx +24 -0
  30. package/template/src/app/(payload)/admin/[[...segments]]/page.tsx +24 -0
  31. package/template/src/app/(payload)/admin/importMap.js +85 -0
  32. package/template/src/app/(payload)/api/[...slug]/route.ts +19 -0
  33. package/template/src/app/(payload)/custom.scss +29 -0
  34. package/template/src/app/(payload)/layout.tsx +31 -0
  35. package/template/src/blocks/actions/blocks.ts +27 -0
  36. package/template/src/blocks/actions/cookieConsent/set/block.ts +17 -0
  37. package/template/src/blocks/actions/cookieConsent/set/filter.ts +3 -0
  38. package/template/src/blocks/actions/cookieConsent/set/options.ts +35 -0
  39. package/template/src/blocks/actions/cookieConsent/toDA/block.ts +14 -0
  40. package/template/src/blocks/actions/cookieConsent/toDA/filter.ts +3 -0
  41. package/template/src/blocks/actions/cookieConsent/toDA/options.ts +19 -0
  42. package/template/src/blocks/actions/dynamicStore/boolean/set/block.ts +15 -0
  43. package/template/src/blocks/actions/dynamicStore/boolean/set/filter.ts +4 -0
  44. package/template/src/blocks/actions/dynamicStore/boolean/set/options.ts +18 -0
  45. package/template/src/blocks/actions/dynamicStore/boolean/toDA/block.ts +10 -0
  46. package/template/src/blocks/actions/dynamicStore/boolean/toDA/filter.ts +3 -0
  47. package/template/src/blocks/actions/dynamicStore/boolean/toDA/options.ts +12 -0
  48. package/template/src/blocks/actions/dynamicStore/text/cycle/block.ts +41 -0
  49. package/template/src/blocks/actions/dynamicStore/text/cycle/filter.ts +4 -0
  50. package/template/src/blocks/actions/dynamicStore/text/cycle/options.ts +23 -0
  51. package/template/src/blocks/actions/dynamicStore/text/toDA/block.ts +10 -0
  52. package/template/src/blocks/actions/dynamicStore/text/toDA/filter.ts +3 -0
  53. package/template/src/blocks/actions/dynamicStore/text/toDA/options.ts +12 -0
  54. package/template/src/blocks/actions/filters.ts +27 -0
  55. package/template/src/blocks/actions/form/errorToDA/block.ts +18 -0
  56. package/template/src/blocks/actions/form/errorToDA/filter.ts +3 -0
  57. package/template/src/blocks/actions/form/errorToDA/options.ts +15 -0
  58. package/template/src/blocks/actions/form/reset/block.ts +18 -0
  59. package/template/src/blocks/actions/form/reset/filter.ts +3 -0
  60. package/template/src/blocks/actions/form/reset/options.ts +30 -0
  61. package/template/src/blocks/actions/form/statusToDA/block.ts +12 -0
  62. package/template/src/blocks/actions/form/statusToDA/filter.ts +3 -0
  63. package/template/src/blocks/actions/form/statusToDA/options.ts +15 -0
  64. package/template/src/blocks/actions/form/submit/block.ts +18 -0
  65. package/template/src/blocks/actions/form/submit/filter.ts +3 -0
  66. package/template/src/blocks/actions/form/submit/options.ts +35 -0
  67. package/template/src/blocks/actions/portal/set/block.ts +25 -0
  68. package/template/src/blocks/actions/portal/set/filter.ts +3 -0
  69. package/template/src/blocks/actions/portal/set/options.ts +43 -0
  70. package/template/src/blocks/actions/processor.ts +263 -0
  71. package/template/src/blocks/actions/theme/set/block.ts +10 -0
  72. package/template/src/blocks/actions/theme/set/filter.ts +3 -0
  73. package/template/src/blocks/actions/theme/set/options.ts +9 -0
  74. package/template/src/blocks/actions/zap.ts +4 -0
  75. package/template/src/blocks/children/atomic/block.ts +123 -0
  76. package/template/src/blocks/children/atomic/controlBar.ts +43 -0
  77. package/template/src/blocks/children/atomic/variants/button/typeField.ts +16 -0
  78. package/template/src/blocks/children/atomic/variants/button/variants/link/component.client.tsx +21 -0
  79. package/template/src/blocks/children/atomic/variants/button/variants/link/component.tsx +13 -0
  80. package/template/src/blocks/children/atomic/variants/button/variants/link/controlBar.ts +73 -0
  81. package/template/src/blocks/children/atomic/variants/button/variants/link/settings.ts +26 -0
  82. package/template/src/blocks/children/atomic/variants/button/variants/portal/controlBar.ts +35 -0
  83. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/component.tsx +36 -0
  84. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/settings.ts +24 -0
  85. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/component.tsx +41 -0
  86. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/settings.ts +111 -0
  87. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.client.tsx +19 -0
  88. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.tsx +11 -0
  89. package/template/src/blocks/children/atomic/variants/form/component.tsx +18 -0
  90. package/template/src/blocks/children/atomic/variants/form/controlBar.ts +22 -0
  91. package/template/src/blocks/children/atomic/variants/form/settings.ts +20 -0
  92. package/template/src/blocks/children/atomic/variants/input/autoCompleteOptions.ts +51 -0
  93. package/template/src/blocks/children/atomic/variants/input/controlBar.ts +13 -0
  94. package/template/src/blocks/children/atomic/variants/input/settings.ts +35 -0
  95. package/template/src/blocks/children/atomic/variants/input/typeField.ts +23 -0
  96. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.client.tsx +12 -0
  97. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.tsx +6 -0
  98. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/settings.ts +9 -0
  99. package/template/src/blocks/children/atomic/variants/input/variants/number/component.client.tsx +12 -0
  100. package/template/src/blocks/children/atomic/variants/input/variants/number/component.tsx +6 -0
  101. package/template/src/blocks/children/atomic/variants/input/variants/number/settings.ts +9 -0
  102. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.client.tsx +12 -0
  103. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.tsx +6 -0
  104. package/template/src/blocks/children/atomic/variants/input/variants/radio/settings.ts +9 -0
  105. package/template/src/blocks/children/atomic/variants/input/variants/text/component.client.tsx +12 -0
  106. package/template/src/blocks/children/atomic/variants/input/variants/text/component.tsx +7 -0
  107. package/template/src/blocks/children/atomic/variants/input/variants/text/settings.ts +12 -0
  108. package/template/src/blocks/children/atomic/variants/tag/component.client.tsx +17 -0
  109. package/template/src/blocks/children/atomic/variants/tag/component.tsx +13 -0
  110. package/template/src/blocks/children/atomic/variants/tag/controlBar.ts +6 -0
  111. package/template/src/blocks/children/atomic/variants/tag/settings.ts +9 -0
  112. package/template/src/blocks/children/blocks.ts +13 -0
  113. package/template/src/blocks/children/icon/block.ts +41 -0
  114. package/template/src/blocks/children/icon/component.tsx +17 -0
  115. package/template/src/blocks/children/image/block.ts +80 -0
  116. package/template/src/blocks/children/image/component.tsx +21 -0
  117. package/template/src/blocks/children/richText/block.ts +50 -0
  118. package/template/src/blocks/children/richText/component/converters/index.tsx +10 -0
  119. package/template/src/blocks/children/richText/component/converters/internalLink.tsx +8 -0
  120. package/template/src/blocks/children/richText/component/index.tsx +10 -0
  121. package/template/src/blocks/children/richText/component.tsx +7 -0
  122. package/template/src/blocks/children/richText/defaultLexical.ts +65 -0
  123. package/template/src/blocks/children/simpleText/block.ts +41 -0
  124. package/template/src/blocks/children/simpleText/component.client.tsx +18 -0
  125. package/template/src/blocks/children/simpleText/component.tsx +11 -0
  126. package/template/src/blocks/children/svg/block.ts +39 -0
  127. package/template/src/blocks/children/svg/component.tsx +6 -0
  128. package/template/src/blocks/children/video/block.ts +70 -0
  129. package/template/src/blocks/children/video/component.tsx +11 -0
  130. package/template/src/blocks/children/zap.ts +54 -0
  131. package/template/src/blocks/submitForm/form/rateLimiting/blocks.ts +5 -0
  132. package/template/src/blocks/submitForm/form/rateLimiting/functions.ts +1 -0
  133. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/block.ts +23 -0
  134. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/serverFunction.ts +46 -0
  135. package/template/src/blocks/submitForm/form/sanitation/blocks.ts +6 -0
  136. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/block.ts +19 -0
  137. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/serverFunction.ts +22 -0
  138. package/template/src/blocks/submitForm/form/sanitation/functions.ts +1 -0
  139. package/template/src/blocks/submitForm/form/validation/blocks.ts +6 -0
  140. package/template/src/blocks/submitForm/form/validation/functions.ts +1 -0
  141. package/template/src/blocks/submitForm/form/validation/isUnique/block.ts +19 -0
  142. package/template/src/blocks/submitForm/form/validation/isUnique/serverFunction.ts +40 -0
  143. package/template/src/blocks/submitForm/form/zap.ts +8 -0
  144. package/template/src/blocks/submitForm/formProcessor.ts +222 -0
  145. package/template/src/blocks/submitForm/input/sanitation/blocks.ts +5 -0
  146. package/template/src/blocks/submitForm/input/sanitation/functions.ts +1 -0
  147. package/template/src/blocks/submitForm/input/sanitation/trimText/block.ts +24 -0
  148. package/template/src/blocks/submitForm/input/sanitation/trimText/serverFunction.ts +63 -0
  149. package/template/src/blocks/submitForm/input/useOn.ts +8 -0
  150. package/template/src/blocks/submitForm/input/validation/blocks.ts +6 -0
  151. package/template/src/blocks/submitForm/input/validation/contains/block.ts +12 -0
  152. package/template/src/blocks/submitForm/input/validation/contains/serverFunction.ts +23 -0
  153. package/template/src/blocks/submitForm/input/validation/doesNotContain/block.ts +12 -0
  154. package/template/src/blocks/submitForm/input/validation/doesNotContain/serverFunction.ts +23 -0
  155. package/template/src/blocks/submitForm/input/validation/functions.ts +2 -0
  156. package/template/src/blocks/submitForm/input/zap.ts +6 -0
  157. package/template/src/blocks/submitForm/serverFunction.ts +42 -0
  158. package/template/src/collections/designSets/collection.ts +44 -0
  159. package/template/src/collections/designSets/defaults.ts +20 -0
  160. package/template/src/collections/designSets/tabs/animation.ts +71 -0
  161. package/template/src/collections/designSets/tabs/colors.ts +31 -0
  162. package/template/src/collections/designSets/tabs/fonts.ts +53 -0
  163. package/template/src/collections/designSets/tabs/miscellaneous.ts +22 -0
  164. package/template/src/collections/designSets/tabs/prose.ts +151 -0
  165. package/template/src/collections/designSets/tabs/settings.ts +52 -0
  166. package/template/src/collections/designSets/tabs/sizes.ts +30 -0
  167. package/template/src/collections/designSets/tabs/storage.ts +51 -0
  168. package/template/src/collections/designSets/tabs/variables.ts +28 -0
  169. package/template/src/collections/favicons.ts +11 -0
  170. package/template/src/collections/fonts/collection.ts +20 -0
  171. package/template/src/collections/fonts/script.ts +199 -0
  172. package/template/src/collections/footers/collection.ts +48 -0
  173. package/template/src/collections/footers/component.tsx +13 -0
  174. package/template/src/collections/headers/collection.ts +47 -0
  175. package/template/src/collections/headers/component.tsx +13 -0
  176. package/template/src/collections/iconSets/collection.ts +80 -0
  177. package/template/src/collections/iconSets/defaults.ts +81 -0
  178. package/template/src/collections/icons.ts +20 -0
  179. package/template/src/collections/images.ts +29 -0
  180. package/template/src/collections/index.ts +17 -0
  181. package/template/src/collections/muxVideos.ts +13 -0
  182. package/template/src/collections/pages/collection.ts +88 -0
  183. package/template/src/collections/pages/tabs/SEO.ts +70 -0
  184. package/template/src/collections/pages/tabs/settings.ts +17 -0
  185. package/template/src/collections/posthogProperty.ts +48 -0
  186. package/template/src/collections/shortcutSets/collection.ts +30 -0
  187. package/template/src/collections/shortcutSets/defaults.ts +1 -0
  188. package/template/src/collections/shortcutSets/protectedNames.ts +135 -0
  189. package/template/src/collections/shortcutSets/tabs/settings.ts +13 -0
  190. package/template/src/collections/shortcutSets/tabs/shortcuts.ts +70 -0
  191. package/template/src/collections/users.ts +11 -0
  192. package/template/src/collections/zap.ts +59 -0
  193. package/template/src/components/child/SSRProps.ts +381 -0
  194. package/template/src/components/child/renderChildren.tsx +148 -0
  195. package/template/src/components/livePreviewListener.tsx +10 -0
  196. package/template/src/components/providers/formProvider.tsx +11 -0
  197. package/template/src/components/providers/tracking/gtm.tsx +11 -0
  198. package/template/src/components/providers/tracking/index.tsx +46 -0
  199. package/template/src/components/providers/tracking/postHog.tsx +41 -0
  200. package/template/src/components/providers/tracking/vercel.tsx +10 -0
  201. package/template/src/components/toast/index.module.css +142 -0
  202. package/template/src/components/toast/index.tsx +55 -0
  203. package/template/src/endpoints/seed/backendForm.ts +48 -0
  204. package/template/src/endpoints/seed/designSet.ts +476 -0
  205. package/template/src/endpoints/seed/footer.ts +389 -0
  206. package/template/src/endpoints/seed/header.ts +3511 -0
  207. package/template/src/endpoints/seed/iconSet.ts +19 -0
  208. package/template/src/endpoints/seed/icons/assets/check.svg +4 -0
  209. package/template/src/endpoints/seed/icons/assets/close.svg +4 -0
  210. package/template/src/endpoints/seed/icons/assets/cookie.svg +7 -0
  211. package/template/src/endpoints/seed/icons/assets/github.svg +1 -0
  212. package/template/src/endpoints/seed/icons/assets/logo.svg +11 -0
  213. package/template/src/endpoints/seed/icons/assets/menu.svg +4 -0
  214. package/template/src/endpoints/seed/icons/assets/theme.svg +4 -0
  215. package/template/src/endpoints/seed/icons/check.ts +14 -0
  216. package/template/src/endpoints/seed/icons/close.ts +14 -0
  217. package/template/src/endpoints/seed/icons/cookie.ts +14 -0
  218. package/template/src/endpoints/seed/icons/github.ts +14 -0
  219. package/template/src/endpoints/seed/icons/index.ts +7 -0
  220. package/template/src/endpoints/seed/icons/logo.ts +14 -0
  221. package/template/src/endpoints/seed/icons/menu.ts +14 -0
  222. package/template/src/endpoints/seed/icons/theme.ts +14 -0
  223. package/template/src/endpoints/seed/index.ts +100 -0
  224. package/template/src/endpoints/seed/pages/home.ts +858 -0
  225. package/template/src/endpoints/seed/pages/index.ts +4 -0
  226. package/template/src/endpoints/seed/pages/notFoundPage.ts +287 -0
  227. package/template/src/endpoints/seed/pages/prose.ts +1436 -0
  228. package/template/src/endpoints/seed/pages/testing.ts +2181 -0
  229. package/template/src/endpoints/seed/shortcutSet.ts +187 -0
  230. package/template/src/endpoints/seed/siteMetaData.ts +10 -0
  231. package/template/src/fields/actions/changeKey.ts +12 -0
  232. package/template/src/fields/actions/index.ts +6 -0
  233. package/template/src/fields/actions/initialValueCheckbox.ts +14 -0
  234. package/template/src/fields/actions/keyText.ts +10 -0
  235. package/template/src/fields/actions/persisted.ts +14 -0
  236. package/template/src/fields/actions/setData.ts +20 -0
  237. package/template/src/fields/actions/strict/index.ts +3 -0
  238. package/template/src/fields/actions/strict/keySelect.ts +28 -0
  239. package/template/src/fields/actions/strict/listenSelect.ts +28 -0
  240. package/template/src/fields/actions/strict/performSelect.ts +30 -0
  241. package/template/src/fields/actions/strict/registry/cookieConsent.ts +14 -0
  242. package/template/src/fields/actions/strict/registry/index.ts +6 -0
  243. package/template/src/fields/actions/strict/registry/theme.ts +9 -0
  244. package/template/src/fields/active.ts +16 -0
  245. package/template/src/fields/apf/index.ts +69 -0
  246. package/template/src/fields/apf/storage.ts +38 -0
  247. package/template/src/fields/blocks/actions.ts +30 -0
  248. package/template/src/fields/blocks/backdropChildren.ts +11 -0
  249. package/template/src/fields/blocks/children.ts +15 -0
  250. package/template/src/fields/blocks/submitForm/form.ts +24 -0
  251. package/template/src/fields/blocks/submitForm/input.ts +25 -0
  252. package/template/src/fields/className.ts +26 -0
  253. package/template/src/fields/coloredEnd.ts +5 -0
  254. package/template/src/fields/defaultOpen.ts +14 -0
  255. package/template/src/fields/designSets/value.ts +80 -0
  256. package/template/src/fields/devMode.ts +11 -0
  257. package/template/src/fields/favicon.ts +18 -0
  258. package/template/src/fields/for.ts +11 -0
  259. package/template/src/fields/keepMounted.ts +11 -0
  260. package/template/src/fields/modal.ts +16 -0
  261. package/template/src/fields/slug.ts +35 -0
  262. package/template/src/fields/staticDataAttributes.ts +29 -0
  263. package/template/src/fields/tabs/block/children/actions.ts +49 -0
  264. package/template/src/fields/tabs/block/children/backdrop.ts +17 -0
  265. package/template/src/fields/tabs/block/children/settings.ts +45 -0
  266. package/template/src/fields/tabs/block/children/submitForm/form.ts +23 -0
  267. package/template/src/fields/tabs/block/children/submitForm/input.ts +14 -0
  268. package/template/src/fields/tabs/block/children/tracking.ts +25 -0
  269. package/template/src/fields/tabs/collection/storage.ts +55 -0
  270. package/template/src/fields/tagType.ts +32 -0
  271. package/template/src/fields/testPath.ts +3 -0
  272. package/template/src/fields/uniqueTitle.ts +8 -0
  273. package/template/src/fields/validationMessage.ts +13 -0
  274. package/template/src/globals/index.ts +8 -0
  275. package/template/src/globals/settings.ts +36 -0
  276. package/template/src/globals/siteMetaData.ts +29 -0
  277. package/template/src/globals/storage.ts +15 -0
  278. package/template/src/globals/tracking/global.ts +25 -0
  279. package/template/src/globals/tracking/tabs/gtm.ts +18 -0
  280. package/template/src/globals/tracking/tabs/postHog.ts +35 -0
  281. package/template/src/hooks/collection/atomicHook/atomicHook.ts +223 -0
  282. package/template/src/hooks/collection/atomicHook/processors/cssProcessor.ts +60 -0
  283. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/generatePreflights.ts +36 -0
  284. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/index.ts +176 -0
  285. package/template/src/hooks/collection/atomicHook/processors/unsetActive.ts +24 -0
  286. package/template/src/hooks/collection/formatSVG.ts +157 -0
  287. package/template/src/hooks/collection/revalidate.ts +53 -0
  288. package/template/src/hooks/collection/sanitizeCollection.ts +5 -0
  289. package/template/src/hooks/field/apf.ts +59 -0
  290. package/template/src/hooks/field/formatSlug.ts +23 -0
  291. package/template/src/hooks/field/href.ts +6 -0
  292. package/template/src/hooks/field/publishedAt.ts +5 -0
  293. package/template/src/hooks/frontEnd/atomicStore/create.ts +69 -0
  294. package/template/src/hooks/frontEnd/atomicStore/index.tsx +20 -0
  295. package/template/src/hooks/frontEnd/atomicStore/slices/base.ts +7 -0
  296. package/template/src/hooks/frontEnd/atomicStore/slices/consent.ts +76 -0
  297. package/template/src/hooks/frontEnd/atomicStore/slices/dynamic.ts +51 -0
  298. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/function.ts +14 -0
  299. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/zap.ts +12 -0
  300. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/function.ts +34 -0
  301. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/zap.ts +17 -0
  302. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/function.ts +22 -0
  303. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/zap.ts +10 -0
  304. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/function.ts +20 -0
  305. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/function.ts +24 -0
  306. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/zap.ts +10 -0
  307. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/function.ts +21 -0
  308. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/zap.ts +12 -0
  309. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/zap.ts +15 -0
  310. package/template/src/hooks/frontEnd/useActions/dispatch/index.ts +2 -0
  311. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/function.ts +30 -0
  312. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/zap.ts +12 -0
  313. package/template/src/hooks/frontEnd/useActions/dispatch/runner/function.ts +21 -0
  314. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/function.ts +7 -0
  315. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/zap.ts +9 -0
  316. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/function.ts +10 -0
  317. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/zap.ts +11 -0
  318. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/function.ts +33 -0
  319. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/zap.ts +14 -0
  320. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/function.ts +11 -0
  321. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/zap.ts +10 -0
  322. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/function.ts +32 -0
  323. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/zap.ts +9 -0
  324. package/template/src/hooks/frontEnd/useActions/dispatch/runner/zap.ts +16 -0
  325. package/template/src/hooks/frontEnd/useActions/dispatch/zap.ts +2 -0
  326. package/template/src/hooks/frontEnd/useActions/index.ts +6 -0
  327. package/template/src/hooks/frontEnd/useActions/useActionContext.ts +21 -0
  328. package/template/src/hooks/frontEnd/useActions/useButtonActions.ts +17 -0
  329. package/template/src/hooks/frontEnd/useActions/useDaToText.ts +34 -0
  330. package/template/src/hooks/frontEnd/useActions/useForm.ts +114 -0
  331. package/template/src/hooks/frontEnd/useActions/usePortal.ts +33 -0
  332. package/template/src/hooks/frontEnd/useActions/useToDa.ts +12 -0
  333. package/template/src/hooks/global/revalidate.ts +26 -0
  334. package/template/src/payload.config.ts +78 -0
  335. package/template/src/plugins/blurDataUrls.ts +8 -0
  336. package/template/src/plugins/formBuilder.ts +40 -0
  337. package/template/src/plugins/index.ts +17 -0
  338. package/template/src/plugins/muxVideo.ts +13 -0
  339. package/template/src/plugins/nestedDocs.ts +9 -0
  340. package/template/src/plugins/vercelBlobStorage.ts +8 -0
  341. package/template/src/ts/JSONSchema.ts +93 -0
  342. package/template/src/ts/declarations.ts +24 -0
  343. package/template/src/ts/types/actions.ts +175 -0
  344. package/template/src/ts/types/apf.ts +108 -0
  345. package/template/src/ts/types/cache.ts +166 -0
  346. package/template/src/ts/types/css.ts +14 -0
  347. package/template/src/ts/types/forms.ts +214 -0
  348. package/template/src/ts/types/frontEnd.ts +115 -0
  349. package/template/src/ts/types/index.ts +49 -0
  350. package/template/src/ts/types/payload-types.ts +3684 -0
  351. package/template/src/ts/zap/ap.ts +82 -0
  352. package/template/src/ts/zap/index.ts +4 -0
  353. package/template/src/ui/apf/controls.tsx +88 -0
  354. package/template/src/ui/apf/field.tsx +81 -0
  355. package/template/src/ui/apf/index.scss +59 -0
  356. package/template/src/ui/apf/label.tsx +23 -0
  357. package/template/src/ui/assets/Icon.tsx +21 -0
  358. package/template/src/ui/assets/Logo.tsx +21 -0
  359. package/template/src/ui/assets/atomicIcon.tsx +27 -0
  360. package/template/src/ui/assets/warningIcon.ts +6 -0
  361. package/template/src/ui/blocks/actionBlock.tsx +44 -0
  362. package/template/src/ui/blocks/inputBlock.tsx +24 -0
  363. package/template/src/ui/decorative/coloredEnd.tsx +16 -0
  364. package/template/src/ui/decorative/index.scss +46 -0
  365. package/template/src/ui/fields/iconSelect/index.tsx +19 -0
  366. package/template/src/ui/fields/slug/index.scss +12 -0
  367. package/template/src/ui/fields/slug/index.tsx +72 -0
  368. package/template/src/ui/index.ts +32 -0
  369. package/template/src/ui/root/beforeDashboard/index.scss +22 -0
  370. package/template/src/ui/root/beforeDashboard/index.tsx +39 -0
  371. package/template/src/ui/root/beforeDashboard/seedButton/index.scss +12 -0
  372. package/template/src/ui/root/beforeDashboard/seedButton/index.tsx +84 -0
  373. package/template/src/ui/root/siteTriggers/index.scss +22 -0
  374. package/template/src/ui/root/siteTriggers/index.tsx +94 -0
  375. package/template/src/ui/root/siteTriggers/triggerVercelDeploy.ts +37 -0
  376. package/template/src/ui/rowLabels/animation.tsx +27 -0
  377. package/template/src/ui/rowLabels/atomic/index.scss +62 -0
  378. package/template/src/ui/rowLabels/atomic/index.tsx +96 -0
  379. package/template/src/ui/rowLabels/color.tsx +33 -0
  380. package/template/src/ui/rowLabels/designToken.tsx +30 -0
  381. package/template/src/ui/rowLabels/icon.tsx +32 -0
  382. package/template/src/ui/rowLabels/shortcut/index.scss +21 -0
  383. package/template/src/ui/rowLabels/shortcut/index.tsx +30 -0
  384. package/template/src/ui/rowLabels/simpleText.tsx +41 -0
  385. package/template/src/utilities/deepMerge.ts +30 -0
  386. package/template/src/utilities/extractSVG.ts +9 -0
  387. package/template/src/utilities/format/toKebabCase.ts +79 -0
  388. package/template/src/utilities/format/toTitleCase.ts +47 -0
  389. package/template/src/utilities/formatDurationWithTokens.ts +56 -0
  390. package/template/src/utilities/generateMetaData.ts +45 -0
  391. package/template/src/utilities/generatePreviewPath.ts +43 -0
  392. package/template/src/utilities/get/cache/getAtomicActions.ts +48 -0
  393. package/template/src/utilities/get/cache/getAtomicClasses.ts +20 -0
  394. package/template/src/utilities/get/cache/getDesignSet.ts +15 -0
  395. package/template/src/utilities/get/cache/getFooter.ts +17 -0
  396. package/template/src/utilities/get/cache/getFormSubmissions.ts +17 -0
  397. package/template/src/utilities/get/cache/getForms.ts +43 -0
  398. package/template/src/utilities/get/cache/getHeader.ts +17 -0
  399. package/template/src/utilities/get/cache/getIcon.ts +51 -0
  400. package/template/src/utilities/get/cache/getImage.ts +20 -0
  401. package/template/src/utilities/get/cache/getPage.ts +35 -0
  402. package/template/src/utilities/get/cache/getPages.ts +24 -0
  403. package/template/src/utilities/get/cache/getShortcutSet.ts +17 -0
  404. package/template/src/utilities/get/cache/getSiteCSS.ts +17 -0
  405. package/template/src/utilities/get/cache/getSiteMetadata.ts +14 -0
  406. package/template/src/utilities/get/cache/getSitemap.ts +50 -0
  407. package/template/src/utilities/get/cache/getTracking.ts +14 -0
  408. package/template/src/utilities/get/cache/index.ts +129 -0
  409. package/template/src/utilities/get/cache/react.ts +5 -0
  410. package/template/src/utilities/get/getImageURL.ts +20 -0
  411. package/template/src/utilities/get/getMeUser.ts +22 -0
  412. package/template/src/utilities/get/getURL.ts +20 -0
  413. package/template/src/utilities/log/cache.ts +8 -0
  414. package/template/src/utilities/log/manual.ts +11 -0
  415. package/template/src/utilities/log/revalidation.ts +6 -0
  416. package/template/src/utilities/mergeTags.ts +7 -0
  417. package/template/src/utilities/propertyApplicatorUtility.ts +20 -0
  418. package/template/src/utilities/revalidateTag.ts +55 -0
  419. package/template/src/utilities/runAPF.ts +10 -0
  420. package/template/src/utilities/sanitizeData.ts +24 -0
  421. package/template/src/utilities/seedNestedRelationship.ts +5 -0
  422. package/template/tailwind.config.js +9 -0
  423. package/template/tsconfig.json +49 -0
@@ -0,0 +1,3684 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by Payload.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
6
+ * and re-run `payload generate:types` to regenerate this file.
7
+ */
8
+
9
+ /**
10
+ * This interface was referenced by `Config`'s JSON-Schema
11
+ * via the `definition` "AtomicChildVariants".
12
+ */
13
+ export type AtomicChildVariants = 'tag' | 'form' | 'input' | 'button';
14
+ /**
15
+ * This interface was referenced by `Config`'s JSON-Schema
16
+ * via the `definition` "AtomicTagType".
17
+ */
18
+ export type AtomicTagType =
19
+ | (
20
+ | 'div'
21
+ | 'section'
22
+ | 'fragment'
23
+ | 'article'
24
+ | 'nav'
25
+ | 'label'
26
+ | 'ul'
27
+ | 'ol'
28
+ | 'li'
29
+ | 'span'
30
+ | 'h1'
31
+ | 'h2'
32
+ | 'h3'
33
+ | 'h4'
34
+ | 'h5'
35
+ | 'h6'
36
+ | 'code'
37
+ )
38
+ | null;
39
+ /**
40
+ * This interface was referenced by `Config`'s JSON-Schema
41
+ * via the `definition` "AtomicButtonTypes".
42
+ */
43
+ export type AtomicButtonTypes = ('link' | 'regular' | 'portal') | null;
44
+ /**
45
+ * This interface was referenced by `Config`'s JSON-Schema
46
+ * via the `definition` "AtomicInputTypes".
47
+ */
48
+ export type AtomicInputTypes = ('text' | 'textarea' | 'email' | 'number' | 'checkbox' | 'radio') | null;
49
+ /**
50
+ * This interface was referenced by `Config`'s JSON-Schema
51
+ * via the `definition` "AtomicButtonPortalTypes".
52
+ */
53
+ export type AtomicButtonPortalTypes = ('popover' | 'dialog') | null;
54
+ /**
55
+ * This interface was referenced by `Config`'s JSON-Schema
56
+ * via the `definition` "AtomicButtonLinkTypes".
57
+ */
58
+ export type AtomicButtonLinkTypes = ('internalLink' | 'externalLink' | 'download' | 'email' | 'phone') | null;
59
+ /**
60
+ * This interface was referenced by `Config`'s JSON-Schema
61
+ * via the `definition` "ChildBlocks".
62
+ */
63
+ export type ChildBlocks = (
64
+ | AtomicChild
65
+ | SimpleTextChild
66
+ | RichTextChild
67
+ | ImageChild
68
+ | VideoChild
69
+ | IconChild
70
+ | SVGChild
71
+ )[];
72
+ /**
73
+ * This interface was referenced by `Config`'s JSON-Schema
74
+ * via the `definition` "SimpleTextTagType".
75
+ */
76
+ export type SimpleTextTagType =
77
+ | 'p'
78
+ | 'span'
79
+ | 'fragment'
80
+ | 'div'
81
+ | 'label'
82
+ | 'h1'
83
+ | 'h2'
84
+ | 'h3'
85
+ | 'h4'
86
+ | 'h5'
87
+ | 'h6'
88
+ | 'code';
89
+ /**
90
+ * This interface was referenced by `Config`'s JSON-Schema
91
+ * via the `definition` "ActionBlocks".
92
+ */
93
+ export type ActionBlocks = (
94
+ | ActSetCC
95
+ | ActCCToDA
96
+ | ActSetTheme
97
+ | ActResetForm
98
+ | ActDSSetBool
99
+ | ActSubmitForm
100
+ | ActDSBoolToDA
101
+ | ActDSTextToDA
102
+ | ActDSCycleText
103
+ | ActFormErrorToDA
104
+ | ActSetPortalOpen
105
+ | ActFormStatusToDA
106
+ )[];
107
+ /**
108
+ * Type: {@link CookieConsentPerform}
109
+ *
110
+ * This interface was referenced by `Config`'s JSON-Schema
111
+ * via the `definition` "CookieConsentPerform".
112
+ */
113
+ export type CookieConsentPerform = 'preference' | 'accept' | 'decline';
114
+ /**
115
+ * Type: {@link CookieConsentPreferenceKeys}
116
+ *
117
+ * This interface was referenced by `Config`'s JSON-Schema
118
+ * via the `definition` "CookieConsentPreferenceKeys".
119
+ */
120
+ export type CookieConsentPreferenceKeys =
121
+ | 'functional'
122
+ | 'security'
123
+ | 'analytics'
124
+ | 'marketing'
125
+ | 'userData'
126
+ | 'adPersonalization'
127
+ | 'contentPersonalization';
128
+ /**
129
+ * Type: {@link CookieConsentListen}
130
+ *
131
+ * This interface was referenced by `Config`'s JSON-Schema
132
+ * via the `definition` "CookieConsentListen".
133
+ */
134
+ export type CookieConsentListen = 'preference' | 'accept' | 'decline' | 'hasConsented' | 'previouslyConsented';
135
+ /**
136
+ * Type: {@link ThemePerform}
137
+ *
138
+ * This interface was referenced by `Config`'s JSON-Schema
139
+ * via the `definition` "ThemePerform".
140
+ */
141
+ export type ThemePerform = 'light' | 'dark' | 'system' | 'cycle';
142
+ /**
143
+ * Type: {@link ActionBlockType}
144
+ *
145
+ * This interface was referenced by `Config`'s JSON-Schema
146
+ * via the `definition` "ActionBlockType".
147
+ */
148
+ export type ActionBlockType =
149
+ | 'ActSetCC'
150
+ | 'ActCCToDA'
151
+ | 'ActSetTheme'
152
+ | 'ActResetForm'
153
+ | 'ActDSSetBool'
154
+ | 'ActSubmitForm'
155
+ | 'ActDSBoolToDA'
156
+ | 'ActDSTextToDA'
157
+ | 'ActDSCycleText'
158
+ | 'ActFormErrorToDA'
159
+ | 'ActSetPortalOpen'
160
+ | 'ActFormStatusToDA';
161
+ /**
162
+ * Type: {@link Runner}
163
+ *
164
+ * This interface was referenced by `Config`'s JSON-Schema
165
+ * via the `definition` "Runner".
166
+ */
167
+ export type Runner = RunSetCC | RunSetTheme | RunCycleText | RunSetBool | RunResetForm | RunSubmitForm;
168
+ /**
169
+ * Type: {@link Runners}
170
+ *
171
+ * This interface was referenced by `Config`'s JSON-Schema
172
+ * via the `definition` "Runners".
173
+ */
174
+ export type Runners = Runner[];
175
+ /**
176
+ * Type: {@link Attributer}
177
+ *
178
+ * This interface was referenced by `Config`'s JSON-Schema
179
+ * via the `definition` "Attributer".
180
+ */
181
+ export type Attributer = AttCCToDA | AttBoolToDA | AttTextToDA | AttFormErrorToDA | AttFormStatusToDA;
182
+ /**
183
+ * Type: {@link Attributers}
184
+ *
185
+ * This interface was referenced by `Config`'s JSON-Schema
186
+ * via the `definition` "Attributers".
187
+ */
188
+ export type Attributers = Attributer[];
189
+ /**
190
+ * Add static data attributes to the element.
191
+ *
192
+ * This interface was referenced by `Config`'s JSON-Schema
193
+ * via the `definition` "StaticDataAttributes".
194
+ */
195
+ export type StaticDataAttributes =
196
+ | {
197
+ /**
198
+ * The name of the key to set.
199
+ */
200
+ key: string;
201
+ /**
202
+ * The string value of the data-key. Set to "true" to have a data attribute applied with no string value.
203
+ */
204
+ value: string;
205
+ id?: string | null;
206
+ }[]
207
+ | null;
208
+ /**
209
+ * This interface was referenced by `Config`'s JSON-Schema
210
+ * via the `definition` "VideoTagType".
211
+ */
212
+ export type VideoTagType = 'div' | 'section';
213
+ /**
214
+ * This interface was referenced by `Config`'s JSON-Schema
215
+ * via the `definition` "FormSanitationBlocks".
216
+ */
217
+ export type FormSanitationBlocks = FsCombineTwoFields[];
218
+ /**
219
+ * This interface was referenced by `Config`'s JSON-Schema
220
+ * via the `definition` "FormValidationBlocks".
221
+ */
222
+ export type FormValidationBlocks = FvIsUnique[];
223
+ /**
224
+ * This interface was referenced by `Config`'s JSON-Schema
225
+ * via the `definition` "FormRateLimitBlocks".
226
+ */
227
+ export type FormRateLimitBlocks = FrlSimpleSlidingWindow[];
228
+ /**
229
+ * This interface was referenced by `Config`'s JSON-Schema
230
+ * via the `definition` "InputSanitationBlocks".
231
+ */
232
+ export type InputSanitationBlocks = IsTrimText[];
233
+ /**
234
+ * This interface was referenced by `Config`'s JSON-Schema
235
+ * via the `definition` "InputValidationBlocks".
236
+ */
237
+ export type InputValidationBlocks = (IvContains | IvDoesNotContain)[];
238
+ /**
239
+ * Determines what suggestions are shown by the browser for the input.
240
+ *
241
+ * This interface was referenced by `Config`'s JSON-Schema
242
+ * via the `definition` "AutocompleteOptions".
243
+ */
244
+ export type AutocompleteOptions =
245
+ | (
246
+ | 'on'
247
+ | 'off'
248
+ | 'name'
249
+ | 'given-name'
250
+ | 'additional-name'
251
+ | 'family-name'
252
+ | 'nickname'
253
+ | 'username'
254
+ | 'new-password'
255
+ | 'current-password'
256
+ | 'one-time-code'
257
+ | 'email'
258
+ | 'tel'
259
+ | 'tel-country-code'
260
+ | 'tel-national'
261
+ | 'tel-area-code'
262
+ | 'tel-local'
263
+ | 'tel-extension'
264
+ | 'impp'
265
+ | 'street-address'
266
+ | 'address-line1'
267
+ | 'address-line2'
268
+ | 'address-line3'
269
+ | 'address-level1'
270
+ | 'address-level2'
271
+ | 'address-level3'
272
+ | 'address-level4'
273
+ | 'country'
274
+ | 'country-name'
275
+ | 'postal-code'
276
+ | 'organization'
277
+ | 'organization-title'
278
+ | 'url'
279
+ | 'photo'
280
+ | 'bday'
281
+ | 'bday-day'
282
+ | 'bday-month'
283
+ | 'bday-year'
284
+ | 'sex'
285
+ )
286
+ | null;
287
+ /**
288
+ * This interface was referenced by `Config`'s JSON-Schema
289
+ * via the `definition` "BackdropChildren".
290
+ */
291
+ export type BackdropChildren = SVGChild[];
292
+ /**
293
+ * Determines if you can interact outside the opened portal. Defaults to window, which allows interaction outside the portal.
294
+ *
295
+ * This interface was referenced by `Config`'s JSON-Schema
296
+ * via the `definition` "trapFocus".
297
+ */
298
+ export type TrapFocus = ('trap-focus' | 'Block' | 'Window') | null;
299
+ /**
300
+ * This interface was referenced by `Config`'s JSON-Schema
301
+ * via the `definition` "GenericFontFamily".
302
+ */
303
+ export type GenericFontFamily = 'sans' | 'serif' | 'mono' | 'display';
304
+ /**
305
+ * Type: {@link TokenString}
306
+ *
307
+ * This interface was referenced by `Config`'s JSON-Schema
308
+ * via the `definition` "TokenString".
309
+ */
310
+ export type TokenString =
311
+ | {
312
+ name: string;
313
+ value: string;
314
+ }[]
315
+ | null;
316
+ /**
317
+ * Type: {@link DesignSetColors}
318
+ *
319
+ * This interface was referenced by `Config`'s JSON-Schema
320
+ * via the `definition` "DesignSetColors".
321
+ */
322
+ export type DesignSetColors = {
323
+ name: string;
324
+ light: string;
325
+ dark: string;
326
+ }[];
327
+ /**
328
+ * Type: {@link TokenStringArray}
329
+ *
330
+ * This interface was referenced by `Config`'s JSON-Schema
331
+ * via the `definition` "TokenStringArray".
332
+ */
333
+ export type TokenStringArray =
334
+ | {
335
+ name: string;
336
+ values: {
337
+ value: string;
338
+ }[];
339
+ }[]
340
+ | null;
341
+ /**
342
+ * This size applies to large screens and above with "prose prose-lg".
343
+ *
344
+ * This interface was referenced by `Config`'s JSON-Schema
345
+ * via the `definition` "TypographyStyles".
346
+ */
347
+ export type TypographyStyles =
348
+ | {
349
+ tag: TypographySupportedTags;
350
+ /**
351
+ * Optionally add a psuedo-class (e.g., :hover, :focus, etc.) to target specific states.
352
+ */
353
+ psuedoClass?: string | null;
354
+ values?:
355
+ | {
356
+ cssSelector: string;
357
+ value: string;
358
+ id?: string | null;
359
+ }[]
360
+ | null;
361
+ id?: string | null;
362
+ }[]
363
+ | null;
364
+ /**
365
+ * Select the tag the nested styles will apply to.
366
+ *
367
+ * This interface was referenced by `Config`'s JSON-Schema
368
+ * via the `definition` "TypographySupportedTags".
369
+ */
370
+ export type TypographySupportedTags =
371
+ | 'headings'
372
+ | 'h1'
373
+ | 'h2'
374
+ | 'h3'
375
+ | 'h4'
376
+ | 'h5'
377
+ | 'h6'
378
+ | 'th'
379
+ | 'p'
380
+ | 'a'
381
+ | 'blockquote'
382
+ | 'figure'
383
+ | 'figcaption'
384
+ | 'strong'
385
+ | 'em'
386
+ | 'kbd'
387
+ | 'code'
388
+ | 'pre'
389
+ | 'ol'
390
+ | 'ul'
391
+ | 'li'
392
+ | 'table'
393
+ | 'thead'
394
+ | 'tr'
395
+ | 'td'
396
+ | 'img'
397
+ | 'video'
398
+ | 'hr';
399
+ /**
400
+ * Type: {@link SOSA} String | String[]
401
+ *
402
+ * This interface was referenced by `Config`'s JSON-Schema
403
+ * via the `definition` "SOSA".
404
+ */
405
+ export type SOSA = string | string[];
406
+ /**
407
+ * Supported timezones in IANA format.
408
+ *
409
+ * This interface was referenced by `Config`'s JSON-Schema
410
+ * via the `definition` "supportedTimezones".
411
+ */
412
+ export type SupportedTimezones =
413
+ | 'Pacific/Midway'
414
+ | 'Pacific/Niue'
415
+ | 'Pacific/Honolulu'
416
+ | 'Pacific/Rarotonga'
417
+ | 'America/Anchorage'
418
+ | 'Pacific/Gambier'
419
+ | 'America/Los_Angeles'
420
+ | 'America/Tijuana'
421
+ | 'America/Denver'
422
+ | 'America/Phoenix'
423
+ | 'America/Chicago'
424
+ | 'America/Guatemala'
425
+ | 'America/New_York'
426
+ | 'America/Bogota'
427
+ | 'America/Caracas'
428
+ | 'America/Santiago'
429
+ | 'America/Buenos_Aires'
430
+ | 'America/Sao_Paulo'
431
+ | 'Atlantic/South_Georgia'
432
+ | 'Atlantic/Azores'
433
+ | 'Atlantic/Cape_Verde'
434
+ | 'Europe/London'
435
+ | 'Europe/Berlin'
436
+ | 'Africa/Lagos'
437
+ | 'Europe/Athens'
438
+ | 'Africa/Cairo'
439
+ | 'Europe/Moscow'
440
+ | 'Asia/Riyadh'
441
+ | 'Asia/Dubai'
442
+ | 'Asia/Baku'
443
+ | 'Asia/Karachi'
444
+ | 'Asia/Tashkent'
445
+ | 'Asia/Calcutta'
446
+ | 'Asia/Dhaka'
447
+ | 'Asia/Almaty'
448
+ | 'Asia/Jakarta'
449
+ | 'Asia/Bangkok'
450
+ | 'Asia/Shanghai'
451
+ | 'Asia/Singapore'
452
+ | 'Asia/Tokyo'
453
+ | 'Asia/Seoul'
454
+ | 'Australia/Brisbane'
455
+ | 'Australia/Sydney'
456
+ | 'Pacific/Guam'
457
+ | 'Pacific/Noumea'
458
+ | 'Pacific/Auckland'
459
+ | 'Pacific/Fiji';
460
+ /**
461
+ * Type: {@link CollectionThatUsesAtomicHookSlug}
462
+ *
463
+ * This interface was referenced by `Config`'s JSON-Schema
464
+ * via the `definition` "CollectionThatUsesAtomicHookSlug".
465
+ */
466
+ export type CollectionThatUsesAtomicHookSlug = 'pages' | 'footer' | 'header' | 'iconSet' | 'designSet' | 'shortcutSet';
467
+ /**
468
+ * Type: {@link CollectionWithStoredAtomicClassesSlug}
469
+ *
470
+ * This interface was referenced by `Config`'s JSON-Schema
471
+ * via the `definition` "CollectionWithStoredAtomicClassesSlug".
472
+ */
473
+ export type CollectionWithStoredAtomicClassesSlug = 'pages' | 'footer' | 'header';
474
+ /**
475
+ * Type: {@link CollectionThatUsesCSSProcessorSlug}
476
+ *
477
+ * This interface was referenced by `Config`'s JSON-Schema
478
+ * via the `definition` "CollectionThatUsesCSSProcessorSlug".
479
+ */
480
+ export type CollectionThatUsesCSSProcessorSlug = 'designSet' | 'shortcutSet' | 'pages' | 'footer' | 'header';
481
+ /**
482
+ * Type: {@link CollectionWithStoredAtomicFormsSlug}
483
+ *
484
+ * This interface was referenced by `Config`'s JSON-Schema
485
+ * via the `definition` "CollectionWithStoredAtomicFormsSlug".
486
+ */
487
+ export type CollectionWithStoredAtomicFormsSlug = 'pages' | 'footer' | 'header';
488
+ /**
489
+ * Type: {@link CollectionWithStoredAtomicActionsSlug}
490
+ *
491
+ * This interface was referenced by `Config`'s JSON-Schema
492
+ * via the `definition` "CollectionWithStoredAtomicActionsSlug".
493
+ */
494
+ export type CollectionWithStoredAtomicActionsSlug = 'pages' | 'footer' | 'header';
495
+ /**
496
+ * Type: {@link ThemeKeys}
497
+ *
498
+ * This interface was referenced by `Config`'s JSON-Schema
499
+ * via the `definition` "ThemeKeys".
500
+ */
501
+ export type ThemeKeys = 'mode';
502
+ /**
503
+ * Type: {@link ThemeListen}
504
+ *
505
+ * This interface was referenced by `Config`'s JSON-Schema
506
+ * via the `definition` "ThemeListen".
507
+ */
508
+ export type ThemeListen = 'mode';
509
+ /**
510
+ * Type: {@link RunnerType}
511
+ *
512
+ * This interface was referenced by `Config`'s JSON-Schema
513
+ * via the `definition` "RunnerType".
514
+ */
515
+ export type RunnerType = 'RunSetCC' | 'RunSetTheme' | 'RunCycleText' | 'RunSetBool' | 'RunResetForm' | 'RunSubmitForm';
516
+ /**
517
+ * Type: {@link AttributerType}
518
+ *
519
+ * This interface was referenced by `Config`'s JSON-Schema
520
+ * via the `definition` "AttributerType".
521
+ */
522
+ export type AttributerType = 'AttCCToDA' | 'AttBoolToDA' | 'AttTextToDA' | 'AttFormErrorToDA' | 'AttFormStatusToDA';
523
+ /**
524
+ * Type: {@link InputSanitationBlockType}
525
+ *
526
+ * This interface was referenced by `Config`'s JSON-Schema
527
+ * via the `definition` "InputSanitationBlockType".
528
+ */
529
+ export type InputSanitationBlockType = 'IsTrimText';
530
+ /**
531
+ * Type: {@link InputValidationBlockType}
532
+ *
533
+ * This interface was referenced by `Config`'s JSON-Schema
534
+ * via the `definition` "InputValidationBlockType".
535
+ */
536
+ export type InputValidationBlockType = 'IvContains' | 'IvDoesNotContain';
537
+ /**
538
+ * Type: {@link FormRateLimitBlockType}
539
+ *
540
+ * This interface was referenced by `Config`'s JSON-Schema
541
+ * via the `definition` "FormRateLimitBlockType".
542
+ */
543
+ export type FormRateLimitBlockType = 'FrlSimpleSlidingWindow';
544
+ /**
545
+ * Type: {@link FormSanitationBlockType}
546
+ *
547
+ * This interface was referenced by `Config`'s JSON-Schema
548
+ * via the `definition` "FormSanitationBlockType".
549
+ */
550
+ export type FormSanitationBlockType = 'FsCombineTwoFields';
551
+ /**
552
+ * Type: {@link FormValidationBlockType}
553
+ *
554
+ * This interface was referenced by `Config`'s JSON-Schema
555
+ * via the `definition` "FormValidationBlockType".
556
+ */
557
+ export type FormValidationBlockType = 'FvIsUnique';
558
+ /**
559
+ * Type: {@link ChildBlockType}
560
+ *
561
+ * This interface was referenced by `Config`'s JSON-Schema
562
+ * via the `definition` "ChildBlockType".
563
+ */
564
+ export type ChildBlockType =
565
+ | 'AtomicChild'
566
+ | 'SimpleTextChild'
567
+ | 'RichTextChild'
568
+ | 'ImageChild'
569
+ | 'VideoChild'
570
+ | 'IconChild'
571
+ | 'SVGChild';
572
+ /**
573
+ * Type: {@link NonRecursiveChildBlockType}
574
+ *
575
+ * This interface was referenced by `Config`'s JSON-Schema
576
+ * via the `definition` "NonRecursiveChildBlockType".
577
+ */
578
+ export type NonRecursiveChildBlockType =
579
+ | 'SimpleTextChild'
580
+ | 'RichTextChild'
581
+ | 'ImageChild'
582
+ | 'VideoChild'
583
+ | 'IconChild'
584
+ | 'SVGChild';
585
+ /**
586
+ * Type: {@link BackdropChildSlug}
587
+ *
588
+ * This interface was referenced by `Config`'s JSON-Schema
589
+ * via the `definition` "BackdropChildSlug".
590
+ */
591
+ export type BackdropChildSlug = 'SVGChild';
592
+ /**
593
+ * Type: {@link ChildrenWithTriggerActions}
594
+ *
595
+ * This interface was referenced by `Config`'s JSON-Schema
596
+ * via the `definition` "ChildrenWithTriggerActions".
597
+ */
598
+ export type ChildrenWithTriggerActions = 'AtomicChild';
599
+ /**
600
+ * Type: {@link ChildrenWithContentActions}
601
+ *
602
+ * This interface was referenced by `Config`'s JSON-Schema
603
+ * via the `definition` "ChildrenWithContentActions".
604
+ */
605
+ export type ChildrenWithContentActions = 'AtomicChild' | 'SimpleTextChild';
606
+ /**
607
+ * Type: {@link ChildrenWithActions}
608
+ *
609
+ * This interface was referenced by `Config`'s JSON-Schema
610
+ * via the `definition` "ChildrenWithActions".
611
+ */
612
+ export type ChildrenWithActions = 'AtomicChild' | 'SimpleTextChild';
613
+
614
+ export interface Config {
615
+ auth: {
616
+ users: UserAuthOperations;
617
+ };
618
+ blocks: {
619
+ AtomicChild: AtomicChild;
620
+ SimpleTextChild: SimpleTextChild;
621
+ RichTextChild: RichTextChild;
622
+ ImageChild: ImageChild;
623
+ VideoChild: VideoChild;
624
+ IconChild: IconChild;
625
+ SVGChild: SVGChild;
626
+ ActSetCC: ActSetCC;
627
+ ActCCToDA: ActCCToDA;
628
+ ActSetTheme: ActSetTheme;
629
+ ActResetForm: ActResetForm;
630
+ ActDSSetBool: ActDSSetBool;
631
+ ActSubmitForm: ActSubmitForm;
632
+ ActDSBoolToDA: ActDSBoolToDA;
633
+ ActDSTextToDA: ActDSTextToDA;
634
+ ActDSCycleText: ActDSCycleText;
635
+ ActFormErrorToDA: ActFormErrorToDA;
636
+ ActSetPortalOpen: ActSetPortalOpen;
637
+ ActFormStatusToDA: ActFormStatusToDA;
638
+ FrlSimpleSlidingWindow: FrlSimpleSlidingWindow;
639
+ FsCombineTwoFields: FsCombineTwoFields;
640
+ FvIsUnique: FvIsUnique;
641
+ IsTrimText: IsTrimText;
642
+ IvContains: IvContains;
643
+ IvDoesNotContain: IvDoesNotContain;
644
+ };
645
+ collections: {
646
+ font: Font;
647
+ icon: Icon;
648
+ users: User;
649
+ pages: Page;
650
+ footer: Footer;
651
+ header: Header;
652
+ images: Image;
653
+ favicons: Favicon;
654
+ iconSet: IconSet;
655
+ designSet: DesignSet;
656
+ shortcutSet: ShortcutSet;
657
+ posthogProperty: PosthogProperty;
658
+ 'mux-video': MuxVideo;
659
+ forms: Form;
660
+ 'form-submissions': FormSubmission;
661
+ 'payload-kv': PayloadKv;
662
+ 'payload-jobs': PayloadJob;
663
+ 'payload-locked-documents': PayloadLockedDocument;
664
+ 'payload-preferences': PayloadPreference;
665
+ 'payload-migrations': PayloadMigration;
666
+ };
667
+ collectionsJoins: {};
668
+ collectionsSelect: {
669
+ font: FontSelect<false> | FontSelect<true>;
670
+ icon: IconSelect<false> | IconSelect<true>;
671
+ users: UsersSelect<false> | UsersSelect<true>;
672
+ pages: PagesSelect<false> | PagesSelect<true>;
673
+ footer: FooterSelect<false> | FooterSelect<true>;
674
+ header: HeaderSelect<false> | HeaderSelect<true>;
675
+ images: ImagesSelect<false> | ImagesSelect<true>;
676
+ favicons: FaviconsSelect<false> | FaviconsSelect<true>;
677
+ iconSet: IconSetSelect<false> | IconSetSelect<true>;
678
+ designSet: DesignSetSelect<false> | DesignSetSelect<true>;
679
+ shortcutSet: ShortcutSetSelect<false> | ShortcutSetSelect<true>;
680
+ posthogProperty: PosthogPropertySelect<false> | PosthogPropertySelect<true>;
681
+ 'mux-video': MuxVideoSelect<false> | MuxVideoSelect<true>;
682
+ forms: FormsSelect<false> | FormsSelect<true>;
683
+ 'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
684
+ 'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
685
+ 'payload-jobs': PayloadJobsSelect<false> | PayloadJobsSelect<true>;
686
+ 'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
687
+ 'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
688
+ 'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
689
+ };
690
+ db: {
691
+ defaultIDType: string;
692
+ };
693
+ fallbackLocale: null;
694
+ globals: {
695
+ settings: Setting;
696
+ tracking: Tracking;
697
+ siteMetaData: SiteMetaDatum;
698
+ draftStorage: DraftStorage;
699
+ publishedStorage: PublishedStorage;
700
+ };
701
+ globalsSelect: {
702
+ settings: SettingsSelect<false> | SettingsSelect<true>;
703
+ tracking: TrackingSelect<false> | TrackingSelect<true>;
704
+ siteMetaData: SiteMetaDataSelect<false> | SiteMetaDataSelect<true>;
705
+ draftStorage: DraftStorageSelect<false> | DraftStorageSelect<true>;
706
+ publishedStorage: PublishedStorageSelect<false> | PublishedStorageSelect<true>;
707
+ };
708
+ locale: null;
709
+ user: User & {
710
+ collection: 'users';
711
+ };
712
+ jobs: {
713
+ tasks: {
714
+ schedulePublish: TaskSchedulePublish;
715
+ inline: {
716
+ input: unknown;
717
+ output: unknown;
718
+ };
719
+ };
720
+ workflows: unknown;
721
+ };
722
+ }
723
+ export interface UserAuthOperations {
724
+ forgotPassword: {
725
+ email: string;
726
+ password: string;
727
+ };
728
+ login: {
729
+ email: string;
730
+ password: string;
731
+ };
732
+ registerFirstUser: {
733
+ email: string;
734
+ password: string;
735
+ };
736
+ unlock: {
737
+ email: string;
738
+ password: string;
739
+ };
740
+ }
741
+ /**
742
+ * This interface was referenced by `Config`'s JSON-Schema
743
+ * via the `definition` "AtomicChild".
744
+ */
745
+ export interface AtomicChild {
746
+ type: AtomicChildVariants;
747
+ tagType?: AtomicTagType;
748
+ buttonType?: AtomicButtonTypes;
749
+ inputType?: AtomicInputTypes;
750
+ backendForm?: string | null;
751
+ formName?: string | null;
752
+ inputName?: string | null;
753
+ portalType?: AtomicButtonPortalTypes;
754
+ portalName?: string | null;
755
+ persisted?: boolean | null;
756
+ linkType?: AtomicButtonLinkTypes;
757
+ internalLink?: (string | null) | Page;
758
+ externalLink?: string | null;
759
+ download?: (string | null) | Image;
760
+ email?: string | null;
761
+ phone?: string | null;
762
+ /**
763
+ * Add atomic style classes or shortcuts here.
764
+ */
765
+ ClassName?: string | null;
766
+ children?: ChildBlocks;
767
+ /**
768
+ * Add atomic style classes or shortcuts here.
769
+ */
770
+ triggerClassName?: string | null;
771
+ /**
772
+ * Accessibility label for screen readers.
773
+ */
774
+ ariaLabel?: string | null;
775
+ /**
776
+ * Text specifically for screen readers. Required if no visible text is present.
777
+ */
778
+ screenReaderText?: string | null;
779
+ triggerChildren?: ChildBlocks;
780
+ triggerActions?: AllActions;
781
+ contentActions?: AllActions;
782
+ formRateLimitBlocks?: FormRateLimitBlocks;
783
+ formSanitationBlocks?: FormSanitationBlocks;
784
+ formValidationBlocks?: FormValidationBlocks;
785
+ /**
786
+ * If checked, this input field is required.
787
+ */
788
+ required?: boolean | null;
789
+ inputSanitationBlocks?: InputSanitationBlocks;
790
+ inputValidationBlocks?: InputValidationBlocks;
791
+ /**
792
+ * Sets the components anchor ID, which can be used in anchor links.
793
+ */
794
+ cid?: string | null;
795
+ /**
796
+ * The name of the input this label is associated with.
797
+ */
798
+ htmlFor?: string | null;
799
+ formToastEnabled?: boolean | null;
800
+ /**
801
+ * Forms Loading Message
802
+ */
803
+ lm?: string | null;
804
+ /**
805
+ * Forms Default Success Message
806
+ */
807
+ sm?: string | null;
808
+ /**
809
+ * Forms Default Error Message
810
+ */
811
+ em?: string | null;
812
+ anchor?: string | null;
813
+ parameters?: string | null;
814
+ prefetch?: boolean | null;
815
+ newTab?: boolean | null;
816
+ noOpener?: boolean | null;
817
+ noReferrer?: boolean | null;
818
+ replace?: boolean | null;
819
+ scrollTo?: boolean | null;
820
+ autocomplete?: AutocompleteOptions;
821
+ textPlaceholder?: string | null;
822
+ textDefault?: string | null;
823
+ numberPlaceholder?: string | null;
824
+ numberDefault?: number | null;
825
+ checkboxDefault?: boolean | null;
826
+ radioDefault?: boolean | null;
827
+ radioValue?: string | null;
828
+ /**
829
+ * Add atomic classes or shortcuts to the portal backdrop div here.
830
+ */
831
+ backdropClassName?: string | null;
832
+ backdropChildren?: BackdropChildren;
833
+ ds?: DialogSettings;
834
+ pops?: PopoverSettings;
835
+ triggerStaticDataAttributes?: StaticDataAttributes;
836
+ staticDataAttributes?: StaticDataAttributes;
837
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
838
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
839
+ id?: string | null;
840
+ blockName?: string | null;
841
+ blockType: 'AtomicChild';
842
+ }
843
+ /**
844
+ * This interface was referenced by `Config`'s JSON-Schema
845
+ * via the `definition` "pages".
846
+ */
847
+ export interface Page {
848
+ id: string;
849
+ title: string;
850
+ publishedAt?: string | null;
851
+ slug?: string | null;
852
+ slugLock?: boolean | null;
853
+ parent?: (string | null) | Page;
854
+ href?: string | null;
855
+ /**
856
+ * If unchecked, the page will not be indexed by search engines, and can only be viewed in admins live preview.
857
+ */
858
+ live: boolean;
859
+ /**
860
+ * Add atomic style classes or shortcuts here.
861
+ */
862
+ mainClassName?: string | null;
863
+ children?: ChildBlocks;
864
+ meta: PageSEO;
865
+ storedAtomicClasses?: string[];
866
+ storedAtomicForms?: StoredAtomicForm[];
867
+ storedAtomicActions?: StoredAtomicActions;
868
+ devMode: boolean;
869
+ breadcrumbs?:
870
+ | {
871
+ doc?: (string | null) | Page;
872
+ url?: string | null;
873
+ label?: string | null;
874
+ id?: string | null;
875
+ }[]
876
+ | null;
877
+ 'apf-form'?: boolean | null;
878
+ 'apf-page'?: boolean | null;
879
+ 'apf-pages'?: boolean | null;
880
+ 'apf-actions'?: boolean | null;
881
+ 'apf-classes'?: boolean | null;
882
+ 'apf-seo'?: boolean | null;
883
+ 'apf-sitemap'?: boolean | null;
884
+ updatedAt: string;
885
+ createdAt: string;
886
+ _status?: ('draft' | 'published') | null;
887
+ }
888
+ /**
889
+ * This interface was referenced by `Config`'s JSON-Schema
890
+ * via the `definition` "SimpleTextChild".
891
+ */
892
+ export interface SimpleTextChild {
893
+ tagType: SimpleTextTagType;
894
+ /**
895
+ * Add atomic classes or shortcuts to the simple text element here.
896
+ */
897
+ ClassName?: string | null;
898
+ /**
899
+ * The name of the input this label is associated with.
900
+ */
901
+ htmlFor?: string | null;
902
+ /**
903
+ * The text content to display. Use {{data attribute name}} to display the data attributes value.
904
+ */
905
+ text: string;
906
+ contentActions?: AllActions;
907
+ /**
908
+ * Sets the components anchor ID, which can be used in anchor links.
909
+ */
910
+ cid?: string | null;
911
+ staticDataAttributes?: StaticDataAttributes;
912
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
913
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
914
+ id?: string | null;
915
+ blockName?: string | null;
916
+ blockType: 'SimpleTextChild';
917
+ }
918
+ /**
919
+ * This interface was referenced by `Config`'s JSON-Schema
920
+ * via the `definition` "allActions".
921
+ */
922
+ export interface AllActions {
923
+ actionBlocks?: ActionBlocks;
924
+ actions?: ActionBlockType[];
925
+ runners?: Runners;
926
+ attributers?: Attributers;
927
+ }
928
+ /**
929
+ * This interface was referenced by `Config`'s JSON-Schema
930
+ * via the `definition` "ActSetCC".
931
+ */
932
+ export interface ActSetCC {
933
+ perform: CookieConsentPerform;
934
+ acceptAll?: boolean | null;
935
+ key?: CookieConsentPreferenceKeys;
936
+ /**
937
+ * If true, the value will be set as a data attribute on the element. Which can be used by atomic classes.
938
+ */
939
+ setDA?: boolean | null;
940
+ changeKey?: string | null;
941
+ id?: string | null;
942
+ blockName?: string | null;
943
+ blockType: 'ActSetCC';
944
+ }
945
+ /**
946
+ * This interface was referenced by `Config`'s JSON-Schema
947
+ * via the `definition` "ActCCToDA".
948
+ */
949
+ export interface ActCCToDA {
950
+ listen: CookieConsentListen;
951
+ key?: CookieConsentPreferenceKeys;
952
+ changeKey?: string | null;
953
+ id?: string | null;
954
+ blockName?: string | null;
955
+ blockType: 'ActCCToDA';
956
+ }
957
+ /**
958
+ * This interface was referenced by `Config`'s JSON-Schema
959
+ * via the `definition` "ActSetTheme".
960
+ */
961
+ export interface ActSetTheme {
962
+ perform: ThemePerform;
963
+ id?: string | null;
964
+ blockName?: string | null;
965
+ blockType: 'ActSetTheme';
966
+ }
967
+ /**
968
+ * This interface was referenced by `Config`'s JSON-Schema
969
+ * via the `definition` "ActResetForm".
970
+ */
971
+ export interface ActResetForm {
972
+ /**
973
+ * The name of the front end form to reset.
974
+ */
975
+ formName?: string | null;
976
+ id?: string | null;
977
+ blockName?: string | null;
978
+ blockType: 'ActResetForm';
979
+ }
980
+ /**
981
+ * This interface was referenced by `Config`'s JSON-Schema
982
+ * via the `definition` "ActDSSetBool".
983
+ */
984
+ export interface ActDSSetBool {
985
+ /**
986
+ * The name of the key to set. Use Kebab Case. (e.g. status-accepted)
987
+ */
988
+ key: string;
989
+ /**
990
+ * If true, the value will be persisted in the browser storage, and replace the initial value. Beware of FOUC is using these for initial visual state.
991
+ */
992
+ persisted?: boolean | null;
993
+ /**
994
+ * If true, the value will be set as a data attribute on the element. Which can be used by atomic classes.
995
+ */
996
+ setDA?: boolean | null;
997
+ /**
998
+ * The initial value to set the key to. Checked = true, Unchecked = false. First click set the opposite of this value.
999
+ */
1000
+ initialValue?: boolean | null;
1001
+ id?: string | null;
1002
+ blockName?: string | null;
1003
+ blockType: 'ActDSSetBool';
1004
+ }
1005
+ /**
1006
+ * This interface was referenced by `Config`'s JSON-Schema
1007
+ * via the `definition` "ActSubmitForm".
1008
+ */
1009
+ export interface ActSubmitForm {
1010
+ /**
1011
+ * The name of the front end form to submit.
1012
+ */
1013
+ formName?: string | null;
1014
+ id?: string | null;
1015
+ blockName?: string | null;
1016
+ blockType: 'ActSubmitForm';
1017
+ }
1018
+ /**
1019
+ * This interface was referenced by `Config`'s JSON-Schema
1020
+ * via the `definition` "ActDSBoolToDA".
1021
+ */
1022
+ export interface ActDSBoolToDA {
1023
+ /**
1024
+ * The name of the key to set. Use Kebab Case. (e.g. status-accepted)
1025
+ */
1026
+ key: string;
1027
+ changeKey?: string | null;
1028
+ id?: string | null;
1029
+ blockName?: string | null;
1030
+ blockType: 'ActDSBoolToDA';
1031
+ }
1032
+ /**
1033
+ * This interface was referenced by `Config`'s JSON-Schema
1034
+ * via the `definition` "ActDSTextToDA".
1035
+ */
1036
+ export interface ActDSTextToDA {
1037
+ /**
1038
+ * The name of the key to set. Use Kebab Case. (e.g. status-accepted)
1039
+ */
1040
+ key: string;
1041
+ changeKey?: string | null;
1042
+ id?: string | null;
1043
+ blockName?: string | null;
1044
+ blockType: 'ActDSTextToDA';
1045
+ }
1046
+ /**
1047
+ * This interface was referenced by `Config`'s JSON-Schema
1048
+ * via the `definition` "ActDSCycleText".
1049
+ */
1050
+ export interface ActDSCycleText {
1051
+ /**
1052
+ * The name of the key to set. Use Kebab Case. (e.g. status-accepted)
1053
+ */
1054
+ key: string;
1055
+ /**
1056
+ * If true, the value will be persisted in the browser storage, and replace the initial value. Beware of FOUC is using these for initial visual state.
1057
+ */
1058
+ persisted?: boolean | null;
1059
+ /**
1060
+ * If true, the value will be set as a data attribute on the element. Which can be used by atomic classes.
1061
+ */
1062
+ setDA?: boolean | null;
1063
+ textArray: {
1064
+ /**
1065
+ * The initial value to set the key to. Checked = true, Unchecked = false. First click set the opposite of this value.
1066
+ */
1067
+ initialValue?: boolean | null;
1068
+ /**
1069
+ * The value to set the key to.
1070
+ */
1071
+ value: string;
1072
+ id?: string | null;
1073
+ }[];
1074
+ id?: string | null;
1075
+ blockName?: string | null;
1076
+ blockType: 'ActDSCycleText';
1077
+ }
1078
+ /**
1079
+ * This interface was referenced by `Config`'s JSON-Schema
1080
+ * via the `definition` "ActFormErrorToDA".
1081
+ */
1082
+ export interface ActFormErrorToDA {
1083
+ /**
1084
+ * The name of the front end form to use the response of.
1085
+ */
1086
+ formName?: string | null;
1087
+ /**
1088
+ * The name of the input to listen for changes on. If empty, defaults to using the form level message.
1089
+ */
1090
+ inputName?: string | null;
1091
+ id?: string | null;
1092
+ blockName?: string | null;
1093
+ blockType: 'ActFormErrorToDA';
1094
+ }
1095
+ /**
1096
+ * This interface was referenced by `Config`'s JSON-Schema
1097
+ * via the `definition` "ActSetPortalOpen".
1098
+ */
1099
+ export interface ActSetPortalOpen {
1100
+ /**
1101
+ * The name of the portal to toggle.
1102
+ */
1103
+ portal?: string | null;
1104
+ /**
1105
+ * If true, the value will be set as a data attribute on the element. Which can be used by atomic classes.
1106
+ */
1107
+ setDA?: boolean | null;
1108
+ id?: string | null;
1109
+ blockName?: string | null;
1110
+ blockType: 'ActSetPortalOpen';
1111
+ }
1112
+ /**
1113
+ * This interface was referenced by `Config`'s JSON-Schema
1114
+ * via the `definition` "ActFormStatusToDA".
1115
+ */
1116
+ export interface ActFormStatusToDA {
1117
+ /**
1118
+ * The name of the front end form to check the status of.
1119
+ */
1120
+ formName?: string | null;
1121
+ id?: string | null;
1122
+ blockName?: string | null;
1123
+ blockType: 'ActFormStatusToDA';
1124
+ }
1125
+ /**
1126
+ * Type: {@link RunSetCC}
1127
+ *
1128
+ * This interface was referenced by `Config`'s JSON-Schema
1129
+ * via the `definition` "RunSetCC".
1130
+ */
1131
+ export interface RunSetCC {
1132
+ type: 'RunSetCC';
1133
+ values:
1134
+ | {
1135
+ perform: 'decline';
1136
+ }
1137
+ | {
1138
+ perform: 'preference';
1139
+ key: CookieConsentPreferenceKeys;
1140
+ }
1141
+ | {
1142
+ perform: 'accept';
1143
+ acceptAll?: boolean;
1144
+ };
1145
+ }
1146
+ /**
1147
+ * Type: {@link RunSetTheme}
1148
+ *
1149
+ * This interface was referenced by `Config`'s JSON-Schema
1150
+ * via the `definition` "RunSetTheme".
1151
+ */
1152
+ export interface RunSetTheme {
1153
+ type: 'RunSetTheme';
1154
+ perform: ThemePerform;
1155
+ }
1156
+ /**
1157
+ * Type: {@link RunCycleText}
1158
+ *
1159
+ * This interface was referenced by `Config`'s JSON-Schema
1160
+ * via the `definition` "RunCycleText".
1161
+ */
1162
+ export interface RunCycleText {
1163
+ type: 'RunCycleText';
1164
+ key: string;
1165
+ initialValue?: string | null;
1166
+ textArray: {
1167
+ value: string;
1168
+ initialValue?: boolean | null;
1169
+ }[];
1170
+ persisted?: boolean | null;
1171
+ }
1172
+ /**
1173
+ * Type: {@link RunSetBool}
1174
+ *
1175
+ * This interface was referenced by `Config`'s JSON-Schema
1176
+ * via the `definition` "RunSetBool".
1177
+ */
1178
+ export interface RunSetBool {
1179
+ type: 'RunSetBool';
1180
+ key: string;
1181
+ initialValue?: boolean | null;
1182
+ persisted?: boolean | null;
1183
+ }
1184
+ /**
1185
+ * Type: {@link RunResetForm}
1186
+ *
1187
+ * This interface was referenced by `Config`'s JSON-Schema
1188
+ * via the `definition` "RunResetForm".
1189
+ */
1190
+ export interface RunResetForm {
1191
+ type: 'RunResetForm';
1192
+ formName?: string | null;
1193
+ }
1194
+ /**
1195
+ * Type: {@link RunSubmitForm}
1196
+ *
1197
+ * This interface was referenced by `Config`'s JSON-Schema
1198
+ * via the `definition` "RunSubmitForm".
1199
+ */
1200
+ export interface RunSubmitForm {
1201
+ type: 'RunSubmitForm';
1202
+ formName?: string | null;
1203
+ }
1204
+ /**
1205
+ * Type: {@link AttCCToDA}
1206
+ *
1207
+ * This interface was referenced by `Config`'s JSON-Schema
1208
+ * via the `definition` "AttCCToDA".
1209
+ */
1210
+ export interface AttCCToDA {
1211
+ type: 'AttCCToDA';
1212
+ listen:
1213
+ | {
1214
+ listen: 'preference';
1215
+ key: CookieConsentPreferenceKeys;
1216
+ }
1217
+ | {
1218
+ listen: 'accept';
1219
+ }
1220
+ | {
1221
+ listen: 'decline';
1222
+ }
1223
+ | {
1224
+ listen: 'hasConsented';
1225
+ }
1226
+ | {
1227
+ listen: 'previouslyConsented';
1228
+ };
1229
+ changeKey?: string | null;
1230
+ }
1231
+ /**
1232
+ * Type: {@link AttBoolToDA}
1233
+ *
1234
+ * This interface was referenced by `Config`'s JSON-Schema
1235
+ * via the `definition` "AttBoolToDA".
1236
+ */
1237
+ export interface AttBoolToDA {
1238
+ type: 'AttBoolToDA';
1239
+ key: string;
1240
+ changeKey?: string | null;
1241
+ persisted?: boolean | null;
1242
+ initialValue?: boolean | null;
1243
+ }
1244
+ /**
1245
+ * Type: {@link AttTextToDA}
1246
+ *
1247
+ * This interface was referenced by `Config`'s JSON-Schema
1248
+ * via the `definition` "AttTextToDA".
1249
+ */
1250
+ export interface AttTextToDA {
1251
+ type: 'AttTextToDA';
1252
+ key: string;
1253
+ persisted?: boolean | null;
1254
+ changeKey?: string | null;
1255
+ initialValue?: string | null;
1256
+ }
1257
+ /**
1258
+ * Type: {@link AttFormErrorToDA}
1259
+ *
1260
+ * This interface was referenced by `Config`'s JSON-Schema
1261
+ * via the `definition` "AttFormErrorToDA".
1262
+ */
1263
+ export interface AttFormErrorToDA {
1264
+ type: 'AttFormErrorToDA';
1265
+ key: string;
1266
+ inputName?: string | null;
1267
+ }
1268
+ /**
1269
+ * Type: {@link AttFormStatusToDA}
1270
+ *
1271
+ * This interface was referenced by `Config`'s JSON-Schema
1272
+ * via the `definition` "AttFormStatusToDA".
1273
+ */
1274
+ export interface AttFormStatusToDA {
1275
+ type: 'AttFormStatusToDA';
1276
+ key: string;
1277
+ changeKey?: string | null;
1278
+ }
1279
+ /**
1280
+ * This interface was referenced by `Config`'s JSON-Schema
1281
+ * via the `definition` "posthogProperty".
1282
+ */
1283
+ export interface PosthogProperty {
1284
+ id: string;
1285
+ title: string;
1286
+ description?: string | null;
1287
+ /**
1288
+ * What this should be used for. e.g marketing, user flow, etc.
1289
+ */
1290
+ purpose: string;
1291
+ /**
1292
+ * The formal property name. e.g page_name
1293
+ */
1294
+ propertyFormal: string;
1295
+ /**
1296
+ * The obfuscated property name. e.g page_name_obfuscated
1297
+ */
1298
+ propertyObfuscated: string;
1299
+ /**
1300
+ * The formal value. e.g Home
1301
+ */
1302
+ valueFormal: string;
1303
+ /**
1304
+ * The obfuscated value. e.g Home_obfuscated
1305
+ */
1306
+ valueObfuscated: string;
1307
+ /**
1308
+ * Where this should be used. e.g page, component, global
1309
+ */
1310
+ location: 'page' | 'component' | 'global';
1311
+ updatedAt: string;
1312
+ createdAt: string;
1313
+ }
1314
+ /**
1315
+ * This interface was referenced by `Config`'s JSON-Schema
1316
+ * via the `definition` "RichTextChild".
1317
+ */
1318
+ export interface RichTextChild {
1319
+ /**
1320
+ * Add the class 'prose' to apply tag based styles to rich text content. Supports suffixes '-sm', '-base', '-lg', '-xl', '-2xl'
1321
+ */
1322
+ ClassName?: string | null;
1323
+ richText: {
1324
+ root: {
1325
+ type: string;
1326
+ children: {
1327
+ type: any;
1328
+ version: number;
1329
+ [k: string]: unknown;
1330
+ }[];
1331
+ direction: ('ltr' | 'rtl') | null;
1332
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
1333
+ indent: number;
1334
+ version: number;
1335
+ };
1336
+ [k: string]: unknown;
1337
+ };
1338
+ /**
1339
+ * Sets the components anchor ID, which can be used in anchor links.
1340
+ */
1341
+ cid?: string | null;
1342
+ staticDataAttributes?: StaticDataAttributes;
1343
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
1344
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
1345
+ id?: string | null;
1346
+ blockName?: string | null;
1347
+ blockType: 'RichTextChild';
1348
+ }
1349
+ /**
1350
+ * This interface was referenced by `Config`'s JSON-Schema
1351
+ * via the `definition` "ImageChild".
1352
+ */
1353
+ export interface ImageChild {
1354
+ /**
1355
+ * Select the image to be displayed.
1356
+ */
1357
+ image: string | Image;
1358
+ /**
1359
+ * Select the stored version of the image you want to use. Leave blank for automatic optimization.
1360
+ */
1361
+ version?: ('thumbnail' | 'square' | 'small' | 'medium' | 'large' | 'xlarge' | 'og') | null;
1362
+ /**
1363
+ * Defaults to alt set on the image asset. But you can add an alt for this instance here.
1364
+ */
1365
+ alt?: string | null;
1366
+ /**
1367
+ * Classes are added directly to the nextImage component.
1368
+ */
1369
+ ClassName?: string | null;
1370
+ /**
1371
+ * Default false. If true, the asset will be pre-loaded and disable lazy loading.
1372
+ */
1373
+ priority?: boolean | null;
1374
+ /**
1375
+ * Default false. If true, will use the automatically generated blur data URL for the image.
1376
+ */
1377
+ blur?: boolean | null;
1378
+ /**
1379
+ * Default false. If true, will not optimize the image for the web. Best for tiny images like logos.
1380
+ */
1381
+ unoptimized?: boolean | null;
1382
+ /**
1383
+ * Default false. If true, the image will be resized to fill the parent container.
1384
+ */
1385
+ fill?: boolean | null;
1386
+ /**
1387
+ * Default is lazy. Use eager for images visible on load.
1388
+ */
1389
+ loading?: ('lazy' | 'eager') | null;
1390
+ /**
1391
+ * Default is async. Use sync for images visible on load.
1392
+ */
1393
+ decoding?: ('auto' | 'sync' | 'async') | null;
1394
+ /**
1395
+ * If not set, will default to image width. Example: "100vw" or "100px".
1396
+ */
1397
+ size?: string | null;
1398
+ /**
1399
+ * 0-100. Default is 75. Use 100 for best quality.
1400
+ */
1401
+ quality?: number | null;
1402
+ /**
1403
+ * Sets the components anchor ID, which can be used in anchor links.
1404
+ */
1405
+ cid?: string | null;
1406
+ staticDataAttributes?: StaticDataAttributes;
1407
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
1408
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
1409
+ id?: string | null;
1410
+ blockName?: string | null;
1411
+ blockType: 'ImageChild';
1412
+ }
1413
+ /**
1414
+ * This interface was referenced by `Config`'s JSON-Schema
1415
+ * via the `definition` "images".
1416
+ */
1417
+ export interface Image {
1418
+ id: string;
1419
+ alt?: string | null;
1420
+ blurDataUrl?: string | null;
1421
+ updatedAt: string;
1422
+ createdAt: string;
1423
+ url?: string | null;
1424
+ thumbnailURL?: string | null;
1425
+ filename?: string | null;
1426
+ mimeType?: string | null;
1427
+ filesize?: number | null;
1428
+ width?: number | null;
1429
+ height?: number | null;
1430
+ focalX?: number | null;
1431
+ focalY?: number | null;
1432
+ sizes?: {
1433
+ thumbnail?: {
1434
+ url?: string | null;
1435
+ width?: number | null;
1436
+ height?: number | null;
1437
+ mimeType?: string | null;
1438
+ filesize?: number | null;
1439
+ filename?: string | null;
1440
+ };
1441
+ square?: {
1442
+ url?: string | null;
1443
+ width?: number | null;
1444
+ height?: number | null;
1445
+ mimeType?: string | null;
1446
+ filesize?: number | null;
1447
+ filename?: string | null;
1448
+ };
1449
+ small?: {
1450
+ url?: string | null;
1451
+ width?: number | null;
1452
+ height?: number | null;
1453
+ mimeType?: string | null;
1454
+ filesize?: number | null;
1455
+ filename?: string | null;
1456
+ };
1457
+ medium?: {
1458
+ url?: string | null;
1459
+ width?: number | null;
1460
+ height?: number | null;
1461
+ mimeType?: string | null;
1462
+ filesize?: number | null;
1463
+ filename?: string | null;
1464
+ };
1465
+ large?: {
1466
+ url?: string | null;
1467
+ width?: number | null;
1468
+ height?: number | null;
1469
+ mimeType?: string | null;
1470
+ filesize?: number | null;
1471
+ filename?: string | null;
1472
+ };
1473
+ xlarge?: {
1474
+ url?: string | null;
1475
+ width?: number | null;
1476
+ height?: number | null;
1477
+ mimeType?: string | null;
1478
+ filesize?: number | null;
1479
+ filename?: string | null;
1480
+ };
1481
+ og?: {
1482
+ url?: string | null;
1483
+ width?: number | null;
1484
+ height?: number | null;
1485
+ mimeType?: string | null;
1486
+ filesize?: number | null;
1487
+ filename?: string | null;
1488
+ };
1489
+ };
1490
+ }
1491
+ /**
1492
+ * This interface was referenced by `Config`'s JSON-Schema
1493
+ * via the `definition` "VideoChild".
1494
+ */
1495
+ export interface VideoChild {
1496
+ /**
1497
+ * It is recommended to use this inside a tag component that controls sizing, use the default value.
1498
+ */
1499
+ ClassName?: string | null;
1500
+ tagType: VideoTagType;
1501
+ video: string | MuxVideo;
1502
+ /**
1503
+ * Default is metadata. Controls when the video starts loading.
1504
+ */
1505
+ preload?: ('none' | 'metadata' | 'auto') | null;
1506
+ /**
1507
+ * Default is false. If true, the video will autoplay, which also forces muted to be true.
1508
+ */
1509
+ autoplay?: boolean | null;
1510
+ /**
1511
+ * Default is false. If true, the video will loop.
1512
+ */
1513
+ loop?: boolean | null;
1514
+ /**
1515
+ * Default is false. If true, the video will be muted.
1516
+ */
1517
+ muted?: boolean | null;
1518
+ /**
1519
+ * Default is false. If true, the video will not use the blur data URL.
1520
+ */
1521
+ disableBlur?: boolean | null;
1522
+ /**
1523
+ * Default is 0. The time in the video, the blur image will be generated from.
1524
+ */
1525
+ time?: number | null;
1526
+ /**
1527
+ * Default is 20. The blur amount of the video.
1528
+ */
1529
+ blur?: number | null;
1530
+ /**
1531
+ * Default is 1. The quality of the video.
1532
+ */
1533
+ quality?: number | null;
1534
+ /**
1535
+ * Sets the components anchor ID, which can be used in anchor links.
1536
+ */
1537
+ cid?: string | null;
1538
+ staticDataAttributes?: StaticDataAttributes;
1539
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
1540
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
1541
+ id?: string | null;
1542
+ blockName?: string | null;
1543
+ blockType: 'VideoChild';
1544
+ }
1545
+ /**
1546
+ * This interface was referenced by `Config`'s JSON-Schema
1547
+ * via the `definition` "mux-video".
1548
+ */
1549
+ export interface MuxVideo {
1550
+ id: string;
1551
+ /**
1552
+ * A unique title for this video that will help you identify it later.
1553
+ */
1554
+ title: string;
1555
+ assetId?: string | null;
1556
+ duration?: number | null;
1557
+ /**
1558
+ * Pick a timestamp (in seconds) from the video to be used as the poster image. When unset, defaults to the middle of the video.
1559
+ */
1560
+ posterTimestamp?: number | null;
1561
+ aspectRatio?: string | null;
1562
+ maxWidth?: number | null;
1563
+ maxHeight?: number | null;
1564
+ playbackOptions?:
1565
+ | {
1566
+ playbackId?: string | null;
1567
+ playbackPolicy?: ('signed' | 'public') | null;
1568
+ playbackUrl?: string | null;
1569
+ posterUrl?: string | null;
1570
+ gifUrl?: string | null;
1571
+ id?: string | null;
1572
+ }[]
1573
+ | null;
1574
+ updatedAt: string;
1575
+ createdAt: string;
1576
+ }
1577
+ /**
1578
+ * This interface was referenced by `Config`'s JSON-Schema
1579
+ * via the `definition` "IconChild".
1580
+ */
1581
+ export interface IconChild {
1582
+ icon?: string | null;
1583
+ /**
1584
+ * If checked, the icon will be hidden to screen readers. This is useful if you want to use the icon for decorative purposes only.
1585
+ */
1586
+ ariaHidden?: boolean | null;
1587
+ /**
1588
+ * Styles applied directly on the svg. If left empty, defaults to 100% width and height.
1589
+ */
1590
+ ClassName?: string | null;
1591
+ /**
1592
+ * Sets the components anchor ID, which can be used in anchor links.
1593
+ */
1594
+ cid?: string | null;
1595
+ staticDataAttributes?: StaticDataAttributes;
1596
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
1597
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
1598
+ id?: string | null;
1599
+ blockName?: string | null;
1600
+ blockType: 'IconChild';
1601
+ }
1602
+ /**
1603
+ * This interface was referenced by `Config`'s JSON-Schema
1604
+ * via the `definition` "SVGChild".
1605
+ */
1606
+ export interface SVGChild {
1607
+ /**
1608
+ * Add atomic classes or shortcuts to the svg element here.
1609
+ */
1610
+ ClassName?: string | null;
1611
+ /**
1612
+ * If true, the element will be hidden from screen readers.
1613
+ */
1614
+ ariaHidden?: boolean | null;
1615
+ /**
1616
+ * SVG viewbox attribute. Example: "0 0 24 24".
1617
+ */
1618
+ viewBox: string;
1619
+ /**
1620
+ * SVG fill attribute. Example: "currentColor" or "#000000".
1621
+ */
1622
+ fill?: string | null;
1623
+ /**
1624
+ * SVG content/path data.
1625
+ */
1626
+ contents: string;
1627
+ /**
1628
+ * Sets the components anchor ID, which can be used in anchor links.
1629
+ */
1630
+ cid?: string | null;
1631
+ staticDataAttributes?: StaticDataAttributes;
1632
+ contentPostHogProperty?: (string | PosthogProperty)[] | null;
1633
+ triggerPostHogProperty?: (string | PosthogProperty)[] | null;
1634
+ id?: string | null;
1635
+ blockName?: string | null;
1636
+ blockType: 'SVGChild';
1637
+ }
1638
+ /**
1639
+ * This interface was referenced by `Config`'s JSON-Schema
1640
+ * via the `definition` "PageSEO".
1641
+ */
1642
+ export interface PageSEO {
1643
+ title?: string | null;
1644
+ description?: string | null;
1645
+ /**
1646
+ * The pages Open Graph image. This will override the global Open Graph image.
1647
+ */
1648
+ image?: (string | null) | Image;
1649
+ /**
1650
+ * Overrides the global light favicon.
1651
+ */
1652
+ lightFavicon?: (string | null) | Favicon;
1653
+ /**
1654
+ * Overrides the global dark favicon.
1655
+ */
1656
+ darkFavicon?: (string | null) | Favicon;
1657
+ /**
1658
+ * Prevents the page from being indexed by search engines.
1659
+ */
1660
+ noIndex: boolean;
1661
+ /**
1662
+ * Priority of the page compared to other pages. 0-1. Default is 0.5. Home page should be 1.
1663
+ */
1664
+ priority?: number | null;
1665
+ /**
1666
+ * How often the page is updated. Defaults to monthly.
1667
+ */
1668
+ changeFrequency?: ('daily' | 'weekly' | 'monthly' | 'yearly' | 'never') | null;
1669
+ }
1670
+ /**
1671
+ * This interface was referenced by `Config`'s JSON-Schema
1672
+ * via the `definition` "favicons".
1673
+ */
1674
+ export interface Favicon {
1675
+ id: string;
1676
+ updatedAt: string;
1677
+ createdAt: string;
1678
+ url?: string | null;
1679
+ thumbnailURL?: string | null;
1680
+ filename?: string | null;
1681
+ mimeType?: string | null;
1682
+ filesize?: number | null;
1683
+ width?: number | null;
1684
+ height?: number | null;
1685
+ focalX?: number | null;
1686
+ focalY?: number | null;
1687
+ }
1688
+ /**
1689
+ * This interface was referenced by `Config`'s JSON-Schema
1690
+ * via the `definition` "StoredAtomicForm".
1691
+ */
1692
+ export interface StoredAtomicForm {
1693
+ id: string;
1694
+ sm?: string;
1695
+ em?: string;
1696
+ backendForm: string;
1697
+ sanitation?: FormSanitationBlocks;
1698
+ validation?: FormValidationBlocks;
1699
+ rateLimiting?: FormRateLimitBlocks;
1700
+ inputs?: StoredAtomicFormInput[];
1701
+ }
1702
+ /**
1703
+ * This interface was referenced by `Config`'s JSON-Schema
1704
+ * via the `definition` "FsCombineTwoFields".
1705
+ */
1706
+ export interface FsCombineTwoFields {
1707
+ firstFieldName: string;
1708
+ /**
1709
+ * Adds a string between the two fields. Defaults to a space.
1710
+ */
1711
+ addBetween?: string | null;
1712
+ secondFieldName: string;
1713
+ outputFieldName: string;
1714
+ id?: string | null;
1715
+ blockName?: string | null;
1716
+ blockType: 'FsCombineTwoFields';
1717
+ }
1718
+ /**
1719
+ * This interface was referenced by `Config`'s JSON-Schema
1720
+ * via the `definition` "FvIsUnique".
1721
+ */
1722
+ export interface FvIsUnique {
1723
+ fieldName: string;
1724
+ /**
1725
+ * The number of times the field can be used. It defaults to 1.
1726
+ */
1727
+ limit: number;
1728
+ /**
1729
+ * The message to display when the validation fails. Use {{inputName}} to display the input's value.
1730
+ */
1731
+ validationMessage: string;
1732
+ id?: string | null;
1733
+ blockName?: string | null;
1734
+ blockType: 'FvIsUnique';
1735
+ }
1736
+ /**
1737
+ * This interface was referenced by `Config`'s JSON-Schema
1738
+ * via the `definition` "FrlSimpleSlidingWindow".
1739
+ */
1740
+ export interface FrlSimpleSlidingWindow {
1741
+ /**
1742
+ * If true, the rate limit trigger runs before validation. For normal forms its recommended to set this to false, as failed submissions due to validation errors will count towards the rate limit.
1743
+ */
1744
+ atStart: boolean;
1745
+ /**
1746
+ * The number of requests allowed per time period.
1747
+ */
1748
+ rateLimit: number;
1749
+ /**
1750
+ * The time period in minutes.
1751
+ */
1752
+ rateLimitPeriod: number;
1753
+ /**
1754
+ * The message to display when the validation fails. Use {{inputName}} to display the input's value.
1755
+ */
1756
+ validationMessage: string;
1757
+ id?: string | null;
1758
+ blockName?: string | null;
1759
+ blockType: 'FrlSimpleSlidingWindow';
1760
+ }
1761
+ /**
1762
+ * This interface was referenced by `Config`'s JSON-Schema
1763
+ * via the `definition` "StoredAtomicFormInput".
1764
+ */
1765
+ export interface StoredAtomicFormInput {
1766
+ id: string;
1767
+ type: string;
1768
+ inputName: string;
1769
+ sanitationBlocks?: InputSanitationBlocks;
1770
+ validationBlocks?: InputValidationBlocks;
1771
+ }
1772
+ /**
1773
+ * This interface was referenced by `Config`'s JSON-Schema
1774
+ * via the `definition` "IsTrimText".
1775
+ */
1776
+ export interface IsTrimText {
1777
+ trimType: 'beginning' | 'end' | 'both';
1778
+ /**
1779
+ * The characters to trim. Comma seperated list. Defaults to just removing spaces.
1780
+ */
1781
+ trimCharacters: string;
1782
+ id?: string | null;
1783
+ blockName?: string | null;
1784
+ blockType: 'IsTrimText';
1785
+ }
1786
+ /**
1787
+ * This interface was referenced by `Config`'s JSON-Schema
1788
+ * via the `definition` "IvContains".
1789
+ */
1790
+ export interface IvContains {
1791
+ containsValue: string;
1792
+ /**
1793
+ * The message to display when the validation fails. Use {{inputName}} to display the input's value.
1794
+ */
1795
+ validationMessage: string;
1796
+ id?: string | null;
1797
+ blockName?: string | null;
1798
+ blockType: 'IvContains';
1799
+ }
1800
+ /**
1801
+ * This interface was referenced by `Config`'s JSON-Schema
1802
+ * via the `definition` "IvDoesNotContain".
1803
+ */
1804
+ export interface IvDoesNotContain {
1805
+ doesNotContainValue?: string | null;
1806
+ /**
1807
+ * The message to display when the validation fails. Use {{inputName}} to display the input's value.
1808
+ */
1809
+ validationMessage: string;
1810
+ id?: string | null;
1811
+ blockName?: string | null;
1812
+ blockType: 'IvDoesNotContain';
1813
+ }
1814
+ /**
1815
+ * This interface was referenced by `Config`'s JSON-Schema
1816
+ * via the `definition` "StoredAtomicActions".
1817
+ */
1818
+ export interface StoredAtomicActions {
1819
+ [k: string]: StoredAtomicAction;
1820
+ }
1821
+ /**
1822
+ * This interface was referenced by `StoredAtomicActions`'s JSON-Schema definition
1823
+ * via the `patternProperty` "^.*$".
1824
+ *
1825
+ * This interface was referenced by `Config`'s JSON-Schema
1826
+ * via the `definition` "StoredAtomicAction".
1827
+ */
1828
+ export interface StoredAtomicAction {
1829
+ id: string;
1830
+ runners?: Runners;
1831
+ attributers?: Attributers;
1832
+ actions: ActionBlockType[];
1833
+ }
1834
+ /**
1835
+ * This interface was referenced by `Config`'s JSON-Schema
1836
+ * via the `definition` "DialogSettings".
1837
+ */
1838
+ export interface DialogSettings {
1839
+ /**
1840
+ * If checked, the portal will be open by default.
1841
+ */
1842
+ defaultOpen?: boolean | null;
1843
+ /**
1844
+ * If checked, the dialog will be dismissible.
1845
+ */
1846
+ dismissible?: boolean | null;
1847
+ /**
1848
+ * If checked, the portal will remain in the DOM when hidden.
1849
+ */
1850
+ keepMounted?: boolean | null;
1851
+ modal?: TrapFocus;
1852
+ }
1853
+ /**
1854
+ * This interface was referenced by `Config`'s JSON-Schema
1855
+ * via the `definition` "PopoverSettings".
1856
+ */
1857
+ export interface PopoverSettings {
1858
+ /**
1859
+ * If checked, the portal will be open by default.
1860
+ */
1861
+ defaultOpen?: boolean | null;
1862
+ /**
1863
+ * If checked, the popover will open on hover.
1864
+ */
1865
+ openOnHover?: boolean | null;
1866
+ /**
1867
+ * If checked, the popover will have an arrow.
1868
+ */
1869
+ hasArrow?: boolean | null;
1870
+ /**
1871
+ * If checked, the portal will remain in the DOM when hidden.
1872
+ */
1873
+ keepMounted?: boolean | null;
1874
+ modal?: TrapFocus;
1875
+ /**
1876
+ * The delay in milliseconds before the popover opens. Useful to adjust when open on hover is true.
1877
+ */
1878
+ delay?: number | null;
1879
+ /**
1880
+ * The delay in milliseconds before the popover closes.
1881
+ */
1882
+ closeDelay?: number | null;
1883
+ /**
1884
+ * If checked, the portal will be sticky to the top of the screen.
1885
+ */
1886
+ sticky?: boolean | null;
1887
+ /**
1888
+ * If checked, the portal will track the anchor of the parent element.
1889
+ */
1890
+ trackAnchor?: boolean | null;
1891
+ /**
1892
+ * The side of the portal.
1893
+ */
1894
+ side?: ('top' | 'bottom' | 'left' | 'right') | null;
1895
+ /**
1896
+ * The offset of the portal.
1897
+ */
1898
+ sideOffset?: number | null;
1899
+ /**
1900
+ * The alignment of the portal.
1901
+ */
1902
+ align?: ('center' | 'start' | 'end') | null;
1903
+ /**
1904
+ * The offset of the portal.
1905
+ */
1906
+ alignOffset?: number | null;
1907
+ /**
1908
+ * Determines which CSS position property to use.
1909
+ */
1910
+ positionMethod?: ('absolute' | 'fixed') | null;
1911
+ /**
1912
+ * The padding in pixels for the arrow.
1913
+ */
1914
+ arrowPadding?: number | null;
1915
+ }
1916
+ /**
1917
+ * This interface was referenced by `Config`'s JSON-Schema
1918
+ * via the `definition` "font".
1919
+ */
1920
+ export interface Font {
1921
+ id: string;
1922
+ title: string;
1923
+ family: GenericFontFamily;
1924
+ updatedAt: string;
1925
+ createdAt: string;
1926
+ url?: string | null;
1927
+ thumbnailURL?: string | null;
1928
+ filename?: string | null;
1929
+ mimeType?: string | null;
1930
+ filesize?: number | null;
1931
+ width?: number | null;
1932
+ height?: number | null;
1933
+ focalX?: number | null;
1934
+ focalY?: number | null;
1935
+ }
1936
+ /**
1937
+ * This interface was referenced by `Config`'s JSON-Schema
1938
+ * via the `definition` "icon".
1939
+ */
1940
+ export interface Icon {
1941
+ id: string;
1942
+ optimized?: string | null;
1943
+ svgString?: string | null;
1944
+ updatedAt: string;
1945
+ createdAt: string;
1946
+ url?: string | null;
1947
+ thumbnailURL?: string | null;
1948
+ filename?: string | null;
1949
+ mimeType?: string | null;
1950
+ filesize?: number | null;
1951
+ width?: number | null;
1952
+ height?: number | null;
1953
+ focalX?: number | null;
1954
+ focalY?: number | null;
1955
+ }
1956
+ /**
1957
+ * This interface was referenced by `Config`'s JSON-Schema
1958
+ * via the `definition` "users".
1959
+ */
1960
+ export interface User {
1961
+ id: string;
1962
+ updatedAt: string;
1963
+ createdAt: string;
1964
+ email: string;
1965
+ resetPasswordToken?: string | null;
1966
+ resetPasswordExpiration?: string | null;
1967
+ salt?: string | null;
1968
+ hash?: string | null;
1969
+ loginAttempts?: number | null;
1970
+ lockUntil?: string | null;
1971
+ sessions?:
1972
+ | {
1973
+ id: string;
1974
+ createdAt?: string | null;
1975
+ expiresAt: string;
1976
+ }[]
1977
+ | null;
1978
+ password?: string | null;
1979
+ }
1980
+ /**
1981
+ * This interface was referenced by `Config`'s JSON-Schema
1982
+ * via the `definition` "footer".
1983
+ */
1984
+ export interface Footer {
1985
+ id: string;
1986
+ active: boolean;
1987
+ devMode: boolean;
1988
+ title: string;
1989
+ testPath?: (string | null) | Page;
1990
+ /**
1991
+ * Add atomic style classes or shortcuts here.
1992
+ */
1993
+ ClassName?: string | null;
1994
+ children?: ChildBlocks;
1995
+ storedAtomicClasses?: string[];
1996
+ storedAtomicForms?: StoredAtomicForm[];
1997
+ storedAtomicActions?: StoredAtomicActions;
1998
+ 'apf-form'?: boolean | null;
1999
+ 'apf-actions'?: boolean | null;
2000
+ 'apf-classes'?: boolean | null;
2001
+ 'apf-active'?: boolean | null;
2002
+ updatedAt: string;
2003
+ createdAt: string;
2004
+ _status?: ('draft' | 'published') | null;
2005
+ }
2006
+ /**
2007
+ * This interface was referenced by `Config`'s JSON-Schema
2008
+ * via the `definition` "header".
2009
+ */
2010
+ export interface Header {
2011
+ id: string;
2012
+ active: boolean;
2013
+ devMode: boolean;
2014
+ title: string;
2015
+ testPath?: (string | null) | Page;
2016
+ /**
2017
+ * Add atomic style classes or shortcuts here.
2018
+ */
2019
+ ClassName?: string | null;
2020
+ children?: ChildBlocks;
2021
+ storedAtomicClasses?: string[];
2022
+ storedAtomicForms?: StoredAtomicForm[];
2023
+ storedAtomicActions?: StoredAtomicActions;
2024
+ 'apf-form'?: boolean | null;
2025
+ 'apf-actions'?: boolean | null;
2026
+ 'apf-classes'?: boolean | null;
2027
+ 'apf-active'?: boolean | null;
2028
+ updatedAt: string;
2029
+ createdAt: string;
2030
+ _status?: ('draft' | 'published') | null;
2031
+ }
2032
+ /**
2033
+ * This interface was referenced by `Config`'s JSON-Schema
2034
+ * via the `definition` "iconSet".
2035
+ */
2036
+ export interface IconSet {
2037
+ id: string;
2038
+ active: boolean;
2039
+ title: string;
2040
+ testPath?: (string | null) | Page;
2041
+ iconsArray?:
2042
+ | {
2043
+ /**
2044
+ * The name of the icon
2045
+ */
2046
+ name: string;
2047
+ /**
2048
+ * Select an icon
2049
+ */
2050
+ icon?: (string | null) | Icon;
2051
+ id?: string | null;
2052
+ }[]
2053
+ | null;
2054
+ 'apf-active'?: boolean | null;
2055
+ updatedAt: string;
2056
+ createdAt: string;
2057
+ _status?: ('draft' | 'published') | null;
2058
+ }
2059
+ /**
2060
+ * This interface was referenced by `Config`'s JSON-Schema
2061
+ * via the `definition` "designSet".
2062
+ */
2063
+ export interface DesignSet {
2064
+ id: string;
2065
+ active: boolean;
2066
+ title: string;
2067
+ testPath?: (string | null) | Page;
2068
+ minify: boolean;
2069
+ defaultTheme: 'light' | 'dark';
2070
+ /**
2071
+ * These are the atomic classes and shortcuts that are applied to the html element. Note that changing will unset the live previews selected theme(dark/light), ctrl + r will fix that.
2072
+ */
2073
+ htmlClassName?: string | null;
2074
+ /**
2075
+ * These are the atomic classes and shortcuts that are applied to the body element. Typically used for a background color.
2076
+ */
2077
+ bodyClassName?: string | null;
2078
+ /**
2079
+ * The wrapper goes around header, main, and footer. It supplies styles to the entire site. But is required for dialogs and popovers to work. Isolate will automatically be added to the beginning of the class name if not included.
2080
+ */
2081
+ wrapperClassName?: string | null;
2082
+ /**
2083
+ * Sets the value for the corresponding css variable.
2084
+ */
2085
+ defaults?: {
2086
+ spacing?: string | null;
2087
+ radius?: string | null;
2088
+ };
2089
+ variables?: TokenString;
2090
+ colors?: DesignSetColors;
2091
+ container?: TokenString;
2092
+ breakpoint?: TokenString;
2093
+ spacing?: TokenString;
2094
+ radius?: TokenString;
2095
+ font?: {
2096
+ sans?: (string | null) | Font;
2097
+ serif?: (string | null) | Font;
2098
+ mono?: (string | null) | Font;
2099
+ display?: (string | null) | Font;
2100
+ };
2101
+ text?:
2102
+ | {
2103
+ name: string;
2104
+ fontSize: string;
2105
+ lineHeight: string;
2106
+ id?: string | null;
2107
+ }[]
2108
+ | null;
2109
+ fontWeight?: TokenString;
2110
+ tracking?: TokenString;
2111
+ leading?: TokenString;
2112
+ textStrokeWidth?: TokenString;
2113
+ animation?:
2114
+ | {
2115
+ /**
2116
+ * The name of the animation used in class names fields. Capitals will be lowercased. Spaces will be replaced with hyphens (-). So type freely.
2117
+ */
2118
+ name: string;
2119
+ /**
2120
+ * The @keyframes information for the animation.
2121
+ */
2122
+ keyframes: string;
2123
+ /**
2124
+ * The length of the animation in seconds.
2125
+ */
2126
+ duration?: string | null;
2127
+ /**
2128
+ * Interpolation functions like linear/ease-in-out.
2129
+ */
2130
+ timingFns?: string | null;
2131
+ /**
2132
+ * Special properties like transform-origin and backface-visibility.
2133
+ */
2134
+ properties?: string | null;
2135
+ /**
2136
+ * The times the animation should play, either infinite or a number.
2137
+ */
2138
+ counts?: string | null;
2139
+ /**
2140
+ * The ease of the animation.
2141
+ */
2142
+ ease?: string | null;
2143
+ id?: string | null;
2144
+ }[]
2145
+ | null;
2146
+ ease?: TokenString;
2147
+ property?: TokenStringArray;
2148
+ aria: {
2149
+ value: string;
2150
+ id?: string | null;
2151
+ }[];
2152
+ blur?: TokenString;
2153
+ media?: TokenString;
2154
+ supports?: TokenString;
2155
+ perspective?: TokenString;
2156
+ shadow?: TokenStringArray;
2157
+ insetShadow?: TokenStringArray;
2158
+ dropShadow?: TokenStringArray;
2159
+ textShadow?: TokenStringArray;
2160
+ proseColors: ProseColors;
2161
+ proseStyles?: {
2162
+ default?: TypographyStyles;
2163
+ sm?: TypographyStyles;
2164
+ base?: TypographyStyles;
2165
+ lg?: TypographyStyles;
2166
+ };
2167
+ preflightStorage?: string | null;
2168
+ tokenStorage?: TokenStorage;
2169
+ proseDefaultStorage?: RSRSS;
2170
+ prosesmStorage?: RSRSS;
2171
+ proseBaseStorage?: RSRSS;
2172
+ proselgStorage?: RSRSS;
2173
+ proseColorStorage?: ProseColorStorage;
2174
+ 'apf-classes'?: boolean | null;
2175
+ 'apf-active'?: boolean | null;
2176
+ updatedAt: string;
2177
+ createdAt: string;
2178
+ _status?: ('draft' | 'published') | null;
2179
+ }
2180
+ /**
2181
+ * This interface was referenced by `Config`'s JSON-Schema
2182
+ * via the `definition` "ProseColors".
2183
+ */
2184
+ export interface ProseColors {
2185
+ body: ProseColorField;
2186
+ headings: ProseColorField;
2187
+ lead: ProseColorField;
2188
+ links: ProseColorField;
2189
+ bold: ProseColorField;
2190
+ counters: ProseColorField;
2191
+ bullets: ProseColorField;
2192
+ hr: ProseColorField;
2193
+ quotes: ProseColorField;
2194
+ 'quote-borders': ProseColorField;
2195
+ captions: ProseColorField;
2196
+ kbd: ProseColorField;
2197
+ 'kbd-shadows': ProseColorField;
2198
+ code: ProseColorField;
2199
+ 'pre-code': ProseColorField;
2200
+ 'pre-bg': ProseColorField;
2201
+ 'th-borders': ProseColorField;
2202
+ 'td-borders': ProseColorField;
2203
+ }
2204
+ /**
2205
+ * This interface was referenced by `Config`'s JSON-Schema
2206
+ * via the `definition` "ProseColorField".
2207
+ */
2208
+ export interface ProseColorField {
2209
+ light: string;
2210
+ dark: string;
2211
+ }
2212
+ /**
2213
+ * Type: {@link TokenStorage}
2214
+ *
2215
+ * This interface was referenced by `Config`'s JSON-Schema
2216
+ * via the `definition` "TokenStorage".
2217
+ */
2218
+ export interface TokenStorage {
2219
+ font: RSS;
2220
+ aria: RSS;
2221
+ perspective: RSS;
2222
+ blur: RSS;
2223
+ media: RSS;
2224
+ supports: RSS;
2225
+ ease: RSS;
2226
+ property: RSS;
2227
+ container: RSS;
2228
+ breakpoint: RSS;
2229
+ spacing: RSS;
2230
+ radius: RSS;
2231
+ fontWeight: RSS;
2232
+ tracking: RSS;
2233
+ leading: RSS;
2234
+ textStrokeWidth: RSS;
2235
+ variables: RSS;
2236
+ shadow: RSSOSA;
2237
+ insetShadow: RSSOSA;
2238
+ dropShadow: RSSOSA;
2239
+ textShadow: RSSOSA;
2240
+ colors: UnoColors;
2241
+ animation: UnoThemeAnimation;
2242
+ }
2243
+ /**
2244
+ * Type: {@link RSS} Record<string, string>
2245
+ *
2246
+ * This interface was referenced by `Config`'s JSON-Schema
2247
+ * via the `definition` "RSS".
2248
+ */
2249
+ export interface RSS {
2250
+ [k: string]: string;
2251
+ }
2252
+ /**
2253
+ * Type: {@link RSSOSA} Record<string, string | string[]>
2254
+ *
2255
+ * This interface was referenced by `Config`'s JSON-Schema
2256
+ * via the `definition` "RSSOSA".
2257
+ */
2258
+ export interface RSSOSA {
2259
+ [k: string]: SOSA;
2260
+ }
2261
+ /**
2262
+ * Type: {@link UnoColors}
2263
+ *
2264
+ * This interface was referenced by `Config`'s JSON-Schema
2265
+ * via the `definition` "UnoColors".
2266
+ */
2267
+ export interface UnoColors {
2268
+ [k: string]:
2269
+ | string
2270
+ | {
2271
+ [k: string]: string;
2272
+ };
2273
+ }
2274
+ /**
2275
+ * Type: {@link UnoThemeAnimation}
2276
+ *
2277
+ * This interface was referenced by `Config`'s JSON-Schema
2278
+ * via the `definition` "UnoThemeAnimation".
2279
+ */
2280
+ export interface UnoThemeAnimation {
2281
+ category?: RSS;
2282
+ keyframes?: RSS;
2283
+ durations?: RSS;
2284
+ timingFns?: RSS;
2285
+ properties?: RSRSS;
2286
+ counts?: {
2287
+ [k: string]: string | number;
2288
+ };
2289
+ }
2290
+ /**
2291
+ * Type: {@link RSRSS} Record<string, Record<string, string>>
2292
+ *
2293
+ * This interface was referenced by `Config`'s JSON-Schema
2294
+ * via the `definition` "RSRSS".
2295
+ */
2296
+ export interface RSRSS {
2297
+ [k: string]: RSS;
2298
+ }
2299
+ /**
2300
+ * Type: {@link ProseColorStorage}
2301
+ *
2302
+ * This interface was referenced by `Config`'s JSON-Schema
2303
+ * via the `definition` "ProseColorStorage".
2304
+ */
2305
+ export interface ProseColorStorage {
2306
+ [k: string]: [] | [string] | [string, string];
2307
+ }
2308
+ /**
2309
+ * This interface was referenced by `Config`'s JSON-Schema
2310
+ * via the `definition` "shortcutSet".
2311
+ */
2312
+ export interface ShortcutSet {
2313
+ id: string;
2314
+ active: boolean;
2315
+ title: string;
2316
+ testPath?: (string | null) | Page;
2317
+ shortcuts: {
2318
+ /**
2319
+ * The name of the shortcut. This is used to identify the shortcut in the code.
2320
+ */
2321
+ name: string;
2322
+ /**
2323
+ * Add atomic style classes or shortcuts here.
2324
+ */
2325
+ ClassName?: string | null;
2326
+ id?: string | null;
2327
+ }[];
2328
+ /**
2329
+ * Default shortcuts are set in the project code at /src/collections/shortcutSets/defaults.ts
2330
+ */
2331
+ defaultShortcuts?:
2332
+ | {
2333
+ name: string;
2334
+ mod?: boolean | null;
2335
+ /**
2336
+ * Add atomic style classes or shortcuts here.
2337
+ */
2338
+ ClassName?: string | null;
2339
+ id?: string | null;
2340
+ }[]
2341
+ | null;
2342
+ 'apf-classes'?: boolean | null;
2343
+ 'apf-active'?: boolean | null;
2344
+ updatedAt: string;
2345
+ createdAt: string;
2346
+ _status?: ('draft' | 'published') | null;
2347
+ }
2348
+ /**
2349
+ * This interface was referenced by `Config`'s JSON-Schema
2350
+ * via the `definition` "forms".
2351
+ */
2352
+ export interface Form {
2353
+ id: string;
2354
+ title: string;
2355
+ /**
2356
+ * Send custom emails when the form submits. Use comma separated lists to send the same email to multiple recipients. To reference a value from this form, wrap that field's name with double curly brackets, i.e. {{firstName}}. You can use a wildcard {{*}} to output all data and {{*:table}} to format it as an HTML table in the email.
2357
+ */
2358
+ emails?:
2359
+ | {
2360
+ emailTo?: string | null;
2361
+ cc?: string | null;
2362
+ bcc?: string | null;
2363
+ replyTo?: string | null;
2364
+ emailFrom?: string | null;
2365
+ subject: string;
2366
+ /**
2367
+ * Enter the message that should be sent in this email.
2368
+ */
2369
+ message?: {
2370
+ root: {
2371
+ type: string;
2372
+ children: {
2373
+ type: any;
2374
+ version: number;
2375
+ [k: string]: unknown;
2376
+ }[];
2377
+ direction: ('ltr' | 'rtl') | null;
2378
+ format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
2379
+ indent: number;
2380
+ version: number;
2381
+ };
2382
+ [k: string]: unknown;
2383
+ } | null;
2384
+ id?: string | null;
2385
+ }[]
2386
+ | null;
2387
+ updatedAt: string;
2388
+ createdAt: string;
2389
+ }
2390
+ /**
2391
+ * This interface was referenced by `Config`'s JSON-Schema
2392
+ * via the `definition` "form-submissions".
2393
+ */
2394
+ export interface FormSubmission {
2395
+ id: string;
2396
+ form: string | Form;
2397
+ submissionData?:
2398
+ | {
2399
+ field: string;
2400
+ value: string;
2401
+ id?: string | null;
2402
+ }[]
2403
+ | null;
2404
+ updatedAt: string;
2405
+ createdAt: string;
2406
+ }
2407
+ /**
2408
+ * This interface was referenced by `Config`'s JSON-Schema
2409
+ * via the `definition` "payload-kv".
2410
+ */
2411
+ export interface PayloadKv {
2412
+ id: string;
2413
+ key: string;
2414
+ data:
2415
+ | {
2416
+ [k: string]: unknown;
2417
+ }
2418
+ | unknown[]
2419
+ | string
2420
+ | number
2421
+ | boolean
2422
+ | null;
2423
+ }
2424
+ /**
2425
+ * This interface was referenced by `Config`'s JSON-Schema
2426
+ * via the `definition` "payload-jobs".
2427
+ */
2428
+ export interface PayloadJob {
2429
+ id: string;
2430
+ /**
2431
+ * Input data provided to the job
2432
+ */
2433
+ input?:
2434
+ | {
2435
+ [k: string]: unknown;
2436
+ }
2437
+ | unknown[]
2438
+ | string
2439
+ | number
2440
+ | boolean
2441
+ | null;
2442
+ taskStatus?:
2443
+ | {
2444
+ [k: string]: unknown;
2445
+ }
2446
+ | unknown[]
2447
+ | string
2448
+ | number
2449
+ | boolean
2450
+ | null;
2451
+ completedAt?: string | null;
2452
+ totalTried?: number | null;
2453
+ /**
2454
+ * If hasError is true this job will not be retried
2455
+ */
2456
+ hasError?: boolean | null;
2457
+ /**
2458
+ * If hasError is true, this is the error that caused it
2459
+ */
2460
+ error?:
2461
+ | {
2462
+ [k: string]: unknown;
2463
+ }
2464
+ | unknown[]
2465
+ | string
2466
+ | number
2467
+ | boolean
2468
+ | null;
2469
+ /**
2470
+ * Task execution log
2471
+ */
2472
+ log?:
2473
+ | {
2474
+ executedAt: string;
2475
+ completedAt: string;
2476
+ taskSlug: 'inline' | 'schedulePublish';
2477
+ taskID: string;
2478
+ input?:
2479
+ | {
2480
+ [k: string]: unknown;
2481
+ }
2482
+ | unknown[]
2483
+ | string
2484
+ | number
2485
+ | boolean
2486
+ | null;
2487
+ output?:
2488
+ | {
2489
+ [k: string]: unknown;
2490
+ }
2491
+ | unknown[]
2492
+ | string
2493
+ | number
2494
+ | boolean
2495
+ | null;
2496
+ state: 'failed' | 'succeeded';
2497
+ error?:
2498
+ | {
2499
+ [k: string]: unknown;
2500
+ }
2501
+ | unknown[]
2502
+ | string
2503
+ | number
2504
+ | boolean
2505
+ | null;
2506
+ id?: string | null;
2507
+ }[]
2508
+ | null;
2509
+ taskSlug?: ('inline' | 'schedulePublish') | null;
2510
+ queue?: string | null;
2511
+ waitUntil?: string | null;
2512
+ processing?: boolean | null;
2513
+ updatedAt: string;
2514
+ createdAt: string;
2515
+ }
2516
+ /**
2517
+ * This interface was referenced by `Config`'s JSON-Schema
2518
+ * via the `definition` "payload-locked-documents".
2519
+ */
2520
+ export interface PayloadLockedDocument {
2521
+ id: string;
2522
+ document?:
2523
+ | ({
2524
+ relationTo: 'font';
2525
+ value: string | Font;
2526
+ } | null)
2527
+ | ({
2528
+ relationTo: 'icon';
2529
+ value: string | Icon;
2530
+ } | null)
2531
+ | ({
2532
+ relationTo: 'users';
2533
+ value: string | User;
2534
+ } | null)
2535
+ | ({
2536
+ relationTo: 'pages';
2537
+ value: string | Page;
2538
+ } | null)
2539
+ | ({
2540
+ relationTo: 'footer';
2541
+ value: string | Footer;
2542
+ } | null)
2543
+ | ({
2544
+ relationTo: 'header';
2545
+ value: string | Header;
2546
+ } | null)
2547
+ | ({
2548
+ relationTo: 'images';
2549
+ value: string | Image;
2550
+ } | null)
2551
+ | ({
2552
+ relationTo: 'favicons';
2553
+ value: string | Favicon;
2554
+ } | null)
2555
+ | ({
2556
+ relationTo: 'iconSet';
2557
+ value: string | IconSet;
2558
+ } | null)
2559
+ | ({
2560
+ relationTo: 'designSet';
2561
+ value: string | DesignSet;
2562
+ } | null)
2563
+ | ({
2564
+ relationTo: 'shortcutSet';
2565
+ value: string | ShortcutSet;
2566
+ } | null)
2567
+ | ({
2568
+ relationTo: 'posthogProperty';
2569
+ value: string | PosthogProperty;
2570
+ } | null)
2571
+ | ({
2572
+ relationTo: 'mux-video';
2573
+ value: string | MuxVideo;
2574
+ } | null)
2575
+ | ({
2576
+ relationTo: 'forms';
2577
+ value: string | Form;
2578
+ } | null)
2579
+ | ({
2580
+ relationTo: 'form-submissions';
2581
+ value: string | FormSubmission;
2582
+ } | null);
2583
+ globalSlug?: string | null;
2584
+ user: {
2585
+ relationTo: 'users';
2586
+ value: string | User;
2587
+ };
2588
+ updatedAt: string;
2589
+ createdAt: string;
2590
+ }
2591
+ /**
2592
+ * This interface was referenced by `Config`'s JSON-Schema
2593
+ * via the `definition` "payload-preferences".
2594
+ */
2595
+ export interface PayloadPreference {
2596
+ id: string;
2597
+ user: {
2598
+ relationTo: 'users';
2599
+ value: string | User;
2600
+ };
2601
+ key?: string | null;
2602
+ value?:
2603
+ | {
2604
+ [k: string]: unknown;
2605
+ }
2606
+ | unknown[]
2607
+ | string
2608
+ | number
2609
+ | boolean
2610
+ | null;
2611
+ updatedAt: string;
2612
+ createdAt: string;
2613
+ }
2614
+ /**
2615
+ * This interface was referenced by `Config`'s JSON-Schema
2616
+ * via the `definition` "payload-migrations".
2617
+ */
2618
+ export interface PayloadMigration {
2619
+ id: string;
2620
+ name?: string | null;
2621
+ batch?: number | null;
2622
+ updatedAt: string;
2623
+ createdAt: string;
2624
+ }
2625
+ /**
2626
+ * This interface was referenced by `Config`'s JSON-Schema
2627
+ * via the `definition` "font_select".
2628
+ */
2629
+ export interface FontSelect<T extends boolean = true> {
2630
+ title?: T;
2631
+ family?: T;
2632
+ updatedAt?: T;
2633
+ createdAt?: T;
2634
+ url?: T;
2635
+ thumbnailURL?: T;
2636
+ filename?: T;
2637
+ mimeType?: T;
2638
+ filesize?: T;
2639
+ width?: T;
2640
+ height?: T;
2641
+ focalX?: T;
2642
+ focalY?: T;
2643
+ }
2644
+ /**
2645
+ * This interface was referenced by `Config`'s JSON-Schema
2646
+ * via the `definition` "icon_select".
2647
+ */
2648
+ export interface IconSelect<T extends boolean = true> {
2649
+ optimized?: T;
2650
+ svgString?: T;
2651
+ updatedAt?: T;
2652
+ createdAt?: T;
2653
+ url?: T;
2654
+ thumbnailURL?: T;
2655
+ filename?: T;
2656
+ mimeType?: T;
2657
+ filesize?: T;
2658
+ width?: T;
2659
+ height?: T;
2660
+ focalX?: T;
2661
+ focalY?: T;
2662
+ }
2663
+ /**
2664
+ * This interface was referenced by `Config`'s JSON-Schema
2665
+ * via the `definition` "users_select".
2666
+ */
2667
+ export interface UsersSelect<T extends boolean = true> {
2668
+ updatedAt?: T;
2669
+ createdAt?: T;
2670
+ email?: T;
2671
+ resetPasswordToken?: T;
2672
+ resetPasswordExpiration?: T;
2673
+ salt?: T;
2674
+ hash?: T;
2675
+ loginAttempts?: T;
2676
+ lockUntil?: T;
2677
+ sessions?:
2678
+ | T
2679
+ | {
2680
+ id?: T;
2681
+ createdAt?: T;
2682
+ expiresAt?: T;
2683
+ };
2684
+ }
2685
+ /**
2686
+ * This interface was referenced by `Config`'s JSON-Schema
2687
+ * via the `definition` "pages_select".
2688
+ */
2689
+ export interface PagesSelect<T extends boolean = true> {
2690
+ title?: T;
2691
+ publishedAt?: T;
2692
+ slug?: T;
2693
+ slugLock?: T;
2694
+ parent?: T;
2695
+ href?: T;
2696
+ live?: T;
2697
+ mainClassName?: T;
2698
+ children?: T | {};
2699
+ meta?: T | PageSEOSelect<T>;
2700
+ storedAtomicClasses?: T;
2701
+ storedAtomicForms?: T;
2702
+ storedAtomicActions?: T;
2703
+ devMode?: T;
2704
+ breadcrumbs?:
2705
+ | T
2706
+ | {
2707
+ doc?: T;
2708
+ url?: T;
2709
+ label?: T;
2710
+ id?: T;
2711
+ };
2712
+ 'apf-form'?: T;
2713
+ 'apf-page'?: T;
2714
+ 'apf-pages'?: T;
2715
+ 'apf-actions'?: T;
2716
+ 'apf-classes'?: T;
2717
+ 'apf-seo'?: T;
2718
+ 'apf-sitemap'?: T;
2719
+ updatedAt?: T;
2720
+ createdAt?: T;
2721
+ _status?: T;
2722
+ }
2723
+ /**
2724
+ * This interface was referenced by `Config`'s JSON-Schema
2725
+ * via the `definition` "PageSEO_select".
2726
+ */
2727
+ export interface PageSEOSelect<T extends boolean = true> {
2728
+ title?: T;
2729
+ description?: T;
2730
+ image?: T;
2731
+ lightFavicon?: T;
2732
+ darkFavicon?: T;
2733
+ noIndex?: T;
2734
+ priority?: T;
2735
+ changeFrequency?: T;
2736
+ }
2737
+ /**
2738
+ * This interface was referenced by `Config`'s JSON-Schema
2739
+ * via the `definition` "footer_select".
2740
+ */
2741
+ export interface FooterSelect<T extends boolean = true> {
2742
+ active?: T;
2743
+ devMode?: T;
2744
+ title?: T;
2745
+ testPath?: T;
2746
+ ClassName?: T;
2747
+ children?: T | {};
2748
+ storedAtomicClasses?: T;
2749
+ storedAtomicForms?: T;
2750
+ storedAtomicActions?: T;
2751
+ 'apf-form'?: T;
2752
+ 'apf-actions'?: T;
2753
+ 'apf-classes'?: T;
2754
+ 'apf-active'?: T;
2755
+ updatedAt?: T;
2756
+ createdAt?: T;
2757
+ _status?: T;
2758
+ }
2759
+ /**
2760
+ * This interface was referenced by `Config`'s JSON-Schema
2761
+ * via the `definition` "header_select".
2762
+ */
2763
+ export interface HeaderSelect<T extends boolean = true> {
2764
+ active?: T;
2765
+ devMode?: T;
2766
+ title?: T;
2767
+ testPath?: T;
2768
+ ClassName?: T;
2769
+ children?: T | {};
2770
+ storedAtomicClasses?: T;
2771
+ storedAtomicForms?: T;
2772
+ storedAtomicActions?: T;
2773
+ 'apf-form'?: T;
2774
+ 'apf-actions'?: T;
2775
+ 'apf-classes'?: T;
2776
+ 'apf-active'?: T;
2777
+ updatedAt?: T;
2778
+ createdAt?: T;
2779
+ _status?: T;
2780
+ }
2781
+ /**
2782
+ * This interface was referenced by `Config`'s JSON-Schema
2783
+ * via the `definition` "images_select".
2784
+ */
2785
+ export interface ImagesSelect<T extends boolean = true> {
2786
+ alt?: T;
2787
+ blurDataUrl?: T;
2788
+ updatedAt?: T;
2789
+ createdAt?: T;
2790
+ url?: T;
2791
+ thumbnailURL?: T;
2792
+ filename?: T;
2793
+ mimeType?: T;
2794
+ filesize?: T;
2795
+ width?: T;
2796
+ height?: T;
2797
+ focalX?: T;
2798
+ focalY?: T;
2799
+ sizes?:
2800
+ | T
2801
+ | {
2802
+ thumbnail?:
2803
+ | T
2804
+ | {
2805
+ url?: T;
2806
+ width?: T;
2807
+ height?: T;
2808
+ mimeType?: T;
2809
+ filesize?: T;
2810
+ filename?: T;
2811
+ };
2812
+ square?:
2813
+ | T
2814
+ | {
2815
+ url?: T;
2816
+ width?: T;
2817
+ height?: T;
2818
+ mimeType?: T;
2819
+ filesize?: T;
2820
+ filename?: T;
2821
+ };
2822
+ small?:
2823
+ | T
2824
+ | {
2825
+ url?: T;
2826
+ width?: T;
2827
+ height?: T;
2828
+ mimeType?: T;
2829
+ filesize?: T;
2830
+ filename?: T;
2831
+ };
2832
+ medium?:
2833
+ | T
2834
+ | {
2835
+ url?: T;
2836
+ width?: T;
2837
+ height?: T;
2838
+ mimeType?: T;
2839
+ filesize?: T;
2840
+ filename?: T;
2841
+ };
2842
+ large?:
2843
+ | T
2844
+ | {
2845
+ url?: T;
2846
+ width?: T;
2847
+ height?: T;
2848
+ mimeType?: T;
2849
+ filesize?: T;
2850
+ filename?: T;
2851
+ };
2852
+ xlarge?:
2853
+ | T
2854
+ | {
2855
+ url?: T;
2856
+ width?: T;
2857
+ height?: T;
2858
+ mimeType?: T;
2859
+ filesize?: T;
2860
+ filename?: T;
2861
+ };
2862
+ og?:
2863
+ | T
2864
+ | {
2865
+ url?: T;
2866
+ width?: T;
2867
+ height?: T;
2868
+ mimeType?: T;
2869
+ filesize?: T;
2870
+ filename?: T;
2871
+ };
2872
+ };
2873
+ }
2874
+ /**
2875
+ * This interface was referenced by `Config`'s JSON-Schema
2876
+ * via the `definition` "favicons_select".
2877
+ */
2878
+ export interface FaviconsSelect<T extends boolean = true> {
2879
+ updatedAt?: T;
2880
+ createdAt?: T;
2881
+ url?: T;
2882
+ thumbnailURL?: T;
2883
+ filename?: T;
2884
+ mimeType?: T;
2885
+ filesize?: T;
2886
+ width?: T;
2887
+ height?: T;
2888
+ focalX?: T;
2889
+ focalY?: T;
2890
+ }
2891
+ /**
2892
+ * This interface was referenced by `Config`'s JSON-Schema
2893
+ * via the `definition` "iconSet_select".
2894
+ */
2895
+ export interface IconSetSelect<T extends boolean = true> {
2896
+ active?: T;
2897
+ title?: T;
2898
+ testPath?: T;
2899
+ iconsArray?:
2900
+ | T
2901
+ | {
2902
+ name?: T;
2903
+ icon?: T;
2904
+ id?: T;
2905
+ };
2906
+ 'apf-active'?: T;
2907
+ updatedAt?: T;
2908
+ createdAt?: T;
2909
+ _status?: T;
2910
+ }
2911
+ /**
2912
+ * This interface was referenced by `Config`'s JSON-Schema
2913
+ * via the `definition` "designSet_select".
2914
+ */
2915
+ export interface DesignSetSelect<T extends boolean = true> {
2916
+ active?: T;
2917
+ title?: T;
2918
+ testPath?: T;
2919
+ minify?: T;
2920
+ defaultTheme?: T;
2921
+ htmlClassName?: T;
2922
+ bodyClassName?: T;
2923
+ wrapperClassName?: T;
2924
+ defaults?:
2925
+ | T
2926
+ | {
2927
+ spacing?: T;
2928
+ radius?: T;
2929
+ };
2930
+ variables?:
2931
+ | T
2932
+ | {
2933
+ name?: T;
2934
+ value?: T;
2935
+ id?: T;
2936
+ };
2937
+ colors?:
2938
+ | T
2939
+ | {
2940
+ name?: T;
2941
+ light?: T;
2942
+ dark?: T;
2943
+ id?: T;
2944
+ };
2945
+ container?:
2946
+ | T
2947
+ | {
2948
+ name?: T;
2949
+ value?: T;
2950
+ id?: T;
2951
+ };
2952
+ breakpoint?:
2953
+ | T
2954
+ | {
2955
+ name?: T;
2956
+ value?: T;
2957
+ id?: T;
2958
+ };
2959
+ spacing?:
2960
+ | T
2961
+ | {
2962
+ name?: T;
2963
+ value?: T;
2964
+ id?: T;
2965
+ };
2966
+ radius?:
2967
+ | T
2968
+ | {
2969
+ name?: T;
2970
+ value?: T;
2971
+ id?: T;
2972
+ };
2973
+ font?:
2974
+ | T
2975
+ | {
2976
+ sans?: T;
2977
+ serif?: T;
2978
+ mono?: T;
2979
+ display?: T;
2980
+ };
2981
+ text?:
2982
+ | T
2983
+ | {
2984
+ name?: T;
2985
+ fontSize?: T;
2986
+ lineHeight?: T;
2987
+ id?: T;
2988
+ };
2989
+ fontWeight?:
2990
+ | T
2991
+ | {
2992
+ name?: T;
2993
+ value?: T;
2994
+ id?: T;
2995
+ };
2996
+ tracking?:
2997
+ | T
2998
+ | {
2999
+ name?: T;
3000
+ value?: T;
3001
+ id?: T;
3002
+ };
3003
+ leading?:
3004
+ | T
3005
+ | {
3006
+ name?: T;
3007
+ value?: T;
3008
+ id?: T;
3009
+ };
3010
+ textStrokeWidth?:
3011
+ | T
3012
+ | {
3013
+ name?: T;
3014
+ value?: T;
3015
+ id?: T;
3016
+ };
3017
+ animation?:
3018
+ | T
3019
+ | {
3020
+ name?: T;
3021
+ keyframes?: T;
3022
+ duration?: T;
3023
+ timingFns?: T;
3024
+ properties?: T;
3025
+ counts?: T;
3026
+ ease?: T;
3027
+ id?: T;
3028
+ };
3029
+ ease?:
3030
+ | T
3031
+ | {
3032
+ name?: T;
3033
+ value?: T;
3034
+ id?: T;
3035
+ };
3036
+ property?:
3037
+ | T
3038
+ | {
3039
+ name?: T;
3040
+ values?:
3041
+ | T
3042
+ | {
3043
+ value?: T;
3044
+ id?: T;
3045
+ };
3046
+ id?: T;
3047
+ };
3048
+ aria?:
3049
+ | T
3050
+ | {
3051
+ value?: T;
3052
+ id?: T;
3053
+ };
3054
+ blur?:
3055
+ | T
3056
+ | {
3057
+ name?: T;
3058
+ value?: T;
3059
+ id?: T;
3060
+ };
3061
+ media?:
3062
+ | T
3063
+ | {
3064
+ name?: T;
3065
+ value?: T;
3066
+ id?: T;
3067
+ };
3068
+ supports?:
3069
+ | T
3070
+ | {
3071
+ name?: T;
3072
+ value?: T;
3073
+ id?: T;
3074
+ };
3075
+ perspective?:
3076
+ | T
3077
+ | {
3078
+ name?: T;
3079
+ value?: T;
3080
+ id?: T;
3081
+ };
3082
+ shadow?:
3083
+ | T
3084
+ | {
3085
+ name?: T;
3086
+ values?:
3087
+ | T
3088
+ | {
3089
+ value?: T;
3090
+ id?: T;
3091
+ };
3092
+ id?: T;
3093
+ };
3094
+ insetShadow?:
3095
+ | T
3096
+ | {
3097
+ name?: T;
3098
+ values?:
3099
+ | T
3100
+ | {
3101
+ value?: T;
3102
+ id?: T;
3103
+ };
3104
+ id?: T;
3105
+ };
3106
+ dropShadow?:
3107
+ | T
3108
+ | {
3109
+ name?: T;
3110
+ values?:
3111
+ | T
3112
+ | {
3113
+ value?: T;
3114
+ id?: T;
3115
+ };
3116
+ id?: T;
3117
+ };
3118
+ textShadow?:
3119
+ | T
3120
+ | {
3121
+ name?: T;
3122
+ values?:
3123
+ | T
3124
+ | {
3125
+ value?: T;
3126
+ id?: T;
3127
+ };
3128
+ id?: T;
3129
+ };
3130
+ proseColors?: T | ProseColorsSelect<T>;
3131
+ proseStyles?:
3132
+ | T
3133
+ | {
3134
+ default?: T | TypographyStylesSelect<T>;
3135
+ sm?: T | TypographyStylesSelect<T>;
3136
+ base?: T | TypographyStylesSelect<T>;
3137
+ lg?: T | TypographyStylesSelect<T>;
3138
+ };
3139
+ preflightStorage?: T;
3140
+ tokenStorage?: T;
3141
+ proseDefaultStorage?: T;
3142
+ prosesmStorage?: T;
3143
+ proseBaseStorage?: T;
3144
+ proselgStorage?: T;
3145
+ proseColorStorage?: T;
3146
+ 'apf-classes'?: T;
3147
+ 'apf-active'?: T;
3148
+ updatedAt?: T;
3149
+ createdAt?: T;
3150
+ _status?: T;
3151
+ }
3152
+ /**
3153
+ * This interface was referenced by `Config`'s JSON-Schema
3154
+ * via the `definition` "ProseColors_select".
3155
+ */
3156
+ export interface ProseColorsSelect<T extends boolean = true> {
3157
+ body?: T | ProseColorFieldSelect<T>;
3158
+ headings?: T | ProseColorFieldSelect<T>;
3159
+ lead?: T | ProseColorFieldSelect<T>;
3160
+ links?: T | ProseColorFieldSelect<T>;
3161
+ bold?: T | ProseColorFieldSelect<T>;
3162
+ counters?: T | ProseColorFieldSelect<T>;
3163
+ bullets?: T | ProseColorFieldSelect<T>;
3164
+ hr?: T | ProseColorFieldSelect<T>;
3165
+ quotes?: T | ProseColorFieldSelect<T>;
3166
+ 'quote-borders'?: T | ProseColorFieldSelect<T>;
3167
+ captions?: T | ProseColorFieldSelect<T>;
3168
+ kbd?: T | ProseColorFieldSelect<T>;
3169
+ 'kbd-shadows'?: T | ProseColorFieldSelect<T>;
3170
+ code?: T | ProseColorFieldSelect<T>;
3171
+ 'pre-code'?: T | ProseColorFieldSelect<T>;
3172
+ 'pre-bg'?: T | ProseColorFieldSelect<T>;
3173
+ 'th-borders'?: T | ProseColorFieldSelect<T>;
3174
+ 'td-borders'?: T | ProseColorFieldSelect<T>;
3175
+ }
3176
+ /**
3177
+ * This interface was referenced by `Config`'s JSON-Schema
3178
+ * via the `definition` "ProseColorField_select".
3179
+ */
3180
+ export interface ProseColorFieldSelect<T extends boolean = true> {
3181
+ light?: T;
3182
+ dark?: T;
3183
+ }
3184
+ /**
3185
+ * This interface was referenced by `Config`'s JSON-Schema
3186
+ * via the `definition` "TypographyStyles_select".
3187
+ */
3188
+ export interface TypographyStylesSelect<T extends boolean = true> {
3189
+ tag?: T;
3190
+ psuedoClass?: T;
3191
+ values?:
3192
+ | T
3193
+ | {
3194
+ cssSelector?: T;
3195
+ value?: T;
3196
+ id?: T;
3197
+ };
3198
+ id?: T;
3199
+ }
3200
+ /**
3201
+ * This interface was referenced by `Config`'s JSON-Schema
3202
+ * via the `definition` "shortcutSet_select".
3203
+ */
3204
+ export interface ShortcutSetSelect<T extends boolean = true> {
3205
+ active?: T;
3206
+ title?: T;
3207
+ testPath?: T;
3208
+ shortcuts?:
3209
+ | T
3210
+ | {
3211
+ name?: T;
3212
+ ClassName?: T;
3213
+ id?: T;
3214
+ };
3215
+ defaultShortcuts?:
3216
+ | T
3217
+ | {
3218
+ name?: T;
3219
+ mod?: T;
3220
+ ClassName?: T;
3221
+ id?: T;
3222
+ };
3223
+ 'apf-classes'?: T;
3224
+ 'apf-active'?: T;
3225
+ updatedAt?: T;
3226
+ createdAt?: T;
3227
+ _status?: T;
3228
+ }
3229
+ /**
3230
+ * This interface was referenced by `Config`'s JSON-Schema
3231
+ * via the `definition` "posthogProperty_select".
3232
+ */
3233
+ export interface PosthogPropertySelect<T extends boolean = true> {
3234
+ title?: T;
3235
+ description?: T;
3236
+ purpose?: T;
3237
+ propertyFormal?: T;
3238
+ propertyObfuscated?: T;
3239
+ valueFormal?: T;
3240
+ valueObfuscated?: T;
3241
+ location?: T;
3242
+ updatedAt?: T;
3243
+ createdAt?: T;
3244
+ }
3245
+ /**
3246
+ * This interface was referenced by `Config`'s JSON-Schema
3247
+ * via the `definition` "mux-video_select".
3248
+ */
3249
+ export interface MuxVideoSelect<T extends boolean = true> {
3250
+ title?: T;
3251
+ assetId?: T;
3252
+ duration?: T;
3253
+ posterTimestamp?: T;
3254
+ aspectRatio?: T;
3255
+ maxWidth?: T;
3256
+ maxHeight?: T;
3257
+ playbackOptions?:
3258
+ | T
3259
+ | {
3260
+ playbackId?: T;
3261
+ playbackPolicy?: T;
3262
+ playbackUrl?: T;
3263
+ posterUrl?: T;
3264
+ gifUrl?: T;
3265
+ id?: T;
3266
+ };
3267
+ updatedAt?: T;
3268
+ createdAt?: T;
3269
+ }
3270
+ /**
3271
+ * This interface was referenced by `Config`'s JSON-Schema
3272
+ * via the `definition` "forms_select".
3273
+ */
3274
+ export interface FormsSelect<T extends boolean = true> {
3275
+ title?: T;
3276
+ emails?:
3277
+ | T
3278
+ | {
3279
+ emailTo?: T;
3280
+ cc?: T;
3281
+ bcc?: T;
3282
+ replyTo?: T;
3283
+ emailFrom?: T;
3284
+ subject?: T;
3285
+ message?: T;
3286
+ id?: T;
3287
+ };
3288
+ updatedAt?: T;
3289
+ createdAt?: T;
3290
+ }
3291
+ /**
3292
+ * This interface was referenced by `Config`'s JSON-Schema
3293
+ * via the `definition` "form-submissions_select".
3294
+ */
3295
+ export interface FormSubmissionsSelect<T extends boolean = true> {
3296
+ form?: T;
3297
+ submissionData?:
3298
+ | T
3299
+ | {
3300
+ field?: T;
3301
+ value?: T;
3302
+ id?: T;
3303
+ };
3304
+ updatedAt?: T;
3305
+ createdAt?: T;
3306
+ }
3307
+ /**
3308
+ * This interface was referenced by `Config`'s JSON-Schema
3309
+ * via the `definition` "payload-kv_select".
3310
+ */
3311
+ export interface PayloadKvSelect<T extends boolean = true> {
3312
+ key?: T;
3313
+ data?: T;
3314
+ }
3315
+ /**
3316
+ * This interface was referenced by `Config`'s JSON-Schema
3317
+ * via the `definition` "payload-jobs_select".
3318
+ */
3319
+ export interface PayloadJobsSelect<T extends boolean = true> {
3320
+ input?: T;
3321
+ taskStatus?: T;
3322
+ completedAt?: T;
3323
+ totalTried?: T;
3324
+ hasError?: T;
3325
+ error?: T;
3326
+ log?:
3327
+ | T
3328
+ | {
3329
+ executedAt?: T;
3330
+ completedAt?: T;
3331
+ taskSlug?: T;
3332
+ taskID?: T;
3333
+ input?: T;
3334
+ output?: T;
3335
+ state?: T;
3336
+ error?: T;
3337
+ id?: T;
3338
+ };
3339
+ taskSlug?: T;
3340
+ queue?: T;
3341
+ waitUntil?: T;
3342
+ processing?: T;
3343
+ updatedAt?: T;
3344
+ createdAt?: T;
3345
+ }
3346
+ /**
3347
+ * This interface was referenced by `Config`'s JSON-Schema
3348
+ * via the `definition` "payload-locked-documents_select".
3349
+ */
3350
+ export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
3351
+ document?: T;
3352
+ globalSlug?: T;
3353
+ user?: T;
3354
+ updatedAt?: T;
3355
+ createdAt?: T;
3356
+ }
3357
+ /**
3358
+ * This interface was referenced by `Config`'s JSON-Schema
3359
+ * via the `definition` "payload-preferences_select".
3360
+ */
3361
+ export interface PayloadPreferencesSelect<T extends boolean = true> {
3362
+ user?: T;
3363
+ key?: T;
3364
+ value?: T;
3365
+ updatedAt?: T;
3366
+ createdAt?: T;
3367
+ }
3368
+ /**
3369
+ * This interface was referenced by `Config`'s JSON-Schema
3370
+ * via the `definition` "payload-migrations_select".
3371
+ */
3372
+ export interface PayloadMigrationsSelect<T extends boolean = true> {
3373
+ name?: T;
3374
+ batch?: T;
3375
+ updatedAt?: T;
3376
+ createdAt?: T;
3377
+ }
3378
+ /**
3379
+ * This interface was referenced by `Config`'s JSON-Schema
3380
+ * via the `definition` "settings".
3381
+ */
3382
+ export interface Setting {
3383
+ id: string;
3384
+ /**
3385
+ * Settings for the draft version of the website.
3386
+ */
3387
+ draft: {
3388
+ /**
3389
+ * The version of the websites persistent data. Changing this will reset the store, except for the cookie consent preferences. Use this when you change actions and things aren't working as expected.
3390
+ */
3391
+ storeVersion: number;
3392
+ };
3393
+ /**
3394
+ * Settings for the published version of the website.
3395
+ */
3396
+ published: {
3397
+ /**
3398
+ * The version of the websites persistent data. Changing this will reset the store, except for the cookie consent preferences. Use this when you change actions and things aren't working as expected.
3399
+ */
3400
+ storeVersion: number;
3401
+ };
3402
+ _status?: ('draft' | 'published') | null;
3403
+ updatedAt?: string | null;
3404
+ createdAt?: string | null;
3405
+ }
3406
+ /**
3407
+ * This interface was referenced by `Config`'s JSON-Schema
3408
+ * via the `definition` "tracking".
3409
+ */
3410
+ export interface Tracking {
3411
+ id: string;
3412
+ googleTagManagerEnabled?: boolean | null;
3413
+ postHogEnabled?: boolean | null;
3414
+ vercelAnalyticsEnabled?: boolean | null;
3415
+ googleTagManagerId?: string | null;
3416
+ postHogPublicKey: string;
3417
+ postHogHost: string;
3418
+ enableAutoCapture?: boolean | null;
3419
+ disableSessionRecording?: boolean | null;
3420
+ disableSurveys?: boolean | null;
3421
+ capturePerformance?: boolean | null;
3422
+ postHogAutoCaptureSettings?: {
3423
+ urlAllowList?:
3424
+ | {
3425
+ url?: string | null;
3426
+ id?: string | null;
3427
+ }[]
3428
+ | null;
3429
+ urlIgnoreList?:
3430
+ | {
3431
+ url?: string | null;
3432
+ id?: string | null;
3433
+ }[]
3434
+ | null;
3435
+ };
3436
+ _status?: ('draft' | 'published') | null;
3437
+ updatedAt?: string | null;
3438
+ createdAt?: string | null;
3439
+ }
3440
+ /**
3441
+ * This interface was referenced by `Config`'s JSON-Schema
3442
+ * via the `definition` "siteMetaData".
3443
+ */
3444
+ export interface SiteMetaDatum {
3445
+ id: string;
3446
+ siteName?: string | null;
3447
+ fallbackSiteDescription?: string | null;
3448
+ fallbackOGImage?: (string | null) | Image;
3449
+ /**
3450
+ * Sets the favicon for the site.
3451
+ */
3452
+ fallbackLightFavicon?: (string | null) | Favicon;
3453
+ /**
3454
+ * Sets the favicon for the site.
3455
+ */
3456
+ fallbackDarkFavicon?: (string | null) | Favicon;
3457
+ 'apf-siteMetadata'?: boolean | null;
3458
+ _status?: ('draft' | 'published') | null;
3459
+ updatedAt?: string | null;
3460
+ createdAt?: string | null;
3461
+ }
3462
+ /**
3463
+ * This interface was referenced by `Config`'s JSON-Schema
3464
+ * via the `definition` "draftStorage".
3465
+ */
3466
+ export interface DraftStorage {
3467
+ id: string;
3468
+ cssSize: number;
3469
+ layoutCSS: string;
3470
+ updatedAt?: string | null;
3471
+ createdAt?: string | null;
3472
+ }
3473
+ /**
3474
+ * This interface was referenced by `Config`'s JSON-Schema
3475
+ * via the `definition` "publishedStorage".
3476
+ */
3477
+ export interface PublishedStorage {
3478
+ id: string;
3479
+ cssSize: number;
3480
+ layoutCSS: string;
3481
+ updatedAt?: string | null;
3482
+ createdAt?: string | null;
3483
+ }
3484
+ /**
3485
+ * This interface was referenced by `Config`'s JSON-Schema
3486
+ * via the `definition` "settings_select".
3487
+ */
3488
+ export interface SettingsSelect<T extends boolean = true> {
3489
+ draft?:
3490
+ | T
3491
+ | {
3492
+ storeVersion?: T;
3493
+ };
3494
+ published?:
3495
+ | T
3496
+ | {
3497
+ storeVersion?: T;
3498
+ };
3499
+ _status?: T;
3500
+ updatedAt?: T;
3501
+ createdAt?: T;
3502
+ globalType?: T;
3503
+ }
3504
+ /**
3505
+ * This interface was referenced by `Config`'s JSON-Schema
3506
+ * via the `definition` "tracking_select".
3507
+ */
3508
+ export interface TrackingSelect<T extends boolean = true> {
3509
+ googleTagManagerEnabled?: T;
3510
+ postHogEnabled?: T;
3511
+ vercelAnalyticsEnabled?: T;
3512
+ googleTagManagerId?: T;
3513
+ postHogPublicKey?: T;
3514
+ postHogHost?: T;
3515
+ enableAutoCapture?: T;
3516
+ disableSessionRecording?: T;
3517
+ disableSurveys?: T;
3518
+ capturePerformance?: T;
3519
+ postHogAutoCaptureSettings?:
3520
+ | T
3521
+ | {
3522
+ urlAllowList?:
3523
+ | T
3524
+ | {
3525
+ url?: T;
3526
+ id?: T;
3527
+ };
3528
+ urlIgnoreList?:
3529
+ | T
3530
+ | {
3531
+ url?: T;
3532
+ id?: T;
3533
+ };
3534
+ };
3535
+ _status?: T;
3536
+ updatedAt?: T;
3537
+ createdAt?: T;
3538
+ globalType?: T;
3539
+ }
3540
+ /**
3541
+ * This interface was referenced by `Config`'s JSON-Schema
3542
+ * via the `definition` "siteMetaData_select".
3543
+ */
3544
+ export interface SiteMetaDataSelect<T extends boolean = true> {
3545
+ siteName?: T;
3546
+ fallbackSiteDescription?: T;
3547
+ fallbackOGImage?: T;
3548
+ fallbackLightFavicon?: T;
3549
+ fallbackDarkFavicon?: T;
3550
+ 'apf-siteMetadata'?: T;
3551
+ _status?: T;
3552
+ updatedAt?: T;
3553
+ createdAt?: T;
3554
+ globalType?: T;
3555
+ }
3556
+ /**
3557
+ * This interface was referenced by `Config`'s JSON-Schema
3558
+ * via the `definition` "draftStorage_select".
3559
+ */
3560
+ export interface DraftStorageSelect<T extends boolean = true> {
3561
+ cssSize?: T;
3562
+ layoutCSS?: T;
3563
+ updatedAt?: T;
3564
+ createdAt?: T;
3565
+ globalType?: T;
3566
+ }
3567
+ /**
3568
+ * This interface was referenced by `Config`'s JSON-Schema
3569
+ * via the `definition` "publishedStorage_select".
3570
+ */
3571
+ export interface PublishedStorageSelect<T extends boolean = true> {
3572
+ cssSize?: T;
3573
+ layoutCSS?: T;
3574
+ updatedAt?: T;
3575
+ createdAt?: T;
3576
+ globalType?: T;
3577
+ }
3578
+ /**
3579
+ * This interface was referenced by `Config`'s JSON-Schema
3580
+ * via the `definition` "TaskSchedulePublish".
3581
+ */
3582
+ export interface TaskSchedulePublish {
3583
+ input: {
3584
+ type?: ('publish' | 'unpublish') | null;
3585
+ locale?: string | null;
3586
+ doc?:
3587
+ | ({
3588
+ relationTo: 'pages';
3589
+ value: string | Page;
3590
+ } | null)
3591
+ | ({
3592
+ relationTo: 'footer';
3593
+ value: string | Footer;
3594
+ } | null)
3595
+ | ({
3596
+ relationTo: 'header';
3597
+ value: string | Header;
3598
+ } | null)
3599
+ | ({
3600
+ relationTo: 'iconSet';
3601
+ value: string | IconSet;
3602
+ } | null)
3603
+ | ({
3604
+ relationTo: 'designSet';
3605
+ value: string | DesignSet;
3606
+ } | null)
3607
+ | ({
3608
+ relationTo: 'shortcutSet';
3609
+ value: string | ShortcutSet;
3610
+ } | null);
3611
+ global?: ('settings' | 'tracking' | 'siteMetaData') | null;
3612
+ user?: (string | null) | User;
3613
+ };
3614
+ output?: unknown;
3615
+ }
3616
+ /**
3617
+ * This interface was referenced by `Config`'s JSON-Schema
3618
+ * via the `definition` "auth".
3619
+ */
3620
+ export interface Auth {
3621
+ [k: string]: unknown;
3622
+ }
3623
+ /**
3624
+ * This interface was referenced by `Config`'s JSON-Schema
3625
+ * via the `definition` "AtomicRegistry".
3626
+ */
3627
+ export interface AtomicRegistry {
3628
+ RSS: RSS;
3629
+ SOSA: SOSA;
3630
+ RSRSS: RSRSS;
3631
+ RSSOSA: RSSOSA;
3632
+ UnoColors: UnoColors;
3633
+ DesignSetColors: DesignSetColors;
3634
+ TokenString?: TokenString;
3635
+ TokenStringArray?: TokenStringArray;
3636
+ UnoThemeAnimation: UnoThemeAnimation;
3637
+ TokenStorage: TokenStorage;
3638
+ ProseColorStorage: ProseColorStorage;
3639
+ CollectionThatUsesAtomicHookSlug: CollectionThatUsesAtomicHookSlug;
3640
+ CollectionWithStoredAtomicClassesSlug: CollectionWithStoredAtomicClassesSlug;
3641
+ CollectionThatUsesCSSProcessorSlug: CollectionThatUsesCSSProcessorSlug;
3642
+ CollectionWithStoredAtomicFormsSlug: CollectionWithStoredAtomicFormsSlug;
3643
+ CollectionWithStoredAtomicActionsSlug: CollectionWithStoredAtomicActionsSlug;
3644
+ ThemeKeys: ThemeKeys;
3645
+ ThemeListen: ThemeListen;
3646
+ ThemePerform: ThemePerform;
3647
+ CookieConsentPreferenceKeys: CookieConsentPreferenceKeys;
3648
+ CookieConsentListen: CookieConsentListen;
3649
+ CookieConsentPerform: CookieConsentPerform;
3650
+ ActionBlockType: ActionBlockType;
3651
+ RunSetCC: RunSetCC;
3652
+ RunSetTheme: RunSetTheme;
3653
+ RunResetForm: RunResetForm;
3654
+ RunSetBool: RunSetBool;
3655
+ RunSubmitForm: RunSubmitForm;
3656
+ RunCycleText: RunCycleText;
3657
+ Runner: Runner;
3658
+ Runners: Runners;
3659
+ RunnerType: RunnerType;
3660
+ AttCCToDA: AttCCToDA;
3661
+ AttBoolToDA: AttBoolToDA;
3662
+ AttTextToDA: AttTextToDA;
3663
+ AttFormErrorToDA: AttFormErrorToDA;
3664
+ AttFormStatusToDA: AttFormStatusToDA;
3665
+ Attributer: Attributer;
3666
+ Attributers: Attributers;
3667
+ AttributerType: AttributerType;
3668
+ InputSanitationBlockType: InputSanitationBlockType;
3669
+ InputValidationBlockType: InputValidationBlockType;
3670
+ FormRateLimitBlockType: FormRateLimitBlockType;
3671
+ FormSanitationBlockType: FormSanitationBlockType;
3672
+ FormValidationBlockType: FormValidationBlockType;
3673
+ ChildBlockType: ChildBlockType;
3674
+ NonRecursiveChildBlockType: NonRecursiveChildBlockType;
3675
+ BackdropChildSlug: BackdropChildSlug;
3676
+ ChildrenWithTriggerActions: ChildrenWithTriggerActions;
3677
+ ChildrenWithContentActions: ChildrenWithContentActions;
3678
+ ChildrenWithActions: ChildrenWithActions;
3679
+ }
3680
+
3681
+
3682
+ declare module 'payload' {
3683
+ export interface GeneratedTypes extends Config {}
3684
+ }