@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,1436 @@
1
+ import type { Page } from '@/ts/types'
2
+
3
+ export const prosePage: Omit<Page, 'createdAt' | 'updatedAt' | 'publishedAt' | 'id'> = {
4
+ title: 'Prose',
5
+ slug: 'prose',
6
+ slugLock: true,
7
+ href: '/prose',
8
+ live: true,
9
+ mainClassName: 'page-main',
10
+
11
+ children: [
12
+ {
13
+ blockType: 'AtomicChild',
14
+ type: 'tag',
15
+ tagType: 'div',
16
+ ClassName: 'grid grid-cols-4 gap-4 divide-dashed divide-x',
17
+
18
+ children: [
19
+ {
20
+ blockType: 'AtomicChild',
21
+ type: 'tag',
22
+ tagType: 'div',
23
+ ClassName: 'flex flex-col p-2 divide-y',
24
+
25
+ children: [
26
+ {
27
+ blockType: 'SimpleTextChild',
28
+ tagType: 'h2',
29
+ ClassName: 'pb-2 text-brand-primary',
30
+ text: '"prose dark:prose-invert"',
31
+ id: '696e84fd958b03d39c9eea6f',
32
+
33
+ contentActions: {
34
+ actionBlocks: [],
35
+ },
36
+
37
+ staticDataAttributes: [],
38
+ },
39
+
40
+ {
41
+ blockType: 'RichTextChild',
42
+ ClassName: 'prose dark:prose-invert',
43
+
44
+ richText: {
45
+ root: {
46
+ children: [
47
+ {
48
+ children: [
49
+ {
50
+ detail: 0,
51
+ format: 0,
52
+ mode: 'normal',
53
+ style: '',
54
+ text: 'Header Two',
55
+ type: 'text',
56
+ version: 1,
57
+ },
58
+ ],
59
+ direction: null,
60
+ format: '',
61
+ indent: 0,
62
+ type: 'heading',
63
+ version: 1,
64
+ tag: 'h2',
65
+ },
66
+
67
+ {
68
+ children: [
69
+ {
70
+ detail: 0,
71
+ format: 0,
72
+ mode: 'normal',
73
+ style: '',
74
+ text: 'Header Three',
75
+ type: 'text',
76
+ version: 1,
77
+ },
78
+ ],
79
+ direction: null,
80
+ format: '',
81
+ indent: 0,
82
+ type: 'heading',
83
+ version: 1,
84
+ tag: 'h3',
85
+ },
86
+
87
+ {
88
+ children: [
89
+ {
90
+ detail: 0,
91
+ format: 0,
92
+ mode: 'normal',
93
+ style: '',
94
+ text: 'Header Four',
95
+ type: 'text',
96
+ version: 1,
97
+ },
98
+ ],
99
+ direction: null,
100
+ format: '',
101
+ indent: 0,
102
+ type: 'heading',
103
+ version: 1,
104
+ tag: 'h4',
105
+ },
106
+
107
+ {
108
+ children: [],
109
+ direction: null,
110
+ format: '',
111
+ indent: 0,
112
+ type: 'paragraph',
113
+ version: 1,
114
+ textFormat: 0,
115
+ textStyle: '',
116
+ },
117
+
118
+ {
119
+ children: [
120
+ {
121
+ children: [
122
+ {
123
+ detail: 0,
124
+ format: 0,
125
+ mode: 'normal',
126
+ style: '',
127
+ text: 'Ordered List',
128
+ type: 'text',
129
+ version: 1,
130
+ },
131
+ ],
132
+ direction: null,
133
+ format: '',
134
+ indent: 0,
135
+ type: 'listitem',
136
+ version: 1,
137
+ value: 1,
138
+ },
139
+
140
+ {
141
+ children: [
142
+ {
143
+ detail: 0,
144
+ format: 0,
145
+ mode: 'normal',
146
+ style: '',
147
+ text: 'Ordered List',
148
+ type: 'text',
149
+ version: 1,
150
+ },
151
+ ],
152
+ direction: null,
153
+ format: '',
154
+ indent: 0,
155
+ type: 'listitem',
156
+ version: 1,
157
+ value: 2,
158
+ },
159
+ ],
160
+ direction: null,
161
+ format: '',
162
+ indent: 0,
163
+ type: 'list',
164
+ version: 1,
165
+ listType: 'number',
166
+ start: 1,
167
+ tag: 'ol',
168
+ },
169
+
170
+ {
171
+ children: [],
172
+ direction: null,
173
+ format: '',
174
+ indent: 0,
175
+ type: 'paragraph',
176
+ version: 1,
177
+ textFormat: 0,
178
+ textStyle: '',
179
+ },
180
+
181
+ {
182
+ children: [
183
+ {
184
+ children: [
185
+ {
186
+ detail: 0,
187
+ format: 0,
188
+ mode: 'normal',
189
+ style: '',
190
+ text: 'Unordered List',
191
+ type: 'text',
192
+ version: 1,
193
+ },
194
+ ],
195
+ direction: null,
196
+ format: '',
197
+ indent: 0,
198
+ type: 'listitem',
199
+ version: 1,
200
+ value: 1,
201
+ },
202
+
203
+ {
204
+ children: [
205
+ {
206
+ detail: 0,
207
+ format: 0,
208
+ mode: 'normal',
209
+ style: '',
210
+ text: 'Unordered List',
211
+ type: 'text',
212
+ version: 1,
213
+ },
214
+ ],
215
+ direction: null,
216
+ format: '',
217
+ indent: 0,
218
+ type: 'listitem',
219
+ version: 1,
220
+ value: 2,
221
+ },
222
+ ],
223
+ direction: null,
224
+ format: '',
225
+ indent: 0,
226
+ type: 'list',
227
+ version: 1,
228
+ listType: 'bullet',
229
+ start: 1,
230
+ tag: 'ul',
231
+ },
232
+
233
+ {
234
+ children: [],
235
+ direction: null,
236
+ format: '',
237
+ indent: 0,
238
+ type: 'paragraph',
239
+ version: 1,
240
+ textFormat: 0,
241
+ textStyle: '',
242
+ },
243
+
244
+ {
245
+ children: [
246
+ {
247
+ detail: 0,
248
+ format: 0,
249
+ mode: 'normal',
250
+ style: '',
251
+ text: 'Blockquote',
252
+ type: 'text',
253
+ version: 1,
254
+ },
255
+ ],
256
+ direction: null,
257
+ format: '',
258
+ indent: 0,
259
+ type: 'quote',
260
+ version: 1,
261
+ },
262
+
263
+ {
264
+ children: [],
265
+ direction: null,
266
+ format: '',
267
+ indent: 0,
268
+ type: 'paragraph',
269
+ version: 1,
270
+ textFormat: 0,
271
+ textStyle: '',
272
+ },
273
+
274
+ {
275
+ children: [
276
+ {
277
+ children: [
278
+ {
279
+ detail: 0,
280
+ format: 0,
281
+ mode: 'normal',
282
+ style: '',
283
+ text: 'Link',
284
+ type: 'text',
285
+ version: 1,
286
+ },
287
+ ],
288
+ direction: null,
289
+ format: '',
290
+ indent: 0,
291
+ type: 'link',
292
+ version: 3,
293
+
294
+ fields: {
295
+ url: 'https://atomicpayload.com',
296
+ newTab: true,
297
+ linkType: 'custom',
298
+ },
299
+ id: '696e774b1afb0034478aaad7',
300
+ },
301
+ ],
302
+ direction: null,
303
+ format: '',
304
+ indent: 0,
305
+ type: 'paragraph',
306
+ version: 1,
307
+ textFormat: 0,
308
+ textStyle: '',
309
+ },
310
+ ],
311
+ direction: null,
312
+ format: '',
313
+ indent: 0,
314
+ type: 'root',
315
+ version: 1,
316
+ },
317
+ },
318
+ id: '696e8516958b03d39c9eea70',
319
+
320
+ staticDataAttributes: [],
321
+ },
322
+ ],
323
+ id: '696e84ea958b03d39c9eea6e',
324
+
325
+ triggerChildren: [],
326
+
327
+ triggerActions: {
328
+ actionBlocks: [],
329
+ },
330
+
331
+ contentActions: {
332
+ actionBlocks: [],
333
+ },
334
+
335
+ formRateLimitBlocks: [],
336
+
337
+ formSanitationBlocks: [],
338
+
339
+ formValidationBlocks: [],
340
+
341
+ inputSanitationBlocks: [],
342
+
343
+ inputValidationBlocks: [],
344
+
345
+ backdropChildren: [],
346
+
347
+ ds: {},
348
+
349
+ pops: {},
350
+
351
+ triggerStaticDataAttributes: [],
352
+
353
+ staticDataAttributes: [],
354
+ },
355
+
356
+ {
357
+ blockType: 'AtomicChild',
358
+ type: 'tag',
359
+ tagType: 'div',
360
+ ClassName: 'flex flex-col p-2 divide-y',
361
+
362
+ children: [
363
+ {
364
+ blockType: 'SimpleTextChild',
365
+ tagType: 'h2',
366
+ ClassName: 'pb-2 text-brand-primary',
367
+ text: '"prose dark:prose-invert prose-sm"',
368
+ id: '696e852c958b03d39c9eea72',
369
+
370
+ contentActions: {
371
+ actionBlocks: [],
372
+ },
373
+
374
+ staticDataAttributes: [],
375
+ },
376
+
377
+ {
378
+ blockType: 'RichTextChild',
379
+ ClassName: 'prose dark:prose-invert prose-sm',
380
+
381
+ richText: {
382
+ root: {
383
+ children: [
384
+ {
385
+ children: [
386
+ {
387
+ detail: 0,
388
+ format: 0,
389
+ mode: 'normal',
390
+ style: '',
391
+ text: 'Header Two',
392
+ type: 'text',
393
+ version: 1,
394
+ },
395
+ ],
396
+ direction: null,
397
+ format: '',
398
+ indent: 0,
399
+ type: 'heading',
400
+ version: 1,
401
+ tag: 'h2',
402
+ },
403
+
404
+ {
405
+ children: [
406
+ {
407
+ detail: 0,
408
+ format: 0,
409
+ mode: 'normal',
410
+ style: '',
411
+ text: 'Header Three',
412
+ type: 'text',
413
+ version: 1,
414
+ },
415
+ ],
416
+ direction: null,
417
+ format: '',
418
+ indent: 0,
419
+ type: 'heading',
420
+ version: 1,
421
+ tag: 'h3',
422
+ },
423
+
424
+ {
425
+ children: [
426
+ {
427
+ detail: 0,
428
+ format: 0,
429
+ mode: 'normal',
430
+ style: '',
431
+ text: 'Header Four',
432
+ type: 'text',
433
+ version: 1,
434
+ },
435
+ ],
436
+ direction: null,
437
+ format: '',
438
+ indent: 0,
439
+ type: 'heading',
440
+ version: 1,
441
+ tag: 'h4',
442
+ },
443
+
444
+ {
445
+ children: [],
446
+ direction: null,
447
+ format: '',
448
+ indent: 0,
449
+ type: 'paragraph',
450
+ version: 1,
451
+ textFormat: 0,
452
+ textStyle: '',
453
+ },
454
+
455
+ {
456
+ children: [
457
+ {
458
+ children: [
459
+ {
460
+ detail: 0,
461
+ format: 0,
462
+ mode: 'normal',
463
+ style: '',
464
+ text: 'Ordered List',
465
+ type: 'text',
466
+ version: 1,
467
+ },
468
+ ],
469
+ direction: null,
470
+ format: '',
471
+ indent: 0,
472
+ type: 'listitem',
473
+ version: 1,
474
+ value: 1,
475
+ },
476
+
477
+ {
478
+ children: [
479
+ {
480
+ detail: 0,
481
+ format: 0,
482
+ mode: 'normal',
483
+ style: '',
484
+ text: 'Ordered List',
485
+ type: 'text',
486
+ version: 1,
487
+ },
488
+ ],
489
+ direction: null,
490
+ format: '',
491
+ indent: 0,
492
+ type: 'listitem',
493
+ version: 1,
494
+ value: 2,
495
+ },
496
+ ],
497
+ direction: null,
498
+ format: '',
499
+ indent: 0,
500
+ type: 'list',
501
+ version: 1,
502
+ listType: 'number',
503
+ start: 1,
504
+ tag: 'ol',
505
+ },
506
+
507
+ {
508
+ children: [],
509
+ direction: null,
510
+ format: '',
511
+ indent: 0,
512
+ type: 'paragraph',
513
+ version: 1,
514
+ textFormat: 0,
515
+ textStyle: '',
516
+ },
517
+
518
+ {
519
+ children: [
520
+ {
521
+ children: [
522
+ {
523
+ detail: 0,
524
+ format: 0,
525
+ mode: 'normal',
526
+ style: '',
527
+ text: 'Unordered List',
528
+ type: 'text',
529
+ version: 1,
530
+ },
531
+ ],
532
+ direction: null,
533
+ format: '',
534
+ indent: 0,
535
+ type: 'listitem',
536
+ version: 1,
537
+ value: 1,
538
+ },
539
+
540
+ {
541
+ children: [
542
+ {
543
+ detail: 0,
544
+ format: 0,
545
+ mode: 'normal',
546
+ style: '',
547
+ text: 'Unordered List',
548
+ type: 'text',
549
+ version: 1,
550
+ },
551
+ ],
552
+ direction: null,
553
+ format: '',
554
+ indent: 0,
555
+ type: 'listitem',
556
+ version: 1,
557
+ value: 2,
558
+ },
559
+ ],
560
+ direction: null,
561
+ format: '',
562
+ indent: 0,
563
+ type: 'list',
564
+ version: 1,
565
+ listType: 'bullet',
566
+ start: 1,
567
+ tag: 'ul',
568
+ },
569
+
570
+ {
571
+ children: [],
572
+ direction: null,
573
+ format: '',
574
+ indent: 0,
575
+ type: 'paragraph',
576
+ version: 1,
577
+ textFormat: 0,
578
+ textStyle: '',
579
+ },
580
+
581
+ {
582
+ children: [
583
+ {
584
+ detail: 0,
585
+ format: 0,
586
+ mode: 'normal',
587
+ style: '',
588
+ text: 'Blockquote',
589
+ type: 'text',
590
+ version: 1,
591
+ },
592
+ ],
593
+ direction: null,
594
+ format: '',
595
+ indent: 0,
596
+ type: 'quote',
597
+ version: 1,
598
+ },
599
+
600
+ {
601
+ children: [],
602
+ direction: null,
603
+ format: '',
604
+ indent: 0,
605
+ type: 'paragraph',
606
+ version: 1,
607
+ textFormat: 0,
608
+ textStyle: '',
609
+ },
610
+
611
+ {
612
+ children: [
613
+ {
614
+ children: [
615
+ {
616
+ detail: 0,
617
+ format: 0,
618
+ mode: 'normal',
619
+ style: '',
620
+ text: 'Link',
621
+ type: 'text',
622
+ version: 1,
623
+ },
624
+ ],
625
+ direction: null,
626
+ format: '',
627
+ indent: 0,
628
+ type: 'link',
629
+ version: 3,
630
+
631
+ fields: {
632
+ url: 'https://atomicpayload.com',
633
+ newTab: true,
634
+ linkType: 'custom',
635
+ },
636
+ id: '696e774b1afb0034478aaad7',
637
+ },
638
+ ],
639
+ direction: null,
640
+ format: '',
641
+ indent: 0,
642
+ type: 'paragraph',
643
+ version: 1,
644
+ textFormat: 0,
645
+ textStyle: '',
646
+ },
647
+ ],
648
+ direction: null,
649
+ format: '',
650
+ indent: 0,
651
+ type: 'root',
652
+ version: 1,
653
+ },
654
+ },
655
+ id: '696e852c958b03d39c9eea73',
656
+
657
+ staticDataAttributes: [],
658
+ },
659
+ ],
660
+ id: '696e852c958b03d39c9eea71',
661
+
662
+ triggerChildren: [],
663
+
664
+ triggerActions: {
665
+ actionBlocks: [],
666
+ },
667
+
668
+ contentActions: {
669
+ actionBlocks: [],
670
+ },
671
+
672
+ formRateLimitBlocks: [],
673
+
674
+ formSanitationBlocks: [],
675
+
676
+ formValidationBlocks: [],
677
+
678
+ inputSanitationBlocks: [],
679
+
680
+ inputValidationBlocks: [],
681
+
682
+ backdropChildren: [],
683
+
684
+ ds: {},
685
+
686
+ pops: {},
687
+
688
+ triggerStaticDataAttributes: [],
689
+
690
+ staticDataAttributes: [],
691
+ },
692
+
693
+ {
694
+ blockType: 'AtomicChild',
695
+ type: 'tag',
696
+ tagType: 'div',
697
+ ClassName: 'flex flex-col p-2 divide-y',
698
+
699
+ children: [
700
+ {
701
+ blockType: 'SimpleTextChild',
702
+ tagType: 'h2',
703
+ ClassName: 'pb-2 text-brand-primary',
704
+ text: '"prose dark:prose-invert prose-base"',
705
+ id: '696e852e958b03d39c9eea75',
706
+
707
+ contentActions: {
708
+ actionBlocks: [],
709
+ },
710
+
711
+ staticDataAttributes: [],
712
+ },
713
+
714
+ {
715
+ blockType: 'RichTextChild',
716
+ ClassName: 'prose dark:prose-invert prose-base',
717
+
718
+ richText: {
719
+ root: {
720
+ children: [
721
+ {
722
+ children: [
723
+ {
724
+ detail: 0,
725
+ format: 0,
726
+ mode: 'normal',
727
+ style: '',
728
+ text: 'Header Two',
729
+ type: 'text',
730
+ version: 1,
731
+ },
732
+ ],
733
+ direction: null,
734
+ format: '',
735
+ indent: 0,
736
+ type: 'heading',
737
+ version: 1,
738
+ tag: 'h2',
739
+ },
740
+
741
+ {
742
+ children: [
743
+ {
744
+ detail: 0,
745
+ format: 0,
746
+ mode: 'normal',
747
+ style: '',
748
+ text: 'Header Three',
749
+ type: 'text',
750
+ version: 1,
751
+ },
752
+ ],
753
+ direction: null,
754
+ format: '',
755
+ indent: 0,
756
+ type: 'heading',
757
+ version: 1,
758
+ tag: 'h3',
759
+ },
760
+
761
+ {
762
+ children: [
763
+ {
764
+ detail: 0,
765
+ format: 0,
766
+ mode: 'normal',
767
+ style: '',
768
+ text: 'Header Four',
769
+ type: 'text',
770
+ version: 1,
771
+ },
772
+ ],
773
+ direction: null,
774
+ format: '',
775
+ indent: 0,
776
+ type: 'heading',
777
+ version: 1,
778
+ tag: 'h4',
779
+ },
780
+
781
+ {
782
+ children: [],
783
+ direction: null,
784
+ format: '',
785
+ indent: 0,
786
+ type: 'paragraph',
787
+ version: 1,
788
+ textFormat: 0,
789
+ textStyle: '',
790
+ },
791
+
792
+ {
793
+ children: [
794
+ {
795
+ children: [
796
+ {
797
+ detail: 0,
798
+ format: 0,
799
+ mode: 'normal',
800
+ style: '',
801
+ text: 'Ordered List',
802
+ type: 'text',
803
+ version: 1,
804
+ },
805
+ ],
806
+ direction: null,
807
+ format: '',
808
+ indent: 0,
809
+ type: 'listitem',
810
+ version: 1,
811
+ value: 1,
812
+ },
813
+
814
+ {
815
+ children: [
816
+ {
817
+ detail: 0,
818
+ format: 0,
819
+ mode: 'normal',
820
+ style: '',
821
+ text: 'Ordered List',
822
+ type: 'text',
823
+ version: 1,
824
+ },
825
+ ],
826
+ direction: null,
827
+ format: '',
828
+ indent: 0,
829
+ type: 'listitem',
830
+ version: 1,
831
+ value: 2,
832
+ },
833
+ ],
834
+ direction: null,
835
+ format: '',
836
+ indent: 0,
837
+ type: 'list',
838
+ version: 1,
839
+ listType: 'number',
840
+ start: 1,
841
+ tag: 'ol',
842
+ },
843
+
844
+ {
845
+ children: [],
846
+ direction: null,
847
+ format: '',
848
+ indent: 0,
849
+ type: 'paragraph',
850
+ version: 1,
851
+ textFormat: 0,
852
+ textStyle: '',
853
+ },
854
+
855
+ {
856
+ children: [
857
+ {
858
+ children: [
859
+ {
860
+ detail: 0,
861
+ format: 0,
862
+ mode: 'normal',
863
+ style: '',
864
+ text: 'Unordered List',
865
+ type: 'text',
866
+ version: 1,
867
+ },
868
+ ],
869
+ direction: null,
870
+ format: '',
871
+ indent: 0,
872
+ type: 'listitem',
873
+ version: 1,
874
+ value: 1,
875
+ },
876
+
877
+ {
878
+ children: [
879
+ {
880
+ detail: 0,
881
+ format: 0,
882
+ mode: 'normal',
883
+ style: '',
884
+ text: 'Unordered List',
885
+ type: 'text',
886
+ version: 1,
887
+ },
888
+ ],
889
+ direction: null,
890
+ format: '',
891
+ indent: 0,
892
+ type: 'listitem',
893
+ version: 1,
894
+ value: 2,
895
+ },
896
+ ],
897
+ direction: null,
898
+ format: '',
899
+ indent: 0,
900
+ type: 'list',
901
+ version: 1,
902
+ listType: 'bullet',
903
+ start: 1,
904
+ tag: 'ul',
905
+ },
906
+
907
+ {
908
+ children: [],
909
+ direction: null,
910
+ format: '',
911
+ indent: 0,
912
+ type: 'paragraph',
913
+ version: 1,
914
+ textFormat: 0,
915
+ textStyle: '',
916
+ },
917
+
918
+ {
919
+ children: [
920
+ {
921
+ detail: 0,
922
+ format: 0,
923
+ mode: 'normal',
924
+ style: '',
925
+ text: 'Blockquote',
926
+ type: 'text',
927
+ version: 1,
928
+ },
929
+ ],
930
+ direction: null,
931
+ format: '',
932
+ indent: 0,
933
+ type: 'quote',
934
+ version: 1,
935
+ },
936
+
937
+ {
938
+ children: [],
939
+ direction: null,
940
+ format: '',
941
+ indent: 0,
942
+ type: 'paragraph',
943
+ version: 1,
944
+ textFormat: 0,
945
+ textStyle: '',
946
+ },
947
+
948
+ {
949
+ children: [
950
+ {
951
+ children: [
952
+ {
953
+ detail: 0,
954
+ format: 0,
955
+ mode: 'normal',
956
+ style: '',
957
+ text: 'Link',
958
+ type: 'text',
959
+ version: 1,
960
+ },
961
+ ],
962
+ direction: null,
963
+ format: '',
964
+ indent: 0,
965
+ type: 'link',
966
+ version: 3,
967
+
968
+ fields: {
969
+ url: 'https://atomicpayload.com',
970
+ newTab: true,
971
+ linkType: 'custom',
972
+ },
973
+ id: '696e774b1afb0034478aaad7',
974
+ },
975
+ ],
976
+ direction: null,
977
+ format: '',
978
+ indent: 0,
979
+ type: 'paragraph',
980
+ version: 1,
981
+ textFormat: 0,
982
+ textStyle: '',
983
+ },
984
+ ],
985
+ direction: null,
986
+ format: '',
987
+ indent: 0,
988
+ type: 'root',
989
+ version: 1,
990
+ },
991
+ },
992
+ id: '696e852e958b03d39c9eea76',
993
+
994
+ staticDataAttributes: [],
995
+ },
996
+ ],
997
+ id: '696e852e958b03d39c9eea74',
998
+
999
+ triggerChildren: [],
1000
+
1001
+ triggerActions: {
1002
+ actionBlocks: [],
1003
+ },
1004
+
1005
+ contentActions: {
1006
+ actionBlocks: [],
1007
+ },
1008
+
1009
+ formRateLimitBlocks: [],
1010
+
1011
+ formSanitationBlocks: [],
1012
+
1013
+ formValidationBlocks: [],
1014
+
1015
+ inputSanitationBlocks: [],
1016
+
1017
+ inputValidationBlocks: [],
1018
+
1019
+ backdropChildren: [],
1020
+
1021
+ ds: {},
1022
+
1023
+ pops: {},
1024
+
1025
+ triggerStaticDataAttributes: [],
1026
+
1027
+ staticDataAttributes: [],
1028
+ },
1029
+
1030
+ {
1031
+ blockType: 'AtomicChild',
1032
+ type: 'tag',
1033
+ tagType: 'div',
1034
+ ClassName: 'flex flex-col p-2 divide-y',
1035
+
1036
+ children: [
1037
+ {
1038
+ blockType: 'SimpleTextChild',
1039
+ tagType: 'h2',
1040
+ ClassName: 'pb-2 text-brand-primary',
1041
+ text: '"prose dark:prose-invert prose-lg"',
1042
+ id: '696e852f958b03d39c9eea78',
1043
+
1044
+ contentActions: {
1045
+ actionBlocks: [],
1046
+ },
1047
+
1048
+ staticDataAttributes: [],
1049
+ },
1050
+
1051
+ {
1052
+ blockType: 'RichTextChild',
1053
+ ClassName: 'prose dark:prose-invert prose-lg',
1054
+
1055
+ richText: {
1056
+ root: {
1057
+ children: [
1058
+ {
1059
+ children: [
1060
+ {
1061
+ detail: 0,
1062
+ format: 0,
1063
+ mode: 'normal',
1064
+ style: '',
1065
+ text: 'Header Two',
1066
+ type: 'text',
1067
+ version: 1,
1068
+ },
1069
+ ],
1070
+ direction: null,
1071
+ format: '',
1072
+ indent: 0,
1073
+ type: 'heading',
1074
+ version: 1,
1075
+ tag: 'h2',
1076
+ },
1077
+
1078
+ {
1079
+ children: [
1080
+ {
1081
+ detail: 0,
1082
+ format: 0,
1083
+ mode: 'normal',
1084
+ style: '',
1085
+ text: 'Header Three',
1086
+ type: 'text',
1087
+ version: 1,
1088
+ },
1089
+ ],
1090
+ direction: null,
1091
+ format: '',
1092
+ indent: 0,
1093
+ type: 'heading',
1094
+ version: 1,
1095
+ tag: 'h3',
1096
+ },
1097
+
1098
+ {
1099
+ children: [
1100
+ {
1101
+ detail: 0,
1102
+ format: 0,
1103
+ mode: 'normal',
1104
+ style: '',
1105
+ text: 'Header Four',
1106
+ type: 'text',
1107
+ version: 1,
1108
+ },
1109
+ ],
1110
+ direction: null,
1111
+ format: '',
1112
+ indent: 0,
1113
+ type: 'heading',
1114
+ version: 1,
1115
+ tag: 'h4',
1116
+ },
1117
+
1118
+ {
1119
+ children: [],
1120
+ direction: null,
1121
+ format: '',
1122
+ indent: 0,
1123
+ type: 'paragraph',
1124
+ version: 1,
1125
+ textFormat: 0,
1126
+ textStyle: '',
1127
+ },
1128
+
1129
+ {
1130
+ children: [
1131
+ {
1132
+ children: [
1133
+ {
1134
+ detail: 0,
1135
+ format: 0,
1136
+ mode: 'normal',
1137
+ style: '',
1138
+ text: 'Ordered List',
1139
+ type: 'text',
1140
+ version: 1,
1141
+ },
1142
+ ],
1143
+ direction: null,
1144
+ format: '',
1145
+ indent: 0,
1146
+ type: 'listitem',
1147
+ version: 1,
1148
+ value: 1,
1149
+ },
1150
+
1151
+ {
1152
+ children: [
1153
+ {
1154
+ detail: 0,
1155
+ format: 0,
1156
+ mode: 'normal',
1157
+ style: '',
1158
+ text: 'Ordered List',
1159
+ type: 'text',
1160
+ version: 1,
1161
+ },
1162
+ ],
1163
+ direction: null,
1164
+ format: '',
1165
+ indent: 0,
1166
+ type: 'listitem',
1167
+ version: 1,
1168
+ value: 2,
1169
+ },
1170
+ ],
1171
+ direction: null,
1172
+ format: '',
1173
+ indent: 0,
1174
+ type: 'list',
1175
+ version: 1,
1176
+ listType: 'number',
1177
+ start: 1,
1178
+ tag: 'ol',
1179
+ },
1180
+
1181
+ {
1182
+ children: [],
1183
+ direction: null,
1184
+ format: '',
1185
+ indent: 0,
1186
+ type: 'paragraph',
1187
+ version: 1,
1188
+ textFormat: 0,
1189
+ textStyle: '',
1190
+ },
1191
+
1192
+ {
1193
+ children: [
1194
+ {
1195
+ children: [
1196
+ {
1197
+ detail: 0,
1198
+ format: 0,
1199
+ mode: 'normal',
1200
+ style: '',
1201
+ text: 'Unordered List',
1202
+ type: 'text',
1203
+ version: 1,
1204
+ },
1205
+ ],
1206
+ direction: null,
1207
+ format: '',
1208
+ indent: 0,
1209
+ type: 'listitem',
1210
+ version: 1,
1211
+ value: 1,
1212
+ },
1213
+
1214
+ {
1215
+ children: [
1216
+ {
1217
+ detail: 0,
1218
+ format: 0,
1219
+ mode: 'normal',
1220
+ style: '',
1221
+ text: 'Unordered List',
1222
+ type: 'text',
1223
+ version: 1,
1224
+ },
1225
+ ],
1226
+ direction: null,
1227
+ format: '',
1228
+ indent: 0,
1229
+ type: 'listitem',
1230
+ version: 1,
1231
+ value: 2,
1232
+ },
1233
+ ],
1234
+ direction: null,
1235
+ format: '',
1236
+ indent: 0,
1237
+ type: 'list',
1238
+ version: 1,
1239
+ listType: 'bullet',
1240
+ start: 1,
1241
+ tag: 'ul',
1242
+ },
1243
+
1244
+ {
1245
+ children: [],
1246
+ direction: null,
1247
+ format: '',
1248
+ indent: 0,
1249
+ type: 'paragraph',
1250
+ version: 1,
1251
+ textFormat: 0,
1252
+ textStyle: '',
1253
+ },
1254
+
1255
+ {
1256
+ children: [
1257
+ {
1258
+ detail: 0,
1259
+ format: 0,
1260
+ mode: 'normal',
1261
+ style: '',
1262
+ text: 'Blockquote',
1263
+ type: 'text',
1264
+ version: 1,
1265
+ },
1266
+ ],
1267
+ direction: null,
1268
+ format: '',
1269
+ indent: 0,
1270
+ type: 'quote',
1271
+ version: 1,
1272
+ },
1273
+
1274
+ {
1275
+ children: [],
1276
+ direction: null,
1277
+ format: '',
1278
+ indent: 0,
1279
+ type: 'paragraph',
1280
+ version: 1,
1281
+ textFormat: 0,
1282
+ textStyle: '',
1283
+ },
1284
+
1285
+ {
1286
+ children: [
1287
+ {
1288
+ children: [
1289
+ {
1290
+ detail: 0,
1291
+ format: 0,
1292
+ mode: 'normal',
1293
+ style: '',
1294
+ text: 'Link',
1295
+ type: 'text',
1296
+ version: 1,
1297
+ },
1298
+ ],
1299
+ direction: null,
1300
+ format: '',
1301
+ indent: 0,
1302
+ type: 'link',
1303
+ version: 3,
1304
+
1305
+ fields: {
1306
+ url: 'https://atomicpayload.com',
1307
+ newTab: true,
1308
+ linkType: 'custom',
1309
+ },
1310
+ id: '696e774b1afb0034478aaad7',
1311
+ },
1312
+ ],
1313
+ direction: null,
1314
+ format: '',
1315
+ indent: 0,
1316
+ type: 'paragraph',
1317
+ version: 1,
1318
+ textFormat: 0,
1319
+ textStyle: '',
1320
+ },
1321
+ ],
1322
+ direction: null,
1323
+ format: '',
1324
+ indent: 0,
1325
+ type: 'root',
1326
+ version: 1,
1327
+ },
1328
+ },
1329
+ id: '696e852f958b03d39c9eea79',
1330
+
1331
+ staticDataAttributes: [],
1332
+ },
1333
+ ],
1334
+ id: '696e852f958b03d39c9eea77',
1335
+
1336
+ triggerChildren: [],
1337
+
1338
+ triggerActions: {
1339
+ actionBlocks: [],
1340
+ },
1341
+
1342
+ contentActions: {
1343
+ actionBlocks: [],
1344
+ },
1345
+
1346
+ formRateLimitBlocks: [],
1347
+
1348
+ formSanitationBlocks: [],
1349
+
1350
+ formValidationBlocks: [],
1351
+
1352
+ inputSanitationBlocks: [],
1353
+
1354
+ inputValidationBlocks: [],
1355
+
1356
+ backdropChildren: [],
1357
+
1358
+ ds: {},
1359
+
1360
+ pops: {},
1361
+
1362
+ triggerStaticDataAttributes: [],
1363
+
1364
+ staticDataAttributes: [],
1365
+ },
1366
+ ],
1367
+ id: '696e84de958b03d39c9eea6d',
1368
+
1369
+ triggerChildren: [],
1370
+
1371
+ triggerActions: {
1372
+ actionBlocks: [],
1373
+ },
1374
+
1375
+ contentActions: {
1376
+ actionBlocks: [],
1377
+ },
1378
+
1379
+ formRateLimitBlocks: [],
1380
+
1381
+ formSanitationBlocks: [],
1382
+
1383
+ formValidationBlocks: [],
1384
+
1385
+ inputSanitationBlocks: [],
1386
+
1387
+ inputValidationBlocks: [],
1388
+
1389
+ backdropChildren: [],
1390
+
1391
+ ds: {},
1392
+
1393
+ pops: {},
1394
+
1395
+ triggerStaticDataAttributes: [],
1396
+
1397
+ staticDataAttributes: [],
1398
+ },
1399
+ ],
1400
+
1401
+ meta: {
1402
+ noIndex: false,
1403
+ priority: 0.5,
1404
+ },
1405
+ devMode: false,
1406
+
1407
+ breadcrumbs: [
1408
+ {
1409
+ doc: '696e7462ddb913b4400af4f3',
1410
+ url: '/prose',
1411
+ label: '/prose',
1412
+ id: '696e7462804f41182c29e7fa',
1413
+ },
1414
+ ],
1415
+ _status: 'published',
1416
+
1417
+ storedAtomicClasses: [
1418
+ 'page-main',
1419
+ 'prose',
1420
+ 'dark:prose-invert',
1421
+ 'grid',
1422
+ 'grid-cols-4',
1423
+ 'gap-4',
1424
+ 'divide-dashed',
1425
+ 'divide-x',
1426
+ 'flex',
1427
+ 'flex-col',
1428
+ 'p-2',
1429
+ 'divide-y',
1430
+ 'pb-2',
1431
+ 'text-brand-primary',
1432
+ 'prose-sm',
1433
+ 'prose-base',
1434
+ 'prose-lg',
1435
+ ],
1436
+ }