chaipro 0.1.0

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 (392) hide show
  1. package/README.md +36 -0
  2. package/dist/IconPicker-I7VNLYZ4.js +5 -0
  3. package/dist/actions-DM00SIUk.d.cts +899 -0
  4. package/dist/actions-DM00SIUk.d.ts +899 -0
  5. package/dist/actions-registery-SEJTZE5Q.js +1 -0
  6. package/dist/active-in-another-tab-SONDAONP.js +1 -0
  7. package/dist/add-new-language-page-TI6DUYYX.js +1 -0
  8. package/dist/add-new-page-LBHXICXO.js +1 -0
  9. package/dist/ai-block-floating-prompt-input-ESY5GQLZ.js +1 -0
  10. package/dist/ai-panel-content-62I6FDQF.css +1 -0
  11. package/dist/ai-panel-content-UZJZ463W.js +1 -0
  12. package/dist/ai-panel-default-lang-2ZXZYQRT.js +6 -0
  13. package/dist/ai-panel-default-lang-ETFOFFEF.css +1 -0
  14. package/dist/ai-panel-for-image-LADQP6VY.js +1 -0
  15. package/dist/ai-panel-other-lang-WDLC3M2M.js +1 -0
  16. package/dist/ai-panel-page-chat-7ZISZWY4.js +4 -0
  17. package/dist/ai-panel-page-chat-N4YFJGAM.css +1 -0
  18. package/dist/ai-prompt-input-CPT5ETQ4.js +1 -0
  19. package/dist/ai-theme-generator-7PS4BX52.js +1 -0
  20. package/dist/ai-translation-prompt-3VE2ECGR.js +1 -0
  21. package/dist/blocks-CMvgDlxw.d.ts +72 -0
  22. package/dist/blocks-CP-Pngaz.d.cts +72 -0
  23. package/dist/build-config-CCERdThN.d.ts +80 -0
  24. package/dist/build-config-DrerOPd9.d.cts +80 -0
  25. package/dist/builder.cjs +243 -0
  26. package/dist/builder.css +1 -0
  27. package/dist/builder.d.cts +352 -0
  28. package/dist/builder.d.ts +352 -0
  29. package/dist/builder.js +1 -0
  30. package/dist/chaibuilder-instance-DNz3Q-dY.d.cts +579 -0
  31. package/dist/chaibuilder-instance-qroszVwI.d.ts +579 -0
  32. package/dist/change-password-modal-NJL7ZLTY.js +1 -0
  33. package/dist/chunk-2AFM6557.js +3 -0
  34. package/dist/chunk-2N4IJZOR.js +1 -0
  35. package/dist/chunk-2NYUIXUX.js +1 -0
  36. package/dist/chunk-2PJZUYIZ.js +1 -0
  37. package/dist/chunk-32HH35VD.js +1 -0
  38. package/dist/chunk-346H4FEX.js +1 -0
  39. package/dist/chunk-34HIOUTE.js +1 -0
  40. package/dist/chunk-374QEK4F.js +1 -0
  41. package/dist/chunk-3E72DJSP.js +1 -0
  42. package/dist/chunk-3IT7IIAV.js +1 -0
  43. package/dist/chunk-3UEPBBE4.js +11 -0
  44. package/dist/chunk-3XSKJBPH.js +1 -0
  45. package/dist/chunk-45ELAD2J.js +1 -0
  46. package/dist/chunk-4JBHWPMO.js +1 -0
  47. package/dist/chunk-4P25MV5E.js +1 -0
  48. package/dist/chunk-4PQNBY3V.js +1 -0
  49. package/dist/chunk-4VNLL2IA.js +1 -0
  50. package/dist/chunk-55SU3QPU.js +1 -0
  51. package/dist/chunk-5ZC65NB6.js +1 -0
  52. package/dist/chunk-6M7V7BOM.js +1 -0
  53. package/dist/chunk-6TXCHU4K.js +1 -0
  54. package/dist/chunk-777N6WHB.js +1 -0
  55. package/dist/chunk-7C4EQOAR.js +12 -0
  56. package/dist/chunk-7EXZXKW2.js +1 -0
  57. package/dist/chunk-7QWMLDCG.js +1 -0
  58. package/dist/chunk-AOJE5WI3.js +1 -0
  59. package/dist/chunk-ATLMLDBS.js +1 -0
  60. package/dist/chunk-AVGF3YLU.js +17 -0
  61. package/dist/chunk-BQSLQHLD.js +1 -0
  62. package/dist/chunk-BWORNCTE.js +1 -0
  63. package/dist/chunk-BYGD5CDT.js +1 -0
  64. package/dist/chunk-CA5PVX24.js +1 -0
  65. package/dist/chunk-CFNOB42V.js +1 -0
  66. package/dist/chunk-CJP3BQH2.js +1 -0
  67. package/dist/chunk-CRJENCPR.js +1 -0
  68. package/dist/chunk-D5SKCKSB.js +1 -0
  69. package/dist/chunk-DZ72OHTD.js +1 -0
  70. package/dist/chunk-EPGOG22Q.js +0 -0
  71. package/dist/chunk-ERCY63ZW.js +1 -0
  72. package/dist/chunk-ESCX7KEH.js +1 -0
  73. package/dist/chunk-F2V4N3LT.js +156 -0
  74. package/dist/chunk-F7YMHPEA.js +1 -0
  75. package/dist/chunk-FERH2TPR.js +1 -0
  76. package/dist/chunk-FLSV2QGU.js +1 -0
  77. package/dist/chunk-FOKGOT6B.js +1 -0
  78. package/dist/chunk-GJOOCKUE.js +1 -0
  79. package/dist/chunk-HA7LF3RV.js +1 -0
  80. package/dist/chunk-HAKJOMCL.js +1 -0
  81. package/dist/chunk-HEKCKC7N.js +1 -0
  82. package/dist/chunk-HELRVKD2.js +3 -0
  83. package/dist/chunk-I7ODKVVX.js +1 -0
  84. package/dist/chunk-IAKCX2WB.js +1 -0
  85. package/dist/chunk-IB2C3TWH.js +1 -0
  86. package/dist/chunk-IH562KSP.js +1 -0
  87. package/dist/chunk-IP4JBQOX.js +1 -0
  88. package/dist/chunk-ITX7QWN6.js +1 -0
  89. package/dist/chunk-IUACZ3E6.js +6 -0
  90. package/dist/chunk-J7Q62EP7.js +1 -0
  91. package/dist/chunk-JBB5IJFA.js +1 -0
  92. package/dist/chunk-JPJRO4NU.js +1 -0
  93. package/dist/chunk-JUIS55JT.js +1 -0
  94. package/dist/chunk-JYBTQ3YX.js +5 -0
  95. package/dist/chunk-K5YWQY4U.js +1 -0
  96. package/dist/chunk-K6RHR4HT.js +1 -0
  97. package/dist/chunk-LNV5MRGV.js +1 -0
  98. package/dist/chunk-LRJREWRD.js +1 -0
  99. package/dist/chunk-LWYDGDPW.js +1 -0
  100. package/dist/chunk-MDMGXS5B.js +1 -0
  101. package/dist/chunk-MEROMQQX.js +1 -0
  102. package/dist/chunk-N7Z4RFFI.js +1 -0
  103. package/dist/chunk-NSQEQYEM.js +1 -0
  104. package/dist/chunk-OD3K76M6.js +1 -0
  105. package/dist/chunk-ODSL3KXG.js +1 -0
  106. package/dist/chunk-OJJDRACB.js +1 -0
  107. package/dist/chunk-ONSZ462E.js +1 -0
  108. package/dist/chunk-OQZ4EPOM.js +1 -0
  109. package/dist/chunk-OR7KKUYT.js +1 -0
  110. package/dist/chunk-OSGXFZTA.js +1 -0
  111. package/dist/chunk-PM3JNOZH.js +1 -0
  112. package/dist/chunk-PQHFT4TE.js +1 -0
  113. package/dist/chunk-QGVCH2NI.js +1 -0
  114. package/dist/chunk-QIGSSVEY.js +1 -0
  115. package/dist/chunk-R5ZTCDFD.js +1 -0
  116. package/dist/chunk-RBDZDQZR.js +1 -0
  117. package/dist/chunk-ROQRBSK6.js +1 -0
  118. package/dist/chunk-SSENH35Y.js +1 -0
  119. package/dist/chunk-SYPALJAE.js +1 -0
  120. package/dist/chunk-T2YYNX6Z.js +1 -0
  121. package/dist/chunk-T32TW3XV.js +1 -0
  122. package/dist/chunk-T56KQBE2.js +1 -0
  123. package/dist/chunk-TEL5ACJE.js +1 -0
  124. package/dist/chunk-TGJQC6VC.js +1 -0
  125. package/dist/chunk-TQ34DGOT.js +1 -0
  126. package/dist/chunk-TVF77C53.js +1 -0
  127. package/dist/chunk-UIDBBTCZ.js +3 -0
  128. package/dist/chunk-VKSRWZCO.js +1 -0
  129. package/dist/chunk-VL5WBPVV.js +1 -0
  130. package/dist/chunk-VUWHFLT7.js +22 -0
  131. package/dist/chunk-WEVKAJMV.js +1 -0
  132. package/dist/chunk-WHPIYGCY.js +1 -0
  133. package/dist/chunk-WNESLH23.js +1 -0
  134. package/dist/chunk-WOT6VMZA.js +1 -0
  135. package/dist/chunk-WSQ5SQBD.js +1 -0
  136. package/dist/chunk-XY4UJKHE.js +1 -0
  137. package/dist/chunk-Y2BHO7OO.js +1 -0
  138. package/dist/chunk-YDOQEFOK.js +1 -0
  139. package/dist/chunk-YEFMD4DS.js +1 -0
  140. package/dist/chunk-YQ5QQCRD.js +1 -0
  141. package/dist/chunk-YQPOFRXU.js +1 -0
  142. package/dist/chunk-YTPQSO7V.js +801 -0
  143. package/dist/chunk-ZAU65LBG.js +1 -0
  144. package/dist/chunk-ZRFCEMYU.js +1 -0
  145. package/dist/chunk-ZU2B5YT6.js +1 -0
  146. package/dist/chunk-ZXKKBKGV.js +1 -0
  147. package/dist/code-display-7346IUCO.js +1 -0
  148. package/dist/code-editor-UBGTTX2L.js +1 -0
  149. package/dist/components/ui/accordion.cjs +1 -0
  150. package/dist/components/ui/accordion.d.cts +9 -0
  151. package/dist/components/ui/accordion.d.ts +9 -0
  152. package/dist/components/ui/accordion.js +1 -0
  153. package/dist/components/ui/alert-dialog.cjs +1 -0
  154. package/dist/components/ui/alert-dialog.d.cts +23 -0
  155. package/dist/components/ui/alert-dialog.d.ts +23 -0
  156. package/dist/components/ui/alert-dialog.js +1 -0
  157. package/dist/components/ui/alert.cjs +1 -0
  158. package/dist/components/ui/alert.d.cts +11 -0
  159. package/dist/components/ui/alert.d.ts +11 -0
  160. package/dist/components/ui/alert.js +1 -0
  161. package/dist/components/ui/avatar.cjs +1 -0
  162. package/dist/components/ui/avatar.d.cts +8 -0
  163. package/dist/components/ui/avatar.d.ts +8 -0
  164. package/dist/components/ui/avatar.js +1 -0
  165. package/dist/components/ui/badge.cjs +1 -0
  166. package/dist/components/ui/badge.d.cts +13 -0
  167. package/dist/components/ui/badge.d.ts +13 -0
  168. package/dist/components/ui/badge.js +1 -0
  169. package/dist/components/ui/button.cjs +1 -0
  170. package/dist/components/ui/button.d.cts +15 -0
  171. package/dist/components/ui/button.d.ts +15 -0
  172. package/dist/components/ui/button.js +1 -0
  173. package/dist/components/ui/card.cjs +1 -0
  174. package/dist/components/ui/card.d.cts +10 -0
  175. package/dist/components/ui/card.d.ts +10 -0
  176. package/dist/components/ui/card.js +1 -0
  177. package/dist/components/ui/checkbox.cjs +1 -0
  178. package/dist/components/ui/checkbox.d.cts +6 -0
  179. package/dist/components/ui/checkbox.d.ts +6 -0
  180. package/dist/components/ui/checkbox.js +1 -0
  181. package/dist/components/ui/command.cjs +1 -0
  182. package/dist/components/ui/command.d.cts +83 -0
  183. package/dist/components/ui/command.d.ts +83 -0
  184. package/dist/components/ui/command.js +1 -0
  185. package/dist/components/ui/context-menu.cjs +1 -0
  186. package/dist/components/ui/context-menu.d.cts +30 -0
  187. package/dist/components/ui/context-menu.d.ts +30 -0
  188. package/dist/components/ui/context-menu.js +1 -0
  189. package/dist/components/ui/dialog.cjs +1 -0
  190. package/dist/components/ui/dialog.d.cts +22 -0
  191. package/dist/components/ui/dialog.d.ts +22 -0
  192. package/dist/components/ui/dialog.js +1 -0
  193. package/dist/components/ui/dropdown-menu.cjs +1 -0
  194. package/dist/components/ui/dropdown-menu.d.cts +30 -0
  195. package/dist/components/ui/dropdown-menu.d.ts +30 -0
  196. package/dist/components/ui/dropdown-menu.js +1 -0
  197. package/dist/components/ui/hover-card.cjs +1 -0
  198. package/dist/components/ui/hover-card.d.cts +8 -0
  199. package/dist/components/ui/hover-card.d.ts +8 -0
  200. package/dist/components/ui/hover-card.js +1 -0
  201. package/dist/components/ui/input.cjs +1 -0
  202. package/dist/components/ui/input.d.cts +5 -0
  203. package/dist/components/ui/input.d.ts +5 -0
  204. package/dist/components/ui/input.js +1 -0
  205. package/dist/components/ui/label.cjs +1 -0
  206. package/dist/components/ui/label.d.cts +8 -0
  207. package/dist/components/ui/label.d.ts +8 -0
  208. package/dist/components/ui/label.js +1 -0
  209. package/dist/components/ui/loader.cjs +1 -0
  210. package/dist/components/ui/loader.d.cts +12 -0
  211. package/dist/components/ui/loader.d.ts +12 -0
  212. package/dist/components/ui/loader.js +1 -0
  213. package/dist/components/ui/navigation-menu.cjs +1 -0
  214. package/dist/components/ui/navigation-menu.d.cts +15 -0
  215. package/dist/components/ui/navigation-menu.d.ts +15 -0
  216. package/dist/components/ui/navigation-menu.js +1 -0
  217. package/dist/components/ui/popover.cjs +1 -0
  218. package/dist/components/ui/popover.d.cts +9 -0
  219. package/dist/components/ui/popover.d.ts +9 -0
  220. package/dist/components/ui/popover.js +1 -0
  221. package/dist/components/ui/progress.cjs +1 -0
  222. package/dist/components/ui/progress.d.cts +8 -0
  223. package/dist/components/ui/progress.d.ts +8 -0
  224. package/dist/components/ui/progress.js +1 -0
  225. package/dist/components/ui/scroll-area.cjs +1 -0
  226. package/dist/components/ui/scroll-area.d.cts +7 -0
  227. package/dist/components/ui/scroll-area.d.ts +7 -0
  228. package/dist/components/ui/scroll-area.js +1 -0
  229. package/dist/components/ui/select.cjs +1 -0
  230. package/dist/components/ui/select.d.cts +15 -0
  231. package/dist/components/ui/select.d.ts +15 -0
  232. package/dist/components/ui/select.js +1 -0
  233. package/dist/components/ui/separator.cjs +1 -0
  234. package/dist/components/ui/separator.d.cts +6 -0
  235. package/dist/components/ui/separator.d.ts +6 -0
  236. package/dist/components/ui/separator.js +1 -0
  237. package/dist/components/ui/sheet.cjs +1 -0
  238. package/dist/components/ui/sheet.d.cts +29 -0
  239. package/dist/components/ui/sheet.d.ts +29 -0
  240. package/dist/components/ui/sheet.js +1 -0
  241. package/dist/components/ui/skeleton.cjs +1 -0
  242. package/dist/components/ui/skeleton.d.cts +5 -0
  243. package/dist/components/ui/skeleton.d.ts +5 -0
  244. package/dist/components/ui/skeleton.js +1 -0
  245. package/dist/components/ui/slider.cjs +1 -0
  246. package/dist/components/ui/slider.d.cts +6 -0
  247. package/dist/components/ui/slider.d.ts +6 -0
  248. package/dist/components/ui/slider.js +1 -0
  249. package/dist/components/ui/switch.cjs +1 -0
  250. package/dist/components/ui/switch.d.cts +9 -0
  251. package/dist/components/ui/switch.d.ts +9 -0
  252. package/dist/components/ui/switch.js +1 -0
  253. package/dist/components/ui/tabs.cjs +1 -0
  254. package/dist/components/ui/tabs.d.cts +9 -0
  255. package/dist/components/ui/tabs.d.ts +9 -0
  256. package/dist/components/ui/tabs.js +1 -0
  257. package/dist/components/ui/textarea.cjs +1 -0
  258. package/dist/components/ui/textarea.d.cts +5 -0
  259. package/dist/components/ui/textarea.d.ts +5 -0
  260. package/dist/components/ui/textarea.js +1 -0
  261. package/dist/components/ui/toggle.cjs +1 -0
  262. package/dist/components/ui/toggle.d.cts +15 -0
  263. package/dist/components/ui/toggle.d.ts +15 -0
  264. package/dist/components/ui/toggle.js +1 -0
  265. package/dist/components/ui/tooltip.cjs +1 -0
  266. package/dist/components/ui/tooltip.d.cts +9 -0
  267. package/dist/components/ui/tooltip.d.ts +9 -0
  268. package/dist/components/ui/tooltip.js +1 -0
  269. package/dist/config-registry-RSJCAKY5.js +1 -0
  270. package/dist/continue-editing-in-this-client-QBMOFRLL.js +1 -0
  271. package/dist/core-BNe4bA6z.d.cts +5455 -0
  272. package/dist/core-BNe4bA6z.d.ts +5455 -0
  273. package/dist/css-import-modal-NMFRQGCY.js +13 -0
  274. package/dist/db/better-sqlite3.cjs +1 -0
  275. package/dist/db/better-sqlite3.d.cts +16 -0
  276. package/dist/db/better-sqlite3.d.ts +16 -0
  277. package/dist/db/better-sqlite3.js +1 -0
  278. package/dist/db/d1.cjs +1 -0
  279. package/dist/db/d1.d.cts +17 -0
  280. package/dist/db/d1.d.ts +17 -0
  281. package/dist/db/d1.js +1 -0
  282. package/dist/db/libsql.cjs +1 -0
  283. package/dist/db/libsql.d.cts +23 -0
  284. package/dist/db/libsql.d.ts +23 -0
  285. package/dist/db/libsql.js +1 -0
  286. package/dist/db/node-pg.cjs +1 -0
  287. package/dist/db/node-pg.d.cts +21 -0
  288. package/dist/db/node-pg.d.ts +21 -0
  289. package/dist/db/node-pg.js +1 -0
  290. package/dist/db/postgres.cjs +1 -0
  291. package/dist/db/postgres.d.cts +28 -0
  292. package/dist/db/postgres.d.ts +28 -0
  293. package/dist/db/postgres.js +1 -0
  294. package/dist/delete-page-CGR6VXZC.css +1 -0
  295. package/dist/delete-page-FQYTEMBN.js +1 -0
  296. package/dist/digital-asset-manager-PIZMJEMX.js +1 -0
  297. package/dist/digital-asset-manager-PSTDGMY2.css +1 -0
  298. package/dist/dispatch-action-3IV56BNY.js +1 -0
  299. package/dist/duplicate-page-HPPMQRL3.js +1 -0
  300. package/dist/dynamic-page-selector-LFHJQLYY.js +1 -0
  301. package/dist/dynamic-page-selector-SXJQAIGL.css +1 -0
  302. package/dist/edit-url-panel-Q3NJCV55.js +1 -0
  303. package/dist/get-blocks-styles-SLZ5NDUF.js +1 -0
  304. package/dist/get-page-styles-Q4FWW5LX.js +1 -0
  305. package/dist/image-editor-PLXDYVKE.css +1 -0
  306. package/dist/image-editor-RSEHWRGV.js +1 -0
  307. package/dist/json-diff-viewer-FQYK2FUX.js +8 -0
  308. package/dist/lang-panel-57UGEL6B.css +1 -0
  309. package/dist/lang-panel-HH5LEOF4.js +1 -0
  310. package/dist/license-overlay-4Q525E53.js +1 -0
  311. package/dist/log-ai-request-LHPKU2C5.js +1 -0
  312. package/dist/manage-design-tokens-264H25A2.js +1 -0
  313. package/dist/manage-design-tokens-modal-OIWIZ53K.js +1 -0
  314. package/dist/mark-as-template-7TCCEMGC.js +1 -0
  315. package/dist/nested-path-selector-content-N4XN7QUS.js +1 -0
  316. package/dist/nextjs/render-client.cjs +1 -0
  317. package/dist/nextjs/render-client.css +1 -0
  318. package/dist/nextjs/render-client.d.cts +14 -0
  319. package/dist/nextjs/render-client.d.ts +14 -0
  320. package/dist/nextjs/render-client.js +1 -0
  321. package/dist/nextjs/render.cjs +829 -0
  322. package/dist/nextjs/render.d.cts +78 -0
  323. package/dist/nextjs/render.d.ts +78 -0
  324. package/dist/nextjs/render.js +1 -0
  325. package/dist/nextjs/server.cjs +807 -0
  326. package/dist/nextjs/server.d.cts +329 -0
  327. package/dist/nextjs/server.d.ts +329 -0
  328. package/dist/nextjs/server.js +1 -0
  329. package/dist/nextjs.cjs +1 -0
  330. package/dist/nextjs.d.cts +17 -0
  331. package/dist/nextjs.d.ts +17 -0
  332. package/dist/nextjs.js +1 -0
  333. package/dist/no-language-page-content-NQIROTIL.js +1 -0
  334. package/dist/no-language-page-dialog-CWG5PI7N.js +1 -0
  335. package/dist/page-creator-2L6L6EFV.js +1 -0
  336. package/dist/page-lock-7HMG34UJ.js +1 -0
  337. package/dist/page-locked-dialog-ACMWVAZX.js +1 -0
  338. package/dist/page-manager-new-SCZFNGKO.js +1 -0
  339. package/dist/page-manager-new-VWRASZTI.css +1 -0
  340. package/dist/page-manager-search-and-filter-7CHPYAPV.js +1 -0
  341. package/dist/page-manager-sheet-KZZBKQ6M.js +1 -0
  342. package/dist/page-manager-sheet-U5YEB5CS.css +1 -0
  343. package/dist/page-revisions-content-DHPEQ4CA.js +1 -0
  344. package/dist/page-revisions-trigger-XGC4HOTL.js +1 -0
  345. package/dist/pages-DlMX1Lj2.d.cts +21 -0
  346. package/dist/pages-Dol4CXrN.d.ts +21 -0
  347. package/dist/payload/builder.cjs +243 -0
  348. package/dist/payload/builder.css +1 -0
  349. package/dist/payload/builder.d.cts +13 -0
  350. package/dist/payload/builder.d.ts +13 -0
  351. package/dist/payload/builder.js +1 -0
  352. package/dist/payload.cjs +807 -0
  353. package/dist/payload.d.cts +603 -0
  354. package/dist/payload.d.ts +603 -0
  355. package/dist/payload.js +1 -0
  356. package/dist/preview-banner-SDDZGGRW.js +1 -0
  357. package/dist/publish-pages-content-3AZ45DYH.js +1 -0
  358. package/dist/registry.cjs +11 -0
  359. package/dist/registry.d.cts +74 -0
  360. package/dist/registry.d.ts +74 -0
  361. package/dist/registry.js +1 -0
  362. package/dist/relations-DDBTFCMR.js +1 -0
  363. package/dist/revalidate-G2DEOH4Z.js +1 -0
  364. package/dist/rte-widget-modal-7RXFEYHK.js +1 -0
  365. package/dist/save-to-lib-65EGTZE5.js +1 -0
  366. package/dist/schema-IVNMPI4V.js +1 -0
  367. package/dist/schema.sqlite-CYBLikNv.d.cts +5852 -0
  368. package/dist/schema.sqlite-CYBLikNv.d.ts +5852 -0
  369. package/dist/seo-panel-WQ47FNP4.css +1 -0
  370. package/dist/seo-panel-Z6OBXHQ4.js +2 -0
  371. package/dist/server-config-b29G6_aQ.d.cts +116 -0
  372. package/dist/server-config-oPlt3V1X.d.ts +116 -0
  373. package/dist/state-RAP56WXS.js +1 -0
  374. package/dist/take-over-request-EB464ZGU.js +1 -0
  375. package/dist/translation-warning-modal-EES6I2QV.js +1 -0
  376. package/dist/types.cjs +1 -0
  377. package/dist/types.d.cts +38 -0
  378. package/dist/types.d.ts +38 -0
  379. package/dist/types.js +1 -0
  380. package/dist/unmark-as-template-6STMTBP5.js +1 -0
  381. package/dist/unpublish-page-CE3CJK5C.js +1 -0
  382. package/dist/unpublished-partials-modal-OZBWBCLN.js +1 -0
  383. package/dist/utils.cjs +1 -0
  384. package/dist/utils.d.cts +168 -0
  385. package/dist/utils.d.ts +168 -0
  386. package/dist/utils.js +1 -0
  387. package/dist/web-blocks.cjs +1 -0
  388. package/dist/web-blocks.d.cts +3 -0
  389. package/dist/web-blocks.d.ts +3 -0
  390. package/dist/web-blocks.js +1 -0
  391. package/dist/web-preview-EIWOXGPY.js +1 -0
  392. package/package.json +322 -0
@@ -0,0 +1,579 @@
1
+ import { D as DbInstance, i as schema, C as ChaiDbContext, b as DbResult } from './core-BNe4bA6z.cjs';
2
+ import { z } from 'zod';
3
+ import { k as ChaiBlock, j as ChaiBaseSlugEntry, S as ChaiPageProps, R as ChaiPage, ab as ChaiWebsiteSetting, T as ChaiPageType, ac as CollectionConfig, a7 as ChaiTrashableEntity } from './actions-DM00SIUk.cjs';
4
+ import { C as ChaiFullPage } from './pages-DlMX1Lj2.cjs';
5
+ import { h as ResolvedChaiBuilderServerConfig, R as ResolvedChaiAIGlobalConfig } from './server-config-b29G6_aQ.cjs';
6
+
7
+ type ChaiPageMetadata = {
8
+ title?: string;
9
+ description?: string;
10
+ metadataBase?: URL;
11
+ openGraph?: {
12
+ title?: string;
13
+ description?: string;
14
+ images?: string[];
15
+ url?: string;
16
+ locale?: string;
17
+ };
18
+ alternates?: {
19
+ canonical?: string;
20
+ languages?: Record<string, string>;
21
+ };
22
+ robots?: {
23
+ index?: boolean;
24
+ follow?: boolean;
25
+ googleBot?: {
26
+ index?: boolean;
27
+ follow?: boolean;
28
+ };
29
+ };
30
+ other?: Record<string, string>;
31
+ };
32
+
33
+ type RoleEntry = {
34
+ id: string;
35
+ name: string;
36
+ permissions: string[];
37
+ isSystem: boolean;
38
+ createdAt: string;
39
+ };
40
+
41
+ type CreateRoleActionData = {
42
+ name: string;
43
+ permissions: string[];
44
+ };
45
+
46
+ type DeleteRoleActionData = {
47
+ name: string;
48
+ };
49
+
50
+ type GetRoleActionData = {
51
+ name: string;
52
+ };
53
+
54
+ type UpdateRoleActionData = {
55
+ name: string;
56
+ permissions: string[];
57
+ };
58
+
59
+ declare const GetAssetSchema: z.ZodObject<{
60
+ id: z.ZodString;
61
+ }, z.core.$strip>;
62
+ type GetAssetInput = z.infer<typeof GetAssetSchema>;
63
+
64
+ declare const SearchImagesSchema: z.ZodObject<{
65
+ query: z.ZodString;
66
+ page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
67
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
68
+ provider: z.ZodOptional<z.ZodString>;
69
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
70
+ }, z.core.$strip>;
71
+ type SearchImagesInput = z.infer<typeof SearchImagesSchema>;
72
+
73
+ declare const UpdateAssetSchema: z.ZodObject<{
74
+ id: z.ZodString;
75
+ file: z.ZodOptional<z.ZodString>;
76
+ description: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
77
+ }, z.core.$strip>;
78
+ type UpdateAssetInput = z.infer<typeof UpdateAssetSchema>;
79
+
80
+ /**
81
+ * Data type for DeleteLibraryItemAction
82
+ */
83
+ type DeleteLibraryItemActionData = {
84
+ id: string;
85
+ };
86
+
87
+ /**
88
+ * Data type for GetLibraryItemAction
89
+ */
90
+ type GetLibraryItemActionData = {
91
+ id: string;
92
+ };
93
+
94
+ /**
95
+ * Data type for GetLibraryItemsAction
96
+ */
97
+ type GetLibraryItemsActionData = {
98
+ id: string;
99
+ };
100
+
101
+ /**
102
+ * Data type for UpsertLibraryItemAction
103
+ */
104
+ type UpsertLibraryItemActionData = {
105
+ name: string;
106
+ group: string;
107
+ blocks: ChaiBlock[];
108
+ description?: string;
109
+ previewImage?: string;
110
+ id?: string;
111
+ previewImageUrl?: string;
112
+ };
113
+
114
+ /**
115
+ * Data type for CreatePageAction
116
+ */
117
+ type CreatePageActionData = {
118
+ name: string;
119
+ slug: string;
120
+ lang?: string;
121
+ primaryPage?: string | null;
122
+ pageType: string;
123
+ parent?: string | null;
124
+ dynamic?: boolean;
125
+ hasSlug?: boolean;
126
+ template?: string;
127
+ dynamicSlugCustom?: string;
128
+ seo?: Record<string, any>;
129
+ jsonLD?: Record<string, any>;
130
+ blocks?: ChaiBlock[];
131
+ /** AI-facing description, primarily used for partials. Stored in metadata.description. */
132
+ description?: string;
133
+ };
134
+
135
+ /**
136
+ * Data type for DeletePageAction
137
+ */
138
+ type DeletePageActionData = {
139
+ id: string;
140
+ permanent?: boolean;
141
+ };
142
+
143
+ /**
144
+ * Data type for DuplicatePageAction
145
+ */
146
+ type DuplicatePageActionData = {
147
+ pageId: string;
148
+ name: string;
149
+ slug?: string;
150
+ };
151
+
152
+ type GetWebsitePagesActionData = {
153
+ lang?: string;
154
+ };
155
+
156
+ /**
157
+ * Data type for TakeOfflineAction
158
+ */
159
+ type TakeOfflineActionData = {
160
+ id: string;
161
+ };
162
+
163
+ /**
164
+ * Data type for UpdatePageAction
165
+ */
166
+ type UpdatePageActionData = {
167
+ id: string;
168
+ blocks?: ChaiBlock[];
169
+ currentEditor?: string;
170
+ slug?: string;
171
+ name?: string;
172
+ seo?: Record<string, any>;
173
+ buildTime?: boolean;
174
+ parent?: string | null;
175
+ pageType?: string;
176
+ dynamic?: boolean;
177
+ dynamicSlugCustom?: string;
178
+ needTranslations?: boolean;
179
+ /** AI-facing description, primarily used for partials. Merged into metadata.description. */
180
+ description?: string;
181
+ metadata?: Record<string, unknown>;
182
+ links?: string;
183
+ partialBlocks?: string;
184
+ partialIds?: string[];
185
+ linkPageIds?: string[];
186
+ designTokens?: Record<string, Record<string, string>>;
187
+ tracking?: Record<string, any>;
188
+ addInRevision?: boolean;
189
+ };
190
+
191
+ /**
192
+ * Data type for UpdatePageMetadataAction
193
+ */
194
+ type UpdatePageMetadataActionData = {
195
+ id: string;
196
+ metadata: Record<string, unknown>;
197
+ };
198
+
199
+ /**
200
+ * Data type for DeletePageRevisionAction
201
+ */
202
+ type DeletePageRevisionActionData = {
203
+ revisionId: string;
204
+ };
205
+
206
+ /**
207
+ * Data type for GetPageRevisionsAction
208
+ */
209
+ type GetPageRevisionsActionData = {
210
+ pageId: string;
211
+ };
212
+
213
+ /**
214
+ * Data type for GenerateSeoFieldAction
215
+ */
216
+ type GetRevisionPageActionData = {
217
+ id: string;
218
+ type: "draft" | "live" | "revision";
219
+ lang?: string;
220
+ };
221
+
222
+ /**
223
+ * Data type for RestorePageAction
224
+ */
225
+ type RestorePageActionData = {
226
+ revisionId: string;
227
+ discardCurrent: boolean;
228
+ pageId?: string;
229
+ };
230
+
231
+ /**
232
+ * Data type for GetTemplatesByTypeAction
233
+ */
234
+ type GetTemplatesByTypeActionData = {
235
+ pageType: string;
236
+ };
237
+
238
+ /**
239
+ * Data type for MarkAsTemplateAction
240
+ */
241
+ type MarkAsTemplateActionData = {
242
+ id: string;
243
+ description?: string;
244
+ name: string;
245
+ pageType: string;
246
+ previewImage?: string;
247
+ previewImageUrl?: string;
248
+ };
249
+
250
+ /**
251
+ * Data type for UnmarkAsTemplateAction
252
+ */
253
+ type UnmarkAsTemplateActionData = {
254
+ id: string;
255
+ };
256
+
257
+ type DeletePermanentlyData = {
258
+ id: string;
259
+ };
260
+
261
+ type GetTrashedItemsData = {
262
+ page?: number;
263
+ limit?: number;
264
+ search?: string;
265
+ entityType?: string;
266
+ sortBy?: "deletedAt" | "name";
267
+ sortOrder?: "asc" | "desc";
268
+ };
269
+
270
+ type PermanentlyDeleteByDaysData = {
271
+ days: number;
272
+ };
273
+
274
+ type RestoreTrashedItemData = {
275
+ id: string;
276
+ };
277
+
278
+ type TrashEntityData = {
279
+ entityType: string;
280
+ ids: string[];
281
+ };
282
+
283
+ declare const getAsset: (data: GetAssetInput) => Promise<any>;
284
+ declare const getAssets: (data?: {
285
+ search?: string;
286
+ page?: number;
287
+ limit?: number;
288
+ }) => Promise<any>;
289
+ declare const searchImages: (data: SearchImagesInput) => Promise<any>;
290
+ declare const updateAsset: (data: UpdateAssetInput) => Promise<any>;
291
+ declare const createPage: (data: CreatePageActionData) => Promise<any>;
292
+ declare const deletePage: (data: DeletePageActionData) => Promise<any>;
293
+ declare const duplicatePage: (data: DuplicatePageActionData) => Promise<any>;
294
+ declare const getWebsitePages: (data: GetWebsitePagesActionData) => Promise<any>;
295
+ declare const takeOffline: (data: TakeOfflineActionData) => Promise<any>;
296
+ declare const updatePage: (data: UpdatePageActionData) => Promise<any>;
297
+ declare const updatePageMetadata: (data: UpdatePageMetadataActionData) => Promise<any>;
298
+ declare const getLibraries: () => Promise<any>;
299
+ declare const getLibraryGroups: () => Promise<any>;
300
+ declare const deleteLibraryItem: (data: DeleteLibraryItemActionData) => Promise<any>;
301
+ declare const getLibraryItem: (data: GetLibraryItemActionData) => Promise<any>;
302
+ declare const getLibraryItems: (data: GetLibraryItemsActionData) => Promise<any>;
303
+ declare const upsertLibraryItem: (data: UpsertLibraryItemActionData) => Promise<any>;
304
+ declare const getTemplatesByType: (data: GetTemplatesByTypeActionData) => Promise<any>;
305
+ declare const markAsTemplate: (data: MarkAsTemplateActionData) => Promise<any>;
306
+ declare const unmarkAsTemplate: (data: UnmarkAsTemplateActionData) => Promise<any>;
307
+ declare const deleteTrashedItemPermanently: (data: DeletePermanentlyData) => Promise<any>;
308
+ declare const getTrashedItems: (data: GetTrashedItemsData) => Promise<any>;
309
+ declare const permanentlyDeleteByDays: (data: PermanentlyDeleteByDaysData) => Promise<any>;
310
+ declare const restoreTrashedItem: (data: RestoreTrashedItemData) => Promise<any>;
311
+ declare const trashEntity: (data: TrashEntityData) => Promise<any>;
312
+ declare const deletePageRevision: (data: DeletePageRevisionActionData) => Promise<any>;
313
+ declare const getPageRevisions: (data: GetPageRevisionsActionData) => Promise<any>;
314
+ declare const getRevisionPage: (data: GetRevisionPageActionData) => Promise<any>;
315
+ declare const restorePage: (data: RestorePageActionData) => Promise<any>;
316
+
317
+ type HttpChaiActionBody = {
318
+ action: string;
319
+ data?: unknown;
320
+ };
321
+ type HandleHttpChaiActionOptions = {
322
+ catchAllRoute?: string[];
323
+ };
324
+ declare function handleHttpAction(body: HttpChaiActionBody, options?: HandleHttpChaiActionOptions): Promise<Response>;
325
+
326
+ type MetadataTransform = (metadata: ChaiPageMetadata, context: {
327
+ page: ChaiFullPage;
328
+ pageData: Record<string, unknown>;
329
+ settings: Record<string, unknown>;
330
+ seo: Record<string, any>;
331
+ }) => ChaiPageMetadata;
332
+ declare const generateMetaData: (params: {
333
+ page: ChaiFullPage;
334
+ pageData: Record<string, unknown>;
335
+ settings: Record<string, unknown>;
336
+ }, transform?: MetadataTransform) => ChaiPageMetadata;
337
+
338
+ declare const getBlocksStyles: (blocks: ChaiBlock[]) => Promise<string>;
339
+
340
+ declare const getClientSettings: (clientId: string) => Promise<any>;
341
+
342
+ type GetBaseSlugsOptions = {
343
+ /** When set, return only templates for this language (e.g. Payload locale). */
344
+ lang?: string;
345
+ /** When true, read draft `app_pages`; default false = published `app_pages_online`. */
346
+ draft?: boolean;
347
+ };
348
+ declare function getBaseSlugs(pageType: string, options?: GetBaseSlugsOptions): Promise<ChaiBaseSlugEntry[]>;
349
+
350
+ declare const getPage: (slug: string) => Promise<ChaiFullPage>;
351
+
352
+ declare const getSiteGlobalData: (lang: string) => Promise<Record<string, unknown>>;
353
+ declare const getDataByPageType: (args: {
354
+ pageType: string;
355
+ pageProps: ChaiPageProps;
356
+ lang: string;
357
+ }) => Promise<Record<string, unknown>>;
358
+ declare const getDataByCollections: (args: {
359
+ blocks: ChaiBlock[];
360
+ pageProps: ChaiPageProps;
361
+ lang: string;
362
+ }) => Promise<Record<string, unknown>>;
363
+ declare const getPageData: (args: {
364
+ blocks: ChaiBlock[];
365
+ pageProps: ChaiPageProps;
366
+ pageType: string;
367
+ lang: string;
368
+ }) => Promise<Record<string, unknown>>;
369
+
370
+ /**
371
+ * Lightweight helper for metadata generation that skips heavy operations:
372
+ * - No link resolution in blocks
373
+ * - No collection data fetching
374
+ * - Only fetches global data and page type data needed for SEO bindings
375
+ */
376
+ declare const getPageMetadataPayload: (slug: string) => Promise<{
377
+ page: {
378
+ fallbackLang: string;
379
+ breadcrumb: Array<Pick<ChaiPage, "id" | "name" | "slug" | "lang">>;
380
+ alternatePages: Array<Pick<ChaiPage, "id" | "name" | "slug" | "lang"> & {
381
+ primaryLang: boolean;
382
+ }>;
383
+ globalJsonLdsData?: any[];
384
+ tracking?: unknown;
385
+ } & Pick<ChaiPage, "id" | "lang" | "name" | "metadata" | "slug" | "pageType" | "parent" | "dynamic" | "seo" | "primaryPage" | "blocks" | "currentEditor" | "lastSaved" | "dynamicSlugCustom">;
386
+ settings: ChaiWebsiteSetting;
387
+ pageData: {
388
+ global: Record<string, unknown>;
389
+ };
390
+ }>;
391
+
392
+ declare const getPagePayload: (slug: string, customPageProps?: (page: ChaiFullPage, settings: any) => Partial<ChaiPageProps>) => Promise<{
393
+ page: {
394
+ blocks: ChaiBlock[];
395
+ fallbackLang: string;
396
+ breadcrumb: Array<Pick<ChaiPage, "id" | "name" | "slug" | "lang">>;
397
+ alternatePages: Array<Pick<ChaiPage, "id" | "name" | "slug" | "lang"> & {
398
+ primaryLang: boolean;
399
+ }>;
400
+ globalJsonLdsData?: any[];
401
+ tracking?: unknown;
402
+ id: string;
403
+ lang: string;
404
+ name: string;
405
+ metadata?: object | undefined;
406
+ slug: string;
407
+ pageType: string;
408
+ parent?: string | null | undefined;
409
+ dynamic: boolean;
410
+ seo: {
411
+ title?: string;
412
+ description?: string;
413
+ ogTitle?: string;
414
+ ogDescription?: string;
415
+ ogImage?: string;
416
+ canonicalUrl?: string;
417
+ noIndex?: boolean;
418
+ noFollow?: boolean;
419
+ jsonLD?: string;
420
+ };
421
+ primaryPage?: string | null | undefined;
422
+ currentEditor?: string | null | undefined;
423
+ lastSaved: string;
424
+ dynamicSlugCustom?: string | null | undefined;
425
+ };
426
+ settings: ChaiWebsiteSetting;
427
+ pageData: Record<string, unknown>;
428
+ pageProps: ChaiPageProps;
429
+ }>;
430
+
431
+ declare const getPageStyles: (pageId: string, blocks: ChaiBlock[]) => Promise<string>;
432
+
433
+ type GetPagesOptions = {
434
+ fields?: string[];
435
+ };
436
+ type PageResult = {
437
+ id: string;
438
+ slug: string;
439
+ updatedAt: string;
440
+ name: string;
441
+ lang: string;
442
+ [key: string]: any;
443
+ };
444
+ /**
445
+ * Get Pages - Public API
446
+ * Fetches all pages with specified fields, sorted by lastSaved (updatedAt)
447
+ * @param mode - "live" or "draft"
448
+ * @param options - Optional configuration with fields array
449
+ */
450
+ declare function getPages(mode: "live" | "draft", options?: GetPagesOptions): Promise<PageResult[]>;
451
+
452
+ type SiteDomains = {
453
+ subdomain: string;
454
+ domain: string | null;
455
+ domainConfigured: boolean;
456
+ };
457
+ declare const getSiteDomains: () => Promise<SiteDomains>;
458
+
459
+ declare const getSiteSettings: () => Promise<ChaiWebsiteSetting>;
460
+
461
+ declare function resolveLinkImpl(href: string, lang: string): Promise<string>;
462
+ declare const resolveLink: typeof resolveLinkImpl;
463
+
464
+ declare const resolveLinksInPageBlocks: (page: {
465
+ id: string;
466
+ blocks: ChaiBlock[];
467
+ lang?: string;
468
+ }, lang?: string) => Promise<ChaiBlock[]>;
469
+
470
+ type ChaiPageTypeEntry = ChaiPageType & {
471
+ partial?: boolean;
472
+ };
473
+ type ChaiCollectionEntry = CollectionConfig<any>;
474
+ type ChaiTrashEntry = ChaiTrashableEntity;
475
+ type ChaiRequestContext = {
476
+ appId: string;
477
+ userId?: string | null;
478
+ draft?: boolean;
479
+ siteUrl?: string | null;
480
+ lang?: string;
481
+ };
482
+ type ChaiGlobalDataProvider = (ctx: {
483
+ lang: string;
484
+ draft: boolean;
485
+ inBuilder: boolean;
486
+ }) => Promise<unknown>;
487
+ /**
488
+ * ChaiBuilder instance returned by getChaiBuilder.
489
+ * Method signatures are derived from the underlying API implementations.
490
+ */
491
+ interface ChaiBuilderInstance<TExtra extends Record<string, unknown> = Record<never, never>> {
492
+ config: Readonly<ResolvedChaiBuilderServerConfig & TExtra>;
493
+ getConfig<K extends string & keyof TExtra>(key: K): TExtra[K];
494
+ context: Readonly<ChaiRequestContext>;
495
+ readonly db: DbInstance;
496
+ readonly schema: typeof schema;
497
+ safeQuery: <T>(queryFn: (ctx: ChaiDbContext) => Promise<T>) => Promise<DbResult<T>>;
498
+ getPageType: (key: string) => ChaiPageTypeEntry | undefined;
499
+ getPageTypes: () => ChaiPageTypeEntry[];
500
+ getCollection: (id: string) => ChaiCollectionEntry | undefined;
501
+ getCollections: () => ChaiCollectionEntry[];
502
+ getTrashEntity: (key: string) => ChaiTrashEntry | undefined;
503
+ getAIConfig: () => ResolvedChaiAIGlobalConfig;
504
+ runPageRequest: <T>(fn: () => T | Promise<T>) => Promise<T>;
505
+ withRenderPhase: <T>(label: string, fn: () => T | Promise<T>, detail?: string) => Promise<T>;
506
+ runPageRender: <T>(slug: string, fn: () => T | Promise<T>) => Promise<T>;
507
+ getPage: typeof getPage;
508
+ getPagePayload: typeof getPagePayload;
509
+ getPageData: typeof getPageData;
510
+ generateMetaData: typeof generateMetaData;
511
+ getPageMetadataPayload: typeof getPageMetadataPayload;
512
+ getPages: typeof getPages;
513
+ getBaseSlugs: typeof getBaseSlugs;
514
+ getSiteGlobalData: typeof getSiteGlobalData;
515
+ getDataByPageType: typeof getDataByPageType;
516
+ getDataByCollections: typeof getDataByCollections;
517
+ getGlobalData: ChaiGlobalDataProvider;
518
+ getPageStyles: typeof getPageStyles;
519
+ getBlocksStyles: typeof getBlocksStyles;
520
+ resolveLink: typeof resolveLink;
521
+ resolveLinksInBlocks: typeof resolveLinksInPageBlocks;
522
+ getSiteSettings: typeof getSiteSettings;
523
+ getSiteDomains: typeof getSiteDomains;
524
+ getClientSettings: typeof getClientSettings;
525
+ runAction: <I = unknown, O = unknown>(name: string, input: I) => Promise<O>;
526
+ tryAction: <I = unknown, O = unknown>(name: string, input: I) => Promise<{
527
+ ok: true;
528
+ data: O;
529
+ } | {
530
+ ok: false;
531
+ error: {
532
+ code: string;
533
+ message: string;
534
+ status: number;
535
+ metadata?: Record<string, unknown>;
536
+ };
537
+ }>;
538
+ handleHttpAction: typeof handleHttpAction;
539
+ getAssets: typeof getAssets;
540
+ getAsset: typeof getAsset;
541
+ updateAsset: typeof updateAsset;
542
+ searchImages: typeof searchImages;
543
+ createPage: typeof createPage;
544
+ deletePage: typeof deletePage;
545
+ duplicatePage: typeof duplicatePage;
546
+ getWebsitePages: typeof getWebsitePages;
547
+ updatePage: typeof updatePage;
548
+ updatePageMetadata: typeof updatePageMetadata;
549
+ takeOffline: typeof takeOffline;
550
+ getLibraries: typeof getLibraries;
551
+ getLibraryGroups: typeof getLibraryGroups;
552
+ getLibraryItem: typeof getLibraryItem;
553
+ getLibraryItems: typeof getLibraryItems;
554
+ upsertLibraryItem: typeof upsertLibraryItem;
555
+ deleteLibraryItem: typeof deleteLibraryItem;
556
+ getTemplatesByType: typeof getTemplatesByType;
557
+ markAsTemplate: typeof markAsTemplate;
558
+ unmarkAsTemplate: typeof unmarkAsTemplate;
559
+ getTrashedItems: typeof getTrashedItems;
560
+ restoreTrashedItem: typeof restoreTrashedItem;
561
+ deleteTrashedItemPermanently: typeof deleteTrashedItemPermanently;
562
+ permanentlyDeleteByDays: typeof permanentlyDeleteByDays;
563
+ trashEntity: typeof trashEntity;
564
+ getPageRevisions: typeof getPageRevisions;
565
+ getRevisionPage: typeof getRevisionPage;
566
+ deletePageRevision: typeof deletePageRevision;
567
+ restorePage: typeof restorePage;
568
+ roles: {
569
+ getAll: () => Promise<RoleEntry[]>;
570
+ get: (data: GetRoleActionData) => Promise<RoleEntry | null>;
571
+ create: (data: CreateRoleActionData) => Promise<RoleEntry>;
572
+ update: (data: UpdateRoleActionData) => Promise<RoleEntry>;
573
+ delete: (data: DeleteRoleActionData) => Promise<{
574
+ deleted: boolean;
575
+ }>;
576
+ };
577
+ }
578
+
579
+ export type { ChaiBuilderInstance as C, ChaiPageMetadata as a };