@tulip-systems/core 0.3.0 → 0.4.1
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.
- package/dist/auth/client.d.mts +10 -0
- package/dist/auth/client.mjs +11 -0
- package/dist/auth/server.d.mts +8 -0
- package/dist/auth/server.mjs +9 -0
- package/dist/auth.d.mts +5 -0
- package/dist/auth.mjs +6 -0
- package/dist/commands/client.d.mts +15 -0
- package/dist/commands/client.mjs +16 -0
- package/dist/commands.d.mts +3 -0
- package/dist/commands.mjs +3 -0
- package/dist/components/client.d.mts +36 -0
- package/dist/components/client.mjs +37 -0
- package/dist/components/common/icons.d.mts +61 -0
- package/dist/components/common/icons.d.mts.map +1 -0
- package/dist/components/common/icons.mjs +122 -0
- package/dist/components/common/icons.mjs.map +1 -0
- package/dist/components/common/status.d.mts +53 -0
- package/dist/components/common/status.d.mts.map +1 -0
- package/dist/components/common/status.mjs +56 -0
- package/dist/components/common/status.mjs.map +1 -0
- package/dist/components/editor/components/block-dropdown.mjs +83 -0
- package/dist/components/editor/components/block-dropdown.mjs.map +1 -0
- package/dist/components/editor/components/content.client.d.mts +7 -0
- package/dist/components/editor/components/content.client.d.mts.map +1 -0
- package/dist/components/editor/components/content.client.mjs +17 -0
- package/dist/components/editor/components/content.client.mjs.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.d.mts +7 -0
- package/dist/components/editor/components/fixed-menu.client.d.mts.map +1 -0
- package/dist/components/editor/components/fixed-menu.client.mjs +134 -0
- package/dist/components/editor/components/fixed-menu.client.mjs.map +1 -0
- package/dist/components/editor/context.client.d.mts +33 -0
- package/dist/components/editor/context.client.d.mts.map +1 -0
- package/dist/components/editor/context.client.mjs +45 -0
- package/dist/components/editor/context.client.mjs.map +1 -0
- package/dist/components/editor/index.client.d.mts +11 -0
- package/dist/components/editor/index.client.d.mts.map +1 -0
- package/dist/components/editor/index.client.mjs +17 -0
- package/dist/components/editor/index.client.mjs.map +1 -0
- package/dist/components/editor/lib/helpers.d.mts +15 -0
- package/dist/components/editor/lib/helpers.d.mts.map +1 -0
- package/dist/components/editor/lib/helpers.mjs +20 -0
- package/dist/components/editor/lib/helpers.mjs.map +1 -0
- package/dist/components/editor/lib/types.d.mts +11 -0
- package/dist/components/editor/lib/types.d.mts.map +1 -0
- package/dist/components/editor/preview.client.d.mts +12 -0
- package/dist/components/editor/preview.client.d.mts.map +1 -0
- package/dist/components/editor/preview.client.mjs +19 -0
- package/dist/components/editor/preview.client.mjs.map +1 -0
- package/dist/components/emails/forget-password-email.mjs +52 -0
- package/dist/components/emails/forget-password-email.mjs.map +1 -0
- package/dist/components/header/back-button.client.d.mts +10 -0
- package/dist/components/header/back-button.client.d.mts.map +1 -0
- package/dist/components/header/back-button.client.mjs +43 -0
- package/dist/components/header/back-button.client.mjs.map +1 -0
- package/dist/components/header/bottom-bar.client.d.mts +29 -0
- package/dist/components/header/bottom-bar.client.d.mts.map +1 -0
- package/dist/components/header/bottom-bar.client.mjs +38 -0
- package/dist/components/header/bottom-bar.client.mjs.map +1 -0
- package/dist/components/header/breadcrumbs.client.d.mts +35 -0
- package/dist/components/header/breadcrumbs.client.d.mts.map +1 -0
- package/dist/components/header/breadcrumbs.client.mjs +64 -0
- package/dist/components/header/breadcrumbs.client.mjs.map +1 -0
- package/dist/components/header/header.client.d.mts +12 -0
- package/dist/components/header/header.client.d.mts.map +1 -0
- package/dist/components/header/header.client.mjs +15 -0
- package/dist/components/header/header.client.mjs.map +1 -0
- package/dist/components/header/indicator.client.mjs +25 -0
- package/dist/components/header/indicator.client.mjs.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.d.mts +10 -0
- package/dist/components/header/mobile-nav-switcher.client.d.mts.map +1 -0
- package/dist/components/header/mobile-nav-switcher.client.mjs +19 -0
- package/dist/components/header/mobile-nav-switcher.client.mjs.map +1 -0
- package/dist/components/header/top-bar.client.d.mts +43 -0
- package/dist/components/header/top-bar.client.d.mts.map +1 -0
- package/dist/components/header/top-bar.client.mjs +48 -0
- package/dist/components/header/top-bar.client.mjs.map +1 -0
- package/dist/components/layouts/admin-content.client.d.mts +13 -0
- package/dist/components/layouts/admin-content.client.d.mts.map +1 -0
- package/dist/components/layouts/admin-content.client.mjs +23 -0
- package/dist/components/layouts/admin-content.client.mjs.map +1 -0
- package/dist/components/layouts/admin-layout.d.mts +8 -0
- package/dist/components/layouts/admin-layout.d.mts.map +1 -0
- package/dist/components/layouts/admin-layout.mjs +14 -0
- package/dist/components/layouts/admin-layout.mjs.map +1 -0
- package/dist/components/layouts/admin-loading.d.mts +8 -0
- package/dist/components/layouts/admin-loading.d.mts.map +1 -0
- package/dist/components/layouts/admin-loading.mjs +14 -0
- package/dist/components/layouts/admin-loading.mjs.map +1 -0
- package/dist/components/layouts/empty-page.d.mts +31 -0
- package/dist/components/layouts/empty-page.d.mts.map +1 -0
- package/dist/components/layouts/empty-page.mjs +29 -0
- package/dist/components/layouts/empty-page.mjs.map +1 -0
- package/dist/components/layouts/list-layout.d.mts +12 -0
- package/dist/components/layouts/list-layout.d.mts.map +1 -0
- package/dist/components/layouts/list-layout.mjs +15 -0
- package/dist/components/layouts/list-layout.mjs.map +1 -0
- package/dist/components/layouts/not-found-page.d.mts +8 -0
- package/dist/components/layouts/not-found-page.d.mts.map +1 -0
- package/dist/components/layouts/not-found-page.mjs +20 -0
- package/dist/components/layouts/not-found-page.mjs.map +1 -0
- package/dist/components/layouts/not-found-section.mjs +30 -0
- package/dist/components/layouts/not-found-section.mjs.map +1 -0
- package/dist/components/layouts/providers.client.d.mts +10 -0
- package/dist/components/layouts/providers.client.d.mts.map +1 -0
- package/dist/components/layouts/providers.client.mjs +31 -0
- package/dist/components/layouts/providers.client.mjs.map +1 -0
- package/dist/components/layouts/root-layout.server.d.mts +37 -0
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -0
- package/dist/components/layouts/root-layout.server.mjs +47 -0
- package/dist/components/layouts/root-layout.server.mjs.map +1 -0
- package/dist/components/layouts/root-loading.d.mts +7 -0
- package/dist/components/layouts/root-loading.d.mts.map +1 -0
- package/dist/components/layouts/root-loading.mjs +14 -0
- package/dist/components/layouts/root-loading.mjs.map +1 -0
- package/dist/components/layouts/tab-layout.d.mts +23 -0
- package/dist/components/layouts/tab-layout.d.mts.map +1 -0
- package/dist/components/layouts/tab-layout.mjs +51 -0
- package/dist/components/layouts/tab-layout.mjs.map +1 -0
- package/dist/components/lists/data-list.d.mts +31 -0
- package/dist/components/lists/data-list.d.mts.map +1 -0
- package/dist/components/lists/data-list.mjs +36 -0
- package/dist/components/lists/data-list.mjs.map +1 -0
- package/dist/components/lists/data-stack.d.mts +49 -0
- package/dist/components/lists/data-stack.d.mts.map +1 -0
- package/dist/components/lists/data-stack.mjs +57 -0
- package/dist/components/lists/data-stack.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-header.client.mjs +92 -0
- package/dist/components/navigation/admin-sidebar-header.client.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +82 -0
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts.map +1 -0
- package/dist/components/navigation/admin-sidebar-paths.client.mjs +142 -0
- package/dist/components/navigation/admin-sidebar-paths.client.mjs.map +1 -0
- package/dist/components/navigation/admin-sidebar-skeleton.mjs +31 -0
- package/dist/components/navigation/admin-sidebar-skeleton.mjs.map +1 -0
- package/dist/components/server.d.mts +3 -0
- package/dist/components/server.mjs +4 -0
- package/dist/components/ui/accordion.d.mts +25 -0
- package/dist/components/ui/accordion.d.mts.map +1 -0
- package/dist/components/ui/accordion.mjs +47 -0
- package/dist/components/ui/accordion.mjs.map +1 -0
- package/dist/components/ui/alert-dialog.d.mts +43 -0
- package/dist/components/ui/alert-dialog.d.mts.map +1 -0
- package/dist/components/ui/alert-dialog.mjs +85 -0
- package/dist/components/ui/alert-dialog.mjs.map +1 -0
- package/dist/components/ui/alert.d.mts +25 -0
- package/dist/components/ui/alert.d.mts.map +1 -0
- package/dist/components/ui/alert.mjs +39 -0
- package/dist/components/ui/alert.mjs.map +1 -0
- package/dist/components/ui/aspect-ratio.d.mts +8 -0
- package/dist/components/ui/aspect-ratio.d.mts.map +1 -0
- package/dist/components/ui/aspect-ratio.mjs +16 -0
- package/dist/components/ui/aspect-ratio.mjs.map +1 -0
- package/dist/components/ui/avatar.client.d.mts +20 -0
- package/dist/components/ui/avatar.client.d.mts.map +1 -0
- package/dist/components/ui/avatar.client.mjs +33 -0
- package/dist/components/ui/avatar.client.mjs.map +1 -0
- package/dist/components/ui/badge.d.mts +20 -0
- package/dist/components/ui/badge.d.mts.map +1 -0
- package/dist/components/ui/badge.mjs +27 -0
- package/dist/components/ui/badge.mjs.map +1 -0
- package/dist/components/ui/breadcrumb.d.mts +36 -0
- package/dist/components/ui/breadcrumb.d.mts.map +1 -0
- package/dist/components/ui/breadcrumb.mjs +72 -0
- package/dist/components/ui/breadcrumb.mjs.map +1 -0
- package/dist/components/ui/button.d.mts +22 -0
- package/dist/components/ui/button.d.mts.map +1 -0
- package/dist/components/ui/button.mjs +44 -0
- package/dist/components/ui/button.mjs.map +1 -0
- package/dist/components/ui/calendar.d.mts +14 -0
- package/dist/components/ui/calendar.d.mts.map +1 -0
- package/dist/components/ui/calendar.mjs +56 -0
- package/dist/components/ui/calendar.mjs.map +1 -0
- package/dist/components/ui/card.d.mts +31 -0
- package/dist/components/ui/card.d.mts.map +1 -0
- package/dist/components/ui/card.mjs +51 -0
- package/dist/components/ui/card.mjs.map +1 -0
- package/dist/components/ui/carousel.d.mts +48 -0
- package/dist/components/ui/carousel.d.mts.map +1 -0
- package/dist/components/ui/carousel.mjs +136 -0
- package/dist/components/ui/carousel.mjs.map +1 -0
- package/dist/components/ui/chart.client.d.mts +72 -0
- package/dist/components/ui/chart.client.d.mts.map +1 -0
- package/dist/components/ui/chart.client.mjs +143 -0
- package/dist/components/ui/chart.client.mjs.map +1 -0
- package/dist/components/ui/checkbox.d.mts +12 -0
- package/dist/components/ui/checkbox.d.mts.map +1 -0
- package/dist/components/ui/checkbox.mjs +25 -0
- package/dist/components/ui/checkbox.mjs.map +1 -0
- package/dist/components/ui/collapsible.client.d.mts +16 -0
- package/dist/components/ui/collapsible.client.d.mts.map +1 -0
- package/dist/components/ui/collapsible.client.mjs +28 -0
- package/dist/components/ui/collapsible.client.mjs.map +1 -0
- package/dist/components/ui/color-picker.client.d.mts +16 -0
- package/dist/components/ui/color-picker.client.d.mts.map +1 -0
- package/dist/components/ui/color-picker.client.mjs +38 -0
- package/dist/components/ui/color-picker.client.mjs.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.d.mts +47 -0
- package/dist/components/ui/combobox-dropdown.client.d.mts.map +1 -0
- package/dist/components/ui/combobox-dropdown.client.mjs +94 -0
- package/dist/components/ui/combobox-dropdown.client.mjs.map +1 -0
- package/dist/components/ui/combobox.client.d.mts +31 -0
- package/dist/components/ui/combobox.client.d.mts.map +1 -0
- package/dist/components/ui/combobox.client.mjs +67 -0
- package/dist/components/ui/combobox.client.mjs.map +1 -0
- package/dist/components/ui/command.d.mts +49 -0
- package/dist/components/ui/command.d.mts.map +1 -0
- package/dist/components/ui/command.mjs +89 -0
- package/dist/components/ui/command.mjs.map +1 -0
- package/dist/components/ui/context-menu.d.mts +77 -0
- package/dist/components/ui/context-menu.d.mts.map +1 -0
- package/dist/components/ui/context-menu.mjs +126 -0
- package/dist/components/ui/context-menu.mjs.map +1 -0
- package/dist/components/ui/date-picker.client.d.mts +21 -0
- package/dist/components/ui/date-picker.client.d.mts.map +1 -0
- package/dist/components/ui/date-picker.client.mjs +44 -0
- package/dist/components/ui/date-picker.client.mjs.map +1 -0
- package/dist/components/ui/dialog.client.d.mts +45 -0
- package/dist/components/ui/dialog.client.d.mts.map +1 -0
- package/dist/components/ui/dialog.client.mjs +89 -0
- package/dist/components/ui/dialog.client.mjs.map +1 -0
- package/dist/components/ui/drawer.client.d.mts +45 -0
- package/dist/components/ui/drawer.client.d.mts.map +1 -0
- package/dist/components/ui/drawer.client.mjs +82 -0
- package/dist/components/ui/drawer.client.mjs.map +1 -0
- package/dist/components/ui/dropdown-menu.d.mts +78 -0
- package/dist/components/ui/dropdown-menu.d.mts.map +1 -0
- package/dist/components/ui/dropdown-menu.mjs +127 -0
- package/dist/components/ui/dropdown-menu.mjs.map +1 -0
- package/dist/components/ui/form.client.d.mts +49 -0
- package/dist/components/ui/form.client.d.mts.map +1 -0
- package/dist/components/ui/form.client.mjs +93 -0
- package/dist/components/ui/form.client.mjs.map +1 -0
- package/dist/components/ui/hover-card.client.d.mts +20 -0
- package/dist/components/ui/hover-card.client.d.mts.map +1 -0
- package/dist/components/ui/hover-card.client.mjs +33 -0
- package/dist/components/ui/hover-card.client.mjs.map +1 -0
- package/dist/components/ui/input-recipient.d.mts +25 -0
- package/dist/components/ui/input-recipient.d.mts.map +1 -0
- package/dist/components/ui/input-recipient.mjs +219 -0
- package/dist/components/ui/input-recipient.mjs.map +1 -0
- package/dist/components/ui/input.d.mts +12 -0
- package/dist/components/ui/input.d.mts.map +1 -0
- package/dist/components/ui/input.mjs +17 -0
- package/dist/components/ui/input.mjs.map +1 -0
- package/dist/components/ui/label.d.mts +12 -0
- package/dist/components/ui/label.d.mts.map +1 -0
- package/dist/components/ui/label.mjs +19 -0
- package/dist/components/ui/label.mjs.map +1 -0
- package/dist/components/ui/navigation-menu.d.mts +47 -0
- package/dist/components/ui/navigation-menu.d.mts.map +1 -0
- package/dist/components/ui/navigation-menu.mjs +85 -0
- package/dist/components/ui/navigation-menu.mjs.map +1 -0
- package/dist/components/ui/pagination.d.mts +40 -0
- package/dist/components/ui/pagination.d.mts.map +1 -0
- package/dist/components/ui/pagination.mjs +81 -0
- package/dist/components/ui/pagination.mjs.map +1 -0
- package/dist/components/ui/popover.d.mts +23 -0
- package/dist/components/ui/popover.d.mts.map +1 -0
- package/dist/components/ui/popover.mjs +39 -0
- package/dist/components/ui/popover.mjs.map +1 -0
- package/dist/components/ui/progress.client.d.mts +13 -0
- package/dist/components/ui/progress.client.d.mts.map +1 -0
- package/dist/components/ui/progress.client.mjs +24 -0
- package/dist/components/ui/progress.client.mjs.map +1 -0
- package/dist/components/ui/radio-group.d.mts +16 -0
- package/dist/components/ui/radio-group.d.mts.map +1 -0
- package/dist/components/ui/radio-group.mjs +32 -0
- package/dist/components/ui/radio-group.mjs.map +1 -0
- package/dist/components/ui/resizable.client.d.mts +22 -0
- package/dist/components/ui/resizable.client.d.mts.map +1 -0
- package/dist/components/ui/resizable.client.mjs +37 -0
- package/dist/components/ui/resizable.client.mjs.map +1 -0
- package/dist/components/ui/scroll-area.d.mts +18 -0
- package/dist/components/ui/scroll-area.d.mts.map +1 -0
- package/dist/components/ui/scroll-area.mjs +40 -0
- package/dist/components/ui/scroll-area.mjs.map +1 -0
- package/dist/components/ui/select.client.d.mts +49 -0
- package/dist/components/ui/select.client.d.mts.map +1 -0
- package/dist/components/ui/select.client.mjs +99 -0
- package/dist/components/ui/select.client.mjs.map +1 -0
- package/dist/components/ui/separator.d.mts +14 -0
- package/dist/components/ui/separator.d.mts.map +1 -0
- package/dist/components/ui/separator.mjs +21 -0
- package/dist/components/ui/separator.mjs.map +1 -0
- package/dist/components/ui/sheet.client.d.mts +41 -0
- package/dist/components/ui/sheet.client.d.mts.map +1 -0
- package/dist/components/ui/sheet.client.mjs +84 -0
- package/dist/components/ui/sheet.client.mjs.map +1 -0
- package/dist/components/ui/sidebar.client.d.mts +168 -0
- package/dist/components/ui/sidebar.client.d.mts.map +1 -0
- package/dist/components/ui/sidebar.client.mjs +374 -0
- package/dist/components/ui/sidebar.client.mjs.map +1 -0
- package/dist/components/ui/skeleton.d.mts +10 -0
- package/dist/components/ui/skeleton.d.mts.map +1 -0
- package/dist/components/ui/skeleton.mjs +15 -0
- package/dist/components/ui/skeleton.mjs.map +1 -0
- package/dist/components/ui/slider.d.mts +16 -0
- package/dist/components/ui/slider.d.mts.map +1 -0
- package/dist/components/ui/slider.mjs +40 -0
- package/dist/components/ui/slider.mjs.map +1 -0
- package/dist/components/ui/sonner.client.d.mts +10 -0
- package/dist/components/ui/sonner.client.d.mts.map +1 -0
- package/dist/components/ui/sonner.client.mjs +25 -0
- package/dist/components/ui/sonner.client.mjs.map +1 -0
- package/dist/components/ui/spinner.mjs +63 -0
- package/dist/components/ui/spinner.mjs.map +1 -0
- package/dist/components/ui/switch.d.mts +12 -0
- package/dist/components/ui/switch.d.mts.map +1 -0
- package/dist/components/ui/switch.mjs +23 -0
- package/dist/components/ui/switch.mjs.map +1 -0
- package/dist/components/ui/tabs.d.mts +24 -0
- package/dist/components/ui/tabs.d.mts.map +1 -0
- package/dist/components/ui/tabs.mjs +40 -0
- package/dist/components/ui/tabs.mjs.map +1 -0
- package/dist/components/ui/textarea.d.mts +11 -0
- package/dist/components/ui/textarea.d.mts.map +1 -0
- package/dist/components/ui/textarea.mjs +16 -0
- package/dist/components/ui/textarea.mjs.map +1 -0
- package/dist/components/ui/time-input.client.d.mts +16 -0
- package/dist/components/ui/time-input.client.d.mts.map +1 -0
- package/dist/components/ui/time-input.client.mjs +53 -0
- package/dist/components/ui/time-input.client.mjs.map +1 -0
- package/dist/components/ui/time-picker-input.client.d.mts +15 -0
- package/dist/components/ui/time-picker-input.client.d.mts.map +1 -0
- package/dist/components/ui/time-picker-input.client.mjs +64 -0
- package/dist/components/ui/time-picker-input.client.mjs.map +1 -0
- package/dist/components/ui/toggle-group.client.d.mts +24 -0
- package/dist/components/ui/toggle-group.client.d.mts.map +1 -0
- package/dist/components/ui/toggle-group.client.mjs +47 -0
- package/dist/components/ui/toggle-group.client.mjs.map +1 -0
- package/dist/components/ui/toggle.d.mts +20 -0
- package/dist/components/ui/toggle.d.mts.map +1 -0
- package/dist/components/ui/toggle.mjs +41 -0
- package/dist/components/ui/toggle.mjs.map +1 -0
- package/dist/components/ui/tooltip.client.d.mts +24 -0
- package/dist/components/ui/tooltip.client.d.mts.map +1 -0
- package/dist/components/ui/tooltip.client.mjs +40 -0
- package/dist/components/ui/tooltip.client.mjs.map +1 -0
- package/dist/components.d.mts +41 -0
- package/dist/components.mjs +41 -0
- package/dist/config/server.d.mts +4 -0
- package/dist/config/server.mjs +5 -0
- package/dist/config.d.mts +7 -0
- package/dist/config.mjs +6 -0
- package/dist/data-tables/client.d.mts +21 -0
- package/dist/data-tables/client.mjs +22 -0
- package/dist/data-tables/server.d.mts +7 -0
- package/dist/data-tables/server.mjs +8 -0
- package/dist/data-tables.d.mts +13 -0
- package/dist/data-tables.mjs +13 -0
- package/dist/inline-edit/client.d.mts +14 -0
- package/dist/inline-edit/client.mjs +15 -0
- package/dist/inline-edit.d.mts +2 -0
- package/dist/inline-edit.mjs +3 -0
- package/dist/lib/client.d.mts +4 -0
- package/dist/lib/client.mjs +5 -0
- package/dist/lib/config/constants.d.mts +5 -0
- package/dist/lib/config/constants.d.mts.map +1 -0
- package/dist/lib/config/constants.mjs +6 -0
- package/dist/lib/config/constants.mjs.map +1 -0
- package/dist/lib/hooks/use-action.d.mts +18 -0
- package/dist/lib/hooks/use-action.d.mts.map +1 -0
- package/dist/lib/hooks/use-action.mjs +42 -0
- package/dist/lib/hooks/use-action.mjs.map +1 -0
- package/dist/lib/hooks/use-indicator.d.mts +32 -0
- package/dist/lib/hooks/use-indicator.d.mts.map +1 -0
- package/dist/lib/hooks/use-indicator.mjs +50 -0
- package/dist/lib/hooks/use-indicator.mjs.map +1 -0
- package/dist/lib/hooks/use-mobile.client.d.mts +7 -0
- package/dist/lib/hooks/use-mobile.client.d.mts.map +1 -0
- package/dist/lib/hooks/use-mobile.client.mjs +22 -0
- package/dist/lib/hooks/use-mobile.client.mjs.map +1 -0
- package/dist/lib/types/config.d.mts +12 -0
- package/dist/lib/types/config.d.mts.map +1 -0
- package/dist/lib/utils/array-move.d.mts +11 -0
- package/dist/lib/utils/array-move.d.mts.map +1 -0
- package/dist/lib/utils/array-move.mjs +13 -0
- package/dist/lib/utils/array-move.mjs.map +1 -0
- package/dist/lib/utils/cn.d.mts +7 -0
- package/dist/lib/utils/cn.d.mts.map +1 -0
- package/dist/lib/utils/cn.mjs +11 -0
- package/dist/lib/utils/cn.mjs.map +1 -0
- package/dist/lib/utils/fonts.d.mts +8 -0
- package/dist/lib/utils/fonts.d.mts.map +1 -0
- package/dist/lib/utils/fonts.mjs +12 -0
- package/dist/lib/utils/fonts.mjs.map +1 -0
- package/dist/lib/utils/format.d.mts +52 -0
- package/dist/lib/utils/format.d.mts.map +1 -0
- package/dist/lib/utils/format.mjs +114 -0
- package/dist/lib/utils/format.mjs.map +1 -0
- package/dist/lib/utils/manifest.d.mts +8 -0
- package/dist/lib/utils/manifest.d.mts.map +1 -0
- package/dist/lib/utils/manifest.mjs +36 -0
- package/dist/lib/utils/manifest.mjs.map +1 -0
- package/dist/lib/utils/time-picker.d.mts +6 -0
- package/dist/lib/utils/time-picker.d.mts.map +1 -0
- package/dist/lib/utils/time-picker.mjs +104 -0
- package/dist/lib/utils/time-picker.mjs.map +1 -0
- package/dist/lib/utils/url.d.mts +10 -0
- package/dist/lib/utils/url.d.mts.map +1 -0
- package/dist/lib/utils/url.mjs +15 -0
- package/dist/lib/utils/url.mjs.map +1 -0
- package/dist/lib/utils/user-agent.mjs +60 -0
- package/dist/lib/utils/user-agent.mjs.map +1 -0
- package/dist/lib.d.mts +9 -0
- package/dist/lib.mjs +9 -0
- package/dist/modules/auth/components/allowed.client.d.mts +21 -0
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -0
- package/dist/modules/auth/components/allowed.client.mjs +15 -0
- package/dist/modules/auth/components/allowed.client.mjs.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.d.mts +10 -0
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -0
- package/dist/modules/auth/components/auth-layout.server.mjs +37 -0
- package/dist/modules/auth/components/auth-layout.server.mjs.map +1 -0
- package/dist/modules/auth/components/auth-loading.d.mts +7 -0
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -0
- package/dist/modules/auth/components/auth-loading.mjs +18 -0
- package/dist/modules/auth/components/auth-loading.mjs.map +1 -0
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +7 -0
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/create-first-user-page.client.mjs +152 -0
- package/dist/modules/auth/components/create-first-user-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.d.mts +7 -0
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/forget-password-page.client.mjs +72 -0
- package/dist/modules/auth/components/forget-password-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/guard-first-user.server.d.mts +18 -0
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -0
- package/dist/modules/auth/components/guard-first-user.server.mjs +16 -0
- package/dist/modules/auth/components/guard-first-user.server.mjs.map +1 -0
- package/dist/modules/auth/components/guard.server.d.mts +14 -0
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -0
- package/dist/modules/auth/components/guard.server.mjs +20 -0
- package/dist/modules/auth/components/guard.server.mjs.map +1 -0
- package/dist/modules/auth/components/login-page.client.d.mts +12 -0
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/login-page.client.mjs +155 -0
- package/dist/modules/auth/components/login-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.d.mts +12 -0
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -0
- package/dist/modules/auth/components/reset-password-page.client.mjs +121 -0
- package/dist/modules/auth/components/reset-password-page.client.mjs.map +1 -0
- package/dist/modules/auth/components/update-password-command.d.mts +23 -0
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -0
- package/dist/modules/auth/components/update-password-command.mjs +49 -0
- package/dist/modules/auth/components/update-password-command.mjs.map +1 -0
- package/dist/modules/auth/db/schema.d.mts +967 -0
- package/dist/modules/auth/db/schema.d.mts.map +1 -0
- package/dist/modules/auth/db/schema.mjs +110 -0
- package/dist/modules/auth/db/schema.mjs.map +1 -0
- package/dist/modules/auth/handler/client.client.d.mts +1406 -0
- package/dist/modules/auth/handler/client.client.d.mts.map +1 -0
- package/dist/modules/auth/handler/client.client.mjs +17 -0
- package/dist/modules/auth/handler/client.client.mjs.map +1 -0
- package/dist/modules/auth/handler/init.d.mts +1853 -0
- package/dist/modules/auth/handler/init.d.mts.map +1 -0
- package/dist/modules/auth/handler/init.mjs +74 -0
- package/dist/modules/auth/handler/init.mjs.map +1 -0
- package/dist/modules/auth/handler/proxy.server.d.mts +13 -0
- package/dist/modules/auth/handler/proxy.server.d.mts.map +1 -0
- package/dist/modules/auth/handler/proxy.server.mjs +22 -0
- package/dist/modules/auth/handler/proxy.server.mjs.map +1 -0
- package/dist/modules/auth/handler/route.server.d.mts +18 -0
- package/dist/modules/auth/handler/route.server.d.mts.map +1 -0
- package/dist/modules/auth/handler/route.server.mjs +29 -0
- package/dist/modules/auth/handler/route.server.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-permission.d.mts +26 -0
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-permission.mjs +52 -0
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -0
- package/dist/modules/auth/hooks/use-session.d.mts +34 -0
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -0
- package/dist/modules/auth/hooks/use-session.mjs +20 -0
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -0
- package/dist/modules/auth/lib/helpers.server.d.mts +85 -0
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -0
- package/dist/modules/auth/lib/helpers.server.mjs +42 -0
- package/dist/modules/auth/lib/helpers.server.mjs.map +1 -0
- package/dist/modules/auth/lib/permissions.d.mts +18 -0
- package/dist/modules/auth/lib/permissions.d.mts.map +1 -0
- package/dist/modules/auth/lib/permissions.mjs +15 -0
- package/dist/modules/auth/lib/permissions.mjs.map +1 -0
- package/dist/modules/auth/lib/utils.mjs +21 -0
- package/dist/modules/auth/lib/utils.mjs.map +1 -0
- package/dist/modules/auth/lib/validators.d.mts +64 -0
- package/dist/modules/auth/lib/validators.d.mts.map +1 -0
- package/dist/modules/auth/lib/validators.mjs +56 -0
- package/dist/modules/auth/lib/validators.mjs.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +93 -0
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/alert-dialog-command.client.mjs +159 -0
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/click-command.client.d.mts +27 -0
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/click-command.client.mjs +65 -0
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.d.mts +34 -0
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -0
- package/dist/modules/commands/components/command-trigger.client.mjs +50 -0
- package/dist/modules/commands/components/command-trigger.client.mjs.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.d.mts +68 -0
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/dialog-command.client.mjs +130 -0
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.d.mts +60 -0
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/dropdown-command.client.mjs +132 -0
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/empty-command.client.d.mts +19 -0
- package/dist/modules/commands/components/empty-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/empty-command.client.mjs +56 -0
- package/dist/modules/commands/components/empty-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +100 -0
- package/dist/modules/commands/components/form-dialog-command.client.d.mts.map +1 -0
- package/dist/modules/commands/components/form-dialog-command.client.mjs +186 -0
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -0
- package/dist/modules/commands/components/render-command.mjs +16 -0
- package/dist/modules/commands/components/render-command.mjs.map +1 -0
- package/dist/modules/commands/hooks/context.client.mjs +32 -0
- package/dist/modules/commands/hooks/context.client.mjs.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.mts +22 -0
- package/dist/modules/commands/hooks/use-command-action.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-action.client.mjs +74 -0
- package/dist/modules/commands/hooks/use-command-action.client.mjs.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts +17 -0
- package/dist/modules/commands/hooks/use-command-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-menu.client.mjs +89 -0
- package/dist/modules/commands/hooks/use-command-menu.client.mjs.map +1 -0
- package/dist/modules/commands/lib/definitions.d.mts +54 -0
- package/dist/modules/commands/lib/definitions.d.mts.map +1 -0
- package/dist/modules/commands/lib/factory.d.mts +25 -0
- package/dist/modules/commands/lib/factory.d.mts.map +1 -0
- package/dist/modules/commands/lib/factory.mjs +8 -0
- package/dist/modules/commands/lib/factory.mjs.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts +27 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.mjs +60 -0
- package/dist/modules/commands/menus/context-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/data-table-menu.client.mjs +46 -0
- package/dist/modules/commands/menus/data-table-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +19 -0
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/dropdown-menu.client.mjs +63 -0
- package/dist/modules/commands/menus/dropdown-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.d.mts +20 -0
- package/dist/modules/commands/menus/inline-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/inline-menu.client.mjs +47 -0
- package/dist/modules/commands/menus/inline-menu.client.mjs.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +10 -0
- package/dist/modules/commands/menus/responsive-menu.client.d.mts.map +1 -0
- package/dist/modules/commands/menus/responsive-menu.client.mjs +23 -0
- package/dist/modules/commands/menus/responsive-menu.client.mjs.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.d.mts +33 -0
- package/dist/modules/commands/utils/archive-command.client.d.mts.map +1 -0
- package/dist/modules/commands/utils/archive-command.client.mjs +38 -0
- package/dist/modules/commands/utils/archive-command.client.mjs.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.d.mts +23 -0
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -0
- package/dist/modules/commands/utils/delete-command.client.mjs +27 -0
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -0
- package/dist/modules/config/db/helpers.d.mts +16 -0
- package/dist/modules/config/db/helpers.d.mts.map +1 -0
- package/dist/modules/config/db/helpers.mjs +17 -0
- package/dist/modules/config/db/helpers.mjs.map +1 -0
- package/dist/modules/config/db/init.d.mts +23 -0
- package/dist/modules/config/db/init.d.mts.map +1 -0
- package/dist/modules/config/db/init.mjs +16 -0
- package/dist/modules/config/db/init.mjs.map +1 -0
- package/dist/modules/config/db/types.d.mts +5 -0
- package/dist/modules/config/db/types.d.mts.map +1 -0
- package/dist/modules/config/lib/config.d.mts +17 -0
- package/dist/modules/config/lib/config.d.mts.map +1 -0
- package/dist/modules/config/lib/config.mjs +9 -0
- package/dist/modules/config/lib/config.mjs.map +1 -0
- package/dist/modules/config/lib/context.d.mts +19 -0
- package/dist/modules/config/lib/context.d.mts.map +1 -0
- package/dist/modules/config/lib/context.mjs +8 -0
- package/dist/modules/config/lib/context.mjs.map +1 -0
- package/dist/modules/config/paths/helpers.d.mts +11 -0
- package/dist/modules/config/paths/helpers.d.mts.map +1 -0
- package/dist/modules/config/paths/helpers.mjs +9 -0
- package/dist/modules/config/paths/helpers.mjs.map +1 -0
- package/dist/modules/config/paths/types.d.mts +33 -0
- package/dist/modules/config/paths/types.d.mts.map +1 -0
- package/dist/modules/config/providers/blob.d.mts +10 -0
- package/dist/modules/config/providers/blob.d.mts.map +1 -0
- package/dist/modules/config/providers/blob.mjs +11 -0
- package/dist/modules/config/providers/blob.mjs.map +1 -0
- package/dist/modules/config/providers/email.d.mts +12 -0
- package/dist/modules/config/providers/email.d.mts.map +1 -0
- package/dist/modules/config/providers/email.mjs +11 -0
- package/dist/modules/config/providers/email.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.d.mts +27 -0
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/common.client.mjs +36 -0
- package/dist/modules/data-tables/components/cell/common.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.d.mts +11 -0
- package/dist/modules/data-tables/components/cell/index.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/index.client.mjs +25 -0
- package/dist/modules/data-tables/components/cell/index.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.d.mts +11 -0
- package/dist/modules/data-tables/components/cell/select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/cell/select.client.mjs +37 -0
- package/dist/modules/data-tables/components/cell/select.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/column-header.d.mts +16 -0
- package/dist/modules/data-tables/components/column-header.d.mts.map +1 -0
- package/dist/modules/data-tables/components/column-header.mjs +47 -0
- package/dist/modules/data-tables/components/column-header.mjs.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +28 -0
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +97 -0
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +23 -0
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/filters/slider.client.mjs +129 -0
- package/dist/modules/data-tables/components/filters/slider.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/footer.mjs +29 -0
- package/dist/modules/data-tables/components/footer.mjs.map +1 -0
- package/dist/modules/data-tables/components/header.d.mts +41 -0
- package/dist/modules/data-tables/components/header.d.mts.map +1 -0
- package/dist/modules/data-tables/components/header.mjs +44 -0
- package/dist/modules/data-tables/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/components/layout.d.mts +12 -0
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -0
- package/dist/modules/data-tables/components/layout.mjs +15 -0
- package/dist/modules/data-tables/components/layout.mjs.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.d.mts +7 -0
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/components/search-input.client.mjs +20 -0
- package/dist/modules/data-tables/components/search-input.client.mjs.map +1 -0
- package/dist/modules/data-tables/components/skeleton.d.mts +7 -0
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -0
- package/dist/modules/data-tables/components/skeleton.mjs +22 -0
- package/dist/modules/data-tables/components/skeleton.mjs.map +1 -0
- package/dist/modules/data-tables/components/table.d.mts +34 -0
- package/dist/modules/data-tables/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/components/table.mjs +57 -0
- package/dist/modules/data-tables/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/components/toolbar.d.mts +23 -0
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -0
- package/dist/modules/data-tables/components/toolbar.mjs +22 -0
- package/dist/modules/data-tables/components/toolbar.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +56 -0
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -0
- package/dist/modules/data-tables/hooks/use-context.client.mjs +35 -0
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-search.client.mjs +40 -0
- package/dist/modules/data-tables/hooks/use-search.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-selection.client.mjs +39 -0
- package/dist/modules/data-tables/hooks/use-selection.client.mjs.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.mts +12 -0
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -0
- package/dist/modules/data-tables/hooks/use-table.client.mjs +55 -0
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.mts +19 -0
- package/dist/modules/data-tables/lib/converters/cursor.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/cursor.mjs +16 -0
- package/dist/modules/data-tables/lib/converters/cursor.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.d.mts +52 -0
- package/dist/modules/data-tables/lib/converters/dto.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/dto.mjs +25 -0
- package/dist/modules/data-tables/lib/converters/dto.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.d.mts +10 -0
- package/dist/modules/data-tables/lib/converters/filter.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/filter.mjs +14 -0
- package/dist/modules/data-tables/lib/converters/filter.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.d.mts +17 -0
- package/dist/modules/data-tables/lib/converters/search.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/search.mjs +16 -0
- package/dist/modules/data-tables/lib/converters/search.mjs.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +15 -0
- package/dist/modules/data-tables/lib/converters/sorting.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/converters/sorting.mjs +20 -0
- package/dist/modules/data-tables/lib/converters/sorting.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.d.mts +11 -0
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/config.mjs +6 -0
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +32 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs +29 -0
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +24 -0
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +49 -0
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/helpers/create-column.mjs +11 -0
- package/dist/modules/data-tables/lib/helpers/create-column.mjs.map +1 -0
- package/dist/modules/data-tables/lib/search-params.d.mts +22 -0
- package/dist/modules/data-tables/lib/search-params.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/search-params.mjs +17 -0
- package/dist/modules/data-tables/lib/search-params.mjs.map +1 -0
- package/dist/modules/data-tables/lib/types.d.mts +57 -0
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/validators.d.mts +21 -0
- package/dist/modules/data-tables/lib/validators.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/validators.mjs +17 -0
- package/dist/modules/data-tables/lib/validators.mjs.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.d.mts +31 -0
- package/dist/modules/data-tables/server/get-data.server.d.mts.map +1 -0
- package/dist/modules/data-tables/server/get-data.server.mjs +48 -0
- package/dist/modules/data-tables/server/get-data.server.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs +38 -0
- package/dist/modules/data-tables/strategies/helpers/sorting.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/components.mjs +51 -0
- package/dist/modules/data-tables/strategies/infinite/components.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts +21 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.d.mts.map +1 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs +48 -0
- package/dist/modules/data-tables/strategies/infinite/strategy.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/components.mjs +132 -0
- package/dist/modules/data-tables/strategies/pagination/components.mjs.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts +13 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.d.mts.map +1 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs +46 -0
- package/dist/modules/data-tables/strategies/pagination/strategy.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/body.mjs +33 -0
- package/dist/modules/data-tables/tables/data-table/components/body.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/header.mjs +13 -0
- package/dist/modules/data-tables/tables/data-table/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/row.mjs +25 -0
- package/dist/modules/data-tables/tables/data-table/components/row.mjs.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +11 -0
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/data-table/components/table.mjs +37 -0
- package/dist/modules/data-tables/tables/data-table/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs +70 -0
- package/dist/modules/data-tables/tables/inline-table/components/body.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +25 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs +11 -0
- package/dist/modules/data-tables/tables/inline-table/components/header.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs +52 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +27 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs +29 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +39 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs +71 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +12 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +33 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs +52 -0
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs +41 -0
- package/dist/modules/data-tables/tables/inline-table/components/row.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +16 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs +46 -0
- package/dist/modules/data-tables/tables/inline-table/components/table.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +47 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs +58 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs +27 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.mjs.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts +17 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.mts.map +1 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs +53 -0
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +20 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +28 -0
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts +15 -0
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs +27 -0
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.d.mts +14 -0
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-input.client.mjs +78 -0
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +16 -0
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/date-picker.client.mjs +50 -0
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +18 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.mjs +35 -0
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +24 -0
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +30 -0
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +17 -0
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +46 -0
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/input.client.d.mts +33 -0
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/input.client.mjs +49 -0
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.d.mts +15 -0
- package/dist/modules/inline-edit/components/richtext.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/richtext.client.mjs +31 -0
- package/dist/modules/inline-edit/components/richtext.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/select.client.d.mts +27 -0
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/select.client.mjs +43 -0
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts +14 -0
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/switch.client.mjs +26 -0
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts +16 -0
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/toggle.client.mjs +33 -0
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.d.mts +28 -0
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/hooks/context.client.mjs +28 -0
- package/dist/modules/inline-edit/hooks/context.client.mjs.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +16 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs +56 -0
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -0
- package/dist/modules/inline-edit/lib/validators.d.mts +58 -0
- package/dist/modules/inline-edit/lib/validators.d.mts.map +1 -0
- package/dist/modules/inline-edit/lib/validators.mjs +35 -0
- package/dist/modules/inline-edit/lib/validators.mjs.map +1 -0
- package/dist/modules/inline-edit/lib/variants.d.mts +11 -0
- package/dist/modules/inline-edit/lib/variants.d.mts.map +1 -0
- package/dist/modules/inline-edit/lib/variants.mjs +14 -0
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -0
- package/dist/modules/router/handler/caller.client.d.mts +12 -0
- package/dist/modules/router/handler/caller.client.d.mts.map +1 -0
- package/dist/modules/router/handler/caller.client.mjs +24 -0
- package/dist/modules/router/handler/caller.client.mjs.map +1 -0
- package/dist/modules/router/handler/caller.server.d.mts +7 -0
- package/dist/modules/router/handler/caller.server.d.mts.map +1 -0
- package/dist/modules/router/handler/caller.server.mjs +8 -0
- package/dist/modules/router/handler/caller.server.mjs.map +1 -0
- package/dist/modules/router/handler/context.server.d.mts +61 -0
- package/dist/modules/router/handler/context.server.d.mts.map +1 -0
- package/dist/modules/router/handler/context.server.mjs +21 -0
- package/dist/modules/router/handler/context.server.mjs.map +1 -0
- package/dist/modules/router/handler/init.server.d.mts +91 -0
- package/dist/modules/router/handler/init.server.d.mts.map +1 -0
- package/dist/modules/router/handler/init.server.mjs +53 -0
- package/dist/modules/router/handler/init.server.mjs.map +1 -0
- package/dist/modules/router/handler/register.server.d.mts +9 -0
- package/dist/modules/router/handler/register.server.d.mts.map +1 -0
- package/dist/modules/router/handler/register.server.mjs +11 -0
- package/dist/modules/router/handler/register.server.mjs.map +1 -0
- package/dist/modules/router/handler/route.server.d.mts +23 -0
- package/dist/modules/router/handler/route.server.d.mts.map +1 -0
- package/dist/modules/router/handler/route.server.mjs +33 -0
- package/dist/modules/router/handler/route.server.mjs.map +1 -0
- package/dist/modules/router/lib/helpers.mjs +8 -0
- package/dist/modules/router/lib/helpers.mjs.map +1 -0
- package/dist/modules/router/lib/query-client.d.mts +11 -0
- package/dist/modules/router/lib/query-client.d.mts.map +1 -0
- package/dist/modules/router/lib/query-client.mjs +51 -0
- package/dist/modules/router/lib/query-client.mjs.map +1 -0
- package/dist/modules/router/lib/query-client.server.d.mts +18 -0
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -0
- package/dist/modules/router/lib/query-client.server.mjs +24 -0
- package/dist/modules/router/lib/query-client.server.mjs.map +1 -0
- package/dist/modules/router/lib/validators.d.mts +14 -0
- package/dist/modules/router/lib/validators.d.mts.map +1 -0
- package/dist/modules/router/lib/validators.mjs +11 -0
- package/dist/modules/router/lib/validators.mjs.map +1 -0
- package/dist/modules/uploads/components/button.client.d.mts +12 -0
- package/dist/modules/uploads/components/button.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/button.client.mjs +34 -0
- package/dist/modules/uploads/components/button.client.mjs.map +1 -0
- package/dist/modules/uploads/components/dropzone/context.d.mts +19 -0
- package/dist/modules/uploads/components/dropzone/context.d.mts.map +1 -0
- package/dist/modules/uploads/components/dropzone/context.mjs +18 -0
- package/dist/modules/uploads/components/dropzone/context.mjs.map +1 -0
- package/dist/modules/uploads/components/dropzone/index.d.mts +53 -0
- package/dist/modules/uploads/components/dropzone/index.d.mts.map +1 -0
- package/dist/modules/uploads/components/dropzone/index.mjs +111 -0
- package/dist/modules/uploads/components/dropzone/index.mjs.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.d.mts +11 -0
- package/dist/modules/uploads/components/images/grid.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/images/grid.client.mjs +119 -0
- package/dist/modules/uploads/components/images/grid.client.mjs.map +1 -0
- package/dist/modules/uploads/components/images/input.client.d.mts +16 -0
- package/dist/modules/uploads/components/images/input.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/images/input.client.mjs +28 -0
- package/dist/modules/uploads/components/images/input.client.mjs.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.mts +16 -0
- package/dist/modules/uploads/components/preview-dialog.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/preview-dialog.client.mjs +22 -0
- package/dist/modules/uploads/components/preview-dialog.client.mjs.map +1 -0
- package/dist/modules/uploads/components/zone.client.d.mts +21 -0
- package/dist/modules/uploads/components/zone.client.d.mts.map +1 -0
- package/dist/modules/uploads/components/zone.client.mjs +38 -0
- package/dist/modules/uploads/components/zone.client.mjs.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts +34 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs +101 -0
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts +39 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts.map +1 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs +20 -0
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs.map +1 -0
- package/dist/modules/uploads/lib/constants.d.mts +9 -0
- package/dist/modules/uploads/lib/constants.d.mts.map +1 -0
- package/dist/modules/uploads/lib/constants.mjs +17 -0
- package/dist/modules/uploads/lib/constants.mjs.map +1 -0
- package/dist/modules/uploads/lib/filters.d.mts +15 -0
- package/dist/modules/uploads/lib/filters.d.mts.map +1 -0
- package/dist/modules/uploads/lib/filters.mjs +15 -0
- package/dist/modules/uploads/lib/filters.mjs.map +1 -0
- package/dist/modules/uploads/lib/helpers.d.mts +36 -0
- package/dist/modules/uploads/lib/helpers.d.mts.map +1 -0
- package/dist/modules/uploads/lib/helpers.mjs +93 -0
- package/dist/modules/uploads/lib/helpers.mjs.map +1 -0
- package/dist/modules/uploads/lib/procedures.server.d.mts +13628 -0
- package/dist/modules/uploads/lib/procedures.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/procedures.server.mjs +176 -0
- package/dist/modules/uploads/lib/procedures.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.d.mts +54 -0
- package/dist/modules/uploads/lib/proxy.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/proxy.server.mjs +97 -0
- package/dist/modules/uploads/lib/proxy.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/route.server.d.mts +43 -0
- package/dist/modules/uploads/lib/route.server.d.mts.map +1 -0
- package/dist/modules/uploads/lib/route.server.mjs +70 -0
- package/dist/modules/uploads/lib/route.server.mjs.map +1 -0
- package/dist/modules/uploads/lib/schema.d.mts +850 -0
- package/dist/modules/uploads/lib/schema.d.mts.map +1 -0
- package/dist/modules/uploads/lib/schema.mjs +68 -0
- package/dist/modules/uploads/lib/schema.mjs.map +1 -0
- package/dist/modules/uploads/lib/validators.d.mts +1008 -0
- package/dist/modules/uploads/lib/validators.d.mts.map +1 -0
- package/dist/modules/uploads/lib/validators.mjs +26 -0
- package/dist/modules/uploads/lib/validators.mjs.map +1 -0
- package/dist/router/client.d.mts +2 -0
- package/dist/router/client.mjs +3 -0
- package/dist/router/server.d.mts +8 -0
- package/dist/router/server.mjs +9 -0
- package/dist/router.d.mts +2 -0
- package/dist/router.mjs +3 -0
- package/dist/uploads/client.d.mts +10 -0
- package/dist/uploads/client.mjs +11 -0
- package/dist/uploads/server.d.mts +4 -0
- package/dist/uploads/server.mjs +5 -0
- package/dist/uploads.d.mts +6 -0
- package/dist/uploads.mjs +7 -0
- package/package.json +90 -84
- package/src/components/common/icons.tsx +2 -0
- package/src/components/editor/context.client.tsx +4 -4
- package/src/components/editor/lib/helpers.ts +17 -0
- package/src/components/editor/lib/types.ts +6 -0
- package/src/components/editor/preview.client.tsx +2 -2
- package/src/components/entry.client.ts +1 -1
- package/src/components/entry.ts +2 -0
- package/src/components/header/bottom-bar.client.tsx +25 -12
- package/src/components/header/top-bar.client.tsx +1 -1
- package/src/components/layouts/admin-layout.tsx +4 -7
- package/src/components/layouts/not-found-page.tsx +9 -1
- package/src/components/layouts/not-found-section.tsx +10 -5
- package/src/components/layouts/providers.client.tsx +1 -1
- package/src/components/layouts/root-layout.server.tsx +2 -5
- package/src/components/navigation/admin-sidebar-header.client.tsx +49 -5
- package/src/components/ui/accordion.tsx +1 -1
- package/src/components/ui/date-picker.client.tsx +65 -0
- package/src/components/ui/form.client.tsx +4 -1
- package/src/components/ui/input-recipient.tsx +286 -0
- package/src/entry.ts +6 -0
- package/src/lib/utils/format.ts +20 -0
- package/src/lib/utils/manifest.ts +2 -3
- package/src/lib/utils/user-agent.ts +63 -0
- package/src/modules/auth/components/auth-loading.tsx +1 -1
- package/src/modules/auth/components/create-first-user-page.client.tsx +167 -0
- package/src/modules/auth/components/guard-first-user.server.tsx +28 -0
- package/src/modules/auth/components/guard.server.tsx +22 -0
- package/src/modules/auth/components/login-page.client.tsx +111 -40
- package/src/modules/auth/components/reset-password-page.client.tsx +47 -4
- package/src/modules/auth/components/update-password-command.tsx +19 -6
- package/src/modules/auth/db/schema.ts +68 -1
- package/src/modules/auth/entry.client.ts +1 -0
- package/src/modules/auth/entry.server.ts +15 -1
- package/src/modules/auth/handler/client.client.ts +3 -13
- package/src/modules/auth/handler/init.ts +108 -0
- package/src/modules/auth/handler/proxy.server.ts +28 -0
- package/src/modules/auth/handler/route.server.ts +4 -9
- package/src/modules/auth/hooks/use-permission.ts +3 -6
- package/src/modules/auth/lib/helpers.server.ts +6 -10
- package/src/modules/commands/components/alert-dialog-command.client.tsx +29 -80
- package/src/modules/commands/components/click-command.client.tsx +22 -11
- package/src/modules/commands/components/dropdown-command.client.tsx +38 -11
- package/src/modules/commands/components/form-dialog-command.client.tsx +45 -17
- package/src/modules/commands/hooks/use-command-action.client.tsx +28 -20
- package/src/modules/commands/lib/definitions.ts +1 -2
- package/src/modules/commands/lib/factory.ts +1 -1
- package/src/modules/commands/utils/archive-command.client.tsx +26 -17
- package/src/modules/commands/utils/delete-command.client.tsx +17 -11
- package/src/modules/commands/utils/send-mail-command.client.tsx +136 -173
- package/src/modules/config/db/helpers.ts +3 -1
- package/src/modules/config/db/init.ts +25 -0
- package/src/modules/config/entry.server.ts +5 -8
- package/src/modules/config/entry.ts +3 -3
- package/src/modules/config/lib/config.ts +15 -0
- package/src/modules/config/lib/context.ts +17 -0
- package/src/modules/config/providers/blob.ts +11 -0
- package/src/modules/config/providers/email.ts +13 -0
- package/src/modules/data-tables/hooks/use-search.client.ts +3 -2
- package/src/modules/data-tables/server/get-data.server.ts +10 -4
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +9 -2
- package/src/modules/data-tables/tables/inline-table/components/row.client.tsx +2 -1
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +6 -0
- package/src/modules/inline-edit/components/editor.client.tsx +7 -2
- package/src/modules/inline-edit/components/input-recipient.client.tsx +43 -0
- package/src/modules/inline-edit/components/input.client.tsx +26 -10
- package/src/modules/inline-edit/components/richtext.client.tsx +2 -0
- package/src/modules/inline-edit/components/select.client.tsx +8 -2
- package/src/modules/inline-edit/entry.client.ts +1 -0
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +3 -3
- package/src/modules/inline-edit/lib/variants.ts +16 -0
- package/src/modules/router/entry.client.ts +4 -0
- package/src/modules/router/entry.server.ts +14 -0
- package/src/modules/router/entry.ts +4 -0
- package/src/modules/router/handler/caller.client.tsx +32 -0
- package/src/modules/router/handler/caller.server.ts +3 -0
- package/src/modules/router/handler/context.server.ts +28 -0
- package/src/modules/router/handler/init.server.ts +77 -0
- package/src/modules/router/handler/register.server.ts +14 -0
- package/src/modules/router/handler/route.server.ts +41 -0
- package/src/modules/router/lib/query-client.server.tsx +19 -0
- package/src/modules/uploads/components/dropzone/context.tsx +23 -0
- package/src/modules/uploads/components/dropzone/index.tsx +152 -0
- package/src/modules/uploads/entry.client.ts +2 -0
- package/src/modules/uploads/entry.server.ts +2 -2
- package/src/modules/uploads/lib/filters.ts +4 -1
- package/src/modules/uploads/lib/helpers.ts +17 -0
- package/src/modules/uploads/lib/procedures.server.ts +332 -0
- package/src/modules/uploads/lib/proxy.server.ts +29 -21
- package/src/modules/uploads/lib/route.server.ts +4 -6
- package/src/modules/uploads/lib/schema.ts +2 -2
- package/src/modules/uploads/lib/validators.ts +4 -1
- package/dist/auth/client.d.ts +0 -9
- package/dist/auth/client.js +0 -10
- package/dist/auth/server.d.ts +0 -5
- package/dist/auth/server.js +0 -6
- package/dist/auth.d.ts +0 -5
- package/dist/auth.js +0 -6
- package/dist/commands/client.d.ts +0 -16
- package/dist/commands/client.js +0 -17
- package/dist/commands.d.ts +0 -3
- package/dist/commands.js +0 -3
- package/dist/components/client.d.ts +0 -36
- package/dist/components/client.js +0 -37
- package/dist/components/common/icons.d.ts +0 -60
- package/dist/components/common/icons.d.ts.map +0 -1
- package/dist/components/common/icons.js +0 -121
- package/dist/components/common/icons.js.map +0 -1
- package/dist/components/common/status.d.ts +0 -53
- package/dist/components/common/status.d.ts.map +0 -1
- package/dist/components/common/status.js +0 -56
- package/dist/components/common/status.js.map +0 -1
- package/dist/components/editor/components/block-dropdown.js +0 -83
- package/dist/components/editor/components/block-dropdown.js.map +0 -1
- package/dist/components/editor/components/content.client.d.ts +0 -7
- package/dist/components/editor/components/content.client.d.ts.map +0 -1
- package/dist/components/editor/components/content.client.js +0 -18
- package/dist/components/editor/components/content.client.js.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.d.ts +0 -7
- package/dist/components/editor/components/fixed-menu.client.d.ts.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.js +0 -134
- package/dist/components/editor/components/fixed-menu.client.js.map +0 -1
- package/dist/components/editor/context.client.d.ts +0 -32
- package/dist/components/editor/context.client.d.ts.map +0 -1
- package/dist/components/editor/context.client.js +0 -46
- package/dist/components/editor/context.client.js.map +0 -1
- package/dist/components/editor/index.client.d.ts +0 -11
- package/dist/components/editor/index.client.d.ts.map +0 -1
- package/dist/components/editor/index.client.js +0 -17
- package/dist/components/editor/index.client.js.map +0 -1
- package/dist/components/editor/preview.client.d.ts +0 -12
- package/dist/components/editor/preview.client.d.ts.map +0 -1
- package/dist/components/editor/preview.client.js +0 -20
- package/dist/components/editor/preview.client.js.map +0 -1
- package/dist/components/emails/forget-password-email.js +0 -52
- package/dist/components/emails/forget-password-email.js.map +0 -1
- package/dist/components/header/back-button.client.d.ts +0 -10
- package/dist/components/header/back-button.client.d.ts.map +0 -1
- package/dist/components/header/back-button.client.js +0 -44
- package/dist/components/header/back-button.client.js.map +0 -1
- package/dist/components/header/bottom-bar.client.d.ts +0 -29
- package/dist/components/header/bottom-bar.client.d.ts.map +0 -1
- package/dist/components/header/bottom-bar.client.js +0 -31
- package/dist/components/header/bottom-bar.client.js.map +0 -1
- package/dist/components/header/breadcrumbs.client.d.ts +0 -35
- package/dist/components/header/breadcrumbs.client.d.ts.map +0 -1
- package/dist/components/header/breadcrumbs.client.js +0 -64
- package/dist/components/header/breadcrumbs.client.js.map +0 -1
- package/dist/components/header/header.client.d.ts +0 -12
- package/dist/components/header/header.client.d.ts.map +0 -1
- package/dist/components/header/header.client.js +0 -15
- package/dist/components/header/header.client.js.map +0 -1
- package/dist/components/header/indicator.client.js +0 -26
- package/dist/components/header/indicator.client.js.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.d.ts +0 -10
- package/dist/components/header/mobile-nav-switcher.client.d.ts.map +0 -1
- package/dist/components/header/mobile-nav-switcher.client.js +0 -20
- package/dist/components/header/mobile-nav-switcher.client.js.map +0 -1
- package/dist/components/header/top-bar.client.d.ts +0 -43
- package/dist/components/header/top-bar.client.d.ts.map +0 -1
- package/dist/components/header/top-bar.client.js +0 -48
- package/dist/components/header/top-bar.client.js.map +0 -1
- package/dist/components/layouts/admin-content.client.d.ts +0 -13
- package/dist/components/layouts/admin-content.client.d.ts.map +0 -1
- package/dist/components/layouts/admin-content.client.js +0 -24
- package/dist/components/layouts/admin-content.client.js.map +0 -1
- package/dist/components/layouts/admin-layout.d.ts +0 -8
- package/dist/components/layouts/admin-layout.d.ts.map +0 -1
- package/dist/components/layouts/admin-layout.js +0 -15
- package/dist/components/layouts/admin-layout.js.map +0 -1
- package/dist/components/layouts/admin-loading.d.ts +0 -8
- package/dist/components/layouts/admin-loading.d.ts.map +0 -1
- package/dist/components/layouts/admin-loading.js +0 -14
- package/dist/components/layouts/admin-loading.js.map +0 -1
- package/dist/components/layouts/empty-page.d.ts +0 -31
- package/dist/components/layouts/empty-page.d.ts.map +0 -1
- package/dist/components/layouts/empty-page.js +0 -29
- package/dist/components/layouts/empty-page.js.map +0 -1
- package/dist/components/layouts/list-layout.d.ts +0 -12
- package/dist/components/layouts/list-layout.d.ts.map +0 -1
- package/dist/components/layouts/list-layout.js +0 -15
- package/dist/components/layouts/list-layout.js.map +0 -1
- package/dist/components/layouts/not-found-page.d.ts +0 -7
- package/dist/components/layouts/not-found-page.d.ts.map +0 -1
- package/dist/components/layouts/not-found-page.js +0 -14
- package/dist/components/layouts/not-found-page.js.map +0 -1
- package/dist/components/layouts/not-found-section.js +0 -30
- package/dist/components/layouts/not-found-section.js.map +0 -1
- package/dist/components/layouts/providers.client.d.ts +0 -10
- package/dist/components/layouts/providers.client.d.ts.map +0 -1
- package/dist/components/layouts/providers.client.js +0 -32
- package/dist/components/layouts/providers.client.js.map +0 -1
- package/dist/components/layouts/root-layout.server.d.ts +0 -38
- package/dist/components/layouts/root-layout.server.d.ts.map +0 -1
- package/dist/components/layouts/root-layout.server.js +0 -47
- package/dist/components/layouts/root-layout.server.js.map +0 -1
- package/dist/components/layouts/root-loading.d.ts +0 -7
- package/dist/components/layouts/root-loading.d.ts.map +0 -1
- package/dist/components/layouts/root-loading.js +0 -14
- package/dist/components/layouts/root-loading.js.map +0 -1
- package/dist/components/layouts/tab-layout.d.ts +0 -23
- package/dist/components/layouts/tab-layout.d.ts.map +0 -1
- package/dist/components/layouts/tab-layout.js +0 -52
- package/dist/components/layouts/tab-layout.js.map +0 -1
- package/dist/components/lists/data-list.d.ts +0 -31
- package/dist/components/lists/data-list.d.ts.map +0 -1
- package/dist/components/lists/data-list.js +0 -36
- package/dist/components/lists/data-list.js.map +0 -1
- package/dist/components/lists/data-stack.d.ts +0 -49
- package/dist/components/lists/data-stack.d.ts.map +0 -1
- package/dist/components/lists/data-stack.js +0 -57
- package/dist/components/lists/data-stack.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-header.client.js +0 -75
- package/dist/components/navigation/admin-sidebar-header.client.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts +0 -81
- package/dist/components/navigation/admin-sidebar-paths.client.d.ts.map +0 -1
- package/dist/components/navigation/admin-sidebar-paths.client.js +0 -143
- package/dist/components/navigation/admin-sidebar-paths.client.js.map +0 -1
- package/dist/components/navigation/admin-sidebar-skeleton.js +0 -31
- package/dist/components/navigation/admin-sidebar-skeleton.js.map +0 -1
- package/dist/components/server.d.ts +0 -3
- package/dist/components/server.js +0 -4
- package/dist/components/ui/accordion.d.ts +0 -25
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -49
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -43
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -86
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert.d.ts +0 -25
- package/dist/components/ui/alert.d.ts.map +0 -1
- package/dist/components/ui/alert.js +0 -39
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/aspect-ratio.d.ts +0 -8
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -17
- package/dist/components/ui/aspect-ratio.js.map +0 -1
- package/dist/components/ui/avatar.client.d.ts +0 -20
- package/dist/components/ui/avatar.client.d.ts.map +0 -1
- package/dist/components/ui/avatar.client.js +0 -34
- package/dist/components/ui/avatar.client.js.map +0 -1
- package/dist/components/ui/badge.d.ts +0 -20
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -27
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/breadcrumb.d.ts +0 -36
- package/dist/components/ui/breadcrumb.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.js +0 -72
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button.d.ts +0 -22
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -44
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.d.ts +0 -14
- package/dist/components/ui/calendar.d.ts.map +0 -1
- package/dist/components/ui/calendar.js +0 -57
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.d.ts +0 -31
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -51
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/carousel.d.ts +0 -48
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js +0 -137
- package/dist/components/ui/carousel.js.map +0 -1
- package/dist/components/ui/chart.client.d.ts +0 -72
- package/dist/components/ui/chart.client.d.ts.map +0 -1
- package/dist/components/ui/chart.client.js +0 -144
- package/dist/components/ui/chart.client.js.map +0 -1
- package/dist/components/ui/checkbox.d.ts +0 -12
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js +0 -26
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/collapsible.client.d.ts +0 -16
- package/dist/components/ui/collapsible.client.d.ts.map +0 -1
- package/dist/components/ui/collapsible.client.js +0 -29
- package/dist/components/ui/collapsible.client.js.map +0 -1
- package/dist/components/ui/color-picker.client.d.ts +0 -16
- package/dist/components/ui/color-picker.client.d.ts.map +0 -1
- package/dist/components/ui/color-picker.client.js +0 -39
- package/dist/components/ui/color-picker.client.js.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.d.ts +0 -47
- package/dist/components/ui/combobox-dropdown.client.d.ts.map +0 -1
- package/dist/components/ui/combobox-dropdown.client.js +0 -95
- package/dist/components/ui/combobox-dropdown.client.js.map +0 -1
- package/dist/components/ui/combobox.client.d.ts +0 -31
- package/dist/components/ui/combobox.client.d.ts.map +0 -1
- package/dist/components/ui/combobox.client.js +0 -68
- package/dist/components/ui/combobox.client.js.map +0 -1
- package/dist/components/ui/command.d.ts +0 -49
- package/dist/components/ui/command.d.ts.map +0 -1
- package/dist/components/ui/command.js +0 -90
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/context-menu.d.ts +0 -77
- package/dist/components/ui/context-menu.d.ts.map +0 -1
- package/dist/components/ui/context-menu.js +0 -127
- package/dist/components/ui/context-menu.js.map +0 -1
- package/dist/components/ui/dialog.client.d.ts +0 -45
- package/dist/components/ui/dialog.client.d.ts.map +0 -1
- package/dist/components/ui/dialog.client.js +0 -90
- package/dist/components/ui/dialog.client.js.map +0 -1
- package/dist/components/ui/drawer.client.d.ts +0 -45
- package/dist/components/ui/drawer.client.d.ts.map +0 -1
- package/dist/components/ui/drawer.client.js +0 -83
- package/dist/components/ui/drawer.client.js.map +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -78
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -128
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/form.client.d.ts +0 -46
- package/dist/components/ui/form.client.d.ts.map +0 -1
- package/dist/components/ui/form.client.js +0 -93
- package/dist/components/ui/form.client.js.map +0 -1
- package/dist/components/ui/hover-card.client.d.ts +0 -20
- package/dist/components/ui/hover-card.client.d.ts.map +0 -1
- package/dist/components/ui/hover-card.client.js +0 -34
- package/dist/components/ui/hover-card.client.js.map +0 -1
- package/dist/components/ui/input.d.ts +0 -12
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -17
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -20
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/navigation-menu.d.ts +0 -47
- package/dist/components/ui/navigation-menu.d.ts.map +0 -1
- package/dist/components/ui/navigation-menu.js +0 -86
- package/dist/components/ui/navigation-menu.js.map +0 -1
- package/dist/components/ui/pagination.d.ts +0 -40
- package/dist/components/ui/pagination.d.ts.map +0 -1
- package/dist/components/ui/pagination.js +0 -81
- package/dist/components/ui/pagination.js.map +0 -1
- package/dist/components/ui/popover.d.ts +0 -23
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js +0 -40
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/progress.client.d.ts +0 -13
- package/dist/components/ui/progress.client.d.ts.map +0 -1
- package/dist/components/ui/progress.client.js +0 -25
- package/dist/components/ui/progress.client.js.map +0 -1
- package/dist/components/ui/radio-group.d.ts +0 -16
- package/dist/components/ui/radio-group.d.ts.map +0 -1
- package/dist/components/ui/radio-group.js +0 -33
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/resizable.client.d.ts +0 -22
- package/dist/components/ui/resizable.client.d.ts.map +0 -1
- package/dist/components/ui/resizable.client.js +0 -38
- package/dist/components/ui/resizable.client.js.map +0 -1
- package/dist/components/ui/scroll-area.d.ts +0 -18
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -41
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.client.d.ts +0 -49
- package/dist/components/ui/select.client.d.ts.map +0 -1
- package/dist/components/ui/select.client.js +0 -100
- package/dist/components/ui/select.client.js.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -14
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -22
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.client.d.ts +0 -41
- package/dist/components/ui/sheet.client.d.ts.map +0 -1
- package/dist/components/ui/sheet.client.js +0 -84
- package/dist/components/ui/sheet.client.js.map +0 -1
- package/dist/components/ui/sidebar.client.d.ts +0 -168
- package/dist/components/ui/sidebar.client.d.ts.map +0 -1
- package/dist/components/ui/sidebar.client.js +0 -375
- package/dist/components/ui/sidebar.client.js.map +0 -1
- package/dist/components/ui/skeleton.d.ts +0 -10
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -15
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.d.ts +0 -16
- package/dist/components/ui/slider.d.ts.map +0 -1
- package/dist/components/ui/slider.js +0 -41
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/sonner.client.d.ts +0 -10
- package/dist/components/ui/sonner.client.d.ts.map +0 -1
- package/dist/components/ui/sonner.client.js +0 -26
- package/dist/components/ui/sonner.client.js.map +0 -1
- package/dist/components/ui/spinner.js +0 -63
- package/dist/components/ui/spinner.js.map +0 -1
- package/dist/components/ui/switch.d.ts +0 -12
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -24
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/tabs.d.ts +0 -24
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -41
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/textarea.d.ts +0 -11
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -16
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/time-input.client.d.ts +0 -16
- package/dist/components/ui/time-input.client.d.ts.map +0 -1
- package/dist/components/ui/time-input.client.js +0 -53
- package/dist/components/ui/time-input.client.js.map +0 -1
- package/dist/components/ui/time-picker-input.client.d.ts +0 -15
- package/dist/components/ui/time-picker-input.client.d.ts.map +0 -1
- package/dist/components/ui/time-picker-input.client.js +0 -65
- package/dist/components/ui/time-picker-input.client.js.map +0 -1
- package/dist/components/ui/toggle-group.client.d.ts +0 -24
- package/dist/components/ui/toggle-group.client.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.client.js +0 -48
- package/dist/components/ui/toggle-group.client.js.map +0 -1
- package/dist/components/ui/toggle.d.ts +0 -20
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -42
- package/dist/components/ui/toggle.js.map +0 -1
- package/dist/components/ui/tooltip.client.d.ts +0 -24
- package/dist/components/ui/tooltip.client.d.ts.map +0 -1
- package/dist/components/ui/tooltip.client.js +0 -41
- package/dist/components/ui/tooltip.client.js.map +0 -1
- package/dist/components/ui/tree.client.d.ts +0 -43
- package/dist/components/ui/tree.client.d.ts.map +0 -1
- package/dist/components/ui/tree.client.js +0 -103
- package/dist/components/ui/tree.client.js.map +0 -1
- package/dist/components.d.ts +0 -39
- package/dist/components.js +0 -40
- package/dist/config/server.d.ts +0 -7
- package/dist/config/server.js +0 -8
- package/dist/config.d.ts +0 -7
- package/dist/config.js +0 -6
- package/dist/data-tables/client.d.ts +0 -21
- package/dist/data-tables/client.js +0 -22
- package/dist/data-tables/server.d.ts +0 -7
- package/dist/data-tables/server.js +0 -8
- package/dist/data-tables.d.ts +0 -13
- package/dist/data-tables.js +0 -13
- package/dist/inline-edit/client.d.ts +0 -13
- package/dist/inline-edit/client.js +0 -14
- package/dist/inline-edit.d.ts +0 -2
- package/dist/inline-edit.js +0 -3
- package/dist/lib/client.d.ts +0 -4
- package/dist/lib/client.js +0 -5
- package/dist/lib/config/constants.d.ts +0 -5
- package/dist/lib/config/constants.d.ts.map +0 -1
- package/dist/lib/config/constants.js +0 -6
- package/dist/lib/config/constants.js.map +0 -1
- package/dist/lib/hooks/use-action.d.ts +0 -18
- package/dist/lib/hooks/use-action.d.ts.map +0 -1
- package/dist/lib/hooks/use-action.js +0 -42
- package/dist/lib/hooks/use-action.js.map +0 -1
- package/dist/lib/hooks/use-indicator.d.ts +0 -32
- package/dist/lib/hooks/use-indicator.d.ts.map +0 -1
- package/dist/lib/hooks/use-indicator.js +0 -51
- package/dist/lib/hooks/use-indicator.js.map +0 -1
- package/dist/lib/hooks/use-mobile.client.d.ts +0 -7
- package/dist/lib/hooks/use-mobile.client.d.ts.map +0 -1
- package/dist/lib/hooks/use-mobile.client.js +0 -22
- package/dist/lib/hooks/use-mobile.client.js.map +0 -1
- package/dist/lib/types/config.d.ts +0 -12
- package/dist/lib/types/config.d.ts.map +0 -1
- package/dist/lib/utils/array-move.d.ts +0 -11
- package/dist/lib/utils/array-move.d.ts.map +0 -1
- package/dist/lib/utils/array-move.js +0 -13
- package/dist/lib/utils/array-move.js.map +0 -1
- package/dist/lib/utils/cn.d.ts +0 -7
- package/dist/lib/utils/cn.d.ts.map +0 -1
- package/dist/lib/utils/cn.js +0 -11
- package/dist/lib/utils/cn.js.map +0 -1
- package/dist/lib/utils/fonts.d.ts +0 -8
- package/dist/lib/utils/fonts.d.ts.map +0 -1
- package/dist/lib/utils/fonts.js +0 -12
- package/dist/lib/utils/fonts.js.map +0 -1
- package/dist/lib/utils/format.d.ts +0 -41
- package/dist/lib/utils/format.d.ts.map +0 -1
- package/dist/lib/utils/format.js +0 -96
- package/dist/lib/utils/format.js.map +0 -1
- package/dist/lib/utils/manifest.d.ts +0 -9
- package/dist/lib/utils/manifest.d.ts.map +0 -1
- package/dist/lib/utils/manifest.js +0 -36
- package/dist/lib/utils/manifest.js.map +0 -1
- package/dist/lib/utils/time-picker.d.ts +0 -6
- package/dist/lib/utils/time-picker.d.ts.map +0 -1
- package/dist/lib/utils/time-picker.js +0 -104
- package/dist/lib/utils/time-picker.js.map +0 -1
- package/dist/lib/utils/url.d.ts +0 -10
- package/dist/lib/utils/url.d.ts.map +0 -1
- package/dist/lib/utils/url.js +0 -15
- package/dist/lib/utils/url.js.map +0 -1
- package/dist/lib.d.ts +0 -9
- package/dist/lib.js +0 -9
- package/dist/modules/auth/components/allowed.client.d.ts +0 -21
- package/dist/modules/auth/components/allowed.client.d.ts.map +0 -1
- package/dist/modules/auth/components/allowed.client.js +0 -16
- package/dist/modules/auth/components/allowed.client.js.map +0 -1
- package/dist/modules/auth/components/allowed.server.d.ts +0 -23
- package/dist/modules/auth/components/allowed.server.d.ts.map +0 -1
- package/dist/modules/auth/components/allowed.server.js +0 -24
- package/dist/modules/auth/components/allowed.server.js.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.d.ts +0 -10
- package/dist/modules/auth/components/auth-layout.server.d.ts.map +0 -1
- package/dist/modules/auth/components/auth-layout.server.js +0 -37
- package/dist/modules/auth/components/auth-layout.server.js.map +0 -1
- package/dist/modules/auth/components/auth-loading.d.ts +0 -7
- package/dist/modules/auth/components/auth-loading.d.ts.map +0 -1
- package/dist/modules/auth/components/auth-loading.js +0 -18
- package/dist/modules/auth/components/auth-loading.js.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.d.ts +0 -7
- package/dist/modules/auth/components/forget-password-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/forget-password-page.client.js +0 -73
- package/dist/modules/auth/components/forget-password-page.client.js.map +0 -1
- package/dist/modules/auth/components/guard.js +0 -16
- package/dist/modules/auth/components/guard.js.map +0 -1
- package/dist/modules/auth/components/login-page.client.d.ts +0 -7
- package/dist/modules/auth/components/login-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/login-page.client.js +0 -112
- package/dist/modules/auth/components/login-page.client.js.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.d.ts +0 -12
- package/dist/modules/auth/components/reset-password-page.client.d.ts.map +0 -1
- package/dist/modules/auth/components/reset-password-page.client.js +0 -97
- package/dist/modules/auth/components/reset-password-page.client.js.map +0 -1
- package/dist/modules/auth/components/update-password-command.d.ts +0 -20
- package/dist/modules/auth/components/update-password-command.d.ts.map +0 -1
- package/dist/modules/auth/components/update-password-command.js +0 -50
- package/dist/modules/auth/components/update-password-command.js.map +0 -1
- package/dist/modules/auth/db/schema.d.ts +0 -739
- package/dist/modules/auth/db/schema.d.ts.map +0 -1
- package/dist/modules/auth/db/schema.js +0 -60
- package/dist/modules/auth/db/schema.js.map +0 -1
- package/dist/modules/auth/handler/client.client.d.ts +0 -3806
- package/dist/modules/auth/handler/client.client.d.ts.map +0 -1
- package/dist/modules/auth/handler/client.client.js +0 -16
- package/dist/modules/auth/handler/client.client.js.map +0 -1
- package/dist/modules/auth/handler/route.server.d.ts +0 -17
- package/dist/modules/auth/handler/route.server.d.ts.map +0 -1
- package/dist/modules/auth/handler/route.server.js +0 -32
- package/dist/modules/auth/handler/route.server.js.map +0 -1
- package/dist/modules/auth/handler/server.server.js +0 -61
- package/dist/modules/auth/handler/server.server.js.map +0 -1
- package/dist/modules/auth/hooks/use-permission.d.ts +0 -26
- package/dist/modules/auth/hooks/use-permission.d.ts.map +0 -1
- package/dist/modules/auth/hooks/use-permission.js +0 -54
- package/dist/modules/auth/hooks/use-permission.js.map +0 -1
- package/dist/modules/auth/hooks/use-session.d.ts +0 -34
- package/dist/modules/auth/hooks/use-session.d.ts.map +0 -1
- package/dist/modules/auth/hooks/use-session.js +0 -21
- package/dist/modules/auth/hooks/use-session.js.map +0 -1
- package/dist/modules/auth/lib/helpers.server.d.ts +0 -84
- package/dist/modules/auth/lib/helpers.server.d.ts.map +0 -1
- package/dist/modules/auth/lib/helpers.server.js +0 -45
- package/dist/modules/auth/lib/helpers.server.js.map +0 -1
- package/dist/modules/auth/lib/permissions.d.ts +0 -19
- package/dist/modules/auth/lib/permissions.d.ts.map +0 -1
- package/dist/modules/auth/lib/permissions.js +0 -15
- package/dist/modules/auth/lib/permissions.js.map +0 -1
- package/dist/modules/auth/lib/utils.js +0 -21
- package/dist/modules/auth/lib/utils.js.map +0 -1
- package/dist/modules/auth/lib/validators.d.ts +0 -64
- package/dist/modules/auth/lib/validators.d.ts.map +0 -1
- package/dist/modules/auth/lib/validators.js +0 -56
- package/dist/modules/auth/lib/validators.js.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts +0 -93
- package/dist/modules/commands/components/alert-dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/alert-dialog-command.client.js +0 -157
- package/dist/modules/commands/components/alert-dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/click-command.client.d.ts +0 -27
- package/dist/modules/commands/components/click-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/click-command.client.js +0 -66
- package/dist/modules/commands/components/click-command.client.js.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.d.ts +0 -34
- package/dist/modules/commands/components/command-trigger.client.d.ts.map +0 -1
- package/dist/modules/commands/components/command-trigger.client.js +0 -51
- package/dist/modules/commands/components/command-trigger.client.js.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.d.ts +0 -68
- package/dist/modules/commands/components/dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/dialog-command.client.js +0 -131
- package/dist/modules/commands/components/dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.d.ts +0 -60
- package/dist/modules/commands/components/dropdown-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/dropdown-command.client.js +0 -130
- package/dist/modules/commands/components/dropdown-command.client.js.map +0 -1
- package/dist/modules/commands/components/empty-command.client.d.ts +0 -19
- package/dist/modules/commands/components/empty-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/empty-command.client.js +0 -57
- package/dist/modules/commands/components/empty-command.client.js.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.d.ts +0 -100
- package/dist/modules/commands/components/form-dialog-command.client.d.ts.map +0 -1
- package/dist/modules/commands/components/form-dialog-command.client.js +0 -184
- package/dist/modules/commands/components/form-dialog-command.client.js.map +0 -1
- package/dist/modules/commands/components/render-command.js +0 -16
- package/dist/modules/commands/components/render-command.js.map +0 -1
- package/dist/modules/commands/hooks/context.client.js +0 -33
- package/dist/modules/commands/hooks/context.client.js.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.d.ts +0 -21
- package/dist/modules/commands/hooks/use-command-action.client.d.ts.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.js +0 -69
- package/dist/modules/commands/hooks/use-command-action.client.js.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts +0 -16
- package/dist/modules/commands/hooks/use-command-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/hooks/use-command-menu.client.js +0 -90
- package/dist/modules/commands/hooks/use-command-menu.client.js.map +0 -1
- package/dist/modules/commands/lib/definitions.d.ts +0 -54
- package/dist/modules/commands/lib/definitions.d.ts.map +0 -1
- package/dist/modules/commands/lib/factory.d.ts +0 -24
- package/dist/modules/commands/lib/factory.d.ts.map +0 -1
- package/dist/modules/commands/lib/factory.js +0 -8
- package/dist/modules/commands/lib/factory.js.map +0 -1
- package/dist/modules/commands/lib/schema.d.ts +0 -18
- package/dist/modules/commands/lib/schema.d.ts.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.d.ts +0 -27
- package/dist/modules/commands/menus/context-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/context-menu.client.js +0 -61
- package/dist/modules/commands/menus/context-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/data-table-menu.client.js +0 -47
- package/dist/modules/commands/menus/data-table-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts +0 -19
- package/dist/modules/commands/menus/dropdown-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/dropdown-menu.client.js +0 -64
- package/dist/modules/commands/menus/dropdown-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.d.ts +0 -20
- package/dist/modules/commands/menus/inline-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/inline-menu.client.js +0 -48
- package/dist/modules/commands/menus/inline-menu.client.js.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.d.ts +0 -10
- package/dist/modules/commands/menus/responsive-menu.client.d.ts.map +0 -1
- package/dist/modules/commands/menus/responsive-menu.client.js +0 -24
- package/dist/modules/commands/menus/responsive-menu.client.js.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.d.ts +0 -33
- package/dist/modules/commands/utils/archive-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/archive-command.client.js +0 -39
- package/dist/modules/commands/utils/archive-command.client.js.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.d.ts +0 -23
- package/dist/modules/commands/utils/delete-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/delete-command.client.js +0 -28
- package/dist/modules/commands/utils/delete-command.client.js.map +0 -1
- package/dist/modules/commands/utils/send-mail-command.client.d.ts +0 -41
- package/dist/modules/commands/utils/send-mail-command.client.d.ts.map +0 -1
- package/dist/modules/commands/utils/send-mail-command.client.js +0 -119
- package/dist/modules/commands/utils/send-mail-command.client.js.map +0 -1
- package/dist/modules/config/db/create-client.js +0 -28
- package/dist/modules/config/db/create-client.js.map +0 -1
- package/dist/modules/config/db/helpers.d.ts +0 -15
- package/dist/modules/config/db/helpers.d.ts.map +0 -1
- package/dist/modules/config/db/helpers.js +0 -16
- package/dist/modules/config/db/helpers.js.map +0 -1
- package/dist/modules/config/db/types.d.ts +0 -5
- package/dist/modules/config/db/types.d.ts.map +0 -1
- package/dist/modules/config/lib/config.server.d.ts +0 -35
- package/dist/modules/config/lib/config.server.d.ts.map +0 -1
- package/dist/modules/config/lib/config.server.js +0 -11
- package/dist/modules/config/lib/config.server.js.map +0 -1
- package/dist/modules/config/lib/resolve.server.d.ts +0 -2064
- package/dist/modules/config/lib/resolve.server.d.ts.map +0 -1
- package/dist/modules/config/lib/resolve.server.js +0 -45
- package/dist/modules/config/lib/resolve.server.js.map +0 -1
- package/dist/modules/config/paths/helpers.d.ts +0 -11
- package/dist/modules/config/paths/helpers.d.ts.map +0 -1
- package/dist/modules/config/paths/helpers.js +0 -9
- package/dist/modules/config/paths/helpers.js.map +0 -1
- package/dist/modules/config/paths/types.d.ts +0 -33
- package/dist/modules/config/paths/types.d.ts.map +0 -1
- package/dist/modules/config/router/client.d.ts +0 -11
- package/dist/modules/config/router/client.d.ts.map +0 -1
- package/dist/modules/config/router/client.js +0 -25
- package/dist/modules/config/router/client.js.map +0 -1
- package/dist/modules/config/router/client.server.d.ts +0 -25
- package/dist/modules/config/router/client.server.d.ts.map +0 -1
- package/dist/modules/config/router/client.server.js +0 -31
- package/dist/modules/config/router/client.server.js.map +0 -1
- package/dist/modules/config/router/context.server.d.ts +0 -2091
- package/dist/modules/config/router/context.server.d.ts.map +0 -1
- package/dist/modules/config/router/context.server.js +0 -23
- package/dist/modules/config/router/context.server.js.map +0 -1
- package/dist/modules/config/router/helpers.js +0 -8
- package/dist/modules/config/router/helpers.js.map +0 -1
- package/dist/modules/config/router/init.server.d.ts +0 -2124
- package/dist/modules/config/router/init.server.d.ts.map +0 -1
- package/dist/modules/config/router/init.server.js +0 -53
- package/dist/modules/config/router/init.server.js.map +0 -1
- package/dist/modules/config/router/query-client.d.ts +0 -11
- package/dist/modules/config/router/query-client.d.ts.map +0 -1
- package/dist/modules/config/router/query-client.js +0 -51
- package/dist/modules/config/router/query-client.js.map +0 -1
- package/dist/modules/config/router/validators.d.ts +0 -14
- package/dist/modules/config/router/validators.d.ts.map +0 -1
- package/dist/modules/config/router/validators.js +0 -11
- package/dist/modules/config/router/validators.js.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.d.ts +0 -27
- package/dist/modules/data-tables/components/cell/common.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/common.client.js +0 -36
- package/dist/modules/data-tables/components/cell/common.client.js.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.d.ts +0 -10
- package/dist/modules/data-tables/components/cell/index.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/index.client.js +0 -25
- package/dist/modules/data-tables/components/cell/index.client.js.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.d.ts +0 -10
- package/dist/modules/data-tables/components/cell/select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/cell/select.client.js +0 -37
- package/dist/modules/data-tables/components/cell/select.client.js.map +0 -1
- package/dist/modules/data-tables/components/column-header.d.ts +0 -16
- package/dist/modules/data-tables/components/column-header.d.ts.map +0 -1
- package/dist/modules/data-tables/components/column-header.js +0 -47
- package/dist/modules/data-tables/components/column-header.js.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts +0 -28
- package/dist/modules/data-tables/components/filters/combobox.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/filters/combobox.client.js +0 -98
- package/dist/modules/data-tables/components/filters/combobox.client.js.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.ts +0 -23
- package/dist/modules/data-tables/components/filters/slider.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/filters/slider.client.js +0 -130
- package/dist/modules/data-tables/components/filters/slider.client.js.map +0 -1
- package/dist/modules/data-tables/components/footer.js +0 -30
- package/dist/modules/data-tables/components/footer.js.map +0 -1
- package/dist/modules/data-tables/components/header.d.ts +0 -41
- package/dist/modules/data-tables/components/header.d.ts.map +0 -1
- package/dist/modules/data-tables/components/header.js +0 -44
- package/dist/modules/data-tables/components/header.js.map +0 -1
- package/dist/modules/data-tables/components/layout.d.ts +0 -12
- package/dist/modules/data-tables/components/layout.d.ts.map +0 -1
- package/dist/modules/data-tables/components/layout.js +0 -15
- package/dist/modules/data-tables/components/layout.js.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.d.ts +0 -7
- package/dist/modules/data-tables/components/search-input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/components/search-input.client.js +0 -21
- package/dist/modules/data-tables/components/search-input.client.js.map +0 -1
- package/dist/modules/data-tables/components/skeleton.d.ts +0 -7
- package/dist/modules/data-tables/components/skeleton.d.ts.map +0 -1
- package/dist/modules/data-tables/components/skeleton.js +0 -22
- package/dist/modules/data-tables/components/skeleton.js.map +0 -1
- package/dist/modules/data-tables/components/table.d.ts +0 -34
- package/dist/modules/data-tables/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/components/table.js +0 -58
- package/dist/modules/data-tables/components/table.js.map +0 -1
- package/dist/modules/data-tables/components/toolbar.d.ts +0 -23
- package/dist/modules/data-tables/components/toolbar.d.ts.map +0 -1
- package/dist/modules/data-tables/components/toolbar.js +0 -22
- package/dist/modules/data-tables/components/toolbar.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.ts +0 -56
- package/dist/modules/data-tables/hooks/use-context.client.d.ts.map +0 -1
- package/dist/modules/data-tables/hooks/use-context.client.js +0 -36
- package/dist/modules/data-tables/hooks/use-context.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-search.client.js +0 -37
- package/dist/modules/data-tables/hooks/use-search.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-selection.client.js +0 -40
- package/dist/modules/data-tables/hooks/use-selection.client.js.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.ts +0 -12
- package/dist/modules/data-tables/hooks/use-table.client.d.ts.map +0 -1
- package/dist/modules/data-tables/hooks/use-table.client.js +0 -56
- package/dist/modules/data-tables/hooks/use-table.client.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.d.ts +0 -19
- package/dist/modules/data-tables/lib/converters/cursor.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/cursor.js +0 -16
- package/dist/modules/data-tables/lib/converters/cursor.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.d.ts +0 -52
- package/dist/modules/data-tables/lib/converters/dto.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/dto.js +0 -25
- package/dist/modules/data-tables/lib/converters/dto.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.d.ts +0 -10
- package/dist/modules/data-tables/lib/converters/filter.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/filter.js +0 -14
- package/dist/modules/data-tables/lib/converters/filter.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.d.ts +0 -17
- package/dist/modules/data-tables/lib/converters/search.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/search.js +0 -16
- package/dist/modules/data-tables/lib/converters/search.js.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.ts +0 -15
- package/dist/modules/data-tables/lib/converters/sorting.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/converters/sorting.js +0 -20
- package/dist/modules/data-tables/lib/converters/sorting.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.d.ts +0 -11
- package/dist/modules/data-tables/lib/filters/config.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/config.js +0 -6
- package/dist/modules/data-tables/lib/filters/config.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.d.ts +0 -32
- package/dist/modules/data-tables/lib/filters/parsers.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/parsers.js +0 -29
- package/dist/modules/data-tables/lib/filters/parsers.js.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts +0 -24
- package/dist/modules/data-tables/lib/filters/resolvers.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/filters/resolvers.js +0 -49
- package/dist/modules/data-tables/lib/filters/resolvers.js.map +0 -1
- package/dist/modules/data-tables/lib/helpers/create-column.js +0 -11
- package/dist/modules/data-tables/lib/helpers/create-column.js.map +0 -1
- package/dist/modules/data-tables/lib/search-params.d.ts +0 -22
- package/dist/modules/data-tables/lib/search-params.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/search-params.js +0 -17
- package/dist/modules/data-tables/lib/search-params.js.map +0 -1
- package/dist/modules/data-tables/lib/types.d.ts +0 -57
- package/dist/modules/data-tables/lib/types.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/validators.d.ts +0 -21
- package/dist/modules/data-tables/lib/validators.d.ts.map +0 -1
- package/dist/modules/data-tables/lib/validators.js +0 -17
- package/dist/modules/data-tables/lib/validators.js.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.d.ts +0 -30
- package/dist/modules/data-tables/server/get-data.server.d.ts.map +0 -1
- package/dist/modules/data-tables/server/get-data.server.js +0 -48
- package/dist/modules/data-tables/server/get-data.server.js.map +0 -1
- package/dist/modules/data-tables/strategies/helpers/sorting.js +0 -38
- package/dist/modules/data-tables/strategies/helpers/sorting.js.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/components.js +0 -52
- package/dist/modules/data-tables/strategies/infinite/components.js.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts +0 -21
- package/dist/modules/data-tables/strategies/infinite/strategy.d.ts.map +0 -1
- package/dist/modules/data-tables/strategies/infinite/strategy.js +0 -49
- package/dist/modules/data-tables/strategies/infinite/strategy.js.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/components.js +0 -133
- package/dist/modules/data-tables/strategies/pagination/components.js.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts +0 -13
- package/dist/modules/data-tables/strategies/pagination/strategy.d.ts.map +0 -1
- package/dist/modules/data-tables/strategies/pagination/strategy.js +0 -47
- package/dist/modules/data-tables/strategies/pagination/strategy.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/body.js +0 -34
- package/dist/modules/data-tables/tables/data-table/components/body.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/header.js +0 -14
- package/dist/modules/data-tables/tables/data-table/components/header.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/row.js +0 -25
- package/dist/modules/data-tables/tables/data-table/components/row.js.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts +0 -11
- package/dist/modules/data-tables/tables/data-table/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/data-table/components/table.js +0 -38
- package/dist/modules/data-tables/tables/data-table/components/table.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/body.js +0 -71
- package/dist/modules/data-tables/tables/inline-table/components/body.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts +0 -12
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts +0 -10
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js +0 -40
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/header.js +0 -11
- package/dist/modules/data-tables/tables/inline-table/components/header.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts +0 -29
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts +0 -27
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js +0 -30
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts +0 -39
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js +0 -72
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts +0 -12
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts +0 -33
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js +0 -38
- package/dist/modules/data-tables/tables/inline-table/components/row.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts +0 -16
- package/dist/modules/data-tables/tables/inline-table/components/table.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.js +0 -47
- package/dist/modules/data-tables/tables/inline-table/components/table.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts +0 -47
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js +0 -59
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js +0 -27
- package/dist/modules/data-tables/tables/inline-table/hooks/use-hotkeys.client.js.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts +0 -15
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.d.ts.map +0 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js +0 -53
- package/dist/modules/data-tables/tables/inline-table/hooks/use-input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts +0 -17
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js +0 -26
- package/dist/modules/inline-edit/components/combobox-dropdown.client.js.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.d.ts +0 -15
- package/dist/modules/inline-edit/components/combobox.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/combobox.client.js +0 -28
- package/dist/modules/inline-edit/components/combobox.client.js.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/date-input.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/date-input.client.js +0 -79
- package/dist/modules/inline-edit/components/date-input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/date-picker.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/date-picker.client.js +0 -51
- package/dist/modules/inline-edit/components/date-picker.client.js.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/editor.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/editor.client.js +0 -35
- package/dist/modules/inline-edit/components/editor.client.js.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts +0 -17
- package/dist/modules/inline-edit/components/input-toggle.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/input-toggle.client.js +0 -47
- package/dist/modules/inline-edit/components/input-toggle.client.js.map +0 -1
- package/dist/modules/inline-edit/components/input.client.d.ts +0 -30
- package/dist/modules/inline-edit/components/input.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/input.client.js +0 -49
- package/dist/modules/inline-edit/components/input.client.js.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/richtext.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.js +0 -31
- package/dist/modules/inline-edit/components/richtext.client.js.map +0 -1
- package/dist/modules/inline-edit/components/select.client.d.ts +0 -22
- package/dist/modules/inline-edit/components/select.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/select.client.js +0 -39
- package/dist/modules/inline-edit/components/select.client.js.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.d.ts +0 -14
- package/dist/modules/inline-edit/components/switch.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/switch.client.js +0 -27
- package/dist/modules/inline-edit/components/switch.client.js.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.d.ts +0 -16
- package/dist/modules/inline-edit/components/toggle.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/components/toggle.client.js +0 -34
- package/dist/modules/inline-edit/components/toggle.client.js.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.d.ts +0 -28
- package/dist/modules/inline-edit/hooks/context.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/hooks/context.client.js +0 -29
- package/dist/modules/inline-edit/hooks/context.client.js.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts +0 -16
- package/dist/modules/inline-edit/hooks/use-inline.client.d.ts.map +0 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.js +0 -57
- package/dist/modules/inline-edit/hooks/use-inline.client.js.map +0 -1
- package/dist/modules/inline-edit/lib/validators.d.ts +0 -58
- package/dist/modules/inline-edit/lib/validators.d.ts.map +0 -1
- package/dist/modules/inline-edit/lib/validators.js +0 -35
- package/dist/modules/inline-edit/lib/validators.js.map +0 -1
- package/dist/modules/uploads/components/button.client.d.ts +0 -12
- package/dist/modules/uploads/components/button.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/button.client.js +0 -35
- package/dist/modules/uploads/components/button.client.js.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.d.ts +0 -11
- package/dist/modules/uploads/components/images/grid.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.js +0 -120
- package/dist/modules/uploads/components/images/grid.client.js.map +0 -1
- package/dist/modules/uploads/components/images/input.client.d.ts +0 -16
- package/dist/modules/uploads/components/images/input.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/images/input.client.js +0 -28
- package/dist/modules/uploads/components/images/input.client.js.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.ts +0 -16
- package/dist/modules/uploads/components/preview-dialog.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.js +0 -22
- package/dist/modules/uploads/components/preview-dialog.client.js.map +0 -1
- package/dist/modules/uploads/components/zone.client.d.ts +0 -21
- package/dist/modules/uploads/components/zone.client.d.ts.map +0 -1
- package/dist/modules/uploads/components/zone.client.js +0 -39
- package/dist/modules/uploads/components/zone.client.js.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts +0 -33
- package/dist/modules/uploads/hooks/use-upload-image.client.d.ts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.js +0 -101
- package/dist/modules/uploads/hooks/use-upload-image.client.js.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts +0 -39
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.ts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.js +0 -20
- package/dist/modules/uploads/hooks/use-upload-zone.client.js.map +0 -1
- package/dist/modules/uploads/lib/constants.d.ts +0 -9
- package/dist/modules/uploads/lib/constants.d.ts.map +0 -1
- package/dist/modules/uploads/lib/constants.js +0 -17
- package/dist/modules/uploads/lib/constants.js.map +0 -1
- package/dist/modules/uploads/lib/filters.d.ts +0 -10
- package/dist/modules/uploads/lib/filters.d.ts.map +0 -1
- package/dist/modules/uploads/lib/filters.js +0 -10
- package/dist/modules/uploads/lib/filters.js.map +0 -1
- package/dist/modules/uploads/lib/helpers.d.ts +0 -32
- package/dist/modules/uploads/lib/helpers.d.ts.map +0 -1
- package/dist/modules/uploads/lib/helpers.js +0 -73
- package/dist/modules/uploads/lib/helpers.js.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.d.ts +0 -46
- package/dist/modules/uploads/lib/proxy.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.js +0 -96
- package/dist/modules/uploads/lib/proxy.server.js.map +0 -1
- package/dist/modules/uploads/lib/route.server.d.ts +0 -43
- package/dist/modules/uploads/lib/route.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/route.server.js +0 -72
- package/dist/modules/uploads/lib/route.server.js.map +0 -1
- package/dist/modules/uploads/lib/router.server.d.ts +0 -12765
- package/dist/modules/uploads/lib/router.server.d.ts.map +0 -1
- package/dist/modules/uploads/lib/router.server.js +0 -177
- package/dist/modules/uploads/lib/router.server.js.map +0 -1
- package/dist/modules/uploads/lib/schema.d.ts +0 -815
- package/dist/modules/uploads/lib/schema.d.ts.map +0 -1
- package/dist/modules/uploads/lib/schema.js +0 -66
- package/dist/modules/uploads/lib/schema.js.map +0 -1
- package/dist/modules/uploads/lib/validators.d.ts +0 -939
- package/dist/modules/uploads/lib/validators.d.ts.map +0 -1
- package/dist/modules/uploads/lib/validators.js +0 -25
- package/dist/modules/uploads/lib/validators.js.map +0 -1
- package/dist/uploads/client.d.ts +0 -8
- package/dist/uploads/client.js +0 -9
- package/dist/uploads/server.d.ts +0 -4
- package/dist/uploads/server.js +0 -5
- package/dist/uploads.d.ts +0 -6
- package/dist/uploads.js +0 -7
- package/src/components/ui/tree.client.tsx +0 -173
- package/src/modules/auth/components/allowed.server.tsx +0 -41
- package/src/modules/auth/handler/server.server.ts +0 -82
- package/src/modules/config/lib/config.server.ts +0 -39
- package/src/modules/config/lib/resolve.server.ts +0 -75
- package/src/modules/config/lib/router.server.ts +0 -64
- package/src/modules/config/router/client.server.tsx +0 -57
- package/src/modules/config/router/client.tsx +0 -31
- package/src/modules/config/router/context.server.ts +0 -29
- package/src/modules/config/router/init.server.ts +0 -77
- package/src/modules/uploads/lib/router.server.ts +0 -340
- /package/dist/commands/{server.d.ts → server.d.mts} +0 -0
- /package/dist/commands/{server.js → server.mjs} +0 -0
- /package/dist/config/{client.d.ts → client.d.mts} +0 -0
- /package/dist/config/{client.js → client.mjs} +0 -0
- /package/dist/inline-edit/{server.d.ts → server.d.mts} +0 -0
- /package/dist/inline-edit/{server.js → server.mjs} +0 -0
- /package/dist/lib/{server.d.ts → server.d.mts} +0 -0
- /package/dist/lib/{server.js → server.mjs} +0 -0
- /package/dist/modules/{config/router/error.server.d.ts → router/lib/error.server.d.mts} +0 -0
- /package/dist/modules/{config/router/error.server.js → router/lib/error.server.mjs} +0 -0
- /package/src/components/editor/{utils.ts → lib/utils.ts} +0 -0
- /package/src/modules/auth/components/{guard.tsx → guard.client.tsx} +0 -0
- /package/src/modules/{config/router → router/lib}/error.server.ts +0 -0
- /package/src/modules/{config/router → router/lib}/helpers.ts +0 -0
- /package/src/modules/{config/router → router/lib}/query-client.ts +0 -0
- /package/src/modules/{config/router → router/lib}/validators.ts +0 -0
|
@@ -1,3806 +0,0 @@
|
|
|
1
|
-
import * as better_auth_react0 from "better-auth/react";
|
|
2
|
-
import * as better_auth0 from "better-auth";
|
|
3
|
-
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
4
|
-
|
|
5
|
-
//#region src/modules/auth/handler/client.client.d.ts
|
|
6
|
-
declare const authClient: {
|
|
7
|
-
admin: {
|
|
8
|
-
getUser: <FetchOptions extends {
|
|
9
|
-
method?: string | undefined;
|
|
10
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
11
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
12
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
13
|
-
authorization: "Bearer" | "Basic";
|
|
14
|
-
})) | undefined;
|
|
15
|
-
credentials?: RequestCredentials | undefined;
|
|
16
|
-
mode?: RequestMode | undefined;
|
|
17
|
-
signal?: (AbortSignal | null) | undefined;
|
|
18
|
-
cache?: RequestCache | undefined;
|
|
19
|
-
integrity?: string | undefined;
|
|
20
|
-
keepalive?: boolean | undefined;
|
|
21
|
-
priority?: RequestPriority | undefined;
|
|
22
|
-
redirect?: RequestRedirect | undefined;
|
|
23
|
-
referrer?: string | undefined;
|
|
24
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
25
|
-
window?: null | undefined;
|
|
26
|
-
next?: NextFetchRequestConfig | undefined;
|
|
27
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
28
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
29
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
30
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
31
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
32
|
-
hookOptions?: {
|
|
33
|
-
cloneResponse?: boolean;
|
|
34
|
-
} | undefined;
|
|
35
|
-
timeout?: number | undefined;
|
|
36
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
37
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
38
|
-
baseURL?: string | undefined;
|
|
39
|
-
throw?: boolean | undefined;
|
|
40
|
-
auth?: ({
|
|
41
|
-
type: "Bearer";
|
|
42
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
43
|
-
} | {
|
|
44
|
-
type: "Basic";
|
|
45
|
-
username: string | (() => string | undefined) | undefined;
|
|
46
|
-
password: string | (() => string | undefined) | undefined;
|
|
47
|
-
} | {
|
|
48
|
-
type: "Custom";
|
|
49
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
50
|
-
value: string | (() => string | undefined) | undefined;
|
|
51
|
-
}) | undefined;
|
|
52
|
-
body?: undefined;
|
|
53
|
-
query?: (Partial<{
|
|
54
|
-
id: string;
|
|
55
|
-
}> & Record<string, any>) | undefined;
|
|
56
|
-
params?: Record<string, any> | undefined;
|
|
57
|
-
duplex?: "full" | "half" | undefined;
|
|
58
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
59
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
60
|
-
retryAttempt?: number | undefined;
|
|
61
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
62
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
63
|
-
disableValidation?: boolean | undefined;
|
|
64
|
-
}>(data_0: better_auth0.Prettify<{
|
|
65
|
-
query: {
|
|
66
|
-
id: string;
|
|
67
|
-
};
|
|
68
|
-
fetchOptions?: FetchOptions | undefined;
|
|
69
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
70
|
-
id: string;
|
|
71
|
-
createdAt: Date;
|
|
72
|
-
updatedAt: Date;
|
|
73
|
-
email: string;
|
|
74
|
-
emailVerified: boolean;
|
|
75
|
-
name: string;
|
|
76
|
-
image?: string | null | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
code?: string;
|
|
79
|
-
message?: string;
|
|
80
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
81
|
-
};
|
|
82
|
-
} & {
|
|
83
|
-
admin: {
|
|
84
|
-
updateUser: <FetchOptions extends {
|
|
85
|
-
method?: string | undefined;
|
|
86
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
87
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
88
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
89
|
-
authorization: "Bearer" | "Basic";
|
|
90
|
-
})) | undefined;
|
|
91
|
-
credentials?: RequestCredentials | undefined;
|
|
92
|
-
mode?: RequestMode | undefined;
|
|
93
|
-
signal?: (AbortSignal | null) | undefined;
|
|
94
|
-
cache?: RequestCache | undefined;
|
|
95
|
-
integrity?: string | undefined;
|
|
96
|
-
keepalive?: boolean | undefined;
|
|
97
|
-
priority?: RequestPriority | undefined;
|
|
98
|
-
redirect?: RequestRedirect | undefined;
|
|
99
|
-
referrer?: string | undefined;
|
|
100
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
101
|
-
window?: null | undefined;
|
|
102
|
-
next?: NextFetchRequestConfig | undefined;
|
|
103
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
104
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
105
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
106
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
107
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
108
|
-
hookOptions?: {
|
|
109
|
-
cloneResponse?: boolean;
|
|
110
|
-
} | undefined;
|
|
111
|
-
timeout?: number | undefined;
|
|
112
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
113
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
114
|
-
baseURL?: string | undefined;
|
|
115
|
-
throw?: boolean | undefined;
|
|
116
|
-
auth?: ({
|
|
117
|
-
type: "Bearer";
|
|
118
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
119
|
-
} | {
|
|
120
|
-
type: "Basic";
|
|
121
|
-
username: string | (() => string | undefined) | undefined;
|
|
122
|
-
password: string | (() => string | undefined) | undefined;
|
|
123
|
-
} | {
|
|
124
|
-
type: "Custom";
|
|
125
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
126
|
-
value: string | (() => string | undefined) | undefined;
|
|
127
|
-
}) | undefined;
|
|
128
|
-
body?: (Partial<{
|
|
129
|
-
userId: unknown;
|
|
130
|
-
data: Record<any, any>;
|
|
131
|
-
}> & Record<string, any>) | undefined;
|
|
132
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
133
|
-
params?: Record<string, any> | undefined;
|
|
134
|
-
duplex?: "full" | "half" | undefined;
|
|
135
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
136
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
137
|
-
retryAttempt?: number | undefined;
|
|
138
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
139
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
140
|
-
disableValidation?: boolean | undefined;
|
|
141
|
-
}>(data_0: better_auth0.Prettify<{
|
|
142
|
-
userId: unknown;
|
|
143
|
-
data: Record<any, any>;
|
|
144
|
-
} & {
|
|
145
|
-
fetchOptions?: FetchOptions | undefined;
|
|
146
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<better_auth_plugins0.UserWithRole, {
|
|
147
|
-
code?: string;
|
|
148
|
-
message?: string;
|
|
149
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
150
|
-
};
|
|
151
|
-
} & {
|
|
152
|
-
admin: {
|
|
153
|
-
listUsers: <FetchOptions extends {
|
|
154
|
-
method?: string | undefined;
|
|
155
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
156
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
157
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
158
|
-
authorization: "Bearer" | "Basic";
|
|
159
|
-
})) | undefined;
|
|
160
|
-
credentials?: RequestCredentials | undefined;
|
|
161
|
-
mode?: RequestMode | undefined;
|
|
162
|
-
signal?: (AbortSignal | null) | undefined;
|
|
163
|
-
cache?: RequestCache | undefined;
|
|
164
|
-
integrity?: string | undefined;
|
|
165
|
-
keepalive?: boolean | undefined;
|
|
166
|
-
priority?: RequestPriority | undefined;
|
|
167
|
-
redirect?: RequestRedirect | undefined;
|
|
168
|
-
referrer?: string | undefined;
|
|
169
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
170
|
-
window?: null | undefined;
|
|
171
|
-
next?: NextFetchRequestConfig | undefined;
|
|
172
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
173
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
174
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
175
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
176
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
177
|
-
hookOptions?: {
|
|
178
|
-
cloneResponse?: boolean;
|
|
179
|
-
} | undefined;
|
|
180
|
-
timeout?: number | undefined;
|
|
181
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
182
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
183
|
-
baseURL?: string | undefined;
|
|
184
|
-
throw?: boolean | undefined;
|
|
185
|
-
auth?: ({
|
|
186
|
-
type: "Bearer";
|
|
187
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
188
|
-
} | {
|
|
189
|
-
type: "Basic";
|
|
190
|
-
username: string | (() => string | undefined) | undefined;
|
|
191
|
-
password: string | (() => string | undefined) | undefined;
|
|
192
|
-
} | {
|
|
193
|
-
type: "Custom";
|
|
194
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
195
|
-
value: string | (() => string | undefined) | undefined;
|
|
196
|
-
}) | undefined;
|
|
197
|
-
body?: undefined;
|
|
198
|
-
query?: (Partial<{
|
|
199
|
-
searchValue?: string | undefined;
|
|
200
|
-
searchField?: "name" | "email" | undefined;
|
|
201
|
-
searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
|
|
202
|
-
limit?: string | number | undefined;
|
|
203
|
-
offset?: string | number | undefined;
|
|
204
|
-
sortBy?: string | undefined;
|
|
205
|
-
sortDirection?: "asc" | "desc" | undefined;
|
|
206
|
-
filterField?: string | undefined;
|
|
207
|
-
filterValue?: string | number | boolean | undefined;
|
|
208
|
-
filterOperator?: "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
209
|
-
}> & Record<string, any>) | undefined;
|
|
210
|
-
params?: Record<string, any> | undefined;
|
|
211
|
-
duplex?: "full" | "half" | undefined;
|
|
212
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
213
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
214
|
-
retryAttempt?: number | undefined;
|
|
215
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
216
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
217
|
-
disableValidation?: boolean | undefined;
|
|
218
|
-
}>(data_0: better_auth0.Prettify<{
|
|
219
|
-
query: {
|
|
220
|
-
searchValue?: string | undefined;
|
|
221
|
-
searchField?: "name" | "email" | undefined;
|
|
222
|
-
searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
|
|
223
|
-
limit?: string | number | undefined;
|
|
224
|
-
offset?: string | number | undefined;
|
|
225
|
-
sortBy?: string | undefined;
|
|
226
|
-
sortDirection?: "asc" | "desc" | undefined;
|
|
227
|
-
filterField?: string | undefined;
|
|
228
|
-
filterValue?: string | number | boolean | undefined;
|
|
229
|
-
filterOperator?: "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | "contains" | undefined;
|
|
230
|
-
};
|
|
231
|
-
fetchOptions?: FetchOptions | undefined;
|
|
232
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<{
|
|
233
|
-
users: better_auth_plugins0.UserWithRole[];
|
|
234
|
-
total: number;
|
|
235
|
-
limit: number | undefined;
|
|
236
|
-
offset: number | undefined;
|
|
237
|
-
} | {
|
|
238
|
-
users: never[];
|
|
239
|
-
total: number;
|
|
240
|
-
}>, {
|
|
241
|
-
code?: string;
|
|
242
|
-
message?: string;
|
|
243
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
244
|
-
};
|
|
245
|
-
} & {
|
|
246
|
-
admin: {
|
|
247
|
-
listUserSessions: <FetchOptions extends {
|
|
248
|
-
method?: string | undefined;
|
|
249
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
250
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
251
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
252
|
-
authorization: "Bearer" | "Basic";
|
|
253
|
-
})) | undefined;
|
|
254
|
-
credentials?: RequestCredentials | undefined;
|
|
255
|
-
mode?: RequestMode | undefined;
|
|
256
|
-
signal?: (AbortSignal | null) | undefined;
|
|
257
|
-
cache?: RequestCache | undefined;
|
|
258
|
-
integrity?: string | undefined;
|
|
259
|
-
keepalive?: boolean | undefined;
|
|
260
|
-
priority?: RequestPriority | undefined;
|
|
261
|
-
redirect?: RequestRedirect | undefined;
|
|
262
|
-
referrer?: string | undefined;
|
|
263
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
264
|
-
window?: null | undefined;
|
|
265
|
-
next?: NextFetchRequestConfig | undefined;
|
|
266
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
267
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
268
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
269
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
270
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
271
|
-
hookOptions?: {
|
|
272
|
-
cloneResponse?: boolean;
|
|
273
|
-
} | undefined;
|
|
274
|
-
timeout?: number | undefined;
|
|
275
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
276
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
277
|
-
baseURL?: string | undefined;
|
|
278
|
-
throw?: boolean | undefined;
|
|
279
|
-
auth?: ({
|
|
280
|
-
type: "Bearer";
|
|
281
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
282
|
-
} | {
|
|
283
|
-
type: "Basic";
|
|
284
|
-
username: string | (() => string | undefined) | undefined;
|
|
285
|
-
password: string | (() => string | undefined) | undefined;
|
|
286
|
-
} | {
|
|
287
|
-
type: "Custom";
|
|
288
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
289
|
-
value: string | (() => string | undefined) | undefined;
|
|
290
|
-
}) | undefined;
|
|
291
|
-
body?: (Partial<{
|
|
292
|
-
userId: unknown;
|
|
293
|
-
}> & Record<string, any>) | undefined;
|
|
294
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
295
|
-
params?: Record<string, any> | undefined;
|
|
296
|
-
duplex?: "full" | "half" | undefined;
|
|
297
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
298
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
299
|
-
retryAttempt?: number | undefined;
|
|
300
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
301
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
302
|
-
disableValidation?: boolean | undefined;
|
|
303
|
-
}>(data_0: better_auth0.Prettify<{
|
|
304
|
-
userId: unknown;
|
|
305
|
-
} & {
|
|
306
|
-
fetchOptions?: FetchOptions | undefined;
|
|
307
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
308
|
-
sessions: better_auth_plugins0.SessionWithImpersonatedBy[];
|
|
309
|
-
}, {
|
|
310
|
-
code?: string;
|
|
311
|
-
message?: string;
|
|
312
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
313
|
-
};
|
|
314
|
-
} & {
|
|
315
|
-
admin: {
|
|
316
|
-
unbanUser: <FetchOptions extends {
|
|
317
|
-
method?: string | undefined;
|
|
318
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
319
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
320
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
321
|
-
authorization: "Bearer" | "Basic";
|
|
322
|
-
})) | undefined;
|
|
323
|
-
credentials?: RequestCredentials | undefined;
|
|
324
|
-
mode?: RequestMode | undefined;
|
|
325
|
-
signal?: (AbortSignal | null) | undefined;
|
|
326
|
-
cache?: RequestCache | undefined;
|
|
327
|
-
integrity?: string | undefined;
|
|
328
|
-
keepalive?: boolean | undefined;
|
|
329
|
-
priority?: RequestPriority | undefined;
|
|
330
|
-
redirect?: RequestRedirect | undefined;
|
|
331
|
-
referrer?: string | undefined;
|
|
332
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
333
|
-
window?: null | undefined;
|
|
334
|
-
next?: NextFetchRequestConfig | undefined;
|
|
335
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
336
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
337
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
338
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
339
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
340
|
-
hookOptions?: {
|
|
341
|
-
cloneResponse?: boolean;
|
|
342
|
-
} | undefined;
|
|
343
|
-
timeout?: number | undefined;
|
|
344
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
345
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
346
|
-
baseURL?: string | undefined;
|
|
347
|
-
throw?: boolean | undefined;
|
|
348
|
-
auth?: ({
|
|
349
|
-
type: "Bearer";
|
|
350
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
351
|
-
} | {
|
|
352
|
-
type: "Basic";
|
|
353
|
-
username: string | (() => string | undefined) | undefined;
|
|
354
|
-
password: string | (() => string | undefined) | undefined;
|
|
355
|
-
} | {
|
|
356
|
-
type: "Custom";
|
|
357
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
358
|
-
value: string | (() => string | undefined) | undefined;
|
|
359
|
-
}) | undefined;
|
|
360
|
-
body?: (Partial<{
|
|
361
|
-
userId: unknown;
|
|
362
|
-
}> & Record<string, any>) | undefined;
|
|
363
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
364
|
-
params?: Record<string, any> | undefined;
|
|
365
|
-
duplex?: "full" | "half" | undefined;
|
|
366
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
367
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
368
|
-
retryAttempt?: number | undefined;
|
|
369
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
370
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
371
|
-
disableValidation?: boolean | undefined;
|
|
372
|
-
}>(data_0: better_auth0.Prettify<{
|
|
373
|
-
userId: unknown;
|
|
374
|
-
} & {
|
|
375
|
-
fetchOptions?: FetchOptions | undefined;
|
|
376
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
377
|
-
user: any;
|
|
378
|
-
}, {
|
|
379
|
-
code?: string;
|
|
380
|
-
message?: string;
|
|
381
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
382
|
-
};
|
|
383
|
-
} & {
|
|
384
|
-
admin: {
|
|
385
|
-
banUser: <FetchOptions extends {
|
|
386
|
-
method?: string | undefined;
|
|
387
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
388
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
389
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
390
|
-
authorization: "Bearer" | "Basic";
|
|
391
|
-
})) | undefined;
|
|
392
|
-
credentials?: RequestCredentials | undefined;
|
|
393
|
-
mode?: RequestMode | undefined;
|
|
394
|
-
signal?: (AbortSignal | null) | undefined;
|
|
395
|
-
cache?: RequestCache | undefined;
|
|
396
|
-
integrity?: string | undefined;
|
|
397
|
-
keepalive?: boolean | undefined;
|
|
398
|
-
priority?: RequestPriority | undefined;
|
|
399
|
-
redirect?: RequestRedirect | undefined;
|
|
400
|
-
referrer?: string | undefined;
|
|
401
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
402
|
-
window?: null | undefined;
|
|
403
|
-
next?: NextFetchRequestConfig | undefined;
|
|
404
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
405
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
406
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
407
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
408
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
409
|
-
hookOptions?: {
|
|
410
|
-
cloneResponse?: boolean;
|
|
411
|
-
} | undefined;
|
|
412
|
-
timeout?: number | undefined;
|
|
413
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
414
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
415
|
-
baseURL?: string | undefined;
|
|
416
|
-
throw?: boolean | undefined;
|
|
417
|
-
auth?: ({
|
|
418
|
-
type: "Bearer";
|
|
419
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
420
|
-
} | {
|
|
421
|
-
type: "Basic";
|
|
422
|
-
username: string | (() => string | undefined) | undefined;
|
|
423
|
-
password: string | (() => string | undefined) | undefined;
|
|
424
|
-
} | {
|
|
425
|
-
type: "Custom";
|
|
426
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
427
|
-
value: string | (() => string | undefined) | undefined;
|
|
428
|
-
}) | undefined;
|
|
429
|
-
body?: (Partial<{
|
|
430
|
-
userId: unknown;
|
|
431
|
-
banReason?: string | undefined;
|
|
432
|
-
banExpiresIn?: number | undefined;
|
|
433
|
-
}> & Record<string, any>) | undefined;
|
|
434
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
435
|
-
params?: Record<string, any> | undefined;
|
|
436
|
-
duplex?: "full" | "half" | undefined;
|
|
437
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
438
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
439
|
-
retryAttempt?: number | undefined;
|
|
440
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
441
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
442
|
-
disableValidation?: boolean | undefined;
|
|
443
|
-
}>(data_0: better_auth0.Prettify<{
|
|
444
|
-
userId: unknown;
|
|
445
|
-
banReason?: string | undefined;
|
|
446
|
-
banExpiresIn?: number | undefined;
|
|
447
|
-
} & {
|
|
448
|
-
fetchOptions?: FetchOptions | undefined;
|
|
449
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
450
|
-
user: any;
|
|
451
|
-
}, {
|
|
452
|
-
code?: string;
|
|
453
|
-
message?: string;
|
|
454
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
455
|
-
};
|
|
456
|
-
} & {
|
|
457
|
-
admin: {
|
|
458
|
-
impersonateUser: <FetchOptions extends {
|
|
459
|
-
method?: string | undefined;
|
|
460
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
461
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
462
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
463
|
-
authorization: "Bearer" | "Basic";
|
|
464
|
-
})) | undefined;
|
|
465
|
-
credentials?: RequestCredentials | undefined;
|
|
466
|
-
mode?: RequestMode | undefined;
|
|
467
|
-
signal?: (AbortSignal | null) | undefined;
|
|
468
|
-
cache?: RequestCache | undefined;
|
|
469
|
-
integrity?: string | undefined;
|
|
470
|
-
keepalive?: boolean | undefined;
|
|
471
|
-
priority?: RequestPriority | undefined;
|
|
472
|
-
redirect?: RequestRedirect | undefined;
|
|
473
|
-
referrer?: string | undefined;
|
|
474
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
475
|
-
window?: null | undefined;
|
|
476
|
-
next?: NextFetchRequestConfig | undefined;
|
|
477
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
478
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
479
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
480
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
481
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
482
|
-
hookOptions?: {
|
|
483
|
-
cloneResponse?: boolean;
|
|
484
|
-
} | undefined;
|
|
485
|
-
timeout?: number | undefined;
|
|
486
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
487
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
488
|
-
baseURL?: string | undefined;
|
|
489
|
-
throw?: boolean | undefined;
|
|
490
|
-
auth?: ({
|
|
491
|
-
type: "Bearer";
|
|
492
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
493
|
-
} | {
|
|
494
|
-
type: "Basic";
|
|
495
|
-
username: string | (() => string | undefined) | undefined;
|
|
496
|
-
password: string | (() => string | undefined) | undefined;
|
|
497
|
-
} | {
|
|
498
|
-
type: "Custom";
|
|
499
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
500
|
-
value: string | (() => string | undefined) | undefined;
|
|
501
|
-
}) | undefined;
|
|
502
|
-
body?: (Partial<{
|
|
503
|
-
userId: unknown;
|
|
504
|
-
}> & Record<string, any>) | undefined;
|
|
505
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
506
|
-
params?: Record<string, any> | undefined;
|
|
507
|
-
duplex?: "full" | "half" | undefined;
|
|
508
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
509
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
510
|
-
retryAttempt?: number | undefined;
|
|
511
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
512
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
513
|
-
disableValidation?: boolean | undefined;
|
|
514
|
-
}>(data_0: better_auth0.Prettify<{
|
|
515
|
-
userId: unknown;
|
|
516
|
-
} & {
|
|
517
|
-
fetchOptions?: FetchOptions | undefined;
|
|
518
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
519
|
-
session: {
|
|
520
|
-
id: string;
|
|
521
|
-
createdAt: Date;
|
|
522
|
-
updatedAt: Date;
|
|
523
|
-
userId: string;
|
|
524
|
-
expiresAt: Date;
|
|
525
|
-
token: string;
|
|
526
|
-
ipAddress?: string | null | undefined;
|
|
527
|
-
userAgent?: string | null | undefined;
|
|
528
|
-
};
|
|
529
|
-
user: {
|
|
530
|
-
id: string;
|
|
531
|
-
createdAt: Date;
|
|
532
|
-
updatedAt: Date;
|
|
533
|
-
email: string;
|
|
534
|
-
emailVerified: boolean;
|
|
535
|
-
name: string;
|
|
536
|
-
image?: string | null | undefined;
|
|
537
|
-
};
|
|
538
|
-
}, {
|
|
539
|
-
code?: string;
|
|
540
|
-
message?: string;
|
|
541
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
542
|
-
};
|
|
543
|
-
} & {
|
|
544
|
-
admin: {
|
|
545
|
-
stopImpersonating: <FetchOptions extends {
|
|
546
|
-
method?: string | undefined;
|
|
547
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
548
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
549
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
550
|
-
authorization: "Bearer" | "Basic";
|
|
551
|
-
})) | undefined;
|
|
552
|
-
credentials?: RequestCredentials | undefined;
|
|
553
|
-
mode?: RequestMode | undefined;
|
|
554
|
-
signal?: (AbortSignal | null) | undefined;
|
|
555
|
-
cache?: RequestCache | undefined;
|
|
556
|
-
integrity?: string | undefined;
|
|
557
|
-
keepalive?: boolean | undefined;
|
|
558
|
-
priority?: RequestPriority | undefined;
|
|
559
|
-
redirect?: RequestRedirect | undefined;
|
|
560
|
-
referrer?: string | undefined;
|
|
561
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
562
|
-
window?: null | undefined;
|
|
563
|
-
next?: NextFetchRequestConfig | undefined;
|
|
564
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
565
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
566
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
567
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
568
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
569
|
-
hookOptions?: {
|
|
570
|
-
cloneResponse?: boolean;
|
|
571
|
-
} | undefined;
|
|
572
|
-
timeout?: number | undefined;
|
|
573
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
574
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
575
|
-
baseURL?: string | undefined;
|
|
576
|
-
throw?: boolean | undefined;
|
|
577
|
-
auth?: ({
|
|
578
|
-
type: "Bearer";
|
|
579
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
580
|
-
} | {
|
|
581
|
-
type: "Basic";
|
|
582
|
-
username: string | (() => string | undefined) | undefined;
|
|
583
|
-
password: string | (() => string | undefined) | undefined;
|
|
584
|
-
} | {
|
|
585
|
-
type: "Custom";
|
|
586
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
587
|
-
value: string | (() => string | undefined) | undefined;
|
|
588
|
-
}) | undefined;
|
|
589
|
-
body?: undefined;
|
|
590
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
591
|
-
params?: Record<string, any> | undefined;
|
|
592
|
-
duplex?: "full" | "half" | undefined;
|
|
593
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
594
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
595
|
-
retryAttempt?: number | undefined;
|
|
596
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
597
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
598
|
-
disableValidation?: boolean | undefined;
|
|
599
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
600
|
-
query?: Record<string, any> | undefined;
|
|
601
|
-
fetchOptions?: FetchOptions | undefined;
|
|
602
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
603
|
-
session: better_auth0.Session & Record<string, any>;
|
|
604
|
-
user: packages_core_dist_db.User & Record<string, any>;
|
|
605
|
-
}, {
|
|
606
|
-
code?: string;
|
|
607
|
-
message?: string;
|
|
608
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
609
|
-
};
|
|
610
|
-
} & {
|
|
611
|
-
admin: {
|
|
612
|
-
revokeUserSession: <FetchOptions extends {
|
|
613
|
-
method?: string | undefined;
|
|
614
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
615
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
616
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
617
|
-
authorization: "Bearer" | "Basic";
|
|
618
|
-
})) | undefined;
|
|
619
|
-
credentials?: RequestCredentials | undefined;
|
|
620
|
-
mode?: RequestMode | undefined;
|
|
621
|
-
signal?: (AbortSignal | null) | undefined;
|
|
622
|
-
cache?: RequestCache | undefined;
|
|
623
|
-
integrity?: string | undefined;
|
|
624
|
-
keepalive?: boolean | undefined;
|
|
625
|
-
priority?: RequestPriority | undefined;
|
|
626
|
-
redirect?: RequestRedirect | undefined;
|
|
627
|
-
referrer?: string | undefined;
|
|
628
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
629
|
-
window?: null | undefined;
|
|
630
|
-
next?: NextFetchRequestConfig | undefined;
|
|
631
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
632
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
633
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
634
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
635
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
636
|
-
hookOptions?: {
|
|
637
|
-
cloneResponse?: boolean;
|
|
638
|
-
} | undefined;
|
|
639
|
-
timeout?: number | undefined;
|
|
640
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
641
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
642
|
-
baseURL?: string | undefined;
|
|
643
|
-
throw?: boolean | undefined;
|
|
644
|
-
auth?: ({
|
|
645
|
-
type: "Bearer";
|
|
646
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
647
|
-
} | {
|
|
648
|
-
type: "Basic";
|
|
649
|
-
username: string | (() => string | undefined) | undefined;
|
|
650
|
-
password: string | (() => string | undefined) | undefined;
|
|
651
|
-
} | {
|
|
652
|
-
type: "Custom";
|
|
653
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
654
|
-
value: string | (() => string | undefined) | undefined;
|
|
655
|
-
}) | undefined;
|
|
656
|
-
body?: (Partial<{
|
|
657
|
-
sessionToken: string;
|
|
658
|
-
}> & Record<string, any>) | undefined;
|
|
659
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
660
|
-
params?: Record<string, any> | undefined;
|
|
661
|
-
duplex?: "full" | "half" | undefined;
|
|
662
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
663
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
664
|
-
retryAttempt?: number | undefined;
|
|
665
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
666
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
667
|
-
disableValidation?: boolean | undefined;
|
|
668
|
-
}>(data_0: better_auth0.Prettify<{
|
|
669
|
-
sessionToken: string;
|
|
670
|
-
} & {
|
|
671
|
-
fetchOptions?: FetchOptions | undefined;
|
|
672
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
673
|
-
success: boolean;
|
|
674
|
-
}, {
|
|
675
|
-
code?: string;
|
|
676
|
-
message?: string;
|
|
677
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
678
|
-
};
|
|
679
|
-
} & {
|
|
680
|
-
admin: {
|
|
681
|
-
revokeUserSessions: <FetchOptions extends {
|
|
682
|
-
method?: string | undefined;
|
|
683
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
684
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
685
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
686
|
-
authorization: "Bearer" | "Basic";
|
|
687
|
-
})) | undefined;
|
|
688
|
-
credentials?: RequestCredentials | undefined;
|
|
689
|
-
mode?: RequestMode | undefined;
|
|
690
|
-
signal?: (AbortSignal | null) | undefined;
|
|
691
|
-
cache?: RequestCache | undefined;
|
|
692
|
-
integrity?: string | undefined;
|
|
693
|
-
keepalive?: boolean | undefined;
|
|
694
|
-
priority?: RequestPriority | undefined;
|
|
695
|
-
redirect?: RequestRedirect | undefined;
|
|
696
|
-
referrer?: string | undefined;
|
|
697
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
698
|
-
window?: null | undefined;
|
|
699
|
-
next?: NextFetchRequestConfig | undefined;
|
|
700
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
701
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
702
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
703
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
704
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
705
|
-
hookOptions?: {
|
|
706
|
-
cloneResponse?: boolean;
|
|
707
|
-
} | undefined;
|
|
708
|
-
timeout?: number | undefined;
|
|
709
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
710
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
711
|
-
baseURL?: string | undefined;
|
|
712
|
-
throw?: boolean | undefined;
|
|
713
|
-
auth?: ({
|
|
714
|
-
type: "Bearer";
|
|
715
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
716
|
-
} | {
|
|
717
|
-
type: "Basic";
|
|
718
|
-
username: string | (() => string | undefined) | undefined;
|
|
719
|
-
password: string | (() => string | undefined) | undefined;
|
|
720
|
-
} | {
|
|
721
|
-
type: "Custom";
|
|
722
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
723
|
-
value: string | (() => string | undefined) | undefined;
|
|
724
|
-
}) | undefined;
|
|
725
|
-
body?: (Partial<{
|
|
726
|
-
userId: unknown;
|
|
727
|
-
}> & Record<string, any>) | undefined;
|
|
728
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
729
|
-
params?: Record<string, any> | undefined;
|
|
730
|
-
duplex?: "full" | "half" | undefined;
|
|
731
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
732
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
733
|
-
retryAttempt?: number | undefined;
|
|
734
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
735
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
736
|
-
disableValidation?: boolean | undefined;
|
|
737
|
-
}>(data_0: better_auth0.Prettify<{
|
|
738
|
-
userId: unknown;
|
|
739
|
-
} & {
|
|
740
|
-
fetchOptions?: FetchOptions | undefined;
|
|
741
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
742
|
-
success: boolean;
|
|
743
|
-
}, {
|
|
744
|
-
code?: string;
|
|
745
|
-
message?: string;
|
|
746
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
747
|
-
};
|
|
748
|
-
} & {
|
|
749
|
-
admin: {
|
|
750
|
-
removeUser: <FetchOptions extends {
|
|
751
|
-
method?: string | undefined;
|
|
752
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
753
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
754
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
755
|
-
authorization: "Bearer" | "Basic";
|
|
756
|
-
})) | undefined;
|
|
757
|
-
credentials?: RequestCredentials | undefined;
|
|
758
|
-
mode?: RequestMode | undefined;
|
|
759
|
-
signal?: (AbortSignal | null) | undefined;
|
|
760
|
-
cache?: RequestCache | undefined;
|
|
761
|
-
integrity?: string | undefined;
|
|
762
|
-
keepalive?: boolean | undefined;
|
|
763
|
-
priority?: RequestPriority | undefined;
|
|
764
|
-
redirect?: RequestRedirect | undefined;
|
|
765
|
-
referrer?: string | undefined;
|
|
766
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
767
|
-
window?: null | undefined;
|
|
768
|
-
next?: NextFetchRequestConfig | undefined;
|
|
769
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
770
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
771
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
772
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
773
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
774
|
-
hookOptions?: {
|
|
775
|
-
cloneResponse?: boolean;
|
|
776
|
-
} | undefined;
|
|
777
|
-
timeout?: number | undefined;
|
|
778
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
779
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
780
|
-
baseURL?: string | undefined;
|
|
781
|
-
throw?: boolean | undefined;
|
|
782
|
-
auth?: ({
|
|
783
|
-
type: "Bearer";
|
|
784
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
785
|
-
} | {
|
|
786
|
-
type: "Basic";
|
|
787
|
-
username: string | (() => string | undefined) | undefined;
|
|
788
|
-
password: string | (() => string | undefined) | undefined;
|
|
789
|
-
} | {
|
|
790
|
-
type: "Custom";
|
|
791
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
792
|
-
value: string | (() => string | undefined) | undefined;
|
|
793
|
-
}) | undefined;
|
|
794
|
-
body?: (Partial<{
|
|
795
|
-
userId: unknown;
|
|
796
|
-
}> & Record<string, any>) | undefined;
|
|
797
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
798
|
-
params?: Record<string, any> | undefined;
|
|
799
|
-
duplex?: "full" | "half" | undefined;
|
|
800
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
801
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
802
|
-
retryAttempt?: number | undefined;
|
|
803
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
804
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
805
|
-
disableValidation?: boolean | undefined;
|
|
806
|
-
}>(data_0: better_auth0.Prettify<{
|
|
807
|
-
userId: unknown;
|
|
808
|
-
} & {
|
|
809
|
-
fetchOptions?: FetchOptions | undefined;
|
|
810
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
811
|
-
success: boolean;
|
|
812
|
-
}, {
|
|
813
|
-
code?: string;
|
|
814
|
-
message?: string;
|
|
815
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
816
|
-
};
|
|
817
|
-
} & {
|
|
818
|
-
admin: {
|
|
819
|
-
setUserPassword: <FetchOptions extends {
|
|
820
|
-
method?: string | undefined;
|
|
821
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
822
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
823
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
824
|
-
authorization: "Bearer" | "Basic";
|
|
825
|
-
})) | undefined;
|
|
826
|
-
credentials?: RequestCredentials | undefined;
|
|
827
|
-
mode?: RequestMode | undefined;
|
|
828
|
-
signal?: (AbortSignal | null) | undefined;
|
|
829
|
-
cache?: RequestCache | undefined;
|
|
830
|
-
integrity?: string | undefined;
|
|
831
|
-
keepalive?: boolean | undefined;
|
|
832
|
-
priority?: RequestPriority | undefined;
|
|
833
|
-
redirect?: RequestRedirect | undefined;
|
|
834
|
-
referrer?: string | undefined;
|
|
835
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
836
|
-
window?: null | undefined;
|
|
837
|
-
next?: NextFetchRequestConfig | undefined;
|
|
838
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
839
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
840
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
841
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
842
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
843
|
-
hookOptions?: {
|
|
844
|
-
cloneResponse?: boolean;
|
|
845
|
-
} | undefined;
|
|
846
|
-
timeout?: number | undefined;
|
|
847
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
848
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
849
|
-
baseURL?: string | undefined;
|
|
850
|
-
throw?: boolean | undefined;
|
|
851
|
-
auth?: ({
|
|
852
|
-
type: "Bearer";
|
|
853
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
854
|
-
} | {
|
|
855
|
-
type: "Basic";
|
|
856
|
-
username: string | (() => string | undefined) | undefined;
|
|
857
|
-
password: string | (() => string | undefined) | undefined;
|
|
858
|
-
} | {
|
|
859
|
-
type: "Custom";
|
|
860
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
861
|
-
value: string | (() => string | undefined) | undefined;
|
|
862
|
-
}) | undefined;
|
|
863
|
-
body?: (Partial<{
|
|
864
|
-
newPassword: string;
|
|
865
|
-
userId: unknown;
|
|
866
|
-
}> & Record<string, any>) | undefined;
|
|
867
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
868
|
-
params?: Record<string, any> | undefined;
|
|
869
|
-
duplex?: "full" | "half" | undefined;
|
|
870
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
871
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
872
|
-
retryAttempt?: number | undefined;
|
|
873
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
874
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
875
|
-
disableValidation?: boolean | undefined;
|
|
876
|
-
}>(data_0: better_auth0.Prettify<{
|
|
877
|
-
newPassword: string;
|
|
878
|
-
userId: unknown;
|
|
879
|
-
} & {
|
|
880
|
-
fetchOptions?: FetchOptions | undefined;
|
|
881
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
882
|
-
status: boolean;
|
|
883
|
-
}, {
|
|
884
|
-
code?: string;
|
|
885
|
-
message?: string;
|
|
886
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
887
|
-
};
|
|
888
|
-
} & {
|
|
889
|
-
emailOtp: {
|
|
890
|
-
checkVerificationOtp: <FetchOptions extends {
|
|
891
|
-
method?: string | undefined;
|
|
892
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
893
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
894
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
895
|
-
authorization: "Bearer" | "Basic";
|
|
896
|
-
})) | undefined;
|
|
897
|
-
credentials?: RequestCredentials | undefined;
|
|
898
|
-
mode?: RequestMode | undefined;
|
|
899
|
-
signal?: (AbortSignal | null) | undefined;
|
|
900
|
-
cache?: RequestCache | undefined;
|
|
901
|
-
integrity?: string | undefined;
|
|
902
|
-
keepalive?: boolean | undefined;
|
|
903
|
-
priority?: RequestPriority | undefined;
|
|
904
|
-
redirect?: RequestRedirect | undefined;
|
|
905
|
-
referrer?: string | undefined;
|
|
906
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
907
|
-
window?: null | undefined;
|
|
908
|
-
next?: NextFetchRequestConfig | undefined;
|
|
909
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
910
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
911
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
912
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
913
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
914
|
-
hookOptions?: {
|
|
915
|
-
cloneResponse?: boolean;
|
|
916
|
-
} | undefined;
|
|
917
|
-
timeout?: number | undefined;
|
|
918
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
919
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
920
|
-
baseURL?: string | undefined;
|
|
921
|
-
throw?: boolean | undefined;
|
|
922
|
-
auth?: ({
|
|
923
|
-
type: "Bearer";
|
|
924
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
925
|
-
} | {
|
|
926
|
-
type: "Basic";
|
|
927
|
-
username: string | (() => string | undefined) | undefined;
|
|
928
|
-
password: string | (() => string | undefined) | undefined;
|
|
929
|
-
} | {
|
|
930
|
-
type: "Custom";
|
|
931
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
932
|
-
value: string | (() => string | undefined) | undefined;
|
|
933
|
-
}) | undefined;
|
|
934
|
-
body?: (Partial<{
|
|
935
|
-
email: string;
|
|
936
|
-
type: "sign-in" | "forget-password" | "email-verification";
|
|
937
|
-
otp: string;
|
|
938
|
-
}> & Record<string, any>) | undefined;
|
|
939
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
940
|
-
params?: Record<string, any> | undefined;
|
|
941
|
-
duplex?: "full" | "half" | undefined;
|
|
942
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
943
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
944
|
-
retryAttempt?: number | undefined;
|
|
945
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
946
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
947
|
-
disableValidation?: boolean | undefined;
|
|
948
|
-
}>(data_0: better_auth0.Prettify<{
|
|
949
|
-
email: string;
|
|
950
|
-
type: "sign-in" | "forget-password" | "email-verification";
|
|
951
|
-
otp: string;
|
|
952
|
-
} & {
|
|
953
|
-
fetchOptions?: FetchOptions | undefined;
|
|
954
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
955
|
-
success: boolean;
|
|
956
|
-
}, {
|
|
957
|
-
code?: string;
|
|
958
|
-
message?: string;
|
|
959
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
960
|
-
};
|
|
961
|
-
} & {
|
|
962
|
-
emailOtp: {
|
|
963
|
-
verifyEmail: <FetchOptions extends {
|
|
964
|
-
method?: string | undefined;
|
|
965
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
966
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
967
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
968
|
-
authorization: "Bearer" | "Basic";
|
|
969
|
-
})) | undefined;
|
|
970
|
-
credentials?: RequestCredentials | undefined;
|
|
971
|
-
mode?: RequestMode | undefined;
|
|
972
|
-
signal?: (AbortSignal | null) | undefined;
|
|
973
|
-
cache?: RequestCache | undefined;
|
|
974
|
-
integrity?: string | undefined;
|
|
975
|
-
keepalive?: boolean | undefined;
|
|
976
|
-
priority?: RequestPriority | undefined;
|
|
977
|
-
redirect?: RequestRedirect | undefined;
|
|
978
|
-
referrer?: string | undefined;
|
|
979
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
980
|
-
window?: null | undefined;
|
|
981
|
-
next?: NextFetchRequestConfig | undefined;
|
|
982
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
983
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
984
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
985
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
986
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
987
|
-
hookOptions?: {
|
|
988
|
-
cloneResponse?: boolean;
|
|
989
|
-
} | undefined;
|
|
990
|
-
timeout?: number | undefined;
|
|
991
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
992
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
993
|
-
baseURL?: string | undefined;
|
|
994
|
-
throw?: boolean | undefined;
|
|
995
|
-
auth?: ({
|
|
996
|
-
type: "Bearer";
|
|
997
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
998
|
-
} | {
|
|
999
|
-
type: "Basic";
|
|
1000
|
-
username: string | (() => string | undefined) | undefined;
|
|
1001
|
-
password: string | (() => string | undefined) | undefined;
|
|
1002
|
-
} | {
|
|
1003
|
-
type: "Custom";
|
|
1004
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1005
|
-
value: string | (() => string | undefined) | undefined;
|
|
1006
|
-
}) | undefined;
|
|
1007
|
-
body?: (Partial<{
|
|
1008
|
-
email: string;
|
|
1009
|
-
otp: string;
|
|
1010
|
-
}> & Record<string, any>) | undefined;
|
|
1011
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1012
|
-
params?: Record<string, any> | undefined;
|
|
1013
|
-
duplex?: "full" | "half" | undefined;
|
|
1014
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1015
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1016
|
-
retryAttempt?: number | undefined;
|
|
1017
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1018
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1019
|
-
disableValidation?: boolean | undefined;
|
|
1020
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1021
|
-
email: string;
|
|
1022
|
-
otp: string;
|
|
1023
|
-
} & {
|
|
1024
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1025
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<{
|
|
1026
|
-
status: boolean;
|
|
1027
|
-
token: string;
|
|
1028
|
-
user: {
|
|
1029
|
-
id: any;
|
|
1030
|
-
email: any;
|
|
1031
|
-
emailVerified: any;
|
|
1032
|
-
name: any;
|
|
1033
|
-
image: any;
|
|
1034
|
-
createdAt: any;
|
|
1035
|
-
updatedAt: any;
|
|
1036
|
-
};
|
|
1037
|
-
} | {
|
|
1038
|
-
status: boolean;
|
|
1039
|
-
token: null;
|
|
1040
|
-
user: {
|
|
1041
|
-
id: any;
|
|
1042
|
-
email: any;
|
|
1043
|
-
emailVerified: any;
|
|
1044
|
-
name: any;
|
|
1045
|
-
image: any;
|
|
1046
|
-
createdAt: any;
|
|
1047
|
-
updatedAt: any;
|
|
1048
|
-
};
|
|
1049
|
-
}>, {
|
|
1050
|
-
code?: string;
|
|
1051
|
-
message?: string;
|
|
1052
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1053
|
-
};
|
|
1054
|
-
} & {
|
|
1055
|
-
signIn: {
|
|
1056
|
-
emailOtp: <FetchOptions extends {
|
|
1057
|
-
method?: string | undefined;
|
|
1058
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1059
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1060
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1061
|
-
authorization: "Bearer" | "Basic";
|
|
1062
|
-
})) | undefined;
|
|
1063
|
-
credentials?: RequestCredentials | undefined;
|
|
1064
|
-
mode?: RequestMode | undefined;
|
|
1065
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1066
|
-
cache?: RequestCache | undefined;
|
|
1067
|
-
integrity?: string | undefined;
|
|
1068
|
-
keepalive?: boolean | undefined;
|
|
1069
|
-
priority?: RequestPriority | undefined;
|
|
1070
|
-
redirect?: RequestRedirect | undefined;
|
|
1071
|
-
referrer?: string | undefined;
|
|
1072
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1073
|
-
window?: null | undefined;
|
|
1074
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1075
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1076
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1077
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1078
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1079
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1080
|
-
hookOptions?: {
|
|
1081
|
-
cloneResponse?: boolean;
|
|
1082
|
-
} | undefined;
|
|
1083
|
-
timeout?: number | undefined;
|
|
1084
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1085
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1086
|
-
baseURL?: string | undefined;
|
|
1087
|
-
throw?: boolean | undefined;
|
|
1088
|
-
auth?: ({
|
|
1089
|
-
type: "Bearer";
|
|
1090
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1091
|
-
} | {
|
|
1092
|
-
type: "Basic";
|
|
1093
|
-
username: string | (() => string | undefined) | undefined;
|
|
1094
|
-
password: string | (() => string | undefined) | undefined;
|
|
1095
|
-
} | {
|
|
1096
|
-
type: "Custom";
|
|
1097
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1098
|
-
value: string | (() => string | undefined) | undefined;
|
|
1099
|
-
}) | undefined;
|
|
1100
|
-
body?: (Partial<{
|
|
1101
|
-
email: string;
|
|
1102
|
-
otp: string;
|
|
1103
|
-
}> & Record<string, any>) | undefined;
|
|
1104
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1105
|
-
params?: Record<string, any> | undefined;
|
|
1106
|
-
duplex?: "full" | "half" | undefined;
|
|
1107
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1108
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1109
|
-
retryAttempt?: number | undefined;
|
|
1110
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1111
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1112
|
-
disableValidation?: boolean | undefined;
|
|
1113
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1114
|
-
email: string;
|
|
1115
|
-
otp: string;
|
|
1116
|
-
} & {
|
|
1117
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1118
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1119
|
-
token: string;
|
|
1120
|
-
user: {
|
|
1121
|
-
id: string;
|
|
1122
|
-
email: string;
|
|
1123
|
-
emailVerified: boolean;
|
|
1124
|
-
name: string;
|
|
1125
|
-
image: string | null | undefined;
|
|
1126
|
-
createdAt: Date;
|
|
1127
|
-
updatedAt: Date;
|
|
1128
|
-
};
|
|
1129
|
-
}, {
|
|
1130
|
-
code?: string;
|
|
1131
|
-
message?: string;
|
|
1132
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1133
|
-
};
|
|
1134
|
-
} & {
|
|
1135
|
-
forgetPassword: {
|
|
1136
|
-
emailOtp: <FetchOptions extends {
|
|
1137
|
-
method?: string | undefined;
|
|
1138
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1139
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1140
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1141
|
-
authorization: "Bearer" | "Basic";
|
|
1142
|
-
})) | undefined;
|
|
1143
|
-
credentials?: RequestCredentials | undefined;
|
|
1144
|
-
mode?: RequestMode | undefined;
|
|
1145
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1146
|
-
cache?: RequestCache | undefined;
|
|
1147
|
-
integrity?: string | undefined;
|
|
1148
|
-
keepalive?: boolean | undefined;
|
|
1149
|
-
priority?: RequestPriority | undefined;
|
|
1150
|
-
redirect?: RequestRedirect | undefined;
|
|
1151
|
-
referrer?: string | undefined;
|
|
1152
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1153
|
-
window?: null | undefined;
|
|
1154
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1155
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1156
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1157
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1158
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1159
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1160
|
-
hookOptions?: {
|
|
1161
|
-
cloneResponse?: boolean;
|
|
1162
|
-
} | undefined;
|
|
1163
|
-
timeout?: number | undefined;
|
|
1164
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1165
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1166
|
-
baseURL?: string | undefined;
|
|
1167
|
-
throw?: boolean | undefined;
|
|
1168
|
-
auth?: ({
|
|
1169
|
-
type: "Bearer";
|
|
1170
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1171
|
-
} | {
|
|
1172
|
-
type: "Basic";
|
|
1173
|
-
username: string | (() => string | undefined) | undefined;
|
|
1174
|
-
password: string | (() => string | undefined) | undefined;
|
|
1175
|
-
} | {
|
|
1176
|
-
type: "Custom";
|
|
1177
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1178
|
-
value: string | (() => string | undefined) | undefined;
|
|
1179
|
-
}) | undefined;
|
|
1180
|
-
body?: (Partial<{
|
|
1181
|
-
email: string;
|
|
1182
|
-
}> & Record<string, any>) | undefined;
|
|
1183
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1184
|
-
params?: Record<string, any> | undefined;
|
|
1185
|
-
duplex?: "full" | "half" | undefined;
|
|
1186
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1187
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1188
|
-
retryAttempt?: number | undefined;
|
|
1189
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1190
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1191
|
-
disableValidation?: boolean | undefined;
|
|
1192
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1193
|
-
email: string;
|
|
1194
|
-
} & {
|
|
1195
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1196
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1197
|
-
success: boolean;
|
|
1198
|
-
}, {
|
|
1199
|
-
code?: string;
|
|
1200
|
-
message?: string;
|
|
1201
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1202
|
-
};
|
|
1203
|
-
} & {
|
|
1204
|
-
emailOtp: {
|
|
1205
|
-
resetPassword: <FetchOptions extends {
|
|
1206
|
-
method?: string | undefined;
|
|
1207
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1208
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1209
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1210
|
-
authorization: "Bearer" | "Basic";
|
|
1211
|
-
})) | undefined;
|
|
1212
|
-
credentials?: RequestCredentials | undefined;
|
|
1213
|
-
mode?: RequestMode | undefined;
|
|
1214
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1215
|
-
cache?: RequestCache | undefined;
|
|
1216
|
-
integrity?: string | undefined;
|
|
1217
|
-
keepalive?: boolean | undefined;
|
|
1218
|
-
priority?: RequestPriority | undefined;
|
|
1219
|
-
redirect?: RequestRedirect | undefined;
|
|
1220
|
-
referrer?: string | undefined;
|
|
1221
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1222
|
-
window?: null | undefined;
|
|
1223
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1224
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1225
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1226
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1227
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1228
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1229
|
-
hookOptions?: {
|
|
1230
|
-
cloneResponse?: boolean;
|
|
1231
|
-
} | undefined;
|
|
1232
|
-
timeout?: number | undefined;
|
|
1233
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1234
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1235
|
-
baseURL?: string | undefined;
|
|
1236
|
-
throw?: boolean | undefined;
|
|
1237
|
-
auth?: ({
|
|
1238
|
-
type: "Bearer";
|
|
1239
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1240
|
-
} | {
|
|
1241
|
-
type: "Basic";
|
|
1242
|
-
username: string | (() => string | undefined) | undefined;
|
|
1243
|
-
password: string | (() => string | undefined) | undefined;
|
|
1244
|
-
} | {
|
|
1245
|
-
type: "Custom";
|
|
1246
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1247
|
-
value: string | (() => string | undefined) | undefined;
|
|
1248
|
-
}) | undefined;
|
|
1249
|
-
body?: (Partial<{
|
|
1250
|
-
email: string;
|
|
1251
|
-
otp: string;
|
|
1252
|
-
password: string;
|
|
1253
|
-
}> & Record<string, any>) | undefined;
|
|
1254
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1255
|
-
params?: Record<string, any> | undefined;
|
|
1256
|
-
duplex?: "full" | "half" | undefined;
|
|
1257
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1258
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1259
|
-
retryAttempt?: number | undefined;
|
|
1260
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1261
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1262
|
-
disableValidation?: boolean | undefined;
|
|
1263
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1264
|
-
email: string;
|
|
1265
|
-
otp: string;
|
|
1266
|
-
password: string;
|
|
1267
|
-
} & {
|
|
1268
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1269
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1270
|
-
success: boolean;
|
|
1271
|
-
}, {
|
|
1272
|
-
code?: string;
|
|
1273
|
-
message?: string;
|
|
1274
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1275
|
-
};
|
|
1276
|
-
} & {
|
|
1277
|
-
emailOtp: {
|
|
1278
|
-
sendVerificationOtp: <FetchOptions extends {
|
|
1279
|
-
method?: string | undefined;
|
|
1280
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1281
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1282
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1283
|
-
authorization: "Bearer" | "Basic";
|
|
1284
|
-
})) | undefined;
|
|
1285
|
-
credentials?: RequestCredentials | undefined;
|
|
1286
|
-
mode?: RequestMode | undefined;
|
|
1287
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1288
|
-
cache?: RequestCache | undefined;
|
|
1289
|
-
integrity?: string | undefined;
|
|
1290
|
-
keepalive?: boolean | undefined;
|
|
1291
|
-
priority?: RequestPriority | undefined;
|
|
1292
|
-
redirect?: RequestRedirect | undefined;
|
|
1293
|
-
referrer?: string | undefined;
|
|
1294
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1295
|
-
window?: null | undefined;
|
|
1296
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1297
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1298
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1299
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1300
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1301
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1302
|
-
hookOptions?: {
|
|
1303
|
-
cloneResponse?: boolean;
|
|
1304
|
-
} | undefined;
|
|
1305
|
-
timeout?: number | undefined;
|
|
1306
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1307
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1308
|
-
baseURL?: string | undefined;
|
|
1309
|
-
throw?: boolean | undefined;
|
|
1310
|
-
auth?: ({
|
|
1311
|
-
type: "Bearer";
|
|
1312
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1313
|
-
} | {
|
|
1314
|
-
type: "Basic";
|
|
1315
|
-
username: string | (() => string | undefined) | undefined;
|
|
1316
|
-
password: string | (() => string | undefined) | undefined;
|
|
1317
|
-
} | {
|
|
1318
|
-
type: "Custom";
|
|
1319
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1320
|
-
value: string | (() => string | undefined) | undefined;
|
|
1321
|
-
}) | undefined;
|
|
1322
|
-
body?: (Partial<{
|
|
1323
|
-
email: string;
|
|
1324
|
-
type: "sign-in" | "forget-password" | "email-verification";
|
|
1325
|
-
}> & Record<string, any>) | undefined;
|
|
1326
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1327
|
-
params?: Record<string, any> | undefined;
|
|
1328
|
-
duplex?: "full" | "half" | undefined;
|
|
1329
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1330
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1331
|
-
retryAttempt?: number | undefined;
|
|
1332
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1333
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1334
|
-
disableValidation?: boolean | undefined;
|
|
1335
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1336
|
-
email: string;
|
|
1337
|
-
type: "sign-in" | "forget-password" | "email-verification";
|
|
1338
|
-
} & {
|
|
1339
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1340
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1341
|
-
success: boolean;
|
|
1342
|
-
}, {
|
|
1343
|
-
code?: string;
|
|
1344
|
-
message?: string;
|
|
1345
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1346
|
-
};
|
|
1347
|
-
} & {
|
|
1348
|
-
signIn: {
|
|
1349
|
-
social: <FetchOptions extends {
|
|
1350
|
-
method?: string | undefined;
|
|
1351
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1352
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1353
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1354
|
-
authorization: "Bearer" | "Basic";
|
|
1355
|
-
})) | undefined;
|
|
1356
|
-
credentials?: RequestCredentials | undefined;
|
|
1357
|
-
mode?: RequestMode | undefined;
|
|
1358
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1359
|
-
cache?: RequestCache | undefined;
|
|
1360
|
-
integrity?: string | undefined;
|
|
1361
|
-
keepalive?: boolean | undefined;
|
|
1362
|
-
priority?: RequestPriority | undefined;
|
|
1363
|
-
redirect?: RequestRedirect | undefined;
|
|
1364
|
-
referrer?: string | undefined;
|
|
1365
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1366
|
-
window?: null | undefined;
|
|
1367
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1368
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1369
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1370
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1371
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1372
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1373
|
-
hookOptions?: {
|
|
1374
|
-
cloneResponse?: boolean;
|
|
1375
|
-
} | undefined;
|
|
1376
|
-
timeout?: number | undefined;
|
|
1377
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1378
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1379
|
-
baseURL?: string | undefined;
|
|
1380
|
-
throw?: boolean | undefined;
|
|
1381
|
-
auth?: ({
|
|
1382
|
-
type: "Bearer";
|
|
1383
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1384
|
-
} | {
|
|
1385
|
-
type: "Basic";
|
|
1386
|
-
username: string | (() => string | undefined) | undefined;
|
|
1387
|
-
password: string | (() => string | undefined) | undefined;
|
|
1388
|
-
} | {
|
|
1389
|
-
type: "Custom";
|
|
1390
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1391
|
-
value: string | (() => string | undefined) | undefined;
|
|
1392
|
-
}) | undefined;
|
|
1393
|
-
body?: (Partial<{
|
|
1394
|
-
provider: unknown;
|
|
1395
|
-
callbackURL?: string | undefined;
|
|
1396
|
-
newUserCallbackURL?: string | undefined;
|
|
1397
|
-
errorCallbackURL?: string | undefined;
|
|
1398
|
-
disableRedirect?: boolean | undefined;
|
|
1399
|
-
idToken?: {
|
|
1400
|
-
token: string;
|
|
1401
|
-
nonce?: string | undefined;
|
|
1402
|
-
accessToken?: string | undefined;
|
|
1403
|
-
refreshToken?: string | undefined;
|
|
1404
|
-
expiresAt?: number | undefined;
|
|
1405
|
-
} | undefined;
|
|
1406
|
-
scopes?: string[] | undefined;
|
|
1407
|
-
requestSignUp?: boolean | undefined;
|
|
1408
|
-
loginHint?: string | undefined;
|
|
1409
|
-
}> & Record<string, any>) | undefined;
|
|
1410
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1411
|
-
params?: Record<string, any> | undefined;
|
|
1412
|
-
duplex?: "full" | "half" | undefined;
|
|
1413
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1414
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1415
|
-
retryAttempt?: number | undefined;
|
|
1416
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1417
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1418
|
-
disableValidation?: boolean | undefined;
|
|
1419
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1420
|
-
provider: unknown;
|
|
1421
|
-
callbackURL?: string | undefined;
|
|
1422
|
-
newUserCallbackURL?: string | undefined;
|
|
1423
|
-
errorCallbackURL?: string | undefined;
|
|
1424
|
-
disableRedirect?: boolean | undefined;
|
|
1425
|
-
idToken?: {
|
|
1426
|
-
token: string;
|
|
1427
|
-
nonce?: string | undefined;
|
|
1428
|
-
accessToken?: string | undefined;
|
|
1429
|
-
refreshToken?: string | undefined;
|
|
1430
|
-
expiresAt?: number | undefined;
|
|
1431
|
-
} | undefined;
|
|
1432
|
-
scopes?: string[] | undefined;
|
|
1433
|
-
requestSignUp?: boolean | undefined;
|
|
1434
|
-
loginHint?: string | undefined;
|
|
1435
|
-
} & {
|
|
1436
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1437
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<{
|
|
1438
|
-
redirect: boolean;
|
|
1439
|
-
token: string;
|
|
1440
|
-
url: undefined;
|
|
1441
|
-
user: {
|
|
1442
|
-
id: string;
|
|
1443
|
-
email: string;
|
|
1444
|
-
name: string;
|
|
1445
|
-
image: string | null | undefined;
|
|
1446
|
-
emailVerified: boolean;
|
|
1447
|
-
createdAt: Date;
|
|
1448
|
-
updatedAt: Date;
|
|
1449
|
-
};
|
|
1450
|
-
} | {
|
|
1451
|
-
url: string;
|
|
1452
|
-
redirect: boolean;
|
|
1453
|
-
}>, {
|
|
1454
|
-
code?: string;
|
|
1455
|
-
message?: string;
|
|
1456
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1457
|
-
};
|
|
1458
|
-
} & {
|
|
1459
|
-
signOut: <FetchOptions extends {
|
|
1460
|
-
method?: string | undefined;
|
|
1461
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1462
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1463
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1464
|
-
authorization: "Bearer" | "Basic";
|
|
1465
|
-
})) | undefined;
|
|
1466
|
-
credentials?: RequestCredentials | undefined;
|
|
1467
|
-
mode?: RequestMode | undefined;
|
|
1468
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1469
|
-
cache?: RequestCache | undefined;
|
|
1470
|
-
integrity?: string | undefined;
|
|
1471
|
-
keepalive?: boolean | undefined;
|
|
1472
|
-
priority?: RequestPriority | undefined;
|
|
1473
|
-
redirect?: RequestRedirect | undefined;
|
|
1474
|
-
referrer?: string | undefined;
|
|
1475
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1476
|
-
window?: null | undefined;
|
|
1477
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1478
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1479
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1480
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1481
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1482
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1483
|
-
hookOptions?: {
|
|
1484
|
-
cloneResponse?: boolean;
|
|
1485
|
-
} | undefined;
|
|
1486
|
-
timeout?: number | undefined;
|
|
1487
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1488
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1489
|
-
baseURL?: string | undefined;
|
|
1490
|
-
throw?: boolean | undefined;
|
|
1491
|
-
auth?: ({
|
|
1492
|
-
type: "Bearer";
|
|
1493
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1494
|
-
} | {
|
|
1495
|
-
type: "Basic";
|
|
1496
|
-
username: string | (() => string | undefined) | undefined;
|
|
1497
|
-
password: string | (() => string | undefined) | undefined;
|
|
1498
|
-
} | {
|
|
1499
|
-
type: "Custom";
|
|
1500
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1501
|
-
value: string | (() => string | undefined) | undefined;
|
|
1502
|
-
}) | undefined;
|
|
1503
|
-
body?: undefined;
|
|
1504
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1505
|
-
params?: Record<string, any> | undefined;
|
|
1506
|
-
duplex?: "full" | "half" | undefined;
|
|
1507
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1508
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1509
|
-
retryAttempt?: number | undefined;
|
|
1510
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1511
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1512
|
-
disableValidation?: boolean | undefined;
|
|
1513
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
1514
|
-
query?: Record<string, any> | undefined;
|
|
1515
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1516
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1517
|
-
success: boolean;
|
|
1518
|
-
}, {
|
|
1519
|
-
code?: string;
|
|
1520
|
-
message?: string;
|
|
1521
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1522
|
-
} & {
|
|
1523
|
-
signIn: {
|
|
1524
|
-
email: <FetchOptions extends {
|
|
1525
|
-
method?: string | undefined;
|
|
1526
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1527
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1528
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1529
|
-
authorization: "Bearer" | "Basic";
|
|
1530
|
-
})) | undefined;
|
|
1531
|
-
credentials?: RequestCredentials | undefined;
|
|
1532
|
-
mode?: RequestMode | undefined;
|
|
1533
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1534
|
-
cache?: RequestCache | undefined;
|
|
1535
|
-
integrity?: string | undefined;
|
|
1536
|
-
keepalive?: boolean | undefined;
|
|
1537
|
-
priority?: RequestPriority | undefined;
|
|
1538
|
-
redirect?: RequestRedirect | undefined;
|
|
1539
|
-
referrer?: string | undefined;
|
|
1540
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1541
|
-
window?: null | undefined;
|
|
1542
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1543
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1544
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1545
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1546
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1547
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1548
|
-
hookOptions?: {
|
|
1549
|
-
cloneResponse?: boolean;
|
|
1550
|
-
} | undefined;
|
|
1551
|
-
timeout?: number | undefined;
|
|
1552
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1553
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1554
|
-
baseURL?: string | undefined;
|
|
1555
|
-
throw?: boolean | undefined;
|
|
1556
|
-
auth?: ({
|
|
1557
|
-
type: "Bearer";
|
|
1558
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1559
|
-
} | {
|
|
1560
|
-
type: "Basic";
|
|
1561
|
-
username: string | (() => string | undefined) | undefined;
|
|
1562
|
-
password: string | (() => string | undefined) | undefined;
|
|
1563
|
-
} | {
|
|
1564
|
-
type: "Custom";
|
|
1565
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1566
|
-
value: string | (() => string | undefined) | undefined;
|
|
1567
|
-
}) | undefined;
|
|
1568
|
-
body?: (Partial<{
|
|
1569
|
-
email: string;
|
|
1570
|
-
password: string;
|
|
1571
|
-
callbackURL?: string | undefined;
|
|
1572
|
-
rememberMe?: boolean | undefined;
|
|
1573
|
-
}> & Record<string, any>) | undefined;
|
|
1574
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1575
|
-
params?: Record<string, any> | undefined;
|
|
1576
|
-
duplex?: "full" | "half" | undefined;
|
|
1577
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1578
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1579
|
-
retryAttempt?: number | undefined;
|
|
1580
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1581
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1582
|
-
disableValidation?: boolean | undefined;
|
|
1583
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1584
|
-
email: string;
|
|
1585
|
-
password: string;
|
|
1586
|
-
callbackURL?: string | undefined;
|
|
1587
|
-
rememberMe?: boolean | undefined;
|
|
1588
|
-
} & {
|
|
1589
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1590
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1591
|
-
redirect: boolean;
|
|
1592
|
-
token: string;
|
|
1593
|
-
url: string | undefined;
|
|
1594
|
-
user: {
|
|
1595
|
-
id: string;
|
|
1596
|
-
email: string;
|
|
1597
|
-
name: string;
|
|
1598
|
-
image: string | null | undefined;
|
|
1599
|
-
emailVerified: boolean;
|
|
1600
|
-
createdAt: Date;
|
|
1601
|
-
updatedAt: Date;
|
|
1602
|
-
};
|
|
1603
|
-
}, {
|
|
1604
|
-
code?: string;
|
|
1605
|
-
message?: string;
|
|
1606
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1607
|
-
};
|
|
1608
|
-
} & {
|
|
1609
|
-
forgetPassword: <FetchOptions extends {
|
|
1610
|
-
method?: string | undefined;
|
|
1611
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1612
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1613
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1614
|
-
authorization: "Bearer" | "Basic";
|
|
1615
|
-
})) | undefined;
|
|
1616
|
-
credentials?: RequestCredentials | undefined;
|
|
1617
|
-
mode?: RequestMode | undefined;
|
|
1618
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1619
|
-
cache?: RequestCache | undefined;
|
|
1620
|
-
integrity?: string | undefined;
|
|
1621
|
-
keepalive?: boolean | undefined;
|
|
1622
|
-
priority?: RequestPriority | undefined;
|
|
1623
|
-
redirect?: RequestRedirect | undefined;
|
|
1624
|
-
referrer?: string | undefined;
|
|
1625
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1626
|
-
window?: null | undefined;
|
|
1627
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1628
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1629
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1630
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1631
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1632
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1633
|
-
hookOptions?: {
|
|
1634
|
-
cloneResponse?: boolean;
|
|
1635
|
-
} | undefined;
|
|
1636
|
-
timeout?: number | undefined;
|
|
1637
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1638
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1639
|
-
baseURL?: string | undefined;
|
|
1640
|
-
throw?: boolean | undefined;
|
|
1641
|
-
auth?: ({
|
|
1642
|
-
type: "Bearer";
|
|
1643
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1644
|
-
} | {
|
|
1645
|
-
type: "Basic";
|
|
1646
|
-
username: string | (() => string | undefined) | undefined;
|
|
1647
|
-
password: string | (() => string | undefined) | undefined;
|
|
1648
|
-
} | {
|
|
1649
|
-
type: "Custom";
|
|
1650
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1651
|
-
value: string | (() => string | undefined) | undefined;
|
|
1652
|
-
}) | undefined;
|
|
1653
|
-
body?: (Partial<{
|
|
1654
|
-
email: string;
|
|
1655
|
-
redirectTo?: string | undefined;
|
|
1656
|
-
}> & Record<string, any>) | undefined;
|
|
1657
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1658
|
-
params?: Record<string, any> | undefined;
|
|
1659
|
-
duplex?: "full" | "half" | undefined;
|
|
1660
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1661
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1662
|
-
retryAttempt?: number | undefined;
|
|
1663
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1664
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1665
|
-
disableValidation?: boolean | undefined;
|
|
1666
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1667
|
-
email: string;
|
|
1668
|
-
redirectTo?: string | undefined;
|
|
1669
|
-
} & {
|
|
1670
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1671
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1672
|
-
status: boolean;
|
|
1673
|
-
}, {
|
|
1674
|
-
code?: string;
|
|
1675
|
-
message?: string;
|
|
1676
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1677
|
-
} & {
|
|
1678
|
-
resetPassword: <FetchOptions extends {
|
|
1679
|
-
method?: string | undefined;
|
|
1680
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1681
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1682
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1683
|
-
authorization: "Bearer" | "Basic";
|
|
1684
|
-
})) | undefined;
|
|
1685
|
-
credentials?: RequestCredentials | undefined;
|
|
1686
|
-
mode?: RequestMode | undefined;
|
|
1687
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1688
|
-
cache?: RequestCache | undefined;
|
|
1689
|
-
integrity?: string | undefined;
|
|
1690
|
-
keepalive?: boolean | undefined;
|
|
1691
|
-
priority?: RequestPriority | undefined;
|
|
1692
|
-
redirect?: RequestRedirect | undefined;
|
|
1693
|
-
referrer?: string | undefined;
|
|
1694
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1695
|
-
window?: null | undefined;
|
|
1696
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1697
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1698
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1699
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1700
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1701
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1702
|
-
hookOptions?: {
|
|
1703
|
-
cloneResponse?: boolean;
|
|
1704
|
-
} | undefined;
|
|
1705
|
-
timeout?: number | undefined;
|
|
1706
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1707
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1708
|
-
baseURL?: string | undefined;
|
|
1709
|
-
throw?: boolean | undefined;
|
|
1710
|
-
auth?: ({
|
|
1711
|
-
type: "Bearer";
|
|
1712
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1713
|
-
} | {
|
|
1714
|
-
type: "Basic";
|
|
1715
|
-
username: string | (() => string | undefined) | undefined;
|
|
1716
|
-
password: string | (() => string | undefined) | undefined;
|
|
1717
|
-
} | {
|
|
1718
|
-
type: "Custom";
|
|
1719
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1720
|
-
value: string | (() => string | undefined) | undefined;
|
|
1721
|
-
}) | undefined;
|
|
1722
|
-
body?: (Partial<{
|
|
1723
|
-
newPassword: string;
|
|
1724
|
-
token?: string | undefined;
|
|
1725
|
-
}> & Record<string, any>) | undefined;
|
|
1726
|
-
query?: (Partial<{
|
|
1727
|
-
token?: string | undefined;
|
|
1728
|
-
}> & Record<string, any>) | undefined;
|
|
1729
|
-
params?: Record<string, any> | undefined;
|
|
1730
|
-
duplex?: "full" | "half" | undefined;
|
|
1731
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1732
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1733
|
-
retryAttempt?: number | undefined;
|
|
1734
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1735
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1736
|
-
disableValidation?: boolean | undefined;
|
|
1737
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1738
|
-
newPassword: string;
|
|
1739
|
-
token?: string | undefined;
|
|
1740
|
-
} & {
|
|
1741
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1742
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1743
|
-
status: boolean;
|
|
1744
|
-
}, {
|
|
1745
|
-
code?: string;
|
|
1746
|
-
message?: string;
|
|
1747
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1748
|
-
} & {
|
|
1749
|
-
verifyEmail: <FetchOptions extends {
|
|
1750
|
-
method?: string | undefined;
|
|
1751
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1752
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1753
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1754
|
-
authorization: "Bearer" | "Basic";
|
|
1755
|
-
})) | undefined;
|
|
1756
|
-
credentials?: RequestCredentials | undefined;
|
|
1757
|
-
mode?: RequestMode | undefined;
|
|
1758
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1759
|
-
cache?: RequestCache | undefined;
|
|
1760
|
-
integrity?: string | undefined;
|
|
1761
|
-
keepalive?: boolean | undefined;
|
|
1762
|
-
priority?: RequestPriority | undefined;
|
|
1763
|
-
redirect?: RequestRedirect | undefined;
|
|
1764
|
-
referrer?: string | undefined;
|
|
1765
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1766
|
-
window?: null | undefined;
|
|
1767
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1768
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1769
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1770
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1771
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1772
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1773
|
-
hookOptions?: {
|
|
1774
|
-
cloneResponse?: boolean;
|
|
1775
|
-
} | undefined;
|
|
1776
|
-
timeout?: number | undefined;
|
|
1777
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1778
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1779
|
-
baseURL?: string | undefined;
|
|
1780
|
-
throw?: boolean | undefined;
|
|
1781
|
-
auth?: ({
|
|
1782
|
-
type: "Bearer";
|
|
1783
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1784
|
-
} | {
|
|
1785
|
-
type: "Basic";
|
|
1786
|
-
username: string | (() => string | undefined) | undefined;
|
|
1787
|
-
password: string | (() => string | undefined) | undefined;
|
|
1788
|
-
} | {
|
|
1789
|
-
type: "Custom";
|
|
1790
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1791
|
-
value: string | (() => string | undefined) | undefined;
|
|
1792
|
-
}) | undefined;
|
|
1793
|
-
body?: undefined;
|
|
1794
|
-
query?: (Partial<{
|
|
1795
|
-
token: string;
|
|
1796
|
-
callbackURL?: string | undefined;
|
|
1797
|
-
}> & Record<string, any>) | undefined;
|
|
1798
|
-
params?: Record<string, any> | undefined;
|
|
1799
|
-
duplex?: "full" | "half" | undefined;
|
|
1800
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1801
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1802
|
-
retryAttempt?: number | undefined;
|
|
1803
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1804
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1805
|
-
disableValidation?: boolean | undefined;
|
|
1806
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1807
|
-
query: {
|
|
1808
|
-
token: string;
|
|
1809
|
-
callbackURL?: string | undefined;
|
|
1810
|
-
};
|
|
1811
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1812
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<void | {
|
|
1813
|
-
status: boolean;
|
|
1814
|
-
user: {
|
|
1815
|
-
id: any;
|
|
1816
|
-
email: any;
|
|
1817
|
-
name: any;
|
|
1818
|
-
image: any;
|
|
1819
|
-
emailVerified: any;
|
|
1820
|
-
createdAt: any;
|
|
1821
|
-
updatedAt: any;
|
|
1822
|
-
};
|
|
1823
|
-
} | {
|
|
1824
|
-
status: boolean;
|
|
1825
|
-
user: null;
|
|
1826
|
-
}>, {
|
|
1827
|
-
code?: string;
|
|
1828
|
-
message?: string;
|
|
1829
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1830
|
-
} & {
|
|
1831
|
-
sendVerificationEmail: <FetchOptions extends {
|
|
1832
|
-
method?: string | undefined;
|
|
1833
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1834
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1835
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1836
|
-
authorization: "Bearer" | "Basic";
|
|
1837
|
-
})) | undefined;
|
|
1838
|
-
credentials?: RequestCredentials | undefined;
|
|
1839
|
-
mode?: RequestMode | undefined;
|
|
1840
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1841
|
-
cache?: RequestCache | undefined;
|
|
1842
|
-
integrity?: string | undefined;
|
|
1843
|
-
keepalive?: boolean | undefined;
|
|
1844
|
-
priority?: RequestPriority | undefined;
|
|
1845
|
-
redirect?: RequestRedirect | undefined;
|
|
1846
|
-
referrer?: string | undefined;
|
|
1847
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1848
|
-
window?: null | undefined;
|
|
1849
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1850
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1851
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1852
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1853
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1854
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1855
|
-
hookOptions?: {
|
|
1856
|
-
cloneResponse?: boolean;
|
|
1857
|
-
} | undefined;
|
|
1858
|
-
timeout?: number | undefined;
|
|
1859
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1860
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1861
|
-
baseURL?: string | undefined;
|
|
1862
|
-
throw?: boolean | undefined;
|
|
1863
|
-
auth?: ({
|
|
1864
|
-
type: "Bearer";
|
|
1865
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1866
|
-
} | {
|
|
1867
|
-
type: "Basic";
|
|
1868
|
-
username: string | (() => string | undefined) | undefined;
|
|
1869
|
-
password: string | (() => string | undefined) | undefined;
|
|
1870
|
-
} | {
|
|
1871
|
-
type: "Custom";
|
|
1872
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1873
|
-
value: string | (() => string | undefined) | undefined;
|
|
1874
|
-
}) | undefined;
|
|
1875
|
-
body?: (Partial<{
|
|
1876
|
-
email: string;
|
|
1877
|
-
callbackURL?: string | undefined;
|
|
1878
|
-
}> & Record<string, any>) | undefined;
|
|
1879
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1880
|
-
params?: Record<string, any> | undefined;
|
|
1881
|
-
duplex?: "full" | "half" | undefined;
|
|
1882
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1883
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1884
|
-
retryAttempt?: number | undefined;
|
|
1885
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1886
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1887
|
-
disableValidation?: boolean | undefined;
|
|
1888
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1889
|
-
email: string;
|
|
1890
|
-
callbackURL?: string | undefined;
|
|
1891
|
-
} & {
|
|
1892
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1893
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1894
|
-
status: boolean;
|
|
1895
|
-
}, {
|
|
1896
|
-
code?: string;
|
|
1897
|
-
message?: string;
|
|
1898
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1899
|
-
} & {
|
|
1900
|
-
changeEmail: <FetchOptions extends {
|
|
1901
|
-
method?: string | undefined;
|
|
1902
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1903
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1904
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1905
|
-
authorization: "Bearer" | "Basic";
|
|
1906
|
-
})) | undefined;
|
|
1907
|
-
credentials?: RequestCredentials | undefined;
|
|
1908
|
-
mode?: RequestMode | undefined;
|
|
1909
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1910
|
-
cache?: RequestCache | undefined;
|
|
1911
|
-
integrity?: string | undefined;
|
|
1912
|
-
keepalive?: boolean | undefined;
|
|
1913
|
-
priority?: RequestPriority | undefined;
|
|
1914
|
-
redirect?: RequestRedirect | undefined;
|
|
1915
|
-
referrer?: string | undefined;
|
|
1916
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1917
|
-
window?: null | undefined;
|
|
1918
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1919
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1920
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1921
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1922
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1923
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1924
|
-
hookOptions?: {
|
|
1925
|
-
cloneResponse?: boolean;
|
|
1926
|
-
} | undefined;
|
|
1927
|
-
timeout?: number | undefined;
|
|
1928
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1929
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1930
|
-
baseURL?: string | undefined;
|
|
1931
|
-
throw?: boolean | undefined;
|
|
1932
|
-
auth?: ({
|
|
1933
|
-
type: "Bearer";
|
|
1934
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
1935
|
-
} | {
|
|
1936
|
-
type: "Basic";
|
|
1937
|
-
username: string | (() => string | undefined) | undefined;
|
|
1938
|
-
password: string | (() => string | undefined) | undefined;
|
|
1939
|
-
} | {
|
|
1940
|
-
type: "Custom";
|
|
1941
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
1942
|
-
value: string | (() => string | undefined) | undefined;
|
|
1943
|
-
}) | undefined;
|
|
1944
|
-
body?: (Partial<{
|
|
1945
|
-
newEmail: string;
|
|
1946
|
-
callbackURL?: string | undefined;
|
|
1947
|
-
}> & Record<string, any>) | undefined;
|
|
1948
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
1949
|
-
params?: Record<string, any> | undefined;
|
|
1950
|
-
duplex?: "full" | "half" | undefined;
|
|
1951
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
1952
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
1953
|
-
retryAttempt?: number | undefined;
|
|
1954
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
1955
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
1956
|
-
disableValidation?: boolean | undefined;
|
|
1957
|
-
}>(data_0: better_auth0.Prettify<{
|
|
1958
|
-
newEmail: string;
|
|
1959
|
-
callbackURL?: string | undefined;
|
|
1960
|
-
} & {
|
|
1961
|
-
fetchOptions?: FetchOptions | undefined;
|
|
1962
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
1963
|
-
status: boolean;
|
|
1964
|
-
}, {
|
|
1965
|
-
code?: string;
|
|
1966
|
-
message?: string;
|
|
1967
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1968
|
-
} & {
|
|
1969
|
-
changePassword: <FetchOptions extends {
|
|
1970
|
-
method?: string | undefined;
|
|
1971
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
1972
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
1973
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
1974
|
-
authorization: "Bearer" | "Basic";
|
|
1975
|
-
})) | undefined;
|
|
1976
|
-
credentials?: RequestCredentials | undefined;
|
|
1977
|
-
mode?: RequestMode | undefined;
|
|
1978
|
-
signal?: (AbortSignal | null) | undefined;
|
|
1979
|
-
cache?: RequestCache | undefined;
|
|
1980
|
-
integrity?: string | undefined;
|
|
1981
|
-
keepalive?: boolean | undefined;
|
|
1982
|
-
priority?: RequestPriority | undefined;
|
|
1983
|
-
redirect?: RequestRedirect | undefined;
|
|
1984
|
-
referrer?: string | undefined;
|
|
1985
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1986
|
-
window?: null | undefined;
|
|
1987
|
-
next?: NextFetchRequestConfig | undefined;
|
|
1988
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
1989
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
1990
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
1991
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
1992
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
1993
|
-
hookOptions?: {
|
|
1994
|
-
cloneResponse?: boolean;
|
|
1995
|
-
} | undefined;
|
|
1996
|
-
timeout?: number | undefined;
|
|
1997
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
1998
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
1999
|
-
baseURL?: string | undefined;
|
|
2000
|
-
throw?: boolean | undefined;
|
|
2001
|
-
auth?: ({
|
|
2002
|
-
type: "Bearer";
|
|
2003
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2004
|
-
} | {
|
|
2005
|
-
type: "Basic";
|
|
2006
|
-
username: string | (() => string | undefined) | undefined;
|
|
2007
|
-
password: string | (() => string | undefined) | undefined;
|
|
2008
|
-
} | {
|
|
2009
|
-
type: "Custom";
|
|
2010
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2011
|
-
value: string | (() => string | undefined) | undefined;
|
|
2012
|
-
}) | undefined;
|
|
2013
|
-
body?: (Partial<{
|
|
2014
|
-
newPassword: string;
|
|
2015
|
-
currentPassword: string;
|
|
2016
|
-
revokeOtherSessions?: boolean | undefined;
|
|
2017
|
-
}> & Record<string, any>) | undefined;
|
|
2018
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2019
|
-
params?: Record<string, any> | undefined;
|
|
2020
|
-
duplex?: "full" | "half" | undefined;
|
|
2021
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2022
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2023
|
-
retryAttempt?: number | undefined;
|
|
2024
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2025
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2026
|
-
disableValidation?: boolean | undefined;
|
|
2027
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2028
|
-
newPassword: string;
|
|
2029
|
-
currentPassword: string;
|
|
2030
|
-
revokeOtherSessions?: boolean | undefined;
|
|
2031
|
-
} & {
|
|
2032
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2033
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2034
|
-
token: string | null;
|
|
2035
|
-
user: {
|
|
2036
|
-
id: string;
|
|
2037
|
-
email: string;
|
|
2038
|
-
name: string;
|
|
2039
|
-
image: string | null | undefined;
|
|
2040
|
-
emailVerified: boolean;
|
|
2041
|
-
createdAt: Date;
|
|
2042
|
-
updatedAt: Date;
|
|
2043
|
-
};
|
|
2044
|
-
}, {
|
|
2045
|
-
code?: string;
|
|
2046
|
-
message?: string;
|
|
2047
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2048
|
-
} & {
|
|
2049
|
-
deleteUser: <FetchOptions extends {
|
|
2050
|
-
method?: string | undefined;
|
|
2051
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2052
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2053
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2054
|
-
authorization: "Bearer" | "Basic";
|
|
2055
|
-
})) | undefined;
|
|
2056
|
-
credentials?: RequestCredentials | undefined;
|
|
2057
|
-
mode?: RequestMode | undefined;
|
|
2058
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2059
|
-
cache?: RequestCache | undefined;
|
|
2060
|
-
integrity?: string | undefined;
|
|
2061
|
-
keepalive?: boolean | undefined;
|
|
2062
|
-
priority?: RequestPriority | undefined;
|
|
2063
|
-
redirect?: RequestRedirect | undefined;
|
|
2064
|
-
referrer?: string | undefined;
|
|
2065
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2066
|
-
window?: null | undefined;
|
|
2067
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2068
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2069
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2070
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2071
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2072
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2073
|
-
hookOptions?: {
|
|
2074
|
-
cloneResponse?: boolean;
|
|
2075
|
-
} | undefined;
|
|
2076
|
-
timeout?: number | undefined;
|
|
2077
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2078
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2079
|
-
baseURL?: string | undefined;
|
|
2080
|
-
throw?: boolean | undefined;
|
|
2081
|
-
auth?: ({
|
|
2082
|
-
type: "Bearer";
|
|
2083
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2084
|
-
} | {
|
|
2085
|
-
type: "Basic";
|
|
2086
|
-
username: string | (() => string | undefined) | undefined;
|
|
2087
|
-
password: string | (() => string | undefined) | undefined;
|
|
2088
|
-
} | {
|
|
2089
|
-
type: "Custom";
|
|
2090
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2091
|
-
value: string | (() => string | undefined) | undefined;
|
|
2092
|
-
}) | undefined;
|
|
2093
|
-
body?: (Partial<{
|
|
2094
|
-
callbackURL?: string | undefined;
|
|
2095
|
-
password?: string | undefined;
|
|
2096
|
-
token?: string | undefined;
|
|
2097
|
-
}> & Record<string, any>) | undefined;
|
|
2098
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2099
|
-
params?: Record<string, any> | undefined;
|
|
2100
|
-
duplex?: "full" | "half" | undefined;
|
|
2101
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2102
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2103
|
-
retryAttempt?: number | undefined;
|
|
2104
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2105
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2106
|
-
disableValidation?: boolean | undefined;
|
|
2107
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
2108
|
-
callbackURL?: string | undefined;
|
|
2109
|
-
password?: string | undefined;
|
|
2110
|
-
token?: string | undefined;
|
|
2111
|
-
} & {
|
|
2112
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2113
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2114
|
-
success: boolean;
|
|
2115
|
-
message: string;
|
|
2116
|
-
}, {
|
|
2117
|
-
code?: string;
|
|
2118
|
-
message?: string;
|
|
2119
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2120
|
-
} & {
|
|
2121
|
-
resetPassword: {
|
|
2122
|
-
":token": <FetchOptions extends {
|
|
2123
|
-
method?: string | undefined;
|
|
2124
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2125
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2126
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2127
|
-
authorization: "Bearer" | "Basic";
|
|
2128
|
-
})) | undefined;
|
|
2129
|
-
credentials?: RequestCredentials | undefined;
|
|
2130
|
-
mode?: RequestMode | undefined;
|
|
2131
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2132
|
-
cache?: RequestCache | undefined;
|
|
2133
|
-
integrity?: string | undefined;
|
|
2134
|
-
keepalive?: boolean | undefined;
|
|
2135
|
-
priority?: RequestPriority | undefined;
|
|
2136
|
-
redirect?: RequestRedirect | undefined;
|
|
2137
|
-
referrer?: string | undefined;
|
|
2138
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2139
|
-
window?: null | undefined;
|
|
2140
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2141
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2142
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2143
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2144
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2145
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2146
|
-
hookOptions?: {
|
|
2147
|
-
cloneResponse?: boolean;
|
|
2148
|
-
} | undefined;
|
|
2149
|
-
timeout?: number | undefined;
|
|
2150
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2151
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2152
|
-
baseURL?: string | undefined;
|
|
2153
|
-
throw?: boolean | undefined;
|
|
2154
|
-
auth?: ({
|
|
2155
|
-
type: "Bearer";
|
|
2156
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2157
|
-
} | {
|
|
2158
|
-
type: "Basic";
|
|
2159
|
-
username: string | (() => string | undefined) | undefined;
|
|
2160
|
-
password: string | (() => string | undefined) | undefined;
|
|
2161
|
-
} | {
|
|
2162
|
-
type: "Custom";
|
|
2163
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2164
|
-
value: string | (() => string | undefined) | undefined;
|
|
2165
|
-
}) | undefined;
|
|
2166
|
-
body?: undefined;
|
|
2167
|
-
query?: (Partial<{
|
|
2168
|
-
callbackURL: string;
|
|
2169
|
-
}> & Record<string, any>) | undefined;
|
|
2170
|
-
params?: {
|
|
2171
|
-
token: string;
|
|
2172
|
-
} | undefined;
|
|
2173
|
-
duplex?: "full" | "half" | undefined;
|
|
2174
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2175
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2176
|
-
retryAttempt?: number | undefined;
|
|
2177
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2178
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2179
|
-
disableValidation?: boolean | undefined;
|
|
2180
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2181
|
-
query: {
|
|
2182
|
-
callbackURL: string;
|
|
2183
|
-
};
|
|
2184
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2185
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<never, {
|
|
2186
|
-
code?: string;
|
|
2187
|
-
message?: string;
|
|
2188
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2189
|
-
};
|
|
2190
|
-
} & {
|
|
2191
|
-
requestPasswordReset: <FetchOptions extends {
|
|
2192
|
-
method?: string | undefined;
|
|
2193
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2194
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2195
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2196
|
-
authorization: "Bearer" | "Basic";
|
|
2197
|
-
})) | undefined;
|
|
2198
|
-
credentials?: RequestCredentials | undefined;
|
|
2199
|
-
mode?: RequestMode | undefined;
|
|
2200
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2201
|
-
cache?: RequestCache | undefined;
|
|
2202
|
-
integrity?: string | undefined;
|
|
2203
|
-
keepalive?: boolean | undefined;
|
|
2204
|
-
priority?: RequestPriority | undefined;
|
|
2205
|
-
redirect?: RequestRedirect | undefined;
|
|
2206
|
-
referrer?: string | undefined;
|
|
2207
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2208
|
-
window?: null | undefined;
|
|
2209
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2210
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2211
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2212
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2213
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2214
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2215
|
-
hookOptions?: {
|
|
2216
|
-
cloneResponse?: boolean;
|
|
2217
|
-
} | undefined;
|
|
2218
|
-
timeout?: number | undefined;
|
|
2219
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2220
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2221
|
-
baseURL?: string | undefined;
|
|
2222
|
-
throw?: boolean | undefined;
|
|
2223
|
-
auth?: ({
|
|
2224
|
-
type: "Bearer";
|
|
2225
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2226
|
-
} | {
|
|
2227
|
-
type: "Basic";
|
|
2228
|
-
username: string | (() => string | undefined) | undefined;
|
|
2229
|
-
password: string | (() => string | undefined) | undefined;
|
|
2230
|
-
} | {
|
|
2231
|
-
type: "Custom";
|
|
2232
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2233
|
-
value: string | (() => string | undefined) | undefined;
|
|
2234
|
-
}) | undefined;
|
|
2235
|
-
body?: (Partial<{
|
|
2236
|
-
email: string;
|
|
2237
|
-
redirectTo?: string | undefined;
|
|
2238
|
-
}> & Record<string, any>) | undefined;
|
|
2239
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2240
|
-
params?: Record<string, any> | undefined;
|
|
2241
|
-
duplex?: "full" | "half" | undefined;
|
|
2242
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2243
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2244
|
-
retryAttempt?: number | undefined;
|
|
2245
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2246
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2247
|
-
disableValidation?: boolean | undefined;
|
|
2248
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2249
|
-
email: string;
|
|
2250
|
-
redirectTo?: string | undefined;
|
|
2251
|
-
} & {
|
|
2252
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2253
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2254
|
-
status: boolean;
|
|
2255
|
-
message: string;
|
|
2256
|
-
}, {
|
|
2257
|
-
code?: string;
|
|
2258
|
-
message?: string;
|
|
2259
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2260
|
-
} & {
|
|
2261
|
-
resetPassword: {
|
|
2262
|
-
":token": <FetchOptions extends {
|
|
2263
|
-
method?: string | undefined;
|
|
2264
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2265
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2266
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2267
|
-
authorization: "Bearer" | "Basic";
|
|
2268
|
-
})) | undefined;
|
|
2269
|
-
credentials?: RequestCredentials | undefined;
|
|
2270
|
-
mode?: RequestMode | undefined;
|
|
2271
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2272
|
-
cache?: RequestCache | undefined;
|
|
2273
|
-
integrity?: string | undefined;
|
|
2274
|
-
keepalive?: boolean | undefined;
|
|
2275
|
-
priority?: RequestPriority | undefined;
|
|
2276
|
-
redirect?: RequestRedirect | undefined;
|
|
2277
|
-
referrer?: string | undefined;
|
|
2278
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2279
|
-
window?: null | undefined;
|
|
2280
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2281
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2282
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2283
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2284
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2285
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2286
|
-
hookOptions?: {
|
|
2287
|
-
cloneResponse?: boolean;
|
|
2288
|
-
} | undefined;
|
|
2289
|
-
timeout?: number | undefined;
|
|
2290
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2291
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2292
|
-
baseURL?: string | undefined;
|
|
2293
|
-
throw?: boolean | undefined;
|
|
2294
|
-
auth?: ({
|
|
2295
|
-
type: "Bearer";
|
|
2296
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2297
|
-
} | {
|
|
2298
|
-
type: "Basic";
|
|
2299
|
-
username: string | (() => string | undefined) | undefined;
|
|
2300
|
-
password: string | (() => string | undefined) | undefined;
|
|
2301
|
-
} | {
|
|
2302
|
-
type: "Custom";
|
|
2303
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2304
|
-
value: string | (() => string | undefined) | undefined;
|
|
2305
|
-
}) | undefined;
|
|
2306
|
-
body?: undefined;
|
|
2307
|
-
query?: (Partial<{
|
|
2308
|
-
callbackURL: string;
|
|
2309
|
-
}> & Record<string, any>) | undefined;
|
|
2310
|
-
params?: {
|
|
2311
|
-
token: string;
|
|
2312
|
-
} | undefined;
|
|
2313
|
-
duplex?: "full" | "half" | undefined;
|
|
2314
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2315
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2316
|
-
retryAttempt?: number | undefined;
|
|
2317
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2318
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2319
|
-
disableValidation?: boolean | undefined;
|
|
2320
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2321
|
-
query: {
|
|
2322
|
-
callbackURL: string;
|
|
2323
|
-
};
|
|
2324
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2325
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<never, {
|
|
2326
|
-
code?: string;
|
|
2327
|
-
message?: string;
|
|
2328
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2329
|
-
};
|
|
2330
|
-
} & {
|
|
2331
|
-
revokeSession: <FetchOptions extends {
|
|
2332
|
-
method?: string | undefined;
|
|
2333
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2334
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2335
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2336
|
-
authorization: "Bearer" | "Basic";
|
|
2337
|
-
})) | undefined;
|
|
2338
|
-
credentials?: RequestCredentials | undefined;
|
|
2339
|
-
mode?: RequestMode | undefined;
|
|
2340
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2341
|
-
cache?: RequestCache | undefined;
|
|
2342
|
-
integrity?: string | undefined;
|
|
2343
|
-
keepalive?: boolean | undefined;
|
|
2344
|
-
priority?: RequestPriority | undefined;
|
|
2345
|
-
redirect?: RequestRedirect | undefined;
|
|
2346
|
-
referrer?: string | undefined;
|
|
2347
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2348
|
-
window?: null | undefined;
|
|
2349
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2350
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2351
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2352
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2353
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2354
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2355
|
-
hookOptions?: {
|
|
2356
|
-
cloneResponse?: boolean;
|
|
2357
|
-
} | undefined;
|
|
2358
|
-
timeout?: number | undefined;
|
|
2359
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2360
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2361
|
-
baseURL?: string | undefined;
|
|
2362
|
-
throw?: boolean | undefined;
|
|
2363
|
-
auth?: ({
|
|
2364
|
-
type: "Bearer";
|
|
2365
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2366
|
-
} | {
|
|
2367
|
-
type: "Basic";
|
|
2368
|
-
username: string | (() => string | undefined) | undefined;
|
|
2369
|
-
password: string | (() => string | undefined) | undefined;
|
|
2370
|
-
} | {
|
|
2371
|
-
type: "Custom";
|
|
2372
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2373
|
-
value: string | (() => string | undefined) | undefined;
|
|
2374
|
-
}) | undefined;
|
|
2375
|
-
body?: (Partial<{
|
|
2376
|
-
token: string;
|
|
2377
|
-
}> & Record<string, any>) | undefined;
|
|
2378
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2379
|
-
params?: Record<string, any> | undefined;
|
|
2380
|
-
duplex?: "full" | "half" | undefined;
|
|
2381
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2382
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2383
|
-
retryAttempt?: number | undefined;
|
|
2384
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2385
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2386
|
-
disableValidation?: boolean | undefined;
|
|
2387
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2388
|
-
token: string;
|
|
2389
|
-
} & {
|
|
2390
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2391
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2392
|
-
status: boolean;
|
|
2393
|
-
}, {
|
|
2394
|
-
code?: string;
|
|
2395
|
-
message?: string;
|
|
2396
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2397
|
-
} & {
|
|
2398
|
-
revokeSessions: <FetchOptions extends {
|
|
2399
|
-
method?: string | undefined;
|
|
2400
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2401
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2402
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2403
|
-
authorization: "Bearer" | "Basic";
|
|
2404
|
-
})) | undefined;
|
|
2405
|
-
credentials?: RequestCredentials | undefined;
|
|
2406
|
-
mode?: RequestMode | undefined;
|
|
2407
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2408
|
-
cache?: RequestCache | undefined;
|
|
2409
|
-
integrity?: string | undefined;
|
|
2410
|
-
keepalive?: boolean | undefined;
|
|
2411
|
-
priority?: RequestPriority | undefined;
|
|
2412
|
-
redirect?: RequestRedirect | undefined;
|
|
2413
|
-
referrer?: string | undefined;
|
|
2414
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2415
|
-
window?: null | undefined;
|
|
2416
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2417
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2418
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2419
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2420
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2421
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2422
|
-
hookOptions?: {
|
|
2423
|
-
cloneResponse?: boolean;
|
|
2424
|
-
} | undefined;
|
|
2425
|
-
timeout?: number | undefined;
|
|
2426
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2427
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2428
|
-
baseURL?: string | undefined;
|
|
2429
|
-
throw?: boolean | undefined;
|
|
2430
|
-
auth?: ({
|
|
2431
|
-
type: "Bearer";
|
|
2432
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2433
|
-
} | {
|
|
2434
|
-
type: "Basic";
|
|
2435
|
-
username: string | (() => string | undefined) | undefined;
|
|
2436
|
-
password: string | (() => string | undefined) | undefined;
|
|
2437
|
-
} | {
|
|
2438
|
-
type: "Custom";
|
|
2439
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2440
|
-
value: string | (() => string | undefined) | undefined;
|
|
2441
|
-
}) | undefined;
|
|
2442
|
-
body?: undefined;
|
|
2443
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2444
|
-
params?: Record<string, any> | undefined;
|
|
2445
|
-
duplex?: "full" | "half" | undefined;
|
|
2446
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2447
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2448
|
-
retryAttempt?: number | undefined;
|
|
2449
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2450
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2451
|
-
disableValidation?: boolean | undefined;
|
|
2452
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
2453
|
-
query?: Record<string, any> | undefined;
|
|
2454
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2455
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2456
|
-
status: boolean;
|
|
2457
|
-
}, {
|
|
2458
|
-
code?: string;
|
|
2459
|
-
message?: string;
|
|
2460
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2461
|
-
} & {
|
|
2462
|
-
revokeOtherSessions: <FetchOptions extends {
|
|
2463
|
-
method?: string | undefined;
|
|
2464
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2465
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2466
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2467
|
-
authorization: "Bearer" | "Basic";
|
|
2468
|
-
})) | undefined;
|
|
2469
|
-
credentials?: RequestCredentials | undefined;
|
|
2470
|
-
mode?: RequestMode | undefined;
|
|
2471
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2472
|
-
cache?: RequestCache | undefined;
|
|
2473
|
-
integrity?: string | undefined;
|
|
2474
|
-
keepalive?: boolean | undefined;
|
|
2475
|
-
priority?: RequestPriority | undefined;
|
|
2476
|
-
redirect?: RequestRedirect | undefined;
|
|
2477
|
-
referrer?: string | undefined;
|
|
2478
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2479
|
-
window?: null | undefined;
|
|
2480
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2481
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2482
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2483
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2484
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2485
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2486
|
-
hookOptions?: {
|
|
2487
|
-
cloneResponse?: boolean;
|
|
2488
|
-
} | undefined;
|
|
2489
|
-
timeout?: number | undefined;
|
|
2490
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2491
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2492
|
-
baseURL?: string | undefined;
|
|
2493
|
-
throw?: boolean | undefined;
|
|
2494
|
-
auth?: ({
|
|
2495
|
-
type: "Bearer";
|
|
2496
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2497
|
-
} | {
|
|
2498
|
-
type: "Basic";
|
|
2499
|
-
username: string | (() => string | undefined) | undefined;
|
|
2500
|
-
password: string | (() => string | undefined) | undefined;
|
|
2501
|
-
} | {
|
|
2502
|
-
type: "Custom";
|
|
2503
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2504
|
-
value: string | (() => string | undefined) | undefined;
|
|
2505
|
-
}) | undefined;
|
|
2506
|
-
body?: undefined;
|
|
2507
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2508
|
-
params?: Record<string, any> | undefined;
|
|
2509
|
-
duplex?: "full" | "half" | undefined;
|
|
2510
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2511
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2512
|
-
retryAttempt?: number | undefined;
|
|
2513
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2514
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2515
|
-
disableValidation?: boolean | undefined;
|
|
2516
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
2517
|
-
query?: Record<string, any> | undefined;
|
|
2518
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2519
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2520
|
-
status: boolean;
|
|
2521
|
-
}, {
|
|
2522
|
-
code?: string;
|
|
2523
|
-
message?: string;
|
|
2524
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2525
|
-
} & {
|
|
2526
|
-
linkSocial: <FetchOptions extends {
|
|
2527
|
-
method?: string | undefined;
|
|
2528
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2529
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2530
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2531
|
-
authorization: "Bearer" | "Basic";
|
|
2532
|
-
})) | undefined;
|
|
2533
|
-
credentials?: RequestCredentials | undefined;
|
|
2534
|
-
mode?: RequestMode | undefined;
|
|
2535
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2536
|
-
cache?: RequestCache | undefined;
|
|
2537
|
-
integrity?: string | undefined;
|
|
2538
|
-
keepalive?: boolean | undefined;
|
|
2539
|
-
priority?: RequestPriority | undefined;
|
|
2540
|
-
redirect?: RequestRedirect | undefined;
|
|
2541
|
-
referrer?: string | undefined;
|
|
2542
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2543
|
-
window?: null | undefined;
|
|
2544
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2545
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2546
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2547
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2548
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2549
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2550
|
-
hookOptions?: {
|
|
2551
|
-
cloneResponse?: boolean;
|
|
2552
|
-
} | undefined;
|
|
2553
|
-
timeout?: number | undefined;
|
|
2554
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2555
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2556
|
-
baseURL?: string | undefined;
|
|
2557
|
-
throw?: boolean | undefined;
|
|
2558
|
-
auth?: ({
|
|
2559
|
-
type: "Bearer";
|
|
2560
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2561
|
-
} | {
|
|
2562
|
-
type: "Basic";
|
|
2563
|
-
username: string | (() => string | undefined) | undefined;
|
|
2564
|
-
password: string | (() => string | undefined) | undefined;
|
|
2565
|
-
} | {
|
|
2566
|
-
type: "Custom";
|
|
2567
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2568
|
-
value: string | (() => string | undefined) | undefined;
|
|
2569
|
-
}) | undefined;
|
|
2570
|
-
body?: (Partial<{
|
|
2571
|
-
provider: unknown;
|
|
2572
|
-
callbackURL?: string | undefined;
|
|
2573
|
-
idToken?: {
|
|
2574
|
-
token: string;
|
|
2575
|
-
nonce?: string | undefined;
|
|
2576
|
-
accessToken?: string | undefined;
|
|
2577
|
-
refreshToken?: string | undefined;
|
|
2578
|
-
scopes?: string[] | undefined;
|
|
2579
|
-
} | undefined;
|
|
2580
|
-
requestSignUp?: boolean | undefined;
|
|
2581
|
-
scopes?: string[] | undefined;
|
|
2582
|
-
errorCallbackURL?: string | undefined;
|
|
2583
|
-
disableRedirect?: boolean | undefined;
|
|
2584
|
-
}> & Record<string, any>) | undefined;
|
|
2585
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2586
|
-
params?: Record<string, any> | undefined;
|
|
2587
|
-
duplex?: "full" | "half" | undefined;
|
|
2588
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2589
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2590
|
-
retryAttempt?: number | undefined;
|
|
2591
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2592
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2593
|
-
disableValidation?: boolean | undefined;
|
|
2594
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2595
|
-
provider: unknown;
|
|
2596
|
-
callbackURL?: string | undefined;
|
|
2597
|
-
idToken?: {
|
|
2598
|
-
token: string;
|
|
2599
|
-
nonce?: string | undefined;
|
|
2600
|
-
accessToken?: string | undefined;
|
|
2601
|
-
refreshToken?: string | undefined;
|
|
2602
|
-
scopes?: string[] | undefined;
|
|
2603
|
-
} | undefined;
|
|
2604
|
-
requestSignUp?: boolean | undefined;
|
|
2605
|
-
scopes?: string[] | undefined;
|
|
2606
|
-
errorCallbackURL?: string | undefined;
|
|
2607
|
-
disableRedirect?: boolean | undefined;
|
|
2608
|
-
} & {
|
|
2609
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2610
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2611
|
-
url: string;
|
|
2612
|
-
redirect: boolean;
|
|
2613
|
-
}, {
|
|
2614
|
-
code?: string;
|
|
2615
|
-
message?: string;
|
|
2616
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2617
|
-
} & {
|
|
2618
|
-
listAccounts: <FetchOptions extends {
|
|
2619
|
-
method?: string | undefined;
|
|
2620
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2621
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2622
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2623
|
-
authorization: "Bearer" | "Basic";
|
|
2624
|
-
})) | undefined;
|
|
2625
|
-
credentials?: RequestCredentials | undefined;
|
|
2626
|
-
mode?: RequestMode | undefined;
|
|
2627
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2628
|
-
cache?: RequestCache | undefined;
|
|
2629
|
-
integrity?: string | undefined;
|
|
2630
|
-
keepalive?: boolean | undefined;
|
|
2631
|
-
priority?: RequestPriority | undefined;
|
|
2632
|
-
redirect?: RequestRedirect | undefined;
|
|
2633
|
-
referrer?: string | undefined;
|
|
2634
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2635
|
-
window?: null | undefined;
|
|
2636
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2637
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2638
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2639
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2640
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2641
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2642
|
-
hookOptions?: {
|
|
2643
|
-
cloneResponse?: boolean;
|
|
2644
|
-
} | undefined;
|
|
2645
|
-
timeout?: number | undefined;
|
|
2646
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2647
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2648
|
-
baseURL?: string | undefined;
|
|
2649
|
-
throw?: boolean | undefined;
|
|
2650
|
-
auth?: ({
|
|
2651
|
-
type: "Bearer";
|
|
2652
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2653
|
-
} | {
|
|
2654
|
-
type: "Basic";
|
|
2655
|
-
username: string | (() => string | undefined) | undefined;
|
|
2656
|
-
password: string | (() => string | undefined) | undefined;
|
|
2657
|
-
} | {
|
|
2658
|
-
type: "Custom";
|
|
2659
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2660
|
-
value: string | (() => string | undefined) | undefined;
|
|
2661
|
-
}) | undefined;
|
|
2662
|
-
body?: undefined;
|
|
2663
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2664
|
-
params?: Record<string, any> | undefined;
|
|
2665
|
-
duplex?: "full" | "half" | undefined;
|
|
2666
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2667
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2668
|
-
retryAttempt?: number | undefined;
|
|
2669
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2670
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2671
|
-
disableValidation?: boolean | undefined;
|
|
2672
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
2673
|
-
query?: Record<string, any> | undefined;
|
|
2674
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2675
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2676
|
-
id: string;
|
|
2677
|
-
providerId: string;
|
|
2678
|
-
createdAt: Date;
|
|
2679
|
-
updatedAt: Date;
|
|
2680
|
-
accountId: string;
|
|
2681
|
-
scopes: string[];
|
|
2682
|
-
}[], {
|
|
2683
|
-
code?: string;
|
|
2684
|
-
message?: string;
|
|
2685
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2686
|
-
} & {
|
|
2687
|
-
deleteUser: {
|
|
2688
|
-
callback: <FetchOptions extends {
|
|
2689
|
-
method?: string | undefined;
|
|
2690
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2691
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2692
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2693
|
-
authorization: "Bearer" | "Basic";
|
|
2694
|
-
})) | undefined;
|
|
2695
|
-
credentials?: RequestCredentials | undefined;
|
|
2696
|
-
mode?: RequestMode | undefined;
|
|
2697
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2698
|
-
cache?: RequestCache | undefined;
|
|
2699
|
-
integrity?: string | undefined;
|
|
2700
|
-
keepalive?: boolean | undefined;
|
|
2701
|
-
priority?: RequestPriority | undefined;
|
|
2702
|
-
redirect?: RequestRedirect | undefined;
|
|
2703
|
-
referrer?: string | undefined;
|
|
2704
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2705
|
-
window?: null | undefined;
|
|
2706
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2707
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2708
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2709
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2710
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2711
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2712
|
-
hookOptions?: {
|
|
2713
|
-
cloneResponse?: boolean;
|
|
2714
|
-
} | undefined;
|
|
2715
|
-
timeout?: number | undefined;
|
|
2716
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2717
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2718
|
-
baseURL?: string | undefined;
|
|
2719
|
-
throw?: boolean | undefined;
|
|
2720
|
-
auth?: ({
|
|
2721
|
-
type: "Bearer";
|
|
2722
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2723
|
-
} | {
|
|
2724
|
-
type: "Basic";
|
|
2725
|
-
username: string | (() => string | undefined) | undefined;
|
|
2726
|
-
password: string | (() => string | undefined) | undefined;
|
|
2727
|
-
} | {
|
|
2728
|
-
type: "Custom";
|
|
2729
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2730
|
-
value: string | (() => string | undefined) | undefined;
|
|
2731
|
-
}) | undefined;
|
|
2732
|
-
body?: undefined;
|
|
2733
|
-
query?: (Partial<{
|
|
2734
|
-
token: string;
|
|
2735
|
-
callbackURL?: string | undefined;
|
|
2736
|
-
}> & Record<string, any>) | undefined;
|
|
2737
|
-
params?: Record<string, any> | undefined;
|
|
2738
|
-
duplex?: "full" | "half" | undefined;
|
|
2739
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2740
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2741
|
-
retryAttempt?: number | undefined;
|
|
2742
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2743
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2744
|
-
disableValidation?: boolean | undefined;
|
|
2745
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2746
|
-
query: {
|
|
2747
|
-
token: string;
|
|
2748
|
-
callbackURL?: string | undefined;
|
|
2749
|
-
};
|
|
2750
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2751
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2752
|
-
success: boolean;
|
|
2753
|
-
message: string;
|
|
2754
|
-
}, {
|
|
2755
|
-
code?: string;
|
|
2756
|
-
message?: string;
|
|
2757
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2758
|
-
};
|
|
2759
|
-
} & {
|
|
2760
|
-
unlinkAccount: <FetchOptions extends {
|
|
2761
|
-
method?: string | undefined;
|
|
2762
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2763
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2764
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2765
|
-
authorization: "Bearer" | "Basic";
|
|
2766
|
-
})) | undefined;
|
|
2767
|
-
credentials?: RequestCredentials | undefined;
|
|
2768
|
-
mode?: RequestMode | undefined;
|
|
2769
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2770
|
-
cache?: RequestCache | undefined;
|
|
2771
|
-
integrity?: string | undefined;
|
|
2772
|
-
keepalive?: boolean | undefined;
|
|
2773
|
-
priority?: RequestPriority | undefined;
|
|
2774
|
-
redirect?: RequestRedirect | undefined;
|
|
2775
|
-
referrer?: string | undefined;
|
|
2776
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2777
|
-
window?: null | undefined;
|
|
2778
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2779
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2780
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2781
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2782
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2783
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2784
|
-
hookOptions?: {
|
|
2785
|
-
cloneResponse?: boolean;
|
|
2786
|
-
} | undefined;
|
|
2787
|
-
timeout?: number | undefined;
|
|
2788
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2789
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2790
|
-
baseURL?: string | undefined;
|
|
2791
|
-
throw?: boolean | undefined;
|
|
2792
|
-
auth?: ({
|
|
2793
|
-
type: "Bearer";
|
|
2794
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2795
|
-
} | {
|
|
2796
|
-
type: "Basic";
|
|
2797
|
-
username: string | (() => string | undefined) | undefined;
|
|
2798
|
-
password: string | (() => string | undefined) | undefined;
|
|
2799
|
-
} | {
|
|
2800
|
-
type: "Custom";
|
|
2801
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2802
|
-
value: string | (() => string | undefined) | undefined;
|
|
2803
|
-
}) | undefined;
|
|
2804
|
-
body?: (Partial<{
|
|
2805
|
-
providerId: string;
|
|
2806
|
-
accountId?: string | undefined;
|
|
2807
|
-
}> & Record<string, any>) | undefined;
|
|
2808
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2809
|
-
params?: Record<string, any> | undefined;
|
|
2810
|
-
duplex?: "full" | "half" | undefined;
|
|
2811
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2812
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2813
|
-
retryAttempt?: number | undefined;
|
|
2814
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2815
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2816
|
-
disableValidation?: boolean | undefined;
|
|
2817
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2818
|
-
providerId: string;
|
|
2819
|
-
accountId?: string | undefined;
|
|
2820
|
-
} & {
|
|
2821
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2822
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2823
|
-
status: boolean;
|
|
2824
|
-
}, {
|
|
2825
|
-
code?: string;
|
|
2826
|
-
message?: string;
|
|
2827
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2828
|
-
} & {
|
|
2829
|
-
refreshToken: <FetchOptions extends {
|
|
2830
|
-
method?: string | undefined;
|
|
2831
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2832
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2833
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2834
|
-
authorization: "Bearer" | "Basic";
|
|
2835
|
-
})) | undefined;
|
|
2836
|
-
credentials?: RequestCredentials | undefined;
|
|
2837
|
-
mode?: RequestMode | undefined;
|
|
2838
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2839
|
-
cache?: RequestCache | undefined;
|
|
2840
|
-
integrity?: string | undefined;
|
|
2841
|
-
keepalive?: boolean | undefined;
|
|
2842
|
-
priority?: RequestPriority | undefined;
|
|
2843
|
-
redirect?: RequestRedirect | undefined;
|
|
2844
|
-
referrer?: string | undefined;
|
|
2845
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2846
|
-
window?: null | undefined;
|
|
2847
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2848
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2849
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2850
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2851
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2852
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2853
|
-
hookOptions?: {
|
|
2854
|
-
cloneResponse?: boolean;
|
|
2855
|
-
} | undefined;
|
|
2856
|
-
timeout?: number | undefined;
|
|
2857
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2858
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2859
|
-
baseURL?: string | undefined;
|
|
2860
|
-
throw?: boolean | undefined;
|
|
2861
|
-
auth?: ({
|
|
2862
|
-
type: "Bearer";
|
|
2863
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2864
|
-
} | {
|
|
2865
|
-
type: "Basic";
|
|
2866
|
-
username: string | (() => string | undefined) | undefined;
|
|
2867
|
-
password: string | (() => string | undefined) | undefined;
|
|
2868
|
-
} | {
|
|
2869
|
-
type: "Custom";
|
|
2870
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2871
|
-
value: string | (() => string | undefined) | undefined;
|
|
2872
|
-
}) | undefined;
|
|
2873
|
-
body?: (Partial<{
|
|
2874
|
-
providerId: string;
|
|
2875
|
-
accountId?: string | undefined;
|
|
2876
|
-
userId?: string | undefined;
|
|
2877
|
-
}> & Record<string, any>) | undefined;
|
|
2878
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2879
|
-
params?: Record<string, any> | undefined;
|
|
2880
|
-
duplex?: "full" | "half" | undefined;
|
|
2881
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2882
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2883
|
-
retryAttempt?: number | undefined;
|
|
2884
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2885
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2886
|
-
disableValidation?: boolean | undefined;
|
|
2887
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2888
|
-
providerId: string;
|
|
2889
|
-
accountId?: string | undefined;
|
|
2890
|
-
userId?: string | undefined;
|
|
2891
|
-
} & {
|
|
2892
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2893
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<better_auth0.OAuth2Tokens, {
|
|
2894
|
-
code?: string;
|
|
2895
|
-
message?: string;
|
|
2896
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2897
|
-
} & {
|
|
2898
|
-
getAccessToken: <FetchOptions extends {
|
|
2899
|
-
method?: string | undefined;
|
|
2900
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2901
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2902
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2903
|
-
authorization: "Bearer" | "Basic";
|
|
2904
|
-
})) | undefined;
|
|
2905
|
-
credentials?: RequestCredentials | undefined;
|
|
2906
|
-
mode?: RequestMode | undefined;
|
|
2907
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2908
|
-
cache?: RequestCache | undefined;
|
|
2909
|
-
integrity?: string | undefined;
|
|
2910
|
-
keepalive?: boolean | undefined;
|
|
2911
|
-
priority?: RequestPriority | undefined;
|
|
2912
|
-
redirect?: RequestRedirect | undefined;
|
|
2913
|
-
referrer?: string | undefined;
|
|
2914
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2915
|
-
window?: null | undefined;
|
|
2916
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2917
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2918
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2919
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2920
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2921
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2922
|
-
hookOptions?: {
|
|
2923
|
-
cloneResponse?: boolean;
|
|
2924
|
-
} | undefined;
|
|
2925
|
-
timeout?: number | undefined;
|
|
2926
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
2927
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
2928
|
-
baseURL?: string | undefined;
|
|
2929
|
-
throw?: boolean | undefined;
|
|
2930
|
-
auth?: ({
|
|
2931
|
-
type: "Bearer";
|
|
2932
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
2933
|
-
} | {
|
|
2934
|
-
type: "Basic";
|
|
2935
|
-
username: string | (() => string | undefined) | undefined;
|
|
2936
|
-
password: string | (() => string | undefined) | undefined;
|
|
2937
|
-
} | {
|
|
2938
|
-
type: "Custom";
|
|
2939
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
2940
|
-
value: string | (() => string | undefined) | undefined;
|
|
2941
|
-
}) | undefined;
|
|
2942
|
-
body?: (Partial<{
|
|
2943
|
-
providerId: string;
|
|
2944
|
-
accountId?: string | undefined;
|
|
2945
|
-
userId?: string | undefined;
|
|
2946
|
-
}> & Record<string, any>) | undefined;
|
|
2947
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
2948
|
-
params?: Record<string, any> | undefined;
|
|
2949
|
-
duplex?: "full" | "half" | undefined;
|
|
2950
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
2951
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
2952
|
-
retryAttempt?: number | undefined;
|
|
2953
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
2954
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
2955
|
-
disableValidation?: boolean | undefined;
|
|
2956
|
-
}>(data_0: better_auth0.Prettify<{
|
|
2957
|
-
providerId: string;
|
|
2958
|
-
accountId?: string | undefined;
|
|
2959
|
-
userId?: string | undefined;
|
|
2960
|
-
} & {
|
|
2961
|
-
fetchOptions?: FetchOptions | undefined;
|
|
2962
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
2963
|
-
accessToken: string;
|
|
2964
|
-
accessTokenExpiresAt: Date | undefined;
|
|
2965
|
-
scopes: string[];
|
|
2966
|
-
idToken: string | undefined;
|
|
2967
|
-
}, {
|
|
2968
|
-
code?: string;
|
|
2969
|
-
message?: string;
|
|
2970
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
2971
|
-
} & {
|
|
2972
|
-
accountInfo: <FetchOptions extends {
|
|
2973
|
-
method?: string | undefined;
|
|
2974
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
2975
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
2976
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
2977
|
-
authorization: "Bearer" | "Basic";
|
|
2978
|
-
})) | undefined;
|
|
2979
|
-
credentials?: RequestCredentials | undefined;
|
|
2980
|
-
mode?: RequestMode | undefined;
|
|
2981
|
-
signal?: (AbortSignal | null) | undefined;
|
|
2982
|
-
cache?: RequestCache | undefined;
|
|
2983
|
-
integrity?: string | undefined;
|
|
2984
|
-
keepalive?: boolean | undefined;
|
|
2985
|
-
priority?: RequestPriority | undefined;
|
|
2986
|
-
redirect?: RequestRedirect | undefined;
|
|
2987
|
-
referrer?: string | undefined;
|
|
2988
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
2989
|
-
window?: null | undefined;
|
|
2990
|
-
next?: NextFetchRequestConfig | undefined;
|
|
2991
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
2992
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
2993
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
2994
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
2995
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
2996
|
-
hookOptions?: {
|
|
2997
|
-
cloneResponse?: boolean;
|
|
2998
|
-
} | undefined;
|
|
2999
|
-
timeout?: number | undefined;
|
|
3000
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3001
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3002
|
-
baseURL?: string | undefined;
|
|
3003
|
-
throw?: boolean | undefined;
|
|
3004
|
-
auth?: ({
|
|
3005
|
-
type: "Bearer";
|
|
3006
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3007
|
-
} | {
|
|
3008
|
-
type: "Basic";
|
|
3009
|
-
username: string | (() => string | undefined) | undefined;
|
|
3010
|
-
password: string | (() => string | undefined) | undefined;
|
|
3011
|
-
} | {
|
|
3012
|
-
type: "Custom";
|
|
3013
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3014
|
-
value: string | (() => string | undefined) | undefined;
|
|
3015
|
-
}) | undefined;
|
|
3016
|
-
body?: (Partial<{
|
|
3017
|
-
accountId: string;
|
|
3018
|
-
}> & Record<string, any>) | undefined;
|
|
3019
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3020
|
-
params?: Record<string, any> | undefined;
|
|
3021
|
-
duplex?: "full" | "half" | undefined;
|
|
3022
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3023
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3024
|
-
retryAttempt?: number | undefined;
|
|
3025
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3026
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3027
|
-
disableValidation?: boolean | undefined;
|
|
3028
|
-
}>(data_0: better_auth0.Prettify<{
|
|
3029
|
-
accountId: string;
|
|
3030
|
-
} & {
|
|
3031
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3032
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3033
|
-
user: better_auth0.OAuth2UserInfo;
|
|
3034
|
-
data: Record<string, any>;
|
|
3035
|
-
}, {
|
|
3036
|
-
code?: string;
|
|
3037
|
-
message?: string;
|
|
3038
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3039
|
-
} & {
|
|
3040
|
-
admin: {
|
|
3041
|
-
setRole: <FetchOptions extends {
|
|
3042
|
-
method?: string | undefined;
|
|
3043
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3044
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3045
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3046
|
-
authorization: "Bearer" | "Basic";
|
|
3047
|
-
})) | undefined;
|
|
3048
|
-
credentials?: RequestCredentials | undefined;
|
|
3049
|
-
mode?: RequestMode | undefined;
|
|
3050
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3051
|
-
cache?: RequestCache | undefined;
|
|
3052
|
-
integrity?: string | undefined;
|
|
3053
|
-
keepalive?: boolean | undefined;
|
|
3054
|
-
priority?: RequestPriority | undefined;
|
|
3055
|
-
redirect?: RequestRedirect | undefined;
|
|
3056
|
-
referrer?: string | undefined;
|
|
3057
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3058
|
-
window?: null | undefined;
|
|
3059
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3060
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3061
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3062
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3063
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3064
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3065
|
-
hookOptions?: {
|
|
3066
|
-
cloneResponse?: boolean;
|
|
3067
|
-
} | undefined;
|
|
3068
|
-
timeout?: number | undefined;
|
|
3069
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3070
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3071
|
-
baseURL?: string | undefined;
|
|
3072
|
-
throw?: boolean | undefined;
|
|
3073
|
-
auth?: ({
|
|
3074
|
-
type: "Bearer";
|
|
3075
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3076
|
-
} | {
|
|
3077
|
-
type: "Basic";
|
|
3078
|
-
username: string | (() => string | undefined) | undefined;
|
|
3079
|
-
password: string | (() => string | undefined) | undefined;
|
|
3080
|
-
} | {
|
|
3081
|
-
type: "Custom";
|
|
3082
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3083
|
-
value: string | (() => string | undefined) | undefined;
|
|
3084
|
-
}) | undefined;
|
|
3085
|
-
body?: (Partial<{
|
|
3086
|
-
userId: string;
|
|
3087
|
-
role: "admin" | "user" | ("admin" | "user")[];
|
|
3088
|
-
}> & Record<string, any>) | undefined;
|
|
3089
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3090
|
-
params?: Record<string, any> | undefined;
|
|
3091
|
-
duplex?: "full" | "half" | undefined;
|
|
3092
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3093
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3094
|
-
retryAttempt?: number | undefined;
|
|
3095
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3096
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3097
|
-
disableValidation?: boolean | undefined;
|
|
3098
|
-
}>(data_0: better_auth0.Prettify<{
|
|
3099
|
-
userId: string;
|
|
3100
|
-
role: "admin" | "user" | ("admin" | "user")[];
|
|
3101
|
-
} & {
|
|
3102
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3103
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3104
|
-
user: better_auth_plugins0.UserWithRole;
|
|
3105
|
-
}, {
|
|
3106
|
-
code?: string;
|
|
3107
|
-
message?: string;
|
|
3108
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3109
|
-
};
|
|
3110
|
-
} & {
|
|
3111
|
-
admin: {
|
|
3112
|
-
createUser: <FetchOptions extends {
|
|
3113
|
-
method?: string | undefined;
|
|
3114
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3115
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3116
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3117
|
-
authorization: "Bearer" | "Basic";
|
|
3118
|
-
})) | undefined;
|
|
3119
|
-
credentials?: RequestCredentials | undefined;
|
|
3120
|
-
mode?: RequestMode | undefined;
|
|
3121
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3122
|
-
cache?: RequestCache | undefined;
|
|
3123
|
-
integrity?: string | undefined;
|
|
3124
|
-
keepalive?: boolean | undefined;
|
|
3125
|
-
priority?: RequestPriority | undefined;
|
|
3126
|
-
redirect?: RequestRedirect | undefined;
|
|
3127
|
-
referrer?: string | undefined;
|
|
3128
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3129
|
-
window?: null | undefined;
|
|
3130
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3131
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3132
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3133
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3134
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3135
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3136
|
-
hookOptions?: {
|
|
3137
|
-
cloneResponse?: boolean;
|
|
3138
|
-
} | undefined;
|
|
3139
|
-
timeout?: number | undefined;
|
|
3140
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3141
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3142
|
-
baseURL?: string | undefined;
|
|
3143
|
-
throw?: boolean | undefined;
|
|
3144
|
-
auth?: ({
|
|
3145
|
-
type: "Bearer";
|
|
3146
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3147
|
-
} | {
|
|
3148
|
-
type: "Basic";
|
|
3149
|
-
username: string | (() => string | undefined) | undefined;
|
|
3150
|
-
password: string | (() => string | undefined) | undefined;
|
|
3151
|
-
} | {
|
|
3152
|
-
type: "Custom";
|
|
3153
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3154
|
-
value: string | (() => string | undefined) | undefined;
|
|
3155
|
-
}) | undefined;
|
|
3156
|
-
body?: (Partial<{
|
|
3157
|
-
email: string;
|
|
3158
|
-
password: string;
|
|
3159
|
-
name: string;
|
|
3160
|
-
role?: "admin" | "user" | ("admin" | "user")[] | undefined;
|
|
3161
|
-
data?: Record<string, any>;
|
|
3162
|
-
}> & Record<string, any>) | undefined;
|
|
3163
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3164
|
-
params?: Record<string, any> | undefined;
|
|
3165
|
-
duplex?: "full" | "half" | undefined;
|
|
3166
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3167
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3168
|
-
retryAttempt?: number | undefined;
|
|
3169
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3170
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3171
|
-
disableValidation?: boolean | undefined;
|
|
3172
|
-
}>(data_0: better_auth0.Prettify<{
|
|
3173
|
-
email: string;
|
|
3174
|
-
password: string;
|
|
3175
|
-
name: string;
|
|
3176
|
-
role?: "admin" | "user" | ("admin" | "user")[] | undefined;
|
|
3177
|
-
data?: Record<string, any>;
|
|
3178
|
-
} & {
|
|
3179
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3180
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3181
|
-
user: better_auth_plugins0.UserWithRole;
|
|
3182
|
-
}, {
|
|
3183
|
-
code?: string;
|
|
3184
|
-
message?: string;
|
|
3185
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3186
|
-
};
|
|
3187
|
-
} & {
|
|
3188
|
-
admin: {
|
|
3189
|
-
hasPermission: <FetchOptions extends {
|
|
3190
|
-
method?: string | undefined;
|
|
3191
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3192
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3193
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3194
|
-
authorization: "Bearer" | "Basic";
|
|
3195
|
-
})) | undefined;
|
|
3196
|
-
credentials?: RequestCredentials | undefined;
|
|
3197
|
-
mode?: RequestMode | undefined;
|
|
3198
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3199
|
-
cache?: RequestCache | undefined;
|
|
3200
|
-
integrity?: string | undefined;
|
|
3201
|
-
keepalive?: boolean | undefined;
|
|
3202
|
-
priority?: RequestPriority | undefined;
|
|
3203
|
-
redirect?: RequestRedirect | undefined;
|
|
3204
|
-
referrer?: string | undefined;
|
|
3205
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3206
|
-
window?: null | undefined;
|
|
3207
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3208
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3209
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3210
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3211
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3212
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3213
|
-
hookOptions?: {
|
|
3214
|
-
cloneResponse?: boolean;
|
|
3215
|
-
} | undefined;
|
|
3216
|
-
timeout?: number | undefined;
|
|
3217
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3218
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3219
|
-
baseURL?: string | undefined;
|
|
3220
|
-
throw?: boolean | undefined;
|
|
3221
|
-
auth?: ({
|
|
3222
|
-
type: "Bearer";
|
|
3223
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3224
|
-
} | {
|
|
3225
|
-
type: "Basic";
|
|
3226
|
-
username: string | (() => string | undefined) | undefined;
|
|
3227
|
-
password: string | (() => string | undefined) | undefined;
|
|
3228
|
-
} | {
|
|
3229
|
-
type: "Custom";
|
|
3230
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3231
|
-
value: string | (() => string | undefined) | undefined;
|
|
3232
|
-
}) | undefined;
|
|
3233
|
-
body?: (Partial<({
|
|
3234
|
-
permission: {
|
|
3235
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3236
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3237
|
-
};
|
|
3238
|
-
permissions?: never;
|
|
3239
|
-
} | {
|
|
3240
|
-
permissions: {
|
|
3241
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3242
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3243
|
-
};
|
|
3244
|
-
permission?: never;
|
|
3245
|
-
}) & {
|
|
3246
|
-
userId?: string;
|
|
3247
|
-
role?: "admin" | "user" | undefined;
|
|
3248
|
-
}> & Record<string, any>) | undefined;
|
|
3249
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3250
|
-
params?: Record<string, any> | undefined;
|
|
3251
|
-
duplex?: "full" | "half" | undefined;
|
|
3252
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3253
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3254
|
-
retryAttempt?: number | undefined;
|
|
3255
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3256
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3257
|
-
disableValidation?: boolean | undefined;
|
|
3258
|
-
}>(data_0: better_auth0.Prettify<(({
|
|
3259
|
-
permission: {
|
|
3260
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3261
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3262
|
-
};
|
|
3263
|
-
permissions?: never;
|
|
3264
|
-
} | {
|
|
3265
|
-
permissions: {
|
|
3266
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3267
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3268
|
-
};
|
|
3269
|
-
permission?: never;
|
|
3270
|
-
}) & {
|
|
3271
|
-
userId?: string;
|
|
3272
|
-
role?: "admin" | "user" | undefined;
|
|
3273
|
-
}) & {
|
|
3274
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3275
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3276
|
-
error: null;
|
|
3277
|
-
success: boolean;
|
|
3278
|
-
}, {
|
|
3279
|
-
code?: string;
|
|
3280
|
-
message?: string;
|
|
3281
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3282
|
-
};
|
|
3283
|
-
} & {
|
|
3284
|
-
signUp: {
|
|
3285
|
-
email: <FetchOptions extends {
|
|
3286
|
-
method?: string | undefined;
|
|
3287
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3288
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3289
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3290
|
-
authorization: "Bearer" | "Basic";
|
|
3291
|
-
})) | undefined;
|
|
3292
|
-
credentials?: RequestCredentials | undefined;
|
|
3293
|
-
mode?: RequestMode | undefined;
|
|
3294
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3295
|
-
cache?: RequestCache | undefined;
|
|
3296
|
-
integrity?: string | undefined;
|
|
3297
|
-
keepalive?: boolean | undefined;
|
|
3298
|
-
priority?: RequestPriority | undefined;
|
|
3299
|
-
redirect?: RequestRedirect | undefined;
|
|
3300
|
-
referrer?: string | undefined;
|
|
3301
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3302
|
-
window?: null | undefined;
|
|
3303
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3304
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3305
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3306
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3307
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3308
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3309
|
-
hookOptions?: {
|
|
3310
|
-
cloneResponse?: boolean;
|
|
3311
|
-
} | undefined;
|
|
3312
|
-
timeout?: number | undefined;
|
|
3313
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3314
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3315
|
-
baseURL?: string | undefined;
|
|
3316
|
-
throw?: boolean | undefined;
|
|
3317
|
-
auth?: ({
|
|
3318
|
-
type: "Bearer";
|
|
3319
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3320
|
-
} | {
|
|
3321
|
-
type: "Basic";
|
|
3322
|
-
username: string | (() => string | undefined) | undefined;
|
|
3323
|
-
password: string | (() => string | undefined) | undefined;
|
|
3324
|
-
} | {
|
|
3325
|
-
type: "Custom";
|
|
3326
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3327
|
-
value: string | (() => string | undefined) | undefined;
|
|
3328
|
-
}) | undefined;
|
|
3329
|
-
body?: (Partial<{
|
|
3330
|
-
name: string;
|
|
3331
|
-
email: string;
|
|
3332
|
-
password: string;
|
|
3333
|
-
image?: string;
|
|
3334
|
-
callbackURL?: string;
|
|
3335
|
-
rememberMe?: boolean;
|
|
3336
|
-
}> & Record<string, any>) | undefined;
|
|
3337
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3338
|
-
params?: Record<string, any> | undefined;
|
|
3339
|
-
duplex?: "full" | "half" | undefined;
|
|
3340
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3341
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3342
|
-
retryAttempt?: number | undefined;
|
|
3343
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3344
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3345
|
-
disableValidation?: boolean | undefined;
|
|
3346
|
-
}>(data_0: better_auth0.Prettify<{
|
|
3347
|
-
email: string;
|
|
3348
|
-
name: string;
|
|
3349
|
-
password: string;
|
|
3350
|
-
image?: string;
|
|
3351
|
-
callbackURL?: string;
|
|
3352
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3353
|
-
} & {} & {} & {
|
|
3354
|
-
firstName: string;
|
|
3355
|
-
lastName: string;
|
|
3356
|
-
} & {}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<{
|
|
3357
|
-
token: null;
|
|
3358
|
-
user: {
|
|
3359
|
-
id: string;
|
|
3360
|
-
email: string;
|
|
3361
|
-
name: string;
|
|
3362
|
-
image: string | null | undefined;
|
|
3363
|
-
emailVerified: boolean;
|
|
3364
|
-
createdAt: Date;
|
|
3365
|
-
updatedAt: Date;
|
|
3366
|
-
};
|
|
3367
|
-
} | {
|
|
3368
|
-
token: string;
|
|
3369
|
-
user: {
|
|
3370
|
-
id: string;
|
|
3371
|
-
email: string;
|
|
3372
|
-
name: string;
|
|
3373
|
-
image: string | null | undefined;
|
|
3374
|
-
emailVerified: boolean;
|
|
3375
|
-
createdAt: Date;
|
|
3376
|
-
updatedAt: Date;
|
|
3377
|
-
};
|
|
3378
|
-
}>, {
|
|
3379
|
-
code?: string;
|
|
3380
|
-
message?: string;
|
|
3381
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3382
|
-
};
|
|
3383
|
-
} & {
|
|
3384
|
-
updateUser: <FetchOptions extends {
|
|
3385
|
-
method?: string | undefined;
|
|
3386
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3387
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3388
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3389
|
-
authorization: "Bearer" | "Basic";
|
|
3390
|
-
})) | undefined;
|
|
3391
|
-
credentials?: RequestCredentials | undefined;
|
|
3392
|
-
mode?: RequestMode | undefined;
|
|
3393
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3394
|
-
cache?: RequestCache | undefined;
|
|
3395
|
-
integrity?: string | undefined;
|
|
3396
|
-
keepalive?: boolean | undefined;
|
|
3397
|
-
priority?: RequestPriority | undefined;
|
|
3398
|
-
redirect?: RequestRedirect | undefined;
|
|
3399
|
-
referrer?: string | undefined;
|
|
3400
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3401
|
-
window?: null | undefined;
|
|
3402
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3403
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3404
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3405
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3406
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3407
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3408
|
-
hookOptions?: {
|
|
3409
|
-
cloneResponse?: boolean;
|
|
3410
|
-
} | undefined;
|
|
3411
|
-
timeout?: number | undefined;
|
|
3412
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3413
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3414
|
-
baseURL?: string | undefined;
|
|
3415
|
-
throw?: boolean | undefined;
|
|
3416
|
-
auth?: ({
|
|
3417
|
-
type: "Bearer";
|
|
3418
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3419
|
-
} | {
|
|
3420
|
-
type: "Basic";
|
|
3421
|
-
username: string | (() => string | undefined) | undefined;
|
|
3422
|
-
password: string | (() => string | undefined) | undefined;
|
|
3423
|
-
} | {
|
|
3424
|
-
type: "Custom";
|
|
3425
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3426
|
-
value: string | (() => string | undefined) | undefined;
|
|
3427
|
-
}) | undefined;
|
|
3428
|
-
body?: (Partial<Partial<{}> & {
|
|
3429
|
-
name?: string;
|
|
3430
|
-
image?: string;
|
|
3431
|
-
}> & Record<string, any>) | undefined;
|
|
3432
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3433
|
-
params?: Record<string, any> | undefined;
|
|
3434
|
-
duplex?: "full" | "half" | undefined;
|
|
3435
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3436
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3437
|
-
retryAttempt?: number | undefined;
|
|
3438
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3439
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3440
|
-
disableValidation?: boolean | undefined;
|
|
3441
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
3442
|
-
image?: string | null;
|
|
3443
|
-
name?: string;
|
|
3444
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3445
|
-
} & Partial<{} & {} & {
|
|
3446
|
-
firstName: string;
|
|
3447
|
-
lastName: string;
|
|
3448
|
-
} & {}>> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3449
|
-
status: boolean;
|
|
3450
|
-
}, {
|
|
3451
|
-
code?: string;
|
|
3452
|
-
message?: string;
|
|
3453
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3454
|
-
} & {
|
|
3455
|
-
listSessions: <FetchOptions extends {
|
|
3456
|
-
method?: string | undefined;
|
|
3457
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3458
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3459
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3460
|
-
authorization: "Bearer" | "Basic";
|
|
3461
|
-
})) | undefined;
|
|
3462
|
-
credentials?: RequestCredentials | undefined;
|
|
3463
|
-
mode?: RequestMode | undefined;
|
|
3464
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3465
|
-
cache?: RequestCache | undefined;
|
|
3466
|
-
integrity?: string | undefined;
|
|
3467
|
-
keepalive?: boolean | undefined;
|
|
3468
|
-
priority?: RequestPriority | undefined;
|
|
3469
|
-
redirect?: RequestRedirect | undefined;
|
|
3470
|
-
referrer?: string | undefined;
|
|
3471
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3472
|
-
window?: null | undefined;
|
|
3473
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3474
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3475
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3476
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3477
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3478
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3479
|
-
hookOptions?: {
|
|
3480
|
-
cloneResponse?: boolean;
|
|
3481
|
-
} | undefined;
|
|
3482
|
-
timeout?: number | undefined;
|
|
3483
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3484
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3485
|
-
baseURL?: string | undefined;
|
|
3486
|
-
throw?: boolean | undefined;
|
|
3487
|
-
auth?: ({
|
|
3488
|
-
type: "Bearer";
|
|
3489
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3490
|
-
} | {
|
|
3491
|
-
type: "Basic";
|
|
3492
|
-
username: string | (() => string | undefined) | undefined;
|
|
3493
|
-
password: string | (() => string | undefined) | undefined;
|
|
3494
|
-
} | {
|
|
3495
|
-
type: "Custom";
|
|
3496
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3497
|
-
value: string | (() => string | undefined) | undefined;
|
|
3498
|
-
}) | undefined;
|
|
3499
|
-
body?: undefined;
|
|
3500
|
-
query?: (Partial<Record<string, any>> & Record<string, any>) | undefined;
|
|
3501
|
-
params?: Record<string, any> | undefined;
|
|
3502
|
-
duplex?: "full" | "half" | undefined;
|
|
3503
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3504
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3505
|
-
retryAttempt?: number | undefined;
|
|
3506
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3507
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3508
|
-
disableValidation?: boolean | undefined;
|
|
3509
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
3510
|
-
query?: Record<string, any> | undefined;
|
|
3511
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3512
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<better_auth0.Prettify<{
|
|
3513
|
-
id: string;
|
|
3514
|
-
createdAt: Date;
|
|
3515
|
-
updatedAt: Date;
|
|
3516
|
-
userId: string;
|
|
3517
|
-
expiresAt: Date;
|
|
3518
|
-
token: string;
|
|
3519
|
-
ipAddress?: string | null | undefined | undefined;
|
|
3520
|
-
userAgent?: string | null | undefined | undefined;
|
|
3521
|
-
}>[], {
|
|
3522
|
-
code?: string;
|
|
3523
|
-
message?: string;
|
|
3524
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3525
|
-
} & {
|
|
3526
|
-
getSession: <FetchOptions extends {
|
|
3527
|
-
method?: string | undefined;
|
|
3528
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3529
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3530
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3531
|
-
authorization: "Bearer" | "Basic";
|
|
3532
|
-
})) | undefined;
|
|
3533
|
-
credentials?: RequestCredentials | undefined;
|
|
3534
|
-
mode?: RequestMode | undefined;
|
|
3535
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3536
|
-
cache?: RequestCache | undefined;
|
|
3537
|
-
integrity?: string | undefined;
|
|
3538
|
-
keepalive?: boolean | undefined;
|
|
3539
|
-
priority?: RequestPriority | undefined;
|
|
3540
|
-
redirect?: RequestRedirect | undefined;
|
|
3541
|
-
referrer?: string | undefined;
|
|
3542
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3543
|
-
window?: null | undefined;
|
|
3544
|
-
next?: NextFetchRequestConfig | undefined;
|
|
3545
|
-
onRequest?: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3546
|
-
onResponse?: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3547
|
-
onSuccess?: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3548
|
-
onError?: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3549
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3550
|
-
hookOptions?: {
|
|
3551
|
-
cloneResponse?: boolean;
|
|
3552
|
-
} | undefined;
|
|
3553
|
-
timeout?: number | undefined;
|
|
3554
|
-
customFetchImpl?: better_auth_react0.FetchEsque | undefined;
|
|
3555
|
-
plugins?: better_auth_react0.BetterFetchPlugin[] | undefined;
|
|
3556
|
-
baseURL?: string | undefined;
|
|
3557
|
-
throw?: boolean | undefined;
|
|
3558
|
-
auth?: ({
|
|
3559
|
-
type: "Bearer";
|
|
3560
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3561
|
-
} | {
|
|
3562
|
-
type: "Basic";
|
|
3563
|
-
username: string | (() => string | undefined) | undefined;
|
|
3564
|
-
password: string | (() => string | undefined) | undefined;
|
|
3565
|
-
} | {
|
|
3566
|
-
type: "Custom";
|
|
3567
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3568
|
-
value: string | (() => string | undefined) | undefined;
|
|
3569
|
-
}) | undefined;
|
|
3570
|
-
body?: undefined;
|
|
3571
|
-
query?: (Partial<{
|
|
3572
|
-
disableCookieCache?: unknown;
|
|
3573
|
-
disableRefresh?: unknown;
|
|
3574
|
-
}> & Record<string, any>) | undefined;
|
|
3575
|
-
params?: Record<string, any> | undefined;
|
|
3576
|
-
duplex?: "full" | "half" | undefined;
|
|
3577
|
-
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
3578
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3579
|
-
retryAttempt?: number | undefined;
|
|
3580
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3581
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3582
|
-
disableValidation?: boolean | undefined;
|
|
3583
|
-
}>(data_0?: better_auth0.Prettify<{
|
|
3584
|
-
query?: {
|
|
3585
|
-
disableCookieCache?: unknown;
|
|
3586
|
-
disableRefresh?: unknown;
|
|
3587
|
-
} | undefined;
|
|
3588
|
-
fetchOptions?: FetchOptions | undefined;
|
|
3589
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
3590
|
-
user: {
|
|
3591
|
-
id: string;
|
|
3592
|
-
createdAt: Date;
|
|
3593
|
-
updatedAt: Date;
|
|
3594
|
-
email: string;
|
|
3595
|
-
emailVerified: boolean;
|
|
3596
|
-
name: string;
|
|
3597
|
-
image?: string | null | undefined;
|
|
3598
|
-
banned: boolean | null | undefined;
|
|
3599
|
-
role?: string | null | undefined;
|
|
3600
|
-
banReason?: string | null | undefined;
|
|
3601
|
-
banExpires?: Date | null | undefined;
|
|
3602
|
-
firstName: string;
|
|
3603
|
-
lastName: string;
|
|
3604
|
-
};
|
|
3605
|
-
session: {
|
|
3606
|
-
id: string;
|
|
3607
|
-
createdAt: Date;
|
|
3608
|
-
updatedAt: Date;
|
|
3609
|
-
userId: string;
|
|
3610
|
-
expiresAt: Date;
|
|
3611
|
-
token: string;
|
|
3612
|
-
ipAddress?: string | null | undefined;
|
|
3613
|
-
userAgent?: string | null | undefined;
|
|
3614
|
-
impersonatedBy?: string | null | undefined;
|
|
3615
|
-
};
|
|
3616
|
-
} | null, {
|
|
3617
|
-
code?: string;
|
|
3618
|
-
message?: string;
|
|
3619
|
-
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
3620
|
-
} & {
|
|
3621
|
-
admin: {
|
|
3622
|
-
checkRolePermission: <R extends "admin" | "user">(data: ({
|
|
3623
|
-
permission: {
|
|
3624
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3625
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3626
|
-
};
|
|
3627
|
-
permissions?: never;
|
|
3628
|
-
} | {
|
|
3629
|
-
permissions: {
|
|
3630
|
-
readonly user?: ("create" | "list" | "set-role" | "ban" | "impersonate" | "delete" | "set-password" | "get" | "update")[] | undefined;
|
|
3631
|
-
readonly session?: ("list" | "delete" | "revoke")[] | undefined;
|
|
3632
|
-
};
|
|
3633
|
-
permission?: never;
|
|
3634
|
-
}) & {
|
|
3635
|
-
role: R;
|
|
3636
|
-
}) => boolean;
|
|
3637
|
-
};
|
|
3638
|
-
} & {
|
|
3639
|
-
useSession: () => {
|
|
3640
|
-
data: {
|
|
3641
|
-
user: {
|
|
3642
|
-
id: string;
|
|
3643
|
-
createdAt: Date;
|
|
3644
|
-
updatedAt: Date;
|
|
3645
|
-
email: string;
|
|
3646
|
-
emailVerified: boolean;
|
|
3647
|
-
name: string;
|
|
3648
|
-
image?: string | null | undefined;
|
|
3649
|
-
banned: boolean | null | undefined;
|
|
3650
|
-
role?: string | null | undefined;
|
|
3651
|
-
banReason?: string | null | undefined;
|
|
3652
|
-
banExpires?: Date | null | undefined;
|
|
3653
|
-
firstName: string;
|
|
3654
|
-
lastName: string;
|
|
3655
|
-
};
|
|
3656
|
-
session: {
|
|
3657
|
-
id: string;
|
|
3658
|
-
createdAt: Date;
|
|
3659
|
-
updatedAt: Date;
|
|
3660
|
-
userId: string;
|
|
3661
|
-
expiresAt: Date;
|
|
3662
|
-
token: string;
|
|
3663
|
-
ipAddress?: string | null | undefined;
|
|
3664
|
-
userAgent?: string | null | undefined;
|
|
3665
|
-
impersonatedBy?: string | null | undefined;
|
|
3666
|
-
};
|
|
3667
|
-
} | null;
|
|
3668
|
-
isPending: boolean;
|
|
3669
|
-
error: better_auth_react0.BetterFetchError | null;
|
|
3670
|
-
refetch: (queryParams?: {
|
|
3671
|
-
query?: better_auth0.SessionQueryParams;
|
|
3672
|
-
}) => void;
|
|
3673
|
-
};
|
|
3674
|
-
$Infer: {
|
|
3675
|
-
Session: {
|
|
3676
|
-
user: {
|
|
3677
|
-
id: string;
|
|
3678
|
-
createdAt: Date;
|
|
3679
|
-
updatedAt: Date;
|
|
3680
|
-
email: string;
|
|
3681
|
-
emailVerified: boolean;
|
|
3682
|
-
name: string;
|
|
3683
|
-
image?: string | null | undefined;
|
|
3684
|
-
banned: boolean | null | undefined;
|
|
3685
|
-
role?: string | null | undefined;
|
|
3686
|
-
banReason?: string | null | undefined;
|
|
3687
|
-
banExpires?: Date | null | undefined;
|
|
3688
|
-
firstName: string;
|
|
3689
|
-
lastName: string;
|
|
3690
|
-
};
|
|
3691
|
-
session: {
|
|
3692
|
-
id: string;
|
|
3693
|
-
createdAt: Date;
|
|
3694
|
-
updatedAt: Date;
|
|
3695
|
-
userId: string;
|
|
3696
|
-
expiresAt: Date;
|
|
3697
|
-
token: string;
|
|
3698
|
-
ipAddress?: string | null | undefined;
|
|
3699
|
-
userAgent?: string | null | undefined;
|
|
3700
|
-
impersonatedBy?: string | null | undefined;
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
};
|
|
3704
|
-
$fetch: better_auth_react0.BetterFetch<{
|
|
3705
|
-
plugins: (better_auth_react0.BetterFetchPlugin | {
|
|
3706
|
-
id: string;
|
|
3707
|
-
name: string;
|
|
3708
|
-
hooks: {
|
|
3709
|
-
onSuccess: ((context: better_auth_react0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
3710
|
-
onError: ((context: better_auth_react0.ErrorContext) => Promise<void> | void) | undefined;
|
|
3711
|
-
onRequest: (<T extends Record<string, any>>(context: better_auth_react0.RequestContext<T>) => Promise<better_auth_react0.RequestContext | void> | better_auth_react0.RequestContext | void) | undefined;
|
|
3712
|
-
onResponse: ((context: better_auth_react0.ResponseContext) => Promise<Response | void | better_auth_react0.ResponseContext> | Response | better_auth_react0.ResponseContext | void) | undefined;
|
|
3713
|
-
};
|
|
3714
|
-
} | {
|
|
3715
|
-
id: string;
|
|
3716
|
-
name: string;
|
|
3717
|
-
hooks: {
|
|
3718
|
-
onSuccess(context: better_auth_react0.SuccessContext<any>): void;
|
|
3719
|
-
};
|
|
3720
|
-
})[];
|
|
3721
|
-
redirect?: RequestRedirect | undefined;
|
|
3722
|
-
method: string;
|
|
3723
|
-
headers?: (HeadersInit & (HeadersInit | {
|
|
3724
|
-
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
3725
|
-
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
3726
|
-
authorization: "Bearer" | "Basic";
|
|
3727
|
-
})) | undefined;
|
|
3728
|
-
cache?: RequestCache | undefined;
|
|
3729
|
-
credentials?: RequestCredentials;
|
|
3730
|
-
integrity?: string | undefined;
|
|
3731
|
-
keepalive?: boolean | undefined;
|
|
3732
|
-
mode?: RequestMode | undefined;
|
|
3733
|
-
priority?: RequestPriority | undefined;
|
|
3734
|
-
referrer?: string | undefined;
|
|
3735
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
3736
|
-
signal?: (AbortSignal | null) | undefined;
|
|
3737
|
-
window?: null | undefined;
|
|
3738
|
-
onRetry?: ((response: better_auth_react0.ResponseContext) => Promise<void> | void) | undefined;
|
|
3739
|
-
hookOptions?: {
|
|
3740
|
-
cloneResponse?: boolean;
|
|
3741
|
-
} | undefined;
|
|
3742
|
-
timeout?: number | undefined;
|
|
3743
|
-
customFetchImpl: better_auth_react0.FetchEsque;
|
|
3744
|
-
baseURL: string;
|
|
3745
|
-
throw?: boolean | undefined;
|
|
3746
|
-
auth?: ({
|
|
3747
|
-
type: "Bearer";
|
|
3748
|
-
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
3749
|
-
} | {
|
|
3750
|
-
type: "Basic";
|
|
3751
|
-
username: string | (() => string | undefined) | undefined;
|
|
3752
|
-
password: string | (() => string | undefined) | undefined;
|
|
3753
|
-
} | {
|
|
3754
|
-
type: "Custom";
|
|
3755
|
-
prefix: string | (() => string | undefined) | undefined;
|
|
3756
|
-
value: string | (() => string | undefined) | undefined;
|
|
3757
|
-
}) | undefined;
|
|
3758
|
-
body?: any;
|
|
3759
|
-
query?: any;
|
|
3760
|
-
params?: any;
|
|
3761
|
-
duplex?: "full" | "half" | undefined;
|
|
3762
|
-
jsonParser: (text: string) => Promise<any> | any;
|
|
3763
|
-
retry?: better_auth_react0.RetryOptions | undefined;
|
|
3764
|
-
retryAttempt?: number | undefined;
|
|
3765
|
-
output?: (better_auth_react0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
3766
|
-
errorSchema?: better_auth_react0.StandardSchemaV1 | undefined;
|
|
3767
|
-
disableValidation?: boolean | undefined;
|
|
3768
|
-
}, unknown, unknown, {}>;
|
|
3769
|
-
$store: {
|
|
3770
|
-
notify: (signal?: Omit<string, "$sessionSignal"> | "$sessionSignal") => void;
|
|
3771
|
-
listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
3772
|
-
atoms: Record<string, better_auth_react0.WritableAtom<any>>;
|
|
3773
|
-
};
|
|
3774
|
-
$ERROR_CODES: {
|
|
3775
|
-
readonly USER_NOT_FOUND: "User not found";
|
|
3776
|
-
readonly FAILED_TO_CREATE_USER: "Failed to create user";
|
|
3777
|
-
readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
|
|
3778
|
-
readonly FAILED_TO_UPDATE_USER: "Failed to update user";
|
|
3779
|
-
readonly FAILED_TO_GET_SESSION: "Failed to get session";
|
|
3780
|
-
readonly INVALID_PASSWORD: "Invalid password";
|
|
3781
|
-
readonly INVALID_EMAIL: "Invalid email";
|
|
3782
|
-
readonly INVALID_EMAIL_OR_PASSWORD: "Invalid email or password";
|
|
3783
|
-
readonly SOCIAL_ACCOUNT_ALREADY_LINKED: "Social account already linked";
|
|
3784
|
-
readonly PROVIDER_NOT_FOUND: "Provider not found";
|
|
3785
|
-
readonly INVALID_TOKEN: "Invalid token";
|
|
3786
|
-
readonly ID_TOKEN_NOT_SUPPORTED: "id_token not supported";
|
|
3787
|
-
readonly FAILED_TO_GET_USER_INFO: "Failed to get user info";
|
|
3788
|
-
readonly USER_EMAIL_NOT_FOUND: "User email not found";
|
|
3789
|
-
readonly EMAIL_NOT_VERIFIED: "Email not verified";
|
|
3790
|
-
readonly PASSWORD_TOO_SHORT: "Password too short";
|
|
3791
|
-
readonly PASSWORD_TOO_LONG: "Password too long";
|
|
3792
|
-
readonly USER_ALREADY_EXISTS: "User already exists.";
|
|
3793
|
-
readonly USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL: "User already exists. Use another email.";
|
|
3794
|
-
readonly EMAIL_CAN_NOT_BE_UPDATED: "Email can not be updated";
|
|
3795
|
-
readonly CREDENTIAL_ACCOUNT_NOT_FOUND: "Credential account not found";
|
|
3796
|
-
readonly SESSION_EXPIRED: "Session expired. Re-authenticate to perform this action.";
|
|
3797
|
-
readonly FAILED_TO_UNLINK_LAST_ACCOUNT: "You can't unlink your last account";
|
|
3798
|
-
readonly ACCOUNT_NOT_FOUND: "Account not found";
|
|
3799
|
-
readonly USER_ALREADY_HAS_PASSWORD: "User already has a password. Provide that to delete the account.";
|
|
3800
|
-
};
|
|
3801
|
-
};
|
|
3802
|
-
type ClientAuth = typeof authClient;
|
|
3803
|
-
type ClientSession = typeof authClient.$Infer.Session;
|
|
3804
|
-
//#endregion
|
|
3805
|
-
export { ClientAuth, ClientSession, authClient };
|
|
3806
|
-
//# sourceMappingURL=client.client.d.ts.map
|