@tulip-systems/core 0.2.1 → 0.3.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 (396) hide show
  1. package/dist/auth/client.d.ts +3 -1
  2. package/dist/auth/client.js +4 -2
  3. package/dist/auth.d.ts +2 -1
  4. package/dist/auth.js +3 -2
  5. package/dist/commands/client.d.ts +4 -4
  6. package/dist/commands/client.js +4 -4
  7. package/dist/components/client.d.ts +5 -3
  8. package/dist/components/client.js +6 -4
  9. package/dist/components/common/icons.d.ts +51 -48
  10. package/dist/components/common/icons.d.ts.map +1 -1
  11. package/dist/components/common/icons.js +4 -1
  12. package/dist/components/common/icons.js.map +1 -1
  13. package/dist/components/common/status.d.ts +3 -3
  14. package/dist/components/common/status.d.ts.map +1 -1
  15. package/dist/components/editor/components/content.client.d.ts +2 -2
  16. package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
  17. package/dist/components/editor/context.client.d.ts +4 -4
  18. package/dist/components/editor/context.client.d.ts.map +1 -1
  19. package/dist/components/editor/index.client.d.ts +2 -2
  20. package/dist/components/editor/preview.client.d.ts +2 -2
  21. package/dist/components/header/back-button.client.d.ts +2 -2
  22. package/dist/components/header/bottom-bar.client.d.ts +5 -5
  23. package/dist/components/header/bottom-bar.client.d.ts.map +1 -1
  24. package/dist/components/header/bottom-bar.client.js.map +1 -1
  25. package/dist/components/header/breadcrumbs.client.d.ts +7 -7
  26. package/dist/components/header/breadcrumbs.client.js +1 -1
  27. package/dist/components/header/header.client.d.ts +2 -2
  28. package/dist/components/header/mobile-nav-switcher.client.d.ts +2 -2
  29. package/dist/components/header/top-bar.client.d.ts +4 -4
  30. package/dist/components/layouts/admin-content.client.d.ts +13 -0
  31. package/dist/components/layouts/admin-content.client.d.ts.map +1 -0
  32. package/dist/components/layouts/admin-layout.d.ts +8 -0
  33. package/dist/components/layouts/admin-layout.d.ts.map +1 -0
  34. package/dist/components/layouts/admin-layout.js +15 -0
  35. package/dist/components/layouts/admin-layout.js.map +1 -0
  36. package/dist/components/layouts/admin-loading.d.ts +3 -3
  37. package/dist/components/layouts/admin-loading.d.ts.map +1 -1
  38. package/dist/components/layouts/admin-loading.js +2 -2
  39. package/dist/components/layouts/admin-loading.js.map +1 -1
  40. package/dist/components/layouts/empty-page.d.ts +4 -4
  41. package/dist/components/layouts/empty-page.d.ts.map +1 -1
  42. package/dist/components/layouts/list-layout.d.ts +2 -2
  43. package/dist/components/layouts/list-layout.d.ts.map +1 -1
  44. package/dist/components/layouts/not-found-page.d.ts +2 -2
  45. package/dist/components/layouts/not-found-page.d.ts.map +1 -1
  46. package/dist/components/layouts/providers.client.d.ts +2 -2
  47. package/dist/components/layouts/root-layout.server.d.ts +2 -2
  48. package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
  49. package/dist/components/layouts/root-loading.d.ts +7 -0
  50. package/dist/components/layouts/root-loading.d.ts.map +1 -0
  51. package/dist/components/layouts/root-loading.js +14 -0
  52. package/dist/components/layouts/root-loading.js.map +1 -0
  53. package/dist/components/layouts/tab-layout.d.ts +2 -2
  54. package/dist/components/layouts/tab-layout.d.ts.map +1 -1
  55. package/dist/components/lists/data-list.d.ts +5 -5
  56. package/dist/components/lists/data-list.d.ts.map +1 -1
  57. package/dist/components/lists/data-stack.d.ts +8 -8
  58. package/dist/components/lists/data-stack.d.ts.map +1 -1
  59. package/dist/components/{layouts → navigation}/admin-sidebar-header.client.js +8 -9
  60. package/dist/components/navigation/admin-sidebar-header.client.js.map +1 -0
  61. package/dist/components/navigation/admin-sidebar-paths.client.d.ts +81 -0
  62. package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +1 -0
  63. package/dist/components/navigation/admin-sidebar-paths.client.js +143 -0
  64. package/dist/components/navigation/admin-sidebar-paths.client.js.map +1 -0
  65. package/dist/components/navigation/admin-sidebar-skeleton.js +31 -0
  66. package/dist/components/navigation/admin-sidebar-skeleton.js.map +1 -0
  67. package/dist/components/server.d.ts +1 -1
  68. package/dist/components/server.js +1 -1
  69. package/dist/components/ui/accordion.d.ts +5 -5
  70. package/dist/components/ui/accordion.d.ts.map +1 -1
  71. package/dist/components/ui/alert-dialog.d.ts +12 -12
  72. package/dist/components/ui/alert-dialog.d.ts.map +1 -1
  73. package/dist/components/ui/alert.d.ts +6 -6
  74. package/dist/components/ui/alert.d.ts.map +1 -1
  75. package/dist/components/ui/aspect-ratio.d.ts +2 -2
  76. package/dist/components/ui/aspect-ratio.d.ts.map +1 -1
  77. package/dist/components/ui/avatar.client.d.ts +4 -4
  78. package/dist/components/ui/badge.d.ts +4 -4
  79. package/dist/components/ui/badge.d.ts.map +1 -1
  80. package/dist/components/ui/breadcrumb.d.ts +8 -8
  81. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  82. package/dist/components/ui/button.d.ts +5 -5
  83. package/dist/components/ui/button.d.ts.map +1 -1
  84. package/dist/components/ui/calendar.d.ts +2 -2
  85. package/dist/components/ui/calendar.d.ts.map +1 -1
  86. package/dist/components/ui/card.d.ts +7 -7
  87. package/dist/components/ui/card.d.ts.map +1 -1
  88. package/dist/components/ui/carousel.d.ts +6 -6
  89. package/dist/components/ui/carousel.d.ts.map +1 -1
  90. package/dist/components/ui/chart.client.d.ts +5 -5
  91. package/dist/components/ui/checkbox.d.ts +2 -2
  92. package/dist/components/ui/checkbox.d.ts.map +1 -1
  93. package/dist/components/ui/collapsible.client.d.ts +4 -4
  94. package/dist/components/ui/color-picker.client.d.ts +2 -2
  95. package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
  96. package/dist/components/ui/combobox.client.d.ts +2 -2
  97. package/dist/components/ui/command.d.ts +10 -10
  98. package/dist/components/ui/command.d.ts.map +1 -1
  99. package/dist/components/ui/context-menu.d.ts +16 -16
  100. package/dist/components/ui/dialog.client.d.ts +11 -11
  101. package/dist/components/ui/drawer.client.d.ts +11 -11
  102. package/dist/components/ui/dropdown-menu.d.ts +16 -16
  103. package/dist/components/ui/form.client.d.ts +8 -8
  104. package/dist/components/ui/hover-card.client.d.ts +4 -4
  105. package/dist/components/ui/input.d.ts +2 -2
  106. package/dist/components/ui/label.d.ts +2 -2
  107. package/dist/components/ui/navigation-menu.d.ts +11 -11
  108. package/dist/components/ui/pagination.d.ts +8 -8
  109. package/dist/components/ui/pagination.d.ts.map +1 -1
  110. package/dist/components/ui/popover.d.ts +5 -5
  111. package/dist/components/ui/progress.client.d.ts +2 -2
  112. package/dist/components/ui/radio-group.d.ts +3 -3
  113. package/dist/components/ui/resizable.client.d.ts +4 -4
  114. package/dist/components/ui/scroll-area.d.ts +3 -3
  115. package/dist/components/ui/select.client.d.ts +11 -11
  116. package/dist/components/ui/separator.d.ts +2 -2
  117. package/dist/components/ui/sheet.client.d.ts +9 -9
  118. package/dist/components/ui/sidebar.client.d.ts +26 -26
  119. package/dist/components/ui/sidebar.client.js +1 -1
  120. package/dist/components/ui/skeleton.d.ts +2 -2
  121. package/dist/components/ui/slider.d.ts +2 -2
  122. package/dist/components/ui/sonner.client.d.ts +2 -2
  123. package/dist/components/ui/sonner.client.js +1 -1
  124. package/dist/components/ui/spinner.js +63 -0
  125. package/dist/components/ui/spinner.js.map +1 -0
  126. package/dist/components/ui/switch.d.ts +2 -2
  127. package/dist/components/ui/tabs.d.ts +5 -5
  128. package/dist/components/ui/textarea.d.ts +2 -2
  129. package/dist/components/ui/time-input.client.d.ts +2 -2
  130. package/dist/components/ui/toggle-group.client.d.ts +3 -3
  131. package/dist/components/ui/toggle.d.ts +2 -2
  132. package/dist/components/ui/toggle.d.ts.map +1 -1
  133. package/dist/components/ui/tooltip.client.d.ts +5 -5
  134. package/dist/components/ui/tree.client.d.ts +5 -5
  135. package/dist/components.d.ts +5 -4
  136. package/dist/components.js +7 -6
  137. package/dist/config/server.d.ts +2 -3
  138. package/dist/config/server.js +3 -4
  139. package/dist/config.d.ts +3 -2
  140. package/dist/config.js +2 -1
  141. package/dist/lib/client.js +1 -1
  142. package/dist/lib/hooks/use-action.d.ts +2 -2
  143. package/dist/lib/hooks/use-indicator.d.ts +2 -2
  144. package/dist/modules/auth/components/allowed.client.d.ts +2 -2
  145. package/dist/modules/auth/components/allowed.client.js +1 -1
  146. package/dist/modules/auth/components/allowed.client.js.map +1 -1
  147. package/dist/modules/auth/components/allowed.server.d.ts +2 -2
  148. package/dist/modules/auth/components/allowed.server.d.ts.map +1 -1
  149. package/dist/modules/auth/components/allowed.server.js +1 -1
  150. package/dist/modules/auth/components/auth-layout.server.d.ts +4 -5
  151. package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
  152. package/dist/modules/auth/components/auth-layout.server.js +1 -4
  153. package/dist/modules/auth/components/auth-layout.server.js.map +1 -1
  154. package/dist/modules/auth/components/auth-loading.d.ts +7 -0
  155. package/dist/modules/auth/components/auth-loading.d.ts.map +1 -0
  156. package/dist/modules/auth/components/auth-loading.js +18 -0
  157. package/dist/modules/auth/components/auth-loading.js.map +1 -0
  158. package/dist/modules/auth/components/forget-password-page.client.d.ts +2 -2
  159. package/dist/modules/auth/components/forget-password-page.client.js +2 -2
  160. package/dist/modules/auth/components/guard.js +16 -0
  161. package/dist/modules/auth/components/guard.js.map +1 -0
  162. package/dist/modules/auth/components/login-page.client.d.ts +2 -6
  163. package/dist/modules/auth/components/login-page.client.d.ts.map +1 -1
  164. package/dist/modules/auth/components/login-page.client.js +7 -6
  165. package/dist/modules/auth/components/login-page.client.js.map +1 -1
  166. package/dist/modules/auth/components/reset-password-page.client.d.ts +2 -2
  167. package/dist/modules/auth/components/reset-password-page.client.js +3 -3
  168. package/dist/modules/auth/components/update-password-command.d.ts +3 -3
  169. package/dist/modules/auth/components/update-password-command.js +1 -1
  170. package/dist/modules/auth/handler/client.client.d.ts +48 -48
  171. package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
  172. package/dist/modules/auth/hooks/use-permission.d.ts +26 -0
  173. package/dist/modules/auth/hooks/use-permission.d.ts.map +1 -0
  174. package/dist/modules/auth/hooks/{use-permission.client.js → use-permission.js} +5 -3
  175. package/dist/modules/auth/hooks/use-permission.js.map +1 -0
  176. package/dist/modules/auth/hooks/use-session.d.ts +34 -0
  177. package/dist/modules/auth/hooks/use-session.d.ts.map +1 -0
  178. package/dist/modules/auth/hooks/use-session.js +21 -0
  179. package/dist/modules/auth/hooks/use-session.js.map +1 -0
  180. package/dist/modules/auth/lib/helpers.server.d.ts +1 -1
  181. package/dist/modules/auth/lib/helpers.server.js +2 -2
  182. package/dist/modules/auth/lib/validators.d.ts +1 -1
  183. package/dist/modules/auth/lib/validators.d.ts.map +1 -1
  184. package/dist/modules/auth/lib/validators.js +1 -1
  185. package/dist/modules/auth/lib/validators.js.map +1 -1
  186. package/dist/modules/commands/components/alert-dialog-command.client.d.ts +11 -11
  187. package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +1 -1
  188. package/dist/modules/commands/components/alert-dialog-command.client.js +1 -1
  189. package/dist/modules/commands/components/click-command.client.d.ts +2 -2
  190. package/dist/modules/commands/components/click-command.client.d.ts.map +1 -1
  191. package/dist/modules/commands/components/command-trigger.client.d.ts +6 -6
  192. package/dist/modules/commands/components/command-trigger.client.d.ts.map +1 -1
  193. package/dist/modules/commands/components/command-trigger.client.js +1 -1
  194. package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
  195. package/dist/modules/commands/components/dialog-command.client.d.ts.map +1 -1
  196. package/dist/modules/commands/components/dialog-command.client.js +1 -1
  197. package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
  198. package/dist/modules/commands/components/dropdown-command.client.d.ts.map +1 -1
  199. package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
  200. package/dist/modules/commands/components/empty-command.client.d.ts.map +1 -1
  201. package/dist/modules/commands/components/form-dialog-command.client.d.ts +12 -12
  202. package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +1 -1
  203. package/dist/modules/commands/components/form-dialog-command.client.js +1 -1
  204. package/dist/modules/commands/hooks/use-command-action.client.js +1 -1
  205. package/dist/modules/commands/hooks/use-command-menu.client.js +1 -1
  206. package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -1
  207. package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
  208. package/dist/modules/commands/menus/context-menu.client.d.ts.map +1 -1
  209. package/dist/modules/commands/menus/dropdown-menu.client.d.ts +8 -4
  210. package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
  211. package/dist/modules/commands/menus/dropdown-menu.client.js +9 -1
  212. package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -1
  213. package/dist/modules/commands/menus/inline-menu.client.d.ts +8 -4
  214. package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
  215. package/dist/modules/commands/menus/inline-menu.client.js +12 -1
  216. package/dist/modules/commands/menus/inline-menu.client.js.map +1 -1
  217. package/dist/modules/commands/menus/responsive-menu.client.d.ts +4 -3
  218. package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
  219. package/dist/modules/commands/menus/responsive-menu.client.js +6 -3
  220. package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -1
  221. package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
  222. package/dist/modules/commands/utils/archive-command.client.d.ts.map +1 -1
  223. package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
  224. package/dist/modules/commands/utils/delete-command.client.d.ts.map +1 -1
  225. package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
  226. package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
  227. package/dist/modules/commands/utils/send-mail-command.client.js +3 -3
  228. package/dist/modules/config/db/helpers.d.ts +5 -5
  229. package/dist/modules/config/db/helpers.d.ts.map +1 -1
  230. package/dist/modules/config/lib/config.server.d.ts +0 -2
  231. package/dist/modules/config/lib/config.server.d.ts.map +1 -1
  232. package/dist/modules/config/lib/config.server.js.map +1 -1
  233. package/dist/modules/config/lib/resolve.server.d.ts +189 -190
  234. package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
  235. package/dist/modules/config/paths/helpers.d.ts +11 -0
  236. package/dist/modules/config/paths/helpers.d.ts.map +1 -0
  237. package/dist/modules/config/paths/helpers.js +9 -0
  238. package/dist/modules/config/paths/helpers.js.map +1 -0
  239. package/dist/modules/config/paths/types.d.ts +8 -37
  240. package/dist/modules/config/paths/types.d.ts.map +1 -1
  241. package/dist/modules/config/router/client.server.d.ts +4 -4
  242. package/dist/modules/config/router/client.server.d.ts.map +1 -1
  243. package/dist/modules/config/router/context.server.d.ts +191 -192
  244. package/dist/modules/config/router/context.server.d.ts.map +1 -1
  245. package/dist/modules/config/router/init.server.d.ts +196 -197
  246. package/dist/modules/config/router/init.server.d.ts.map +1 -1
  247. package/dist/modules/data-tables/components/cell/common.client.d.ts +5 -5
  248. package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -1
  249. package/dist/modules/data-tables/components/column-header.d.ts +2 -2
  250. package/dist/modules/data-tables/components/column-header.d.ts.map +1 -1
  251. package/dist/modules/data-tables/components/filters/combobox.client.d.ts +2 -2
  252. package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -1
  253. package/dist/modules/data-tables/components/filters/combobox.client.js +1 -1
  254. package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -1
  255. package/dist/modules/data-tables/components/filters/slider.client.d.ts +2 -2
  256. package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -1
  257. package/dist/modules/data-tables/components/header.d.ts +4 -4
  258. package/dist/modules/data-tables/components/header.d.ts.map +1 -1
  259. package/dist/modules/data-tables/components/layout.d.ts +2 -2
  260. package/dist/modules/data-tables/components/layout.d.ts.map +1 -1
  261. package/dist/modules/data-tables/components/search-input.client.d.ts +2 -2
  262. package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -1
  263. package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
  264. package/dist/modules/data-tables/components/skeleton.d.ts.map +1 -1
  265. package/dist/modules/data-tables/components/table.d.ts +7 -7
  266. package/dist/modules/data-tables/components/table.d.ts.map +1 -1
  267. package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
  268. package/dist/modules/data-tables/components/toolbar.d.ts.map +1 -1
  269. package/dist/modules/data-tables/hooks/use-context.client.d.ts +2 -2
  270. package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -1
  271. package/dist/modules/data-tables/lib/filters/resolvers.d.ts +1 -1
  272. package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -1
  273. package/dist/modules/data-tables/lib/search-params.d.ts +5 -5
  274. package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -1
  275. package/dist/modules/data-tables/lib/types.d.ts +1 -1
  276. package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
  277. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +2 -2
  278. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -1
  279. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +2 -2
  280. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -1
  281. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +2 -2
  282. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +3 -3
  283. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +2 -2
  284. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
  285. package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
  286. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
  287. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +1 -1
  288. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +1 -1
  289. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -1
  290. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
  291. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
  292. package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
  293. package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
  294. package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
  295. package/dist/modules/inline-edit/components/date-input.client.d.ts.map +1 -1
  296. package/dist/modules/inline-edit/components/date-input.client.js +1 -1
  297. package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
  298. package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +1 -1
  299. package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
  300. package/dist/modules/inline-edit/components/editor.client.d.ts.map +1 -1
  301. package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
  302. package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +1 -1
  303. package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
  304. package/dist/modules/inline-edit/components/input.client.d.ts.map +1 -1
  305. package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
  306. package/dist/modules/inline-edit/components/richtext.client.d.ts.map +1 -1
  307. package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
  308. package/dist/modules/inline-edit/components/select.client.d.ts.map +1 -1
  309. package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
  310. package/dist/modules/inline-edit/components/switch.client.d.ts.map +1 -1
  311. package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
  312. package/dist/modules/inline-edit/components/toggle.client.d.ts.map +1 -1
  313. package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
  314. package/dist/modules/inline-edit/hooks/context.client.d.ts.map +1 -1
  315. package/dist/modules/inline-edit/hooks/use-inline.client.js +1 -1
  316. package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -1
  317. package/dist/modules/uploads/components/button.client.d.ts +2 -2
  318. package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
  319. package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
  320. package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
  321. package/dist/modules/uploads/components/images/grid.client.js +1 -1
  322. package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
  323. package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -1
  324. package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
  325. package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -1
  326. package/dist/modules/uploads/components/zone.client.d.ts +2 -2
  327. package/dist/modules/uploads/components/zone.client.d.ts.map +1 -1
  328. package/dist/modules/uploads/hooks/use-upload-image.client.js +1 -1
  329. package/dist/modules/uploads/lib/proxy.server.d.ts +1 -1
  330. package/dist/modules/uploads/lib/proxy.server.js +3 -3
  331. package/dist/modules/uploads/lib/route.server.d.ts +1 -1
  332. package/dist/modules/uploads/lib/route.server.js +1 -1
  333. package/dist/modules/uploads/lib/router.server.d.ts +938 -938
  334. package/dist/modules/uploads/lib/router.server.d.ts.map +1 -1
  335. package/dist/modules/uploads/lib/router.server.js +1 -1
  336. package/dist/modules/uploads/lib/schema.d.ts +61 -61
  337. package/dist/modules/uploads/lib/validators.d.ts +56 -56
  338. package/dist/modules/uploads/lib/validators.d.ts.map +1 -1
  339. package/package.json +4 -4
  340. package/src/components/common/icons.tsx +6 -0
  341. package/src/components/entry.client.ts +6 -0
  342. package/src/components/entry.server.ts +1 -1
  343. package/src/components/entry.ts +1 -0
  344. package/src/components/header/bottom-bar.client.tsx +2 -2
  345. package/src/components/layouts/admin-layout.tsx +13 -0
  346. package/src/components/layouts/admin-loading.tsx +1 -1
  347. package/src/components/layouts/root-loading.tsx +9 -0
  348. package/src/components/{layouts → navigation}/admin-sidebar-header.client.tsx +11 -6
  349. package/src/components/navigation/admin-sidebar-paths.client.tsx +190 -0
  350. package/src/components/navigation/admin-sidebar-skeleton.tsx +44 -0
  351. package/src/components/navigation/admin-sidebar.client.tsx +123 -0
  352. package/src/components/ui/spinner.tsx +51 -0
  353. package/src/modules/auth/components/allowed.client.tsx +1 -1
  354. package/src/modules/auth/components/auth-layout.server.tsx +2 -10
  355. package/src/modules/auth/components/auth-loading.tsx +11 -0
  356. package/src/modules/auth/components/guard.tsx +12 -0
  357. package/src/modules/auth/components/login-page.client.tsx +4 -3
  358. package/src/modules/auth/entry.client.ts +2 -0
  359. package/src/modules/auth/entry.ts +1 -0
  360. package/src/modules/auth/hooks/{use-permission.client.ts → use-permission.ts} +4 -2
  361. package/src/modules/auth/hooks/use-session.ts +18 -0
  362. package/src/modules/auth/lib/validators.ts +1 -1
  363. package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -7
  364. package/src/modules/commands/menus/dropdown-menu.client.tsx +11 -2
  365. package/src/modules/commands/menus/inline-menu.client.tsx +14 -1
  366. package/src/modules/commands/menus/responsive-menu.client.tsx +11 -2
  367. package/src/modules/config/entry.server.ts +1 -2
  368. package/src/modules/config/entry.ts +3 -0
  369. package/src/modules/config/lib/config.server.ts +1 -2
  370. package/src/modules/config/lib/router.server.ts +64 -0
  371. package/src/modules/config/paths/helpers.ts +6 -0
  372. package/src/modules/config/paths/types.ts +26 -38
  373. package/src/modules/data-tables/components/filters/combobox.client.tsx +1 -1
  374. package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +1 -1
  375. package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
  376. package/dist/components/layouts/admin-layout.server.d.ts +0 -14
  377. package/dist/components/layouts/admin-layout.server.d.ts.map +0 -1
  378. package/dist/components/layouts/admin-layout.server.js +0 -26
  379. package/dist/components/layouts/admin-layout.server.js.map +0 -1
  380. package/dist/components/layouts/admin-sidebar-context.client.js +0 -28
  381. package/dist/components/layouts/admin-sidebar-context.client.js.map +0 -1
  382. package/dist/components/layouts/admin-sidebar-header.client.js.map +0 -1
  383. package/dist/components/layouts/admin-sidebar.client.js +0 -51
  384. package/dist/components/layouts/admin-sidebar.client.js.map +0 -1
  385. package/dist/modules/auth/hooks/use-permission.client.js.map +0 -1
  386. package/dist/modules/config/paths/create.server.d.ts +0 -14
  387. package/dist/modules/config/paths/create.server.d.ts.map +0 -1
  388. package/dist/modules/config/paths/create.server.js +0 -12
  389. package/dist/modules/config/paths/create.server.js.map +0 -1
  390. package/dist/modules/config/paths/get.server.js +0 -47
  391. package/dist/modules/config/paths/get.server.js.map +0 -1
  392. package/src/components/layouts/admin-layout.server.tsx +0 -31
  393. package/src/components/layouts/admin-sidebar-context.client.tsx +0 -34
  394. package/src/components/layouts/admin-sidebar.client.tsx +0 -88
  395. package/src/modules/config/paths/create.server.ts +0 -10
  396. package/src/modules/config/paths/get.server.ts +0 -69
@@ -1,10 +1,9 @@
1
1
  import { TDatabaseSchema } from "../db/types.js";
2
- import { PathConfig } from "../paths/types.js";
3
2
  import { TulipConfig } from "./config.server.js";
3
+ import * as zod119 from "zod";
4
4
  import "server-cli-only";
5
- import * as zod0 from "zod";
6
- import * as better_auth52 from "better-auth";
7
- import * as better_auth_plugins5 from "better-auth/plugins";
5
+ import * as better_auth155 from "better-auth";
6
+ import * as better_auth_plugins28 from "better-auth/plugins";
8
7
  import * as drizzle_orm_postgres_js0 from "drizzle-orm/postgres-js";
9
8
  import { S3Client } from "@aws-sdk/client-s3";
10
9
  import { Resend } from "resend";
@@ -25,11 +24,11 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
25
24
  name: string;
26
25
  shortName: string;
27
26
  };
28
- paths: PathConfig<TSchema>;
27
+ paths: any;
29
28
  schema: TSchema;
30
29
  db: drizzle_orm_postgres_js0.PostgresJsDatabase<TSchema>;
31
- auth: better_auth52.Auth<{
32
- database: (options: better_auth52.BetterAuthOptions) => better_auth52.Adapter;
30
+ auth: better_auth155.Auth<{
31
+ database: (options: better_auth155.BetterAuthOptions) => better_auth155.Adapter;
33
32
  emailAndPassword: {
34
33
  enabled: true;
35
34
  };
@@ -54,8 +53,8 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
54
53
  id: "next-cookies";
55
54
  hooks: {
56
55
  after: {
57
- matcher(ctx: better_auth52.HookEndpointContext): true;
58
- handler: (inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<void>;
56
+ matcher(ctx: better_auth155.HookEndpointContext): true;
57
+ handler: (inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<void>;
59
58
  }[];
60
59
  };
61
60
  }, {
@@ -98,7 +97,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
98
97
  token: string;
99
98
  ipAddress?: string | null | undefined;
100
99
  userAgent?: string | null | undefined;
101
- } & Record<string, unknown>, ctx: better_auth52.GenericEndpointContext | undefined): Promise<void>;
100
+ } & Record<string, unknown>, ctx: better_auth155.GenericEndpointContext | undefined): Promise<void>;
102
101
  };
103
102
  };
104
103
  };
@@ -106,8 +105,8 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
106
105
  };
107
106
  hooks: {
108
107
  after: {
109
- matcher(context: better_auth52.HookEndpointContext): boolean;
110
- handler: (inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<better_auth_plugins5.SessionWithImpersonatedBy[] | undefined>;
108
+ matcher(context: better_auth155.HookEndpointContext): boolean;
109
+ handler: (inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<better_auth_plugins28.SessionWithImpersonatedBy[] | undefined>;
111
110
  }[];
112
111
  };
113
112
  endpoints: {
@@ -130,7 +129,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
130
129
  } & {
131
130
  asResponse?: boolean;
132
131
  returnHeaders?: boolean;
133
- use?: better_auth52.Middleware[];
132
+ use?: better_auth155.Middleware[];
134
133
  path?: string;
135
134
  } & {
136
135
  asResponse?: AsResponse | undefined;
@@ -138,22 +137,22 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
138
137
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders] extends [true] ? {
139
138
  headers: Headers;
140
139
  response: {
141
- user: better_auth_plugins5.UserWithRole;
140
+ user: better_auth_plugins28.UserWithRole;
142
141
  };
143
142
  } : {
144
- user: better_auth_plugins5.UserWithRole;
143
+ user: better_auth_plugins28.UserWithRole;
145
144
  }>;
146
145
  options: {
147
146
  method: "POST";
148
- body: zod0.ZodObject<{
149
- userId: zod0.ZodCoercedString<unknown>;
150
- role: zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>;
151
- }, better_auth52.$strip>;
147
+ body: zod119.ZodObject<{
148
+ userId: zod119.ZodCoercedString<unknown>;
149
+ role: zod119.ZodUnion<readonly [zod119.ZodString, zod119.ZodArray<zod119.ZodString>]>;
150
+ }, better_auth155.$strip>;
152
151
  requireHeaders: true;
153
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
152
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
154
153
  session: {
155
- user: better_auth_plugins5.UserWithRole;
156
- session: better_auth52.Session;
154
+ user: better_auth_plugins28.UserWithRole;
155
+ session: better_auth155.Session;
157
156
  };
158
157
  }>)[];
159
158
  metadata: {
@@ -209,7 +208,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
209
208
  } & {
210
209
  asResponse?: boolean;
211
210
  returnHeaders?: boolean;
212
- use?: better_auth52.Middleware[];
211
+ use?: better_auth155.Middleware[];
213
212
  path?: string;
214
213
  } & {
215
214
  asResponse?: AsResponse | undefined;
@@ -236,13 +235,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
236
235
  }>;
237
236
  options: {
238
237
  method: "GET";
239
- query: zod0.ZodObject<{
240
- id: zod0.ZodString;
241
- }, better_auth52.$strip>;
242
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
238
+ query: zod119.ZodObject<{
239
+ id: zod119.ZodString;
240
+ }, better_auth155.$strip>;
241
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
243
242
  session: {
244
- user: better_auth_plugins5.UserWithRole;
245
- session: better_auth52.Session;
243
+ user: better_auth_plugins28.UserWithRole;
244
+ session: better_auth155.Session;
246
245
  };
247
246
  }>)[];
248
247
  metadata: {
@@ -296,7 +295,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
296
295
  } & {
297
296
  asResponse?: boolean;
298
297
  returnHeaders?: boolean;
299
- use?: better_auth52.Middleware[];
298
+ use?: better_auth155.Middleware[];
300
299
  path?: string;
301
300
  } & {
302
301
  asResponse?: AsResponse | undefined;
@@ -304,20 +303,20 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
304
303
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders_2] extends [true] ? {
305
304
  headers: Headers;
306
305
  response: {
307
- user: better_auth_plugins5.UserWithRole;
306
+ user: better_auth_plugins28.UserWithRole;
308
307
  };
309
308
  } : {
310
- user: better_auth_plugins5.UserWithRole;
309
+ user: better_auth_plugins28.UserWithRole;
311
310
  }>;
312
311
  options: {
313
312
  method: "POST";
314
- body: zod0.ZodObject<{
315
- email: zod0.ZodString;
316
- password: zod0.ZodString;
317
- name: zod0.ZodString;
318
- role: zod0.ZodOptional<zod0.ZodUnion<readonly [zod0.ZodString, zod0.ZodArray<zod0.ZodString>]>>;
319
- data: zod0.ZodOptional<zod0.ZodRecord<zod0.ZodString, zod0.ZodAny>>;
320
- }, better_auth52.$strip>;
313
+ body: zod119.ZodObject<{
314
+ email: zod119.ZodString;
315
+ password: zod119.ZodString;
316
+ name: zod119.ZodString;
317
+ role: zod119.ZodOptional<zod119.ZodUnion<readonly [zod119.ZodString, zod119.ZodArray<zod119.ZodString>]>>;
318
+ data: zod119.ZodOptional<zod119.ZodRecord<zod119.ZodString, zod119.ZodAny>>;
319
+ }, better_auth155.$strip>;
321
320
  metadata: {
322
321
  openapi: {
323
322
  operationId: string;
@@ -375,25 +374,25 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
375
374
  } & {
376
375
  asResponse?: boolean;
377
376
  returnHeaders?: boolean;
378
- use?: better_auth52.Middleware[];
377
+ use?: better_auth155.Middleware[];
379
378
  path?: string;
380
379
  } & {
381
380
  asResponse?: AsResponse | undefined;
382
381
  returnHeaders?: ReturnHeaders_3 | undefined;
383
382
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders_3] extends [true] ? {
384
383
  headers: Headers;
385
- response: better_auth_plugins5.UserWithRole;
386
- } : better_auth_plugins5.UserWithRole>;
384
+ response: better_auth_plugins28.UserWithRole;
385
+ } : better_auth_plugins28.UserWithRole>;
387
386
  options: {
388
387
  method: "POST";
389
- body: zod0.ZodObject<{
390
- userId: zod0.ZodCoercedString<unknown>;
391
- data: zod0.ZodRecord<zod0.ZodAny, zod0.ZodAny>;
392
- }, better_auth52.$strip>;
393
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
388
+ body: zod119.ZodObject<{
389
+ userId: zod119.ZodCoercedString<unknown>;
390
+ data: zod119.ZodRecord<zod119.ZodAny, zod119.ZodAny>;
391
+ }, better_auth155.$strip>;
392
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
394
393
  session: {
395
- user: better_auth_plugins5.UserWithRole;
396
- session: better_auth52.Session;
394
+ user: better_auth_plugins28.UserWithRole;
395
+ session: better_auth155.Session;
397
396
  };
398
397
  }>)[];
399
398
  metadata: {
@@ -452,7 +451,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
452
451
  } & {
453
452
  asResponse?: boolean;
454
453
  returnHeaders?: boolean;
455
- use?: better_auth52.Middleware[];
454
+ use?: better_auth155.Middleware[];
456
455
  path?: string;
457
456
  } & {
458
457
  asResponse?: AsResponse | undefined;
@@ -460,7 +459,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
460
459
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders_4] extends [true] ? {
461
460
  headers: Headers;
462
461
  response: {
463
- users: better_auth_plugins5.UserWithRole[];
462
+ users: better_auth_plugins28.UserWithRole[];
464
463
  total: number;
465
464
  limit: number | undefined;
466
465
  offset: number | undefined;
@@ -469,7 +468,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
469
468
  total: number;
470
469
  };
471
470
  } : {
472
- users: better_auth_plugins5.UserWithRole[];
471
+ users: better_auth_plugins28.UserWithRole[];
473
472
  total: number;
474
473
  limit: number | undefined;
475
474
  offset: number | undefined;
@@ -479,33 +478,33 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
479
478
  }>;
480
479
  options: {
481
480
  method: "GET";
482
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
481
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
483
482
  session: {
484
- user: better_auth_plugins5.UserWithRole;
485
- session: better_auth52.Session;
483
+ user: better_auth_plugins28.UserWithRole;
484
+ session: better_auth155.Session;
486
485
  };
487
486
  }>)[];
488
- query: zod0.ZodObject<{
489
- searchValue: zod0.ZodOptional<zod0.ZodString>;
490
- searchField: zod0.ZodOptional<zod0.ZodEnum<{
487
+ query: zod119.ZodObject<{
488
+ searchValue: zod119.ZodOptional<zod119.ZodString>;
489
+ searchField: zod119.ZodOptional<zod119.ZodEnum<{
491
490
  name: "name";
492
491
  email: "email";
493
492
  }>>;
494
- searchOperator: zod0.ZodOptional<zod0.ZodEnum<{
493
+ searchOperator: zod119.ZodOptional<zod119.ZodEnum<{
495
494
  contains: "contains";
496
495
  starts_with: "starts_with";
497
496
  ends_with: "ends_with";
498
497
  }>>;
499
- limit: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>>;
500
- offset: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>>;
501
- sortBy: zod0.ZodOptional<zod0.ZodString>;
502
- sortDirection: zod0.ZodOptional<zod0.ZodEnum<{
498
+ limit: zod119.ZodOptional<zod119.ZodUnion<[zod119.ZodString, zod119.ZodNumber]>>;
499
+ offset: zod119.ZodOptional<zod119.ZodUnion<[zod119.ZodString, zod119.ZodNumber]>>;
500
+ sortBy: zod119.ZodOptional<zod119.ZodString>;
501
+ sortDirection: zod119.ZodOptional<zod119.ZodEnum<{
503
502
  asc: "asc";
504
503
  desc: "desc";
505
504
  }>>;
506
- filterField: zod0.ZodOptional<zod0.ZodString>;
507
- filterValue: zod0.ZodOptional<zod0.ZodUnion<[zod0.ZodUnion<[zod0.ZodString, zod0.ZodNumber]>, zod0.ZodBoolean]>>;
508
- filterOperator: zod0.ZodOptional<zod0.ZodEnum<{
505
+ filterField: zod119.ZodOptional<zod119.ZodString>;
506
+ filterValue: zod119.ZodOptional<zod119.ZodUnion<[zod119.ZodUnion<[zod119.ZodString, zod119.ZodNumber]>, zod119.ZodBoolean]>>;
507
+ filterOperator: zod119.ZodOptional<zod119.ZodEnum<{
509
508
  eq: "eq";
510
509
  ne: "ne";
511
510
  lt: "lt";
@@ -514,7 +513,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
514
513
  gte: "gte";
515
514
  contains: "contains";
516
515
  }>>;
517
- }, better_auth52.$strip>;
516
+ }, better_auth155.$strip>;
518
517
  metadata: {
519
518
  openapi: {
520
519
  operationId: string;
@@ -575,7 +574,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
575
574
  } & {
576
575
  asResponse?: boolean;
577
576
  returnHeaders?: boolean;
578
- use?: better_auth52.Middleware[];
577
+ use?: better_auth155.Middleware[];
579
578
  path?: string;
580
579
  } & {
581
580
  asResponse?: AsResponse | undefined;
@@ -583,22 +582,22 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
583
582
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders_5] extends [true] ? {
584
583
  headers: Headers;
585
584
  response: {
586
- sessions: better_auth_plugins5.SessionWithImpersonatedBy[];
585
+ sessions: better_auth_plugins28.SessionWithImpersonatedBy[];
587
586
  };
588
587
  } : {
589
- sessions: better_auth_plugins5.SessionWithImpersonatedBy[];
588
+ sessions: better_auth_plugins28.SessionWithImpersonatedBy[];
590
589
  }>;
591
590
  options: {
592
591
  method: "POST";
593
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
592
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
594
593
  session: {
595
- user: better_auth_plugins5.UserWithRole;
596
- session: better_auth52.Session;
594
+ user: better_auth_plugins28.UserWithRole;
595
+ session: better_auth155.Session;
597
596
  };
598
597
  }>)[];
599
- body: zod0.ZodObject<{
600
- userId: zod0.ZodCoercedString<unknown>;
601
- }, better_auth52.$strip>;
598
+ body: zod119.ZodObject<{
599
+ userId: zod119.ZodCoercedString<unknown>;
600
+ }, better_auth155.$strip>;
602
601
  metadata: {
603
602
  openapi: {
604
603
  operationId: string;
@@ -649,7 +648,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
649
648
  } & {
650
649
  asResponse?: boolean;
651
650
  returnHeaders?: boolean;
652
- use?: better_auth52.Middleware[];
651
+ use?: better_auth155.Middleware[];
653
652
  path?: string;
654
653
  } & {
655
654
  asResponse?: AsResponse | undefined;
@@ -664,13 +663,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
664
663
  }>;
665
664
  options: {
666
665
  method: "POST";
667
- body: zod0.ZodObject<{
668
- userId: zod0.ZodCoercedString<unknown>;
669
- }, better_auth52.$strip>;
670
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
666
+ body: zod119.ZodObject<{
667
+ userId: zod119.ZodCoercedString<unknown>;
668
+ }, better_auth155.$strip>;
669
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
671
670
  session: {
672
- user: better_auth_plugins5.UserWithRole;
673
- session: better_auth52.Session;
671
+ user: better_auth_plugins28.UserWithRole;
672
+ session: better_auth155.Session;
674
673
  };
675
674
  }>)[];
676
675
  metadata: {
@@ -722,7 +721,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
722
721
  } & {
723
722
  asResponse?: boolean;
724
723
  returnHeaders?: boolean;
725
- use?: better_auth52.Middleware[];
724
+ use?: better_auth155.Middleware[];
726
725
  path?: string;
727
726
  } & {
728
727
  asResponse?: AsResponse | undefined;
@@ -737,15 +736,15 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
737
736
  }>;
738
737
  options: {
739
738
  method: "POST";
740
- body: zod0.ZodObject<{
741
- userId: zod0.ZodCoercedString<unknown>;
742
- banReason: zod0.ZodOptional<zod0.ZodString>;
743
- banExpiresIn: zod0.ZodOptional<zod0.ZodNumber>;
744
- }, better_auth52.$strip>;
745
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
739
+ body: zod119.ZodObject<{
740
+ userId: zod119.ZodCoercedString<unknown>;
741
+ banReason: zod119.ZodOptional<zod119.ZodString>;
742
+ banExpiresIn: zod119.ZodOptional<zod119.ZodNumber>;
743
+ }, better_auth155.$strip>;
744
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
746
745
  session: {
747
- user: better_auth_plugins5.UserWithRole;
748
- session: better_auth52.Session;
746
+ user: better_auth_plugins28.UserWithRole;
747
+ session: better_auth155.Session;
749
748
  };
750
749
  }>)[];
751
750
  metadata: {
@@ -795,7 +794,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
795
794
  } & {
796
795
  asResponse?: boolean;
797
796
  returnHeaders?: boolean;
798
- use?: better_auth52.Middleware[];
797
+ use?: better_auth155.Middleware[];
799
798
  path?: string;
800
799
  } & {
801
800
  asResponse?: AsResponse | undefined;
@@ -846,13 +845,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
846
845
  }>;
847
846
  options: {
848
847
  method: "POST";
849
- body: zod0.ZodObject<{
850
- userId: zod0.ZodCoercedString<unknown>;
851
- }, better_auth52.$strip>;
852
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
848
+ body: zod119.ZodObject<{
849
+ userId: zod119.ZodCoercedString<unknown>;
850
+ }, better_auth155.$strip>;
851
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
853
852
  session: {
854
- user: better_auth_plugins5.UserWithRole;
855
- session: better_auth52.Session;
853
+ user: better_auth_plugins28.UserWithRole;
854
+ session: better_auth155.Session;
856
855
  };
857
856
  }>)[];
858
857
  metadata: {
@@ -903,7 +902,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
903
902
  } & {
904
903
  asResponse?: boolean;
905
904
  returnHeaders?: boolean;
906
- use?: better_auth52.Middleware[];
905
+ use?: better_auth155.Middleware[];
907
906
  path?: string;
908
907
  } & {
909
908
  asResponse?: AsResponse | undefined;
@@ -911,11 +910,11 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
911
910
  }): Promise<[AsResponse] extends [true] ? Response : [ReturnHeaders_9] extends [true] ? {
912
911
  headers: Headers;
913
912
  response: {
914
- session: better_auth52.Session & Record<string, any>;
913
+ session: better_auth155.Session & Record<string, any>;
915
914
  user: packages_core_dist_db.User & Record<string, any>;
916
915
  };
917
916
  } : {
918
- session: better_auth52.Session & Record<string, any>;
917
+ session: better_auth155.Session & Record<string, any>;
919
918
  user: packages_core_dist_db.User & Record<string, any>;
920
919
  }>;
921
920
  options: {
@@ -944,7 +943,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
944
943
  } & {
945
944
  asResponse?: boolean;
946
945
  returnHeaders?: boolean;
947
- use?: better_auth52.Middleware[];
946
+ use?: better_auth155.Middleware[];
948
947
  path?: string;
949
948
  } & {
950
949
  asResponse?: AsResponse | undefined;
@@ -959,13 +958,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
959
958
  }>;
960
959
  options: {
961
960
  method: "POST";
962
- body: zod0.ZodObject<{
963
- sessionToken: zod0.ZodString;
964
- }, better_auth52.$strip>;
965
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
961
+ body: zod119.ZodObject<{
962
+ sessionToken: zod119.ZodString;
963
+ }, better_auth155.$strip>;
964
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
966
965
  session: {
967
- user: better_auth_plugins5.UserWithRole;
968
- session: better_auth52.Session;
966
+ user: better_auth_plugins28.UserWithRole;
967
+ session: better_auth155.Session;
969
968
  };
970
969
  }>)[];
971
970
  metadata: {
@@ -1015,7 +1014,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1015
1014
  } & {
1016
1015
  asResponse?: boolean;
1017
1016
  returnHeaders?: boolean;
1018
- use?: better_auth52.Middleware[];
1017
+ use?: better_auth155.Middleware[];
1019
1018
  path?: string;
1020
1019
  } & {
1021
1020
  asResponse?: AsResponse | undefined;
@@ -1030,13 +1029,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1030
1029
  }>;
1031
1030
  options: {
1032
1031
  method: "POST";
1033
- body: zod0.ZodObject<{
1034
- userId: zod0.ZodCoercedString<unknown>;
1035
- }, better_auth52.$strip>;
1036
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
1032
+ body: zod119.ZodObject<{
1033
+ userId: zod119.ZodCoercedString<unknown>;
1034
+ }, better_auth155.$strip>;
1035
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
1037
1036
  session: {
1038
- user: better_auth_plugins5.UserWithRole;
1039
- session: better_auth52.Session;
1037
+ user: better_auth_plugins28.UserWithRole;
1038
+ session: better_auth155.Session;
1040
1039
  };
1041
1040
  }>)[];
1042
1041
  metadata: {
@@ -1086,7 +1085,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1086
1085
  } & {
1087
1086
  asResponse?: boolean;
1088
1087
  returnHeaders?: boolean;
1089
- use?: better_auth52.Middleware[];
1088
+ use?: better_auth155.Middleware[];
1090
1089
  path?: string;
1091
1090
  } & {
1092
1091
  asResponse?: AsResponse | undefined;
@@ -1101,13 +1100,13 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1101
1100
  }>;
1102
1101
  options: {
1103
1102
  method: "POST";
1104
- body: zod0.ZodObject<{
1105
- userId: zod0.ZodCoercedString<unknown>;
1106
- }, better_auth52.$strip>;
1107
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
1103
+ body: zod119.ZodObject<{
1104
+ userId: zod119.ZodCoercedString<unknown>;
1105
+ }, better_auth155.$strip>;
1106
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
1108
1107
  session: {
1109
- user: better_auth_plugins5.UserWithRole;
1110
- session: better_auth52.Session;
1108
+ user: better_auth_plugins28.UserWithRole;
1109
+ session: better_auth155.Session;
1111
1110
  };
1112
1111
  }>)[];
1113
1112
  metadata: {
@@ -1158,7 +1157,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1158
1157
  } & {
1159
1158
  asResponse?: boolean;
1160
1159
  returnHeaders?: boolean;
1161
- use?: better_auth52.Middleware[];
1160
+ use?: better_auth155.Middleware[];
1162
1161
  path?: string;
1163
1162
  } & {
1164
1163
  asResponse?: AsResponse | undefined;
@@ -1173,14 +1172,14 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1173
1172
  }>;
1174
1173
  options: {
1175
1174
  method: "POST";
1176
- body: zod0.ZodObject<{
1177
- newPassword: zod0.ZodString;
1178
- userId: zod0.ZodCoercedString<unknown>;
1179
- }, better_auth52.$strip>;
1180
- use: ((inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<{
1175
+ body: zod119.ZodObject<{
1176
+ newPassword: zod119.ZodString;
1177
+ userId: zod119.ZodCoercedString<unknown>;
1178
+ }, better_auth155.$strip>;
1179
+ use: ((inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<{
1181
1180
  session: {
1182
- user: better_auth_plugins5.UserWithRole;
1183
- session: better_auth52.Session;
1181
+ user: better_auth_plugins28.UserWithRole;
1182
+ session: better_auth155.Session;
1184
1183
  };
1185
1184
  }>)[];
1186
1185
  metadata: {
@@ -1216,12 +1215,12 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1216
1215
  <AsResponse extends boolean = false, ReturnHeaders_14 extends boolean = false>(inputCtx_0: {
1217
1216
  body: ({
1218
1217
  permission: {
1219
- readonly [x: string]: better_auth52.LiteralString[] | undefined;
1218
+ readonly [x: string]: better_auth155.LiteralString[] | undefined;
1220
1219
  };
1221
1220
  permissions?: never;
1222
1221
  } | {
1223
1222
  permissions: {
1224
- readonly [x: string]: better_auth52.LiteralString[] | undefined;
1223
+ readonly [x: string]: better_auth155.LiteralString[] | undefined;
1225
1224
  };
1226
1225
  permission?: never;
1227
1226
  }) & {
@@ -1241,7 +1240,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1241
1240
  } & {
1242
1241
  asResponse?: boolean;
1243
1242
  returnHeaders?: boolean;
1244
- use?: better_auth52.Middleware[];
1243
+ use?: better_auth155.Middleware[];
1245
1244
  path?: string;
1246
1245
  } & {
1247
1246
  asResponse?: AsResponse | undefined;
@@ -1258,16 +1257,16 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1258
1257
  }>;
1259
1258
  options: {
1260
1259
  method: "POST";
1261
- body: zod0.ZodIntersection<zod0.ZodObject<{
1262
- userId: zod0.ZodOptional<zod0.ZodCoercedString<unknown>>;
1263
- role: zod0.ZodOptional<zod0.ZodString>;
1264
- }, better_auth52.$strip>, zod0.ZodUnion<readonly [zod0.ZodObject<{
1265
- permission: zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>;
1266
- permissions: zod0.ZodUndefined;
1267
- }, better_auth52.$strip>, zod0.ZodObject<{
1268
- permission: zod0.ZodUndefined;
1269
- permissions: zod0.ZodRecord<zod0.ZodString, zod0.ZodArray<zod0.ZodString>>;
1270
- }, better_auth52.$strip>]>>;
1260
+ body: zod119.ZodIntersection<zod119.ZodObject<{
1261
+ userId: zod119.ZodOptional<zod119.ZodCoercedString<unknown>>;
1262
+ role: zod119.ZodOptional<zod119.ZodString>;
1263
+ }, better_auth155.$strip>, zod119.ZodUnion<readonly [zod119.ZodObject<{
1264
+ permission: zod119.ZodRecord<zod119.ZodString, zod119.ZodArray<zod119.ZodString>>;
1265
+ permissions: zod119.ZodUndefined;
1266
+ }, better_auth155.$strip>, zod119.ZodObject<{
1267
+ permission: zod119.ZodUndefined;
1268
+ permissions: zod119.ZodRecord<zod119.ZodString, zod119.ZodArray<zod119.ZodString>>;
1269
+ }, better_auth155.$strip>]>>;
1271
1270
  metadata: {
1272
1271
  openapi: {
1273
1272
  description: string;
@@ -1317,12 +1316,12 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1317
1316
  $Infer: {
1318
1317
  body: ({
1319
1318
  permission: {
1320
- readonly [x: string]: better_auth52.LiteralString[] | undefined;
1319
+ readonly [x: string]: better_auth155.LiteralString[] | undefined;
1321
1320
  };
1322
1321
  permissions?: never;
1323
1322
  } | {
1324
1323
  permissions: {
1325
- readonly [x: string]: better_auth52.LiteralString[] | undefined;
1324
+ readonly [x: string]: better_auth155.LiteralString[] | undefined;
1326
1325
  };
1327
1326
  permission?: never;
1328
1327
  }) & {
@@ -1395,7 +1394,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1395
1394
  options: any;
1396
1395
  }, {
1397
1396
  id: "email-otp";
1398
- init(ctx: better_auth52.AuthContext): {
1397
+ init(ctx: better_auth155.AuthContext): {
1399
1398
  options: {
1400
1399
  emailVerification: {
1401
1400
  sendVerificationEmail(data: {
@@ -1426,7 +1425,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1426
1425
  } & {
1427
1426
  asResponse?: boolean;
1428
1427
  returnHeaders?: boolean;
1429
- use?: better_auth52.Middleware[];
1428
+ use?: better_auth155.Middleware[];
1430
1429
  path?: string;
1431
1430
  } & {
1432
1431
  asResponse?: AsResponse | undefined;
@@ -1437,14 +1436,14 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1437
1436
  } : string>;
1438
1437
  options: {
1439
1438
  method: "POST";
1440
- body: zod0.ZodObject<{
1441
- email: zod0.ZodString;
1442
- type: zod0.ZodEnum<{
1439
+ body: zod119.ZodObject<{
1440
+ email: zod119.ZodString;
1441
+ type: zod119.ZodEnum<{
1443
1442
  "sign-in": "sign-in";
1444
1443
  "forget-password": "forget-password";
1445
1444
  "email-verification": "email-verification";
1446
1445
  }>;
1447
- }, better_auth52.$strip>;
1446
+ }, better_auth155.$strip>;
1448
1447
  metadata: {
1449
1448
  SERVER_ONLY: true;
1450
1449
  openapi: {
@@ -1487,7 +1486,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1487
1486
  } & {
1488
1487
  asResponse?: boolean;
1489
1488
  returnHeaders?: boolean;
1490
- use?: better_auth52.Middleware[];
1489
+ use?: better_auth155.Middleware[];
1491
1490
  path?: string;
1492
1491
  } & {
1493
1492
  asResponse?: AsResponse | undefined;
@@ -1506,14 +1505,14 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1506
1505
  }>;
1507
1506
  options: {
1508
1507
  method: "GET";
1509
- query: zod0.ZodObject<{
1510
- email: zod0.ZodString;
1511
- type: zod0.ZodEnum<{
1508
+ query: zod119.ZodObject<{
1509
+ email: zod119.ZodString;
1510
+ type: zod119.ZodEnum<{
1512
1511
  "sign-in": "sign-in";
1513
1512
  "forget-password": "forget-password";
1514
1513
  "email-verification": "email-verification";
1515
1514
  }>;
1516
- }, better_auth52.$strip>;
1515
+ }, better_auth155.$strip>;
1517
1516
  metadata: {
1518
1517
  SERVER_ONLY: true;
1519
1518
  openapi: {
@@ -1565,7 +1564,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1565
1564
  } & {
1566
1565
  asResponse?: boolean;
1567
1566
  returnHeaders?: boolean;
1568
- use?: better_auth52.Middleware[];
1567
+ use?: better_auth155.Middleware[];
1569
1568
  path?: string;
1570
1569
  } & {
1571
1570
  asResponse?: AsResponse | undefined;
@@ -1580,15 +1579,15 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1580
1579
  }>;
1581
1580
  options: {
1582
1581
  method: "POST";
1583
- body: zod0.ZodObject<{
1584
- email: zod0.ZodString;
1585
- type: zod0.ZodEnum<{
1582
+ body: zod119.ZodObject<{
1583
+ email: zod119.ZodString;
1584
+ type: zod119.ZodEnum<{
1586
1585
  "sign-in": "sign-in";
1587
1586
  "forget-password": "forget-password";
1588
1587
  "email-verification": "email-verification";
1589
1588
  }>;
1590
- otp: zod0.ZodString;
1591
- }, better_auth52.$strip>;
1589
+ otp: zod119.ZodString;
1590
+ }, better_auth155.$strip>;
1592
1591
  metadata: {
1593
1592
  openapi: {
1594
1593
  description: string;
@@ -1635,7 +1634,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1635
1634
  } & {
1636
1635
  asResponse?: boolean;
1637
1636
  returnHeaders?: boolean;
1638
- use?: better_auth52.Middleware[];
1637
+ use?: better_auth155.Middleware[];
1639
1638
  path?: string;
1640
1639
  } & {
1641
1640
  asResponse?: AsResponse | undefined;
@@ -1694,10 +1693,10 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1694
1693
  }>;
1695
1694
  options: {
1696
1695
  method: "POST";
1697
- body: zod0.ZodObject<{
1698
- email: zod0.ZodString;
1699
- otp: zod0.ZodString;
1700
- }, better_auth52.$strip>;
1696
+ body: zod119.ZodObject<{
1697
+ email: zod119.ZodString;
1698
+ otp: zod119.ZodString;
1699
+ }, better_auth155.$strip>;
1701
1700
  metadata: {
1702
1701
  openapi: {
1703
1702
  description: string;
@@ -1755,7 +1754,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1755
1754
  } & {
1756
1755
  asResponse?: boolean;
1757
1756
  returnHeaders?: boolean;
1758
- use?: better_auth52.Middleware[];
1757
+ use?: better_auth155.Middleware[];
1759
1758
  path?: string;
1760
1759
  } & {
1761
1760
  asResponse?: AsResponse | undefined;
@@ -1788,10 +1787,10 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1788
1787
  }>;
1789
1788
  options: {
1790
1789
  method: "POST";
1791
- body: zod0.ZodObject<{
1792
- email: zod0.ZodString;
1793
- otp: zod0.ZodString;
1794
- }, better_auth52.$strip>;
1790
+ body: zod119.ZodObject<{
1791
+ email: zod119.ZodString;
1792
+ otp: zod119.ZodString;
1793
+ }, better_auth155.$strip>;
1795
1794
  metadata: {
1796
1795
  openapi: {
1797
1796
  description: string;
@@ -1842,7 +1841,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1842
1841
  } & {
1843
1842
  asResponse?: boolean;
1844
1843
  returnHeaders?: boolean;
1845
- use?: better_auth52.Middleware[];
1844
+ use?: better_auth155.Middleware[];
1846
1845
  path?: string;
1847
1846
  } & {
1848
1847
  asResponse?: AsResponse | undefined;
@@ -1857,9 +1856,9 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1857
1856
  }>;
1858
1857
  options: {
1859
1858
  method: "POST";
1860
- body: zod0.ZodObject<{
1861
- email: zod0.ZodString;
1862
- }, better_auth52.$strip>;
1859
+ body: zod119.ZodObject<{
1860
+ email: zod119.ZodString;
1861
+ }, better_auth155.$strip>;
1863
1862
  metadata: {
1864
1863
  openapi: {
1865
1864
  description: string;
@@ -1908,7 +1907,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1908
1907
  } & {
1909
1908
  asResponse?: boolean;
1910
1909
  returnHeaders?: boolean;
1911
- use?: better_auth52.Middleware[];
1910
+ use?: better_auth155.Middleware[];
1912
1911
  path?: string;
1913
1912
  } & {
1914
1913
  asResponse?: AsResponse | undefined;
@@ -1923,11 +1922,11 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1923
1922
  }>;
1924
1923
  options: {
1925
1924
  method: "POST";
1926
- body: zod0.ZodObject<{
1927
- email: zod0.ZodString;
1928
- otp: zod0.ZodString;
1929
- password: zod0.ZodString;
1930
- }, better_auth52.$strip>;
1925
+ body: zod119.ZodObject<{
1926
+ email: zod119.ZodString;
1927
+ otp: zod119.ZodString;
1928
+ password: zod119.ZodString;
1929
+ }, better_auth155.$strip>;
1931
1930
  metadata: {
1932
1931
  openapi: {
1933
1932
  description: string;
@@ -1974,7 +1973,7 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1974
1973
  } & {
1975
1974
  asResponse?: boolean;
1976
1975
  returnHeaders?: boolean;
1977
- use?: better_auth52.Middleware[];
1976
+ use?: better_auth155.Middleware[];
1978
1977
  path?: string;
1979
1978
  } & {
1980
1979
  asResponse?: AsResponse | undefined;
@@ -1989,14 +1988,14 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
1989
1988
  }>;
1990
1989
  options: {
1991
1990
  method: "POST";
1992
- body: zod0.ZodObject<{
1993
- email: zod0.ZodString;
1994
- type: zod0.ZodEnum<{
1991
+ body: zod119.ZodObject<{
1992
+ email: zod119.ZodString;
1993
+ type: zod119.ZodEnum<{
1995
1994
  "sign-in": "sign-in";
1996
1995
  "forget-password": "forget-password";
1997
1996
  "email-verification": "email-verification";
1998
1997
  }>;
1999
- }, better_auth52.$strip>;
1998
+ }, better_auth155.$strip>;
2000
1999
  metadata: {
2001
2000
  openapi: {
2002
2001
  description: string;
@@ -2027,8 +2026,8 @@ declare const getTulip: <TSchema extends TDatabaseSchema>(params: GetTulipParams
2027
2026
  };
2028
2027
  hooks: {
2029
2028
  after: {
2030
- matcher(context: better_auth52.HookEndpointContext): boolean;
2031
- handler: (inputContext: better_auth52.MiddlewareInputContext<better_auth52.MiddlewareOptions>) => Promise<void>;
2029
+ matcher(context: better_auth155.HookEndpointContext): boolean;
2030
+ handler: (inputContext: better_auth155.MiddlewareInputContext<better_auth155.MiddlewareOptions>) => Promise<void>;
2032
2031
  }[];
2033
2032
  };
2034
2033
  $ERROR_CODES: {