@tulip-systems/core 0.2.1 → 0.4.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 (368) hide show
  1. package/dist/auth/client.d.ts +3 -1
  2. package/dist/auth/client.js +4 -2
  3. package/dist/auth/server.d.ts +2 -2
  4. package/dist/auth/server.js +3 -3
  5. package/dist/auth.d.ts +2 -1
  6. package/dist/auth.js +3 -2
  7. package/dist/commands/client.d.ts +4 -4
  8. package/dist/commands/client.js +4 -4
  9. package/dist/components/client.d.ts +5 -3
  10. package/dist/components/client.js +6 -4
  11. package/dist/components/common/icons.d.ts +5 -2
  12. package/dist/components/common/icons.d.ts.map +1 -1
  13. package/dist/components/common/icons.js +4 -1
  14. package/dist/components/common/icons.js.map +1 -1
  15. package/dist/components/common/status.d.ts +3 -3
  16. package/dist/components/editor/components/content.client.d.ts +2 -2
  17. package/dist/components/editor/components/fixed-menu.client.d.ts +2 -2
  18. package/dist/components/editor/context.client.d.ts +2 -2
  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/list-layout.d.ts +2 -2
  42. package/dist/components/layouts/not-found-page.d.ts +4 -3
  43. package/dist/components/layouts/not-found-page.d.ts.map +1 -1
  44. package/dist/components/layouts/not-found-page.js +8 -2
  45. package/dist/components/layouts/not-found-page.js.map +1 -1
  46. package/dist/components/layouts/not-found-section.js +1 -1
  47. package/dist/components/layouts/not-found-section.js.map +1 -1
  48. package/dist/components/layouts/providers.client.d.ts +2 -2
  49. package/dist/components/layouts/root-layout.server.d.ts +2 -2
  50. package/dist/components/layouts/root-layout.server.d.ts.map +1 -1
  51. package/dist/components/layouts/root-loading.d.ts +7 -0
  52. package/dist/components/layouts/root-loading.d.ts.map +1 -0
  53. package/dist/components/layouts/root-loading.js +14 -0
  54. package/dist/components/layouts/root-loading.js.map +1 -0
  55. package/dist/components/layouts/tab-layout.d.ts +2 -2
  56. package/dist/components/lists/data-list.d.ts +5 -5
  57. package/dist/components/lists/data-stack.d.ts +8 -8
  58. package/dist/components/{layouts → navigation}/admin-sidebar-header.client.js +8 -9
  59. package/dist/components/navigation/admin-sidebar-header.client.js.map +1 -0
  60. package/dist/components/navigation/admin-sidebar-paths.client.d.ts +81 -0
  61. package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +1 -0
  62. package/dist/components/navigation/admin-sidebar-paths.client.js +143 -0
  63. package/dist/components/navigation/admin-sidebar-paths.client.js.map +1 -0
  64. package/dist/components/navigation/admin-sidebar-skeleton.js +31 -0
  65. package/dist/components/navigation/admin-sidebar-skeleton.js.map +1 -0
  66. package/dist/components/server.d.ts +1 -1
  67. package/dist/components/server.js +1 -1
  68. package/dist/components/ui/accordion.d.ts +5 -5
  69. package/dist/components/ui/alert-dialog.d.ts +12 -12
  70. package/dist/components/ui/alert.d.ts +6 -6
  71. package/dist/components/ui/aspect-ratio.d.ts +2 -2
  72. package/dist/components/ui/avatar.client.d.ts +4 -4
  73. package/dist/components/ui/badge.d.ts +4 -4
  74. package/dist/components/ui/breadcrumb.d.ts +8 -8
  75. package/dist/components/ui/button.d.ts +4 -4
  76. package/dist/components/ui/calendar.d.ts +2 -2
  77. package/dist/components/ui/card.d.ts +7 -7
  78. package/dist/components/ui/carousel.d.ts +6 -6
  79. package/dist/components/ui/chart.client.d.ts +5 -5
  80. package/dist/components/ui/checkbox.d.ts +2 -2
  81. package/dist/components/ui/collapsible.client.d.ts +4 -4
  82. package/dist/components/ui/color-picker.client.d.ts +2 -2
  83. package/dist/components/ui/combobox-dropdown.client.d.ts +2 -2
  84. package/dist/components/ui/combobox.client.d.ts +2 -2
  85. package/dist/components/ui/command.d.ts +10 -10
  86. package/dist/components/ui/context-menu.d.ts +16 -16
  87. package/dist/components/ui/dialog.client.d.ts +11 -11
  88. package/dist/components/ui/drawer.client.d.ts +11 -11
  89. package/dist/components/ui/dropdown-menu.d.ts +16 -16
  90. package/dist/components/ui/form.client.d.ts +8 -8
  91. package/dist/components/ui/hover-card.client.d.ts +4 -4
  92. package/dist/components/ui/input.d.ts +2 -2
  93. package/dist/components/ui/label.d.ts +2 -2
  94. package/dist/components/ui/navigation-menu.d.ts +11 -11
  95. package/dist/components/ui/pagination.d.ts +8 -8
  96. package/dist/components/ui/popover.d.ts +5 -5
  97. package/dist/components/ui/progress.client.d.ts +2 -2
  98. package/dist/components/ui/radio-group.d.ts +3 -3
  99. package/dist/components/ui/resizable.client.d.ts +4 -4
  100. package/dist/components/ui/scroll-area.d.ts +3 -3
  101. package/dist/components/ui/select.client.d.ts +11 -11
  102. package/dist/components/ui/separator.d.ts +2 -2
  103. package/dist/components/ui/sheet.client.d.ts +9 -9
  104. package/dist/components/ui/sidebar.client.d.ts +24 -24
  105. package/dist/components/ui/sidebar.client.js +1 -1
  106. package/dist/components/ui/skeleton.d.ts +2 -2
  107. package/dist/components/ui/slider.d.ts +2 -2
  108. package/dist/components/ui/sonner.client.d.ts +2 -2
  109. package/dist/components/ui/sonner.client.js +1 -1
  110. package/dist/components/ui/spinner.js +63 -0
  111. package/dist/components/ui/spinner.js.map +1 -0
  112. package/dist/components/ui/switch.d.ts +2 -2
  113. package/dist/components/ui/tabs.d.ts +5 -5
  114. package/dist/components/ui/textarea.d.ts +2 -2
  115. package/dist/components/ui/time-input.client.d.ts +2 -2
  116. package/dist/components/ui/toggle-group.client.d.ts +3 -3
  117. package/dist/components/ui/toggle.d.ts +4 -4
  118. package/dist/components/ui/tooltip.client.d.ts +5 -5
  119. package/dist/components/ui/tree.client.d.ts +5 -5
  120. package/dist/components/ui/tree.client.d.ts.map +1 -1
  121. package/dist/components.d.ts +6 -5
  122. package/dist/components.js +8 -7
  123. package/dist/config/server.d.ts +2 -3
  124. package/dist/config/server.js +3 -4
  125. package/dist/config.d.ts +3 -2
  126. package/dist/config.js +2 -1
  127. package/dist/lib/client.js +1 -1
  128. package/dist/lib/hooks/use-action.d.ts +2 -2
  129. package/dist/modules/auth/components/allowed.client.js +1 -1
  130. package/dist/modules/auth/components/allowed.client.js.map +1 -1
  131. package/dist/modules/auth/components/auth-layout.server.d.ts +3 -4
  132. package/dist/modules/auth/components/auth-layout.server.d.ts.map +1 -1
  133. package/dist/modules/auth/components/auth-layout.server.js +1 -4
  134. package/dist/modules/auth/components/auth-layout.server.js.map +1 -1
  135. package/dist/modules/auth/components/auth-loading.d.ts +7 -0
  136. package/dist/modules/auth/components/auth-loading.d.ts.map +1 -0
  137. package/dist/modules/auth/components/auth-loading.js +18 -0
  138. package/dist/modules/auth/components/auth-loading.js.map +1 -0
  139. package/dist/modules/auth/components/forget-password-page.client.js +2 -2
  140. package/dist/modules/auth/components/guard.client.js +16 -0
  141. package/dist/modules/auth/components/guard.client.js.map +1 -0
  142. package/dist/modules/auth/components/login-page.client.d.ts +1 -5
  143. package/dist/modules/auth/components/login-page.client.d.ts.map +1 -1
  144. package/dist/modules/auth/components/login-page.client.js +41 -31
  145. package/dist/modules/auth/components/login-page.client.js.map +1 -1
  146. package/dist/modules/auth/components/reset-password-page.client.js +3 -3
  147. package/dist/modules/auth/components/update-password-command.d.ts +1 -1
  148. package/dist/modules/auth/components/update-password-command.js +1 -1
  149. package/dist/modules/auth/handler/client.client.d.ts +48 -48
  150. package/dist/modules/auth/handler/client.client.d.ts.map +1 -1
  151. package/dist/modules/auth/handler/proxy.server.d.ts +13 -0
  152. package/dist/modules/auth/handler/proxy.server.d.ts.map +1 -0
  153. package/dist/modules/auth/handler/proxy.server.js +22 -0
  154. package/dist/modules/auth/handler/proxy.server.js.map +1 -0
  155. package/dist/modules/auth/handler/server.server.js +3 -1
  156. package/dist/modules/auth/handler/server.server.js.map +1 -1
  157. package/dist/modules/auth/hooks/use-permission.d.ts +26 -0
  158. package/dist/modules/auth/hooks/use-permission.d.ts.map +1 -0
  159. package/dist/modules/auth/hooks/{use-permission.client.js → use-permission.js} +5 -3
  160. package/dist/modules/auth/hooks/use-permission.js.map +1 -0
  161. package/dist/modules/auth/hooks/use-session.d.ts +34 -0
  162. package/dist/modules/auth/hooks/use-session.d.ts.map +1 -0
  163. package/dist/modules/auth/hooks/use-session.js +21 -0
  164. package/dist/modules/auth/hooks/use-session.js.map +1 -0
  165. package/dist/modules/auth/lib/helpers.server.d.ts +2 -2
  166. package/dist/modules/auth/lib/helpers.server.d.ts.map +1 -1
  167. package/dist/modules/auth/lib/helpers.server.js +3 -6
  168. package/dist/modules/auth/lib/helpers.server.js.map +1 -1
  169. package/dist/modules/auth/lib/validators.d.ts +4 -4
  170. package/dist/modules/auth/lib/validators.d.ts.map +1 -1
  171. package/dist/modules/auth/lib/validators.js +1 -1
  172. package/dist/modules/auth/lib/validators.js.map +1 -1
  173. package/dist/modules/commands/components/alert-dialog-command.client.d.ts +11 -11
  174. package/dist/modules/commands/components/alert-dialog-command.client.js +1 -1
  175. package/dist/modules/commands/components/click-command.client.d.ts +2 -2
  176. package/dist/modules/commands/components/command-trigger.client.d.ts +4 -4
  177. package/dist/modules/commands/components/command-trigger.client.js +1 -1
  178. package/dist/modules/commands/components/dialog-command.client.d.ts +8 -8
  179. package/dist/modules/commands/components/dialog-command.client.js +1 -1
  180. package/dist/modules/commands/components/dropdown-command.client.d.ts +5 -5
  181. package/dist/modules/commands/components/empty-command.client.d.ts +2 -2
  182. package/dist/modules/commands/components/form-dialog-command.client.d.ts +12 -12
  183. package/dist/modules/commands/components/form-dialog-command.client.js +1 -1
  184. package/dist/modules/commands/hooks/use-command-action.client.js +1 -1
  185. package/dist/modules/commands/hooks/use-command-menu.client.js +1 -1
  186. package/dist/modules/commands/hooks/use-command-menu.client.js.map +1 -1
  187. package/dist/modules/commands/menus/context-menu.client.d.ts +2 -2
  188. package/dist/modules/commands/menus/dropdown-menu.client.d.ts +8 -4
  189. package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +1 -1
  190. package/dist/modules/commands/menus/dropdown-menu.client.js +9 -1
  191. package/dist/modules/commands/menus/dropdown-menu.client.js.map +1 -1
  192. package/dist/modules/commands/menus/inline-menu.client.d.ts +8 -4
  193. package/dist/modules/commands/menus/inline-menu.client.d.ts.map +1 -1
  194. package/dist/modules/commands/menus/inline-menu.client.js +12 -1
  195. package/dist/modules/commands/menus/inline-menu.client.js.map +1 -1
  196. package/dist/modules/commands/menus/responsive-menu.client.d.ts +2 -1
  197. package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +1 -1
  198. package/dist/modules/commands/menus/responsive-menu.client.js +6 -3
  199. package/dist/modules/commands/menus/responsive-menu.client.js.map +1 -1
  200. package/dist/modules/commands/utils/archive-command.client.d.ts +3 -3
  201. package/dist/modules/commands/utils/delete-command.client.d.ts +2 -2
  202. package/dist/modules/commands/utils/send-mail-command.client.d.ts +2 -2
  203. package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +1 -1
  204. package/dist/modules/commands/utils/send-mail-command.client.js +3 -3
  205. package/dist/modules/config/db/helpers.d.ts +5 -5
  206. package/dist/modules/config/db/helpers.d.ts.map +1 -1
  207. package/dist/modules/config/lib/config.server.d.ts +0 -2
  208. package/dist/modules/config/lib/config.server.d.ts.map +1 -1
  209. package/dist/modules/config/lib/config.server.js.map +1 -1
  210. package/dist/modules/config/lib/resolve.server.d.ts +192 -190
  211. package/dist/modules/config/lib/resolve.server.d.ts.map +1 -1
  212. package/dist/modules/config/paths/helpers.d.ts +11 -0
  213. package/dist/modules/config/paths/helpers.d.ts.map +1 -0
  214. package/dist/modules/config/paths/helpers.js +9 -0
  215. package/dist/modules/config/paths/helpers.js.map +1 -0
  216. package/dist/modules/config/paths/types.d.ts +8 -37
  217. package/dist/modules/config/paths/types.d.ts.map +1 -1
  218. package/dist/modules/config/router/client.server.d.ts +4 -4
  219. package/dist/modules/config/router/client.server.d.ts.map +1 -1
  220. package/dist/modules/config/router/context.server.d.ts +194 -192
  221. package/dist/modules/config/router/context.server.d.ts.map +1 -1
  222. package/dist/modules/config/router/init.server.d.ts +200 -198
  223. package/dist/modules/config/router/init.server.d.ts.map +1 -1
  224. package/dist/modules/data-tables/components/cell/common.client.d.ts +5 -5
  225. package/dist/modules/data-tables/components/cell/common.client.d.ts.map +1 -1
  226. package/dist/modules/data-tables/components/column-header.d.ts +2 -2
  227. package/dist/modules/data-tables/components/filters/combobox.client.d.ts +2 -2
  228. package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +1 -1
  229. package/dist/modules/data-tables/components/filters/combobox.client.js +1 -1
  230. package/dist/modules/data-tables/components/filters/combobox.client.js.map +1 -1
  231. package/dist/modules/data-tables/components/filters/slider.client.d.ts +2 -2
  232. package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +1 -1
  233. package/dist/modules/data-tables/components/header.d.ts +4 -4
  234. package/dist/modules/data-tables/components/layout.d.ts +2 -2
  235. package/dist/modules/data-tables/components/search-input.client.d.ts +2 -2
  236. package/dist/modules/data-tables/components/search-input.client.d.ts.map +1 -1
  237. package/dist/modules/data-tables/components/skeleton.d.ts +2 -2
  238. package/dist/modules/data-tables/components/table.d.ts +7 -7
  239. package/dist/modules/data-tables/components/toolbar.d.ts +3 -3
  240. package/dist/modules/data-tables/hooks/use-context.client.d.ts +2 -2
  241. package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +1 -1
  242. package/dist/modules/data-tables/lib/filters/resolvers.d.ts +1 -1
  243. package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +1 -1
  244. package/dist/modules/data-tables/lib/search-params.d.ts +5 -5
  245. package/dist/modules/data-tables/lib/search-params.d.ts.map +1 -1
  246. package/dist/modules/data-tables/lib/types.d.ts +1 -1
  247. package/dist/modules/data-tables/tables/data-table/components/table.d.ts +2 -2
  248. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +2 -2
  249. package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +1 -1
  250. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +2 -2
  251. package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +1 -1
  252. package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +2 -2
  253. package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +3 -3
  254. package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +2 -2
  255. package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +2 -2
  256. package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +2 -2
  257. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +2 -2
  258. package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +1 -1
  259. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +1 -1
  260. package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +1 -1
  261. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +2 -2
  262. package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +1 -1
  263. package/dist/modules/inline-edit/components/combobox.client.d.ts +2 -2
  264. package/dist/modules/inline-edit/components/combobox.client.d.ts.map +1 -1
  265. package/dist/modules/inline-edit/components/date-input.client.d.ts +2 -2
  266. package/dist/modules/inline-edit/components/date-input.client.js +1 -1
  267. package/dist/modules/inline-edit/components/date-picker.client.d.ts +2 -2
  268. package/dist/modules/inline-edit/components/editor.client.d.ts +2 -2
  269. package/dist/modules/inline-edit/components/input-toggle.client.d.ts +2 -2
  270. package/dist/modules/inline-edit/components/input.client.d.ts +3 -3
  271. package/dist/modules/inline-edit/components/richtext.client.d.ts +2 -2
  272. package/dist/modules/inline-edit/components/select.client.d.ts +6 -6
  273. package/dist/modules/inline-edit/components/switch.client.d.ts +2 -2
  274. package/dist/modules/inline-edit/components/toggle.client.d.ts +2 -2
  275. package/dist/modules/inline-edit/hooks/context.client.d.ts +2 -2
  276. package/dist/modules/inline-edit/hooks/use-inline.client.js +1 -1
  277. package/dist/modules/inline-edit/hooks/use-inline.client.js.map +1 -1
  278. package/dist/modules/uploads/components/button.client.d.ts +2 -2
  279. package/dist/modules/uploads/components/button.client.d.ts.map +1 -1
  280. package/dist/modules/uploads/components/images/grid.client.d.ts +2 -2
  281. package/dist/modules/uploads/components/images/grid.client.d.ts.map +1 -1
  282. package/dist/modules/uploads/components/images/grid.client.js +1 -1
  283. package/dist/modules/uploads/components/images/input.client.d.ts +2 -2
  284. package/dist/modules/uploads/components/images/input.client.d.ts.map +1 -1
  285. package/dist/modules/uploads/components/preview-dialog.client.d.ts +2 -2
  286. package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +1 -1
  287. package/dist/modules/uploads/components/zone.client.d.ts +2 -2
  288. package/dist/modules/uploads/components/zone.client.d.ts.map +1 -1
  289. package/dist/modules/uploads/hooks/use-upload-image.client.js +1 -1
  290. package/dist/modules/uploads/lib/proxy.server.d.ts +1 -1
  291. package/dist/modules/uploads/lib/proxy.server.js +4 -4
  292. package/dist/modules/uploads/lib/route.server.d.ts +1 -1
  293. package/dist/modules/uploads/lib/route.server.js +2 -2
  294. package/dist/modules/uploads/lib/router.server.d.ts +965 -965
  295. package/dist/modules/uploads/lib/router.server.d.ts.map +1 -1
  296. package/dist/modules/uploads/lib/router.server.js +2 -2
  297. package/dist/modules/uploads/lib/schema.d.ts +61 -61
  298. package/dist/modules/uploads/lib/validators.d.ts +56 -56
  299. package/dist/modules/uploads/lib/validators.d.ts.map +1 -1
  300. package/package.json +5 -4
  301. package/src/components/common/icons.tsx +6 -0
  302. package/src/components/entry.client.ts +6 -0
  303. package/src/components/entry.server.ts +1 -1
  304. package/src/components/entry.ts +1 -0
  305. package/src/components/header/bottom-bar.client.tsx +2 -2
  306. package/src/components/layouts/admin-layout.tsx +13 -0
  307. package/src/components/layouts/admin-loading.tsx +1 -1
  308. package/src/components/layouts/not-found-page.tsx +9 -1
  309. package/src/components/layouts/not-found-section.tsx +10 -5
  310. package/src/components/layouts/root-loading.tsx +9 -0
  311. package/src/components/{layouts → navigation}/admin-sidebar-header.client.tsx +11 -6
  312. package/src/components/navigation/admin-sidebar-paths.client.tsx +190 -0
  313. package/src/components/navigation/admin-sidebar-skeleton.tsx +44 -0
  314. package/src/components/navigation/admin-sidebar.client.tsx +123 -0
  315. package/src/components/ui/spinner.tsx +51 -0
  316. package/src/modules/auth/components/allowed.client.tsx +1 -1
  317. package/src/modules/auth/components/auth-layout.server.tsx +2 -10
  318. package/src/modules/auth/components/auth-loading.tsx +11 -0
  319. package/src/modules/auth/components/guard.client.tsx +12 -0
  320. package/src/modules/auth/components/login-page.client.tsx +45 -37
  321. package/src/modules/auth/entry.client.ts +2 -0
  322. package/src/modules/auth/entry.server.ts +1 -1
  323. package/src/modules/auth/entry.ts +1 -0
  324. package/src/modules/auth/handler/proxy.server.ts +28 -0
  325. package/src/modules/auth/handler/server.server.ts +5 -0
  326. package/src/modules/auth/hooks/{use-permission.client.ts → use-permission.ts} +4 -2
  327. package/src/modules/auth/hooks/use-session.ts +18 -0
  328. package/src/modules/auth/lib/helpers.server.ts +1 -5
  329. package/src/modules/auth/lib/validators.ts +1 -1
  330. package/src/modules/commands/hooks/use-command-menu.client.tsx +6 -7
  331. package/src/modules/commands/menus/dropdown-menu.client.tsx +11 -2
  332. package/src/modules/commands/menus/inline-menu.client.tsx +14 -1
  333. package/src/modules/commands/menus/responsive-menu.client.tsx +11 -2
  334. package/src/modules/config/entry.server.ts +1 -2
  335. package/src/modules/config/entry.ts +3 -0
  336. package/src/modules/config/lib/config.server.ts +1 -2
  337. package/src/modules/config/lib/router.server.ts +64 -0
  338. package/src/modules/config/paths/helpers.ts +6 -0
  339. package/src/modules/config/paths/types.ts +26 -38
  340. package/src/modules/data-tables/components/filters/combobox.client.tsx +1 -1
  341. package/src/modules/data-tables/tables/inline-table/hooks/use-input.client.ts +1 -1
  342. package/src/modules/inline-edit/hooks/use-inline.client.tsx +1 -1
  343. package/dist/components/layouts/admin-layout.server.d.ts +0 -14
  344. package/dist/components/layouts/admin-layout.server.d.ts.map +0 -1
  345. package/dist/components/layouts/admin-layout.server.js +0 -26
  346. package/dist/components/layouts/admin-layout.server.js.map +0 -1
  347. package/dist/components/layouts/admin-sidebar-context.client.js +0 -28
  348. package/dist/components/layouts/admin-sidebar-context.client.js.map +0 -1
  349. package/dist/components/layouts/admin-sidebar-header.client.js.map +0 -1
  350. package/dist/components/layouts/admin-sidebar.client.js +0 -51
  351. package/dist/components/layouts/admin-sidebar.client.js.map +0 -1
  352. package/dist/modules/auth/components/allowed.server.d.ts +0 -23
  353. package/dist/modules/auth/components/allowed.server.d.ts.map +0 -1
  354. package/dist/modules/auth/components/allowed.server.js +0 -24
  355. package/dist/modules/auth/components/allowed.server.js.map +0 -1
  356. package/dist/modules/auth/hooks/use-permission.client.js.map +0 -1
  357. package/dist/modules/config/paths/create.server.d.ts +0 -14
  358. package/dist/modules/config/paths/create.server.d.ts.map +0 -1
  359. package/dist/modules/config/paths/create.server.js +0 -12
  360. package/dist/modules/config/paths/create.server.js.map +0 -1
  361. package/dist/modules/config/paths/get.server.js +0 -47
  362. package/dist/modules/config/paths/get.server.js.map +0 -1
  363. package/src/components/layouts/admin-layout.server.tsx +0 -31
  364. package/src/components/layouts/admin-sidebar-context.client.tsx +0 -34
  365. package/src/components/layouts/admin-sidebar.client.tsx +0 -88
  366. package/src/modules/auth/components/allowed.server.tsx +0 -41
  367. package/src/modules/config/paths/create.server.ts +0 -10
  368. package/src/modules/config/paths/get.server.ts +0 -69
@@ -6,6 +6,7 @@ import * as better_auth_plugins0 from "better-auth/plugins";
6
6
  declare const authClient: {
7
7
  admin: {
8
8
  getUser: <FetchOptions extends {
9
+ mode?: RequestMode | undefined;
9
10
  method?: string | undefined;
10
11
  headers?: (HeadersInit & (HeadersInit | {
11
12
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -13,7 +14,6 @@ declare const authClient: {
13
14
  authorization: "Bearer" | "Basic";
14
15
  })) | undefined;
15
16
  credentials?: RequestCredentials | undefined;
16
- mode?: RequestMode | undefined;
17
17
  cache?: RequestCache | undefined;
18
18
  integrity?: string | undefined;
19
19
  keepalive?: boolean | undefined;
@@ -82,6 +82,7 @@ declare const authClient: {
82
82
  } & {
83
83
  admin: {
84
84
  updateUser: <FetchOptions extends {
85
+ mode?: RequestMode | undefined;
85
86
  method?: string | undefined;
86
87
  headers?: (HeadersInit & (HeadersInit | {
87
88
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -89,7 +90,6 @@ declare const authClient: {
89
90
  authorization: "Bearer" | "Basic";
90
91
  })) | undefined;
91
92
  credentials?: RequestCredentials | undefined;
92
- mode?: RequestMode | undefined;
93
93
  cache?: RequestCache | undefined;
94
94
  integrity?: string | undefined;
95
95
  keepalive?: boolean | undefined;
@@ -151,6 +151,7 @@ declare const authClient: {
151
151
  } & {
152
152
  admin: {
153
153
  listUsers: <FetchOptions extends {
154
+ mode?: RequestMode | undefined;
154
155
  method?: string | undefined;
155
156
  headers?: (HeadersInit & (HeadersInit | {
156
157
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -158,7 +159,6 @@ declare const authClient: {
158
159
  authorization: "Bearer" | "Basic";
159
160
  })) | undefined;
160
161
  credentials?: RequestCredentials | undefined;
161
- mode?: RequestMode | undefined;
162
162
  cache?: RequestCache | undefined;
163
163
  integrity?: string | undefined;
164
164
  keepalive?: boolean | undefined;
@@ -245,6 +245,7 @@ declare const authClient: {
245
245
  } & {
246
246
  admin: {
247
247
  listUserSessions: <FetchOptions extends {
248
+ mode?: RequestMode | undefined;
248
249
  method?: string | undefined;
249
250
  headers?: (HeadersInit & (HeadersInit | {
250
251
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -252,7 +253,6 @@ declare const authClient: {
252
253
  authorization: "Bearer" | "Basic";
253
254
  })) | undefined;
254
255
  credentials?: RequestCredentials | undefined;
255
- mode?: RequestMode | undefined;
256
256
  cache?: RequestCache | undefined;
257
257
  integrity?: string | undefined;
258
258
  keepalive?: boolean | undefined;
@@ -314,6 +314,7 @@ declare const authClient: {
314
314
  } & {
315
315
  admin: {
316
316
  unbanUser: <FetchOptions extends {
317
+ mode?: RequestMode | undefined;
317
318
  method?: string | undefined;
318
319
  headers?: (HeadersInit & (HeadersInit | {
319
320
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -321,7 +322,6 @@ declare const authClient: {
321
322
  authorization: "Bearer" | "Basic";
322
323
  })) | undefined;
323
324
  credentials?: RequestCredentials | undefined;
324
- mode?: RequestMode | undefined;
325
325
  cache?: RequestCache | undefined;
326
326
  integrity?: string | undefined;
327
327
  keepalive?: boolean | undefined;
@@ -383,6 +383,7 @@ declare const authClient: {
383
383
  } & {
384
384
  admin: {
385
385
  banUser: <FetchOptions extends {
386
+ mode?: RequestMode | undefined;
386
387
  method?: string | undefined;
387
388
  headers?: (HeadersInit & (HeadersInit | {
388
389
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -390,7 +391,6 @@ declare const authClient: {
390
391
  authorization: "Bearer" | "Basic";
391
392
  })) | undefined;
392
393
  credentials?: RequestCredentials | undefined;
393
- mode?: RequestMode | undefined;
394
394
  cache?: RequestCache | undefined;
395
395
  integrity?: string | undefined;
396
396
  keepalive?: boolean | undefined;
@@ -456,6 +456,7 @@ declare const authClient: {
456
456
  } & {
457
457
  admin: {
458
458
  impersonateUser: <FetchOptions extends {
459
+ mode?: RequestMode | undefined;
459
460
  method?: string | undefined;
460
461
  headers?: (HeadersInit & (HeadersInit | {
461
462
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -463,7 +464,6 @@ declare const authClient: {
463
464
  authorization: "Bearer" | "Basic";
464
465
  })) | undefined;
465
466
  credentials?: RequestCredentials | undefined;
466
- mode?: RequestMode | undefined;
467
467
  cache?: RequestCache | undefined;
468
468
  integrity?: string | undefined;
469
469
  keepalive?: boolean | undefined;
@@ -543,6 +543,7 @@ declare const authClient: {
543
543
  } & {
544
544
  admin: {
545
545
  stopImpersonating: <FetchOptions extends {
546
+ mode?: RequestMode | undefined;
546
547
  method?: string | undefined;
547
548
  headers?: (HeadersInit & (HeadersInit | {
548
549
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -550,7 +551,6 @@ declare const authClient: {
550
551
  authorization: "Bearer" | "Basic";
551
552
  })) | undefined;
552
553
  credentials?: RequestCredentials | undefined;
553
- mode?: RequestMode | undefined;
554
554
  cache?: RequestCache | undefined;
555
555
  integrity?: string | undefined;
556
556
  keepalive?: boolean | undefined;
@@ -610,6 +610,7 @@ declare const authClient: {
610
610
  } & {
611
611
  admin: {
612
612
  revokeUserSession: <FetchOptions extends {
613
+ mode?: RequestMode | undefined;
613
614
  method?: string | undefined;
614
615
  headers?: (HeadersInit & (HeadersInit | {
615
616
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -617,7 +618,6 @@ declare const authClient: {
617
618
  authorization: "Bearer" | "Basic";
618
619
  })) | undefined;
619
620
  credentials?: RequestCredentials | undefined;
620
- mode?: RequestMode | undefined;
621
621
  cache?: RequestCache | undefined;
622
622
  integrity?: string | undefined;
623
623
  keepalive?: boolean | undefined;
@@ -679,6 +679,7 @@ declare const authClient: {
679
679
  } & {
680
680
  admin: {
681
681
  revokeUserSessions: <FetchOptions extends {
682
+ mode?: RequestMode | undefined;
682
683
  method?: string | undefined;
683
684
  headers?: (HeadersInit & (HeadersInit | {
684
685
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -686,7 +687,6 @@ declare const authClient: {
686
687
  authorization: "Bearer" | "Basic";
687
688
  })) | undefined;
688
689
  credentials?: RequestCredentials | undefined;
689
- mode?: RequestMode | undefined;
690
690
  cache?: RequestCache | undefined;
691
691
  integrity?: string | undefined;
692
692
  keepalive?: boolean | undefined;
@@ -748,6 +748,7 @@ declare const authClient: {
748
748
  } & {
749
749
  admin: {
750
750
  removeUser: <FetchOptions extends {
751
+ mode?: RequestMode | undefined;
751
752
  method?: string | undefined;
752
753
  headers?: (HeadersInit & (HeadersInit | {
753
754
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -755,7 +756,6 @@ declare const authClient: {
755
756
  authorization: "Bearer" | "Basic";
756
757
  })) | undefined;
757
758
  credentials?: RequestCredentials | undefined;
758
- mode?: RequestMode | undefined;
759
759
  cache?: RequestCache | undefined;
760
760
  integrity?: string | undefined;
761
761
  keepalive?: boolean | undefined;
@@ -817,6 +817,7 @@ declare const authClient: {
817
817
  } & {
818
818
  admin: {
819
819
  setUserPassword: <FetchOptions extends {
820
+ mode?: RequestMode | undefined;
820
821
  method?: string | undefined;
821
822
  headers?: (HeadersInit & (HeadersInit | {
822
823
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -824,7 +825,6 @@ declare const authClient: {
824
825
  authorization: "Bearer" | "Basic";
825
826
  })) | undefined;
826
827
  credentials?: RequestCredentials | undefined;
827
- mode?: RequestMode | undefined;
828
828
  cache?: RequestCache | undefined;
829
829
  integrity?: string | undefined;
830
830
  keepalive?: boolean | undefined;
@@ -888,6 +888,7 @@ declare const authClient: {
888
888
  } & {
889
889
  emailOtp: {
890
890
  checkVerificationOtp: <FetchOptions extends {
891
+ mode?: RequestMode | undefined;
891
892
  method?: string | undefined;
892
893
  headers?: (HeadersInit & (HeadersInit | {
893
894
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -895,7 +896,6 @@ declare const authClient: {
895
896
  authorization: "Bearer" | "Basic";
896
897
  })) | undefined;
897
898
  credentials?: RequestCredentials | undefined;
898
- mode?: RequestMode | undefined;
899
899
  cache?: RequestCache | undefined;
900
900
  integrity?: string | undefined;
901
901
  keepalive?: boolean | undefined;
@@ -961,6 +961,7 @@ declare const authClient: {
961
961
  } & {
962
962
  emailOtp: {
963
963
  verifyEmail: <FetchOptions extends {
964
+ mode?: RequestMode | undefined;
964
965
  method?: string | undefined;
965
966
  headers?: (HeadersInit & (HeadersInit | {
966
967
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -968,7 +969,6 @@ declare const authClient: {
968
969
  authorization: "Bearer" | "Basic";
969
970
  })) | undefined;
970
971
  credentials?: RequestCredentials | undefined;
971
- mode?: RequestMode | undefined;
972
972
  cache?: RequestCache | undefined;
973
973
  integrity?: string | undefined;
974
974
  keepalive?: boolean | undefined;
@@ -1054,6 +1054,7 @@ declare const authClient: {
1054
1054
  } & {
1055
1055
  signIn: {
1056
1056
  emailOtp: <FetchOptions extends {
1057
+ mode?: RequestMode | undefined;
1057
1058
  method?: string | undefined;
1058
1059
  headers?: (HeadersInit & (HeadersInit | {
1059
1060
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1061,7 +1062,6 @@ declare const authClient: {
1061
1062
  authorization: "Bearer" | "Basic";
1062
1063
  })) | undefined;
1063
1064
  credentials?: RequestCredentials | undefined;
1064
- mode?: RequestMode | undefined;
1065
1065
  cache?: RequestCache | undefined;
1066
1066
  integrity?: string | undefined;
1067
1067
  keepalive?: boolean | undefined;
@@ -1134,6 +1134,7 @@ declare const authClient: {
1134
1134
  } & {
1135
1135
  forgetPassword: {
1136
1136
  emailOtp: <FetchOptions extends {
1137
+ mode?: RequestMode | undefined;
1137
1138
  method?: string | undefined;
1138
1139
  headers?: (HeadersInit & (HeadersInit | {
1139
1140
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1141,7 +1142,6 @@ declare const authClient: {
1141
1142
  authorization: "Bearer" | "Basic";
1142
1143
  })) | undefined;
1143
1144
  credentials?: RequestCredentials | undefined;
1144
- mode?: RequestMode | undefined;
1145
1145
  cache?: RequestCache | undefined;
1146
1146
  integrity?: string | undefined;
1147
1147
  keepalive?: boolean | undefined;
@@ -1203,6 +1203,7 @@ declare const authClient: {
1203
1203
  } & {
1204
1204
  emailOtp: {
1205
1205
  resetPassword: <FetchOptions extends {
1206
+ mode?: RequestMode | undefined;
1206
1207
  method?: string | undefined;
1207
1208
  headers?: (HeadersInit & (HeadersInit | {
1208
1209
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1210,7 +1211,6 @@ declare const authClient: {
1210
1211
  authorization: "Bearer" | "Basic";
1211
1212
  })) | undefined;
1212
1213
  credentials?: RequestCredentials | undefined;
1213
- mode?: RequestMode | undefined;
1214
1214
  cache?: RequestCache | undefined;
1215
1215
  integrity?: string | undefined;
1216
1216
  keepalive?: boolean | undefined;
@@ -1276,6 +1276,7 @@ declare const authClient: {
1276
1276
  } & {
1277
1277
  emailOtp: {
1278
1278
  sendVerificationOtp: <FetchOptions extends {
1279
+ mode?: RequestMode | undefined;
1279
1280
  method?: string | undefined;
1280
1281
  headers?: (HeadersInit & (HeadersInit | {
1281
1282
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1283,7 +1284,6 @@ declare const authClient: {
1283
1284
  authorization: "Bearer" | "Basic";
1284
1285
  })) | undefined;
1285
1286
  credentials?: RequestCredentials | undefined;
1286
- mode?: RequestMode | undefined;
1287
1287
  cache?: RequestCache | undefined;
1288
1288
  integrity?: string | undefined;
1289
1289
  keepalive?: boolean | undefined;
@@ -1347,6 +1347,7 @@ declare const authClient: {
1347
1347
  } & {
1348
1348
  signIn: {
1349
1349
  social: <FetchOptions extends {
1350
+ mode?: RequestMode | undefined;
1350
1351
  method?: string | undefined;
1351
1352
  headers?: (HeadersInit & (HeadersInit | {
1352
1353
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1354,7 +1355,6 @@ declare const authClient: {
1354
1355
  authorization: "Bearer" | "Basic";
1355
1356
  })) | undefined;
1356
1357
  credentials?: RequestCredentials | undefined;
1357
- mode?: RequestMode | undefined;
1358
1358
  cache?: RequestCache | undefined;
1359
1359
  integrity?: string | undefined;
1360
1360
  keepalive?: boolean | undefined;
@@ -1457,6 +1457,7 @@ declare const authClient: {
1457
1457
  };
1458
1458
  } & {
1459
1459
  signOut: <FetchOptions extends {
1460
+ mode?: RequestMode | undefined;
1460
1461
  method?: string | undefined;
1461
1462
  headers?: (HeadersInit & (HeadersInit | {
1462
1463
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1464,7 +1465,6 @@ declare const authClient: {
1464
1465
  authorization: "Bearer" | "Basic";
1465
1466
  })) | undefined;
1466
1467
  credentials?: RequestCredentials | undefined;
1467
- mode?: RequestMode | undefined;
1468
1468
  cache?: RequestCache | undefined;
1469
1469
  integrity?: string | undefined;
1470
1470
  keepalive?: boolean | undefined;
@@ -1522,6 +1522,7 @@ declare const authClient: {
1522
1522
  } & {
1523
1523
  signIn: {
1524
1524
  email: <FetchOptions extends {
1525
+ mode?: RequestMode | undefined;
1525
1526
  method?: string | undefined;
1526
1527
  headers?: (HeadersInit & (HeadersInit | {
1527
1528
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1529,7 +1530,6 @@ declare const authClient: {
1529
1530
  authorization: "Bearer" | "Basic";
1530
1531
  })) | undefined;
1531
1532
  credentials?: RequestCredentials | undefined;
1532
- mode?: RequestMode | undefined;
1533
1533
  cache?: RequestCache | undefined;
1534
1534
  integrity?: string | undefined;
1535
1535
  keepalive?: boolean | undefined;
@@ -1607,6 +1607,7 @@ declare const authClient: {
1607
1607
  };
1608
1608
  } & {
1609
1609
  forgetPassword: <FetchOptions extends {
1610
+ mode?: RequestMode | undefined;
1610
1611
  method?: string | undefined;
1611
1612
  headers?: (HeadersInit & (HeadersInit | {
1612
1613
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1614,7 +1615,6 @@ declare const authClient: {
1614
1615
  authorization: "Bearer" | "Basic";
1615
1616
  })) | undefined;
1616
1617
  credentials?: RequestCredentials | undefined;
1617
- mode?: RequestMode | undefined;
1618
1618
  cache?: RequestCache | undefined;
1619
1619
  integrity?: string | undefined;
1620
1620
  keepalive?: boolean | undefined;
@@ -1676,6 +1676,7 @@ declare const authClient: {
1676
1676
  }, FetchOptions["throw"] extends true ? true : false>>;
1677
1677
  } & {
1678
1678
  resetPassword: <FetchOptions extends {
1679
+ mode?: RequestMode | undefined;
1679
1680
  method?: string | undefined;
1680
1681
  headers?: (HeadersInit & (HeadersInit | {
1681
1682
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1683,7 +1684,6 @@ declare const authClient: {
1683
1684
  authorization: "Bearer" | "Basic";
1684
1685
  })) | undefined;
1685
1686
  credentials?: RequestCredentials | undefined;
1686
- mode?: RequestMode | undefined;
1687
1687
  cache?: RequestCache | undefined;
1688
1688
  integrity?: string | undefined;
1689
1689
  keepalive?: boolean | undefined;
@@ -1747,6 +1747,7 @@ declare const authClient: {
1747
1747
  }, FetchOptions["throw"] extends true ? true : false>>;
1748
1748
  } & {
1749
1749
  verifyEmail: <FetchOptions extends {
1750
+ mode?: RequestMode | undefined;
1750
1751
  method?: string | undefined;
1751
1752
  headers?: (HeadersInit & (HeadersInit | {
1752
1753
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1754,7 +1755,6 @@ declare const authClient: {
1754
1755
  authorization: "Bearer" | "Basic";
1755
1756
  })) | undefined;
1756
1757
  credentials?: RequestCredentials | undefined;
1757
- mode?: RequestMode | undefined;
1758
1758
  cache?: RequestCache | undefined;
1759
1759
  integrity?: string | undefined;
1760
1760
  keepalive?: boolean | undefined;
@@ -1829,6 +1829,7 @@ declare const authClient: {
1829
1829
  }, FetchOptions["throw"] extends true ? true : false>>;
1830
1830
  } & {
1831
1831
  sendVerificationEmail: <FetchOptions extends {
1832
+ mode?: RequestMode | undefined;
1832
1833
  method?: string | undefined;
1833
1834
  headers?: (HeadersInit & (HeadersInit | {
1834
1835
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1836,7 +1837,6 @@ declare const authClient: {
1836
1837
  authorization: "Bearer" | "Basic";
1837
1838
  })) | undefined;
1838
1839
  credentials?: RequestCredentials | undefined;
1839
- mode?: RequestMode | undefined;
1840
1840
  cache?: RequestCache | undefined;
1841
1841
  integrity?: string | undefined;
1842
1842
  keepalive?: boolean | undefined;
@@ -1898,6 +1898,7 @@ declare const authClient: {
1898
1898
  }, FetchOptions["throw"] extends true ? true : false>>;
1899
1899
  } & {
1900
1900
  changeEmail: <FetchOptions extends {
1901
+ mode?: RequestMode | undefined;
1901
1902
  method?: string | undefined;
1902
1903
  headers?: (HeadersInit & (HeadersInit | {
1903
1904
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1905,7 +1906,6 @@ declare const authClient: {
1905
1906
  authorization: "Bearer" | "Basic";
1906
1907
  })) | undefined;
1907
1908
  credentials?: RequestCredentials | undefined;
1908
- mode?: RequestMode | undefined;
1909
1909
  cache?: RequestCache | undefined;
1910
1910
  integrity?: string | undefined;
1911
1911
  keepalive?: boolean | undefined;
@@ -1967,6 +1967,7 @@ declare const authClient: {
1967
1967
  }, FetchOptions["throw"] extends true ? true : false>>;
1968
1968
  } & {
1969
1969
  changePassword: <FetchOptions extends {
1970
+ mode?: RequestMode | undefined;
1970
1971
  method?: string | undefined;
1971
1972
  headers?: (HeadersInit & (HeadersInit | {
1972
1973
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1974,7 +1975,6 @@ declare const authClient: {
1974
1975
  authorization: "Bearer" | "Basic";
1975
1976
  })) | undefined;
1976
1977
  credentials?: RequestCredentials | undefined;
1977
- mode?: RequestMode | undefined;
1978
1978
  cache?: RequestCache | undefined;
1979
1979
  integrity?: string | undefined;
1980
1980
  keepalive?: boolean | undefined;
@@ -2047,6 +2047,7 @@ declare const authClient: {
2047
2047
  }, FetchOptions["throw"] extends true ? true : false>>;
2048
2048
  } & {
2049
2049
  deleteUser: <FetchOptions extends {
2050
+ mode?: RequestMode | undefined;
2050
2051
  method?: string | undefined;
2051
2052
  headers?: (HeadersInit & (HeadersInit | {
2052
2053
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2054,7 +2055,6 @@ declare const authClient: {
2054
2055
  authorization: "Bearer" | "Basic";
2055
2056
  })) | undefined;
2056
2057
  credentials?: RequestCredentials | undefined;
2057
- mode?: RequestMode | undefined;
2058
2058
  cache?: RequestCache | undefined;
2059
2059
  integrity?: string | undefined;
2060
2060
  keepalive?: boolean | undefined;
@@ -2120,6 +2120,7 @@ declare const authClient: {
2120
2120
  } & {
2121
2121
  resetPassword: {
2122
2122
  ":token": <FetchOptions extends {
2123
+ mode?: RequestMode | undefined;
2123
2124
  method?: string | undefined;
2124
2125
  headers?: (HeadersInit & (HeadersInit | {
2125
2126
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2127,7 +2128,6 @@ declare const authClient: {
2127
2128
  authorization: "Bearer" | "Basic";
2128
2129
  })) | undefined;
2129
2130
  credentials?: RequestCredentials | undefined;
2130
- mode?: RequestMode | undefined;
2131
2131
  cache?: RequestCache | undefined;
2132
2132
  integrity?: string | undefined;
2133
2133
  keepalive?: boolean | undefined;
@@ -2189,6 +2189,7 @@ declare const authClient: {
2189
2189
  };
2190
2190
  } & {
2191
2191
  requestPasswordReset: <FetchOptions extends {
2192
+ mode?: RequestMode | undefined;
2192
2193
  method?: string | undefined;
2193
2194
  headers?: (HeadersInit & (HeadersInit | {
2194
2195
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2196,7 +2197,6 @@ declare const authClient: {
2196
2197
  authorization: "Bearer" | "Basic";
2197
2198
  })) | undefined;
2198
2199
  credentials?: RequestCredentials | undefined;
2199
- mode?: RequestMode | undefined;
2200
2200
  cache?: RequestCache | undefined;
2201
2201
  integrity?: string | undefined;
2202
2202
  keepalive?: boolean | undefined;
@@ -2260,6 +2260,7 @@ declare const authClient: {
2260
2260
  } & {
2261
2261
  resetPassword: {
2262
2262
  ":token": <FetchOptions extends {
2263
+ mode?: RequestMode | undefined;
2263
2264
  method?: string | undefined;
2264
2265
  headers?: (HeadersInit & (HeadersInit | {
2265
2266
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2267,7 +2268,6 @@ declare const authClient: {
2267
2268
  authorization: "Bearer" | "Basic";
2268
2269
  })) | undefined;
2269
2270
  credentials?: RequestCredentials | undefined;
2270
- mode?: RequestMode | undefined;
2271
2271
  cache?: RequestCache | undefined;
2272
2272
  integrity?: string | undefined;
2273
2273
  keepalive?: boolean | undefined;
@@ -2329,6 +2329,7 @@ declare const authClient: {
2329
2329
  };
2330
2330
  } & {
2331
2331
  revokeSession: <FetchOptions extends {
2332
+ mode?: RequestMode | undefined;
2332
2333
  method?: string | undefined;
2333
2334
  headers?: (HeadersInit & (HeadersInit | {
2334
2335
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2336,7 +2337,6 @@ declare const authClient: {
2336
2337
  authorization: "Bearer" | "Basic";
2337
2338
  })) | undefined;
2338
2339
  credentials?: RequestCredentials | undefined;
2339
- mode?: RequestMode | undefined;
2340
2340
  cache?: RequestCache | undefined;
2341
2341
  integrity?: string | undefined;
2342
2342
  keepalive?: boolean | undefined;
@@ -2396,6 +2396,7 @@ declare const authClient: {
2396
2396
  }, FetchOptions["throw"] extends true ? true : false>>;
2397
2397
  } & {
2398
2398
  revokeSessions: <FetchOptions extends {
2399
+ mode?: RequestMode | undefined;
2399
2400
  method?: string | undefined;
2400
2401
  headers?: (HeadersInit & (HeadersInit | {
2401
2402
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2403,7 +2404,6 @@ declare const authClient: {
2403
2404
  authorization: "Bearer" | "Basic";
2404
2405
  })) | undefined;
2405
2406
  credentials?: RequestCredentials | undefined;
2406
- mode?: RequestMode | undefined;
2407
2407
  cache?: RequestCache | undefined;
2408
2408
  integrity?: string | undefined;
2409
2409
  keepalive?: boolean | undefined;
@@ -2460,6 +2460,7 @@ declare const authClient: {
2460
2460
  }, FetchOptions["throw"] extends true ? true : false>>;
2461
2461
  } & {
2462
2462
  revokeOtherSessions: <FetchOptions extends {
2463
+ mode?: RequestMode | undefined;
2463
2464
  method?: string | undefined;
2464
2465
  headers?: (HeadersInit & (HeadersInit | {
2465
2466
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2467,7 +2468,6 @@ declare const authClient: {
2467
2468
  authorization: "Bearer" | "Basic";
2468
2469
  })) | undefined;
2469
2470
  credentials?: RequestCredentials | undefined;
2470
- mode?: RequestMode | undefined;
2471
2471
  cache?: RequestCache | undefined;
2472
2472
  integrity?: string | undefined;
2473
2473
  keepalive?: boolean | undefined;
@@ -2524,6 +2524,7 @@ declare const authClient: {
2524
2524
  }, FetchOptions["throw"] extends true ? true : false>>;
2525
2525
  } & {
2526
2526
  linkSocial: <FetchOptions extends {
2527
+ mode?: RequestMode | undefined;
2527
2528
  method?: string | undefined;
2528
2529
  headers?: (HeadersInit & (HeadersInit | {
2529
2530
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2531,7 +2532,6 @@ declare const authClient: {
2531
2532
  authorization: "Bearer" | "Basic";
2532
2533
  })) | undefined;
2533
2534
  credentials?: RequestCredentials | undefined;
2534
- mode?: RequestMode | undefined;
2535
2535
  cache?: RequestCache | undefined;
2536
2536
  integrity?: string | undefined;
2537
2537
  keepalive?: boolean | undefined;
@@ -2616,6 +2616,7 @@ declare const authClient: {
2616
2616
  }, FetchOptions["throw"] extends true ? true : false>>;
2617
2617
  } & {
2618
2618
  listAccounts: <FetchOptions extends {
2619
+ mode?: RequestMode | undefined;
2619
2620
  method?: string | undefined;
2620
2621
  headers?: (HeadersInit & (HeadersInit | {
2621
2622
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2623,7 +2624,6 @@ declare const authClient: {
2623
2624
  authorization: "Bearer" | "Basic";
2624
2625
  })) | undefined;
2625
2626
  credentials?: RequestCredentials | undefined;
2626
- mode?: RequestMode | undefined;
2627
2627
  cache?: RequestCache | undefined;
2628
2628
  integrity?: string | undefined;
2629
2629
  keepalive?: boolean | undefined;
@@ -2686,6 +2686,7 @@ declare const authClient: {
2686
2686
  } & {
2687
2687
  deleteUser: {
2688
2688
  callback: <FetchOptions extends {
2689
+ mode?: RequestMode | undefined;
2689
2690
  method?: string | undefined;
2690
2691
  headers?: (HeadersInit & (HeadersInit | {
2691
2692
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2693,7 +2694,6 @@ declare const authClient: {
2693
2694
  authorization: "Bearer" | "Basic";
2694
2695
  })) | undefined;
2695
2696
  credentials?: RequestCredentials | undefined;
2696
- mode?: RequestMode | undefined;
2697
2697
  cache?: RequestCache | undefined;
2698
2698
  integrity?: string | undefined;
2699
2699
  keepalive?: boolean | undefined;
@@ -2758,6 +2758,7 @@ declare const authClient: {
2758
2758
  };
2759
2759
  } & {
2760
2760
  unlinkAccount: <FetchOptions extends {
2761
+ mode?: RequestMode | undefined;
2761
2762
  method?: string | undefined;
2762
2763
  headers?: (HeadersInit & (HeadersInit | {
2763
2764
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2765,7 +2766,6 @@ declare const authClient: {
2765
2766
  authorization: "Bearer" | "Basic";
2766
2767
  })) | undefined;
2767
2768
  credentials?: RequestCredentials | undefined;
2768
- mode?: RequestMode | undefined;
2769
2769
  cache?: RequestCache | undefined;
2770
2770
  integrity?: string | undefined;
2771
2771
  keepalive?: boolean | undefined;
@@ -2827,6 +2827,7 @@ declare const authClient: {
2827
2827
  }, FetchOptions["throw"] extends true ? true : false>>;
2828
2828
  } & {
2829
2829
  refreshToken: <FetchOptions extends {
2830
+ mode?: RequestMode | undefined;
2830
2831
  method?: string | undefined;
2831
2832
  headers?: (HeadersInit & (HeadersInit | {
2832
2833
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2834,7 +2835,6 @@ declare const authClient: {
2834
2835
  authorization: "Bearer" | "Basic";
2835
2836
  })) | undefined;
2836
2837
  credentials?: RequestCredentials | undefined;
2837
- mode?: RequestMode | undefined;
2838
2838
  cache?: RequestCache | undefined;
2839
2839
  integrity?: string | undefined;
2840
2840
  keepalive?: boolean | undefined;
@@ -2896,6 +2896,7 @@ declare const authClient: {
2896
2896
  }, FetchOptions["throw"] extends true ? true : false>>;
2897
2897
  } & {
2898
2898
  getAccessToken: <FetchOptions extends {
2899
+ mode?: RequestMode | undefined;
2899
2900
  method?: string | undefined;
2900
2901
  headers?: (HeadersInit & (HeadersInit | {
2901
2902
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2903,7 +2904,6 @@ declare const authClient: {
2903
2904
  authorization: "Bearer" | "Basic";
2904
2905
  })) | undefined;
2905
2906
  credentials?: RequestCredentials | undefined;
2906
- mode?: RequestMode | undefined;
2907
2907
  cache?: RequestCache | undefined;
2908
2908
  integrity?: string | undefined;
2909
2909
  keepalive?: boolean | undefined;
@@ -2970,6 +2970,7 @@ declare const authClient: {
2970
2970
  }, FetchOptions["throw"] extends true ? true : false>>;
2971
2971
  } & {
2972
2972
  accountInfo: <FetchOptions extends {
2973
+ mode?: RequestMode | undefined;
2973
2974
  method?: string | undefined;
2974
2975
  headers?: (HeadersInit & (HeadersInit | {
2975
2976
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -2977,7 +2978,6 @@ declare const authClient: {
2977
2978
  authorization: "Bearer" | "Basic";
2978
2979
  })) | undefined;
2979
2980
  credentials?: RequestCredentials | undefined;
2980
- mode?: RequestMode | undefined;
2981
2981
  cache?: RequestCache | undefined;
2982
2982
  integrity?: string | undefined;
2983
2983
  keepalive?: boolean | undefined;
@@ -3039,6 +3039,7 @@ declare const authClient: {
3039
3039
  } & {
3040
3040
  admin: {
3041
3041
  setRole: <FetchOptions extends {
3042
+ mode?: RequestMode | undefined;
3042
3043
  method?: string | undefined;
3043
3044
  headers?: (HeadersInit & (HeadersInit | {
3044
3045
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3046,7 +3047,6 @@ declare const authClient: {
3046
3047
  authorization: "Bearer" | "Basic";
3047
3048
  })) | undefined;
3048
3049
  credentials?: RequestCredentials | undefined;
3049
- mode?: RequestMode | undefined;
3050
3050
  cache?: RequestCache | undefined;
3051
3051
  integrity?: string | undefined;
3052
3052
  keepalive?: boolean | undefined;
@@ -3110,6 +3110,7 @@ declare const authClient: {
3110
3110
  } & {
3111
3111
  admin: {
3112
3112
  createUser: <FetchOptions extends {
3113
+ mode?: RequestMode | undefined;
3113
3114
  method?: string | undefined;
3114
3115
  headers?: (HeadersInit & (HeadersInit | {
3115
3116
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3117,7 +3118,6 @@ declare const authClient: {
3117
3118
  authorization: "Bearer" | "Basic";
3118
3119
  })) | undefined;
3119
3120
  credentials?: RequestCredentials | undefined;
3120
- mode?: RequestMode | undefined;
3121
3121
  cache?: RequestCache | undefined;
3122
3122
  integrity?: string | undefined;
3123
3123
  keepalive?: boolean | undefined;
@@ -3187,6 +3187,7 @@ declare const authClient: {
3187
3187
  } & {
3188
3188
  admin: {
3189
3189
  hasPermission: <FetchOptions extends {
3190
+ mode?: RequestMode | undefined;
3190
3191
  method?: string | undefined;
3191
3192
  headers?: (HeadersInit & (HeadersInit | {
3192
3193
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3194,7 +3195,6 @@ declare const authClient: {
3194
3195
  authorization: "Bearer" | "Basic";
3195
3196
  })) | undefined;
3196
3197
  credentials?: RequestCredentials | undefined;
3197
- mode?: RequestMode | undefined;
3198
3198
  cache?: RequestCache | undefined;
3199
3199
  integrity?: string | undefined;
3200
3200
  keepalive?: boolean | undefined;
@@ -3283,6 +3283,7 @@ declare const authClient: {
3283
3283
  } & {
3284
3284
  signUp: {
3285
3285
  email: <FetchOptions extends {
3286
+ mode?: RequestMode | undefined;
3286
3287
  method?: string | undefined;
3287
3288
  headers?: (HeadersInit & (HeadersInit | {
3288
3289
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3290,7 +3291,6 @@ declare const authClient: {
3290
3291
  authorization: "Bearer" | "Basic";
3291
3292
  })) | undefined;
3292
3293
  credentials?: RequestCredentials | undefined;
3293
- mode?: RequestMode | undefined;
3294
3294
  cache?: RequestCache | undefined;
3295
3295
  integrity?: string | undefined;
3296
3296
  keepalive?: boolean | undefined;
@@ -3382,6 +3382,7 @@ declare const authClient: {
3382
3382
  };
3383
3383
  } & {
3384
3384
  updateUser: <FetchOptions extends {
3385
+ mode?: RequestMode | undefined;
3385
3386
  method?: string | undefined;
3386
3387
  headers?: (HeadersInit & (HeadersInit | {
3387
3388
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3389,7 +3390,6 @@ declare const authClient: {
3389
3390
  authorization: "Bearer" | "Basic";
3390
3391
  })) | undefined;
3391
3392
  credentials?: RequestCredentials | undefined;
3392
- mode?: RequestMode | undefined;
3393
3393
  cache?: RequestCache | undefined;
3394
3394
  integrity?: string | undefined;
3395
3395
  keepalive?: boolean | undefined;
@@ -3453,6 +3453,7 @@ declare const authClient: {
3453
3453
  }, FetchOptions["throw"] extends true ? true : false>>;
3454
3454
  } & {
3455
3455
  listSessions: <FetchOptions extends {
3456
+ mode?: RequestMode | undefined;
3456
3457
  method?: string | undefined;
3457
3458
  headers?: (HeadersInit & (HeadersInit | {
3458
3459
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3460,7 +3461,6 @@ declare const authClient: {
3460
3461
  authorization: "Bearer" | "Basic";
3461
3462
  })) | undefined;
3462
3463
  credentials?: RequestCredentials | undefined;
3463
- mode?: RequestMode | undefined;
3464
3464
  cache?: RequestCache | undefined;
3465
3465
  integrity?: string | undefined;
3466
3466
  keepalive?: boolean | undefined;
@@ -3524,6 +3524,7 @@ declare const authClient: {
3524
3524
  }, FetchOptions["throw"] extends true ? true : false>>;
3525
3525
  } & {
3526
3526
  getSession: <FetchOptions extends {
3527
+ mode?: RequestMode | undefined;
3527
3528
  method?: string | undefined;
3528
3529
  headers?: (HeadersInit & (HeadersInit | {
3529
3530
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3531,7 +3532,6 @@ declare const authClient: {
3531
3532
  authorization: "Bearer" | "Basic";
3532
3533
  })) | undefined;
3533
3534
  credentials?: RequestCredentials | undefined;
3534
- mode?: RequestMode | undefined;
3535
3535
  cache?: RequestCache | undefined;
3536
3536
  integrity?: string | undefined;
3537
3537
  keepalive?: boolean | undefined;