next-workflow-builder 0.1.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/client/components/ai-elements/canvas.d.ts +9 -0
- package/dist/client/components/ai-elements/canvas.d.ts.map +1 -0
- package/dist/client/components/ai-elements/canvas.js +7 -0
- package/dist/client/components/ai-elements/canvas.js.map +1 -0
- package/dist/client/components/ai-elements/connection.d.ts +3 -0
- package/dist/client/components/ai-elements/connection.d.ts.map +1 -0
- package/dist/client/components/ai-elements/connection.js +4 -0
- package/dist/client/components/ai-elements/connection.js.map +1 -0
- package/dist/client/components/ai-elements/controls.d.ts +2 -0
- package/dist/client/components/ai-elements/controls.d.ts.map +1 -0
- package/dist/client/components/ai-elements/controls.js +26 -0
- package/dist/client/components/ai-elements/controls.js.map +1 -0
- package/dist/client/components/ai-elements/edge.d.ts +6 -0
- package/dist/client/components/ai-elements/edge.d.ts.map +1 -0
- package/dist/client/components/ai-elements/edge.js +86 -0
- package/dist/client/components/ai-elements/edge.js.map +1 -0
- package/dist/client/components/ai-elements/node.d.ts +23 -0
- package/dist/client/components/ai-elements/node.d.ts.map +1 -0
- package/dist/client/components/ai-elements/node.js +13 -0
- package/dist/client/components/ai-elements/node.js.map +1 -0
- package/dist/client/components/ai-elements/panel.d.ts +6 -0
- package/dist/client/components/ai-elements/panel.d.ts.map +1 -0
- package/dist/client/components/ai-elements/panel.js +5 -0
- package/dist/client/components/ai-elements/panel.js.map +1 -0
- package/dist/client/components/ai-elements/prompt.d.ts +7 -0
- package/dist/client/components/ai-elements/prompt.d.ts.map +1 -0
- package/dist/client/components/ai-elements/prompt.js +220 -0
- package/dist/client/components/ai-elements/prompt.js.map +1 -0
- package/dist/client/components/ai-elements/shimmer.d.ts +10 -0
- package/dist/client/components/ai-elements/shimmer.d.ts.map +1 -0
- package/dist/client/components/ai-elements/shimmer.js +19 -0
- package/dist/client/components/ai-elements/shimmer.js.map +1 -0
- package/dist/client/components/auth/dialog.d.ts +8 -0
- package/dist/client/components/auth/dialog.d.ts.map +1 -0
- package/dist/client/components/auth/dialog.js +181 -0
- package/dist/client/components/auth/dialog.js.map +1 -0
- package/dist/client/components/deploy-button.d.ts +2 -0
- package/dist/client/components/deploy-button.d.ts.map +1 -0
- package/dist/client/components/deploy-button.js +8 -0
- package/dist/client/components/deploy-button.js.map +1 -0
- package/dist/client/components/global-modals.d.ts +2 -0
- package/dist/client/components/global-modals.d.ts.map +1 -0
- package/dist/client/components/global-modals.js +8 -0
- package/dist/client/components/global-modals.js.map +1 -0
- package/dist/client/components/icons/github-icon.d.ts +4 -0
- package/dist/client/components/icons/github-icon.d.ts.map +1 -0
- package/dist/client/components/icons/github-icon.js +5 -0
- package/dist/client/components/icons/github-icon.js.map +1 -0
- package/dist/client/components/index.d.ts +7 -0
- package/dist/client/components/index.d.ts.map +1 -0
- package/dist/client/components/index.js +8 -0
- package/dist/client/components/index.js.map +1 -0
- package/dist/client/components/layout-provider.d.ts +4 -0
- package/dist/client/components/layout-provider.d.ts.map +1 -0
- package/dist/client/components/layout-provider.js +20 -0
- package/dist/client/components/layout-provider.js.map +1 -0
- package/dist/client/components/overlays/add-connection-overlay.d.ts +14 -0
- package/dist/client/components/overlays/add-connection-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/add-connection-overlay.js +218 -0
- package/dist/client/components/overlays/add-connection-overlay.js.map +1 -0
- package/dist/client/components/overlays/api-keys-overlay.d.ts +6 -0
- package/dist/client/components/overlays/api-keys-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/api-keys-overlay.js +124 -0
- package/dist/client/components/overlays/api-keys-overlay.js.map +1 -0
- package/dist/client/components/overlays/configuration-overlay.d.ts +5 -0
- package/dist/client/components/overlays/configuration-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/configuration-overlay.js +325 -0
- package/dist/client/components/overlays/configuration-overlay.js.map +1 -0
- package/dist/client/components/overlays/confirm-overlay.d.ts +15 -0
- package/dist/client/components/overlays/confirm-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/confirm-overlay.js +31 -0
- package/dist/client/components/overlays/confirm-overlay.js.map +1 -0
- package/dist/client/components/overlays/edit-connection-overlay.d.ts +16 -0
- package/dist/client/components/overlays/edit-connection-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/edit-connection-overlay.js +213 -0
- package/dist/client/components/overlays/edit-connection-overlay.js.map +1 -0
- package/dist/client/components/overlays/export-workflow-overlay.d.ts +8 -0
- package/dist/client/components/overlays/export-workflow-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/export-workflow-overlay.js +22 -0
- package/dist/client/components/overlays/export-workflow-overlay.js.map +1 -0
- package/dist/client/components/overlays/integrations-overlay.d.ts +6 -0
- package/dist/client/components/overlays/integrations-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/integrations-overlay.js +56 -0
- package/dist/client/components/overlays/integrations-overlay.js.map +1 -0
- package/dist/client/components/overlays/make-public-overlay.d.ts +7 -0
- package/dist/client/components/overlays/make-public-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/make-public-overlay.js +17 -0
- package/dist/client/components/overlays/make-public-overlay.js.map +1 -0
- package/dist/client/components/overlays/overlay-container.d.ts +2 -0
- package/dist/client/components/overlays/overlay-container.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay-container.js +236 -0
- package/dist/client/components/overlays/overlay-container.js.map +1 -0
- package/dist/client/components/overlays/overlay-footer.d.ts +3 -0
- package/dist/client/components/overlays/overlay-footer.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay-footer.js +25 -0
- package/dist/client/components/overlays/overlay-footer.js.map +1 -0
- package/dist/client/components/overlays/overlay-header.d.ts +8 -0
- package/dist/client/components/overlays/overlay-header.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay-header.js +32 -0
- package/dist/client/components/overlays/overlay-header.js.map +1 -0
- package/dist/client/components/overlays/overlay-provider.d.ts +17 -0
- package/dist/client/components/overlays/overlay-provider.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay-provider.js +120 -0
- package/dist/client/components/overlays/overlay-provider.js.map +1 -0
- package/dist/client/components/overlays/overlay-sync.d.ts +2 -0
- package/dist/client/components/overlays/overlay-sync.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay-sync.js +21 -0
- package/dist/client/components/overlays/overlay-sync.js.map +1 -0
- package/dist/client/components/overlays/overlay.d.ts +7 -0
- package/dist/client/components/overlays/overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/overlay.js +9 -0
- package/dist/client/components/overlays/overlay.js.map +1 -0
- package/dist/client/components/overlays/settings-overlay.d.ts +6 -0
- package/dist/client/components/overlays/settings-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/settings-overlay.js +64 -0
- package/dist/client/components/overlays/settings-overlay.js.map +1 -0
- package/dist/client/components/overlays/types.d.ts +64 -0
- package/dist/client/components/overlays/types.d.ts.map +1 -0
- package/dist/client/components/overlays/types.js +2 -0
- package/dist/client/components/overlays/types.js.map +1 -0
- package/dist/client/components/overlays/workflow-issues-overlay.d.ts +37 -0
- package/dist/client/components/overlays/workflow-issues-overlay.d.ts.map +1 -0
- package/dist/client/components/overlays/workflow-issues-overlay.js +67 -0
- package/dist/client/components/overlays/workflow-issues-overlay.js.map +1 -0
- package/dist/client/components/pages/home-page.d.ts +3 -0
- package/dist/client/components/pages/home-page.d.ts.map +1 -0
- package/dist/client/components/pages/home-page.js +100 -0
- package/dist/client/components/pages/home-page.js.map +1 -0
- package/dist/client/components/pages/workflow-page.d.ts +4 -0
- package/dist/client/components/pages/workflow-page.d.ts.map +1 -0
- package/dist/client/components/pages/workflow-page.js +23 -0
- package/dist/client/components/pages/workflow-page.js.map +1 -0
- package/dist/client/components/pages/workflows-redirect.d.ts +3 -0
- package/dist/client/components/pages/workflows-redirect.d.ts.map +1 -0
- package/dist/client/components/pages/workflows-redirect.js +30 -0
- package/dist/client/components/pages/workflows-redirect.js.map +1 -0
- package/dist/client/components/settings/account-settings.d.ts +9 -0
- package/dist/client/components/settings/account-settings.d.ts.map +1 -0
- package/dist/client/components/settings/account-settings.js +8 -0
- package/dist/client/components/settings/account-settings.js.map +1 -0
- package/dist/client/components/settings/integrations-manager.d.ts +7 -0
- package/dist/client/components/settings/integrations-manager.d.ts.map +1 -0
- package/dist/client/components/settings/integrations-manager.js +120 -0
- package/dist/client/components/settings/integrations-manager.js.map +1 -0
- package/dist/client/components/theme-provider.d.ts +5 -0
- package/dist/client/components/theme-provider.d.ts.map +1 -0
- package/dist/client/components/theme-provider.js +6 -0
- package/dist/client/components/theme-provider.js.map +1 -0
- package/dist/client/components/ui/alert-dialog.d.ts +15 -0
- package/dist/client/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/client/components/ui/alert-dialog.js +40 -0
- package/dist/client/components/ui/alert-dialog.js.map +1 -0
- package/dist/client/components/ui/alert.d.ts +10 -0
- package/dist/client/components/ui/alert.d.ts.map +1 -0
- package/dist/client/components/ui/alert.js +25 -0
- package/dist/client/components/ui/alert.js.map +1 -0
- package/dist/client/components/ui/animated-border.d.ts +6 -0
- package/dist/client/components/ui/animated-border.d.ts.map +1 -0
- package/dist/client/components/ui/animated-border.js +34 -0
- package/dist/client/components/ui/animated-border.js.map +1 -0
- package/dist/client/components/ui/avatar.d.ts +7 -0
- package/dist/client/components/ui/avatar.d.ts.map +1 -0
- package/dist/client/components/ui/avatar.js +15 -0
- package/dist/client/components/ui/avatar.js.map +1 -0
- package/dist/client/components/ui/button-group.d.ts +12 -0
- package/dist/client/components/ui/button-group.d.ts.map +1 -0
- package/dist/client/components/ui/button-group.js +28 -0
- package/dist/client/components/ui/button-group.js.map +1 -0
- package/dist/client/components/ui/button.d.ts +11 -0
- package/dist/client/components/ui/button.d.ts.map +1 -0
- package/dist/client/components/ui/button.js +34 -0
- package/dist/client/components/ui/button.js.map +1 -0
- package/dist/client/components/ui/card.d.ts +10 -0
- package/dist/client/components/ui/card.d.ts.map +1 -0
- package/dist/client/components/ui/card.js +25 -0
- package/dist/client/components/ui/card.js.map +1 -0
- package/dist/client/components/ui/checkbox.d.ts +5 -0
- package/dist/client/components/ui/checkbox.d.ts.map +1 -0
- package/dist/client/components/ui/checkbox.js +10 -0
- package/dist/client/components/ui/checkbox.js.map +1 -0
- package/dist/client/components/ui/code-editor.d.ts +3 -0
- package/dist/client/components/ui/code-editor.d.ts.map +1 -0
- package/dist/client/components/ui/code-editor.js +17 -0
- package/dist/client/components/ui/code-editor.js.map +1 -0
- package/dist/client/components/ui/collapsible.d.ts +6 -0
- package/dist/client/components/ui/collapsible.d.ts.map +1 -0
- package/dist/client/components/ui/collapsible.js +14 -0
- package/dist/client/components/ui/collapsible.js.map +1 -0
- package/dist/client/components/ui/context-menu.d.ts +26 -0
- package/dist/client/components/ui/context-menu.d.ts.map +1 -0
- package/dist/client/components/ui/context-menu.js +52 -0
- package/dist/client/components/ui/context-menu.js.map +1 -0
- package/dist/client/components/ui/dialog.d.ts +16 -0
- package/dist/client/components/ui/dialog.d.ts.map +1 -0
- package/dist/client/components/ui/dialog.js +37 -0
- package/dist/client/components/ui/dialog.js.map +1 -0
- package/dist/client/components/ui/drawer.d.ts +14 -0
- package/dist/client/components/ui/drawer.d.ts.map +1 -0
- package/dist/client/components/ui/drawer.js +36 -0
- package/dist/client/components/ui/drawer.js.map +1 -0
- package/dist/client/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/client/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/client/components/ui/dropdown-menu.js +52 -0
- package/dist/client/components/ui/dropdown-menu.js.map +1 -0
- package/dist/client/components/ui/input.d.ts +4 -0
- package/dist/client/components/ui/input.d.ts.map +1 -0
- package/dist/client/components/ui/input.js +7 -0
- package/dist/client/components/ui/input.js.map +1 -0
- package/dist/client/components/ui/integration-icon.d.ts +7 -0
- package/dist/client/components/ui/integration-icon.d.ts.map +1 -0
- package/dist/client/components/ui/integration-icon.js +25 -0
- package/dist/client/components/ui/integration-icon.js.map +1 -0
- package/dist/client/components/ui/integration-selector.d.ts +12 -0
- package/dist/client/components/ui/integration-selector.d.ts.map +1 -0
- package/dist/client/components/ui/integration-selector.js +198 -0
- package/dist/client/components/ui/integration-selector.js.map +1 -0
- package/dist/client/components/ui/label.d.ts +5 -0
- package/dist/client/components/ui/label.d.ts.map +1 -0
- package/dist/client/components/ui/label.js +9 -0
- package/dist/client/components/ui/label.js.map +1 -0
- package/dist/client/components/ui/resizable.d.ts +9 -0
- package/dist/client/components/ui/resizable.d.ts.map +1 -0
- package/dist/client/components/ui/resizable.js +16 -0
- package/dist/client/components/ui/resizable.js.map +1 -0
- package/dist/client/components/ui/select.d.ts +16 -0
- package/dist/client/components/ui/select.d.ts.map +1 -0
- package/dist/client/components/ui/select.js +39 -0
- package/dist/client/components/ui/select.js.map +1 -0
- package/dist/client/components/ui/separator.d.ts +5 -0
- package/dist/client/components/ui/separator.d.ts.map +1 -0
- package/dist/client/components/ui/separator.js +9 -0
- package/dist/client/components/ui/separator.js.map +1 -0
- package/dist/client/components/ui/sheet.d.ts +14 -0
- package/dist/client/components/ui/sheet.d.ts.map +1 -0
- package/dist/client/components/ui/sheet.js +41 -0
- package/dist/client/components/ui/sheet.js.map +1 -0
- package/dist/client/components/ui/sonner.d.ts +4 -0
- package/dist/client/components/ui/sonner.d.ts.map +1 -0
- package/dist/client/components/ui/sonner.js +22 -0
- package/dist/client/components/ui/sonner.js.map +1 -0
- package/dist/client/components/ui/spinner.d.ts +4 -0
- package/dist/client/components/ui/spinner.d.ts.map +1 -0
- package/dist/client/components/ui/spinner.js +9 -0
- package/dist/client/components/ui/spinner.js.map +1 -0
- package/dist/client/components/ui/tabs.d.ts +8 -0
- package/dist/client/components/ui/tabs.d.ts.map +1 -0
- package/dist/client/components/ui/tabs.js +18 -0
- package/dist/client/components/ui/tabs.js.map +1 -0
- package/dist/client/components/ui/template-autocomplete.d.ts +14 -0
- package/dist/client/components/ui/template-autocomplete.d.ts.map +1 -0
- package/dist/client/components/ui/template-autocomplete.js +239 -0
- package/dist/client/components/ui/template-autocomplete.js.map +1 -0
- package/dist/client/components/ui/template-badge-input.d.ts +10 -0
- package/dist/client/components/ui/template-badge-input.d.ts.map +1 -0
- package/dist/client/components/ui/template-badge-input.js +360 -0
- package/dist/client/components/ui/template-badge-input.js.map +1 -0
- package/dist/client/components/ui/template-badge-textarea.d.ts +11 -0
- package/dist/client/components/ui/template-badge-textarea.d.ts.map +1 -0
- package/dist/client/components/ui/template-badge-textarea.js +431 -0
- package/dist/client/components/ui/template-badge-textarea.js.map +1 -0
- package/dist/client/components/ui/timezone-select.d.ts +9 -0
- package/dist/client/components/ui/timezone-select.d.ts.map +1 -0
- package/dist/client/components/ui/timezone-select.js +87 -0
- package/dist/client/components/ui/timezone-select.js.map +1 -0
- package/dist/client/components/ui/tooltip.d.ts +8 -0
- package/dist/client/components/ui/tooltip.d.ts.map +1 -0
- package/dist/client/components/ui/tooltip.js +18 -0
- package/dist/client/components/ui/tooltip.js.map +1 -0
- package/dist/client/components/ui/workflow-icon.d.ts +4 -0
- package/dist/client/components/ui/workflow-icon.d.ts.map +1 -0
- package/dist/client/components/ui/workflow-icon.js +5 -0
- package/dist/client/components/ui/workflow-icon.js.map +1 -0
- package/dist/client/components/workflow/config/action-config-renderer.d.ts +10 -0
- package/dist/client/components/workflow/config/action-config-renderer.d.ts.map +1 -0
- package/dist/client/components/workflow/config/action-config-renderer.js +64 -0
- package/dist/client/components/workflow/config/action-config-renderer.js.map +1 -0
- package/dist/client/components/workflow/config/action-config.d.ts +9 -0
- package/dist/client/components/workflow/config/action-config.d.ts.map +1 -0
- package/dist/client/components/workflow/config/action-config.js +174 -0
- package/dist/client/components/workflow/config/action-config.js.map +1 -0
- package/dist/client/components/workflow/config/action-grid.d.ts +8 -0
- package/dist/client/components/workflow/config/action-grid.d.ts.map +1 -0
- package/dist/client/components/workflow/config/action-grid.js +162 -0
- package/dist/client/components/workflow/config/action-grid.js.map +1 -0
- package/dist/client/components/workflow/config/condition-config.d.ts +8 -0
- package/dist/client/components/workflow/config/condition-config.d.ts.map +1 -0
- package/dist/client/components/workflow/config/condition-config.js +7 -0
- package/dist/client/components/workflow/config/condition-config.js.map +1 -0
- package/dist/client/components/workflow/config/editor-config.d.ts +13 -0
- package/dist/client/components/workflow/config/editor-config.d.ts.map +1 -0
- package/dist/client/components/workflow/config/editor-config.js +34 -0
- package/dist/client/components/workflow/config/editor-config.js.map +1 -0
- package/dist/client/components/workflow/config/schema-builder.d.ts +17 -0
- package/dist/client/components/workflow/config/schema-builder.d.ts.map +1 -0
- package/dist/client/components/workflow/config/schema-builder.js +55 -0
- package/dist/client/components/workflow/config/schema-builder.js.map +1 -0
- package/dist/client/components/workflow/config/system-action.d.ts +9 -0
- package/dist/client/components/workflow/config/system-action.d.ts.map +1 -0
- package/dist/client/components/workflow/config/system-action.js +33 -0
- package/dist/client/components/workflow/config/system-action.js.map +1 -0
- package/dist/client/components/workflow/config/trigger-config.d.ts +9 -0
- package/dist/client/components/workflow/config/trigger-config.d.ts.map +1 -0
- package/dist/client/components/workflow/config/trigger-config.js +33 -0
- package/dist/client/components/workflow/config/trigger-config.js.map +1 -0
- package/dist/client/components/workflow/node-config-panel.d.ts +3 -0
- package/dist/client/components/workflow/node-config-panel.d.ts.map +1 -0
- package/dist/client/components/workflow/node-config-panel.js +353 -0
- package/dist/client/components/workflow/node-config-panel.js.map +1 -0
- package/dist/client/components/workflow/nodes/action-node.d.ts +10 -0
- package/dist/client/components/workflow/nodes/action-node.d.ts.map +1 -0
- package/dist/client/components/workflow/nodes/action-node.js +176 -0
- package/dist/client/components/workflow/nodes/action-node.js.map +1 -0
- package/dist/client/components/workflow/nodes/add-node.d.ts +9 -0
- package/dist/client/components/workflow/nodes/add-node.d.ts.map +1 -0
- package/dist/client/components/workflow/nodes/add-node.js +8 -0
- package/dist/client/components/workflow/nodes/add-node.js.map +1 -0
- package/dist/client/components/workflow/nodes/trigger-node.d.ts +8 -0
- package/dist/client/components/workflow/nodes/trigger-node.d.ts.map +1 -0
- package/dist/client/components/workflow/nodes/trigger-node.js +25 -0
- package/dist/client/components/workflow/nodes/trigger-node.js.map +1 -0
- package/dist/client/components/workflow/persistent-canvas.d.ts +2 -0
- package/dist/client/components/workflow/persistent-canvas.d.ts.map +1 -0
- package/dist/client/components/workflow/persistent-canvas.js +13 -0
- package/dist/client/components/workflow/persistent-canvas.js.map +1 -0
- package/dist/client/components/workflow/utils/code-generators.d.ts +12 -0
- package/dist/client/components/workflow/utils/code-generators.d.ts.map +1 -0
- package/dist/client/components/workflow/utils/code-generators.js +70 -0
- package/dist/client/components/workflow/utils/code-generators.js.map +1 -0
- package/dist/client/components/workflow/workflow-canvas.d.ts +3 -0
- package/dist/client/components/workflow/workflow-canvas.d.ts.map +1 -0
- package/dist/client/components/workflow/workflow-canvas.js +347 -0
- package/dist/client/components/workflow/workflow-canvas.js.map +1 -0
- package/dist/client/components/workflow/workflow-context-menu.d.ts +27 -0
- package/dist/client/components/workflow/workflow-context-menu.d.ts.map +1 -0
- package/dist/client/components/workflow/workflow-context-menu.js +156 -0
- package/dist/client/components/workflow/workflow-context-menu.js.map +1 -0
- package/dist/client/components/workflow/workflow-editor.d.ts +6 -0
- package/dist/client/components/workflow/workflow-editor.d.ts.map +1 -0
- package/dist/client/components/workflow/workflow-editor.js +443 -0
- package/dist/client/components/workflow/workflow-editor.js.map +1 -0
- package/dist/client/components/workflow/workflow-runs.d.ts +8 -0
- package/dist/client/components/workflow/workflow-runs.d.ts.map +1 -0
- package/dist/client/components/workflow/workflow-runs.js +336 -0
- package/dist/client/components/workflow/workflow-runs.js.map +1 -0
- package/dist/client/components/workflow/workflow-toolbar.d.ts +6 -0
- package/dist/client/components/workflow/workflow-toolbar.d.ts.map +1 -0
- package/dist/client/components/workflow/workflow-toolbar.js +707 -0
- package/dist/client/components/workflow/workflow-toolbar.js.map +1 -0
- package/dist/client/components/workflows/user-menu.d.ts +2 -0
- package/dist/client/components/workflows/user-menu.d.ts.map +1 -0
- package/dist/client/components/workflows/user-menu.js +65 -0
- package/dist/client/components/workflows/user-menu.js.map +1 -0
- package/dist/client/hooks/use-mobile.d.ts +2 -0
- package/dist/client/hooks/use-mobile.d.ts.map +1 -0
- package/dist/client/hooks/use-mobile.js +16 -0
- package/dist/client/hooks/use-mobile.js.map +1 -0
- package/dist/client/hooks/use-touch.d.ts +2 -0
- package/dist/client/hooks/use-touch.d.ts.map +1 -0
- package/dist/client/hooks/use-touch.js +12 -0
- package/dist/client/hooks/use-touch.js.map +1 -0
- package/dist/client/index.d.ts +11 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +12 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/package.json +1 -0
- package/dist/lib/api-client.d.ts +330 -0
- package/dist/lib/api-client.d.ts.map +1 -0
- package/dist/lib/api-client.js +274 -0
- package/dist/lib/api-client.js.map +1 -0
- package/dist/lib/atoms/overlay.d.ts +15 -0
- package/dist/lib/atoms/overlay.d.ts.map +1 -0
- package/dist/lib/atoms/overlay.js +78 -0
- package/dist/lib/atoms/overlay.js.map +1 -0
- package/dist/lib/auth-client.d.ts +871 -0
- package/dist/lib/auth-client.d.ts.map +1 -0
- package/dist/lib/auth-client.js +10 -0
- package/dist/lib/auth-client.js.map +1 -0
- package/dist/lib/auth-providers.d.ts +12 -0
- package/dist/lib/auth-providers.d.ts.map +1 -0
- package/dist/lib/auth-providers.js +27 -0
- package/dist/lib/auth-providers.js.map +1 -0
- package/dist/lib/auth.d.ts +5 -0
- package/dist/lib/auth.d.ts.map +1 -0
- package/dist/lib/auth.js +62 -0
- package/dist/lib/auth.js.map +1 -0
- package/dist/lib/codegen-templates/condition.d.ts +3 -0
- package/dist/lib/codegen-templates/condition.d.ts.map +1 -0
- package/dist/lib/codegen-templates/condition.js +9 -0
- package/dist/lib/codegen-templates/condition.js.map +1 -0
- package/dist/lib/codegen-templates/database-query.d.ts +3 -0
- package/dist/lib/codegen-templates/database-query.d.ts.map +1 -0
- package/dist/lib/codegen-templates/database-query.js +24 -0
- package/dist/lib/codegen-templates/database-query.js.map +1 -0
- package/dist/lib/codegen-templates/http-request.d.ts +3 -0
- package/dist/lib/codegen-templates/http-request.d.ts.map +1 -0
- package/dist/lib/codegen-templates/http-request.js +44 -0
- package/dist/lib/codegen-templates/http-request.js.map +1 -0
- package/dist/lib/condition-validator.d.ts +10 -0
- package/dist/lib/condition-validator.d.ts.map +1 -0
- package/dist/lib/condition-validator.js +230 -0
- package/dist/lib/condition-validator.js.map +1 -0
- package/dist/lib/constants.d.ts +3 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/lib/constants.js +3 -0
- package/dist/lib/constants.js.map +1 -0
- package/dist/lib/credential-fetcher.d.ts +4 -0
- package/dist/lib/credential-fetcher.d.ts.map +1 -0
- package/dist/lib/credential-fetcher.js +38 -0
- package/dist/lib/credential-fetcher.js.map +1 -0
- package/dist/lib/db/index.d.ts +4 -0
- package/dist/lib/db/index.d.ts.map +1 -0
- package/dist/lib/db/index.js +17 -0
- package/dist/lib/db/index.js.map +1 -0
- package/dist/lib/db/integrations.d.ts +36 -0
- package/dist/lib/db/integrations.d.ts.map +1 -0
- package/dist/lib/db/integrations.js +170 -0
- package/dist/lib/db/integrations.js.map +1 -0
- package/dist/lib/db/schema.d.ts +1474 -0
- package/dist/lib/db/schema.d.ts.map +1 -0
- package/dist/lib/db/schema.js +143 -0
- package/dist/lib/db/schema.js.map +1 -0
- package/dist/lib/integrations-store.d.ts +13 -0
- package/dist/lib/integrations-store.d.ts.map +1 -0
- package/dist/lib/integrations-store.js +10 -0
- package/dist/lib/integrations-store.js.map +1 -0
- package/dist/lib/managed-connection.d.ts +49 -0
- package/dist/lib/managed-connection.d.ts.map +1 -0
- package/dist/lib/managed-connection.js +21 -0
- package/dist/lib/managed-connection.js.map +1 -0
- package/dist/lib/monaco-theme.d.ts +29 -0
- package/dist/lib/monaco-theme.d.ts.map +1 -0
- package/dist/lib/monaco-theme.js +54 -0
- package/dist/lib/monaco-theme.js.map +1 -0
- package/dist/lib/plugin-registry.d.ts +10 -0
- package/dist/lib/plugin-registry.d.ts.map +1 -0
- package/dist/lib/plugin-registry.js +16 -0
- package/dist/lib/plugin-registry.js.map +1 -0
- package/dist/lib/steps/credentials.d.ts +14 -0
- package/dist/lib/steps/credentials.d.ts.map +1 -0
- package/dist/lib/steps/credentials.js +65 -0
- package/dist/lib/steps/credentials.js.map +1 -0
- package/dist/lib/steps/http-request.d.ts +22 -0
- package/dist/lib/steps/http-request.d.ts.map +1 -0
- package/dist/lib/steps/http-request.js +72 -0
- package/dist/lib/steps/http-request.js.map +1 -0
- package/dist/lib/steps/index.d.ts +10 -0
- package/dist/lib/steps/index.d.ts.map +1 -0
- package/dist/lib/steps/index.js +14 -0
- package/dist/lib/steps/index.js.map +1 -0
- package/dist/lib/steps/step-handler.d.ts +30 -0
- package/dist/lib/steps/step-handler.d.ts.map +1 -0
- package/dist/lib/steps/step-handler.js +105 -0
- package/dist/lib/steps/step-handler.js.map +1 -0
- package/dist/lib/steps/trigger.d.ts +21 -0
- package/dist/lib/steps/trigger.d.ts.map +1 -0
- package/dist/lib/steps/trigger.js +17 -0
- package/dist/lib/steps/trigger.js.map +1 -0
- package/dist/lib/types/integration.d.ts +3 -0
- package/dist/lib/types/integration.d.ts.map +1 -0
- package/dist/lib/types/integration.js +2 -0
- package/dist/lib/types/integration.js.map +1 -0
- package/dist/lib/utils/format-number.d.ts +2 -0
- package/dist/lib/utils/format-number.d.ts.map +1 -0
- package/dist/lib/utils/format-number.js +16 -0
- package/dist/lib/utils/format-number.js.map +1 -0
- package/dist/lib/utils/id.d.ts +2 -0
- package/dist/lib/utils/id.d.ts.map +1 -0
- package/dist/lib/utils/id.js +6 -0
- package/dist/lib/utils/id.js.map +1 -0
- package/dist/lib/utils/redact.d.ts +4 -0
- package/dist/lib/utils/redact.d.ts.map +1 -0
- package/dist/lib/utils/redact.js +143 -0
- package/dist/lib/utils/redact.js.map +1 -0
- package/dist/lib/utils/template.d.ts +18 -0
- package/dist/lib/utils/template.d.ts.map +1 -0
- package/dist/lib/utils/template.js +323 -0
- package/dist/lib/utils/template.js.map +1 -0
- package/dist/lib/utils/time.d.ts +2 -0
- package/dist/lib/utils/time.d.ts.map +1 -0
- package/dist/lib/utils/time.js +34 -0
- package/dist/lib/utils/time.js.map +1 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +99 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/workflow-codegen-sdk.d.ts +4 -0
- package/dist/lib/workflow-codegen-sdk.d.ts.map +1 -0
- package/dist/lib/workflow-codegen-sdk.js +482 -0
- package/dist/lib/workflow-codegen-sdk.js.map +1 -0
- package/dist/lib/workflow-codegen-shared.d.ts +26 -0
- package/dist/lib/workflow-codegen-shared.d.ts.map +1 -0
- package/dist/lib/workflow-codegen-shared.js +232 -0
- package/dist/lib/workflow-codegen-shared.js.map +1 -0
- package/dist/lib/workflow-codegen.d.ts +18 -0
- package/dist/lib/workflow-codegen.d.ts.map +1 -0
- package/dist/lib/workflow-codegen.js +786 -0
- package/dist/lib/workflow-codegen.js.map +1 -0
- package/dist/lib/workflow-executor.workflow.d.ts +33 -0
- package/dist/lib/workflow-executor.workflow.d.ts.map +1 -0
- package/dist/lib/workflow-executor.workflow.js +605 -0
- package/dist/lib/workflow-executor.workflow.js.map +1 -0
- package/dist/lib/workflow-logging.d.ts +29 -0
- package/dist/lib/workflow-logging.d.ts.map +1 -0
- package/dist/lib/workflow-logging.js +48 -0
- package/dist/lib/workflow-logging.js.map +1 -0
- package/dist/lib/workflow-store.d.ts +118 -0
- package/dist/lib/workflow-store.d.ts.map +1 -0
- package/dist/lib/workflow-store.js +351 -0
- package/dist/lib/workflow-store.js.map +1 -0
- package/dist/plugins/condition/components/condition-fields.d.ts +7 -0
- package/dist/plugins/condition/components/condition-fields.d.ts.map +1 -0
- package/dist/plugins/condition/components/condition-fields.js +8 -0
- package/dist/plugins/condition/components/condition-fields.js.map +1 -0
- package/dist/plugins/condition/index.d.ts +4 -0
- package/dist/plugins/condition/index.d.ts.map +1 -0
- package/dist/plugins/condition/index.js +23 -0
- package/dist/plugins/condition/index.js.map +1 -0
- package/dist/plugins/condition/steps/evaluate.d.ts +15 -0
- package/dist/plugins/condition/steps/evaluate.d.ts.map +1 -0
- package/dist/plugins/condition/steps/evaluate.js +10 -0
- package/dist/plugins/condition/steps/evaluate.js.map +1 -0
- package/dist/plugins/database/components/database-query-fields.d.ts +7 -0
- package/dist/plugins/database/components/database-query-fields.d.ts.map +1 -0
- package/dist/plugins/database/components/database-query-fields.js +18 -0
- package/dist/plugins/database/components/database-query-fields.js.map +1 -0
- package/dist/plugins/database/index.d.ts +4 -0
- package/dist/plugins/database/index.d.ts.map +1 -0
- package/dist/plugins/database/index.js +23 -0
- package/dist/plugins/database/index.js.map +1 -0
- package/dist/plugins/database/steps/query.d.ts +20 -0
- package/dist/plugins/database/steps/query.d.ts.map +1 -0
- package/dist/plugins/database/steps/query.js +92 -0
- package/dist/plugins/database/steps/query.js.map +1 -0
- package/dist/plugins/index.d.ts +10 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +6 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/legacy-mappings.d.ts +2 -0
- package/dist/plugins/legacy-mappings.d.ts.map +1 -0
- package/dist/plugins/legacy-mappings.js +2 -0
- package/dist/plugins/legacy-mappings.js.map +1 -0
- package/dist/plugins/loop/components/loop-fields.d.ts +7 -0
- package/dist/plugins/loop/components/loop-fields.d.ts.map +1 -0
- package/dist/plugins/loop/components/loop-fields.js +8 -0
- package/dist/plugins/loop/components/loop-fields.js.map +1 -0
- package/dist/plugins/loop/icon.d.ts +4 -0
- package/dist/plugins/loop/icon.d.ts.map +1 -0
- package/dist/plugins/loop/icon.js +5 -0
- package/dist/plugins/loop/icon.js.map +1 -0
- package/dist/plugins/loop/index.d.ts +4 -0
- package/dist/plugins/loop/index.d.ts.map +1 -0
- package/dist/plugins/loop/index.js +52 -0
- package/dist/plugins/loop/index.js.map +1 -0
- package/dist/plugins/loop/steps/iterate.d.ts +24 -0
- package/dist/plugins/loop/steps/iterate.d.ts.map +1 -0
- package/dist/plugins/loop/steps/iterate.js +31 -0
- package/dist/plugins/loop/steps/iterate.js.map +1 -0
- package/dist/plugins/registry.d.ts +136 -0
- package/dist/plugins/registry.d.ts.map +1 -0
- package/dist/plugins/registry.js +241 -0
- package/dist/plugins/registry.js.map +1 -0
- package/dist/plugins/switch/icon.d.ts +4 -0
- package/dist/plugins/switch/icon.d.ts.map +1 -0
- package/dist/plugins/switch/icon.js +5 -0
- package/dist/plugins/switch/icon.js.map +1 -0
- package/dist/plugins/switch/index.d.ts +4 -0
- package/dist/plugins/switch/index.d.ts.map +1 -0
- package/dist/plugins/switch/index.js +81 -0
- package/dist/plugins/switch/index.js.map +1 -0
- package/dist/plugins/switch/steps/evaluate.d.ts +27 -0
- package/dist/plugins/switch/steps/evaluate.d.ts.map +1 -0
- package/dist/plugins/switch/steps/evaluate.js +81 -0
- package/dist/plugins/switch/steps/evaluate.js.map +1 -0
- package/dist/scripts/create-plugin.d.ts +3 -0
- package/dist/scripts/create-plugin.d.ts.map +1 -0
- package/dist/scripts/create-plugin.js +205 -0
- package/dist/scripts/create-plugin.js.map +1 -0
- package/dist/scripts/discover-plugins.d.ts +3 -0
- package/dist/scripts/discover-plugins.d.ts.map +1 -0
- package/dist/scripts/discover-plugins.js +729 -0
- package/dist/scripts/discover-plugins.js.map +1 -0
- package/dist/scripts/migrate-prod.d.ts +2 -0
- package/dist/scripts/migrate-prod.d.ts.map +1 -0
- package/dist/scripts/migrate-prod.js +17 -0
- package/dist/scripts/migrate-prod.js.map +1 -0
- package/dist/scripts/nwb.d.ts +3 -0
- package/dist/scripts/nwb.d.ts.map +1 -0
- package/dist/scripts/nwb.js +33 -0
- package/dist/scripts/nwb.js.map +1 -0
- package/dist/server/api/handler-utils.d.ts +22 -0
- package/dist/server/api/handler-utils.d.ts.map +1 -0
- package/dist/server/api/handler-utils.js +42 -0
- package/dist/server/api/handler-utils.js.map +1 -0
- package/dist/server/api/handlers/ai/generate/route.d.ts +3 -0
- package/dist/server/api/handlers/ai/generate/route.d.ts.map +1 -0
- package/dist/server/api/handlers/ai/generate/route.js +260 -0
- package/dist/server/api/handlers/ai/generate/route.js.map +1 -0
- package/dist/server/api/handlers/api-keys/[keyId]/route.d.ts +3 -0
- package/dist/server/api/handlers/api-keys/[keyId]/route.d.ts.map +1 -0
- package/dist/server/api/handlers/api-keys/[keyId]/route.js +25 -0
- package/dist/server/api/handlers/api-keys/[keyId]/route.js.map +1 -0
- package/dist/server/api/handlers/api-keys/route.d.ts +3 -0
- package/dist/server/api/handlers/api-keys/route.d.ts.map +1 -0
- package/dist/server/api/handlers/api-keys/route.js +84 -0
- package/dist/server/api/handlers/api-keys/route.js.map +1 -0
- package/dist/server/api/handlers/auth/route.d.ts +3 -0
- package/dist/server/api/handlers/auth/route.d.ts.map +1 -0
- package/dist/server/api/handlers/auth/route.js +14 -0
- package/dist/server/api/handlers/auth/route.js.map +1 -0
- package/dist/server/api/handlers/integrations/[integrationId]/route.d.ts +16 -0
- package/dist/server/api/handlers/integrations/[integrationId]/route.d.ts.map +1 -0
- package/dist/server/api/handlers/integrations/[integrationId]/route.js +117 -0
- package/dist/server/api/handlers/integrations/[integrationId]/route.js.map +1 -0
- package/dist/server/api/handlers/integrations/[integrationId]/test/route.d.ts +7 -0
- package/dist/server/api/handlers/integrations/[integrationId]/test/route.d.ts.map +1 -0
- package/dist/server/api/handlers/integrations/[integrationId]/test/route.js +96 -0
- package/dist/server/api/handlers/integrations/[integrationId]/test/route.js.map +1 -0
- package/dist/server/api/handlers/integrations/route.d.ts +24 -0
- package/dist/server/api/handlers/integrations/route.d.ts.map +1 -0
- package/dist/server/api/handlers/integrations/route.js +80 -0
- package/dist/server/api/handlers/integrations/route.js.map +1 -0
- package/dist/server/api/handlers/integrations/test/route.d.ts +12 -0
- package/dist/server/api/handlers/integrations/test/route.d.ts.map +1 -0
- package/dist/server/api/handlers/integrations/test/route.js +76 -0
- package/dist/server/api/handlers/integrations/test/route.js.map +1 -0
- package/dist/server/api/handlers/og/workflow/[workflowId]/route.d.ts +7 -0
- package/dist/server/api/handlers/og/workflow/[workflowId]/route.d.ts.map +1 -0
- package/dist/server/api/handlers/og/workflow/[workflowId]/route.js +197 -0
- package/dist/server/api/handlers/og/workflow/[workflowId]/route.js.map +1 -0
- package/dist/server/api/handlers/user/route.d.ts +3 -0
- package/dist/server/api/handlers/user/route.d.ts.map +1 -0
- package/dist/server/api/handlers/user/route.js +81 -0
- package/dist/server/api/handlers/user/route.js.map +1 -0
- package/dist/server/api/handlers/workflow/[workflowId]/cron/route.d.ts +3 -0
- package/dist/server/api/handlers/workflow/[workflowId]/cron/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflow/[workflowId]/cron/route.js +65 -0
- package/dist/server/api/handlers/workflow/[workflowId]/cron/route.js.map +1 -0
- package/dist/server/api/handlers/workflow/[workflowId]/execute/route.d.ts +3 -0
- package/dist/server/api/handlers/workflow/[workflowId]/execute/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflow/[workflowId]/execute/route.js +72 -0
- package/dist/server/api/handlers/workflow/[workflowId]/execute/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/code/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/code/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/code/route.js +24 -0
- package/dist/server/api/handlers/workflows/[workflowId]/code/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/cron/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/cron/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/cron/route.js +65 -0
- package/dist/server/api/handlers/workflows/[workflowId]/cron/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/download/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/download/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/download/route.js +24 -0
- package/dist/server/api/handlers/workflows/[workflowId]/download/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.js +89 -0
- package/dist/server/api/handlers/workflows/[workflowId]/duplicate/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/execute/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/execute/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/execute/route.js +72 -0
- package/dist/server/api/handlers/workflows/[workflowId]/execute/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/executions/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/executions/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/executions/route.js +63 -0
- package/dist/server/api/handlers/workflows/[workflowId]/executions/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/route.js +132 -0
- package/dist/server/api/handlers/workflows/[workflowId]/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.js +111 -0
- package/dist/server/api/handlers/workflows/[workflowId]/webhook/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/create/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/create/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/create/route.js +67 -0
- package/dist/server/api/handlers/workflows/create/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/current/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/current/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/current/route.js +89 -0
- package/dist/server/api/handlers/workflows/current/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.js +38 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/logs/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.js +35 -0
- package/dist/server/api/handlers/workflows/executions/[executionId]/status/route.js.map +1 -0
- package/dist/server/api/handlers/workflows/route.d.ts +3 -0
- package/dist/server/api/handlers/workflows/route.d.ts.map +1 -0
- package/dist/server/api/handlers/workflows/route.js +22 -0
- package/dist/server/api/handlers/workflows/route.js.map +1 -0
- package/dist/server/api/routes.d.ts +4 -0
- package/dist/server/api/routes.d.ts.map +1 -0
- package/dist/server/api/routes.js +51 -0
- package/dist/server/api/routes.js.map +1 -0
- package/dist/server/api/types.d.ts +41 -0
- package/dist/server/api/types.d.ts.map +1 -0
- package/dist/server/api/types.js +2 -0
- package/dist/server/api/types.js.map +1 -0
- package/dist/server/api/workflows.d.ts +8 -0
- package/dist/server/api/workflows.d.ts.map +1 -0
- package/dist/server/api/workflows.js +75 -0
- package/dist/server/api/workflows.js.map +1 -0
- package/dist/server/db/migrate.d.ts +2 -0
- package/dist/server/db/migrate.d.ts.map +1 -0
- package/dist/server/db/migrate.js +2 -0
- package/dist/server/db/migrate.js.map +1 -0
- package/dist/server/db/schema.d.ts +1465 -0
- package/dist/server/db/schema.d.ts.map +1 -0
- package/dist/server/db/schema.js +15 -0
- package/dist/server/db/schema.js.map +1 -0
- package/dist/server/index.d.ts +11 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +9 -0
- package/dist/server/index.js.map +1 -0
- package/dist/server/plugin.d.ts +17 -0
- package/dist/server/plugin.d.ts.map +1 -0
- package/dist/server/plugin.js +27 -0
- package/dist/server/plugin.js.map +1 -0
- package/dist/server/utils.d.ts +3 -0
- package/dist/server/utils.d.ts.map +1 -0
- package/dist/server/utils.js +7 -0
- package/dist/server/utils.js.map +1 -0
- package/dist/styles/globals.css +254 -0
- package/package.json +130 -0
- package/src/plugins/_template/credentials.ts.txt +10 -0
- package/src/plugins/_template/icon.tsx.txt +28 -0
- package/src/plugins/_template/index.ts.txt +122 -0
- package/src/plugins/_template/steps/action.ts.txt +103 -0
- package/src/plugins/_template/test.ts.txt +57 -0
- package/src/plugins/condition/components/condition-fields.tsx +32 -0
- package/src/plugins/condition/index.ts +27 -0
- package/src/plugins/condition/steps/evaluate.ts +32 -0
- package/src/plugins/database/components/database-query-fields.tsx +58 -0
- package/src/plugins/database/index.ts +27 -0
- package/src/plugins/database/steps/query.ts +141 -0
- package/src/plugins/index.ts +37 -0
- package/src/plugins/legacy-mappings.ts +11 -0
- package/src/plugins/loop/components/loop-fields.tsx +46 -0
- package/src/plugins/loop/icon.tsx +21 -0
- package/src/plugins/loop/index.ts +57 -0
- package/src/plugins/loop/steps/iterate.ts +74 -0
- package/src/plugins/loop/workflow-executor.patch +241 -0
- package/src/plugins/registry.ts +660 -0
- package/src/plugins/switch/icon.tsx +23 -0
- package/src/plugins/switch/index.ts +87 -0
- package/src/plugins/switch/steps/evaluate.ts +139 -0
- package/src/plugins/switch/workflow-executor.patch +130 -0
- package/src/scripts/create-plugin.ts +301 -0
- package/src/scripts/discover-plugins.ts +1122 -0
- package/src/scripts/migrate-prod.ts +16 -0
- package/src/scripts/nwb.ts +54 -0
|
@@ -0,0 +1,871 @@
|
|
|
1
|
+
export declare const authClient: {
|
|
2
|
+
signIn: {
|
|
3
|
+
anonymous: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
4
|
+
token: string;
|
|
5
|
+
user: Record<string, any> & {
|
|
6
|
+
id: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
email: string;
|
|
10
|
+
emailVerified: boolean;
|
|
11
|
+
name: string;
|
|
12
|
+
image?: string | null | undefined;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
code?: string | undefined;
|
|
16
|
+
message?: string | undefined;
|
|
17
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
18
|
+
};
|
|
19
|
+
} & {
|
|
20
|
+
deleteAnonymousUser: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
21
|
+
success: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
code?: string | undefined;
|
|
24
|
+
message?: string | undefined;
|
|
25
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
26
|
+
} & {
|
|
27
|
+
signIn: {
|
|
28
|
+
social: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
29
|
+
provider: (string & {}) | "line" | "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" | "paybin" | "paypal" | "polar" | "vercel";
|
|
30
|
+
callbackURL?: string;
|
|
31
|
+
newUserCallbackURL?: string;
|
|
32
|
+
errorCallbackURL?: string;
|
|
33
|
+
disableRedirect?: boolean;
|
|
34
|
+
idToken?: {
|
|
35
|
+
token: string;
|
|
36
|
+
nonce?: string;
|
|
37
|
+
accessToken?: string;
|
|
38
|
+
refreshToken?: string;
|
|
39
|
+
expiresAt?: number;
|
|
40
|
+
};
|
|
41
|
+
scopes?: string[];
|
|
42
|
+
requestSignUp?: boolean;
|
|
43
|
+
loginHint?: string;
|
|
44
|
+
additionalData?: Record<string, any>;
|
|
45
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
46
|
+
provider: (string & {}) | "line" | "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" | "paybin" | "paypal" | "polar" | "vercel";
|
|
47
|
+
callbackURL?: string;
|
|
48
|
+
newUserCallbackURL?: string;
|
|
49
|
+
errorCallbackURL?: string;
|
|
50
|
+
disableRedirect?: boolean;
|
|
51
|
+
idToken?: {
|
|
52
|
+
token: string;
|
|
53
|
+
nonce?: string;
|
|
54
|
+
accessToken?: string;
|
|
55
|
+
refreshToken?: string;
|
|
56
|
+
expiresAt?: number;
|
|
57
|
+
};
|
|
58
|
+
scopes?: string[];
|
|
59
|
+
requestSignUp?: boolean;
|
|
60
|
+
loginHint?: string;
|
|
61
|
+
additionalData?: Record<string, any>;
|
|
62
|
+
} & {
|
|
63
|
+
fetchOptions?: FetchOptions;
|
|
64
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
|
|
65
|
+
redirect: boolean;
|
|
66
|
+
url: string;
|
|
67
|
+
} | {
|
|
68
|
+
redirect: boolean;
|
|
69
|
+
token: string;
|
|
70
|
+
url: undefined;
|
|
71
|
+
user: {
|
|
72
|
+
id: string;
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
updatedAt: Date;
|
|
75
|
+
email: string;
|
|
76
|
+
emailVerified: boolean;
|
|
77
|
+
name: string;
|
|
78
|
+
image?: string | null | undefined;
|
|
79
|
+
};
|
|
80
|
+
}>, {
|
|
81
|
+
code?: string | undefined;
|
|
82
|
+
message?: string | undefined;
|
|
83
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
84
|
+
};
|
|
85
|
+
} & {
|
|
86
|
+
signOut: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
87
|
+
success: boolean;
|
|
88
|
+
}, {
|
|
89
|
+
code?: string | undefined;
|
|
90
|
+
message?: string | undefined;
|
|
91
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
92
|
+
} & {
|
|
93
|
+
signUp: {
|
|
94
|
+
email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
95
|
+
name: string;
|
|
96
|
+
email: string;
|
|
97
|
+
password: string;
|
|
98
|
+
image?: string | undefined;
|
|
99
|
+
callbackURL?: string | undefined;
|
|
100
|
+
rememberMe?: boolean | undefined;
|
|
101
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
102
|
+
email: string;
|
|
103
|
+
name: string;
|
|
104
|
+
password: string;
|
|
105
|
+
image?: string | undefined;
|
|
106
|
+
callbackURL?: string | undefined;
|
|
107
|
+
fetchOptions?: FetchOptions;
|
|
108
|
+
} & {} & {}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
|
|
109
|
+
token: null;
|
|
110
|
+
user: {
|
|
111
|
+
id: string;
|
|
112
|
+
createdAt: Date;
|
|
113
|
+
updatedAt: Date;
|
|
114
|
+
email: string;
|
|
115
|
+
emailVerified: boolean;
|
|
116
|
+
name: string;
|
|
117
|
+
image?: string | null | undefined;
|
|
118
|
+
};
|
|
119
|
+
} | {
|
|
120
|
+
token: string;
|
|
121
|
+
user: {
|
|
122
|
+
id: string;
|
|
123
|
+
createdAt: Date;
|
|
124
|
+
updatedAt: Date;
|
|
125
|
+
email: string;
|
|
126
|
+
emailVerified: boolean;
|
|
127
|
+
name: string;
|
|
128
|
+
image?: string | null | undefined;
|
|
129
|
+
};
|
|
130
|
+
}>, {
|
|
131
|
+
code?: string | undefined;
|
|
132
|
+
message?: string | undefined;
|
|
133
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
134
|
+
};
|
|
135
|
+
} & {
|
|
136
|
+
signIn: {
|
|
137
|
+
email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
138
|
+
email: string;
|
|
139
|
+
password: string;
|
|
140
|
+
callbackURL?: string | undefined;
|
|
141
|
+
rememberMe?: boolean | undefined;
|
|
142
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
143
|
+
email: string;
|
|
144
|
+
password: string;
|
|
145
|
+
callbackURL?: string | undefined;
|
|
146
|
+
rememberMe?: boolean | undefined;
|
|
147
|
+
} & {
|
|
148
|
+
fetchOptions?: FetchOptions;
|
|
149
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
150
|
+
redirect: boolean;
|
|
151
|
+
token: string;
|
|
152
|
+
url?: string | undefined;
|
|
153
|
+
user: {
|
|
154
|
+
id: string;
|
|
155
|
+
createdAt: Date;
|
|
156
|
+
updatedAt: Date;
|
|
157
|
+
email: string;
|
|
158
|
+
emailVerified: boolean;
|
|
159
|
+
name: string;
|
|
160
|
+
image?: string | null | undefined;
|
|
161
|
+
};
|
|
162
|
+
}, {
|
|
163
|
+
code?: string | undefined;
|
|
164
|
+
message?: string | undefined;
|
|
165
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
166
|
+
};
|
|
167
|
+
} & {
|
|
168
|
+
resetPassword: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
169
|
+
newPassword: string;
|
|
170
|
+
token?: string;
|
|
171
|
+
}> & Record<string, any>, Partial<{
|
|
172
|
+
token?: string;
|
|
173
|
+
}> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
174
|
+
newPassword: string;
|
|
175
|
+
token?: string;
|
|
176
|
+
} & {
|
|
177
|
+
fetchOptions?: FetchOptions;
|
|
178
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
179
|
+
status: boolean;
|
|
180
|
+
}, {
|
|
181
|
+
code?: string | undefined;
|
|
182
|
+
message?: string | undefined;
|
|
183
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
184
|
+
} & {
|
|
185
|
+
verifyEmail: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<{
|
|
186
|
+
token: string;
|
|
187
|
+
callbackURL?: string;
|
|
188
|
+
}> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<void | {
|
|
189
|
+
status: boolean;
|
|
190
|
+
}>, {
|
|
191
|
+
code?: string | undefined;
|
|
192
|
+
message?: string | undefined;
|
|
193
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
194
|
+
} & {
|
|
195
|
+
sendVerificationEmail: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
196
|
+
email: string;
|
|
197
|
+
callbackURL?: string;
|
|
198
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
199
|
+
email: string;
|
|
200
|
+
callbackURL?: string;
|
|
201
|
+
} & {
|
|
202
|
+
fetchOptions?: FetchOptions;
|
|
203
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
204
|
+
status: boolean;
|
|
205
|
+
}, {
|
|
206
|
+
code?: string | undefined;
|
|
207
|
+
message?: string | undefined;
|
|
208
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
209
|
+
} & {
|
|
210
|
+
changeEmail: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
211
|
+
newEmail: string;
|
|
212
|
+
callbackURL?: string;
|
|
213
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
214
|
+
newEmail: string;
|
|
215
|
+
callbackURL?: string;
|
|
216
|
+
} & {
|
|
217
|
+
fetchOptions?: FetchOptions;
|
|
218
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
219
|
+
status: boolean;
|
|
220
|
+
}, {
|
|
221
|
+
code?: string | undefined;
|
|
222
|
+
message?: string | undefined;
|
|
223
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
224
|
+
} & {
|
|
225
|
+
changePassword: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
226
|
+
newPassword: string;
|
|
227
|
+
currentPassword: string;
|
|
228
|
+
revokeOtherSessions?: boolean;
|
|
229
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
230
|
+
newPassword: string;
|
|
231
|
+
currentPassword: string;
|
|
232
|
+
revokeOtherSessions?: boolean;
|
|
233
|
+
} & {
|
|
234
|
+
fetchOptions?: FetchOptions;
|
|
235
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
236
|
+
token: string | null;
|
|
237
|
+
user: {
|
|
238
|
+
id: string;
|
|
239
|
+
createdAt: Date;
|
|
240
|
+
updatedAt: Date;
|
|
241
|
+
email: string;
|
|
242
|
+
emailVerified: boolean;
|
|
243
|
+
name: string;
|
|
244
|
+
image?: string | null | undefined;
|
|
245
|
+
} & Record<string, any>;
|
|
246
|
+
}, {
|
|
247
|
+
code?: string | undefined;
|
|
248
|
+
message?: string | undefined;
|
|
249
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
250
|
+
} & {
|
|
251
|
+
updateUser: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<Partial<{}> & {
|
|
252
|
+
name?: string | undefined;
|
|
253
|
+
image?: string | undefined | null;
|
|
254
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<{
|
|
255
|
+
image?: (string | null) | undefined;
|
|
256
|
+
name?: string | undefined;
|
|
257
|
+
fetchOptions?: FetchOptions;
|
|
258
|
+
} & Partial<{} & {}>>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
259
|
+
status: boolean;
|
|
260
|
+
}, {
|
|
261
|
+
code?: string | undefined;
|
|
262
|
+
message?: string | undefined;
|
|
263
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
264
|
+
} & {
|
|
265
|
+
deleteUser: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
266
|
+
callbackURL?: string;
|
|
267
|
+
password?: string;
|
|
268
|
+
token?: string;
|
|
269
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<{
|
|
270
|
+
callbackURL?: string;
|
|
271
|
+
password?: string;
|
|
272
|
+
token?: string;
|
|
273
|
+
} & {
|
|
274
|
+
fetchOptions?: FetchOptions;
|
|
275
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
276
|
+
success: boolean;
|
|
277
|
+
message: string;
|
|
278
|
+
}, {
|
|
279
|
+
code?: string | undefined;
|
|
280
|
+
message?: string | undefined;
|
|
281
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
282
|
+
} & {
|
|
283
|
+
requestPasswordReset: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
284
|
+
email: string;
|
|
285
|
+
redirectTo?: string;
|
|
286
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
287
|
+
email: string;
|
|
288
|
+
redirectTo?: string;
|
|
289
|
+
} & {
|
|
290
|
+
fetchOptions?: FetchOptions;
|
|
291
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
292
|
+
status: boolean;
|
|
293
|
+
message: string;
|
|
294
|
+
}, {
|
|
295
|
+
code?: string | undefined;
|
|
296
|
+
message?: string | undefined;
|
|
297
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
298
|
+
} & {
|
|
299
|
+
resetPassword: {
|
|
300
|
+
":token": <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<{
|
|
301
|
+
callbackURL: string;
|
|
302
|
+
}> & Record<string, any>, {
|
|
303
|
+
token: string;
|
|
304
|
+
}>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<never, {
|
|
305
|
+
code?: string | undefined;
|
|
306
|
+
message?: string | undefined;
|
|
307
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
308
|
+
};
|
|
309
|
+
} & {
|
|
310
|
+
listSessions: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<import("better-auth").Prettify<{
|
|
311
|
+
id: string;
|
|
312
|
+
createdAt: Date;
|
|
313
|
+
updatedAt: Date;
|
|
314
|
+
userId: string;
|
|
315
|
+
expiresAt: Date;
|
|
316
|
+
token: string;
|
|
317
|
+
ipAddress?: string | null | undefined;
|
|
318
|
+
userAgent?: string | null | undefined;
|
|
319
|
+
}>[], {
|
|
320
|
+
code?: string | undefined;
|
|
321
|
+
message?: string | undefined;
|
|
322
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
323
|
+
} & {
|
|
324
|
+
revokeSession: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
325
|
+
token: string;
|
|
326
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
327
|
+
token: string;
|
|
328
|
+
} & {
|
|
329
|
+
fetchOptions?: FetchOptions;
|
|
330
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
331
|
+
status: boolean;
|
|
332
|
+
}, {
|
|
333
|
+
code?: string | undefined;
|
|
334
|
+
message?: string | undefined;
|
|
335
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
336
|
+
} & {
|
|
337
|
+
revokeSessions: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
338
|
+
status: boolean;
|
|
339
|
+
}, {
|
|
340
|
+
code?: string | undefined;
|
|
341
|
+
message?: string | undefined;
|
|
342
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
343
|
+
} & {
|
|
344
|
+
revokeOtherSessions: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
345
|
+
status: boolean;
|
|
346
|
+
}, {
|
|
347
|
+
code?: string | undefined;
|
|
348
|
+
message?: string | undefined;
|
|
349
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
350
|
+
} & {
|
|
351
|
+
linkSocial: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
352
|
+
provider: unknown;
|
|
353
|
+
callbackURL?: string;
|
|
354
|
+
idToken?: {
|
|
355
|
+
token: string;
|
|
356
|
+
nonce?: string;
|
|
357
|
+
accessToken?: string;
|
|
358
|
+
refreshToken?: string;
|
|
359
|
+
scopes?: string[];
|
|
360
|
+
};
|
|
361
|
+
requestSignUp?: boolean;
|
|
362
|
+
scopes?: string[];
|
|
363
|
+
errorCallbackURL?: string;
|
|
364
|
+
disableRedirect?: boolean;
|
|
365
|
+
additionalData?: Record<string, any>;
|
|
366
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
367
|
+
provider: unknown;
|
|
368
|
+
callbackURL?: string;
|
|
369
|
+
idToken?: {
|
|
370
|
+
token: string;
|
|
371
|
+
nonce?: string;
|
|
372
|
+
accessToken?: string;
|
|
373
|
+
refreshToken?: string;
|
|
374
|
+
scopes?: string[];
|
|
375
|
+
};
|
|
376
|
+
requestSignUp?: boolean;
|
|
377
|
+
scopes?: string[];
|
|
378
|
+
errorCallbackURL?: string;
|
|
379
|
+
disableRedirect?: boolean;
|
|
380
|
+
additionalData?: Record<string, any>;
|
|
381
|
+
} & {
|
|
382
|
+
fetchOptions?: FetchOptions;
|
|
383
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
384
|
+
url: string;
|
|
385
|
+
redirect: boolean;
|
|
386
|
+
}, {
|
|
387
|
+
code?: string | undefined;
|
|
388
|
+
message?: string | undefined;
|
|
389
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
390
|
+
} & {
|
|
391
|
+
listAccounts: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
392
|
+
scopes: string[];
|
|
393
|
+
id: string;
|
|
394
|
+
createdAt: Date;
|
|
395
|
+
updatedAt: Date;
|
|
396
|
+
userId: string;
|
|
397
|
+
providerId: string;
|
|
398
|
+
accountId: string;
|
|
399
|
+
}[], {
|
|
400
|
+
code?: string | undefined;
|
|
401
|
+
message?: string | undefined;
|
|
402
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
403
|
+
} & {
|
|
404
|
+
deleteUser: {
|
|
405
|
+
callback: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<{
|
|
406
|
+
token: string;
|
|
407
|
+
callbackURL?: string;
|
|
408
|
+
}> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
409
|
+
success: boolean;
|
|
410
|
+
message: string;
|
|
411
|
+
}, {
|
|
412
|
+
code?: string | undefined;
|
|
413
|
+
message?: string | undefined;
|
|
414
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
415
|
+
};
|
|
416
|
+
} & {
|
|
417
|
+
unlinkAccount: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
418
|
+
providerId: string;
|
|
419
|
+
accountId?: string;
|
|
420
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
421
|
+
providerId: string;
|
|
422
|
+
accountId?: string;
|
|
423
|
+
} & {
|
|
424
|
+
fetchOptions?: FetchOptions;
|
|
425
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
426
|
+
status: boolean;
|
|
427
|
+
}, {
|
|
428
|
+
code?: string | undefined;
|
|
429
|
+
message?: string | undefined;
|
|
430
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
431
|
+
} & {
|
|
432
|
+
refreshToken: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
433
|
+
providerId: string;
|
|
434
|
+
accountId?: string;
|
|
435
|
+
userId?: string;
|
|
436
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
437
|
+
providerId: string;
|
|
438
|
+
accountId?: string;
|
|
439
|
+
userId?: string;
|
|
440
|
+
} & {
|
|
441
|
+
fetchOptions?: FetchOptions;
|
|
442
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
443
|
+
accessToken: string | undefined;
|
|
444
|
+
refreshToken: string | undefined;
|
|
445
|
+
accessTokenExpiresAt: Date | undefined;
|
|
446
|
+
refreshTokenExpiresAt: Date | undefined;
|
|
447
|
+
scope: string | null | undefined;
|
|
448
|
+
idToken: string | null | undefined;
|
|
449
|
+
providerId: string;
|
|
450
|
+
accountId: string;
|
|
451
|
+
}, {
|
|
452
|
+
code?: string | undefined;
|
|
453
|
+
message?: string | undefined;
|
|
454
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
455
|
+
} & {
|
|
456
|
+
getAccessToken: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
457
|
+
providerId: string;
|
|
458
|
+
accountId?: string;
|
|
459
|
+
userId?: string;
|
|
460
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
461
|
+
providerId: string;
|
|
462
|
+
accountId?: string;
|
|
463
|
+
userId?: string;
|
|
464
|
+
} & {
|
|
465
|
+
fetchOptions?: FetchOptions;
|
|
466
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
467
|
+
accessToken: string;
|
|
468
|
+
accessTokenExpiresAt: Date | undefined;
|
|
469
|
+
scopes: string[];
|
|
470
|
+
idToken: string | undefined;
|
|
471
|
+
}, {
|
|
472
|
+
code?: string | undefined;
|
|
473
|
+
message?: string | undefined;
|
|
474
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
475
|
+
} & {
|
|
476
|
+
accountInfo: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<{
|
|
477
|
+
accountId?: string;
|
|
478
|
+
}> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
479
|
+
user: import("better-auth").OAuth2UserInfo;
|
|
480
|
+
data: Record<string, any>;
|
|
481
|
+
}, {
|
|
482
|
+
code?: string | undefined;
|
|
483
|
+
message?: string | undefined;
|
|
484
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
485
|
+
} & {
|
|
486
|
+
getSession: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<{
|
|
487
|
+
disableCookieCache?: unknown;
|
|
488
|
+
disableRefresh?: unknown;
|
|
489
|
+
}> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
490
|
+
user: {
|
|
491
|
+
id: string;
|
|
492
|
+
createdAt: Date;
|
|
493
|
+
updatedAt: Date;
|
|
494
|
+
emailVerified: boolean;
|
|
495
|
+
name: string;
|
|
496
|
+
email?: string;
|
|
497
|
+
image?: string;
|
|
498
|
+
isAnonymous: boolean;
|
|
499
|
+
};
|
|
500
|
+
session: {
|
|
501
|
+
id: string;
|
|
502
|
+
createdAt: Date;
|
|
503
|
+
updatedAt: Date;
|
|
504
|
+
userId: string;
|
|
505
|
+
expiresAt: Date;
|
|
506
|
+
token: string;
|
|
507
|
+
ipAddress?: string;
|
|
508
|
+
userAgent?: string;
|
|
509
|
+
};
|
|
510
|
+
}, {
|
|
511
|
+
code?: string | undefined;
|
|
512
|
+
message?: string | undefined;
|
|
513
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
514
|
+
} & {
|
|
515
|
+
useSession: () => {
|
|
516
|
+
data: {
|
|
517
|
+
user: {
|
|
518
|
+
id: string;
|
|
519
|
+
createdAt: Date;
|
|
520
|
+
updatedAt: Date;
|
|
521
|
+
emailVerified: boolean;
|
|
522
|
+
name: string;
|
|
523
|
+
email?: string;
|
|
524
|
+
image?: string;
|
|
525
|
+
isAnonymous: boolean;
|
|
526
|
+
};
|
|
527
|
+
session: {
|
|
528
|
+
id: string;
|
|
529
|
+
createdAt: Date;
|
|
530
|
+
updatedAt: Date;
|
|
531
|
+
userId: string;
|
|
532
|
+
expiresAt: Date;
|
|
533
|
+
token: string;
|
|
534
|
+
ipAddress?: string;
|
|
535
|
+
userAgent?: string;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
isPending: boolean;
|
|
539
|
+
isRefetching: boolean;
|
|
540
|
+
error: import("better-auth/client").BetterFetchError | null;
|
|
541
|
+
refetch: (queryParams?: {
|
|
542
|
+
query?: import("better-auth").SessionQueryParams;
|
|
543
|
+
} | undefined) => Promise<void>;
|
|
544
|
+
};
|
|
545
|
+
$Infer: {
|
|
546
|
+
Session: {
|
|
547
|
+
user: {
|
|
548
|
+
id: string;
|
|
549
|
+
createdAt: Date;
|
|
550
|
+
updatedAt: Date;
|
|
551
|
+
emailVerified: boolean;
|
|
552
|
+
name: string;
|
|
553
|
+
email?: string;
|
|
554
|
+
image?: string;
|
|
555
|
+
isAnonymous: boolean;
|
|
556
|
+
};
|
|
557
|
+
session: {
|
|
558
|
+
id: string;
|
|
559
|
+
createdAt: Date;
|
|
560
|
+
updatedAt: Date;
|
|
561
|
+
userId: string;
|
|
562
|
+
expiresAt: Date;
|
|
563
|
+
token: string;
|
|
564
|
+
ipAddress?: string;
|
|
565
|
+
userAgent?: string;
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
$fetch: import("better-auth/client").BetterFetch<{
|
|
570
|
+
plugins: (import("better-auth/client").BetterFetchPlugin<Record<string, any>> | {
|
|
571
|
+
id: string;
|
|
572
|
+
name: string;
|
|
573
|
+
hooks: {
|
|
574
|
+
onSuccess(context: import("better-auth/client").SuccessContext<any>): void;
|
|
575
|
+
};
|
|
576
|
+
} | {
|
|
577
|
+
id: string;
|
|
578
|
+
name: string;
|
|
579
|
+
hooks: {
|
|
580
|
+
onSuccess: ((context: import("better-auth/client").SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
581
|
+
onError: ((context: import("better-auth/client").ErrorContext) => Promise<void> | void) | undefined;
|
|
582
|
+
onRequest: (<T extends Record<string, any>>(context: import("better-auth/client").RequestContext<T>) => Promise<import("better-auth/client").RequestContext | void> | import("better-auth/client").RequestContext | void) | undefined;
|
|
583
|
+
onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
|
|
584
|
+
};
|
|
585
|
+
})[];
|
|
586
|
+
cache?: RequestCache | undefined;
|
|
587
|
+
method: string;
|
|
588
|
+
window?: null | undefined;
|
|
589
|
+
headers?: (HeadersInit & (HeadersInit | {
|
|
590
|
+
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
591
|
+
"content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
|
|
592
|
+
authorization: "Bearer" | "Basic";
|
|
593
|
+
})) | undefined;
|
|
594
|
+
redirect?: RequestRedirect | undefined;
|
|
595
|
+
credentials?: RequestCredentials;
|
|
596
|
+
integrity?: string | undefined;
|
|
597
|
+
keepalive?: boolean | undefined;
|
|
598
|
+
mode?: RequestMode | undefined;
|
|
599
|
+
priority?: RequestPriority | undefined;
|
|
600
|
+
referrer?: string | undefined;
|
|
601
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
602
|
+
signal?: (AbortSignal | null) | undefined;
|
|
603
|
+
onRetry?: ((response: import("better-auth/client").ResponseContext) => Promise<void> | void) | undefined;
|
|
604
|
+
hookOptions?: {
|
|
605
|
+
cloneResponse?: boolean;
|
|
606
|
+
} | undefined;
|
|
607
|
+
timeout?: number | undefined;
|
|
608
|
+
customFetchImpl: import("better-auth/client").FetchEsque;
|
|
609
|
+
baseURL: string;
|
|
610
|
+
throw?: boolean | undefined;
|
|
611
|
+
auth?: ({
|
|
612
|
+
type: "Bearer";
|
|
613
|
+
token: string | Promise<string | undefined> | (() => string | Promise<string | undefined> | undefined) | undefined;
|
|
614
|
+
} | {
|
|
615
|
+
type: "Basic";
|
|
616
|
+
username: string | (() => string | undefined) | undefined;
|
|
617
|
+
password: string | (() => string | undefined) | undefined;
|
|
618
|
+
} | {
|
|
619
|
+
type: "Custom";
|
|
620
|
+
prefix: string | (() => string | undefined) | undefined;
|
|
621
|
+
value: string | (() => string | undefined) | undefined;
|
|
622
|
+
}) | undefined;
|
|
623
|
+
body?: any;
|
|
624
|
+
query?: any;
|
|
625
|
+
params?: any;
|
|
626
|
+
duplex?: "full" | "half" | undefined;
|
|
627
|
+
jsonParser: (text: string) => Promise<any> | any;
|
|
628
|
+
retry?: import("better-auth/client").RetryOptions | undefined;
|
|
629
|
+
retryAttempt?: number | undefined;
|
|
630
|
+
output?: (import("better-auth/client").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
631
|
+
errorSchema?: import("better-auth/client").StandardSchemaV1 | undefined;
|
|
632
|
+
disableValidation?: boolean | undefined;
|
|
633
|
+
disableSignal?: boolean | undefined;
|
|
634
|
+
}, unknown, unknown, {}>;
|
|
635
|
+
$store: {
|
|
636
|
+
notify: (signal?: (Omit<string, "$sessionSignal"> | "$sessionSignal") | undefined) => void;
|
|
637
|
+
listen: (signal: Omit<string, "$sessionSignal"> | "$sessionSignal", listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
638
|
+
atoms: Record<string, import("better-auth/client").WritableAtom<any>>;
|
|
639
|
+
};
|
|
640
|
+
$ERROR_CODES: {
|
|
641
|
+
readonly INVALID_EMAIL_FORMAT: "Email was not generated in a valid format";
|
|
642
|
+
readonly FAILED_TO_CREATE_USER: "Failed to create user";
|
|
643
|
+
readonly COULD_NOT_CREATE_SESSION: "Could not create session";
|
|
644
|
+
readonly ANONYMOUS_USERS_CANNOT_SIGN_IN_AGAIN_ANONYMOUSLY: "Anonymous users cannot sign in again anonymously";
|
|
645
|
+
readonly FAILED_TO_DELETE_ANONYMOUS_USER: "Failed to delete anonymous user";
|
|
646
|
+
readonly USER_IS_NOT_ANONYMOUS: "User is not anonymous";
|
|
647
|
+
readonly DELETE_ANONYMOUS_USER_DISABLED: "Deleting anonymous users is disabled";
|
|
648
|
+
readonly USER_NOT_FOUND: "User not found";
|
|
649
|
+
readonly FAILED_TO_CREATE_SESSION: "Failed to create session";
|
|
650
|
+
readonly FAILED_TO_UPDATE_USER: "Failed to update user";
|
|
651
|
+
readonly FAILED_TO_GET_SESSION: "Failed to get session";
|
|
652
|
+
readonly INVALID_PASSWORD: "Invalid password";
|
|
653
|
+
readonly INVALID_EMAIL: "Invalid email";
|
|
654
|
+
readonly INVALID_EMAIL_OR_PASSWORD: "Invalid email or password";
|
|
655
|
+
readonly SOCIAL_ACCOUNT_ALREADY_LINKED: "Social account already linked";
|
|
656
|
+
readonly PROVIDER_NOT_FOUND: "Provider not found";
|
|
657
|
+
readonly INVALID_TOKEN: "Invalid token";
|
|
658
|
+
readonly ID_TOKEN_NOT_SUPPORTED: "id_token not supported";
|
|
659
|
+
readonly FAILED_TO_GET_USER_INFO: "Failed to get user info";
|
|
660
|
+
readonly USER_EMAIL_NOT_FOUND: "User email not found";
|
|
661
|
+
readonly EMAIL_NOT_VERIFIED: "Email not verified";
|
|
662
|
+
readonly PASSWORD_TOO_SHORT: "Password too short";
|
|
663
|
+
readonly PASSWORD_TOO_LONG: "Password too long";
|
|
664
|
+
readonly USER_ALREADY_EXISTS: "User already exists.";
|
|
665
|
+
readonly USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL: "User already exists. Use another email.";
|
|
666
|
+
readonly EMAIL_CAN_NOT_BE_UPDATED: "Email can not be updated";
|
|
667
|
+
readonly CREDENTIAL_ACCOUNT_NOT_FOUND: "Credential account not found";
|
|
668
|
+
readonly SESSION_EXPIRED: "Session expired. Re-authenticate to perform this action.";
|
|
669
|
+
readonly FAILED_TO_UNLINK_LAST_ACCOUNT: "You can't unlink your last account";
|
|
670
|
+
readonly ACCOUNT_NOT_FOUND: "Account not found";
|
|
671
|
+
readonly USER_ALREADY_HAS_PASSWORD: "User already has a password. Provide that to delete the account.";
|
|
672
|
+
readonly CROSS_SITE_NAVIGATION_LOGIN_BLOCKED: "Cross-site navigation login blocked. This request appears to be a CSRF attack.";
|
|
673
|
+
readonly VERIFICATION_EMAIL_NOT_ENABLED: "Verification email isn't enabled";
|
|
674
|
+
readonly EMAIL_ALREADY_VERIFIED: "Email is already verified";
|
|
675
|
+
readonly EMAIL_MISMATCH: "Email mismatch";
|
|
676
|
+
readonly SESSION_NOT_FRESH: "Session is not fresh";
|
|
677
|
+
readonly LINKED_ACCOUNT_ALREADY_EXISTS: "Linked account already exists";
|
|
678
|
+
readonly INVALID_ORIGIN: "Invalid origin";
|
|
679
|
+
readonly INVALID_CALLBACK_URL: "Invalid callbackURL";
|
|
680
|
+
readonly INVALID_REDIRECT_URL: "Invalid redirectURL";
|
|
681
|
+
readonly INVALID_ERROR_CALLBACK_URL: "Invalid errorCallbackURL";
|
|
682
|
+
readonly INVALID_NEW_USER_CALLBACK_URL: "Invalid newUserCallbackURL";
|
|
683
|
+
readonly MISSING_OR_NULL_ORIGIN: "Missing or null Origin";
|
|
684
|
+
readonly CALLBACK_URL_REQUIRED: "callbackURL is required";
|
|
685
|
+
readonly FAILED_TO_CREATE_VERIFICATION: "Unable to create verification";
|
|
686
|
+
readonly FIELD_NOT_ALLOWED: "Field not allowed to be set";
|
|
687
|
+
readonly ASYNC_VALIDATION_NOT_SUPPORTED: "Async validation is not supported";
|
|
688
|
+
readonly VALIDATION_ERROR: "Validation Error";
|
|
689
|
+
readonly MISSING_FIELD: "Field is required";
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
export declare const signIn: {
|
|
693
|
+
anonymous: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
694
|
+
token: string;
|
|
695
|
+
user: Record<string, any> & {
|
|
696
|
+
id: string;
|
|
697
|
+
createdAt: Date;
|
|
698
|
+
updatedAt: Date;
|
|
699
|
+
email: string;
|
|
700
|
+
emailVerified: boolean;
|
|
701
|
+
name: string;
|
|
702
|
+
image?: string | null | undefined;
|
|
703
|
+
};
|
|
704
|
+
}, {
|
|
705
|
+
code?: string | undefined;
|
|
706
|
+
message?: string | undefined;
|
|
707
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
708
|
+
} & {
|
|
709
|
+
social: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
710
|
+
provider: (string & {}) | "line" | "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" | "paybin" | "paypal" | "polar" | "vercel";
|
|
711
|
+
callbackURL?: string;
|
|
712
|
+
newUserCallbackURL?: string;
|
|
713
|
+
errorCallbackURL?: string;
|
|
714
|
+
disableRedirect?: boolean;
|
|
715
|
+
idToken?: {
|
|
716
|
+
token: string;
|
|
717
|
+
nonce?: string;
|
|
718
|
+
accessToken?: string;
|
|
719
|
+
refreshToken?: string;
|
|
720
|
+
expiresAt?: number;
|
|
721
|
+
};
|
|
722
|
+
scopes?: string[];
|
|
723
|
+
requestSignUp?: boolean;
|
|
724
|
+
loginHint?: string;
|
|
725
|
+
additionalData?: Record<string, any>;
|
|
726
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
727
|
+
provider: (string & {}) | "line" | "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" | "paybin" | "paypal" | "polar" | "vercel";
|
|
728
|
+
callbackURL?: string;
|
|
729
|
+
newUserCallbackURL?: string;
|
|
730
|
+
errorCallbackURL?: string;
|
|
731
|
+
disableRedirect?: boolean;
|
|
732
|
+
idToken?: {
|
|
733
|
+
token: string;
|
|
734
|
+
nonce?: string;
|
|
735
|
+
accessToken?: string;
|
|
736
|
+
refreshToken?: string;
|
|
737
|
+
expiresAt?: number;
|
|
738
|
+
};
|
|
739
|
+
scopes?: string[];
|
|
740
|
+
requestSignUp?: boolean;
|
|
741
|
+
loginHint?: string;
|
|
742
|
+
additionalData?: Record<string, any>;
|
|
743
|
+
} & {
|
|
744
|
+
fetchOptions?: FetchOptions;
|
|
745
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
|
|
746
|
+
redirect: boolean;
|
|
747
|
+
url: string;
|
|
748
|
+
} | {
|
|
749
|
+
redirect: boolean;
|
|
750
|
+
token: string;
|
|
751
|
+
url: undefined;
|
|
752
|
+
user: {
|
|
753
|
+
id: string;
|
|
754
|
+
createdAt: Date;
|
|
755
|
+
updatedAt: Date;
|
|
756
|
+
email: string;
|
|
757
|
+
emailVerified: boolean;
|
|
758
|
+
name: string;
|
|
759
|
+
image?: string | null | undefined;
|
|
760
|
+
};
|
|
761
|
+
}>, {
|
|
762
|
+
code?: string | undefined;
|
|
763
|
+
message?: string | undefined;
|
|
764
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
765
|
+
} & {
|
|
766
|
+
email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
767
|
+
email: string;
|
|
768
|
+
password: string;
|
|
769
|
+
callbackURL?: string | undefined;
|
|
770
|
+
rememberMe?: boolean | undefined;
|
|
771
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
772
|
+
email: string;
|
|
773
|
+
password: string;
|
|
774
|
+
callbackURL?: string | undefined;
|
|
775
|
+
rememberMe?: boolean | undefined;
|
|
776
|
+
} & {
|
|
777
|
+
fetchOptions?: FetchOptions;
|
|
778
|
+
}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
779
|
+
redirect: boolean;
|
|
780
|
+
token: string;
|
|
781
|
+
url?: string | undefined;
|
|
782
|
+
user: {
|
|
783
|
+
id: string;
|
|
784
|
+
createdAt: Date;
|
|
785
|
+
updatedAt: Date;
|
|
786
|
+
email: string;
|
|
787
|
+
emailVerified: boolean;
|
|
788
|
+
name: string;
|
|
789
|
+
image?: string | null | undefined;
|
|
790
|
+
};
|
|
791
|
+
}, {
|
|
792
|
+
code?: string | undefined;
|
|
793
|
+
message?: string | undefined;
|
|
794
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
795
|
+
}, signOut: <FetchOptions extends import("better-auth").ClientFetchOption<undefined, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0?: import("better-auth").Prettify<undefined>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
796
|
+
success: boolean;
|
|
797
|
+
}, {
|
|
798
|
+
code?: string | undefined;
|
|
799
|
+
message?: string | undefined;
|
|
800
|
+
}, FetchOptions["throw"] extends true ? true : false>>, signUp: {
|
|
801
|
+
email: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
802
|
+
name: string;
|
|
803
|
+
email: string;
|
|
804
|
+
password: string;
|
|
805
|
+
image?: string | undefined;
|
|
806
|
+
callbackURL?: string | undefined;
|
|
807
|
+
rememberMe?: boolean | undefined;
|
|
808
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any>>>(data_0: import("better-auth").Prettify<{
|
|
809
|
+
email: string;
|
|
810
|
+
name: string;
|
|
811
|
+
password: string;
|
|
812
|
+
image?: string | undefined;
|
|
813
|
+
callbackURL?: string | undefined;
|
|
814
|
+
fetchOptions?: FetchOptions;
|
|
815
|
+
} & {} & {}>, data_1?: FetchOptions) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<{
|
|
816
|
+
token: null;
|
|
817
|
+
user: {
|
|
818
|
+
id: string;
|
|
819
|
+
createdAt: Date;
|
|
820
|
+
updatedAt: Date;
|
|
821
|
+
email: string;
|
|
822
|
+
emailVerified: boolean;
|
|
823
|
+
name: string;
|
|
824
|
+
image?: string | null | undefined;
|
|
825
|
+
};
|
|
826
|
+
} | {
|
|
827
|
+
token: string;
|
|
828
|
+
user: {
|
|
829
|
+
id: string;
|
|
830
|
+
createdAt: Date;
|
|
831
|
+
updatedAt: Date;
|
|
832
|
+
email: string;
|
|
833
|
+
emailVerified: boolean;
|
|
834
|
+
name: string;
|
|
835
|
+
image?: string | null | undefined;
|
|
836
|
+
};
|
|
837
|
+
}>, {
|
|
838
|
+
code?: string | undefined;
|
|
839
|
+
message?: string | undefined;
|
|
840
|
+
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
841
|
+
}, useSession: () => {
|
|
842
|
+
data: {
|
|
843
|
+
user: {
|
|
844
|
+
id: string;
|
|
845
|
+
createdAt: Date;
|
|
846
|
+
updatedAt: Date;
|
|
847
|
+
emailVerified: boolean;
|
|
848
|
+
name: string;
|
|
849
|
+
email?: string;
|
|
850
|
+
image?: string;
|
|
851
|
+
isAnonymous: boolean;
|
|
852
|
+
};
|
|
853
|
+
session: {
|
|
854
|
+
id: string;
|
|
855
|
+
createdAt: Date;
|
|
856
|
+
updatedAt: Date;
|
|
857
|
+
userId: string;
|
|
858
|
+
expiresAt: Date;
|
|
859
|
+
token: string;
|
|
860
|
+
ipAddress?: string;
|
|
861
|
+
userAgent?: string;
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
isPending: boolean;
|
|
865
|
+
isRefetching: boolean;
|
|
866
|
+
error: import("better-auth/client").BetterFetchError | null;
|
|
867
|
+
refetch: (queryParams?: {
|
|
868
|
+
query?: import("better-auth").SessionQueryParams;
|
|
869
|
+
} | undefined) => Promise<void>;
|
|
870
|
+
};
|
|
871
|
+
//# sourceMappingURL=auth-client.d.ts.map
|