@m5kdev/web-ui 0.8.7 → 0.8.9
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/_virtual/_rolldown/runtime.js +23 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/endpoint-context.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/context/transaction.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/factory.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-default-field-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-default-model-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-field-attributes.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-field-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-id-field.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/get-model-name.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/adapter/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/get-tables.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/plugin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/account.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/rate-limit.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/session.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/shared.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/user.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/schema/verification.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/db/type.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/client-credentials-token.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/create-authorization-url.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/oauth-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/refresh-access-token.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/oauth2/validate-authorization-code.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/apple.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/atlassian.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/cognito.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/discord.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/dropbox.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/facebook.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/figma.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/github.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/gitlab.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/google.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/huggingface.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/kakao.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/kick.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/line.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/linear.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/linkedin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/microsoft-entra-id.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/naver.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/notion.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/paybin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/paypal.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/polar.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/reddit.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/roblox.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/salesforce.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/slack.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/spotify.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/tiktok.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/twitch.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/twitter.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/vercel.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/vk.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/social-providers/zoom.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/context.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/init-options.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/plugin-client.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/types/plugin.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/utils/db.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better-fetch_fetch@1.1.21_better-cal_347838d331444e5371f256b914727290/node_modules/@better-auth/core/dist/utils/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@better-auth_telemetry@1.4.18_@better-auth_core@1.4.18_@better-auth_utils@0.3.0_@better_5bdd8772f1558f3b68c06a14d130fcab/node_modules/@better-auth/telemetry/dist/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +79 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +580 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +14 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +10 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +289 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +86 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +101 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +19 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +30 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +23 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +153 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +91 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +16 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +6 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +35 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +43 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +73 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +26 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +54 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +77 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +17 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +426 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +11 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +8 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +132 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +29 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +21 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +49 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +18 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +68 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +5 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +183 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +27 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +25 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +12 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +66 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +15 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +51 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +9 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +32 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +20 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +13 -0
- package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +13 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.ts +31 -0
- package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/unstable-core-do-not-import.d-ClFRzVsT.d.ts +912 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/middlewares/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/middlewares/origin-check.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/account.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/callback.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/email-verification.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/password.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/session.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/sign-in.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/sign-up.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/api/routes/update-user.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/auth/full.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/client/path-to-object.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/client/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/adapter-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/adapter-kysely.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/field-converter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/field.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/get-migration.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/get-schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/internal-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/to-zod.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/db/with-hooks.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/index.d.ts +3 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/oauth2/state.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/access/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/access/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/admin.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/admin/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/anonymous/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/anonymous/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/api-key/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/bearer/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/captcha/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/custom-session/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/device-authorization/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/email-otp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/email-otp/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/auth0.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/gumroad.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/hubspot.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/keycloak.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/line.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/microsoft-entra-id.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/okta.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/patreon.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/providers/slack.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/generic-oauth/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/haveibeenpwned/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/sign.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/jwt/verify.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/last-login-method/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/magic-link/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/mcp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/multi-session/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oauth-proxy/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/oidc-provider/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/one-tap/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/one-time-token/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/open-api/generator.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/open-api/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/access/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/access/statement.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/organization.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-access-control.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-invites.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-members.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-org.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/routes/crud-team.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/organization/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/phone-number/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/phone-number/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/siwe/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/backup-codes/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/client.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/otp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/totp/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/two-factor/types.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/username/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/plugins/username/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/state.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/api.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/auth.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/helper.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/models.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/types/plugins.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/utils/get-request-ip.d.ts +1 -0
- package/dist/node_modules/.pnpm/better-auth@1.4.18_drizzle-kit@0.31.4_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferut_929f3a53f15af7ff00a6cf0e0dc1d5a2/node_modules/better-auth/dist/utils/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/batch.d.ts +9 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/cache.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/cache/core/types.d.ts +37 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/casing.d.ts +17 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column-builder.d.ts +116 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/column.d.ts +69 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/entity.d.ts +5 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/gel-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/libsql/driver-core.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/migrator.d.ts +15 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/mysql-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/operations.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/sequence.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/pg-core/table.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/query-builder.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-builders/select.types.d.ts +38 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/query-promise.d.ts +14 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/relations.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/runnable-query.d.ts +12 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/session.d.ts +10 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/columns/common.d.ts +16 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/singlestore-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/conditions.d.ts +287 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/expressions/select.d.ts +43 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sql/sql.d.ts +225 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/columns/common.d.ts +18 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/db.d.ts +258 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/dialect.d.ts +132 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/indexes.d.ts +8 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/count.d.ts +31 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/delete.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/insert.d.ts +171 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.d.ts +33 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/query.d.ts +60 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/raw.d.ts +34 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.d.ts +476 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.d.ts +122 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/query-builders/update.d.ts +154 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/session.d.ts +112 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/subquery.d.ts +23 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/table.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view-base.d.ts +13 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/sqlite-core/view.d.ts +21 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/subquery.d.ts +24 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/table.d.ts +71 -0
- package/dist/node_modules/.pnpm/drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-validate@5.0.10__@opent_ac1027c3f9e88da128946e54f6f618fa/node_modules/drizzle-orm/utils.d.ts +27 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/column.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/schema.types.internal.d.ts +1 -0
- package/dist/node_modules/.pnpm/drizzle-zod@0.8.2_drizzle-orm@0.44.3_@libsql_client@0.17.0_bufferutil@4.1.0_utf-8-valid_797c3b5a0ad29f2403edf9a3c791ff27/node_modules/drizzle-zod/utils.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-dialect.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-introspector.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/expression-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/index.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.ts +38 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/file-migration-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/migrator.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/binary-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/delete-from-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/expression-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/group-by-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/insert-values-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/join-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/merge-into-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/reference-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/returning-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-from-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/set-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/tuple-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-set-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/value-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/with-parser.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/case-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/delete-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/having-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/insert-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/join-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/merge-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/on-conflict-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/output-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/returning-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/select-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/update-query-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/where-interface.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-creator.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/default-query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/noop-query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-base.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-provider.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/raw-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/sql.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-foreign-key-constraint-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-drop-constraint-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-executor.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-schema-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-type-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-index-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-schema-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-table-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-type-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/refresh-materialized-view-builder.d.ts +1 -0
- package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/schema.d.ts +1 -0
- package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +299 -0
- package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +132 -0
- package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +766 -0
- package/dist/node_modules/.pnpm/resend@6.5.2_@react-email_render@2.0.0_react-dom@19.2.1_react@19.2.1__react@19.2.1_/node_modules/resend/dist/index.d.ts +1295 -0
- package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +55 -0
- package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +573 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +610 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +71 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +8 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +2455 -0
- package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +106 -0
- package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +30 -0
- package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +38 -0
- package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +13 -0
- package/dist/packages/backend/dist/src/modules/base/base.grants.d.ts +1 -0
- package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +47 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.mts +2 -0
- package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +128 -0
- package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +34 -0
- package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +6 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +2788 -0
- package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +53 -0
- package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +63 -0
- package/dist/packages/backend/dist/src/types.d.mts +6 -6
- package/dist/packages/backend/dist/src/types.d.ts +344 -0
- package/dist/packages/backend/dist/src/utils/errors.d.ts +60 -0
- package/dist/packages/backend/dist/src/utils/logger.d.ts +8 -0
- package/dist/packages/backend/dist/src/utils/trpc.d.ts +23 -0
- package/dist/src/animations/card.motion.d.ts +7 -0
- package/dist/src/animations/card.motion.js +27 -0
- package/dist/src/animations/card.motion.js.map +1 -0
- package/dist/src/components/AvatarUpload.d.ts +16 -0
- package/dist/src/components/AvatarUpload.js +111 -0
- package/dist/src/components/AvatarUpload.js.map +1 -0
- package/dist/src/components/AvatarUpload.mjs +2 -2
- package/dist/src/components/Button.d.ts +15 -0
- package/dist/src/components/Button.js +16 -0
- package/dist/src/components/Button.js.map +1 -0
- package/dist/src/components/Calendar.d.ts +37 -0
- package/dist/src/components/Calendar.js +31 -0
- package/dist/src/components/Calendar.js.map +1 -0
- package/dist/src/components/CardsSelect.d.ts +27 -0
- package/dist/src/components/CardsSelect.js +82 -0
- package/dist/src/components/CardsSelect.js.map +1 -0
- package/dist/src/components/CardsSelect.mjs +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.js +36 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.mjs +1 -1
- package/dist/src/components/ColorPicker.d.mts +1 -1
- package/dist/src/components/ColorPicker.d.ts +15 -0
- package/dist/src/components/ColorPicker.js +54 -0
- package/dist/src/components/ColorPicker.js.map +1 -0
- package/dist/src/components/ColorPicker.mjs +2 -2
- package/dist/src/components/CopyButton.d.mts +1 -1
- package/dist/src/components/CopyButton.d.ts +18 -0
- package/dist/src/components/CopyButton.js +35 -0
- package/dist/src/components/CopyButton.js.map +1 -0
- package/dist/src/components/CopyButton.mjs +3 -3
- package/dist/src/components/CropDialog.d.ts +22 -0
- package/dist/src/components/CropDialog.js +116 -0
- package/dist/src/components/CropDialog.js.map +1 -0
- package/dist/src/components/CropDialog.mjs +2 -2
- package/dist/src/components/DialogProvider.d.mts +1 -1
- package/dist/src/components/DialogProvider.d.ts +23 -0
- package/dist/src/components/DialogProvider.js +75 -0
- package/dist/src/components/DialogProvider.js.map +1 -0
- package/dist/src/components/DialogProvider.mjs +1 -1
- package/dist/src/components/ErrorFallback.d.ts +13 -0
- package/dist/src/components/ErrorFallback.js +32 -0
- package/dist/src/components/ErrorFallback.js.map +1 -0
- package/dist/src/components/FileDropzone.d.ts +14 -0
- package/dist/src/components/FileDropzone.js +103 -0
- package/dist/src/components/FileDropzone.js.map +1 -0
- package/dist/src/components/FileDropzone.mjs +1 -1
- package/dist/src/components/MultiSelectDropdown.d.ts +29 -0
- package/dist/src/components/MultiSelectDropdown.js +106 -0
- package/dist/src/components/MultiSelectDropdown.js.map +1 -0
- package/dist/src/components/MultiSelectDropdown.mjs +1 -1
- package/dist/src/components/Orb.d.ts +16 -0
- package/dist/src/components/Orb.js +268 -0
- package/dist/src/components/Orb.js.map +1 -0
- package/dist/src/components/PageAlert.d.ts +23 -0
- package/dist/src/components/PageAlert.js +78 -0
- package/dist/src/components/PageAlert.js.map +1 -0
- package/dist/src/components/PageAlert.mjs +2 -2
- package/dist/src/components/SelectChips.d.mts +1 -1
- package/dist/src/components/SelectChips.d.ts +21 -0
- package/dist/src/components/SelectChips.js +25 -0
- package/dist/src/components/SelectChips.js.map +1 -0
- package/dist/src/components/SelectChips.mjs +1 -1
- package/dist/src/components/SidebarItem.d.ts +18 -0
- package/dist/src/components/SidebarItem.js +20 -0
- package/dist/src/components/SidebarItem.js.map +1 -0
- package/dist/src/components/Steps.d.ts +24 -0
- package/dist/src/components/Steps.js +204 -0
- package/dist/src/components/Steps.js.map +1 -0
- package/dist/src/components/Steps.mjs +1 -1
- package/dist/src/components/TablerIconPicker.d.mts +1 -1
- package/dist/src/components/TablerIconPicker.d.ts +13 -0
- package/dist/src/components/TablerIconPicker.js +4260 -0
- package/dist/src/components/TablerIconPicker.js.map +1 -0
- package/dist/src/components/TablerIconPicker.mjs +1 -1
- package/dist/src/components/app-header.d.ts +14 -0
- package/dist/src/components/app-header.js +31 -0
- package/dist/src/components/app-header.js.map +1 -0
- package/dist/src/components/blur-card.d.ts +27 -0
- package/dist/src/components/blur-card.js +139 -0
- package/dist/src/components/blur-card.js.map +1 -0
- package/dist/src/components/features-section-demo-1.d.ts +22 -0
- package/dist/src/components/features-section-demo-1.js +132 -0
- package/dist/src/components/features-section-demo-1.js.map +1 -0
- package/dist/src/components/features-section-demo-2.d.ts +6 -0
- package/dist/src/components/features-section-demo-2.js +83 -0
- package/dist/src/components/features-section-demo-2.js.map +1 -0
- package/dist/src/components/features-section-demo-3.d.ts +16 -0
- package/dist/src/components/features-section-demo-3.js +263 -0
- package/dist/src/components/features-section-demo-3.js.map +1 -0
- package/dist/src/components/mode-toggle.d.ts +7 -0
- package/dist/src/components/mode-toggle.js +46 -0
- package/dist/src/components/mode-toggle.js.map +1 -0
- package/dist/src/components/mode-toggle.mjs +1 -1
- package/dist/src/components/nav-main.d.mts +1 -1
- package/dist/src/components/nav-main.d.ts +21 -0
- package/dist/src/components/nav-main.js +37 -0
- package/dist/src/components/nav-main.js.map +1 -0
- package/dist/src/components/nav-main.mjs +1 -1
- package/dist/src/components/pricing-cards.d.ts +7 -0
- package/dist/src/components/pricing-cards.js +130 -0
- package/dist/src/components/pricing-cards.js.map +1 -0
- package/dist/src/components/pricing-cards.mjs +1 -1
- package/dist/src/components/shared/ButtonCopy.d.ts +17 -0
- package/dist/src/components/shared/ButtonCopy.js +37 -0
- package/dist/src/components/shared/ButtonCopy.js.map +1 -0
- package/dist/src/components/shared/ButtonCopy.mjs +2 -2
- package/dist/src/components/team-switcher.d.ts +16 -0
- package/dist/src/components/team-switcher.js +75 -0
- package/dist/src/components/team-switcher.js.map +1 -0
- package/dist/src/components/team-switcher.mjs +1 -1
- package/dist/src/components/theme-provider.d.ts +23 -0
- package/dist/src/components/theme-provider.js +48 -0
- package/dist/src/components/theme-provider.js.map +1 -0
- package/dist/src/components/typewriter.d.ts +39 -0
- package/dist/src/components/typewriter.js +50 -0
- package/dist/src/components/typewriter.js.map +1 -0
- package/dist/src/components/ui/alert-dialog.d.ts +49 -0
- package/dist/src/components/ui/alert-dialog.js +94 -0
- package/dist/src/components/ui/alert-dialog.js.map +1 -0
- package/dist/src/components/ui/alert.d.mts +1 -1
- package/dist/src/components/ui/alert.d.ts +25 -0
- package/dist/src/components/ui/alert.js +40 -0
- package/dist/src/components/ui/alert.js.map +1 -0
- package/dist/src/components/ui/alert.mjs +1 -1
- package/dist/src/components/ui/avatar.d.ts +10 -0
- package/dist/src/components/ui/avatar.js +34 -0
- package/dist/src/components/ui/avatar.js.map +1 -0
- package/dist/src/components/ui/badge.d.mts +2 -2
- package/dist/src/components/ui/badge.d.ts +18 -0
- package/dist/src/components/ui/badge.js +25 -0
- package/dist/src/components/ui/badge.js.map +1 -0
- package/dist/src/components/ui/badge.mjs +1 -1
- package/dist/src/components/ui/bento-grid.d.ts +26 -0
- package/dist/src/components/ui/bento-grid.js +35 -0
- package/dist/src/components/ui/bento-grid.js.map +1 -0
- package/dist/src/components/ui/bento-grid2.d.ts +31 -0
- package/dist/src/components/ui/bento-grid2.js +52 -0
- package/dist/src/components/ui/bento-grid2.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.d.ts +31 -0
- package/dist/src/components/ui/breadcrumb.js +72 -0
- package/dist/src/components/ui/breadcrumb.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.mjs +2 -2
- package/dist/src/components/ui/button.d.mts +1 -1
- package/dist/src/components/ui/button.d.ts +16 -0
- package/dist/src/components/ui/button.js +47 -0
- package/dist/src/components/ui/button.js.map +1 -0
- package/dist/src/components/ui/button.mjs +1 -1
- package/dist/src/components/ui/card.d.ts +12 -0
- package/dist/src/components/ui/card.js +52 -0
- package/dist/src/components/ui/card.js.map +1 -0
- package/dist/src/components/ui/checkbox.d.ts +8 -0
- package/dist/src/components/ui/checkbox.js +24 -0
- package/dist/src/components/ui/checkbox.js.map +1 -0
- package/dist/src/components/ui/checkbox.mjs +1 -1
- package/dist/src/components/ui/collapsible.d.ts +10 -0
- package/dist/src/components/ui/collapsible.js +14 -0
- package/dist/src/components/ui/collapsible.js.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +45 -0
- package/dist/src/components/ui/dialog.js +97 -0
- package/dist/src/components/ui/dialog.js.map +1 -0
- package/dist/src/components/ui/dialog.mjs +1 -1
- package/dist/src/components/ui/dropdown-menu.d.ts +35 -0
- package/dist/src/components/ui/dropdown-menu.js +100 -0
- package/dist/src/components/ui/dropdown-menu.js.map +1 -0
- package/dist/src/components/ui/dropdown-menu.mjs +1 -1
- package/dist/src/components/ui/floating-navbar.d.ts +18 -0
- package/dist/src/components/ui/floating-navbar.js +54 -0
- package/dist/src/components/ui/floating-navbar.js.map +1 -0
- package/dist/src/components/ui/form.d.mts +1 -1
- package/dist/src/components/ui/form.d.ts +32 -0
- package/dist/src/components/ui/form.js +102 -0
- package/dist/src/components/ui/form.js.map +1 -0
- package/dist/src/components/ui/form.mjs +1 -1
- package/dist/src/components/ui/image.d.ts +9 -0
- package/dist/src/components/ui/image.js +57 -0
- package/dist/src/components/ui/image.js.map +1 -0
- package/dist/src/components/ui/input.d.ts +7 -0
- package/dist/src/components/ui/input.js +20 -0
- package/dist/src/components/ui/input.js.map +1 -0
- package/dist/src/components/ui/label.d.ts +10 -0
- package/dist/src/components/ui/label.js +21 -0
- package/dist/src/components/ui/label.js.map +1 -0
- package/dist/src/components/ui/label.mjs +1 -1
- package/dist/src/components/ui/pagination.d.ts +40 -0
- package/dist/src/components/ui/pagination.js +87 -0
- package/dist/src/components/ui/pagination.js.map +1 -0
- package/dist/src/components/ui/pagination.mjs +1 -1
- package/dist/src/components/ui/progress.d.ts +8 -0
- package/dist/src/components/ui/progress.js +23 -0
- package/dist/src/components/ui/progress.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.d.ts +97 -0
- package/dist/src/components/ui/resizable-navbar.js +149 -0
- package/dist/src/components/ui/resizable-navbar.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.mjs +1 -1
- package/dist/src/components/ui/segment-control.d.ts +12 -0
- package/dist/src/components/ui/segment-control.js +89 -0
- package/dist/src/components/ui/segment-control.js.map +1 -0
- package/dist/src/components/ui/select.d.ts +17 -0
- package/dist/src/components/ui/select.js +88 -0
- package/dist/src/components/ui/select.js.map +1 -0
- package/dist/src/components/ui/select.mjs +1 -1
- package/dist/src/components/ui/separator.d.ts +8 -0
- package/dist/src/components/ui/separator.js +21 -0
- package/dist/src/components/ui/separator.js.map +1 -0
- package/dist/src/components/ui/sheet.d.mts +1 -1
- package/dist/src/components/ui/sheet.d.ts +36 -0
- package/dist/src/components/ui/sheet.js +79 -0
- package/dist/src/components/ui/sheet.js.map +1 -0
- package/dist/src/components/ui/sheet.mjs +2 -2
- package/dist/src/components/ui/sidebar.d.ts +73 -0
- package/dist/src/components/ui/sidebar.js +403 -0
- package/dist/src/components/ui/sidebar.js.map +1 -0
- package/dist/src/components/ui/sidebar.mjs +3 -3
- package/dist/src/components/ui/skeleton.d.ts +10 -0
- package/dist/src/components/ui/skeleton.js +15 -0
- package/dist/src/components/ui/skeleton.js.map +1 -0
- package/dist/src/components/ui/slider.d.ts +8 -0
- package/dist/src/components/ui/slider.js +23 -0
- package/dist/src/components/ui/slider.js.map +1 -0
- package/dist/src/components/ui/sonner.d.ts +11 -0
- package/dist/src/components/ui/sonner.js +24 -0
- package/dist/src/components/ui/sonner.js.map +1 -0
- package/dist/src/components/ui/spinner.d.mts +1 -1
- package/dist/src/components/ui/spinner.d.ts +25 -0
- package/dist/src/components/ui/spinner.js +32 -0
- package/dist/src/components/ui/spinner.js.map +1 -0
- package/dist/src/components/ui/spinner.mjs +1 -1
- package/dist/src/components/ui/switch.d.ts +8 -0
- package/dist/src/components/ui/switch.js +20 -0
- package/dist/src/components/ui/switch.js.map +1 -0
- package/dist/src/components/ui/table.d.ts +39 -0
- package/dist/src/components/ui/table.js +76 -0
- package/dist/src/components/ui/table.js.map +1 -0
- package/dist/src/components/ui/tabs.d.ts +24 -0
- package/dist/src/components/ui/tabs.js +42 -0
- package/dist/src/components/ui/tabs.js.map +1 -0
- package/dist/src/components/ui/textarea.d.ts +11 -0
- package/dist/src/components/ui/textarea.js +16 -0
- package/dist/src/components/ui/textarea.js.map +1 -0
- package/dist/src/components/ui/timeline.d.ts +18 -0
- package/dist/src/components/ui/timeline.js +92 -0
- package/dist/src/components/ui/timeline.js.map +1 -0
- package/dist/src/components/ui/toast.d.ts +20 -0
- package/dist/src/components/ui/toast.js +69 -0
- package/dist/src/components/ui/toast.js.map +1 -0
- package/dist/src/components/ui/toast.mjs +2 -2
- package/dist/src/components/ui/tooltip.d.ts +24 -0
- package/dist/src/components/ui/tooltip.js +42 -0
- package/dist/src/components/ui/tooltip.js.map +1 -0
- package/dist/src/components/ui/typewriter-effect.d.ts +30 -0
- package/dist/src/components/ui/typewriter-effect.js +109 -0
- package/dist/src/components/ui/typewriter-effect.js.map +1 -0
- package/dist/src/hooks/use-mobile.d.ts +5 -0
- package/dist/src/hooks/use-mobile.js +23 -0
- package/dist/src/hooks/use-mobile.js.map +1 -0
- package/dist/src/hooks/useDialog.d.ts +8 -0
- package/dist/src/hooks/useDialog.js +29 -0
- package/dist/src/hooks/useDialog.js.map +1 -0
- package/dist/src/icons/GoogleIcon.d.ts +9 -0
- package/dist/src/icons/GoogleIcon.js +35 -0
- package/dist/src/icons/GoogleIcon.js.map +1 -0
- package/dist/src/icons/LinkedInIcon.d.ts +9 -0
- package/dist/src/icons/LinkedInIcon.js +30 -0
- package/dist/src/icons/LinkedInIcon.js.map +1 -0
- package/dist/src/icons/MicrosoftIcon.d.ts +9 -0
- package/dist/src/icons/MicrosoftIcon.js +34 -0
- package/dist/src/icons/MicrosoftIcon.js.map +1 -0
- package/dist/src/lib/chatwoot.d.ts +20 -0
- package/dist/src/lib/chatwoot.js +27 -0
- package/dist/src/lib/chatwoot.js.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -0
- package/dist/src/lib/utils.js +12 -0
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.d.mts +1 -1
- package/dist/src/modules/app/components/AppLoader.d.ts +8 -0
- package/dist/src/modules/app/components/AppLoader.js +18 -0
- package/dist/src/modules/app/components/AppLoader.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.mjs +1 -1
- package/dist/src/modules/app/components/AppShell.d.ts +16 -0
- package/dist/src/modules/app/components/AppShell.js +18 -0
- package/dist/src/modules/app/components/AppShell.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebar.d.ts +17 -0
- package/dist/src/modules/app/components/AppSidebar.js +20 -0
- package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarContent.d.ts +25 -0
- package/dist/src/modules/app/components/AppSidebarContent.js +38 -0
- package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -0
- package/dist/src/modules/app/components/AppSidebarHeader.js +43 -0
- package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -0
- package/dist/src/modules/app/components/AppSidebarInvites.js +45 -0
- package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarInvites.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.d.ts +21 -0
- package/dist/src/modules/app/components/AppSidebarUser.js +127 -0
- package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarUser.mjs +1 -1
- package/dist/src/modules/auth/components/AdminUserManagement.d.ts +13 -0
- package/dist/src/modules/auth/components/AdminUserManagement.js +977 -0
- package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
- package/dist/src/modules/auth/components/AdminUserManagement.mjs +2 -2
- package/dist/src/modules/auth/components/AdminWaitlist.d.ts +13 -0
- package/dist/src/modules/auth/components/AdminWaitlist.js +289 -0
- package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
- package/dist/src/modules/auth/components/AdminWaitlist.mjs +2 -2
- package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -0
- package/dist/src/modules/auth/components/AuthLayout.js +21 -0
- package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -0
- package/dist/src/modules/auth/components/AuthProviders.js +86 -0
- package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.mjs +2 -2
- package/dist/src/modules/auth/components/AuthRouter.d.ts +18 -0
- package/dist/src/modules/auth/components/AuthRouter.js +50 -0
- package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +208 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +1 -1
- package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +131 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +5 -5
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +55 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +3 -3
- package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +39 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/InviteFriends.d.ts +13 -0
- package/dist/src/modules/auth/components/InviteFriends.js +282 -0
- package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
- package/dist/src/modules/auth/components/InviteFriends.mjs +2 -2
- package/dist/src/modules/auth/components/LastUsedBadge.d.mts +1 -1
- package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -0
- package/dist/src/modules/auth/components/LastUsedBadge.js +21 -0
- package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
- package/dist/src/modules/auth/components/LastUsedBadge.mjs +2 -2
- package/dist/src/modules/auth/components/LoginForm.d.ts +11 -0
- package/dist/src/modules/auth/components/LoginForm.js +113 -0
- package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
- package/dist/src/modules/auth/components/LoginForm.mjs +6 -6
- package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -0
- package/dist/src/modules/auth/components/LoginRoute.js +46 -0
- package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LoginRoute.mjs +5 -5
- package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/LogoutRoute.d.ts +6 -0
- package/dist/src/modules/auth/components/LogoutRoute.js +22 -0
- package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LogoutRoute.mjs +1 -1
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +22 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +114 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +61 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +460 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +3 -3
- package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +30 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.js +140 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +29 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +195 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +18 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +98 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +5 -5
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -1
- package/dist/src/modules/auth/components/PreferencesEditor.d.ts +49 -0
- package/dist/src/modules/auth/components/PreferencesEditor.js +87 -0
- package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
- package/dist/src/modules/auth/components/PreferencesEditor.mjs +1 -1
- package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ProfileRoute.js +87 -0
- package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ProfileRoute.mjs +3 -3
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +45 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +241 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.js +103 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs +5 -5
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +39 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +4 -4
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -0
- package/dist/src/modules/auth/components/SignupFormRoute.js +151 -0
- package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupFormRoute.mjs +3 -3
- package/dist/src/modules/auth/components/SignupRoute.d.ts +15 -0
- package/dist/src/modules/auth/components/SignupRoute.js +64 -0
- package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupRoute.mjs +4 -4
- package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/UserPreferences.d.ts +23 -0
- package/dist/src/modules/auth/components/UserPreferences.js +28 -0
- package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/UserPreferences.mjs +1 -1
- package/dist/src/modules/auth/components/WaitlistCard.d.ts +13 -0
- package/dist/src/modules/auth/components/WaitlistCard.js +69 -0
- package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCard.mjs +2 -2
- package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +15 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +47 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +2 -2
- package/dist/src/modules/billing/components/BillingBetaPage.d.ts +17 -0
- package/dist/src/modules/billing/components/BillingBetaPage.js +160 -0
- package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingBetaPage.mjs +1 -1
- package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +15 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.js +164 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.mjs +2 -2
- package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +13 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.js +13 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingRouter.d.ts +17 -0
- package/dist/src/modules/billing/components/BillingRouter.js +23 -0
- package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +18 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +169 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +5 -5
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -1
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +20 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +87 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +1 -1
- package/dist/src/modules/table/components/NuqsTable.d.mts +3 -1
- package/dist/src/modules/table/components/NuqsTable.d.ts +38 -0
- package/dist/src/modules/table/components/NuqsTable.js +345 -0
- package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
- package/dist/src/modules/table/components/NuqsTable.mjs +111 -76
- package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -1
- package/dist/src/modules/table/components/TableFiltering.d.ts +35 -0
- package/dist/src/modules/table/components/TableFiltering.js +420 -0
- package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
- package/dist/src/modules/table/components/TableFiltering.mjs +2 -2
- package/dist/src/modules/table/components/TableGroupBy.d.ts +22 -0
- package/dist/src/modules/table/components/TableGroupBy.js +60 -0
- package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
- package/dist/src/modules/table/components/TablePagination.d.ts +19 -0
- package/dist/src/modules/table/components/TablePagination.js +68 -0
- package/dist/src/modules/table/components/TablePagination.js.map +1 -0
- package/dist/src/modules/table/components/table.types.d.ts +17 -0
- package/dist/src/modules/table/components/table.types.js +0 -0
- package/dist/src/modules/table/filterTransformers.d.ts +58 -0
- package/dist/src/modules/table/filterTransformers.js +219 -0
- package/dist/src/modules/table/filterTransformers.js.map +1 -0
- package/dist/src/types.d.ts +8 -0
- package/dist/src/types.js +0 -0
- package/package.json +126 -36
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/modules/auth/components/OrganizationMembersRoute.d.ts
|
|
4
|
+
declare const ORGANIZATION_ROLES: readonly ["member", "admin", "owner"];
|
|
5
|
+
type OrganizationRole = (typeof ORGANIZATION_ROLES)[number];
|
|
6
|
+
type OrganizationMembersRouteLabels = {
|
|
7
|
+
loadError: string;
|
|
8
|
+
membersTitle: string;
|
|
9
|
+
membersNoActive: string;
|
|
10
|
+
membersManageOnly: string;
|
|
11
|
+
membersDescription: (organizationName: string) => string;
|
|
12
|
+
defaultOrganizationName: string;
|
|
13
|
+
loadMembersError: string;
|
|
14
|
+
loadInvitationsError: string;
|
|
15
|
+
roleUpdateSuccess: string;
|
|
16
|
+
roleUpdateError: string;
|
|
17
|
+
removeMemberSuccess: string;
|
|
18
|
+
removeMemberError: string;
|
|
19
|
+
emailRequired: string;
|
|
20
|
+
inviteSuccess: string;
|
|
21
|
+
inviteError: string;
|
|
22
|
+
cancelInvitationSuccess: string;
|
|
23
|
+
cancelInvitationError: string;
|
|
24
|
+
inviteLinkCopied: string;
|
|
25
|
+
copyInviteLinkError: string;
|
|
26
|
+
unknownName: string;
|
|
27
|
+
invitedUser: string;
|
|
28
|
+
emailLabel: string;
|
|
29
|
+
emailPlaceholder: string;
|
|
30
|
+
roleLabel: string;
|
|
31
|
+
inviteButton: string;
|
|
32
|
+
tableTitle: string;
|
|
33
|
+
columnName: string;
|
|
34
|
+
columnEmail: string;
|
|
35
|
+
columnRole: string;
|
|
36
|
+
columnStatus: string;
|
|
37
|
+
columnActions: string;
|
|
38
|
+
tableEmpty: string;
|
|
39
|
+
roleFor: (name: string) => string;
|
|
40
|
+
statusActive: string;
|
|
41
|
+
statusInvited: string;
|
|
42
|
+
removeMember: string;
|
|
43
|
+
copyInviteLink: string;
|
|
44
|
+
cancelInvitation: string;
|
|
45
|
+
roleUnknown: string;
|
|
46
|
+
};
|
|
47
|
+
type OrganizationMembersRouteProps = {
|
|
48
|
+
managerRoles?: string[];
|
|
49
|
+
assignableRoles?: OrganizationRole[];
|
|
50
|
+
invitationAcceptPath?: string;
|
|
51
|
+
onInvalidateScopedQueries?: () => void | Promise<void>;
|
|
52
|
+
};
|
|
53
|
+
declare function OrganizationMembersRoute({
|
|
54
|
+
managerRoles,
|
|
55
|
+
assignableRoles,
|
|
56
|
+
invitationAcceptPath,
|
|
57
|
+
onInvalidateScopedQueries
|
|
58
|
+
}: OrganizationMembersRouteProps): _$react_jsx_runtime0.JSX.Element;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { OrganizationMembersRoute, OrganizationMembersRouteLabels, OrganizationMembersRouteProps, OrganizationRole };
|
|
61
|
+
//# sourceMappingURL=OrganizationMembersRoute.d.ts.map
|
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
let react = require("react");
|
|
4
|
+
let _heroui_react = require("@heroui/react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let lucide_react = require("lucide-react");
|
|
7
|
+
let react_i18next = require("react-i18next");
|
|
8
|
+
let sonner = require("sonner");
|
|
9
|
+
let _tanstack_react_query = require("@tanstack/react-query");
|
|
10
|
+
let _m5kdev_frontend_modules_auth_auth_lib = require("@m5kdev/frontend/modules/auth/auth.lib");
|
|
11
|
+
let _m5kdev_frontend_modules_auth_hooks_useSession = require("@m5kdev/frontend/modules/auth/hooks/useSession");
|
|
12
|
+
//#region src/modules/auth/components/OrganizationMembersRoute.tsx
|
|
13
|
+
const ORGANIZATION_ROLES = [
|
|
14
|
+
"member",
|
|
15
|
+
"admin",
|
|
16
|
+
"owner"
|
|
17
|
+
];
|
|
18
|
+
function isOrganizationRole(role) {
|
|
19
|
+
return ORGANIZATION_ROLES.includes(role);
|
|
20
|
+
}
|
|
21
|
+
function OrganizationStateCard({ title, message }) {
|
|
22
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
23
|
+
className: "p-6",
|
|
24
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardHeader, {
|
|
25
|
+
className: "text-lg font-semibold",
|
|
26
|
+
children: title
|
|
27
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.CardBody, { children: message })] })
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function useOrganizationAccess({ managerRoles, onInvalidateScopedQueries }) {
|
|
31
|
+
const { data: session, registerSession } = (0, _m5kdev_frontend_modules_auth_hooks_useSession.useSession)();
|
|
32
|
+
const queryClient = (0, _tanstack_react_query.useQueryClient)();
|
|
33
|
+
const activeOrganizationId = session?.session.activeOrganizationId ?? "";
|
|
34
|
+
const activeOrganizationRole = (session?.session)?.activeOrganizationRole ?? "";
|
|
35
|
+
return {
|
|
36
|
+
activeOrganizationId,
|
|
37
|
+
activeOrganizationRole,
|
|
38
|
+
canManageOrganization: (0, react.useMemo)(() => new Set(managerRoles ?? ["admin", "owner"]), [managerRoles]).has(activeOrganizationRole),
|
|
39
|
+
refreshOrganizationQueries: (0, react.useCallback)(async () => {
|
|
40
|
+
await Promise.allSettled([
|
|
41
|
+
queryClient.invalidateQueries({ queryKey: ["auth-organization-list"] }),
|
|
42
|
+
queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] }),
|
|
43
|
+
queryClient.invalidateQueries({ queryKey: ["auth-organization-members", activeOrganizationId] }),
|
|
44
|
+
queryClient.invalidateQueries({ queryKey: ["auth-organization-invitations", activeOrganizationId] })
|
|
45
|
+
]);
|
|
46
|
+
registerSession(() => {
|
|
47
|
+
onInvalidateScopedQueries?.();
|
|
48
|
+
});
|
|
49
|
+
}, [
|
|
50
|
+
activeOrganizationId,
|
|
51
|
+
onInvalidateScopedQueries,
|
|
52
|
+
queryClient,
|
|
53
|
+
registerSession
|
|
54
|
+
])
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function useOrganizationConfig({ assignableRoles }) {
|
|
58
|
+
const { t } = (0, react_i18next.useTranslation)();
|
|
59
|
+
return {
|
|
60
|
+
resolvedLabels: (0, react.useMemo)(() => ({
|
|
61
|
+
loadError: t("web-ui:organization.members.loadError"),
|
|
62
|
+
membersTitle: t("web-ui:organization.members.title"),
|
|
63
|
+
membersNoActive: t("web-ui:organization.members.noActive"),
|
|
64
|
+
membersManageOnly: t("web-ui:organization.members.manageOnly"),
|
|
65
|
+
membersDescription: (organizationName) => t("web-ui:organization.members.description", { name: organizationName }),
|
|
66
|
+
defaultOrganizationName: t("web-ui:organization.members.defaultName"),
|
|
67
|
+
loadMembersError: t("web-ui:organization.members.loadMembersError"),
|
|
68
|
+
loadInvitationsError: t("web-ui:organization.members.loadInvitationsError"),
|
|
69
|
+
roleUpdateSuccess: t("web-ui:organization.members.roleUpdateSuccess"),
|
|
70
|
+
roleUpdateError: t("web-ui:organization.members.roleUpdateError"),
|
|
71
|
+
removeMemberSuccess: t("web-ui:organization.members.removeMemberSuccess"),
|
|
72
|
+
removeMemberError: t("web-ui:organization.members.removeMemberError"),
|
|
73
|
+
emailRequired: t("web-ui:organization.members.emailRequired"),
|
|
74
|
+
inviteSuccess: t("web-ui:organization.members.inviteSuccess"),
|
|
75
|
+
inviteError: t("web-ui:organization.members.inviteError"),
|
|
76
|
+
cancelInvitationSuccess: t("web-ui:organization.members.cancelInvitationSuccess"),
|
|
77
|
+
cancelInvitationError: t("web-ui:organization.members.cancelInvitationError"),
|
|
78
|
+
inviteLinkCopied: t("web-ui:organization.members.inviteLinkCopied"),
|
|
79
|
+
copyInviteLinkError: t("web-ui:organization.members.copyInviteLinkError"),
|
|
80
|
+
unknownName: t("web-ui:organization.members.unknownName"),
|
|
81
|
+
invitedUser: t("web-ui:organization.members.invitedUser"),
|
|
82
|
+
emailLabel: t("web-ui:organization.members.emailLabel"),
|
|
83
|
+
emailPlaceholder: t("web-ui:organization.members.emailPlaceholder"),
|
|
84
|
+
roleLabel: t("web-ui:organization.members.roleLabel"),
|
|
85
|
+
inviteButton: t("web-ui:organization.members.inviteButton"),
|
|
86
|
+
tableTitle: t("web-ui:organization.members.tableTitle"),
|
|
87
|
+
columnName: t("web-ui:organization.members.columnName"),
|
|
88
|
+
columnEmail: t("web-ui:organization.members.columnEmail"),
|
|
89
|
+
columnRole: t("web-ui:organization.members.columnRole"),
|
|
90
|
+
columnStatus: t("web-ui:organization.members.columnStatus"),
|
|
91
|
+
columnActions: t("web-ui:organization.members.columnActions"),
|
|
92
|
+
tableEmpty: t("web-ui:organization.members.tableEmpty"),
|
|
93
|
+
roleFor: (name) => t("web-ui:organization.members.roleFor", { name }),
|
|
94
|
+
statusActive: t("web-ui:organization.members.statusActive"),
|
|
95
|
+
statusInvited: t("web-ui:organization.members.statusInvited"),
|
|
96
|
+
removeMember: t("web-ui:organization.members.removeMember"),
|
|
97
|
+
copyInviteLink: t("web-ui:organization.members.copyInviteLink"),
|
|
98
|
+
cancelInvitation: t("web-ui:organization.members.cancelInvitation"),
|
|
99
|
+
roleUnknown: t("web-ui:organization.members.roleUnknown")
|
|
100
|
+
}), [t]),
|
|
101
|
+
resolvedRoleLabels: (0, react.useMemo)(() => ({
|
|
102
|
+
member: t("web-ui:organization.roles.member"),
|
|
103
|
+
admin: t("web-ui:organization.roles.admin"),
|
|
104
|
+
owner: t("web-ui:organization.roles.owner")
|
|
105
|
+
}), [t]),
|
|
106
|
+
resolvedAssignableRoles: (0, react.useMemo)(() => assignableRoles && assignableRoles.length > 0 ? assignableRoles : [...ORGANIZATION_ROLES], [assignableRoles])
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function OrganizationMembersRoute({ managerRoles, assignableRoles, invitationAcceptPath, onInvalidateScopedQueries }) {
|
|
110
|
+
const { resolvedLabels, resolvedRoleLabels, resolvedAssignableRoles } = useOrganizationConfig({ assignableRoles });
|
|
111
|
+
const { activeOrganizationId, activeOrganizationRole, canManageOrganization, refreshOrganizationQueries } = useOrganizationAccess({
|
|
112
|
+
managerRoles,
|
|
113
|
+
onInvalidateScopedQueries
|
|
114
|
+
});
|
|
115
|
+
const [inviteEmail, setInviteEmail] = (0, react.useState)("");
|
|
116
|
+
const [inviteRole, setInviteRole] = (0, react.useState)(resolvedAssignableRoles[0] ?? "member");
|
|
117
|
+
const isMountedRef = (0, react.useRef)(true);
|
|
118
|
+
(0, react.useEffect)(() => {
|
|
119
|
+
return () => {
|
|
120
|
+
isMountedRef.current = false;
|
|
121
|
+
};
|
|
122
|
+
}, []);
|
|
123
|
+
const refreshOrganizationQueriesStable = (0, react.useCallback)(() => refreshOrganizationQueries(), [refreshOrganizationQueries]);
|
|
124
|
+
const updateRoleMutation = (0, _tanstack_react_query.useMutation)({
|
|
125
|
+
mutationFn: async ({ memberId, role, organizationId }) => {
|
|
126
|
+
const { error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.updateMemberRole({
|
|
127
|
+
memberId,
|
|
128
|
+
role,
|
|
129
|
+
organizationId
|
|
130
|
+
});
|
|
131
|
+
if (error) throw new Error(error.message ?? resolvedLabels.roleUpdateError);
|
|
132
|
+
},
|
|
133
|
+
onSuccess: async () => {
|
|
134
|
+
await refreshOrganizationQueriesStable();
|
|
135
|
+
sonner.toast.success(resolvedLabels.roleUpdateSuccess);
|
|
136
|
+
},
|
|
137
|
+
onError: (error) => {
|
|
138
|
+
sonner.toast.error(error instanceof Error ? error.message : resolvedLabels.roleUpdateError);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
const removeMemberMutation = (0, _tanstack_react_query.useMutation)({
|
|
142
|
+
mutationFn: async ({ memberId, organizationId }) => {
|
|
143
|
+
const { error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.removeMember({
|
|
144
|
+
memberIdOrEmail: memberId,
|
|
145
|
+
organizationId
|
|
146
|
+
});
|
|
147
|
+
if (error) throw new Error(error.message ?? resolvedLabels.removeMemberError);
|
|
148
|
+
},
|
|
149
|
+
onSuccess: async () => {
|
|
150
|
+
await refreshOrganizationQueriesStable();
|
|
151
|
+
sonner.toast.success(resolvedLabels.removeMemberSuccess);
|
|
152
|
+
},
|
|
153
|
+
onError: (error) => {
|
|
154
|
+
sonner.toast.error(error instanceof Error ? error.message : resolvedLabels.removeMemberError);
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
const createInvitationMutation = (0, _tanstack_react_query.useMutation)({
|
|
158
|
+
mutationFn: async ({ email, role, organizationId }) => {
|
|
159
|
+
const { error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.inviteMember({
|
|
160
|
+
organizationId,
|
|
161
|
+
email: email.trim(),
|
|
162
|
+
role
|
|
163
|
+
});
|
|
164
|
+
if (error) throw new Error(error.message ?? resolvedLabels.inviteError);
|
|
165
|
+
},
|
|
166
|
+
onSuccess: async () => {
|
|
167
|
+
await refreshOrganizationQueriesStable();
|
|
168
|
+
sonner.toast.success(resolvedLabels.inviteSuccess);
|
|
169
|
+
if (isMountedRef.current) {
|
|
170
|
+
setInviteEmail("");
|
|
171
|
+
setInviteRole(resolvedAssignableRoles[0] ?? "member");
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
onError: (error) => {
|
|
175
|
+
sonner.toast.error(error instanceof Error ? error.message : resolvedLabels.inviteError);
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
const cancelInvitationMutation = (0, _tanstack_react_query.useMutation)({
|
|
179
|
+
mutationFn: async ({ invitationId }) => {
|
|
180
|
+
const { error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.cancelInvitation({ invitationId });
|
|
181
|
+
if (error) throw new Error(error.message ?? resolvedLabels.cancelInvitationError);
|
|
182
|
+
},
|
|
183
|
+
onSuccess: async () => {
|
|
184
|
+
await refreshOrganizationQueriesStable();
|
|
185
|
+
sonner.toast.success(resolvedLabels.cancelInvitationSuccess);
|
|
186
|
+
},
|
|
187
|
+
onError: (error) => {
|
|
188
|
+
sonner.toast.error(error instanceof Error ? error.message : resolvedLabels.cancelInvitationError);
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
const updatingMemberId = updateRoleMutation.isPending && updateRoleMutation.variables ? updateRoleMutation.variables.memberId : null;
|
|
192
|
+
const removingMemberId = removeMemberMutation.isPending && removeMemberMutation.variables ? removeMemberMutation.variables.memberId : null;
|
|
193
|
+
const cancelingInvitationId = cancelInvitationMutation.isPending && cancelInvitationMutation.variables ? cancelInvitationMutation.variables.invitationId : null;
|
|
194
|
+
(0, react.useEffect)(() => {
|
|
195
|
+
if (!resolvedAssignableRoles.includes(inviteRole)) setInviteRole(resolvedAssignableRoles[0] ?? "member");
|
|
196
|
+
}, [inviteRole, resolvedAssignableRoles]);
|
|
197
|
+
const organizationQuery = (0, _tanstack_react_query.useQuery)({
|
|
198
|
+
queryKey: ["auth-organization-details", activeOrganizationId],
|
|
199
|
+
enabled: Boolean(activeOrganizationId && canManageOrganization),
|
|
200
|
+
queryFn: async () => {
|
|
201
|
+
const { data, error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.getFullOrganization({ query: {
|
|
202
|
+
organizationId: activeOrganizationId,
|
|
203
|
+
membersLimit: 200
|
|
204
|
+
} });
|
|
205
|
+
if (error) throw new Error(error.message ?? resolvedLabels.loadError);
|
|
206
|
+
return data;
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
const membersQuery = (0, _tanstack_react_query.useQuery)({
|
|
210
|
+
queryKey: ["auth-organization-members", activeOrganizationId],
|
|
211
|
+
enabled: Boolean(activeOrganizationId && canManageOrganization),
|
|
212
|
+
queryFn: async () => {
|
|
213
|
+
const { data, error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.listMembers({ query: {
|
|
214
|
+
organizationId: activeOrganizationId,
|
|
215
|
+
limit: 200,
|
|
216
|
+
offset: 0
|
|
217
|
+
} });
|
|
218
|
+
if (error) throw new Error(error.message ?? resolvedLabels.loadMembersError);
|
|
219
|
+
return data?.members ?? [];
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
const invitationsQuery = (0, _tanstack_react_query.useQuery)({
|
|
223
|
+
queryKey: ["auth-organization-invitations", activeOrganizationId],
|
|
224
|
+
enabled: Boolean(activeOrganizationId && canManageOrganization),
|
|
225
|
+
queryFn: async () => {
|
|
226
|
+
const { data, error } = await _m5kdev_frontend_modules_auth_auth_lib.authClient.organization.listInvitations({ query: { organizationId: activeOrganizationId } });
|
|
227
|
+
if (error) throw new Error(error.message ?? resolvedLabels.loadInvitationsError);
|
|
228
|
+
return data ?? [];
|
|
229
|
+
}
|
|
230
|
+
});
|
|
231
|
+
const members = membersQuery.data ?? [];
|
|
232
|
+
const invitations = invitationsQuery.data ?? [];
|
|
233
|
+
const rows = (0, react.useMemo)(() => {
|
|
234
|
+
const memberRows = members.map((member) => ({
|
|
235
|
+
kind: "member",
|
|
236
|
+
id: `member-${member.id}`,
|
|
237
|
+
displayName: member.user?.name || resolvedLabels.unknownName,
|
|
238
|
+
email: member.user?.email || "-",
|
|
239
|
+
role: member.role,
|
|
240
|
+
status: "active",
|
|
241
|
+
memberId: member.id
|
|
242
|
+
}));
|
|
243
|
+
const invitationRows = invitations.map((invitation) => ({
|
|
244
|
+
kind: "invitation",
|
|
245
|
+
id: `invitation-${invitation.id}`,
|
|
246
|
+
displayName: resolvedLabels.invitedUser,
|
|
247
|
+
email: invitation.email,
|
|
248
|
+
role: invitation.role,
|
|
249
|
+
status: "invited",
|
|
250
|
+
invitationId: invitation.id
|
|
251
|
+
}));
|
|
252
|
+
return [...memberRows, ...invitationRows].sort((left, right) => {
|
|
253
|
+
if (left.status === right.status) return left.email.localeCompare(right.email);
|
|
254
|
+
return left.status === "active" ? -1 : 1;
|
|
255
|
+
});
|
|
256
|
+
}, [
|
|
257
|
+
invitations,
|
|
258
|
+
members,
|
|
259
|
+
resolvedLabels.invitedUser,
|
|
260
|
+
resolvedLabels.unknownName
|
|
261
|
+
]);
|
|
262
|
+
const onUpdateMemberRole = (0, react.useCallback)((memberId, role) => {
|
|
263
|
+
if (!canManageOrganization || !activeOrganizationId) return;
|
|
264
|
+
updateRoleMutation.mutate({
|
|
265
|
+
memberId,
|
|
266
|
+
role,
|
|
267
|
+
organizationId: activeOrganizationId
|
|
268
|
+
});
|
|
269
|
+
}, [
|
|
270
|
+
canManageOrganization,
|
|
271
|
+
activeOrganizationId,
|
|
272
|
+
updateRoleMutation
|
|
273
|
+
]);
|
|
274
|
+
const onRemoveMember = (0, react.useCallback)((memberId) => {
|
|
275
|
+
if (!canManageOrganization || !activeOrganizationId) return;
|
|
276
|
+
removeMemberMutation.mutate({
|
|
277
|
+
memberId,
|
|
278
|
+
organizationId: activeOrganizationId
|
|
279
|
+
});
|
|
280
|
+
}, [
|
|
281
|
+
canManageOrganization,
|
|
282
|
+
activeOrganizationId,
|
|
283
|
+
removeMemberMutation
|
|
284
|
+
]);
|
|
285
|
+
const onCreateInvitation = (0, react.useCallback)(() => {
|
|
286
|
+
if (!canManageOrganization || !activeOrganizationId) return;
|
|
287
|
+
if (!inviteEmail.trim()) {
|
|
288
|
+
sonner.toast.error(resolvedLabels.emailRequired);
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
createInvitationMutation.mutate({
|
|
292
|
+
email: inviteEmail,
|
|
293
|
+
role: inviteRole,
|
|
294
|
+
organizationId: activeOrganizationId
|
|
295
|
+
});
|
|
296
|
+
}, [
|
|
297
|
+
canManageOrganization,
|
|
298
|
+
activeOrganizationId,
|
|
299
|
+
inviteEmail,
|
|
300
|
+
inviteRole,
|
|
301
|
+
resolvedLabels.emailRequired,
|
|
302
|
+
createInvitationMutation
|
|
303
|
+
]);
|
|
304
|
+
const onCancelInvitation = (0, react.useCallback)((invitationId) => {
|
|
305
|
+
if (!canManageOrganization) return;
|
|
306
|
+
cancelInvitationMutation.mutate({ invitationId });
|
|
307
|
+
}, [canManageOrganization, cancelInvitationMutation]);
|
|
308
|
+
const invitationLinkBase = (0, react.useMemo)(() => {
|
|
309
|
+
const invitationPath = invitationAcceptPath ?? "/organization/accept-invitation";
|
|
310
|
+
if (/^https?:\/\//i.test(invitationPath)) return `${invitationPath}?id=`;
|
|
311
|
+
return typeof window === "undefined" ? `${invitationPath}?id=` : `${window.location.origin}${invitationPath}?id=`;
|
|
312
|
+
}, [invitationAcceptPath]);
|
|
313
|
+
const onCopyInvitationLink = async (invitationId) => {
|
|
314
|
+
try {
|
|
315
|
+
await navigator.clipboard.writeText(`${invitationLinkBase}${invitationId}`);
|
|
316
|
+
sonner.toast.success(resolvedLabels.inviteLinkCopied);
|
|
317
|
+
} catch {
|
|
318
|
+
sonner.toast.error(resolvedLabels.copyInviteLinkError);
|
|
319
|
+
}
|
|
320
|
+
};
|
|
321
|
+
const getRoleLabel = (role) => resolvedRoleLabels[role] ?? resolvedLabels.roleUnknown;
|
|
322
|
+
if (!activeOrganizationId) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OrganizationStateCard, {
|
|
323
|
+
title: resolvedLabels.membersTitle,
|
|
324
|
+
message: resolvedLabels.membersNoActive
|
|
325
|
+
});
|
|
326
|
+
if (!canManageOrganization) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OrganizationStateCard, {
|
|
327
|
+
title: resolvedLabels.membersTitle,
|
|
328
|
+
message: resolvedLabels.membersManageOnly
|
|
329
|
+
});
|
|
330
|
+
if (organizationQuery.isLoading || membersQuery.isLoading || invitationsQuery.isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
331
|
+
className: "p-6 flex justify-center",
|
|
332
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Spinner, {})
|
|
333
|
+
});
|
|
334
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
335
|
+
className: "p-6 space-y-6",
|
|
336
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Card, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardHeader, {
|
|
337
|
+
className: "flex items-center justify-between",
|
|
338
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
339
|
+
className: "flex items-center gap-2",
|
|
340
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Users, { className: "h-4 w-4" }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
341
|
+
className: "flex flex-col",
|
|
342
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
343
|
+
className: "text-lg font-semibold",
|
|
344
|
+
children: resolvedLabels.membersTitle
|
|
345
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
346
|
+
className: "text-sm text-default-500",
|
|
347
|
+
children: resolvedLabels.membersDescription(organizationQuery.data?.name ?? resolvedLabels.defaultOrganizationName)
|
|
348
|
+
})]
|
|
349
|
+
})]
|
|
350
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Chip, {
|
|
351
|
+
variant: "flat",
|
|
352
|
+
color: "primary",
|
|
353
|
+
children: getRoleLabel(activeOrganizationRole || "member")
|
|
354
|
+
})]
|
|
355
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.CardBody, {
|
|
356
|
+
className: "space-y-4",
|
|
357
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
358
|
+
className: "grid gap-3 md:grid-cols-[1fr_160px_auto]",
|
|
359
|
+
children: [
|
|
360
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Input, {
|
|
361
|
+
type: "email",
|
|
362
|
+
label: resolvedLabels.emailLabel,
|
|
363
|
+
value: inviteEmail,
|
|
364
|
+
onValueChange: setInviteEmail,
|
|
365
|
+
placeholder: resolvedLabels.emailPlaceholder
|
|
366
|
+
}),
|
|
367
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Select, {
|
|
368
|
+
label: resolvedLabels.roleLabel,
|
|
369
|
+
selectedKeys: [inviteRole],
|
|
370
|
+
disallowEmptySelection: true,
|
|
371
|
+
onSelectionChange: (keys) => {
|
|
372
|
+
const role = Array.from(keys)[0];
|
|
373
|
+
if (role && isOrganizationRole(role) && resolvedAssignableRoles.includes(role)) setInviteRole(role);
|
|
374
|
+
},
|
|
375
|
+
children: resolvedAssignableRoles.map((role) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.SelectItem, { children: getRoleLabel(role) }, role))
|
|
376
|
+
}),
|
|
377
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
378
|
+
color: "primary",
|
|
379
|
+
startContent: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.UserPlus, { className: "h-4 w-4" }),
|
|
380
|
+
onPress: onCreateInvitation,
|
|
381
|
+
isLoading: createInvitationMutation.isPending,
|
|
382
|
+
children: resolvedLabels.inviteButton
|
|
383
|
+
})
|
|
384
|
+
]
|
|
385
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.Table, {
|
|
386
|
+
"aria-label": resolvedLabels.tableTitle,
|
|
387
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.TableHeader, { children: [
|
|
388
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: resolvedLabels.columnName }),
|
|
389
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: resolvedLabels.columnEmail }),
|
|
390
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: resolvedLabels.columnRole }),
|
|
391
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, { children: resolvedLabels.columnStatus }),
|
|
392
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableColumn, {
|
|
393
|
+
className: "text-right",
|
|
394
|
+
children: resolvedLabels.columnActions
|
|
395
|
+
})
|
|
396
|
+
] }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableBody, {
|
|
397
|
+
emptyContent: resolvedLabels.tableEmpty,
|
|
398
|
+
children: rows.map((row) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_heroui_react.TableRow, { children: [
|
|
399
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: row.displayName }),
|
|
400
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: row.email }),
|
|
401
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: row.kind === "member" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Select, {
|
|
402
|
+
size: "sm",
|
|
403
|
+
selectedKeys: [row.role],
|
|
404
|
+
disallowEmptySelection: true,
|
|
405
|
+
isDisabled: updatingMemberId === row.memberId,
|
|
406
|
+
"aria-label": resolvedLabels.roleFor(row.displayName),
|
|
407
|
+
onSelectionChange: (keys) => {
|
|
408
|
+
const role = Array.from(keys)[0];
|
|
409
|
+
if (role && role !== row.role && isOrganizationRole(role) && resolvedAssignableRoles.includes(role)) onUpdateMemberRole(row.memberId, role);
|
|
410
|
+
},
|
|
411
|
+
children: resolvedAssignableRoles.map((role) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.SelectItem, { children: getRoleLabel(role) }, role))
|
|
412
|
+
}) : getRoleLabel(row.role) }),
|
|
413
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Chip, {
|
|
414
|
+
size: "sm",
|
|
415
|
+
variant: "flat",
|
|
416
|
+
color: row.status === "active" ? "success" : "warning",
|
|
417
|
+
children: row.status === "active" ? resolvedLabels.statusActive : resolvedLabels.statusInvited
|
|
418
|
+
}) }),
|
|
419
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.TableCell, {
|
|
420
|
+
className: "text-right",
|
|
421
|
+
children: row.kind === "member" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
422
|
+
size: "sm",
|
|
423
|
+
color: "danger",
|
|
424
|
+
variant: "light",
|
|
425
|
+
isIconOnly: true,
|
|
426
|
+
onPress: () => void onRemoveMember(row.memberId),
|
|
427
|
+
isDisabled: removingMemberId === row.memberId,
|
|
428
|
+
"aria-label": resolvedLabels.removeMember,
|
|
429
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Trash2, { className: "h-4 w-4" })
|
|
430
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
431
|
+
className: "flex justify-end gap-2",
|
|
432
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
433
|
+
size: "sm",
|
|
434
|
+
variant: "light",
|
|
435
|
+
isIconOnly: true,
|
|
436
|
+
onPress: () => void onCopyInvitationLink(row.invitationId),
|
|
437
|
+
"aria-label": resolvedLabels.copyInviteLink,
|
|
438
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Copy, { className: "h-4 w-4" })
|
|
439
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_heroui_react.Button, {
|
|
440
|
+
size: "sm",
|
|
441
|
+
color: "danger",
|
|
442
|
+
variant: "light",
|
|
443
|
+
isIconOnly: true,
|
|
444
|
+
onPress: () => void onCancelInvitation(row.invitationId),
|
|
445
|
+
isDisabled: cancelingInvitationId === row.invitationId,
|
|
446
|
+
"aria-label": resolvedLabels.cancelInvitation,
|
|
447
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Trash2, { className: "h-4 w-4" })
|
|
448
|
+
})]
|
|
449
|
+
})
|
|
450
|
+
})
|
|
451
|
+
] }, row.id))
|
|
452
|
+
})]
|
|
453
|
+
})]
|
|
454
|
+
})] })
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
//#endregion
|
|
458
|
+
exports.OrganizationMembersRoute = OrganizationMembersRoute;
|
|
459
|
+
|
|
460
|
+
//# sourceMappingURL=OrganizationMembersRoute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganizationMembersRoute.js","names":["Card","CardHeader","CardBody","authClient","Spinner","Users","Chip","Input","Select","SelectItem","Button","UserPlus","Table","TableHeader","TableColumn","TableBody","TableRow","TableCell","Trash2","Copy"],"sources":["../../../../../src/modules/auth/components/OrganizationMembersRoute.tsx"],"sourcesContent":["import {\r\n Button,\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n Chip,\r\n Input,\r\n Select,\r\n SelectItem,\r\n Spinner,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableColumn,\r\n TableHeader,\r\n TableRow,\r\n} from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useMutation, useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { Copy, Trash2, UserPlus, Users } from \"lucide-react\";\r\nimport { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\ntype OrganizationMember = {\r\n id: string;\r\n userId: string;\r\n role: string;\r\n user: {\r\n id: string;\r\n name: string;\r\n email: string;\r\n image?: string | null;\r\n };\r\n};\r\n\r\ntype OrganizationInvitation = {\r\n id: string;\r\n organizationId: string;\r\n email: string;\r\n role: string;\r\n status: string;\r\n inviterId: string;\r\n createdAt: Date | string;\r\n expiresAt: Date | string;\r\n};\r\n\r\ntype CombinedMemberRow =\r\n | {\r\n kind: \"member\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"active\";\r\n memberId: string;\r\n }\r\n | {\r\n kind: \"invitation\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"invited\";\r\n invitationId: string;\r\n };\r\n\r\nconst ORGANIZATION_ROLES = [\"member\", \"admin\", \"owner\"] as const;\r\n\r\nexport type OrganizationRole = (typeof ORGANIZATION_ROLES)[number];\r\n\r\nfunction isOrganizationRole(role: string): role is OrganizationRole {\r\n return (ORGANIZATION_ROLES as readonly string[]).includes(role);\r\n}\r\n\r\nexport type OrganizationMembersRouteLabels = {\r\n loadError: string;\r\n membersTitle: string;\r\n membersNoActive: string;\r\n membersManageOnly: string;\r\n membersDescription: (organizationName: string) => string;\r\n defaultOrganizationName: string;\r\n loadMembersError: string;\r\n loadInvitationsError: string;\r\n roleUpdateSuccess: string;\r\n roleUpdateError: string;\r\n removeMemberSuccess: string;\r\n removeMemberError: string;\r\n emailRequired: string;\r\n inviteSuccess: string;\r\n inviteError: string;\r\n cancelInvitationSuccess: string;\r\n cancelInvitationError: string;\r\n inviteLinkCopied: string;\r\n copyInviteLinkError: string;\r\n unknownName: string;\r\n invitedUser: string;\r\n emailLabel: string;\r\n emailPlaceholder: string;\r\n roleLabel: string;\r\n inviteButton: string;\r\n tableTitle: string;\r\n columnName: string;\r\n columnEmail: string;\r\n columnRole: string;\r\n columnStatus: string;\r\n columnActions: string;\r\n tableEmpty: string;\r\n roleFor: (name: string) => string;\r\n statusActive: string;\r\n statusInvited: string;\r\n removeMember: string;\r\n copyInviteLink: string;\r\n cancelInvitation: string;\r\n roleUnknown: string;\r\n};\r\n\r\nexport type OrganizationMembersRouteProps = {\r\n managerRoles?: string[];\r\n assignableRoles?: OrganizationRole[];\r\n invitationAcceptPath?: string;\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationMembersRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig({\r\n assignableRoles,\r\n}: Pick<OrganizationMembersRouteProps, \"assignableRoles\">) {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationMembersRouteLabels>(\r\n () => ({\r\n loadError: t(\"web-ui:organization.members.loadError\"),\r\n membersTitle: t(\"web-ui:organization.members.title\"),\r\n membersNoActive: t(\"web-ui:organization.members.noActive\"),\r\n membersManageOnly: t(\"web-ui:organization.members.manageOnly\"),\r\n membersDescription: (organizationName: string) =>\r\n t(\"web-ui:organization.members.description\", { name: organizationName }),\r\n defaultOrganizationName: t(\"web-ui:organization.members.defaultName\"),\r\n loadMembersError: t(\"web-ui:organization.members.loadMembersError\"),\r\n loadInvitationsError: t(\"web-ui:organization.members.loadInvitationsError\"),\r\n roleUpdateSuccess: t(\"web-ui:organization.members.roleUpdateSuccess\"),\r\n roleUpdateError: t(\"web-ui:organization.members.roleUpdateError\"),\r\n removeMemberSuccess: t(\"web-ui:organization.members.removeMemberSuccess\"),\r\n removeMemberError: t(\"web-ui:organization.members.removeMemberError\"),\r\n emailRequired: t(\"web-ui:organization.members.emailRequired\"),\r\n inviteSuccess: t(\"web-ui:organization.members.inviteSuccess\"),\r\n inviteError: t(\"web-ui:organization.members.inviteError\"),\r\n cancelInvitationSuccess: t(\"web-ui:organization.members.cancelInvitationSuccess\"),\r\n cancelInvitationError: t(\"web-ui:organization.members.cancelInvitationError\"),\r\n inviteLinkCopied: t(\"web-ui:organization.members.inviteLinkCopied\"),\r\n copyInviteLinkError: t(\"web-ui:organization.members.copyInviteLinkError\"),\r\n unknownName: t(\"web-ui:organization.members.unknownName\"),\r\n invitedUser: t(\"web-ui:organization.members.invitedUser\"),\r\n emailLabel: t(\"web-ui:organization.members.emailLabel\"),\r\n emailPlaceholder: t(\"web-ui:organization.members.emailPlaceholder\"),\r\n roleLabel: t(\"web-ui:organization.members.roleLabel\"),\r\n inviteButton: t(\"web-ui:organization.members.inviteButton\"),\r\n tableTitle: t(\"web-ui:organization.members.tableTitle\"),\r\n columnName: t(\"web-ui:organization.members.columnName\"),\r\n columnEmail: t(\"web-ui:organization.members.columnEmail\"),\r\n columnRole: t(\"web-ui:organization.members.columnRole\"),\r\n columnStatus: t(\"web-ui:organization.members.columnStatus\"),\r\n columnActions: t(\"web-ui:organization.members.columnActions\"),\r\n tableEmpty: t(\"web-ui:organization.members.tableEmpty\"),\r\n roleFor: (name: string) => t(\"web-ui:organization.members.roleFor\", { name }),\r\n statusActive: t(\"web-ui:organization.members.statusActive\"),\r\n statusInvited: t(\"web-ui:organization.members.statusInvited\"),\r\n removeMember: t(\"web-ui:organization.members.removeMember\"),\r\n copyInviteLink: t(\"web-ui:organization.members.copyInviteLink\"),\r\n cancelInvitation: t(\"web-ui:organization.members.cancelInvitation\"),\r\n roleUnknown: t(\"web-ui:organization.members.roleUnknown\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const resolvedAssignableRoles = useMemo(\r\n () =>\r\n assignableRoles && assignableRoles.length > 0 ? assignableRoles : [...ORGANIZATION_ROLES],\r\n [assignableRoles]\r\n );\r\n\r\n return {\r\n resolvedLabels: translatedLabels,\r\n resolvedRoleLabels: translatedRoleLabels,\r\n resolvedAssignableRoles,\r\n };\r\n}\r\n\r\nexport function OrganizationMembersRoute({\r\n managerRoles,\r\n assignableRoles,\r\n invitationAcceptPath,\r\n onInvalidateScopedQueries,\r\n}: OrganizationMembersRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels, resolvedAssignableRoles } = useOrganizationConfig({\r\n assignableRoles,\r\n });\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [inviteEmail, setInviteEmail] = useState(\"\");\r\n const [inviteRole, setInviteRole] = useState<OrganizationRole>(\r\n resolvedAssignableRoles[0] ?? \"member\"\r\n );\r\n const isMountedRef = useRef(true);\r\n useEffect(() => {\r\n return () => {\r\n isMountedRef.current = false;\r\n };\r\n }, []);\r\n\r\n const refreshOrganizationQueriesStable = useCallback(\r\n () => refreshOrganizationQueries(),\r\n [refreshOrganizationQueries]\r\n );\r\n\r\n const updateRoleMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n role,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.updateMemberRole({\r\n memberId,\r\n role,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.roleUpdateError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.roleUpdateSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.roleUpdateError);\r\n },\r\n });\r\n\r\n const removeMemberMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.removeMember({\r\n memberIdOrEmail: memberId,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.removeMemberError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.removeMemberSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.removeMemberError);\r\n },\r\n });\r\n\r\n const createInvitationMutation = useMutation({\r\n mutationFn: async ({\r\n email,\r\n role,\r\n organizationId,\r\n }: {\r\n email: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.inviteMember({\r\n organizationId,\r\n email: email.trim(),\r\n role,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.inviteError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.inviteSuccess);\r\n if (isMountedRef.current) {\r\n setInviteEmail(\"\");\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.inviteError);\r\n },\r\n });\r\n\r\n const cancelInvitationMutation = useMutation({\r\n mutationFn: async ({ invitationId }: { invitationId: string }) => {\r\n const { error } = await authClient.organization.cancelInvitation({ invitationId });\r\n if (error) throw new Error(error.message ?? resolvedLabels.cancelInvitationError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.cancelInvitationSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.cancelInvitationError);\r\n },\r\n });\r\n\r\n const updatingMemberId =\r\n updateRoleMutation.isPending && updateRoleMutation.variables\r\n ? updateRoleMutation.variables.memberId\r\n : null;\r\n const removingMemberId =\r\n removeMemberMutation.isPending && removeMemberMutation.variables\r\n ? removeMemberMutation.variables.memberId\r\n : null;\r\n const cancelingInvitationId =\r\n cancelInvitationMutation.isPending && cancelInvitationMutation.variables\r\n ? cancelInvitationMutation.variables.invitationId\r\n : null;\r\n\r\n useEffect(() => {\r\n if (!resolvedAssignableRoles.includes(inviteRole)) {\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n }, [inviteRole, resolvedAssignableRoles]);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n const membersQuery = useQuery({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listMembers({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n limit: 200,\r\n offset: 0,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadMembersError);\r\n }\r\n return ((data as { members: OrganizationMember[] } | null)?.members ??\r\n []) as OrganizationMember[];\r\n },\r\n });\r\n\r\n const invitationsQuery = useQuery({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listInvitations({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadInvitationsError);\r\n }\r\n return (data ?? []) as OrganizationInvitation[];\r\n },\r\n });\r\n\r\n const members = membersQuery.data ?? [];\r\n const invitations = invitationsQuery.data ?? [];\r\n\r\n const rows = useMemo<CombinedMemberRow[]>(() => {\r\n const memberRows: CombinedMemberRow[] = members.map((member) => ({\r\n kind: \"member\",\r\n id: `member-${member.id}`,\r\n displayName: member.user?.name || resolvedLabels.unknownName,\r\n email: member.user?.email || \"-\",\r\n role: member.role,\r\n status: \"active\",\r\n memberId: member.id,\r\n }));\r\n\r\n const invitationRows: CombinedMemberRow[] = invitations.map((invitation) => ({\r\n kind: \"invitation\",\r\n id: `invitation-${invitation.id}`,\r\n displayName: resolvedLabels.invitedUser,\r\n email: invitation.email,\r\n role: invitation.role,\r\n status: \"invited\",\r\n invitationId: invitation.id,\r\n }));\r\n\r\n return [...memberRows, ...invitationRows].sort((left, right) => {\r\n if (left.status === right.status) {\r\n return left.email.localeCompare(right.email);\r\n }\r\n return left.status === \"active\" ? -1 : 1;\r\n });\r\n }, [invitations, members, resolvedLabels.invitedUser, resolvedLabels.unknownName]);\r\n\r\n const onUpdateMemberRole = useCallback(\r\n (memberId: string, role: OrganizationRole) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n updateRoleMutation.mutate({ memberId, role, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, updateRoleMutation]\r\n );\r\n\r\n const onRemoveMember = useCallback(\r\n (memberId: string) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n removeMemberMutation.mutate({ memberId, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, removeMemberMutation]\r\n );\r\n\r\n const onCreateInvitation = useCallback(() => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n if (!inviteEmail.trim()) {\r\n toast.error(resolvedLabels.emailRequired);\r\n return;\r\n }\r\n createInvitationMutation.mutate({\r\n email: inviteEmail,\r\n role: inviteRole,\r\n organizationId: activeOrganizationId,\r\n });\r\n }, [\r\n canManageOrganization,\r\n activeOrganizationId,\r\n inviteEmail,\r\n inviteRole,\r\n resolvedLabels.emailRequired,\r\n createInvitationMutation,\r\n ]);\r\n\r\n const onCancelInvitation = useCallback(\r\n (invitationId: string) => {\r\n if (!canManageOrganization) return;\r\n cancelInvitationMutation.mutate({ invitationId });\r\n },\r\n [canManageOrganization, cancelInvitationMutation]\r\n );\r\n\r\n const invitationLinkBase = useMemo(() => {\r\n const invitationPath = invitationAcceptPath ?? \"/organization/accept-invitation\";\r\n if (/^https?:\\/\\//i.test(invitationPath)) {\r\n return `${invitationPath}?id=`;\r\n }\r\n return typeof window === \"undefined\"\r\n ? `${invitationPath}?id=`\r\n : `${window.location.origin}${invitationPath}?id=`;\r\n }, [invitationAcceptPath]);\r\n\r\n const onCopyInvitationLink = async (invitationId: string) => {\r\n try {\r\n await navigator.clipboard.writeText(`${invitationLinkBase}${invitationId}`);\r\n toast.success(resolvedLabels.inviteLinkCopied);\r\n } catch {\r\n toast.error(resolvedLabels.copyInviteLinkError);\r\n }\r\n };\r\n\r\n const getRoleLabel = (role: string) => resolvedRoleLabels[role] ?? resolvedLabels.roleUnknown;\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading || membersQuery.isLoading || invitationsQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6 space-y-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex items-center gap-2\">\r\n <Users className=\"h-4 w-4\" />\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-lg font-semibold\">{resolvedLabels.membersTitle}</h2>\r\n <p className=\"text-sm text-default-500\">\r\n {resolvedLabels.membersDescription(\r\n organizationQuery.data?.name ?? resolvedLabels.defaultOrganizationName\r\n )}\r\n </p>\r\n </div>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {getRoleLabel(activeOrganizationRole || \"member\")}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"space-y-4\">\r\n <div className=\"grid gap-3 md:grid-cols-[1fr_160px_auto]\">\r\n <Input\r\n type=\"email\"\r\n label={resolvedLabels.emailLabel}\r\n value={inviteEmail}\r\n onValueChange={setInviteEmail}\r\n placeholder={resolvedLabels.emailPlaceholder}\r\n />\r\n <Select\r\n label={resolvedLabels.roleLabel}\r\n selectedKeys={[inviteRole]}\r\n disallowEmptySelection\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (role && isOrganizationRole(role) && resolvedAssignableRoles.includes(role)) {\r\n setInviteRole(role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n <Button\r\n color=\"primary\"\r\n startContent={<UserPlus className=\"h-4 w-4\" />}\r\n onPress={onCreateInvitation}\r\n isLoading={createInvitationMutation.isPending}\r\n >\r\n {resolvedLabels.inviteButton}\r\n </Button>\r\n </div>\r\n\r\n <Table aria-label={resolvedLabels.tableTitle}>\r\n <TableHeader>\r\n <TableColumn>{resolvedLabels.columnName}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnEmail}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnRole}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnStatus}</TableColumn>\r\n <TableColumn className=\"text-right\">{resolvedLabels.columnActions}</TableColumn>\r\n </TableHeader>\r\n <TableBody emptyContent={resolvedLabels.tableEmpty}>\r\n {rows.map((row) => (\r\n <TableRow key={row.id}>\r\n <TableCell>{row.displayName}</TableCell>\r\n <TableCell>{row.email}</TableCell>\r\n <TableCell>\r\n {row.kind === \"member\" ? (\r\n <Select\r\n size=\"sm\"\r\n selectedKeys={[row.role]}\r\n disallowEmptySelection\r\n isDisabled={updatingMemberId === row.memberId}\r\n aria-label={resolvedLabels.roleFor(row.displayName)}\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (\r\n role &&\r\n role !== row.role &&\r\n isOrganizationRole(role) &&\r\n resolvedAssignableRoles.includes(role)\r\n ) {\r\n void onUpdateMemberRole(row.memberId, role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n ) : (\r\n getRoleLabel(row.role)\r\n )}\r\n </TableCell>\r\n <TableCell>\r\n <Chip\r\n size=\"sm\"\r\n variant=\"flat\"\r\n color={row.status === \"active\" ? \"success\" : \"warning\"}\r\n >\r\n {row.status === \"active\"\r\n ? resolvedLabels.statusActive\r\n : resolvedLabels.statusInvited}\r\n </Chip>\r\n </TableCell>\r\n <TableCell className=\"text-right\">\r\n {row.kind === \"member\" ? (\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onRemoveMember(row.memberId)}\r\n isDisabled={removingMemberId === row.memberId}\r\n aria-label={resolvedLabels.removeMember}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n ) : (\r\n <div className=\"flex justify-end gap-2\">\r\n <Button\r\n size=\"sm\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCopyInvitationLink(row.invitationId)}\r\n aria-label={resolvedLabels.copyInviteLink}\r\n >\r\n <Copy className=\"h-4 w-4\" />\r\n </Button>\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCancelInvitation(row.invitationId)}\r\n isDisabled={cancelingInvitationId === row.invitationId}\r\n aria-label={resolvedLabels.cancelInvitation}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n </div>\r\n )}\r\n </TableCell>\r\n </TableRow>\r\n ))}\r\n </TableBody>\r\n </Table>\r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QACvB,CAAA,GAET,iBAAA,GAAA,kBAAA,MAAC,OAAD;QAAK,WAAU;kBAAf,CACE,iBAAA,GAAA,kBAAA,KAACR,cAAAA,QAAD;SACE,MAAK;SACL,SAAQ;SACR,YAAA;SACA,eAAe,KAAK,qBAAqB,IAAI,aAAa;SAC1D,cAAY,eAAe;mBAE3B,iBAAA,GAAA,kBAAA,KAACS,aAAAA,MAAD,EAAM,WAAU,WAAY,CAAA;SACrB,CAAA,EACT,iBAAA,GAAA,kBAAA,KAACT,cAAAA,QAAD;SACE,MAAK;SACL,OAAM;SACN,SAAQ;SACR,YAAA;SACA,eAAe,KAAK,mBAAmB,IAAI,aAAa;SACxD,YAAY,0BAA0B,IAAI;SAC1C,cAAY,eAAe;mBAE3B,iBAAA,GAAA,kBAAA,KAACQ,aAAAA,QAAD,EAAQ,WAAU,WAAY,CAAA;SACvB,CAAA,CACL;;OAEE,CAAA;MACH,EAAA,EAhFI,IAAI,GAgFR,CACX;KACQ,CAAA,CACN;MACC;KACN,EAAA,CAAA;EACH,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Copy, Trash2, UserPlus, Users } from "lucide-react";
|
|
2
1
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
2
|
import { Button, Card, CardBody, CardHeader, Chip, Input, Select, SelectItem, Spinner, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow } from "@heroui/react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Copy, Trash2, UserPlus, Users } from "lucide-react";
|
|
5
|
+
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { toast } from "sonner";
|
|
7
7
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
8
8
|
import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseBackendTRPC } from "../../../types.js";
|
|
2
|
+
import { ControlsFor, PreferenceEditorLabels } from "./PreferencesEditor.js";
|
|
3
|
+
import { ReactElement } from "react";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
|
|
6
|
+
//#region src/modules/auth/components/OrganizationPreferences.d.ts
|
|
7
|
+
type OrganizationPreferenceLabels = PreferenceEditorLabels & {
|
|
8
|
+
noActiveOrganization: string;
|
|
9
|
+
loadError: string;
|
|
10
|
+
};
|
|
11
|
+
type OrganizationPreferencesTarget = "preferences" | "flags";
|
|
12
|
+
type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {
|
|
13
|
+
useTRPC: UseBackendTRPC;
|
|
14
|
+
schema: S;
|
|
15
|
+
controls: ControlsFor<z.infer<S>>;
|
|
16
|
+
target?: OrganizationPreferencesTarget;
|
|
17
|
+
labels?: Partial<OrganizationPreferenceLabels>;
|
|
18
|
+
onInvalidateScopedQueries?: () => void | Promise<void>;
|
|
19
|
+
};
|
|
20
|
+
declare function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({
|
|
21
|
+
useTRPC,
|
|
22
|
+
schema,
|
|
23
|
+
controls,
|
|
24
|
+
target,
|
|
25
|
+
labels,
|
|
26
|
+
onInvalidateScopedQueries
|
|
27
|
+
}: OrganizationPreferencesProps<S>): ReactElement;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { OrganizationPreferences, OrganizationPreferencesProps, OrganizationPreferencesTarget };
|
|
30
|
+
//# sourceMappingURL=OrganizationPreferences.d.ts.map
|