@tulip-systems/core 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/client.d.mts +2 -2
- package/dist/auth/client.mjs +2 -2
- package/dist/commands/client.d.mts +3 -3
- package/dist/commands/client.mjs +3 -3
- package/dist/components/client.d.mts +3 -5
- package/dist/components/client.mjs +3 -5
- package/dist/components/common/icons.d.mts +52 -52
- package/dist/components/common/icons.d.mts.map +1 -1
- package/dist/components/common/status.d.mts +3 -3
- package/dist/components/common/status.d.mts.map +1 -1
- package/dist/components/editor/components/block-dropdown.mjs +28 -14
- package/dist/components/editor/components/block-dropdown.mjs.map +1 -1
- package/dist/components/editor/components/content.client.d.mts +2 -2
- package/dist/components/editor/components/content.client.mjs +1 -1
- package/dist/components/editor/components/content.client.mjs.map +1 -1
- package/dist/components/editor/components/editor.client.d.mts +48 -0
- package/dist/components/editor/components/editor.client.d.mts.map +1 -0
- package/dist/components/editor/components/editor.client.mjs +53 -0
- package/dist/components/editor/components/editor.client.mjs.map +1 -0
- package/dist/components/editor/components/menu-fixed.client.d.mts +7 -0
- package/dist/components/editor/components/menu-fixed.client.d.mts.map +1 -0
- package/dist/components/editor/components/{fixed-menu.client.mjs → menu-fixed.client.mjs} +21 -27
- package/dist/components/editor/components/menu-fixed.client.mjs.map +1 -0
- package/dist/components/editor/lib/constants.d.mts +60 -0
- package/dist/components/editor/lib/constants.d.mts.map +1 -0
- package/dist/components/editor/lib/constants.mjs +90 -0
- package/dist/components/editor/lib/constants.mjs.map +1 -0
- package/dist/components/editor/lib/extensions.d.mts +62 -0
- package/dist/components/editor/lib/extensions.d.mts.map +1 -0
- package/dist/components/editor/lib/extensions.mjs +52 -0
- package/dist/components/editor/lib/extensions.mjs.map +1 -0
- package/dist/components/editor/lib/helpers.mjs +3 -3
- package/dist/components/editor/lib/helpers.mjs.map +1 -1
- package/dist/components/editor/lib/variants.mjs +8 -0
- package/dist/components/editor/lib/variants.mjs.map +1 -0
- package/dist/components/header/back-button.client.d.mts +2 -2
- package/dist/components/header/bottom-bar.client.d.mts +3 -3
- package/dist/components/header/breadcrumbs.client.d.mts +7 -7
- package/dist/components/header/header.client.d.mts +2 -2
- package/dist/components/header/mobile-nav-switcher.client.d.mts +2 -2
- package/dist/components/header/top-bar.client.d.mts +4 -4
- package/dist/components/header/top-bar.client.mjs +1 -1
- package/dist/components/header/top-bar.client.mjs.map +1 -1
- package/dist/components/layouts/admin-content.client.d.mts +2 -2
- package/dist/components/layouts/admin-content.client.mjs +1 -1
- package/dist/components/layouts/admin-content.client.mjs.map +1 -1
- package/dist/components/layouts/admin-layout.d.mts +2 -2
- package/dist/components/layouts/admin-layout.d.mts.map +1 -1
- package/dist/components/layouts/admin-loading.d.mts +2 -2
- package/dist/components/layouts/admin-loading.d.mts.map +1 -1
- package/dist/components/layouts/empty-page.d.mts +4 -4
- package/dist/components/layouts/empty-page.d.mts.map +1 -1
- package/dist/components/layouts/list-layout.d.mts +2 -2
- package/dist/components/layouts/list-layout.d.mts.map +1 -1
- package/dist/components/layouts/not-found-page.d.mts +3 -3
- package/dist/components/layouts/not-found-page.d.mts.map +1 -1
- package/dist/components/layouts/providers.client.d.mts +2 -2
- package/dist/components/layouts/root-layout.server.d.mts +4 -4
- package/dist/components/layouts/root-layout.server.d.mts.map +1 -1
- package/dist/components/layouts/root-loading.d.mts +2 -2
- package/dist/components/layouts/root-loading.d.mts.map +1 -1
- package/dist/components/layouts/tab-layout.d.mts +2 -2
- package/dist/components/layouts/tab-layout.d.mts.map +1 -1
- package/dist/components/lists/data-list.d.mts +5 -5
- package/dist/components/lists/data-list.d.mts.map +1 -1
- package/dist/components/lists/data-stack.d.mts +8 -8
- package/dist/components/lists/data-stack.d.mts.map +1 -1
- package/dist/components/navigation/admin-sidebar-paths.client.d.mts +10 -10
- package/dist/components/ui/accordion.d.mts +5 -5
- package/dist/components/ui/alert-dialog.d.mts +12 -12
- package/dist/components/ui/alert.d.mts +4 -4
- package/dist/components/ui/aspect-ratio.d.mts +2 -2
- package/dist/components/ui/avatar.client.d.mts +4 -4
- package/dist/components/ui/badge.d.mts +2 -2
- package/dist/components/ui/breadcrumb.d.mts +8 -8
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/components/ui/calendar.d.mts +17 -4
- package/dist/components/ui/calendar.d.mts.map +1 -1
- package/dist/components/ui/calendar.mjs +90 -37
- package/dist/components/ui/calendar.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +7 -7
- package/dist/components/ui/carousel.d.mts +6 -6
- package/dist/components/ui/chart.client.d.mts +5 -5
- package/dist/components/ui/checkbox.d.mts +2 -2
- package/dist/components/ui/collapsible.client.d.mts +4 -4
- package/dist/components/ui/color-picker.client.d.mts +2 -2
- package/dist/components/ui/combobox-dropdown.client.d.mts +2 -2
- package/dist/components/ui/combobox.client.d.mts +2 -2
- package/dist/components/ui/command.d.mts +10 -10
- package/dist/components/ui/context-menu.d.mts +16 -16
- package/dist/components/ui/date-picker.client.d.mts +2 -2
- package/dist/components/ui/dialog.client.d.mts +11 -11
- package/dist/components/ui/drawer.client.d.mts +11 -11
- package/dist/components/ui/dropdown-menu.d.mts +16 -16
- package/dist/components/ui/form.client.d.mts +7 -7
- package/dist/components/ui/hover-card.client.d.mts +4 -4
- package/dist/components/ui/input-recipient.d.mts +5 -3
- package/dist/components/ui/input-recipient.d.mts.map +1 -1
- package/dist/components/ui/input-recipient.mjs +2 -2
- package/dist/components/ui/input-recipient.mjs.map +1 -1
- package/dist/components/ui/input.d.mts +2 -2
- package/dist/components/ui/label.d.mts +2 -2
- package/dist/components/ui/navigation-menu.d.mts +9 -9
- package/dist/components/ui/pagination.d.mts +8 -8
- package/dist/components/ui/popover.d.mts +5 -5
- package/dist/components/ui/progress.client.d.mts +2 -2
- package/dist/components/ui/radio-group.d.mts +3 -3
- package/dist/components/ui/resizable.client.d.mts +4 -4
- package/dist/components/ui/scroll-area.d.mts +3 -3
- package/dist/components/ui/select.client.d.mts +11 -11
- package/dist/components/ui/separator.d.mts +2 -2
- package/dist/components/ui/sheet.client.d.mts +9 -9
- package/dist/components/ui/sidebar.client.d.mts +26 -26
- package/dist/components/ui/skeleton.d.mts +2 -2
- package/dist/components/ui/slider.d.mts +2 -2
- package/dist/components/ui/sonner.client.d.mts +2 -2
- package/dist/components/ui/switch.d.mts +2 -2
- package/dist/components/ui/tabs.d.mts +5 -5
- package/dist/components/ui/textarea.d.mts +2 -2
- package/dist/components/ui/time-input.client.d.mts +2 -2
- package/dist/components/ui/toggle-group.client.d.mts +3 -3
- package/dist/components/ui/toggle.d.mts +4 -4
- package/dist/components/ui/toggle.d.mts.map +1 -1
- package/dist/components/ui/tooltip.client.d.mts +5 -5
- package/dist/components/ui/tooltip.client.d.mts.map +1 -1
- package/dist/components.d.mts +2 -2
- package/dist/components.mjs +2 -2
- package/dist/config/server.d.mts +1 -2
- package/dist/config/server.mjs +1 -2
- package/dist/data-tables.d.mts +6 -5
- package/dist/data-tables.mjs +4 -3
- package/dist/inline-edit/client.d.mts +4 -4
- package/dist/inline-edit/client.mjs +3 -3
- package/dist/lib/hooks/use-action.d.mts +2 -2
- package/dist/lib/hooks/use-indicator.d.mts +2 -2
- package/dist/lib.mjs +1 -1
- package/dist/modules/auth/components/allowed.client.d.mts +2 -2
- package/dist/modules/auth/components/allowed.client.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-layout.server.d.mts +2 -2
- package/dist/modules/auth/components/auth-layout.server.d.mts.map +1 -1
- package/dist/modules/auth/components/auth-loading.d.mts +2 -2
- package/dist/modules/auth/components/auth-loading.d.mts.map +1 -1
- package/dist/modules/auth/components/create-first-user-page.client.d.mts +2 -2
- package/dist/modules/auth/components/create-first-user-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/forget-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/forget-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/guard-first-user.server.d.mts +2 -2
- package/dist/modules/auth/components/guard-first-user.server.d.mts.map +1 -1
- package/dist/modules/auth/components/guard.server.d.mts +2 -2
- package/dist/modules/auth/components/guard.server.d.mts.map +1 -1
- package/dist/modules/auth/components/login-page.client.d.mts +2 -2
- package/dist/modules/auth/components/login-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/reset-password-page.client.d.mts +2 -2
- package/dist/modules/auth/components/reset-password-page.client.d.mts.map +1 -1
- package/dist/modules/auth/components/update-password-command.d.mts +2 -2
- package/dist/modules/auth/components/update-password-command.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.d.mts +247 -230
- package/dist/modules/auth/db/schema.d.mts.map +1 -1
- package/dist/modules/auth/db/schema.mjs +12 -20
- package/dist/modules/auth/db/schema.mjs.map +1 -1
- package/dist/modules/auth/handler/client.client.d.mts +129 -129
- package/dist/modules/auth/handler/client.client.d.mts.map +1 -1
- package/dist/modules/auth/handler/client.client.mjs +10 -6
- package/dist/modules/auth/handler/client.client.mjs.map +1 -1
- package/dist/modules/auth/handler/init.d.mts +134 -131
- package/dist/modules/auth/handler/init.d.mts.map +1 -1
- package/dist/modules/auth/handler/init.mjs +5 -2
- package/dist/modules/auth/handler/init.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-permission.d.mts +2 -2
- package/dist/modules/auth/hooks/use-permission.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-permission.mjs +7 -2
- package/dist/modules/auth/hooks/use-permission.mjs.map +1 -1
- package/dist/modules/auth/hooks/use-session.d.mts +119 -3
- package/dist/modules/auth/hooks/use-session.d.mts.map +1 -1
- package/dist/modules/auth/hooks/use-session.mjs +15 -10
- package/dist/modules/auth/hooks/use-session.mjs.map +1 -1
- package/dist/modules/auth/lib/helpers.server.d.mts +5 -5
- package/dist/modules/auth/lib/helpers.server.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.d.mts +1 -1
- package/dist/modules/auth/lib/validators.d.mts.map +1 -1
- package/dist/modules/auth/lib/validators.mjs +1 -1
- package/dist/modules/auth/lib/validators.mjs.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts +10 -10
- package/dist/modules/commands/components/alert-dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/alert-dialog-command.client.mjs +2 -2
- package/dist/modules/commands/components/alert-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/click-command.client.d.mts +2 -2
- package/dist/modules/commands/components/click-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/click-command.client.mjs +2 -2
- package/dist/modules/commands/components/click-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/command-trigger.client.d.mts +6 -6
- package/dist/modules/commands/components/command-trigger.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.d.mts +18 -8
- package/dist/modules/commands/components/dialog-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dialog-command.client.mjs +12 -8
- package/dist/modules/commands/components/dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.d.mts +5 -5
- package/dist/modules/commands/components/dropdown-command.client.d.mts.map +1 -1
- package/dist/modules/commands/components/dropdown-command.client.mjs +2 -2
- package/dist/modules/commands/components/dropdown-command.client.mjs.map +1 -1
- package/dist/modules/commands/components/empty-command.client.d.mts +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.d.mts +11 -11
- package/dist/modules/commands/components/form-dialog-command.client.mjs +2 -2
- package/dist/modules/commands/components/form-dialog-command.client.mjs.map +1 -1
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts +17 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.d.mts.map +1 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs +42 -0
- package/dist/modules/commands/hooks/use-command-mutation.client.mjs.map +1 -0
- package/dist/modules/commands/menus/context-menu.client.d.mts +2 -2
- package/dist/modules/commands/menus/dropdown-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/inline-menu.client.d.mts +3 -3
- package/dist/modules/commands/menus/responsive-menu.client.d.mts +3 -3
- package/dist/modules/commands/utils/archive-command.client.d.mts +3 -3
- package/dist/modules/commands/utils/delete-command.client.d.mts +13 -8
- package/dist/modules/commands/utils/delete-command.client.d.mts.map +1 -1
- package/dist/modules/commands/utils/delete-command.client.mjs +10 -1
- package/dist/modules/commands/utils/delete-command.client.mjs.map +1 -1
- package/dist/modules/config/db/helpers.d.mts +5 -5
- package/dist/modules/config/db/helpers.d.mts.map +1 -1
- package/dist/modules/config/lib/config.d.mts +3 -3
- package/dist/modules/config/lib/config.d.mts.map +1 -1
- package/dist/modules/config/lib/config.mjs.map +1 -1
- package/dist/modules/config/lib/context.d.mts +2 -2
- package/dist/modules/config/lib/context.d.mts.map +1 -1
- package/dist/modules/config/lib/context.mjs.map +1 -1
- package/dist/modules/data-tables/components/cell/common.client.d.mts +5 -5
- package/dist/modules/data-tables/components/cell/common.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/column-header.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/combobox.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/filters/combobox.client.mjs +5 -2
- package/dist/modules/data-tables/components/filters/combobox.client.mjs.map +1 -1
- package/dist/modules/data-tables/components/filters/slider.client.d.mts +2 -2
- package/dist/modules/data-tables/components/filters/slider.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/header.d.mts +4 -4
- package/dist/modules/data-tables/components/layout.d.mts +2 -2
- package/dist/modules/data-tables/components/layout.d.mts.map +1 -1
- package/dist/modules/data-tables/components/search-input.client.d.mts +2 -2
- package/dist/modules/data-tables/components/search-input.client.d.mts.map +1 -1
- package/dist/modules/data-tables/components/skeleton.d.mts +2 -2
- package/dist/modules/data-tables/components/skeleton.d.mts.map +1 -1
- package/dist/modules/data-tables/components/table.d.mts +7 -7
- package/dist/modules/data-tables/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/components/toolbar.d.mts +3 -3
- package/dist/modules/data-tables/components/toolbar.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.d.mts +13 -10
- package/dist/modules/data-tables/hooks/use-context.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-context.client.mjs.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts +2 -1
- package/dist/modules/data-tables/hooks/use-table.client.d.mts.map +1 -1
- package/dist/modules/data-tables/hooks/use-table.client.mjs.map +1 -1
- package/dist/modules/data-tables/lib/converters/search.d.mts +1 -1
- package/dist/modules/data-tables/lib/converters/sorting.d.mts +1 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts +4 -1
- package/dist/modules/data-tables/lib/filters/config.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/config.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/helpers.d.mts +11 -0
- package/dist/modules/data-tables/lib/filters/helpers.d.mts.map +1 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs +17 -0
- package/dist/modules/data-tables/lib/filters/helpers.mjs.map +1 -0
- package/dist/modules/data-tables/lib/filters/parsers.d.mts +7 -2
- package/dist/modules/data-tables/lib/filters/parsers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs +6 -1
- package/dist/modules/data-tables/lib/filters/parsers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts +6 -1
- package/dist/modules/data-tables/lib/filters/resolvers.d.mts.map +1 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs +8 -1
- package/dist/modules/data-tables/lib/filters/resolvers.mjs.map +1 -1
- package/dist/modules/data-tables/lib/types.d.mts +8 -5
- package/dist/modules/data-tables/lib/types.d.mts.map +1 -1
- package/dist/modules/data-tables/server/get-data.server.d.mts +1 -1
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/data-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/common.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.mjs.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/advanced-select.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/combobox.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts +3 -3
- package/dist/modules/data-tables/tables/inline-table/components/inputs/input.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/read-only.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/inputs/select.client.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/components/table.d.mts.map +1 -1
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts +2 -2
- package/dist/modules/data-tables/tables/inline-table/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts +5 -2
- package/dist/modules/inline-edit/components/combobox-dropdown.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs +7 -3
- package/dist/modules/inline-edit/components/combobox-dropdown.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.d.mts +5 -2
- package/dist/modules/inline-edit/components/combobox.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/combobox.client.mjs +6 -2
- package/dist/modules/inline-edit/components/combobox.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.d.mts +6 -3
- package/dist/modules/inline-edit/components/date-input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-input.client.mjs +5 -3
- package/dist/modules/inline-edit/components/date-input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.d.mts +7 -3
- package/dist/modules/inline-edit/components/date-picker.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/date-picker.client.mjs +5 -3
- package/dist/modules/inline-edit/components/date-picker.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts +21 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.d.mts.map +1 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs +37 -0
- package/dist/modules/inline-edit/components/deprecated-editor.client.mjs.map +1 -0
- package/dist/modules/inline-edit/components/editor.client.d.mts +10 -7
- package/dist/modules/inline-edit/components/editor.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/editor.client.mjs +13 -18
- package/dist/modules/inline-edit/components/editor.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts +4 -2
- package/dist/modules/inline-edit/components/input-recipient.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-recipient.client.mjs +7 -3
- package/dist/modules/inline-edit/components/input-recipient.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts +3 -2
- package/dist/modules/inline-edit/components/input-toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input-toggle.client.mjs +3 -2
- package/dist/modules/inline-edit/components/input-toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/input.client.d.mts +18 -4
- package/dist/modules/inline-edit/components/input.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/input.client.mjs +26 -5
- package/dist/modules/inline-edit/components/input.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/select.client.d.mts +8 -6
- package/dist/modules/inline-edit/components/select.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/select.client.mjs +3 -2
- package/dist/modules/inline-edit/components/select.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.d.mts +3 -2
- package/dist/modules/inline-edit/components/switch.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/switch.client.mjs +3 -2
- package/dist/modules/inline-edit/components/switch.client.mjs.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.d.mts +3 -2
- package/dist/modules/inline-edit/components/toggle.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/components/toggle.client.mjs +3 -2
- package/dist/modules/inline-edit/components/toggle.client.mjs.map +1 -1
- package/dist/modules/inline-edit/hooks/context.client.d.mts +2 -2
- package/dist/modules/inline-edit/hooks/context.client.d.mts.map +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.d.mts +1 -1
- package/dist/modules/inline-edit/hooks/use-inline.client.mjs.map +1 -1
- package/dist/modules/inline-edit/lib/variants.d.mts +3 -3
- package/dist/modules/inline-edit/lib/variants.mjs +1 -1
- package/dist/modules/inline-edit/lib/variants.mjs.map +1 -1
- package/dist/modules/router/handler/context.server.d.mts +2 -2
- package/dist/modules/router/handler/context.server.d.mts.map +1 -1
- package/dist/modules/router/handler/init.server.d.mts +7 -7
- package/dist/modules/router/lib/query-client.server.d.mts +2 -2
- package/dist/modules/router/lib/query-client.server.d.mts.map +1 -1
- package/dist/modules/{uploads/components/dropzone/context.d.mts → storage/components/dropzone-context.client.d.mts} +2 -2
- package/dist/modules/storage/components/dropzone-context.client.d.mts.map +1 -0
- package/dist/modules/{uploads/components/dropzone/context.mjs → storage/components/dropzone-context.client.mjs} +2 -2
- package/dist/modules/storage/components/dropzone-context.client.mjs.map +1 -0
- package/dist/modules/{uploads/components/dropzone/index.d.mts → storage/components/dropzone.client.d.mts} +7 -7
- package/dist/modules/storage/components/dropzone.client.d.mts.map +1 -0
- package/dist/modules/{uploads/components/dropzone/index.mjs → storage/components/dropzone.client.mjs} +6 -6
- package/dist/modules/storage/components/dropzone.client.mjs.map +1 -0
- package/dist/modules/storage/components/image-grid.client.d.mts +26 -0
- package/dist/modules/storage/components/image-grid.client.d.mts.map +1 -0
- package/dist/modules/storage/components/image-grid.client.mjs +169 -0
- package/dist/modules/storage/components/image-grid.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts +34 -0
- package/dist/modules/storage/components/upload-zone-context.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs +21 -0
- package/dist/modules/storage/components/upload-zone-context.client.mjs.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts +51 -0
- package/dist/modules/storage/components/upload-zone.client.d.mts.map +1 -0
- package/dist/modules/storage/components/upload-zone.client.mjs +196 -0
- package/dist/modules/storage/components/upload-zone.client.mjs.map +1 -0
- package/dist/modules/{uploads/lib → storage/config}/filters.d.mts +2 -2
- package/dist/modules/storage/config/filters.d.mts.map +1 -0
- package/dist/modules/{uploads/lib → storage/config}/filters.mjs +3 -3
- package/dist/modules/storage/config/filters.mjs.map +1 -0
- package/dist/modules/storage/lib/constants.d.mts +10 -0
- package/dist/modules/storage/lib/constants.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/constants.mjs +3 -2
- package/dist/modules/storage/lib/constants.mjs.map +1 -0
- package/dist/modules/storage/lib/create-client.server.d.mts +11 -0
- package/dist/modules/storage/lib/create-client.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/create-client.server.mjs +11 -0
- package/dist/modules/storage/lib/create-client.server.mjs.map +1 -0
- package/dist/modules/storage/lib/helpers.d.mts +45 -0
- package/dist/modules/storage/lib/helpers.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/helpers.mjs +20 -6
- package/dist/modules/storage/lib/helpers.mjs.map +1 -0
- package/dist/modules/storage/lib/proxy.server.d.mts +21 -0
- package/dist/modules/storage/lib/proxy.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/proxy.server.mjs +46 -0
- package/dist/modules/storage/lib/proxy.server.mjs.map +1 -0
- package/dist/modules/storage/lib/router.server.d.mts +29074 -0
- package/dist/modules/storage/lib/router.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/router.server.mjs +83 -0
- package/dist/modules/storage/lib/router.server.mjs.map +1 -0
- package/dist/modules/{uploads → storage}/lib/schema.d.mts +414 -150
- package/dist/modules/storage/lib/schema.d.mts.map +1 -0
- package/dist/modules/{uploads → storage}/lib/schema.mjs +23 -18
- package/dist/modules/storage/lib/schema.mjs.map +1 -0
- package/dist/modules/storage/lib/service.server.d.mts +188 -0
- package/dist/modules/storage/lib/service.server.d.mts.map +1 -0
- package/dist/modules/storage/lib/service.server.mjs +297 -0
- package/dist/modules/storage/lib/service.server.mjs.map +1 -0
- package/dist/modules/{uploads → storage}/lib/validators.d.mts +413 -108
- package/dist/modules/storage/lib/validators.d.mts.map +1 -0
- package/dist/modules/storage/lib/validators.mjs +106 -0
- package/dist/modules/storage/lib/validators.mjs.map +1 -0
- package/dist/storage/client.d.mts +6 -0
- package/dist/storage/client.mjs +14 -0
- package/dist/storage/client.mjs.map +1 -0
- package/dist/storage/server.d.mts +4 -0
- package/dist/storage/server.mjs +5 -0
- package/dist/storage.d.mts +6 -0
- package/dist/storage.mjs +7 -0
- package/package.json +32 -20
- package/src/components/editor/components/block-dropdown.tsx +43 -25
- package/src/components/editor/components/content.client.tsx +1 -1
- package/src/components/editor/components/editor.client.tsx +95 -0
- package/src/components/editor/components/menu-fixed.client.tsx +165 -0
- package/src/components/editor/components/spinner.tsx +2 -2
- package/src/components/editor/lib/constants.ts +109 -0
- package/src/components/editor/lib/extensions.ts +195 -0
- package/src/components/editor/lib/helpers.ts +3 -3
- package/src/components/editor/lib/variants.ts +5 -0
- package/src/components/entry.client.ts +2 -4
- package/src/components/header/top-bar.client.tsx +1 -1
- package/src/components/layouts/admin-content.client.tsx +1 -1
- package/src/components/ui/calendar.tsx +152 -44
- package/src/components/ui/input-recipient.tsx +3 -0
- package/src/entry.ts +4 -4
- package/src/modules/auth/db/schema.ts +13 -21
- package/src/modules/auth/handler/client.client.ts +2 -0
- package/src/modules/auth/handler/init.ts +4 -1
- package/src/modules/auth/hooks/use-permission.ts +3 -2
- package/src/modules/auth/hooks/use-session.ts +16 -10
- package/src/modules/auth/lib/validators.ts +1 -1
- package/src/modules/commands/components/alert-dialog-command.client.tsx +2 -2
- package/src/modules/commands/components/click-command.client.tsx +2 -2
- package/src/modules/commands/components/dialog-command.client.tsx +20 -8
- package/src/modules/commands/components/dropdown-command.client.tsx +2 -2
- package/src/modules/commands/components/form-dialog-command.client.tsx +2 -2
- package/src/modules/commands/entry.client.ts +1 -1
- package/src/modules/commands/hooks/{use-command-action.client.tsx → use-command-mutation.client.tsx} +9 -47
- package/src/modules/commands/utils/delete-command.client.tsx +14 -2
- package/src/modules/config/db/create-client.ts +11 -4
- package/src/modules/config/entry.server.ts +0 -1
- package/src/modules/config/lib/config.ts +3 -3
- package/src/modules/config/lib/context.ts +2 -2
- package/src/modules/data-tables/components/filters/combobox.client.tsx +3 -3
- package/src/modules/data-tables/entry.ts +1 -1
- package/src/modules/data-tables/hooks/use-context.client.tsx +31 -13
- package/src/modules/data-tables/hooks/use-table.client.ts +6 -3
- package/src/modules/data-tables/lib/filters/config.ts +1 -0
- package/src/modules/data-tables/lib/filters/helpers.ts +19 -0
- package/src/modules/data-tables/lib/filters/parsers.ts +14 -1
- package/src/modules/data-tables/lib/filters/resolvers.ts +8 -0
- package/src/modules/data-tables/lib/types.ts +10 -3
- package/src/modules/data-tables/tables/inline-table/components/cells/drag-handle.client.tsx +1 -1
- package/src/modules/inline-edit/components/combobox-dropdown.client.tsx +9 -2
- package/src/modules/inline-edit/components/combobox.client.tsx +8 -1
- package/src/modules/inline-edit/components/date-input.client.tsx +7 -3
- package/src/modules/inline-edit/components/date-picker.client.tsx +10 -3
- package/src/modules/inline-edit/components/deprecated-editor.client.tsx +48 -0
- package/src/modules/inline-edit/components/editor.client.tsx +32 -29
- package/src/modules/inline-edit/components/input-recipient.client.tsx +6 -2
- package/src/modules/inline-edit/components/input-toggle.client.tsx +2 -0
- package/src/modules/inline-edit/components/input.client.tsx +39 -0
- package/src/modules/inline-edit/components/select.client.tsx +9 -2
- package/src/modules/inline-edit/components/switch.client.tsx +2 -0
- package/src/modules/inline-edit/components/toggle.client.tsx +2 -0
- package/src/modules/inline-edit/entry.client.ts +1 -1
- package/src/modules/inline-edit/hooks/use-inline.client.tsx +2 -2
- package/src/modules/inline-edit/lib/variants.ts +1 -1
- package/src/modules/{uploads/components/dropzone/index.tsx → storage/components/dropzone.client.tsx} +2 -2
- package/src/modules/storage/components/image-grid.client.tsx +225 -0
- package/src/modules/{uploads/components/button.client.tsx → storage/components/upload-button.client.tsx} +1 -1
- package/src/modules/storage/components/upload-zone-context.client.tsx +32 -0
- package/src/modules/storage/components/upload-zone.client.tsx +258 -0
- package/src/modules/{uploads/lib → storage/config}/filters.ts +2 -2
- package/src/modules/storage/entry.client.ts +12 -0
- package/src/modules/storage/entry.server.ts +6 -0
- package/src/modules/{uploads → storage}/entry.ts +1 -1
- package/src/modules/storage/lib/constants.ts +14 -0
- package/src/modules/storage/lib/create-client.server.ts +14 -0
- package/src/modules/{uploads → storage}/lib/helpers.ts +23 -9
- package/src/modules/storage/lib/proxy.server.ts +63 -0
- package/src/modules/storage/lib/router.server.ts +174 -0
- package/src/modules/{uploads → storage}/lib/schema.ts +34 -13
- package/src/modules/storage/lib/service.server.ts +463 -0
- package/src/modules/storage/lib/validators.ts +156 -0
- package/dist/components/editor/components/fixed-menu.client.d.mts +0 -7
- package/dist/components/editor/components/fixed-menu.client.d.mts.map +0 -1
- package/dist/components/editor/components/fixed-menu.client.mjs.map +0 -1
- package/dist/components/editor/context.client.d.mts +0 -33
- package/dist/components/editor/context.client.d.mts.map +0 -1
- package/dist/components/editor/context.client.mjs +0 -45
- package/dist/components/editor/context.client.mjs.map +0 -1
- package/dist/components/editor/index.client.d.mts +0 -11
- package/dist/components/editor/index.client.d.mts.map +0 -1
- package/dist/components/editor/index.client.mjs +0 -17
- package/dist/components/editor/index.client.mjs.map +0 -1
- package/dist/components/editor/preview.client.d.mts +0 -12
- package/dist/components/editor/preview.client.d.mts.map +0 -1
- package/dist/components/editor/preview.client.mjs +0 -19
- package/dist/components/editor/preview.client.mjs.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.d.mts +0 -22
- package/dist/modules/commands/hooks/use-command-action.client.d.mts.map +0 -1
- package/dist/modules/commands/hooks/use-command-action.client.mjs +0 -74
- package/dist/modules/commands/hooks/use-command-action.client.mjs.map +0 -1
- package/dist/modules/config/providers/blob.d.mts +0 -10
- package/dist/modules/config/providers/blob.d.mts.map +0 -1
- package/dist/modules/config/providers/blob.mjs +0 -11
- package/dist/modules/config/providers/blob.mjs.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.d.mts +0 -15
- package/dist/modules/inline-edit/components/richtext.client.d.mts.map +0 -1
- package/dist/modules/inline-edit/components/richtext.client.mjs +0 -31
- package/dist/modules/inline-edit/components/richtext.client.mjs.map +0 -1
- package/dist/modules/uploads/components/button.client.d.mts +0 -12
- package/dist/modules/uploads/components/button.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/button.client.mjs +0 -34
- package/dist/modules/uploads/components/button.client.mjs.map +0 -1
- package/dist/modules/uploads/components/dropzone/context.d.mts.map +0 -1
- package/dist/modules/uploads/components/dropzone/context.mjs.map +0 -1
- package/dist/modules/uploads/components/dropzone/index.d.mts.map +0 -1
- package/dist/modules/uploads/components/dropzone/index.mjs.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.d.mts +0 -11
- package/dist/modules/uploads/components/images/grid.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/images/grid.client.mjs +0 -119
- package/dist/modules/uploads/components/images/grid.client.mjs.map +0 -1
- package/dist/modules/uploads/components/images/input.client.d.mts +0 -16
- package/dist/modules/uploads/components/images/input.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/images/input.client.mjs +0 -28
- package/dist/modules/uploads/components/images/input.client.mjs.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.d.mts +0 -16
- package/dist/modules/uploads/components/preview-dialog.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/preview-dialog.client.mjs +0 -22
- package/dist/modules/uploads/components/preview-dialog.client.mjs.map +0 -1
- package/dist/modules/uploads/components/zone.client.d.mts +0 -21
- package/dist/modules/uploads/components/zone.client.d.mts.map +0 -1
- package/dist/modules/uploads/components/zone.client.mjs +0 -38
- package/dist/modules/uploads/components/zone.client.mjs.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts +0 -34
- package/dist/modules/uploads/hooks/use-upload-image.client.d.mts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs +0 -101
- package/dist/modules/uploads/hooks/use-upload-image.client.mjs.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts +0 -39
- package/dist/modules/uploads/hooks/use-upload-zone.client.d.mts.map +0 -1
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs +0 -20
- package/dist/modules/uploads/hooks/use-upload-zone.client.mjs.map +0 -1
- package/dist/modules/uploads/lib/constants.d.mts +0 -9
- package/dist/modules/uploads/lib/constants.d.mts.map +0 -1
- package/dist/modules/uploads/lib/constants.mjs.map +0 -1
- package/dist/modules/uploads/lib/filters.d.mts.map +0 -1
- package/dist/modules/uploads/lib/filters.mjs.map +0 -1
- package/dist/modules/uploads/lib/helpers.d.mts +0 -36
- package/dist/modules/uploads/lib/helpers.d.mts.map +0 -1
- package/dist/modules/uploads/lib/helpers.mjs.map +0 -1
- package/dist/modules/uploads/lib/procedures.server.d.mts +0 -13628
- package/dist/modules/uploads/lib/procedures.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/procedures.server.mjs +0 -176
- package/dist/modules/uploads/lib/procedures.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.d.mts +0 -54
- package/dist/modules/uploads/lib/proxy.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/proxy.server.mjs +0 -97
- package/dist/modules/uploads/lib/proxy.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/route.server.d.mts +0 -43
- package/dist/modules/uploads/lib/route.server.d.mts.map +0 -1
- package/dist/modules/uploads/lib/route.server.mjs +0 -70
- package/dist/modules/uploads/lib/route.server.mjs.map +0 -1
- package/dist/modules/uploads/lib/schema.d.mts.map +0 -1
- package/dist/modules/uploads/lib/schema.mjs.map +0 -1
- package/dist/modules/uploads/lib/validators.d.mts.map +0 -1
- package/dist/modules/uploads/lib/validators.mjs +0 -26
- package/dist/modules/uploads/lib/validators.mjs.map +0 -1
- package/dist/uploads/client.d.mts +0 -10
- package/dist/uploads/client.mjs +0 -11
- package/dist/uploads/server.d.mts +0 -4
- package/dist/uploads/server.mjs +0 -5
- package/dist/uploads.d.mts +0 -6
- package/dist/uploads.mjs +0 -7
- package/src/components/editor/components/fixed-menu.client.tsx +0 -143
- package/src/components/editor/context.client.tsx +0 -116
- package/src/components/editor/index.client.tsx +0 -13
- package/src/components/editor/preview.client.tsx +0 -13
- package/src/modules/config/providers/blob.ts +0 -11
- package/src/modules/inline-edit/components/richtext.client.tsx +0 -38
- package/src/modules/uploads/components/images/grid.client.tsx +0 -162
- package/src/modules/uploads/components/images/input.client.tsx +0 -34
- package/src/modules/uploads/components/preview-dialog.client.tsx +0 -21
- package/src/modules/uploads/components/zone.client.tsx +0 -56
- package/src/modules/uploads/entry.client.ts +0 -16
- package/src/modules/uploads/entry.server.ts +0 -6
- package/src/modules/uploads/hooks/use-upload-image.client.tsx +0 -131
- package/src/modules/uploads/hooks/use-upload-zone.client.ts +0 -44
- package/src/modules/uploads/lib/constants.ts +0 -10
- package/src/modules/uploads/lib/procedures.server.ts +0 -332
- package/src/modules/uploads/lib/proxy.server.ts +0 -139
- package/src/modules/uploads/lib/route.server.ts +0 -93
- package/src/modules/uploads/lib/validators.ts +0 -50
- /package/src/modules/{uploads/components/dropzone/context.tsx → storage/components/dropzone-context.client.tsx} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import * as better_auth_react0 from "better-auth/react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
2
|
+
import * as _better_auth_passkey2 from "@better-auth/passkey";
|
|
3
|
+
import * as better_auth_plugins18 from "better-auth/plugins";
|
|
4
|
+
import * as better_auth126 from "better-auth";
|
|
5
|
+
import * as _simplewebauthn_server2 from "@simplewebauthn/server";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/auth/handler/client.client.d.ts
|
|
8
8
|
declare const authClient: {
|
|
9
9
|
useListPasskeys: () => {
|
|
10
|
-
data:
|
|
10
|
+
data: _better_auth_passkey2.Passkey[] | null;
|
|
11
11
|
error: null | better_auth_react0.BetterFetchError;
|
|
12
12
|
isPending: boolean;
|
|
13
13
|
isRefetching: boolean;
|
|
14
14
|
refetch: (queryParams?: {
|
|
15
|
-
query?:
|
|
15
|
+
query?: better_auth126.SessionQueryParams;
|
|
16
16
|
} | undefined) => Promise<void>;
|
|
17
17
|
};
|
|
18
18
|
} & {
|
|
19
19
|
passkey: {
|
|
20
|
-
generateRegisterOptions: <FetchOptions extends
|
|
20
|
+
generateRegisterOptions: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
21
21
|
authenticatorAttachment?: "platform" | "cross-platform" | undefined;
|
|
22
22
|
name?: string | undefined;
|
|
23
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?:
|
|
23
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
24
24
|
query?: {
|
|
25
25
|
authenticatorAttachment?: "platform" | "cross-platform" | undefined;
|
|
26
26
|
name?: string | undefined;
|
|
27
27
|
} | undefined;
|
|
28
28
|
fetchOptions?: FetchOptions | undefined;
|
|
29
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
29
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<_simplewebauthn_server2.PublicKeyCredentialCreationOptionsJSON, {
|
|
30
30
|
code?: string | undefined;
|
|
31
31
|
message?: string | undefined;
|
|
32
32
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
passkey: {
|
|
36
|
-
generateAuthenticateOptions: <FetchOptions extends
|
|
36
|
+
generateAuthenticateOptions: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
37
37
|
query?: Record<string, any> | undefined;
|
|
38
38
|
fetchOptions?: FetchOptions | undefined;
|
|
39
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
39
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<_simplewebauthn_server2.PublicKeyCredentialRequestOptionsJSON, {
|
|
40
40
|
code?: string | undefined;
|
|
41
41
|
message?: string | undefined;
|
|
42
42
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
43
43
|
};
|
|
44
44
|
} & {
|
|
45
45
|
passkey: {
|
|
46
|
-
verifyRegistration: <FetchOptions extends
|
|
46
|
+
verifyRegistration: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
47
47
|
response: any;
|
|
48
48
|
name?: string | undefined;
|
|
49
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
49
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
50
50
|
response: any;
|
|
51
51
|
name?: string | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
fetchOptions?: FetchOptions | undefined;
|
|
54
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
54
|
+
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<_better_auth_passkey2.Passkey, {
|
|
55
55
|
code?: string | undefined;
|
|
56
56
|
message?: string | undefined;
|
|
57
57
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
58
58
|
};
|
|
59
59
|
} & {
|
|
60
60
|
passkey: {
|
|
61
|
-
verifyAuthentication: <FetchOptions extends
|
|
62
|
-
response:
|
|
63
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
64
|
-
response:
|
|
61
|
+
verifyAuthentication: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
62
|
+
response: _simplewebauthn_server2.AuthenticationResponseJSON;
|
|
63
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
64
|
+
response: _simplewebauthn_server2.AuthenticationResponseJSON;
|
|
65
65
|
} & {
|
|
66
66
|
fetchOptions?: FetchOptions | undefined;
|
|
67
67
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
@@ -82,19 +82,19 @@ declare const authClient: {
|
|
|
82
82
|
};
|
|
83
83
|
} & {
|
|
84
84
|
passkey: {
|
|
85
|
-
listUserPasskeys: <FetchOptions extends
|
|
85
|
+
listUserPasskeys: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
86
86
|
query?: Record<string, any> | undefined;
|
|
87
87
|
fetchOptions?: FetchOptions | undefined;
|
|
88
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
88
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<_better_auth_passkey2.Passkey[], {
|
|
89
89
|
code?: string | undefined;
|
|
90
90
|
message?: string | undefined;
|
|
91
91
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
92
92
|
};
|
|
93
93
|
} & {
|
|
94
94
|
passkey: {
|
|
95
|
-
deletePasskey: <FetchOptions extends
|
|
95
|
+
deletePasskey: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
96
96
|
id: string;
|
|
97
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
97
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
98
98
|
id: string;
|
|
99
99
|
} & {
|
|
100
100
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -107,16 +107,16 @@ declare const authClient: {
|
|
|
107
107
|
};
|
|
108
108
|
} & {
|
|
109
109
|
passkey: {
|
|
110
|
-
updatePasskey: <FetchOptions extends
|
|
110
|
+
updatePasskey: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
111
111
|
id: string;
|
|
112
112
|
name: string;
|
|
113
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
113
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
114
114
|
id: string;
|
|
115
115
|
name: string;
|
|
116
116
|
} & {
|
|
117
117
|
fetchOptions?: FetchOptions | undefined;
|
|
118
118
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
119
|
-
passkey:
|
|
119
|
+
passkey: _better_auth_passkey2.Passkey;
|
|
120
120
|
}, {
|
|
121
121
|
code?: string | undefined;
|
|
122
122
|
message?: string | undefined;
|
|
@@ -124,9 +124,9 @@ declare const authClient: {
|
|
|
124
124
|
};
|
|
125
125
|
} & {
|
|
126
126
|
admin: {
|
|
127
|
-
getUser: <FetchOptions extends
|
|
127
|
+
getUser: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
128
128
|
id: string;
|
|
129
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
129
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
130
130
|
query: {
|
|
131
131
|
id: string;
|
|
132
132
|
};
|
|
@@ -146,22 +146,22 @@ declare const authClient: {
|
|
|
146
146
|
};
|
|
147
147
|
} & {
|
|
148
148
|
admin: {
|
|
149
|
-
updateUser: <FetchOptions extends
|
|
149
|
+
updateUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
150
150
|
userId: unknown;
|
|
151
151
|
data: Record<any, any>;
|
|
152
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
152
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
153
153
|
userId: unknown;
|
|
154
154
|
data: Record<any, any>;
|
|
155
155
|
} & {
|
|
156
156
|
fetchOptions?: FetchOptions | undefined;
|
|
157
|
-
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
157
|
+
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<better_auth_plugins18.UserWithRole, {
|
|
158
158
|
code?: string | undefined;
|
|
159
159
|
message?: string | undefined;
|
|
160
160
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
161
161
|
};
|
|
162
162
|
} & {
|
|
163
163
|
admin: {
|
|
164
|
-
listUsers: <FetchOptions extends
|
|
164
|
+
listUsers: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
165
165
|
searchValue?: string | undefined;
|
|
166
166
|
searchField?: "name" | "email" | undefined;
|
|
167
167
|
searchOperator?: "contains" | "starts_with" | "ends_with" | undefined;
|
|
@@ -172,7 +172,7 @@ declare const authClient: {
|
|
|
172
172
|
filterField?: string | undefined;
|
|
173
173
|
filterValue?: string | number | boolean | undefined;
|
|
174
174
|
filterOperator?: "contains" | "eq" | "ne" | "lt" | "lte" | "gt" | "gte" | undefined;
|
|
175
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
175
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
176
176
|
query: {
|
|
177
177
|
searchValue?: string | undefined;
|
|
178
178
|
searchField?: "name" | "email" | undefined;
|
|
@@ -187,7 +187,7 @@ declare const authClient: {
|
|
|
187
187
|
};
|
|
188
188
|
fetchOptions?: FetchOptions | undefined;
|
|
189
189
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<NonNullable<{
|
|
190
|
-
users:
|
|
190
|
+
users: better_auth_plugins18.UserWithRole[];
|
|
191
191
|
total: number;
|
|
192
192
|
limit: number | undefined;
|
|
193
193
|
offset: number | undefined;
|
|
@@ -201,14 +201,14 @@ declare const authClient: {
|
|
|
201
201
|
};
|
|
202
202
|
} & {
|
|
203
203
|
admin: {
|
|
204
|
-
listUserSessions: <FetchOptions extends
|
|
204
|
+
listUserSessions: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
205
205
|
userId: unknown;
|
|
206
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
206
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
207
207
|
userId: unknown;
|
|
208
208
|
} & {
|
|
209
209
|
fetchOptions?: FetchOptions | undefined;
|
|
210
210
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
211
|
-
sessions:
|
|
211
|
+
sessions: better_auth_plugins18.SessionWithImpersonatedBy[];
|
|
212
212
|
}, {
|
|
213
213
|
code?: string | undefined;
|
|
214
214
|
message?: string | undefined;
|
|
@@ -216,9 +216,9 @@ declare const authClient: {
|
|
|
216
216
|
};
|
|
217
217
|
} & {
|
|
218
218
|
admin: {
|
|
219
|
-
unbanUser: <FetchOptions extends
|
|
219
|
+
unbanUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
220
220
|
userId: unknown;
|
|
221
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
221
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
222
222
|
userId: unknown;
|
|
223
223
|
} & {
|
|
224
224
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -239,11 +239,11 @@ declare const authClient: {
|
|
|
239
239
|
};
|
|
240
240
|
} & {
|
|
241
241
|
admin: {
|
|
242
|
-
banUser: <FetchOptions extends
|
|
242
|
+
banUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
243
243
|
userId: unknown;
|
|
244
244
|
banReason?: string | undefined;
|
|
245
245
|
banExpiresIn?: number | undefined;
|
|
246
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
246
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
247
247
|
userId: unknown;
|
|
248
248
|
banReason?: string | undefined;
|
|
249
249
|
banExpiresIn?: number | undefined;
|
|
@@ -266,9 +266,9 @@ declare const authClient: {
|
|
|
266
266
|
};
|
|
267
267
|
} & {
|
|
268
268
|
admin: {
|
|
269
|
-
impersonateUser: <FetchOptions extends
|
|
269
|
+
impersonateUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
270
270
|
userId: unknown;
|
|
271
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
271
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
272
272
|
userId: unknown;
|
|
273
273
|
} & {
|
|
274
274
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -299,12 +299,12 @@ declare const authClient: {
|
|
|
299
299
|
};
|
|
300
300
|
} & {
|
|
301
301
|
admin: {
|
|
302
|
-
stopImpersonating: <FetchOptions extends
|
|
302
|
+
stopImpersonating: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
303
303
|
query?: Record<string, any> | undefined;
|
|
304
304
|
fetchOptions?: FetchOptions | undefined;
|
|
305
305
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
306
|
-
session:
|
|
307
|
-
user:
|
|
306
|
+
session: better_auth126.Session & Record<string, any>;
|
|
307
|
+
user: better_auth126.User & Record<string, any>;
|
|
308
308
|
}, {
|
|
309
309
|
code?: string | undefined;
|
|
310
310
|
message?: string | undefined;
|
|
@@ -312,9 +312,9 @@ declare const authClient: {
|
|
|
312
312
|
};
|
|
313
313
|
} & {
|
|
314
314
|
admin: {
|
|
315
|
-
revokeUserSession: <FetchOptions extends
|
|
315
|
+
revokeUserSession: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
316
316
|
sessionToken: string;
|
|
317
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
317
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
318
318
|
sessionToken: string;
|
|
319
319
|
} & {
|
|
320
320
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -327,9 +327,9 @@ declare const authClient: {
|
|
|
327
327
|
};
|
|
328
328
|
} & {
|
|
329
329
|
admin: {
|
|
330
|
-
revokeUserSessions: <FetchOptions extends
|
|
330
|
+
revokeUserSessions: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
331
331
|
userId: unknown;
|
|
332
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
332
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
333
333
|
userId: unknown;
|
|
334
334
|
} & {
|
|
335
335
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -342,9 +342,9 @@ declare const authClient: {
|
|
|
342
342
|
};
|
|
343
343
|
} & {
|
|
344
344
|
admin: {
|
|
345
|
-
removeUser: <FetchOptions extends
|
|
345
|
+
removeUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
346
346
|
userId: unknown;
|
|
347
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
347
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
348
348
|
userId: unknown;
|
|
349
349
|
} & {
|
|
350
350
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -357,10 +357,10 @@ declare const authClient: {
|
|
|
357
357
|
};
|
|
358
358
|
} & {
|
|
359
359
|
admin: {
|
|
360
|
-
setUserPassword: <FetchOptions extends
|
|
360
|
+
setUserPassword: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
361
361
|
newPassword: string;
|
|
362
362
|
userId: unknown;
|
|
363
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
363
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
364
364
|
newPassword: string;
|
|
365
365
|
userId: unknown;
|
|
366
366
|
} & {
|
|
@@ -374,11 +374,11 @@ declare const authClient: {
|
|
|
374
374
|
};
|
|
375
375
|
} & {
|
|
376
376
|
emailOtp: {
|
|
377
|
-
checkVerificationOtp: <FetchOptions extends
|
|
377
|
+
checkVerificationOtp: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
378
378
|
email: string;
|
|
379
379
|
type: "sign-in" | "email-verification" | "forget-password";
|
|
380
380
|
otp: string;
|
|
381
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
381
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
382
382
|
email: string;
|
|
383
383
|
type: "sign-in" | "email-verification" | "forget-password";
|
|
384
384
|
otp: string;
|
|
@@ -393,10 +393,10 @@ declare const authClient: {
|
|
|
393
393
|
};
|
|
394
394
|
} & {
|
|
395
395
|
emailOtp: {
|
|
396
|
-
verifyEmail: <FetchOptions extends
|
|
396
|
+
verifyEmail: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
397
397
|
email: string;
|
|
398
398
|
otp: string;
|
|
399
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
399
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
400
400
|
email: string;
|
|
401
401
|
otp: string;
|
|
402
402
|
} & {
|
|
@@ -432,10 +432,10 @@ declare const authClient: {
|
|
|
432
432
|
};
|
|
433
433
|
} & {
|
|
434
434
|
signIn: {
|
|
435
|
-
emailOtp: <FetchOptions extends
|
|
435
|
+
emailOtp: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
436
436
|
email: string;
|
|
437
437
|
otp: string;
|
|
438
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
438
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
439
439
|
email: string;
|
|
440
440
|
otp: string;
|
|
441
441
|
} & {
|
|
@@ -458,9 +458,9 @@ declare const authClient: {
|
|
|
458
458
|
};
|
|
459
459
|
} & {
|
|
460
460
|
forgetPassword: {
|
|
461
|
-
emailOtp: <FetchOptions extends
|
|
461
|
+
emailOtp: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
462
462
|
email: string;
|
|
463
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
463
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
464
464
|
email: string;
|
|
465
465
|
} & {
|
|
466
466
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -473,11 +473,11 @@ declare const authClient: {
|
|
|
473
473
|
};
|
|
474
474
|
} & {
|
|
475
475
|
emailOtp: {
|
|
476
|
-
resetPassword: <FetchOptions extends
|
|
476
|
+
resetPassword: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
477
477
|
email: string;
|
|
478
478
|
otp: string;
|
|
479
479
|
password: string;
|
|
480
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
480
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
481
481
|
email: string;
|
|
482
482
|
otp: string;
|
|
483
483
|
password: string;
|
|
@@ -492,10 +492,10 @@ declare const authClient: {
|
|
|
492
492
|
};
|
|
493
493
|
} & {
|
|
494
494
|
emailOtp: {
|
|
495
|
-
sendVerificationOtp: <FetchOptions extends
|
|
495
|
+
sendVerificationOtp: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
496
496
|
email: string;
|
|
497
497
|
type: "sign-in" | "email-verification" | "forget-password";
|
|
498
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
498
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
499
499
|
email: string;
|
|
500
500
|
type: "sign-in" | "email-verification" | "forget-password";
|
|
501
501
|
} & {
|
|
@@ -508,7 +508,7 @@ declare const authClient: {
|
|
|
508
508
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
509
509
|
};
|
|
510
510
|
} & {
|
|
511
|
-
signOut: <FetchOptions extends
|
|
511
|
+
signOut: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
512
512
|
query?: Record<string, any> | undefined;
|
|
513
513
|
fetchOptions?: FetchOptions | undefined;
|
|
514
514
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
@@ -518,12 +518,12 @@ declare const authClient: {
|
|
|
518
518
|
message?: string | undefined;
|
|
519
519
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
520
520
|
} & {
|
|
521
|
-
resetPassword: <FetchOptions extends
|
|
521
|
+
resetPassword: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
522
522
|
newPassword: string;
|
|
523
523
|
token?: string | undefined;
|
|
524
524
|
}> & Record<string, any>, Partial<{
|
|
525
525
|
token?: string | undefined;
|
|
526
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
526
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
527
527
|
newPassword: string;
|
|
528
528
|
token?: string | undefined;
|
|
529
529
|
} & {
|
|
@@ -535,10 +535,10 @@ declare const authClient: {
|
|
|
535
535
|
message?: string | undefined;
|
|
536
536
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
537
537
|
} & {
|
|
538
|
-
verifyEmail: <FetchOptions extends
|
|
538
|
+
verifyEmail: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
539
539
|
token: string;
|
|
540
540
|
callbackURL?: string | undefined;
|
|
541
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
541
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
542
542
|
query: {
|
|
543
543
|
token: string;
|
|
544
544
|
callbackURL?: string | undefined;
|
|
@@ -551,10 +551,10 @@ declare const authClient: {
|
|
|
551
551
|
message?: string | undefined;
|
|
552
552
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
553
553
|
} & {
|
|
554
|
-
sendVerificationEmail: <FetchOptions extends
|
|
554
|
+
sendVerificationEmail: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
555
555
|
email: string;
|
|
556
556
|
callbackURL?: string | undefined;
|
|
557
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
557
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
558
558
|
email: string;
|
|
559
559
|
callbackURL?: string | undefined;
|
|
560
560
|
} & {
|
|
@@ -566,10 +566,10 @@ declare const authClient: {
|
|
|
566
566
|
message?: string | undefined;
|
|
567
567
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
568
568
|
} & {
|
|
569
|
-
changeEmail: <FetchOptions extends
|
|
569
|
+
changeEmail: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
570
570
|
newEmail: string;
|
|
571
571
|
callbackURL?: string | undefined;
|
|
572
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
572
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
573
573
|
newEmail: string;
|
|
574
574
|
callbackURL?: string | undefined;
|
|
575
575
|
} & {
|
|
@@ -581,11 +581,11 @@ declare const authClient: {
|
|
|
581
581
|
message?: string | undefined;
|
|
582
582
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
583
583
|
} & {
|
|
584
|
-
changePassword: <FetchOptions extends
|
|
584
|
+
changePassword: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
585
585
|
newPassword: string;
|
|
586
586
|
currentPassword: string;
|
|
587
587
|
revokeOtherSessions?: boolean | undefined;
|
|
588
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
588
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
589
589
|
newPassword: string;
|
|
590
590
|
currentPassword: string;
|
|
591
591
|
revokeOtherSessions?: boolean | undefined;
|
|
@@ -607,11 +607,11 @@ declare const authClient: {
|
|
|
607
607
|
message?: string | undefined;
|
|
608
608
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
609
609
|
} & {
|
|
610
|
-
deleteUser: <FetchOptions extends
|
|
610
|
+
deleteUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
611
611
|
callbackURL?: string | undefined;
|
|
612
612
|
password?: string | undefined;
|
|
613
613
|
token?: string | undefined;
|
|
614
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?:
|
|
614
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
615
615
|
callbackURL?: string | undefined;
|
|
616
616
|
password?: string | undefined;
|
|
617
617
|
token?: string | undefined;
|
|
@@ -625,10 +625,10 @@ declare const authClient: {
|
|
|
625
625
|
message?: string | undefined;
|
|
626
626
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
627
627
|
} & {
|
|
628
|
-
requestPasswordReset: <FetchOptions extends
|
|
628
|
+
requestPasswordReset: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
629
629
|
email: string;
|
|
630
630
|
redirectTo?: string | undefined;
|
|
631
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
631
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
632
632
|
email: string;
|
|
633
633
|
redirectTo?: string | undefined;
|
|
634
634
|
} & {
|
|
@@ -642,11 +642,11 @@ declare const authClient: {
|
|
|
642
642
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
643
643
|
} & {
|
|
644
644
|
resetPassword: {
|
|
645
|
-
":token": <FetchOptions extends
|
|
645
|
+
":token": <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
646
646
|
callbackURL: string;
|
|
647
647
|
}> & Record<string, any>, {
|
|
648
648
|
token: string;
|
|
649
|
-
}>>(data_0:
|
|
649
|
+
}>>(data_0: better_auth126.Prettify<{
|
|
650
650
|
query: {
|
|
651
651
|
callbackURL: string;
|
|
652
652
|
};
|
|
@@ -657,9 +657,9 @@ declare const authClient: {
|
|
|
657
657
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
658
658
|
};
|
|
659
659
|
} & {
|
|
660
|
-
revokeSession: <FetchOptions extends
|
|
660
|
+
revokeSession: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
661
661
|
token: string;
|
|
662
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
662
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
663
663
|
token: string;
|
|
664
664
|
} & {
|
|
665
665
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -670,7 +670,7 @@ declare const authClient: {
|
|
|
670
670
|
message?: string | undefined;
|
|
671
671
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
672
672
|
} & {
|
|
673
|
-
revokeSessions: <FetchOptions extends
|
|
673
|
+
revokeSessions: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
674
674
|
query?: Record<string, any> | undefined;
|
|
675
675
|
fetchOptions?: FetchOptions | undefined;
|
|
676
676
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
@@ -680,7 +680,7 @@ declare const authClient: {
|
|
|
680
680
|
message?: string | undefined;
|
|
681
681
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
682
682
|
} & {
|
|
683
|
-
revokeOtherSessions: <FetchOptions extends
|
|
683
|
+
revokeOtherSessions: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
684
684
|
query?: Record<string, any> | undefined;
|
|
685
685
|
fetchOptions?: FetchOptions | undefined;
|
|
686
686
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
@@ -690,7 +690,7 @@ declare const authClient: {
|
|
|
690
690
|
message?: string | undefined;
|
|
691
691
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
692
692
|
} & {
|
|
693
|
-
linkSocial: <FetchOptions extends
|
|
693
|
+
linkSocial: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
694
694
|
provider: unknown;
|
|
695
695
|
callbackURL?: string | undefined;
|
|
696
696
|
idToken?: {
|
|
@@ -705,7 +705,7 @@ declare const authClient: {
|
|
|
705
705
|
errorCallbackURL?: string | undefined;
|
|
706
706
|
disableRedirect?: boolean | undefined;
|
|
707
707
|
additionalData?: Record<string, any> | undefined;
|
|
708
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
708
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
709
709
|
provider: unknown;
|
|
710
710
|
callbackURL?: string | undefined;
|
|
711
711
|
idToken?: {
|
|
@@ -730,7 +730,7 @@ declare const authClient: {
|
|
|
730
730
|
message?: string | undefined;
|
|
731
731
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
732
732
|
} & {
|
|
733
|
-
listAccounts: <FetchOptions extends
|
|
733
|
+
listAccounts: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
734
734
|
query?: Record<string, any> | undefined;
|
|
735
735
|
fetchOptions?: FetchOptions | undefined;
|
|
736
736
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
@@ -747,10 +747,10 @@ declare const authClient: {
|
|
|
747
747
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
748
748
|
} & {
|
|
749
749
|
deleteUser: {
|
|
750
|
-
callback: <FetchOptions extends
|
|
750
|
+
callback: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
751
751
|
token: string;
|
|
752
752
|
callbackURL?: string | undefined;
|
|
753
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
753
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
754
754
|
query: {
|
|
755
755
|
token: string;
|
|
756
756
|
callbackURL?: string | undefined;
|
|
@@ -765,10 +765,10 @@ declare const authClient: {
|
|
|
765
765
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
766
766
|
};
|
|
767
767
|
} & {
|
|
768
|
-
unlinkAccount: <FetchOptions extends
|
|
768
|
+
unlinkAccount: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
769
769
|
providerId: string;
|
|
770
770
|
accountId?: string | undefined;
|
|
771
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
771
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
772
772
|
providerId: string;
|
|
773
773
|
accountId?: string | undefined;
|
|
774
774
|
} & {
|
|
@@ -780,11 +780,11 @@ declare const authClient: {
|
|
|
780
780
|
message?: string | undefined;
|
|
781
781
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
782
782
|
} & {
|
|
783
|
-
refreshToken: <FetchOptions extends
|
|
783
|
+
refreshToken: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
784
784
|
providerId: string;
|
|
785
785
|
accountId?: string | undefined;
|
|
786
786
|
userId?: string | undefined;
|
|
787
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
787
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
788
788
|
providerId: string;
|
|
789
789
|
accountId?: string | undefined;
|
|
790
790
|
userId?: string | undefined;
|
|
@@ -804,11 +804,11 @@ declare const authClient: {
|
|
|
804
804
|
message?: string | undefined;
|
|
805
805
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
806
806
|
} & {
|
|
807
|
-
getAccessToken: <FetchOptions extends
|
|
807
|
+
getAccessToken: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
808
808
|
providerId: string;
|
|
809
809
|
accountId?: string | undefined;
|
|
810
810
|
userId?: string | undefined;
|
|
811
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
811
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
812
812
|
providerId: string;
|
|
813
813
|
accountId?: string | undefined;
|
|
814
814
|
userId?: string | undefined;
|
|
@@ -824,15 +824,15 @@ declare const authClient: {
|
|
|
824
824
|
message?: string | undefined;
|
|
825
825
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
826
826
|
} & {
|
|
827
|
-
accountInfo: <FetchOptions extends
|
|
827
|
+
accountInfo: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
828
828
|
accountId?: string | undefined;
|
|
829
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?:
|
|
829
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
830
830
|
query?: {
|
|
831
831
|
accountId?: string | undefined;
|
|
832
832
|
} | undefined;
|
|
833
833
|
fetchOptions?: FetchOptions | undefined;
|
|
834
834
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
835
|
-
user:
|
|
835
|
+
user: better_auth126.OAuth2UserInfo;
|
|
836
836
|
data: Record<string, any>;
|
|
837
837
|
}, {
|
|
838
838
|
code?: string | undefined;
|
|
@@ -840,16 +840,16 @@ declare const authClient: {
|
|
|
840
840
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
841
841
|
} & {
|
|
842
842
|
admin: {
|
|
843
|
-
setRole: <FetchOptions extends
|
|
843
|
+
setRole: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
844
844
|
userId: string;
|
|
845
845
|
role: "user" | "admin" | ("user" | "admin")[];
|
|
846
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
846
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
847
847
|
userId: string;
|
|
848
848
|
role: "user" | "admin" | ("user" | "admin")[];
|
|
849
849
|
} & {
|
|
850
850
|
fetchOptions?: FetchOptions | undefined;
|
|
851
851
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
852
|
-
user:
|
|
852
|
+
user: better_auth_plugins18.UserWithRole;
|
|
853
853
|
}, {
|
|
854
854
|
code?: string | undefined;
|
|
855
855
|
message?: string | undefined;
|
|
@@ -857,13 +857,13 @@ declare const authClient: {
|
|
|
857
857
|
};
|
|
858
858
|
} & {
|
|
859
859
|
admin: {
|
|
860
|
-
createUser: <FetchOptions extends
|
|
860
|
+
createUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
861
861
|
email: string;
|
|
862
862
|
password: string;
|
|
863
863
|
name: string;
|
|
864
864
|
role?: "user" | "admin" | ("user" | "admin")[] | undefined;
|
|
865
865
|
data?: Record<string, any> | undefined;
|
|
866
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
866
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
867
867
|
email: string;
|
|
868
868
|
password: string;
|
|
869
869
|
name: string;
|
|
@@ -872,7 +872,7 @@ declare const authClient: {
|
|
|
872
872
|
} & {
|
|
873
873
|
fetchOptions?: FetchOptions | undefined;
|
|
874
874
|
}>, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<{
|
|
875
|
-
user:
|
|
875
|
+
user: better_auth_plugins18.UserWithRole;
|
|
876
876
|
}, {
|
|
877
877
|
code?: string | undefined;
|
|
878
878
|
message?: string | undefined;
|
|
@@ -880,7 +880,7 @@ declare const authClient: {
|
|
|
880
880
|
};
|
|
881
881
|
} & {
|
|
882
882
|
admin: {
|
|
883
|
-
hasPermission: <FetchOptions extends
|
|
883
|
+
hasPermission: <FetchOptions extends better_auth126.ClientFetchOption<Partial<({
|
|
884
884
|
permission: {
|
|
885
885
|
readonly user?: ("set-role" | "create" | "update" | "delete" | "set-password" | "list" | "ban" | "impersonate" | "get")[] | undefined;
|
|
886
886
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
@@ -895,7 +895,7 @@ declare const authClient: {
|
|
|
895
895
|
}) & {
|
|
896
896
|
userId?: string | undefined;
|
|
897
897
|
role?: "user" | "admin" | undefined;
|
|
898
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
898
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<(({
|
|
899
899
|
permission: {
|
|
900
900
|
readonly user?: ("set-role" | "create" | "update" | "delete" | "set-password" | "list" | "ban" | "impersonate" | "get")[] | undefined;
|
|
901
901
|
readonly session?: ("delete" | "list" | "revoke")[] | undefined;
|
|
@@ -922,7 +922,7 @@ declare const authClient: {
|
|
|
922
922
|
};
|
|
923
923
|
} & {
|
|
924
924
|
signIn: {
|
|
925
|
-
social: <FetchOptions extends
|
|
925
|
+
social: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
926
926
|
provider: "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel" | (string & {});
|
|
927
927
|
callbackURL?: string | undefined;
|
|
928
928
|
newUserCallbackURL?: string | undefined;
|
|
@@ -939,7 +939,7 @@ declare const authClient: {
|
|
|
939
939
|
requestSignUp?: boolean | undefined;
|
|
940
940
|
loginHint?: string | undefined;
|
|
941
941
|
additionalData?: Record<string, any> | undefined;
|
|
942
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
942
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
943
943
|
provider: "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel" | (string & {});
|
|
944
944
|
callbackURL?: string | undefined;
|
|
945
945
|
newUserCallbackURL?: string | undefined;
|
|
@@ -981,14 +981,14 @@ declare const authClient: {
|
|
|
981
981
|
};
|
|
982
982
|
} & {
|
|
983
983
|
signUp: {
|
|
984
|
-
email: <FetchOptions extends
|
|
984
|
+
email: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
985
985
|
name: string;
|
|
986
986
|
email: string;
|
|
987
987
|
password: string;
|
|
988
988
|
image?: string | undefined;
|
|
989
989
|
callbackURL?: string | undefined;
|
|
990
990
|
rememberMe?: boolean | undefined;
|
|
991
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
991
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
992
992
|
email: string;
|
|
993
993
|
name: string;
|
|
994
994
|
password: string;
|
|
@@ -1027,12 +1027,12 @@ declare const authClient: {
|
|
|
1027
1027
|
};
|
|
1028
1028
|
} & {
|
|
1029
1029
|
signIn: {
|
|
1030
|
-
email: <FetchOptions extends
|
|
1030
|
+
email: <FetchOptions extends better_auth126.ClientFetchOption<Partial<{
|
|
1031
1031
|
email: string;
|
|
1032
1032
|
password: string;
|
|
1033
1033
|
callbackURL?: string | undefined;
|
|
1034
1034
|
rememberMe?: boolean | undefined;
|
|
1035
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0:
|
|
1035
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth126.Prettify<{
|
|
1036
1036
|
email: string;
|
|
1037
1037
|
password: string;
|
|
1038
1038
|
callbackURL?: string | undefined;
|
|
@@ -1058,10 +1058,10 @@ declare const authClient: {
|
|
|
1058
1058
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1059
1059
|
};
|
|
1060
1060
|
} & {
|
|
1061
|
-
updateUser: <FetchOptions extends
|
|
1061
|
+
updateUser: <FetchOptions extends better_auth126.ClientFetchOption<Partial<Partial<{}> & {
|
|
1062
1062
|
name?: string | undefined;
|
|
1063
1063
|
image?: string | undefined | null;
|
|
1064
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?:
|
|
1064
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
1065
1065
|
image?: (string | null) | undefined;
|
|
1066
1066
|
name?: string | undefined;
|
|
1067
1067
|
fetchOptions?: FetchOptions | undefined;
|
|
@@ -1075,10 +1075,10 @@ declare const authClient: {
|
|
|
1075
1075
|
message?: string | undefined;
|
|
1076
1076
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1077
1077
|
} & {
|
|
1078
|
-
listSessions: <FetchOptions extends
|
|
1078
|
+
listSessions: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
1079
1079
|
query?: Record<string, any> | undefined;
|
|
1080
1080
|
fetchOptions?: FetchOptions | undefined;
|
|
1081
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<
|
|
1081
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<better_auth_react0.BetterFetchResponse<better_auth126.Prettify<{
|
|
1082
1082
|
id: string;
|
|
1083
1083
|
createdAt: Date;
|
|
1084
1084
|
updatedAt: Date;
|
|
@@ -1092,10 +1092,10 @@ declare const authClient: {
|
|
|
1092
1092
|
message?: string | undefined;
|
|
1093
1093
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
1094
1094
|
} & {
|
|
1095
|
-
getSession: <FetchOptions extends
|
|
1095
|
+
getSession: <FetchOptions extends better_auth126.ClientFetchOption<never, Partial<{
|
|
1096
1096
|
disableCookieCache?: unknown;
|
|
1097
1097
|
disableRefresh?: unknown;
|
|
1098
|
-
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?:
|
|
1098
|
+
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth126.Prettify<{
|
|
1099
1099
|
query?: {
|
|
1100
1100
|
disableCookieCache?: unknown;
|
|
1101
1101
|
disableRefresh?: unknown;
|
|
@@ -1136,8 +1136,8 @@ declare const authClient: {
|
|
|
1136
1136
|
signIn: {
|
|
1137
1137
|
passkey: (opts?: {
|
|
1138
1138
|
autoFill?: boolean;
|
|
1139
|
-
fetchOptions?:
|
|
1140
|
-
} | undefined, options?:
|
|
1139
|
+
fetchOptions?: better_auth126.ClientFetchOption;
|
|
1140
|
+
} | undefined, options?: better_auth126.ClientFetchOption | undefined) => Promise<{
|
|
1141
1141
|
data: null;
|
|
1142
1142
|
error: {
|
|
1143
1143
|
message?: string | undefined;
|
|
@@ -1146,8 +1146,8 @@ declare const authClient: {
|
|
|
1146
1146
|
};
|
|
1147
1147
|
} | {
|
|
1148
1148
|
data: {
|
|
1149
|
-
session:
|
|
1150
|
-
user:
|
|
1149
|
+
session: better_auth126.Session;
|
|
1150
|
+
user: better_auth126.User;
|
|
1151
1151
|
};
|
|
1152
1152
|
error: null;
|
|
1153
1153
|
} | {
|
|
@@ -1162,11 +1162,11 @@ declare const authClient: {
|
|
|
1162
1162
|
};
|
|
1163
1163
|
passkey: {
|
|
1164
1164
|
addPasskey: (opts?: {
|
|
1165
|
-
fetchOptions?:
|
|
1165
|
+
fetchOptions?: better_auth126.ClientFetchOption;
|
|
1166
1166
|
name?: string;
|
|
1167
1167
|
authenticatorAttachment?: "platform" | "cross-platform";
|
|
1168
1168
|
useAutoRegister?: boolean;
|
|
1169
|
-
} | undefined, fetchOpts?:
|
|
1169
|
+
} | undefined, fetchOpts?: better_auth126.ClientFetchOption | undefined) => Promise<{
|
|
1170
1170
|
data: null;
|
|
1171
1171
|
error: {
|
|
1172
1172
|
message?: string | undefined;
|
|
@@ -1174,7 +1174,7 @@ declare const authClient: {
|
|
|
1174
1174
|
statusText: string;
|
|
1175
1175
|
};
|
|
1176
1176
|
} | {
|
|
1177
|
-
data:
|
|
1177
|
+
data: _better_auth_passkey2.Passkey;
|
|
1178
1178
|
error: null;
|
|
1179
1179
|
} | {
|
|
1180
1180
|
data: null;
|
|
@@ -1187,7 +1187,7 @@ declare const authClient: {
|
|
|
1187
1187
|
}>;
|
|
1188
1188
|
};
|
|
1189
1189
|
$Infer: {
|
|
1190
|
-
Passkey:
|
|
1190
|
+
Passkey: _better_auth_passkey2.Passkey;
|
|
1191
1191
|
};
|
|
1192
1192
|
} & {
|
|
1193
1193
|
admin: {
|
|
@@ -1241,7 +1241,7 @@ declare const authClient: {
|
|
|
1241
1241
|
isRefetching: boolean;
|
|
1242
1242
|
error: better_auth_react0.BetterFetchError | null;
|
|
1243
1243
|
refetch: (queryParams?: {
|
|
1244
|
-
query?:
|
|
1244
|
+
query?: better_auth126.SessionQueryParams;
|
|
1245
1245
|
} | undefined) => Promise<void>;
|
|
1246
1246
|
};
|
|
1247
1247
|
$Infer: {
|