nucleus-core-ts 0.8.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 (415) hide show
  1. package/LICENSE +48 -0
  2. package/README.md +177 -0
  3. package/dist/client.d.ts +2 -0
  4. package/dist/client.js +1 -0
  5. package/dist/dist/index-0yyw12k6.d.ts +8 -0
  6. package/dist/dist/index-tv67j5qd.d.ts +488 -0
  7. package/dist/dist/index.d.ts +40 -0
  8. package/dist/fe/components/AbstractAnimatedBackground/index.d.ts +7 -0
  9. package/dist/fe/components/AuthorizationPage/components/AuthorizationPage.d.ts +3 -0
  10. package/dist/fe/components/AuthorizationPage/components/ClaimList.d.ts +3 -0
  11. package/dist/fe/components/AuthorizationPage/components/RoleClaimEditor.d.ts +3 -0
  12. package/dist/fe/components/AuthorizationPage/components/RoleList.d.ts +3 -0
  13. package/dist/fe/components/AuthorizationPage/index.d.ts +9 -0
  14. package/dist/fe/components/AuthorizationPage/store/index.d.ts +47 -0
  15. package/dist/fe/components/AuthorizationPage/theme/index.d.ts +82 -0
  16. package/dist/fe/components/AuthorizationPage/types/index.d.ts +64 -0
  17. package/dist/fe/components/Button/components/Button.d.ts +3 -0
  18. package/dist/fe/components/Button/components/ButtonSpinner.d.ts +3 -0
  19. package/dist/fe/components/Button/index.d.ts +6 -0
  20. package/dist/fe/components/Button/theme/index.d.ts +183 -0
  21. package/dist/fe/components/Button/types/index.d.ts +24 -0
  22. package/dist/fe/components/Button/utils/cn.d.ts +3 -0
  23. package/dist/fe/components/Captcha/components/Captcha.d.ts +4 -0
  24. package/dist/fe/components/Captcha/index.d.ts +4 -0
  25. package/dist/fe/components/Captcha/theme.d.ts +53 -0
  26. package/dist/fe/components/Captcha/types.d.ts +60 -0
  27. package/dist/fe/components/ChangePasswordPage/components/ChangePasswordForm.d.ts +4 -0
  28. package/dist/fe/components/ChangePasswordPage/components/ChangePasswordHeader.d.ts +4 -0
  29. package/dist/fe/components/ChangePasswordPage/components/ChangePasswordPage.d.ts +4 -0
  30. package/dist/fe/components/ChangePasswordPage/index.d.ts +7 -0
  31. package/dist/fe/components/ChangePasswordPage/store/index.d.ts +16 -0
  32. package/dist/fe/components/ChangePasswordPage/theme/index.d.ts +48 -0
  33. package/dist/fe/components/ChangePasswordPage/types/index.d.ts +56 -0
  34. package/dist/fe/components/Checkbox/components/Checkbox.d.ts +3 -0
  35. package/dist/fe/components/Checkbox/components/CheckboxIcon.d.ts +3 -0
  36. package/dist/fe/components/Checkbox/components/SwitchTrack.d.ts +3 -0
  37. package/dist/fe/components/Checkbox/index.d.ts +7 -0
  38. package/dist/fe/components/Checkbox/theme/index.d.ts +218 -0
  39. package/dist/fe/components/Checkbox/types/index.d.ts +39 -0
  40. package/dist/fe/components/Checkbox/utils/cn.d.ts +3 -0
  41. package/dist/fe/components/DataTable/DataTable.d.ts +3 -0
  42. package/dist/fe/components/DataTable/components/ActionCell.d.ts +10 -0
  43. package/dist/fe/components/DataTable/components/DataCell.d.ts +18 -0
  44. package/dist/fe/components/DataTable/components/EditableCell.d.ts +14 -0
  45. package/dist/fe/components/DataTable/components/EmptyState.d.ts +8 -0
  46. package/dist/fe/components/DataTable/components/HeaderCell.d.ts +16 -0
  47. package/dist/fe/components/DataTable/components/InfiniteScrollTrigger.d.ts +11 -0
  48. package/dist/fe/components/DataTable/components/LoadingSpinner.d.ts +7 -0
  49. package/dist/fe/components/DataTable/components/ResizeHandle.d.ts +9 -0
  50. package/dist/fe/components/DataTable/components/SelectionCell.d.ts +9 -0
  51. package/dist/fe/components/DataTable/components/SkeletonRow.d.ts +9 -0
  52. package/dist/fe/components/DataTable/components/SkeletonTable.d.ts +10 -0
  53. package/dist/fe/components/DataTable/components/SortIcon.d.ts +9 -0
  54. package/dist/fe/components/DataTable/components/TableHeader.d.ts +20 -0
  55. package/dist/fe/components/DataTable/components/TableRow.d.ts +20 -0
  56. package/dist/fe/components/DataTable/components/index.d.ts +15 -0
  57. package/dist/fe/components/DataTable/hooks/index.d.ts +3 -0
  58. package/dist/fe/components/DataTable/hooks/useAutoFitColumn.d.ts +8 -0
  59. package/dist/fe/components/DataTable/hooks/useResizeColumn.d.ts +12 -0
  60. package/dist/fe/components/DataTable/index.d.ts +6 -0
  61. package/dist/fe/components/DataTable/store/index.d.ts +52 -0
  62. package/dist/fe/components/DataTable/theme/index.d.ts +131 -0
  63. package/dist/fe/components/DataTable/types/index.d.ts +151 -0
  64. package/dist/fe/components/DataTable/utils/cn.d.ts +3 -0
  65. package/dist/fe/components/DatePicker/components/CalendarGrid.d.ts +3 -0
  66. package/dist/fe/components/DatePicker/components/CalendarHeader.d.ts +3 -0
  67. package/dist/fe/components/DatePicker/components/DatePicker.d.ts +3 -0
  68. package/dist/fe/components/DatePicker/components/MonthYearSelector.d.ts +10 -0
  69. package/dist/fe/components/DatePicker/index.d.ts +10 -0
  70. package/dist/fe/components/DatePicker/locales/index.d.ts +5 -0
  71. package/dist/fe/components/DatePicker/theme/index.d.ts +312 -0
  72. package/dist/fe/components/DatePicker/types/index.d.ts +88 -0
  73. package/dist/fe/components/DatePicker/utils/cn.d.ts +3 -0
  74. package/dist/fe/components/DatePicker/utils/date.d.ts +21 -0
  75. package/dist/fe/components/DevicesPage/components/DeviceCard.d.ts +4 -0
  76. package/dist/fe/components/DevicesPage/components/DevicesHeader.d.ts +4 -0
  77. package/dist/fe/components/DevicesPage/components/DevicesPage.d.ts +4 -0
  78. package/dist/fe/components/DevicesPage/index.d.ts +8 -0
  79. package/dist/fe/components/DevicesPage/store/index.d.ts +20 -0
  80. package/dist/fe/components/DevicesPage/theme/index.d.ts +92 -0
  81. package/dist/fe/components/DevicesPage/types/index.d.ts +147 -0
  82. package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordForm.d.ts +4 -0
  83. package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordHeader.d.ts +4 -0
  84. package/dist/fe/components/ForgotPasswordPage/components/ForgotPasswordPage.d.ts +4 -0
  85. package/dist/fe/components/ForgotPasswordPage/index.d.ts +7 -0
  86. package/dist/fe/components/ForgotPasswordPage/store/index.d.ts +14 -0
  87. package/dist/fe/components/ForgotPasswordPage/theme/index.d.ts +48 -0
  88. package/dist/fe/components/ForgotPasswordPage/types/index.d.ts +48 -0
  89. package/dist/fe/components/FormBuilder/components/FormBuilder.d.ts +3 -0
  90. package/dist/fe/components/FormBuilder/components/FormField.d.ts +3 -0
  91. package/dist/fe/components/FormBuilder/hooks/useFormBuilder.d.ts +3 -0
  92. package/dist/fe/components/FormBuilder/index.d.ts +6 -0
  93. package/dist/fe/components/FormBuilder/theme/index.d.ts +136 -0
  94. package/dist/fe/components/FormBuilder/types/index.d.ts +150 -0
  95. package/dist/fe/components/FormBuilder/utils/cn.d.ts +3 -0
  96. package/dist/fe/components/FormBuilder/utils/fieldMapping.d.ts +12 -0
  97. package/dist/fe/components/FormBuilder/utils/validation.d.ts +11 -0
  98. package/dist/fe/components/LoginPage/components/LoginForm.d.ts +4 -0
  99. package/dist/fe/components/LoginPage/components/LoginHeader.d.ts +4 -0
  100. package/dist/fe/components/LoginPage/components/LoginPage.d.ts +4 -0
  101. package/dist/fe/components/LoginPage/index.d.ts +8 -0
  102. package/dist/fe/components/LoginPage/store/index.d.ts +22 -0
  103. package/dist/fe/components/LoginPage/theme/index.d.ts +55 -0
  104. package/dist/fe/components/LoginPage/types/index.d.ts +129 -0
  105. package/dist/fe/components/MagicLinkVerifyPage/components/MagicLinkVerifyPage.d.ts +4 -0
  106. package/dist/fe/components/MagicLinkVerifyPage/index.d.ts +5 -0
  107. package/dist/fe/components/MagicLinkVerifyPage/store.d.ts +15 -0
  108. package/dist/fe/components/MagicLinkVerifyPage/theme.d.ts +37 -0
  109. package/dist/fe/components/MagicLinkVerifyPage/types.d.ts +35 -0
  110. package/dist/fe/components/NucleusEntityShowcase.d.ts +3 -0
  111. package/dist/fe/components/NucleusTextInput/components/FloatingLabel.d.ts +3 -0
  112. package/dist/fe/components/NucleusTextInput/components/InputIcons.d.ts +15 -0
  113. package/dist/fe/components/NucleusTextInput/components/NucleusTextInput.d.ts +3 -0
  114. package/dist/fe/components/NucleusTextInput/components/PasswordStrengthIndicator.d.ts +15 -0
  115. package/dist/fe/components/NucleusTextInput/components/TypewriterText.d.ts +3 -0
  116. package/dist/fe/components/NucleusTextInput/index.d.ts +11 -0
  117. package/dist/fe/components/NucleusTextInput/theme/index.d.ts +108 -0
  118. package/dist/fe/components/NucleusTextInput/types/index.d.ts +65 -0
  119. package/dist/fe/components/NucleusTextInput/utils/cn.d.ts +3 -0
  120. package/dist/fe/components/NucleusTextInput/utils/format.d.ts +8 -0
  121. package/dist/fe/components/NucleusTextInput/utils/validation.d.ts +23 -0
  122. package/dist/fe/components/ProfilePage/components/AddressCard.d.ts +4 -0
  123. package/dist/fe/components/ProfilePage/components/PhoneCard.d.ts +4 -0
  124. package/dist/fe/components/ProfilePage/components/ProfileHeader.d.ts +4 -0
  125. package/dist/fe/components/ProfilePage/components/ProfilePage.d.ts +4 -0
  126. package/dist/fe/components/ProfilePage/index.d.ts +10 -0
  127. package/dist/fe/components/ProfilePage/store/index.d.ts +37 -0
  128. package/dist/fe/components/ProfilePage/theme/index.d.ts +101 -0
  129. package/dist/fe/components/ProfilePage/types/index.d.ts +150 -0
  130. package/dist/fe/components/RangePicker/components/RangePicker.d.ts +3 -0
  131. package/dist/fe/components/RangePicker/components/RangeThumb.d.ts +3 -0
  132. package/dist/fe/components/RangePicker/components/RangeTooltip.d.ts +3 -0
  133. package/dist/fe/components/RangePicker/components/RangeTrack.d.ts +3 -0
  134. package/dist/fe/components/RangePicker/index.d.ts +8 -0
  135. package/dist/fe/components/RangePicker/theme/index.d.ts +90 -0
  136. package/dist/fe/components/RangePicker/types/index.d.ts +66 -0
  137. package/dist/fe/components/RangePicker/utils/cn.d.ts +3 -0
  138. package/dist/fe/components/RegisterPage/components/PasswordStrengthIndicator.d.ts +14 -0
  139. package/dist/fe/components/RegisterPage/components/RegisterForm.d.ts +4 -0
  140. package/dist/fe/components/RegisterPage/components/RegisterHeader.d.ts +4 -0
  141. package/dist/fe/components/RegisterPage/components/RegisterPage.d.ts +4 -0
  142. package/dist/fe/components/RegisterPage/index.d.ts +9 -0
  143. package/dist/fe/components/RegisterPage/store/index.d.ts +19 -0
  144. package/dist/fe/components/RegisterPage/theme/index.d.ts +81 -0
  145. package/dist/fe/components/RegisterPage/types/index.d.ts +141 -0
  146. package/dist/fe/components/ResetPasswordPage/components/ResetPasswordForm.d.ts +4 -0
  147. package/dist/fe/components/ResetPasswordPage/components/ResetPasswordHeader.d.ts +4 -0
  148. package/dist/fe/components/ResetPasswordPage/components/ResetPasswordPage.d.ts +4 -0
  149. package/dist/fe/components/ResetPasswordPage/index.d.ts +7 -0
  150. package/dist/fe/components/ResetPasswordPage/store/index.d.ts +15 -0
  151. package/dist/fe/components/ResetPasswordPage/theme/index.d.ts +56 -0
  152. package/dist/fe/components/ResetPasswordPage/types/index.d.ts +50 -0
  153. package/dist/fe/components/SearchBox/components/SearchBox.d.ts +3 -0
  154. package/dist/fe/components/SearchBox/components/SearchBoxDropdown.d.ts +3 -0
  155. package/dist/fe/components/SearchBox/index.d.ts +8 -0
  156. package/dist/fe/components/SearchBox/theme/index.d.ts +141 -0
  157. package/dist/fe/components/SearchBox/types/index.d.ts +47 -0
  158. package/dist/fe/components/SearchBox/utils/cn.d.ts +3 -0
  159. package/dist/fe/components/SearchBox/utils/debounce.d.ts +5 -0
  160. package/dist/fe/components/SearchBox/utils/sanitize.d.ts +9 -0
  161. package/dist/fe/components/SelectBox/components/SelectBox.d.ts +3 -0
  162. package/dist/fe/components/SelectBox/components/SelectDropdown.d.ts +6 -0
  163. package/dist/fe/components/SelectBox/components/SelectOptionItem.d.ts +3 -0
  164. package/dist/fe/components/SelectBox/components/SelectTrigger.d.ts +5 -0
  165. package/dist/fe/components/SelectBox/index.d.ts +8 -0
  166. package/dist/fe/components/SelectBox/theme/index.d.ts +100 -0
  167. package/dist/fe/components/SelectBox/types/index.d.ts +66 -0
  168. package/dist/fe/components/SelectBox/utils/cn.d.ts +3 -0
  169. package/dist/fe/components/SetPasswordPage/components/PasswordStrengthIndicator.d.ts +14 -0
  170. package/dist/fe/components/SetPasswordPage/components/SetPasswordForm.d.ts +4 -0
  171. package/dist/fe/components/SetPasswordPage/components/SetPasswordHeader.d.ts +4 -0
  172. package/dist/fe/components/SetPasswordPage/components/SetPasswordPage.d.ts +4 -0
  173. package/dist/fe/components/SetPasswordPage/index.d.ts +9 -0
  174. package/dist/fe/components/SetPasswordPage/store/index.d.ts +16 -0
  175. package/dist/fe/components/SetPasswordPage/theme/index.d.ts +95 -0
  176. package/dist/fe/components/SetPasswordPage/types/index.d.ts +137 -0
  177. package/dist/fe/components/UsersPage/components/InviteUserModal.d.ts +10 -0
  178. package/dist/fe/components/UsersPage/components/Pagination.d.ts +13 -0
  179. package/dist/fe/components/UsersPage/components/RoleAssignmentModal.d.ts +12 -0
  180. package/dist/fe/components/UsersPage/components/StatsCards.d.ts +10 -0
  181. package/dist/fe/components/UsersPage/components/UserDetailDrawer.d.ts +24 -0
  182. package/dist/fe/components/UsersPage/components/UserFilters.d.ts +18 -0
  183. package/dist/fe/components/UsersPage/components/UserListItem.d.ts +11 -0
  184. package/dist/fe/components/UsersPage/components/UserListSkeleton.d.ts +7 -0
  185. package/dist/fe/components/UsersPage/components/UsersPage.d.ts +8 -0
  186. package/dist/fe/components/UsersPage/index.d.ts +13 -0
  187. package/dist/fe/components/UsersPage/store/index.d.ts +51 -0
  188. package/dist/fe/components/UsersPage/theme/index.d.ts +180 -0
  189. package/dist/fe/components/UsersPage/types/index.d.ts +73 -0
  190. package/dist/fe/components/VerifyEmailPage/components/VerifyEmailPage.d.ts +4 -0
  191. package/dist/fe/components/VerifyEmailPage/index.d.ts +5 -0
  192. package/dist/fe/components/VerifyEmailPage/store/index.d.ts +18 -0
  193. package/dist/fe/components/VerifyEmailPage/theme/index.d.ts +49 -0
  194. package/dist/fe/components/VerifyEmailPage/types/index.d.ts +84 -0
  195. package/dist/fe/hooks/useNucleusEntity.d.ts +3 -0
  196. package/dist/fe/index.d.ts +42 -0
  197. package/dist/fe/index.js +1 -0
  198. package/dist/fe/types/index.d.ts +233 -0
  199. package/dist/fe/utils/cn.d.ts +3 -0
  200. package/dist/fe/utils/columnUtils.d.ts +63 -0
  201. package/dist/fe/utils/endpointKeys.d.ts +9 -0
  202. package/dist/index-0yyw12k6.js +1 -0
  203. package/dist/index-tv67j5qd.js +1 -0
  204. package/dist/index.d.ts +6 -0
  205. package/dist/index.js +1 -0
  206. package/dist/nucleus.config.d.ts +95 -0
  207. package/dist/public/components/CTA.d.ts +2 -0
  208. package/dist/public/components/Capabilities.d.ts +9 -0
  209. package/dist/public/components/Features.d.ts +9 -0
  210. package/dist/public/components/Footer.d.ts +2 -0
  211. package/dist/public/components/Hero.d.ts +2 -0
  212. package/dist/public/components/Managers.d.ts +7 -0
  213. package/dist/public/components/Nav.d.ts +2 -0
  214. package/dist/public/components/Stack.d.ts +7 -0
  215. package/dist/public/components/docs/Docs.d.ts +2 -0
  216. package/dist/public/components/docs/DocsContent.d.ts +19 -0
  217. package/dist/public/components/docs/DocsRightSidebar.d.ts +9 -0
  218. package/dist/public/components/docs/DocsSidebar.d.ts +8 -0
  219. package/dist/public/components/docs/content/authentication.d.ts +3 -0
  220. package/dist/public/components/docs/content/gettingStarted.d.ts +3 -0
  221. package/dist/public/components/docs/docsData.d.ts +18 -0
  222. package/dist/public/components/docs/index.d.ts +7 -0
  223. package/dist/public/components/index.d.ts +10 -0
  224. package/dist/public/index.d.ts +3 -0
  225. package/dist/public/store.d.ts +20 -0
  226. package/dist/scripts/build.d.ts +7 -0
  227. package/dist/scripts/generate-schema.d.ts +3 -0
  228. package/dist/scripts/generate-system-tables-types.d.ts +2 -0
  229. package/dist/scripts/generate-types-schema.d.ts +7 -0
  230. package/dist/scripts/publish.d.ts +7 -0
  231. package/dist/scripts/version.d.ts +7 -0
  232. package/dist/src/Client/ApiCaller/client.d.ts +5 -0
  233. package/dist/src/Client/ApiCaller/examples/usage.example.d.ts +8 -0
  234. package/dist/src/Client/ApiCaller/generator.d.ts +10 -0
  235. package/dist/src/Client/ApiCaller/index.d.ts +7 -0
  236. package/dist/src/Client/ApiCaller/server.d.ts +4 -0
  237. package/dist/src/Client/ApiCaller/system-tables.d.ts +1215 -0
  238. package/dist/src/Client/ApiCaller/types.d.ts +907 -0
  239. package/dist/src/Client/Proxy/httpProxy.d.ts +5 -0
  240. package/dist/src/Client/Proxy/index.d.ts +6 -0
  241. package/dist/src/Client/Proxy/index.js +1 -0
  242. package/dist/src/Client/Proxy/server.d.ts +5 -0
  243. package/dist/src/Client/Proxy/types.d.ts +69 -0
  244. package/dist/src/Client/Proxy/utils.d.ts +12 -0
  245. package/dist/src/Client/Proxy/wsProxy.d.ts +20 -0
  246. package/dist/src/Client/ServerFetch/index.d.ts +19 -0
  247. package/dist/src/Client/ServerFetch/types.d.ts +34 -0
  248. package/dist/src/Client/index.d.ts +4 -0
  249. package/dist/src/ElysiaPlugin/index.d.ts +12 -0
  250. package/dist/src/ElysiaPlugin/publicRoutes.d.ts +9 -0
  251. package/dist/src/ElysiaPlugin/routes/auth/captcha/index.d.ts +46 -0
  252. package/dist/src/ElysiaPlugin/routes/auth/emailVerification/index.d.ts +38 -0
  253. package/dist/src/ElysiaPlugin/routes/auth/index.d.ts +68 -0
  254. package/dist/src/ElysiaPlugin/routes/auth/invite/index.d.ts +43 -0
  255. package/dist/src/ElysiaPlugin/routes/auth/login/index.d.ts +68 -0
  256. package/dist/src/ElysiaPlugin/routes/auth/login/types.d.ts +22 -0
  257. package/dist/src/ElysiaPlugin/routes/auth/login/utils.d.ts +19 -0
  258. package/dist/src/ElysiaPlugin/routes/auth/logout/index.d.ts +33 -0
  259. package/dist/src/ElysiaPlugin/routes/auth/logout/types.d.ts +6 -0
  260. package/dist/src/ElysiaPlugin/routes/auth/logout/utils.d.ts +2 -0
  261. package/dist/src/ElysiaPlugin/routes/auth/magicLink/index.d.ts +41 -0
  262. package/dist/src/ElysiaPlugin/routes/auth/magicLink/types.d.ts +23 -0
  263. package/dist/src/ElysiaPlugin/routes/auth/magicLink/utils.d.ts +4 -0
  264. package/dist/src/ElysiaPlugin/routes/auth/me/index.d.ts +40 -0
  265. package/dist/src/ElysiaPlugin/routes/auth/passwordChange/index.d.ts +33 -0
  266. package/dist/src/ElysiaPlugin/routes/auth/passwordChange/types.d.ts +12 -0
  267. package/dist/src/ElysiaPlugin/routes/auth/passwordChange/utils.d.ts +2 -0
  268. package/dist/src/ElysiaPlugin/routes/auth/passwordReset/index.d.ts +36 -0
  269. package/dist/src/ElysiaPlugin/routes/auth/passwordReset/types.d.ts +16 -0
  270. package/dist/src/ElysiaPlugin/routes/auth/passwordReset/utils.d.ts +3 -0
  271. package/dist/src/ElysiaPlugin/routes/auth/passwordSet/index.d.ts +33 -0
  272. package/dist/src/ElysiaPlugin/routes/auth/passwordSet/types.d.ts +9 -0
  273. package/dist/src/ElysiaPlugin/routes/auth/refresh/index.d.ts +39 -0
  274. package/dist/src/ElysiaPlugin/routes/auth/refresh/types.d.ts +9 -0
  275. package/dist/src/ElysiaPlugin/routes/auth/refresh/utils.d.ts +2 -0
  276. package/dist/src/ElysiaPlugin/routes/auth/register/index.d.ts +47 -0
  277. package/dist/src/ElysiaPlugin/routes/auth/register/types.d.ts +18 -0
  278. package/dist/src/ElysiaPlugin/routes/auth/register/utils.d.ts +8 -0
  279. package/dist/src/ElysiaPlugin/routes/auth/sessions/index.d.ts +33 -0
  280. package/dist/src/ElysiaPlugin/routes/auth/sessions/types.d.ts +67 -0
  281. package/dist/src/ElysiaPlugin/routes/auth/sessions/utils.d.ts +36 -0
  282. package/dist/src/ElysiaPlugin/routes/auth/types.d.ts +153 -0
  283. package/dist/src/ElysiaPlugin/routes/entity/index.d.ts +5 -0
  284. package/dist/src/ElysiaPlugin/routes/entity/types.d.ts +50 -0
  285. package/dist/src/ElysiaPlugin/routes/entity/utils.d.ts +11 -0
  286. package/dist/src/ElysiaPlugin/routes/index.d.ts +5 -0
  287. package/dist/src/ElysiaPlugin/routes/monitoring/index.d.ts +58 -0
  288. package/dist/src/ElysiaPlugin/routes/storage/cdn.d.ts +51 -0
  289. package/dist/src/ElysiaPlugin/routes/storage/helpers.d.ts +53 -0
  290. package/dist/src/ElysiaPlugin/routes/storage/index.d.ts +3 -0
  291. package/dist/src/ElysiaPlugin/routes/verification/index.d.ts +39 -0
  292. package/dist/src/ElysiaPlugin/swagger.d.ts +28 -0
  293. package/dist/src/ElysiaPlugin/utils.d.ts +70 -0
  294. package/dist/src/Managers/Dapr/clients/binding-client.d.ts +15 -0
  295. package/dist/src/Managers/Dapr/clients/config-client.d.ts +27 -0
  296. package/dist/src/Managers/Dapr/clients/crypto-client.d.ts +27 -0
  297. package/dist/src/Managers/Dapr/clients/invoke-client.d.ts +32 -0
  298. package/dist/src/Managers/Dapr/clients/lock-client.d.ts +23 -0
  299. package/dist/src/Managers/Dapr/clients/pubsub-client.d.ts +23 -0
  300. package/dist/src/Managers/Dapr/clients/secret-client.d.ts +19 -0
  301. package/dist/src/Managers/Dapr/clients/state-client.d.ts +55 -0
  302. package/dist/src/Managers/Dapr/clients/workflow-client.d.ts +39 -0
  303. package/dist/src/Managers/Dapr/connection-manager.d.ts +51 -0
  304. package/dist/src/Managers/Dapr/constants.d.ts +49 -0
  305. package/dist/src/Managers/Dapr/dapr-manager.d.ts +160 -0
  306. package/dist/src/Managers/Dapr/error-handling.d.ts +29 -0
  307. package/dist/src/Managers/Dapr/index.d.ts +102 -0
  308. package/dist/src/Managers/Dapr/types.d.ts +121 -0
  309. package/dist/src/Managers/Dapr/utils.d.ts +44 -0
  310. package/dist/src/Managers/File/atomic.d.ts +64 -0
  311. package/dist/src/Managers/File/core.d.ts +188 -0
  312. package/dist/src/Managers/File/index.d.ts +18 -0
  313. package/dist/src/Managers/File/permissions.d.ts +72 -0
  314. package/dist/src/Managers/File/streaming.d.ts +30 -0
  315. package/dist/src/Managers/File/types.d.ts +146 -0
  316. package/dist/src/Managers/File/utils.d.ts +112 -0
  317. package/dist/src/Managers/Postgre/index.d.ts +25 -0
  318. package/dist/src/Managers/Redis/index.d.ts +33 -0
  319. package/dist/src/Managers/index.d.ts +5 -0
  320. package/dist/src/Services/Auth/Fingerprint/Generate/index.d.ts +3 -0
  321. package/dist/src/Services/Auth/Fingerprint/Validate/index.d.ts +3 -0
  322. package/dist/src/Services/Auth/Fingerprint/index.d.ts +5 -0
  323. package/dist/src/Services/Auth/Fingerprint/types.d.ts +20 -0
  324. package/dist/src/Services/Auth/Fingerprint/utils.d.ts +3 -0
  325. package/dist/src/Services/Auth/JWT/Decode/index.d.ts +3 -0
  326. package/dist/src/Services/Auth/JWT/Sign/index.d.ts +3 -0
  327. package/dist/src/Services/Auth/JWT/Verify/index.d.ts +3 -0
  328. package/dist/src/Services/Auth/JWT/index.d.ts +5 -0
  329. package/dist/src/Services/Auth/JWT/types.d.ts +38 -0
  330. package/dist/src/Services/Auth/JWT/utils.d.ts +10 -0
  331. package/dist/src/Services/Auth/Password/Generate/index.d.ts +3 -0
  332. package/dist/src/Services/Auth/Password/Validate/index.d.ts +3 -0
  333. package/dist/src/Services/Auth/Password/index.d.ts +2 -0
  334. package/dist/src/Services/Auth/Password/types.d.ts +16 -0
  335. package/dist/src/Services/Auth/RefreshToken/Delete/index.d.ts +3 -0
  336. package/dist/src/Services/Auth/RefreshToken/Generate/index.d.ts +11 -0
  337. package/dist/src/Services/Auth/RefreshToken/Read/index.d.ts +11 -0
  338. package/dist/src/Services/Auth/RefreshToken/Validate/index.d.ts +11 -0
  339. package/dist/src/Services/Auth/RefreshToken/index.d.ts +5 -0
  340. package/dist/src/Services/Auth/RefreshToken/types.d.ts +27 -0
  341. package/dist/src/Services/Auth/RefreshToken/utils.d.ts +6 -0
  342. package/dist/src/Services/Auth/Session/Issue/index.d.ts +9 -0
  343. package/dist/src/Services/Auth/Session/index.d.ts +2 -0
  344. package/dist/src/Services/Auth/Session/types.d.ts +13 -0
  345. package/dist/src/Services/Auth/SessionStore/Delete/index.d.ts +3 -0
  346. package/dist/src/Services/Auth/SessionStore/Generate/index.d.ts +11 -0
  347. package/dist/src/Services/Auth/SessionStore/Read/index.d.ts +3 -0
  348. package/dist/src/Services/Auth/SessionStore/Update/index.d.ts +24 -0
  349. package/dist/src/Services/Auth/SessionStore/Validate/index.d.ts +3 -0
  350. package/dist/src/Services/Auth/SessionStore/index.d.ts +7 -0
  351. package/dist/src/Services/Auth/SessionStore/types.d.ts +59 -0
  352. package/dist/src/Services/Auth/SessionStore/utils.d.ts +6 -0
  353. package/dist/src/Services/Auth/index.d.ts +7 -0
  354. package/dist/src/Services/Authorization/ClaimSeeder/index.d.ts +6 -0
  355. package/dist/src/Services/Authorization/GodminSetup/index.d.ts +10 -0
  356. package/dist/src/Services/Authorization/Middleware/index.d.ts +21 -0
  357. package/dist/src/Services/Authorization/index.d.ts +5 -0
  358. package/dist/src/Services/Authorization/types.d.ts +68 -0
  359. package/dist/src/Services/Captcha/index.d.ts +15 -0
  360. package/dist/src/Services/Captcha/types.d.ts +69 -0
  361. package/dist/src/Services/Gmail/index.d.ts +62 -0
  362. package/dist/src/Services/Logger/Logger.d.ts +77 -0
  363. package/dist/src/Services/Logger/index.d.ts +5 -0
  364. package/dist/src/Services/Logger/transports.d.ts +54 -0
  365. package/dist/src/Services/Logger/types.d.ts +88 -0
  366. package/dist/src/Services/Logger/utils.d.ts +8 -0
  367. package/dist/src/Services/Monitoring/AlertService.d.ts +29 -0
  368. package/dist/src/Services/Monitoring/collectors/ApplicationCollector.d.ts +30 -0
  369. package/dist/src/Services/Monitoring/collectors/SystemCollector.d.ts +13 -0
  370. package/dist/src/Services/Monitoring/collectors/index.d.ts +3 -0
  371. package/dist/src/Services/Monitoring/index.d.ts +109 -0
  372. package/dist/src/Services/Monitoring/types.d.ts +163 -0
  373. package/dist/src/Services/Notification/index.d.ts +31 -0
  374. package/dist/src/Services/Notification/types.d.ts +59 -0
  375. package/dist/src/Services/RateLimiter/index.d.ts +99 -0
  376. package/dist/src/Services/Verification/index.d.ts +23 -0
  377. package/dist/src/Services/Verification/types.d.ts +135 -0
  378. package/dist/src/Services/index.d.ts +10 -0
  379. package/dist/src/types.d.ts +588 -0
  380. package/package.json +99 -0
  381. package/public/components/CTA.tsx +25 -0
  382. package/public/components/Capabilities.tsx +69 -0
  383. package/public/components/Features.tsx +107 -0
  384. package/public/components/Footer.tsx +60 -0
  385. package/public/components/Hero.tsx +53 -0
  386. package/public/components/Managers.tsx +60 -0
  387. package/public/components/Nav.tsx +107 -0
  388. package/public/components/Stack.tsx +36 -0
  389. package/public/components/docs/Docs.tsx +62 -0
  390. package/public/components/docs/DocsContent.tsx +203 -0
  391. package/public/components/docs/DocsRightSidebar.tsx +53 -0
  392. package/public/components/docs/DocsSidebar.tsx +62 -0
  393. package/public/components/docs/content/authentication.ts +1670 -0
  394. package/public/components/docs/content/gettingStarted.ts +627 -0
  395. package/public/components/docs/docsData.ts +36 -0
  396. package/public/components/docs/index.ts +6 -0
  397. package/public/components/index.ts +9 -0
  398. package/public/docs.css +633 -0
  399. package/public/index.html +81 -0
  400. package/public/index.tsx +52 -0
  401. package/public/store.ts +79 -0
  402. package/public/styles.css +877 -0
  403. package/schemas/bckp/config.nucleus.json +1488 -0
  404. package/schemas/bckp/nucleus.tables.schema.json +24 -0
  405. package/schemas/bckp/table.schema.json +472 -0
  406. package/schemas/config.nucleus.json +1010 -0
  407. package/schemas/nucleus.tables.schema.json +19 -0
  408. package/schemas/table.schema.json +498 -0
  409. package/scripts/build.ts +197 -0
  410. package/scripts/generate-schema.ts +556 -0
  411. package/scripts/generate-system-tables-types.ts +18 -0
  412. package/scripts/generate-types-schema.ts +962 -0
  413. package/scripts/publish.ts +210 -0
  414. package/scripts/version.ts +125 -0
  415. package/src/system.tables.json +1590 -0
@@ -0,0 +1,1215 @@
1
+ export declare const SYSTEM_TABLES: readonly [{
2
+ readonly table_name: "users";
3
+ readonly feature_set: readonly ["authentication"];
4
+ readonly add_base_columns: true;
5
+ readonly is_form_data: false;
6
+ readonly available_app_ids: readonly ["default_be"];
7
+ readonly available_schemas: readonly ["*"];
8
+ readonly excluded_schemas: readonly [];
9
+ readonly excluded_methods: readonly [];
10
+ readonly columns: readonly [{
11
+ readonly name: "email";
12
+ readonly type: "varchar";
13
+ readonly length: 255;
14
+ }, {
15
+ readonly name: "password";
16
+ readonly type: "varchar";
17
+ readonly length: 255;
18
+ }, {
19
+ readonly name: "verified_at";
20
+ readonly type: "timestamp";
21
+ }, {
22
+ readonly name: "last_login_at";
23
+ readonly type: "timestamp";
24
+ }, {
25
+ readonly name: "login_count";
26
+ readonly type: "integer";
27
+ readonly default: 0;
28
+ }, {
29
+ readonly name: "is_locked";
30
+ readonly type: "boolean";
31
+ readonly default: false;
32
+ }, {
33
+ readonly name: "locked_until";
34
+ readonly type: "timestamp";
35
+ }, {
36
+ readonly name: "failed_login_attempts";
37
+ readonly type: "integer";
38
+ readonly default: 0;
39
+ }, {
40
+ readonly name: "is_god";
41
+ readonly type: "boolean";
42
+ readonly default: false;
43
+ }];
44
+ readonly indexes: readonly [{
45
+ readonly columns: readonly ["email"];
46
+ readonly unique: true;
47
+ }, {
48
+ readonly columns: readonly ["email", "is_active"];
49
+ }, {
50
+ readonly columns: readonly ["last_login_at"];
51
+ }, {
52
+ readonly columns: readonly ["is_locked", "locked_until"];
53
+ }];
54
+ }, {
55
+ readonly table_name: "profiles";
56
+ readonly feature_set: readonly ["authentication"];
57
+ readonly add_base_columns: true;
58
+ readonly is_form_data: false;
59
+ readonly available_app_ids: readonly ["default_be"];
60
+ readonly available_schemas: readonly ["*"];
61
+ readonly excluded_schemas: readonly [];
62
+ readonly excluded_methods: readonly [];
63
+ readonly columns: readonly [{
64
+ readonly name: "user_id";
65
+ readonly type: "uuid";
66
+ readonly notNull: true;
67
+ readonly references: {
68
+ readonly table: "users";
69
+ readonly column: "id";
70
+ };
71
+ }, {
72
+ readonly name: "first_name";
73
+ readonly type: "varchar";
74
+ readonly length: 100;
75
+ readonly notNull: true;
76
+ }, {
77
+ readonly name: "last_name";
78
+ readonly type: "varchar";
79
+ readonly length: 100;
80
+ readonly notNull: true;
81
+ }];
82
+ readonly indexes: readonly [{
83
+ readonly columns: readonly ["user_id"];
84
+ readonly unique: true;
85
+ }, {
86
+ readonly columns: readonly ["first_name", "last_name"];
87
+ }];
88
+ }, {
89
+ readonly table_name: "roles";
90
+ readonly feature_set: readonly ["authentication", "authorization"];
91
+ readonly add_base_columns: true;
92
+ readonly is_form_data: false;
93
+ readonly available_app_ids: readonly ["default_be"];
94
+ readonly available_schemas: readonly ["*"];
95
+ readonly excluded_schemas: readonly [];
96
+ readonly excluded_methods: readonly [];
97
+ readonly columns: readonly [{
98
+ readonly name: "name";
99
+ readonly type: "varchar";
100
+ readonly length: 100;
101
+ readonly notNull: true;
102
+ }, {
103
+ readonly name: "description";
104
+ readonly type: "varchar";
105
+ readonly length: 500;
106
+ }];
107
+ readonly indexes: readonly [{
108
+ readonly columns: readonly ["name"];
109
+ readonly unique: true;
110
+ }];
111
+ }, {
112
+ readonly table_name: "claims";
113
+ readonly feature_set: readonly ["authentication", "authorization"];
114
+ readonly add_base_columns: true;
115
+ readonly is_form_data: false;
116
+ readonly available_app_ids: readonly ["default_be"];
117
+ readonly available_schemas: readonly ["*"];
118
+ readonly excluded_schemas: readonly [];
119
+ readonly excluded_methods: readonly [];
120
+ readonly columns: readonly [{
121
+ readonly name: "action";
122
+ readonly type: "varchar";
123
+ readonly length: 100;
124
+ readonly notNull: true;
125
+ }, {
126
+ readonly name: "description";
127
+ readonly type: "varchar";
128
+ readonly length: 500;
129
+ }, {
130
+ readonly name: "path";
131
+ readonly type: "varchar";
132
+ readonly length: 200;
133
+ readonly notNull: true;
134
+ }, {
135
+ readonly name: "method";
136
+ readonly type: "varchar";
137
+ readonly length: 10;
138
+ readonly notNull: true;
139
+ }];
140
+ readonly indexes: readonly [{
141
+ readonly columns: readonly ["action"];
142
+ readonly unique: true;
143
+ }, {
144
+ readonly columns: readonly ["path", "method"];
145
+ }];
146
+ }, {
147
+ readonly table_name: "user_roles";
148
+ readonly feature_set: readonly ["authentication", "authorization"];
149
+ readonly add_base_columns: true;
150
+ readonly is_form_data: false;
151
+ readonly available_app_ids: readonly ["default_be"];
152
+ readonly available_schemas: readonly ["*"];
153
+ readonly excluded_schemas: readonly [];
154
+ readonly excluded_methods: readonly [];
155
+ readonly columns: readonly [{
156
+ readonly name: "user_id";
157
+ readonly type: "uuid";
158
+ readonly notNull: true;
159
+ readonly references: {
160
+ readonly table: "users";
161
+ readonly column: "id";
162
+ readonly onDelete: "cascade";
163
+ };
164
+ }, {
165
+ readonly name: "role_id";
166
+ readonly type: "uuid";
167
+ readonly notNull: true;
168
+ readonly references: {
169
+ readonly table: "roles";
170
+ readonly column: "id";
171
+ readonly onDelete: "cascade";
172
+ };
173
+ }];
174
+ readonly indexes: readonly [{
175
+ readonly columns: readonly ["user_id"];
176
+ }, {
177
+ readonly columns: readonly ["role_id"];
178
+ }];
179
+ readonly constraints: {
180
+ readonly unique: readonly [{
181
+ readonly name: "unique_user_role";
182
+ readonly columns: readonly ["user_id", "role_id"];
183
+ }];
184
+ };
185
+ }, {
186
+ readonly table_name: "role_claims";
187
+ readonly feature_set: readonly ["authentication", "authorization"];
188
+ readonly add_base_columns: true;
189
+ readonly is_form_data: false;
190
+ readonly available_app_ids: readonly ["default_be"];
191
+ readonly available_schemas: readonly ["*"];
192
+ readonly excluded_schemas: readonly [];
193
+ readonly excluded_methods: readonly [];
194
+ readonly columns: readonly [{
195
+ readonly name: "role_id";
196
+ readonly type: "uuid";
197
+ readonly notNull: true;
198
+ readonly references: {
199
+ readonly table: "roles";
200
+ readonly column: "id";
201
+ readonly onDelete: "cascade";
202
+ };
203
+ }, {
204
+ readonly name: "claim_id";
205
+ readonly type: "uuid";
206
+ readonly notNull: true;
207
+ readonly references: {
208
+ readonly table: "claims";
209
+ readonly column: "id";
210
+ readonly onDelete: "cascade";
211
+ };
212
+ }, {
213
+ readonly name: "scope";
214
+ readonly type: "text";
215
+ }];
216
+ readonly indexes: readonly [{
217
+ readonly columns: readonly ["role_id"];
218
+ }, {
219
+ readonly columns: readonly ["claim_id"];
220
+ }, {
221
+ readonly columns: readonly ["role_id", "claim_id", "scope"];
222
+ }];
223
+ }, {
224
+ readonly table_name: "files";
225
+ readonly feature_set: readonly ["storage"];
226
+ readonly add_base_columns: true;
227
+ readonly is_form_data: true;
228
+ readonly available_app_ids: readonly ["default_be"];
229
+ readonly available_schemas: readonly ["*"];
230
+ readonly excluded_schemas: readonly [];
231
+ readonly excluded_methods: readonly [];
232
+ readonly columns: readonly [{
233
+ readonly name: "name";
234
+ readonly type: "varchar";
235
+ readonly length: 255;
236
+ readonly notNull: true;
237
+ }, {
238
+ readonly name: "original_name";
239
+ readonly type: "varchar";
240
+ readonly length: 255;
241
+ readonly notNull: true;
242
+ }, {
243
+ readonly name: "type";
244
+ readonly type: "varchar";
245
+ readonly length: 50;
246
+ readonly enumValues: readonly ["image", "document", "video", "audio", "profile_picture"];
247
+ }, {
248
+ readonly name: "path";
249
+ readonly type: "varchar";
250
+ readonly length: 500;
251
+ readonly notNull: true;
252
+ }, {
253
+ readonly name: "size";
254
+ readonly type: "bigint";
255
+ readonly mode: "number";
256
+ readonly notNull: true;
257
+ }, {
258
+ readonly name: "mime_type";
259
+ readonly type: "varchar";
260
+ readonly length: 100;
261
+ readonly notNull: true;
262
+ }, {
263
+ readonly name: "extension";
264
+ readonly type: "varchar";
265
+ readonly length: 10;
266
+ readonly notNull: true;
267
+ }, {
268
+ readonly name: "uploaded_by";
269
+ readonly type: "uuid";
270
+ readonly references: {
271
+ readonly table: "users";
272
+ readonly column: "id";
273
+ };
274
+ }];
275
+ readonly indexes: readonly [{
276
+ readonly columns: readonly ["type"];
277
+ }, {
278
+ readonly columns: readonly ["uploaded_by"];
279
+ }, {
280
+ readonly columns: readonly ["size"];
281
+ }];
282
+ }, {
283
+ readonly table_name: "addresses";
284
+ readonly feature_set: readonly ["authentication"];
285
+ readonly add_base_columns: true;
286
+ readonly is_form_data: false;
287
+ readonly available_app_ids: readonly ["default_be"];
288
+ readonly available_schemas: readonly ["*"];
289
+ readonly excluded_schemas: readonly [];
290
+ readonly excluded_methods: readonly [];
291
+ readonly columns: readonly [{
292
+ readonly name: "owner_type";
293
+ readonly type: "varchar";
294
+ readonly length: 50;
295
+ readonly notNull: true;
296
+ readonly enumValues: readonly ["user", "company", "contact"];
297
+ }, {
298
+ readonly name: "owner_id";
299
+ readonly type: "uuid";
300
+ readonly notNull: true;
301
+ }, {
302
+ readonly name: "name";
303
+ readonly type: "varchar";
304
+ readonly length: 100;
305
+ readonly notNull: true;
306
+ }, {
307
+ readonly name: "street";
308
+ readonly type: "varchar";
309
+ readonly length: 255;
310
+ }, {
311
+ readonly name: "city";
312
+ readonly type: "varchar";
313
+ readonly length: 100;
314
+ }, {
315
+ readonly name: "state";
316
+ readonly type: "varchar";
317
+ readonly length: 50;
318
+ }, {
319
+ readonly name: "zip";
320
+ readonly type: "varchar";
321
+ readonly length: 20;
322
+ }, {
323
+ readonly name: "country";
324
+ readonly type: "varchar";
325
+ readonly length: 50;
326
+ readonly default: "US";
327
+ }, {
328
+ readonly name: "latitude";
329
+ readonly type: "decimal";
330
+ readonly precision: 10;
331
+ readonly scale: 8;
332
+ }, {
333
+ readonly name: "longitude";
334
+ readonly type: "decimal";
335
+ readonly precision: 11;
336
+ readonly scale: 8;
337
+ }, {
338
+ readonly name: "neighborhood";
339
+ readonly type: "varchar";
340
+ readonly length: 100;
341
+ }, {
342
+ readonly name: "apartment";
343
+ readonly type: "varchar";
344
+ readonly length: 50;
345
+ }, {
346
+ readonly name: "province";
347
+ readonly type: "varchar";
348
+ readonly length: 100;
349
+ }, {
350
+ readonly name: "district";
351
+ readonly type: "varchar";
352
+ readonly length: 100;
353
+ }, {
354
+ readonly name: "type";
355
+ readonly type: "varchar";
356
+ readonly length: 50;
357
+ }];
358
+ readonly indexes: readonly [{
359
+ readonly columns: readonly ["city", "state"];
360
+ }, {
361
+ readonly columns: readonly ["latitude", "longitude"];
362
+ }, {
363
+ readonly columns: readonly ["type"];
364
+ }, {
365
+ readonly columns: readonly ["owner_type", "owner_id"];
366
+ }];
367
+ }, {
368
+ readonly table_name: "phones";
369
+ readonly feature_set: readonly ["authentication"];
370
+ readonly add_base_columns: true;
371
+ readonly is_form_data: false;
372
+ readonly available_app_ids: readonly ["default_be"];
373
+ readonly available_schemas: readonly ["*"];
374
+ readonly excluded_schemas: readonly [];
375
+ readonly excluded_methods: readonly [];
376
+ readonly columns: readonly [{
377
+ readonly name: "owner_type";
378
+ readonly type: "varchar";
379
+ readonly length: 50;
380
+ readonly notNull: true;
381
+ readonly enumValues: readonly ["user", "company", "contact"];
382
+ }, {
383
+ readonly name: "owner_id";
384
+ readonly type: "uuid";
385
+ readonly notNull: true;
386
+ }, {
387
+ readonly name: "name";
388
+ readonly type: "varchar";
389
+ readonly length: 100;
390
+ readonly notNull: true;
391
+ }, {
392
+ readonly name: "type";
393
+ readonly type: "varchar";
394
+ readonly length: 50;
395
+ readonly enumValues: readonly ["mobile", "office", "fax"];
396
+ }, {
397
+ readonly name: "number";
398
+ readonly type: "varchar";
399
+ readonly length: 20;
400
+ readonly notNull: true;
401
+ }, {
402
+ readonly name: "country_code";
403
+ readonly type: "varchar";
404
+ readonly length: 10;
405
+ readonly notNull: true;
406
+ readonly default: "+1";
407
+ }, {
408
+ readonly name: "extension";
409
+ readonly type: "varchar";
410
+ readonly length: 10;
411
+ }];
412
+ readonly indexes: readonly [{
413
+ readonly columns: readonly ["number"];
414
+ }, {
415
+ readonly columns: readonly ["type"];
416
+ }, {
417
+ readonly columns: readonly ["owner_type", "owner_id"];
418
+ }];
419
+ }, {
420
+ readonly table_name: "notifications";
421
+ readonly feature_set: readonly ["authentication", "notification"];
422
+ readonly add_base_columns: true;
423
+ readonly is_form_data: false;
424
+ readonly available_app_ids: readonly ["default_be"];
425
+ readonly available_schemas: readonly ["*"];
426
+ readonly excluded_schemas: readonly [];
427
+ readonly excluded_methods: readonly [];
428
+ readonly columns: readonly [{
429
+ readonly name: "user_id";
430
+ readonly type: "uuid";
431
+ readonly notNull: true;
432
+ }, {
433
+ readonly name: "title";
434
+ readonly type: "varchar";
435
+ readonly length: 255;
436
+ readonly notNull: true;
437
+ }, {
438
+ readonly name: "body";
439
+ readonly type: "varchar";
440
+ readonly length: 1000;
441
+ }, {
442
+ readonly name: "entity_name";
443
+ readonly type: "varchar";
444
+ readonly length: 100;
445
+ }, {
446
+ readonly name: "entity_id";
447
+ readonly type: "uuid";
448
+ }, {
449
+ readonly name: "is_seen";
450
+ readonly type: "boolean";
451
+ readonly notNull: true;
452
+ readonly default: false;
453
+ }, {
454
+ readonly name: "seen_at";
455
+ readonly type: "timestamptz";
456
+ }];
457
+ readonly indexes: readonly [{
458
+ readonly columns: readonly ["user_id", "created_at"];
459
+ }, {
460
+ readonly columns: readonly ["is_seen"];
461
+ }];
462
+ }, {
463
+ readonly table_name: "tenants";
464
+ readonly feature_set: readonly ["multi-tenant"];
465
+ readonly add_base_columns: true;
466
+ readonly is_form_data: false;
467
+ readonly available_app_ids: readonly ["default_be"];
468
+ readonly available_schemas: readonly ["main"];
469
+ readonly excluded_schemas: readonly [];
470
+ readonly excluded_methods: readonly [];
471
+ readonly columns: readonly [{
472
+ readonly name: "subdomain";
473
+ readonly type: "varchar";
474
+ readonly length: 100;
475
+ readonly notNull: true;
476
+ readonly unique: true;
477
+ }, {
478
+ readonly name: "company_id";
479
+ readonly type: "uuid";
480
+ readonly notNull: true;
481
+ }, {
482
+ readonly name: "schema_name";
483
+ readonly type: "varchar";
484
+ readonly length: 100;
485
+ readonly notNull: true;
486
+ readonly unique: true;
487
+ }, {
488
+ readonly name: "company_name";
489
+ readonly type: "varchar";
490
+ readonly length: 255;
491
+ }, {
492
+ readonly name: "god_admin_email";
493
+ readonly type: "varchar";
494
+ readonly length: 255;
495
+ }];
496
+ readonly indexes: readonly [];
497
+ }, {
498
+ readonly table_name: "verifications";
499
+ readonly feature_set: readonly ["authentication", "verification"];
500
+ readonly add_base_columns: true;
501
+ readonly is_form_data: false;
502
+ readonly available_app_ids: readonly ["default_be"];
503
+ readonly available_schemas: readonly ["*"];
504
+ readonly excluded_schemas: readonly [];
505
+ readonly excluded_methods: readonly [];
506
+ readonly columns: readonly [{
507
+ readonly name: "requirement_id";
508
+ readonly type: "uuid";
509
+ readonly notNull: true;
510
+ readonly references: {
511
+ readonly table: "verificationRequirements";
512
+ readonly column: "id";
513
+ };
514
+ }, {
515
+ readonly name: "verifier_id";
516
+ readonly type: "uuid";
517
+ readonly notNull: true;
518
+ readonly references: {
519
+ readonly table: "users";
520
+ readonly column: "id";
521
+ };
522
+ }, {
523
+ readonly name: "signature_id";
524
+ readonly type: "uuid";
525
+ readonly references: {
526
+ readonly table: "files";
527
+ readonly column: "id";
528
+ };
529
+ }, {
530
+ readonly name: "entity_name";
531
+ readonly type: "varchar";
532
+ readonly length: 100;
533
+ readonly notNull: true;
534
+ }, {
535
+ readonly name: "entity_id";
536
+ readonly type: "uuid";
537
+ readonly notNull: true;
538
+ }, {
539
+ readonly name: "step_order";
540
+ readonly type: "integer";
541
+ readonly notNull: true;
542
+ readonly default: 1;
543
+ }, {
544
+ readonly name: "decision";
545
+ readonly type: "varchar";
546
+ readonly length: 50;
547
+ readonly notNull: true;
548
+ readonly default: "pending";
549
+ readonly enumValues: readonly ["approved", "rejected", "pending"];
550
+ }, {
551
+ readonly name: "reason";
552
+ readonly type: "text";
553
+ }, {
554
+ readonly name: "diff";
555
+ readonly type: "jsonb";
556
+ }];
557
+ readonly indexes: readonly [{
558
+ readonly columns: readonly ["requirement_id"];
559
+ }, {
560
+ readonly columns: readonly ["verifier_id"];
561
+ }, {
562
+ readonly columns: readonly ["entity_name", "entity_id"];
563
+ }, {
564
+ readonly columns: readonly ["entity_name", "entity_id", "step_order"];
565
+ }, {
566
+ readonly columns: readonly ["decision"];
567
+ }];
568
+ }, {
569
+ readonly table_name: "verificationRequirements";
570
+ readonly feature_set: readonly ["authentication", "verification"];
571
+ readonly add_base_columns: true;
572
+ readonly is_form_data: false;
573
+ readonly available_app_ids: readonly ["default_be"];
574
+ readonly available_schemas: readonly ["*"];
575
+ readonly excluded_schemas: readonly [];
576
+ readonly excluded_methods: readonly [];
577
+ readonly columns: readonly [{
578
+ readonly name: "entity_id";
579
+ readonly type: "uuid";
580
+ }, {
581
+ readonly name: "entity_name";
582
+ readonly type: "varchar";
583
+ readonly length: 100;
584
+ }, {
585
+ readonly name: "verifier_type";
586
+ readonly type: "varchar";
587
+ readonly length: 30;
588
+ readonly enumValues: readonly ["user", "role", "entity_creator"];
589
+ }, {
590
+ readonly name: "verifier_id";
591
+ readonly type: "uuid";
592
+ }, {
593
+ readonly name: "verifier_role";
594
+ readonly type: "varchar";
595
+ readonly length: 50;
596
+ }, {
597
+ readonly name: "is_signature_mandatory";
598
+ readonly type: "boolean";
599
+ readonly notNull: true;
600
+ }, {
601
+ readonly name: "step_order";
602
+ readonly type: "integer";
603
+ readonly notNull: true;
604
+ readonly default: 1;
605
+ }, {
606
+ readonly name: "is_all_required";
607
+ readonly type: "boolean";
608
+ readonly notNull: true;
609
+ readonly default: false;
610
+ }, {
611
+ readonly name: "connected_from_step_order";
612
+ readonly type: "integer";
613
+ }, {
614
+ readonly name: "position_x";
615
+ readonly type: "numeric";
616
+ }, {
617
+ readonly name: "position_y";
618
+ readonly type: "numeric";
619
+ }];
620
+ readonly indexes: readonly [{
621
+ readonly columns: readonly ["entity_id"];
622
+ }];
623
+ }, {
624
+ readonly table_name: "verificationFlows";
625
+ readonly feature_set: readonly ["authentication", "verification"];
626
+ readonly add_base_columns: true;
627
+ readonly is_form_data: false;
628
+ readonly available_app_ids: readonly ["default_be"];
629
+ readonly available_schemas: readonly ["*"];
630
+ readonly excluded_schemas: readonly [];
631
+ readonly excluded_methods: readonly [];
632
+ readonly columns: readonly [{
633
+ readonly name: "entity_name";
634
+ readonly type: "varchar";
635
+ readonly length: 100;
636
+ readonly notNull: true;
637
+ }, {
638
+ readonly name: "name";
639
+ readonly type: "varchar";
640
+ readonly length: 255;
641
+ readonly notNull: true;
642
+ }, {
643
+ readonly name: "description";
644
+ readonly type: "text";
645
+ }, {
646
+ readonly name: "trigger_on";
647
+ readonly type: "varchar";
648
+ readonly length: 50;
649
+ readonly notNull: true;
650
+ readonly default: "update";
651
+ readonly enumValues: readonly ["create", "update", "delete", "manual"];
652
+ }, {
653
+ readonly name: "trigger_fields";
654
+ readonly type: "jsonb";
655
+ }, {
656
+ readonly name: "is_draft";
657
+ readonly type: "boolean";
658
+ readonly notNull: true;
659
+ readonly default: true;
660
+ }, {
661
+ readonly name: "published_at";
662
+ readonly type: "timestamptz";
663
+ }, {
664
+ readonly name: "viewport";
665
+ readonly type: "jsonb";
666
+ }];
667
+ readonly indexes: readonly [{
668
+ readonly columns: readonly ["entity_name"];
669
+ }, {
670
+ readonly columns: readonly ["entity_name", "trigger_on"];
671
+ }, {
672
+ readonly columns: readonly ["is_draft"];
673
+ }];
674
+ }, {
675
+ readonly table_name: "verificationSteps";
676
+ readonly feature_set: readonly ["authentication", "verification"];
677
+ readonly add_base_columns: true;
678
+ readonly is_form_data: false;
679
+ readonly available_app_ids: readonly ["default_be"];
680
+ readonly available_schemas: readonly ["*"];
681
+ readonly excluded_schemas: readonly [];
682
+ readonly excluded_methods: readonly [];
683
+ readonly columns: readonly [{
684
+ readonly name: "flow_id";
685
+ readonly type: "uuid";
686
+ readonly notNull: true;
687
+ readonly references: {
688
+ readonly table: "verificationFlows";
689
+ readonly column: "id";
690
+ readonly onDelete: "cascade";
691
+ };
692
+ }, {
693
+ readonly name: "entity_name";
694
+ readonly type: "varchar";
695
+ readonly length: 100;
696
+ readonly notNull: true;
697
+ }, {
698
+ readonly name: "node_id";
699
+ readonly type: "varchar";
700
+ readonly length: 100;
701
+ readonly notNull: true;
702
+ }, {
703
+ readonly name: "node_type";
704
+ readonly type: "varchar";
705
+ readonly length: 50;
706
+ readonly notNull: true;
707
+ readonly default: "step";
708
+ readonly enumValues: readonly ["start", "step", "condition", "notification", "end"];
709
+ }, {
710
+ readonly name: "step_order";
711
+ readonly type: "integer";
712
+ readonly notNull: true;
713
+ readonly default: 1;
714
+ }, {
715
+ readonly name: "name";
716
+ readonly type: "varchar";
717
+ readonly length: 255;
718
+ }, {
719
+ readonly name: "description";
720
+ readonly type: "text";
721
+ }, {
722
+ readonly name: "position_x";
723
+ readonly type: "numeric";
724
+ readonly notNull: true;
725
+ readonly default: 0;
726
+ }, {
727
+ readonly name: "position_y";
728
+ readonly type: "numeric";
729
+ readonly notNull: true;
730
+ readonly default: 0;
731
+ }, {
732
+ readonly name: "width";
733
+ readonly type: "numeric";
734
+ }, {
735
+ readonly name: "height";
736
+ readonly type: "numeric";
737
+ }, {
738
+ readonly name: "style";
739
+ readonly type: "jsonb";
740
+ }, {
741
+ readonly name: "data";
742
+ readonly type: "jsonb";
743
+ }];
744
+ readonly indexes: readonly [{
745
+ readonly columns: readonly ["flow_id"];
746
+ }, {
747
+ readonly columns: readonly ["entity_name"];
748
+ }, {
749
+ readonly columns: readonly ["flow_id", "node_id"];
750
+ readonly unique: true;
751
+ }, {
752
+ readonly columns: readonly ["entity_name", "step_order"];
753
+ }];
754
+ }, {
755
+ readonly table_name: "verificationEdges";
756
+ readonly feature_set: readonly ["authentication", "verification"];
757
+ readonly add_base_columns: true;
758
+ readonly is_form_data: false;
759
+ readonly available_app_ids: readonly ["default_be"];
760
+ readonly available_schemas: readonly ["*"];
761
+ readonly excluded_schemas: readonly [];
762
+ readonly excluded_methods: readonly [];
763
+ readonly columns: readonly [{
764
+ readonly name: "flow_id";
765
+ readonly type: "uuid";
766
+ readonly notNull: true;
767
+ readonly references: {
768
+ readonly table: "verificationFlows";
769
+ readonly column: "id";
770
+ readonly onDelete: "cascade";
771
+ };
772
+ }, {
773
+ readonly name: "edge_id";
774
+ readonly type: "varchar";
775
+ readonly length: 100;
776
+ readonly notNull: true;
777
+ }, {
778
+ readonly name: "source_node_id";
779
+ readonly type: "varchar";
780
+ readonly length: 100;
781
+ readonly notNull: true;
782
+ }, {
783
+ readonly name: "target_node_id";
784
+ readonly type: "varchar";
785
+ readonly length: 100;
786
+ readonly notNull: true;
787
+ }, {
788
+ readonly name: "source_handle";
789
+ readonly type: "varchar";
790
+ readonly length: 50;
791
+ }, {
792
+ readonly name: "target_handle";
793
+ readonly type: "varchar";
794
+ readonly length: 50;
795
+ }, {
796
+ readonly name: "edge_type";
797
+ readonly type: "varchar";
798
+ readonly length: 50;
799
+ readonly default: "default";
800
+ readonly enumValues: readonly ["default", "conditional", "success", "failure"];
801
+ }, {
802
+ readonly name: "label";
803
+ readonly type: "varchar";
804
+ readonly length: 255;
805
+ }, {
806
+ readonly name: "condition";
807
+ readonly type: "jsonb";
808
+ }, {
809
+ readonly name: "style";
810
+ readonly type: "jsonb";
811
+ }, {
812
+ readonly name: "animated";
813
+ readonly type: "boolean";
814
+ readonly default: false;
815
+ }];
816
+ readonly indexes: readonly [{
817
+ readonly columns: readonly ["flow_id"];
818
+ }, {
819
+ readonly columns: readonly ["flow_id", "edge_id"];
820
+ readonly unique: true;
821
+ }, {
822
+ readonly columns: readonly ["source_node_id"];
823
+ }, {
824
+ readonly columns: readonly ["target_node_id"];
825
+ }];
826
+ }, {
827
+ readonly table_name: "verificationNotificationRules";
828
+ readonly feature_set: readonly ["authentication", "verification", "notification"];
829
+ readonly add_base_columns: true;
830
+ readonly is_form_data: false;
831
+ readonly available_app_ids: readonly ["default_be"];
832
+ readonly available_schemas: readonly ["*"];
833
+ readonly excluded_schemas: readonly [];
834
+ readonly excluded_methods: readonly [];
835
+ readonly columns: readonly [{
836
+ readonly name: "flow_id";
837
+ readonly type: "uuid";
838
+ readonly notNull: true;
839
+ readonly references: {
840
+ readonly table: "verificationFlows";
841
+ readonly column: "id";
842
+ readonly onDelete: "cascade";
843
+ };
844
+ }, {
845
+ readonly name: "step_node_id";
846
+ readonly type: "varchar";
847
+ readonly length: 100;
848
+ }, {
849
+ readonly name: "trigger";
850
+ readonly type: "varchar";
851
+ readonly length: 50;
852
+ readonly notNull: true;
853
+ readonly enumValues: readonly ["on_flow_started", "on_step_reached", "on_approved", "on_rejected", "on_flow_completed"];
854
+ }, {
855
+ readonly name: "channel";
856
+ readonly type: "varchar";
857
+ readonly length: 20;
858
+ readonly notNull: true;
859
+ readonly default: "portal";
860
+ readonly enumValues: readonly ["portal", "email", "both"];
861
+ }, {
862
+ readonly name: "title_template";
863
+ readonly type: "varchar";
864
+ readonly length: 255;
865
+ }, {
866
+ readonly name: "body_template";
867
+ readonly type: "text";
868
+ }, {
869
+ readonly name: "starts_at";
870
+ readonly type: "timestamptz";
871
+ }, {
872
+ readonly name: "expires_at";
873
+ readonly type: "timestamptz";
874
+ }];
875
+ readonly indexes: readonly [{
876
+ readonly columns: readonly ["flow_id"];
877
+ }, {
878
+ readonly columns: readonly ["flow_id", "step_node_id"];
879
+ }, {
880
+ readonly columns: readonly ["trigger"];
881
+ }];
882
+ }, {
883
+ readonly table_name: "verificationNotificationRecipients";
884
+ readonly feature_set: readonly ["authentication", "verification", "notification"];
885
+ readonly add_base_columns: true;
886
+ readonly is_form_data: false;
887
+ readonly available_app_ids: readonly ["default_be"];
888
+ readonly available_schemas: readonly ["*"];
889
+ readonly excluded_schemas: readonly [];
890
+ readonly excluded_methods: readonly [];
891
+ readonly columns: readonly [{
892
+ readonly name: "rule_id";
893
+ readonly type: "uuid";
894
+ readonly notNull: true;
895
+ }, {
896
+ readonly name: "recipient_type";
897
+ readonly type: "varchar";
898
+ readonly length: 20;
899
+ readonly notNull: true;
900
+ readonly enumValues: readonly ["user", "role", "all_verifiers", "step_verifier"];
901
+ }, {
902
+ readonly name: "recipient_user_id";
903
+ readonly type: "uuid";
904
+ }, {
905
+ readonly name: "recipient_role_id";
906
+ readonly type: "uuid";
907
+ }, {
908
+ readonly name: "channel";
909
+ readonly type: "varchar";
910
+ readonly length: 20;
911
+ readonly notNull: true;
912
+ readonly enumValues: readonly ["portal"];
913
+ }];
914
+ readonly indexes: readonly [{
915
+ readonly columns: readonly ["rule_id"];
916
+ }, {
917
+ readonly columns: readonly ["recipient_type"];
918
+ }, {
919
+ readonly columns: readonly ["channel"];
920
+ }];
921
+ }, {
922
+ readonly table_name: "user_sessions";
923
+ readonly feature_set: readonly ["authentication"];
924
+ readonly add_base_columns: true;
925
+ readonly is_form_data: false;
926
+ readonly available_app_ids: readonly ["default_be"];
927
+ readonly available_schemas: readonly ["*"];
928
+ readonly excluded_schemas: readonly [];
929
+ readonly excluded_methods: readonly ["POST", "PUT", "PATCH"];
930
+ readonly columns: readonly [{
931
+ readonly name: "user_id";
932
+ readonly type: "uuid";
933
+ readonly notNull: true;
934
+ readonly references: {
935
+ readonly table: "users";
936
+ readonly column: "id";
937
+ readonly onDelete: "cascade";
938
+ };
939
+ }, {
940
+ readonly name: "token_hash";
941
+ readonly type: "varchar";
942
+ readonly length: 255;
943
+ readonly notNull: true;
944
+ }, {
945
+ readonly name: "refresh_token_hash";
946
+ readonly type: "varchar";
947
+ readonly length: 255;
948
+ }, {
949
+ readonly name: "device_fingerprint";
950
+ readonly type: "varchar";
951
+ readonly length: 255;
952
+ }, {
953
+ readonly name: "device_name";
954
+ readonly type: "varchar";
955
+ readonly length: 100;
956
+ }, {
957
+ readonly name: "device_type";
958
+ readonly type: "varchar";
959
+ readonly length: 50;
960
+ readonly enumValues: readonly ["desktop", "mobile", "tablet", "unknown"];
961
+ }, {
962
+ readonly name: "browser_name";
963
+ readonly type: "varchar";
964
+ readonly length: 50;
965
+ }, {
966
+ readonly name: "browser_version";
967
+ readonly type: "varchar";
968
+ readonly length: 20;
969
+ }, {
970
+ readonly name: "os_name";
971
+ readonly type: "varchar";
972
+ readonly length: 50;
973
+ }, {
974
+ readonly name: "os_version";
975
+ readonly type: "varchar";
976
+ readonly length: 20;
977
+ }, {
978
+ readonly name: "ip_address";
979
+ readonly type: "varchar";
980
+ readonly length: 45;
981
+ readonly notNull: true;
982
+ }, {
983
+ readonly name: "location_country";
984
+ readonly type: "varchar";
985
+ readonly length: 100;
986
+ }, {
987
+ readonly name: "location_city";
988
+ readonly type: "varchar";
989
+ readonly length: 100;
990
+ }, {
991
+ readonly name: "location_coordinates";
992
+ readonly type: "varchar";
993
+ readonly length: 50;
994
+ }, {
995
+ readonly name: "last_activity_at";
996
+ readonly type: "timestamptz";
997
+ readonly notNull: true;
998
+ readonly defaultRaw: "now()";
999
+ }, {
1000
+ readonly name: "expires_at";
1001
+ readonly type: "timestamptz";
1002
+ readonly notNull: true;
1003
+ }, {
1004
+ readonly name: "revoked_at";
1005
+ readonly type: "timestamptz";
1006
+ }, {
1007
+ readonly name: "revoked_reason";
1008
+ readonly type: "varchar";
1009
+ readonly length: 100;
1010
+ readonly enumValues: readonly ["user_logout", "user_revoked", "admin_revoked", "security_concern", "password_changed", "expired", "replaced"];
1011
+ }, {
1012
+ readonly name: "is_current";
1013
+ readonly type: "boolean";
1014
+ readonly notNull: true;
1015
+ readonly default: false;
1016
+ }, {
1017
+ readonly name: "login_method";
1018
+ readonly type: "varchar";
1019
+ readonly length: 50;
1020
+ readonly enumValues: readonly ["password", "oauth_google", "oauth_github", "oauth_microsoft", "magic_link", "sso", "api_key"];
1021
+ }, {
1022
+ readonly name: "trust_score";
1023
+ readonly type: "integer";
1024
+ readonly default: 100;
1025
+ }, {
1026
+ readonly name: "approval_status";
1027
+ readonly type: "varchar";
1028
+ readonly length: 20;
1029
+ readonly default: "approved";
1030
+ readonly enumValues: readonly ["approved", "pending", "rejected"];
1031
+ }, {
1032
+ readonly name: "approval_token";
1033
+ readonly type: "varchar";
1034
+ readonly length: 64;
1035
+ }, {
1036
+ readonly name: "approval_requested_at";
1037
+ readonly type: "timestamptz";
1038
+ }, {
1039
+ readonly name: "approval_responded_at";
1040
+ readonly type: "timestamptz";
1041
+ }];
1042
+ readonly indexes: readonly [{
1043
+ readonly columns: readonly ["user_id"];
1044
+ }, {
1045
+ readonly columns: readonly ["token_hash"];
1046
+ readonly unique: true;
1047
+ }, {
1048
+ readonly columns: readonly ["refresh_token_hash"];
1049
+ }, {
1050
+ readonly columns: readonly ["user_id", "is_active"];
1051
+ }, {
1052
+ readonly columns: readonly ["expires_at"];
1053
+ }, {
1054
+ readonly columns: readonly ["device_fingerprint"];
1055
+ }, {
1056
+ readonly columns: readonly ["ip_address"];
1057
+ }, {
1058
+ readonly columns: readonly ["last_activity_at"];
1059
+ }, {
1060
+ readonly columns: readonly ["approval_status"];
1061
+ }, {
1062
+ readonly columns: readonly ["approval_token"];
1063
+ }];
1064
+ }, {
1065
+ readonly table_name: "password_reset_tokens";
1066
+ readonly feature_set: readonly ["authentication"];
1067
+ readonly add_base_columns: true;
1068
+ readonly is_form_data: false;
1069
+ readonly available_app_ids: readonly ["default_be"];
1070
+ readonly available_schemas: readonly ["*"];
1071
+ readonly excluded_schemas: readonly [];
1072
+ readonly excluded_methods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1073
+ readonly columns: readonly [{
1074
+ readonly name: "user_id";
1075
+ readonly type: "uuid";
1076
+ readonly notNull: true;
1077
+ readonly references: {
1078
+ readonly table: "users";
1079
+ readonly column: "id";
1080
+ readonly onDelete: "cascade";
1081
+ };
1082
+ }, {
1083
+ readonly name: "token_hash";
1084
+ readonly type: "varchar";
1085
+ readonly length: 255;
1086
+ readonly notNull: true;
1087
+ }, {
1088
+ readonly name: "expires_at";
1089
+ readonly type: "timestamptz";
1090
+ readonly notNull: true;
1091
+ }, {
1092
+ readonly name: "used_at";
1093
+ readonly type: "timestamptz";
1094
+ }];
1095
+ readonly indexes: readonly [{
1096
+ readonly columns: readonly ["token_hash"];
1097
+ readonly unique: true;
1098
+ }, {
1099
+ readonly columns: readonly ["user_id"];
1100
+ }, {
1101
+ readonly columns: readonly ["expires_at"];
1102
+ }];
1103
+ }, {
1104
+ readonly table_name: "magic_link_tokens";
1105
+ readonly feature_set: readonly ["authentication"];
1106
+ readonly add_base_columns: true;
1107
+ readonly is_form_data: false;
1108
+ readonly available_app_ids: readonly ["default_be"];
1109
+ readonly available_schemas: readonly ["*"];
1110
+ readonly excluded_schemas: readonly [];
1111
+ readonly excluded_methods: readonly ["POST", "PUT", "PATCH", "DELETE"];
1112
+ readonly columns: readonly [{
1113
+ readonly name: "user_id";
1114
+ readonly type: "uuid";
1115
+ readonly notNull: true;
1116
+ readonly references: {
1117
+ readonly table: "users";
1118
+ readonly column: "id";
1119
+ readonly onDelete: "cascade";
1120
+ };
1121
+ }, {
1122
+ readonly name: "email";
1123
+ readonly type: "varchar";
1124
+ readonly length: 255;
1125
+ readonly notNull: true;
1126
+ }, {
1127
+ readonly name: "token_hash";
1128
+ readonly type: "varchar";
1129
+ readonly length: 255;
1130
+ readonly notNull: true;
1131
+ }, {
1132
+ readonly name: "expires_at";
1133
+ readonly type: "timestamptz";
1134
+ readonly notNull: true;
1135
+ }, {
1136
+ readonly name: "used_at";
1137
+ readonly type: "timestamptz";
1138
+ }];
1139
+ readonly indexes: readonly [{
1140
+ readonly columns: readonly ["token_hash"];
1141
+ readonly unique: true;
1142
+ }, {
1143
+ readonly columns: readonly ["user_id"];
1144
+ }, {
1145
+ readonly columns: readonly ["email"];
1146
+ }, {
1147
+ readonly columns: readonly ["expires_at"];
1148
+ }];
1149
+ }, {
1150
+ readonly table_name: "audit_logs";
1151
+ readonly feature_set: readonly ["audit"];
1152
+ readonly add_base_columns: false;
1153
+ readonly is_form_data: false;
1154
+ readonly available_app_ids: readonly ["default_be"];
1155
+ readonly available_schemas: readonly ["*"];
1156
+ readonly excluded_schemas: readonly [];
1157
+ readonly excluded_methods: readonly ["POST", "PUT", "DELETE", "PATCH", "TOGGLE", "VERIFICATION"];
1158
+ readonly columns: readonly [{
1159
+ readonly name: "id";
1160
+ readonly type: "uuid";
1161
+ readonly primaryKey: true;
1162
+ readonly defaultRaw: "gen_random_uuid()";
1163
+ }, {
1164
+ readonly name: "entity_id";
1165
+ readonly type: "uuid";
1166
+ }, {
1167
+ readonly name: "entity_name";
1168
+ readonly type: "text";
1169
+ readonly notNull: true;
1170
+ }, {
1171
+ readonly name: "operation_type";
1172
+ readonly type: "text";
1173
+ readonly notNull: true;
1174
+ }, {
1175
+ readonly name: "user_id";
1176
+ readonly type: "uuid";
1177
+ }, {
1178
+ readonly name: "ip_address";
1179
+ readonly type: "text";
1180
+ }, {
1181
+ readonly name: "user_agent";
1182
+ readonly type: "text";
1183
+ }, {
1184
+ readonly name: "summary";
1185
+ readonly type: "text";
1186
+ }, {
1187
+ readonly name: "old_values";
1188
+ readonly type: "jsonb";
1189
+ }, {
1190
+ readonly name: "new_values";
1191
+ readonly type: "jsonb";
1192
+ }, {
1193
+ readonly name: "created_at";
1194
+ readonly type: "timestamp";
1195
+ readonly notNull: true;
1196
+ readonly defaultRaw: "now()";
1197
+ }, {
1198
+ readonly name: "path";
1199
+ readonly type: "text";
1200
+ }, {
1201
+ readonly name: "query";
1202
+ readonly type: "text";
1203
+ }];
1204
+ readonly indexes: readonly [{
1205
+ readonly columns: readonly ["entity_id"];
1206
+ }, {
1207
+ readonly columns: readonly ["entity_name"];
1208
+ }, {
1209
+ readonly columns: readonly ["user_id"];
1210
+ }, {
1211
+ readonly columns: readonly ["created_at"];
1212
+ }];
1213
+ }];
1214
+ export type SystemTables = typeof SYSTEM_TABLES;
1215
+ //# sourceMappingURL=system-tables.d.ts.map