@m5kdev/web-ui 0.7.0 → 0.8.2
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 +13 -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.ts +126 -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.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 -2
- package/dist/src/animations/card.motion.js +25 -6
- package/dist/src/animations/card.motion.js.map +1 -0
- package/dist/src/components/AvatarUpload.d.ts +14 -5
- package/dist/src/components/AvatarUpload.js +104 -62
- package/dist/src/components/AvatarUpload.js.map +1 -0
- package/dist/src/components/Button.d.ts +14 -4
- package/dist/src/components/Button.js +13 -4
- package/dist/src/components/Button.js.map +1 -0
- package/dist/src/components/Calendar.d.ts +33 -31
- package/dist/src/components/Calendar.js +14 -6
- package/dist/src/components/Calendar.js.map +1 -0
- package/dist/src/components/{Calendar.css → Calendar2.css} +757 -684
- package/dist/src/components/CardsSelect.d.ts +25 -21
- package/dist/src/components/CardsSelect.js +75 -42
- package/dist/src/components/CardsSelect.js.map +1 -0
- package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -9
- package/dist/src/components/CollapsibleSidebarMenuItem.js +31 -8
- package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
- package/dist/src/components/ColorPicker.d.ts +15 -4
- package/dist/src/components/ColorPicker.js +46 -16
- package/dist/src/components/ColorPicker.js.map +1 -0
- package/dist/src/components/CopyButton.d.ts +18 -6
- package/dist/src/components/CopyButton.js +28 -19
- package/dist/src/components/CopyButton.js.map +1 -0
- package/dist/src/components/CropDialog.d.ts +20 -8
- package/dist/src/components/CropDialog.js +107 -61
- package/dist/src/components/CropDialog.js.map +1 -0
- package/dist/src/components/DialogProvider.d.ts +22 -14
- package/dist/src/components/DialogProvider.js +67 -45
- package/dist/src/components/DialogProvider.js.map +1 -0
- package/dist/src/components/ErrorFallback.d.ts +13 -4
- package/dist/src/components/ErrorFallback.js +29 -4
- package/dist/src/components/ErrorFallback.js.map +1 -0
- package/dist/src/components/FileDropzone.d.ts +12 -4
- package/dist/src/components/FileDropzone.js +97 -59
- package/dist/src/components/FileDropzone.js.map +1 -0
- package/dist/src/components/MultiSelectDropdown.d.ts +25 -22
- package/dist/src/components/MultiSelectDropdown.js +99 -49
- package/dist/src/components/MultiSelectDropdown.js.map +1 -0
- package/dist/src/components/Orb.d.ts +17 -6
- package/dist/src/components/Orb.js +263 -255
- package/dist/src/components/Orb.js.map +1 -0
- package/dist/src/components/PageAlert.d.ts +20 -15
- package/dist/src/components/PageAlert.js +67 -39
- package/dist/src/components/PageAlert.js.map +1 -0
- package/dist/src/components/SelectChips.d.ts +21 -10
- package/dist/src/components/SelectChips.js +21 -9
- package/dist/src/components/SelectChips.js.map +1 -0
- package/dist/src/components/SidebarItem.d.ts +18 -7
- package/dist/src/components/SidebarItem.js +16 -4
- package/dist/src/components/SidebarItem.js.map +1 -0
- package/dist/src/components/Steps.d.ts +21 -16
- package/dist/src/components/Steps.js +193 -27
- package/dist/src/components/Steps.js.map +1 -0
- package/dist/src/components/TablerIconPicker.d.ts +13 -2
- package/dist/src/components/TablerIconPicker.js +4254 -4234
- package/dist/src/components/TablerIconPicker.js.map +1 -0
- package/dist/src/components/app-header.d.ts +14 -6
- package/dist/src/components/app-header.js +28 -7
- package/dist/src/components/app-header.js.map +1 -0
- package/dist/src/components/blur-card.d.ts +25 -11
- package/dist/src/components/blur-card.js +134 -31
- package/dist/src/components/blur-card.js.map +1 -0
- package/dist/src/components/features-section-demo-1.d.ts +22 -6
- package/dist/src/components/features-section-demo-1.js +119 -47
- package/dist/src/components/features-section-demo-1.js.map +1 -0
- package/dist/src/components/features-section-demo-2.d.ts +7 -1
- package/dist/src/components/features-section-demo-2.js +80 -49
- package/dist/src/components/features-section-demo-2.js.map +1 -0
- package/dist/src/components/features-section-demo-3.d.ts +16 -8
- package/dist/src/components/features-section-demo-3.js +239 -103
- package/dist/src/components/features-section-demo-3.js.map +1 -0
- package/dist/src/components/mode-toggle.d.ts +7 -1
- package/dist/src/components/mode-toggle.js +42 -7
- package/dist/src/components/mode-toggle.js.map +1 -0
- package/dist/src/components/nav-main.d.ts +20 -12
- package/dist/src/components/nav-main.js +31 -5
- package/dist/src/components/nav-main.js.map +1 -0
- package/dist/src/components/pricing-cards.d.ts +7 -1
- package/dist/src/components/pricing-cards.js +125 -24
- package/dist/src/components/pricing-cards.js.map +1 -0
- package/dist/src/components/shared/ButtonCopy.d.ts +17 -6
- package/dist/src/components/shared/ButtonCopy.js +30 -19
- package/dist/src/components/shared/ButtonCopy.js.map +1 -0
- package/dist/src/components/team-switcher.d.ts +16 -8
- package/dist/src/components/team-switcher.js +70 -8
- package/dist/src/components/team-switcher.js.map +1 -0
- package/dist/src/components/theme-provider.d.ts +18 -8
- package/dist/src/components/theme-provider.js +42 -38
- package/dist/src/components/theme-provider.js.map +1 -0
- package/dist/src/components/typewriter.d.ts +35 -14
- package/dist/src/components/typewriter.js +45 -36
- package/dist/src/components/typewriter.js.map +1 -0
- package/dist/src/components/ui/alert-dialog.d.ts +48 -13
- package/dist/src/components/ui/alert-dialog.js +58 -15
- package/dist/src/components/ui/alert-dialog.js.map +1 -0
- package/dist/src/components/ui/alert.d.ts +24 -8
- package/dist/src/components/ui/alert.js +28 -15
- package/dist/src/components/ui/alert.js.map +1 -0
- package/dist/src/components/ui/avatar.d.ts +9 -5
- package/dist/src/components/ui/avatar.js +23 -7
- package/dist/src/components/ui/avatar.js.map +1 -0
- package/dist/src/components/ui/badge.d.ts +17 -8
- package/dist/src/components/ui/badge.js +17 -14
- package/dist/src/components/ui/badge.js.map +1 -0
- package/dist/src/components/ui/bento-grid.d.ts +26 -11
- package/dist/src/components/ui/bento-grid.js +30 -6
- package/dist/src/components/ui/bento-grid.js.map +1 -0
- package/dist/src/components/ui/bento-grid2.d.ts +30 -14
- package/dist/src/components/ui/bento-grid2.js +45 -9
- package/dist/src/components/ui/bento-grid2.js.map +1 -0
- package/dist/src/components/ui/breadcrumb.d.ts +27 -15
- package/dist/src/components/ui/breadcrumb.js +54 -14
- package/dist/src/components/ui/breadcrumb.js.map +1 -0
- package/dist/src/components/ui/button.d.ts +14 -9
- package/dist/src/components/ui/button.js +37 -26
- package/dist/src/components/ui/button.js.map +1 -0
- package/dist/src/components/ui/card.d.ts +12 -8
- package/dist/src/components/ui/card.js +38 -10
- package/dist/src/components/ui/card.js.map +1 -0
- package/dist/src/components/ui/checkbox.d.ts +6 -2
- package/dist/src/components/ui/checkbox.js +17 -5
- package/dist/src/components/ui/checkbox.js.map +1 -0
- package/dist/src/components/ui/collapsible.d.ts +9 -4
- package/dist/src/components/ui/collapsible.js +5 -1
- package/dist/src/components/ui/collapsible.js.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +44 -12
- package/dist/src/components/ui/dialog.js +64 -14
- package/dist/src/components/ui/dialog.js.map +1 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +32 -24
- package/dist/src/components/ui/dropdown-menu.js +64 -14
- package/dist/src/components/ui/dropdown-menu.js.map +1 -0
- package/dist/src/components/ui/floating-navbar.d.ts +18 -9
- package/dist/src/components/ui/floating-navbar.js +49 -35
- package/dist/src/components/ui/floating-navbar.js.map +1 -0
- package/dist/src/components/ui/form.d.ts +30 -21
- package/dist/src/components/ui/form.js +76 -44
- package/dist/src/components/ui/form.js.map +1 -0
- package/dist/src/components/ui/image.d.ts +6 -2
- package/dist/src/components/ui/image.js +51 -11
- package/dist/src/components/ui/image.js.map +1 -0
- package/dist/src/components/ui/input.d.ts +6 -2
- package/dist/src/components/ui/input.js +14 -5
- package/dist/src/components/ui/input.js.map +1 -0
- package/dist/src/components/ui/label.d.ts +8 -3
- package/dist/src/components/ui/label.js +13 -5
- package/dist/src/components/ui/label.js.map +1 -0
- package/dist/src/components/ui/pagination.d.ts +39 -12
- package/dist/src/components/ui/pagination.js +64 -14
- package/dist/src/components/ui/pagination.js.map +1 -0
- package/dist/src/components/ui/progress.d.ts +6 -2
- package/dist/src/components/ui/progress.js +16 -4
- package/dist/src/components/ui/progress.js.map +1 -0
- package/dist/src/components/ui/resizable-navbar.d.ts +84 -43
- package/dist/src/components/ui/resizable-navbar.js +126 -74
- package/dist/src/components/ui/resizable-navbar.js.map +1 -0
- package/dist/src/components/ui/segment-control.d.ts +10 -7
- package/dist/src/components/ui/segment-control.js +83 -38
- package/dist/src/components/ui/segment-control.js.map +1 -0
- package/dist/src/components/ui/select.d.ts +16 -12
- package/dist/src/components/ui/select.js +63 -14
- package/dist/src/components/ui/select.js.map +1 -0
- package/dist/src/components/ui/separator.d.ts +6 -2
- package/dist/src/components/ui/separator.js +14 -4
- package/dist/src/components/ui/separator.js.map +1 -0
- package/dist/src/components/ui/sheet.d.ts +30 -19
- package/dist/src/components/ui/sheet.js +52 -23
- package/dist/src/components/ui/sheet.js.map +1 -0
- package/dist/src/components/ui/sidebar.d.ts +69 -62
- package/dist/src/components/ui/sidebar.js +326 -171
- package/dist/src/components/ui/sidebar.js.map +1 -0
- package/dist/src/components/ui/skeleton.d.ts +9 -1
- package/dist/src/components/ui/skeleton.js +10 -3
- package/dist/src/components/ui/skeleton.js.map +1 -0
- package/dist/src/components/ui/slider.d.ts +6 -2
- package/dist/src/components/ui/slider.js +16 -4
- package/dist/src/components/ui/slider.js.map +1 -0
- package/dist/src/components/ui/sonner.d.ts +10 -3
- package/dist/src/components/ui/sonner.js +18 -11
- package/dist/src/components/ui/sonner.js.map +1 -0
- package/dist/src/components/ui/spinner.d.ts +21 -10
- package/dist/src/components/ui/spinner.js +24 -24
- package/dist/src/components/ui/spinner.js.map +1 -0
- package/dist/src/components/ui/switch.d.ts +6 -2
- package/dist/src/components/ui/switch.js +13 -4
- package/dist/src/components/ui/switch.js.map +1 -0
- package/dist/src/components/ui/table.d.ts +39 -10
- package/dist/src/components/ui/table.js +51 -11
- package/dist/src/components/ui/table.js.map +1 -0
- package/dist/src/components/ui/tabs.d.ts +23 -6
- package/dist/src/components/ui/tabs.js +27 -7
- package/dist/src/components/ui/tabs.js.map +1 -0
- package/dist/src/components/ui/textarea.d.ts +10 -2
- package/dist/src/components/ui/textarea.js +11 -3
- package/dist/src/components/ui/textarea.js.map +1 -0
- package/dist/src/components/ui/timeline.d.ts +16 -9
- package/dist/src/components/ui/timeline.js +87 -24
- package/dist/src/components/ui/timeline.js.map +1 -0
- package/dist/src/components/ui/toast.d.ts +19 -14
- package/dist/src/components/ui/toast.js +48 -22
- package/dist/src/components/ui/toast.js.map +1 -0
- package/dist/src/components/ui/tooltip.d.ts +23 -6
- package/dist/src/components/ui/tooltip.js +27 -7
- package/dist/src/components/ui/tooltip.js.map +1 -0
- package/dist/src/components/ui/typewriter-effect.d.ts +28 -14
- package/dist/src/components/ui/typewriter-effect.js +102 -72
- package/dist/src/components/ui/typewriter-effect.js.map +1 -0
- package/dist/src/hooks/use-mobile.d.ts +5 -1
- package/dist/src/hooks/use-mobile.js +18 -13
- package/dist/src/hooks/use-mobile.js.map +1 -0
- package/dist/src/hooks/useDialog.d.ts +8 -4
- package/dist/src/hooks/useDialog.js +24 -20
- package/dist/src/hooks/useDialog.js.map +1 -0
- package/dist/src/icons/GoogleIcon.d.ts +9 -5
- package/dist/src/icons/GoogleIcon.js +32 -3
- package/dist/src/icons/GoogleIcon.js.map +1 -0
- package/dist/src/icons/LinkedInIcon.d.ts +9 -5
- package/dist/src/icons/LinkedInIcon.js +27 -3
- package/dist/src/icons/LinkedInIcon.js.map +1 -0
- package/dist/src/icons/MicrosoftIcon.d.ts +9 -5
- package/dist/src/icons/MicrosoftIcon.js +31 -3
- package/dist/src/icons/MicrosoftIcon.js.map +1 -0
- package/dist/src/lib/chatwoot.d.ts +19 -10
- package/dist/src/lib/chatwoot.js +25 -27
- package/dist/src/lib/chatwoot.js.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -2
- package/dist/src/lib/utils.js +7 -2
- package/dist/src/lib/utils.js.map +1 -0
- package/dist/src/modules/app/components/AppLoader.d.ts +8 -2
- package/dist/src/modules/app/components/AppLoader.js +14 -3
- package/dist/src/modules/app/components/AppLoader.js.map +1 -0
- package/dist/src/modules/app/components/AppShell.d.ts +15 -6
- package/dist/src/modules/app/components/AppShell.js +14 -5
- package/dist/src/modules/app/components/AppShell.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebar.d.ts +16 -6
- package/dist/src/modules/app/components/AppSidebar.js +17 -4
- package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarContent.d.ts +22 -13
- package/dist/src/modules/app/components/AppSidebarContent.js +34 -5
- package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -8
- package/dist/src/modules/app/components/AppSidebarHeader.js +37 -6
- package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -3
- package/dist/src/modules/app/components/AppSidebarInvites.js +39 -8
- package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
- package/dist/src/modules/app/components/AppSidebarUser.d.ts +20 -10
- package/dist/src/modules/app/components/AppSidebarUser.js +121 -12
- package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
- package/dist/src/modules/auth/components/AdminUserManagement.d.ts +11 -4
- package/dist/src/modules/auth/components/AdminUserManagement.js +970 -418
- package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
- package/dist/src/modules/auth/components/AdminWaitlist.d.ts +11 -4
- package/dist/src/modules/auth/components/AdminWaitlist.js +283 -114
- package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
- package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -4
- package/dist/src/modules/auth/components/AuthLayout.js +17 -3
- package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
- package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -6
- package/dist/src/modules/auth/components/AuthProviders.js +81 -42
- package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
- package/dist/src/modules/auth/components/AuthRouter.d.ts +16 -7
- package/dist/src/modules/auth/components/AuthRouter.js +46 -10
- package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
- package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -4
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +202 -139
- package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +125 -89
- package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +49 -23
- package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +34 -6
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/InviteFriends.d.ts +12 -4
- package/dist/src/modules/auth/components/InviteFriends.js +275 -69
- package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
- package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -5
- package/dist/src/modules/auth/components/LastUsedBadge.js +17 -7
- package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
- package/dist/src/modules/auth/components/LoginForm.d.ts +11 -3
- package/dist/src/modules/auth/components/LoginForm.js +107 -40
- package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
- package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -3
- package/dist/src/modules/auth/components/LoginRoute.js +41 -8
- package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
- package/dist/src/modules/auth/components/LogoutRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/LogoutRoute.js +18 -12
- package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +21 -8
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +107 -97
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +58 -48
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +447 -348
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +27 -16
- package/dist/src/modules/auth/components/OrganizationPreferences.js +129 -124
- package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +27 -18
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +184 -144
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
- package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +17 -6
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +90 -68
- package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
- package/dist/src/modules/auth/components/PreferencesEditor.d.ts +44 -33
- package/dist/src/modules/auth/components/PreferencesEditor.js +82 -58
- package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
- package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ProfileRoute.js +79 -36
- package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +44 -30
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +234 -242
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -1
- package/dist/src/modules/auth/components/ResetPasswordForm.js +97 -35
- package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
- package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +34 -6
- package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -5
- package/dist/src/modules/auth/components/SignupFormRoute.js +142 -99
- package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
- package/dist/src/modules/auth/components/SignupRoute.d.ts +13 -5
- package/dist/src/modules/auth/components/SignupRoute.js +59 -13
- package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
- package/dist/src/modules/auth/components/UserPreferences.d.ts +22 -11
- package/dist/src/modules/auth/components/UserPreferences.js +24 -12
- package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCard.d.ts +11 -4
- package/dist/src/modules/auth/components/WaitlistCard.js +63 -28
- package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
- package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +13 -5
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +42 -40
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
- package/dist/src/modules/billing/components/BillingBetaPage.d.ts +15 -6
- package/dist/src/modules/billing/components/BillingBetaPage.js +155 -8
- package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +13 -5
- package/dist/src/modules/billing/components/BillingInvoicePage.js +159 -29
- package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
- package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +11 -4
- package/dist/src/modules/billing/components/BillingPlanSelect.js +10 -7
- package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
- package/dist/src/modules/billing/components/BillingRouter.d.ts +15 -7
- package/dist/src/modules/billing/components/BillingRouter.js +19 -6
- package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +17 -7
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +162 -41
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +18 -8
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +81 -38
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
- package/dist/src/modules/table/components/NuqsTable.d.ts +33 -21
- package/dist/src/modules/table/components/NuqsTable.js +295 -221
- package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
- package/dist/src/modules/table/components/TableFiltering.d.ts +33 -21
- package/dist/src/modules/table/components/TableFiltering.js +407 -225
- package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
- package/dist/src/modules/table/components/TableGroupBy.d.ts +18 -8
- package/dist/src/modules/table/components/TableGroupBy.js +56 -16
- package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
- package/dist/src/modules/table/components/TablePagination.d.ts +17 -7
- package/dist/src/modules/table/components/TablePagination.js +64 -32
- package/dist/src/modules/table/components/TablePagination.js.map +1 -0
- package/dist/src/modules/table/components/table.types.d.ts +15 -10
- package/dist/src/modules/table/components/table.types.js +0 -1
- package/dist/src/modules/table/filterTransformers.d.ts +35 -30
- package/dist/src/modules/table/filterTransformers.js +198 -261
- package/dist/src/modules/table/filterTransformers.js.map +1 -0
- package/dist/src/types.d.ts +8 -3
- package/dist/src/types.js +0 -1
- package/package.json +38 -36
- package/dist/translations/en/web-ui.json +0 -209
- package/dist/tsconfig.lib.tsbuildinfo +0 -1
|
@@ -1,422 +1,974 @@
|
|
|
1
|
-
import { jsx
|
|
2
|
-
import {
|
|
3
|
-
import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
|
|
4
|
-
import * as authAdmin from "@m5kdev/frontend/modules/auth/hooks/useAuthAdmin";
|
|
5
|
-
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
6
|
-
import { BarChart3, CalendarClock, ChevronDown, ChevronUp, Copy, Filter, Info, Link2, List, MoreHorizontal, Search, UserPlus, X, } from "lucide-react";
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { BarChart3, CalendarClock, ChevronDown, ChevronUp, Copy, Filter, Info, Link2, List, MoreHorizontal, Search, UserPlus, X } from "lucide-react";
|
|
7
3
|
import { useCallback, useEffect, useId, useState } from "react";
|
|
8
4
|
import { useNavigate } from "react-router";
|
|
5
|
+
import { Button, Dropdown, DropdownItem, DropdownMenu, DropdownTrigger, Input, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader, Select, SelectItem, Spinner, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow, Tooltip } from "@heroui/react";
|
|
9
6
|
import { toast } from "sonner";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
7
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
8
|
+
import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
|
|
9
|
+
import * as authAdmin from "@m5kdev/frontend/modules/auth/hooks/useAuthAdmin";
|
|
10
|
+
//#region src/modules/auth/components/AdminUserManagement.tsx
|
|
11
|
+
function AdminUserManagement({ useTRPC }) {
|
|
12
|
+
const banReasonInputId = useId();
|
|
13
|
+
const customDurationId = useId();
|
|
14
|
+
const nameInputId = useId();
|
|
15
|
+
const emailInputId = useId();
|
|
16
|
+
const passwordInputId = useId();
|
|
17
|
+
const roleSelectId = useId();
|
|
18
|
+
const [page, setPage] = useState(0);
|
|
19
|
+
const [limit] = useState(10);
|
|
20
|
+
const [userToDelete, setUserToDelete] = useState(null);
|
|
21
|
+
const [userToBan, setUserToBan] = useState(null);
|
|
22
|
+
const [banReason, setBanReason] = useState("");
|
|
23
|
+
const [banExpiry, setBanExpiry] = useState("never");
|
|
24
|
+
const [customBanDays, setCustomBanDays] = useState(1);
|
|
25
|
+
const [isBanningUser, setIsBanningUser] = useState(false);
|
|
26
|
+
const [isUnbanningUser, setIsUnbanningUser] = useState({});
|
|
27
|
+
const [isImpersonatingUser, setIsImpersonatingUser] = useState(false);
|
|
28
|
+
const [searchQuery, setSearchQuery] = useState("");
|
|
29
|
+
const [statusFilter, setStatusFilter] = useState("all");
|
|
30
|
+
const [sortField, setSortField] = useState("createdAt");
|
|
31
|
+
const [sortOrder, setSortOrder] = useState("desc");
|
|
32
|
+
const [debouncedSearchQuery, setDebouncedSearchQuery] = useState("");
|
|
33
|
+
const [isCreateUserModalOpen, setIsCreateUserModalOpen] = useState(false);
|
|
34
|
+
const [newUserData, setNewUserData] = useState({
|
|
35
|
+
name: "",
|
|
36
|
+
email: "",
|
|
37
|
+
password: "",
|
|
38
|
+
role: "user"
|
|
39
|
+
});
|
|
40
|
+
const [isCreatingUser, setIsCreatingUser] = useState(false);
|
|
41
|
+
const [userForUsage, setUserForUsage] = useState(null);
|
|
42
|
+
const [userForMagicLink, setUserForMagicLink] = useState(null);
|
|
43
|
+
const [claimEmail, setClaimEmail] = useState("");
|
|
44
|
+
const [generatedMagicLink, setGeneratedMagicLink] = useState(null);
|
|
45
|
+
const [isGeneratingMagicLink, setIsGeneratingMagicLink] = useState(false);
|
|
46
|
+
const navigate = useNavigate();
|
|
47
|
+
const magicLinkEmailInputId = useId();
|
|
48
|
+
const generatedMagicLinkInputId = useId();
|
|
49
|
+
const trpc = useTRPC?.();
|
|
50
|
+
const queryClient = useQueryClient();
|
|
51
|
+
const usageQueryEnabled = !!userForUsage && !!trpc;
|
|
52
|
+
const usageQueryOptions = trpc?.ai.getUserUsage.queryOptions({ userId: userForUsage?.id ?? "" });
|
|
53
|
+
const usageQuery = useQuery({
|
|
54
|
+
...usageQueryOptions ?? {
|
|
55
|
+
queryKey: [["ai", "getUserUsage"], { input: { userId: "" } }],
|
|
56
|
+
queryFn: () => Promise.resolve({
|
|
57
|
+
inputTokens: null,
|
|
58
|
+
outputTokens: null,
|
|
59
|
+
totalTokens: null,
|
|
60
|
+
cost: null
|
|
61
|
+
})
|
|
62
|
+
},
|
|
63
|
+
enabled: usageQueryEnabled
|
|
64
|
+
});
|
|
65
|
+
const usageData = usageQuery.data;
|
|
66
|
+
const isLoadingUsage = usageQuery.isLoading;
|
|
67
|
+
const refetchUsage = () => {
|
|
68
|
+
if (usageQueryOptions) queryClient.invalidateQueries({ queryKey: usageQueryOptions.queryKey });
|
|
69
|
+
};
|
|
70
|
+
const resetPage = useCallback(() => {
|
|
71
|
+
setPage(0);
|
|
72
|
+
}, []);
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
const timer = setTimeout(() => {
|
|
75
|
+
setDebouncedSearchQuery(searchQuery);
|
|
76
|
+
resetPage();
|
|
77
|
+
}, 300);
|
|
78
|
+
return () => clearTimeout(timer);
|
|
79
|
+
}, [searchQuery, resetPage]);
|
|
80
|
+
const handleStatusFilterChange = useCallback((value) => {
|
|
81
|
+
setStatusFilter(value);
|
|
82
|
+
resetPage();
|
|
83
|
+
}, [resetPage]);
|
|
84
|
+
const { data: listUsers = {
|
|
85
|
+
users: [],
|
|
86
|
+
total: 0
|
|
87
|
+
}, isLoading, refetch } = authAdmin.useListUsers({ query: {
|
|
88
|
+
searchField: "name",
|
|
89
|
+
searchOperator: "contains",
|
|
90
|
+
searchValue: debouncedSearchQuery,
|
|
91
|
+
limit,
|
|
92
|
+
offset: page * limit,
|
|
93
|
+
sortBy: sortField,
|
|
94
|
+
sortDirection: sortOrder
|
|
95
|
+
} });
|
|
96
|
+
const { users, total: totalUsers } = listUsers;
|
|
97
|
+
const { mutate: deleteUser, isPending: isDeleting } = authAdmin.useRemoveUser({
|
|
98
|
+
onSuccess: () => {
|
|
99
|
+
toast.success("User deleted successfully");
|
|
100
|
+
refetch();
|
|
101
|
+
},
|
|
102
|
+
onError: (error) => {
|
|
103
|
+
toast.error(`Error deleting user: ${error.message}`);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
const { mutate: updateUser } = authAdmin.useUpdateUser({
|
|
107
|
+
onSuccess: () => {
|
|
108
|
+
toast.success("User updated successfully");
|
|
109
|
+
refetch();
|
|
110
|
+
},
|
|
111
|
+
onError: (error) => {
|
|
112
|
+
toast.error(`Error updating user: ${error.message}`);
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
const totalPages = totalUsers ? Math.ceil(totalUsers / limit) : 0;
|
|
116
|
+
const confirmDelete = (userId) => {
|
|
117
|
+
setUserToDelete(userId);
|
|
118
|
+
};
|
|
119
|
+
const handleDelete = () => {
|
|
120
|
+
if (userToDelete) {
|
|
121
|
+
deleteUser({ id: userToDelete });
|
|
122
|
+
setUserToDelete(null);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const openBanModal = (userId, userName) => {
|
|
126
|
+
setUserToBan({
|
|
127
|
+
id: userId,
|
|
128
|
+
name: userName
|
|
129
|
+
});
|
|
130
|
+
setBanReason("");
|
|
131
|
+
setBanExpiry("never");
|
|
132
|
+
setCustomBanDays(1);
|
|
133
|
+
};
|
|
134
|
+
const getBanExpiryInSeconds = () => {
|
|
135
|
+
switch (banExpiry) {
|
|
136
|
+
case "never": return;
|
|
137
|
+
case "1d": return 3600 * 24;
|
|
138
|
+
case "7d": return 3600 * 24 * 7;
|
|
139
|
+
case "30d": return 3600 * 24 * 30;
|
|
140
|
+
case "custom": return 3600 * 24 * customBanDays;
|
|
141
|
+
default: return;
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
const formatBanExpiry = (expiryTimestamp) => {
|
|
145
|
+
if (!expiryTimestamp) return "Never";
|
|
146
|
+
const expiryDate = new Date(expiryTimestamp);
|
|
147
|
+
const now = /* @__PURE__ */ new Date();
|
|
148
|
+
if (expiryDate < now) return "Expired";
|
|
149
|
+
const dateString = expiryDate.toLocaleDateString(void 0, {
|
|
150
|
+
year: "numeric",
|
|
151
|
+
month: "short",
|
|
152
|
+
day: "numeric"
|
|
153
|
+
});
|
|
154
|
+
const timeRemaining = expiryDate.getTime() - now.getTime();
|
|
155
|
+
return `${dateString} (${Math.ceil(timeRemaining / (1e3 * 60 * 60 * 24))} days)`;
|
|
156
|
+
};
|
|
157
|
+
const handleBanUser = async () => {
|
|
158
|
+
if (!userToBan) return;
|
|
159
|
+
try {
|
|
160
|
+
setIsBanningUser(true);
|
|
161
|
+
await authClient.admin.banUser({
|
|
162
|
+
userId: userToBan.id,
|
|
163
|
+
banReason: banReason || "No reason provided",
|
|
164
|
+
banExpiresIn: getBanExpiryInSeconds()
|
|
165
|
+
});
|
|
166
|
+
toast.success(`User ${userToBan.name} has been banned`);
|
|
167
|
+
setUserToBan(null);
|
|
168
|
+
await refetch();
|
|
169
|
+
} catch (error) {
|
|
170
|
+
toast.error(`Failed to ban user: ${error instanceof Error ? error.message : String(error)}`);
|
|
171
|
+
} finally {
|
|
172
|
+
setIsBanningUser(false);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
const handleUnbanUser = async (userId) => {
|
|
176
|
+
try {
|
|
177
|
+
setIsUnbanningUser((prev) => ({
|
|
178
|
+
...prev,
|
|
179
|
+
[userId]: true
|
|
180
|
+
}));
|
|
181
|
+
await authClient.admin.unbanUser({ userId });
|
|
182
|
+
toast.success("User has been unbanned");
|
|
183
|
+
await refetch();
|
|
184
|
+
} catch (error) {
|
|
185
|
+
toast.error(`Failed to unban user: ${error instanceof Error ? error.message : String(error)}`);
|
|
186
|
+
} finally {
|
|
187
|
+
setIsUnbanningUser((prev) => ({
|
|
188
|
+
...prev,
|
|
189
|
+
[userId]: false
|
|
190
|
+
}));
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
const handleSetOnboardingUser = async (userId) => {
|
|
194
|
+
const onboardingStep = window.prompt(`Set onboarding step for user ${userId}`, "4");
|
|
195
|
+
const onboardingStepNumber = Number.parseInt(onboardingStep || "0");
|
|
196
|
+
if (onboardingStepNumber) updateUser({
|
|
197
|
+
userId,
|
|
198
|
+
data: { onboarding: onboardingStepNumber }
|
|
199
|
+
});
|
|
200
|
+
};
|
|
201
|
+
const handleImpersonateUser = async (userId) => {
|
|
202
|
+
try {
|
|
203
|
+
setIsImpersonatingUser(true);
|
|
204
|
+
await authClient.admin.impersonateUser({ userId });
|
|
205
|
+
toast.success("Now impersonating user");
|
|
206
|
+
window.location.assign("/");
|
|
207
|
+
} catch (error) {
|
|
208
|
+
setIsImpersonatingUser(false);
|
|
209
|
+
toast.error(`Failed to impersonate user: ${error instanceof Error ? error.message : String(error)}`);
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
const handlePageChange = (newPage) => {
|
|
213
|
+
if (newPage >= 0 && newPage < totalPages) setPage(newPage);
|
|
214
|
+
};
|
|
215
|
+
const handleSort = (field) => {
|
|
216
|
+
if (sortField === field) setSortOrder(sortOrder === "asc" ? "desc" : "asc");
|
|
217
|
+
else {
|
|
218
|
+
setSortField(field);
|
|
219
|
+
setSortOrder("asc");
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
const renderSortIcon = (field) => {
|
|
223
|
+
if (sortField !== field) return null;
|
|
224
|
+
return sortOrder === "asc" ? /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4 inline ml-1" }) : /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 inline ml-1" });
|
|
225
|
+
};
|
|
226
|
+
const clearFilters = () => {
|
|
227
|
+
setSearchQuery("");
|
|
228
|
+
setStatusFilter("all");
|
|
229
|
+
setSortField("createdAt");
|
|
230
|
+
setSortOrder("desc");
|
|
231
|
+
};
|
|
232
|
+
const openCreateUserModal = () => {
|
|
233
|
+
setNewUserData({
|
|
234
|
+
name: "",
|
|
235
|
+
email: "",
|
|
236
|
+
password: "",
|
|
237
|
+
role: "user"
|
|
238
|
+
});
|
|
239
|
+
setIsCreateUserModalOpen(true);
|
|
240
|
+
};
|
|
241
|
+
const handleCreateUser = async () => {
|
|
242
|
+
if (!newUserData.name || !newUserData.email || !newUserData.password) {
|
|
243
|
+
toast.error("Please fill in all required fields");
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
try {
|
|
247
|
+
setIsCreatingUser(true);
|
|
248
|
+
await authClient.admin.createUser({
|
|
249
|
+
name: newUserData.name,
|
|
250
|
+
email: newUserData.email,
|
|
251
|
+
password: newUserData.password,
|
|
252
|
+
role: newUserData.role
|
|
253
|
+
});
|
|
254
|
+
toast.success(`User ${newUserData.name} has been created`);
|
|
255
|
+
setIsCreateUserModalOpen(false);
|
|
256
|
+
await refetch();
|
|
257
|
+
} catch (error) {
|
|
258
|
+
toast.error(`Failed to create user: ${error instanceof Error ? error.message : String(error)}`);
|
|
259
|
+
} finally {
|
|
260
|
+
setIsCreatingUser(false);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
const handleNewUserDataChange = (field, value) => {
|
|
264
|
+
setNewUserData((prev) => ({
|
|
265
|
+
...prev,
|
|
266
|
+
[field]: value
|
|
267
|
+
}));
|
|
268
|
+
};
|
|
269
|
+
const openUsageModal = (userId, userName) => {
|
|
270
|
+
setUserForUsage({
|
|
271
|
+
id: userId,
|
|
272
|
+
name: userName
|
|
273
|
+
});
|
|
274
|
+
refetchUsage();
|
|
275
|
+
};
|
|
276
|
+
const formatTokenCount = (count) => {
|
|
277
|
+
if (count === null || count === void 0) return "—";
|
|
278
|
+
return count.toLocaleString();
|
|
279
|
+
};
|
|
280
|
+
const formatCost = (cost) => {
|
|
281
|
+
if (cost === null || cost === void 0) return "—";
|
|
282
|
+
return `$${cost.toFixed(4)}`;
|
|
283
|
+
};
|
|
284
|
+
const createAccountClaimCodeMutation = useMutation(trpc ? trpc.auth.createAccountClaimCode.mutationOptions() : { mutationFn: async () => {
|
|
285
|
+
throw new Error("Account claim actions are not available in this app");
|
|
286
|
+
} });
|
|
287
|
+
const generateAccountClaimMagicLinkMutation = useMutation(trpc ? trpc.auth.generateAccountClaimMagicLink.mutationOptions() : { mutationFn: async () => {
|
|
288
|
+
throw new Error("Account claim actions are not available in this app");
|
|
289
|
+
} });
|
|
290
|
+
const openMagicLinkModal = (userId, userName, userEmail) => {
|
|
291
|
+
setUserForMagicLink({
|
|
292
|
+
id: userId,
|
|
293
|
+
name: userName,
|
|
294
|
+
email: userEmail
|
|
295
|
+
});
|
|
296
|
+
setClaimEmail(userEmail ?? "");
|
|
297
|
+
setGeneratedMagicLink(null);
|
|
298
|
+
};
|
|
299
|
+
const handleGenerateMagicLink = async () => {
|
|
300
|
+
if (!trpc) {
|
|
301
|
+
toast.error("Account claim actions are not available in this app");
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
if (!userForMagicLink) return;
|
|
305
|
+
const normalizedEmail = claimEmail.trim().toLowerCase();
|
|
306
|
+
if (!normalizedEmail) {
|
|
307
|
+
toast.error("Email is required");
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
310
|
+
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(normalizedEmail)) {
|
|
311
|
+
toast.error("Please enter a valid email address");
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
try {
|
|
315
|
+
setIsGeneratingMagicLink(true);
|
|
316
|
+
const claim = await createAccountClaimCodeMutation.mutateAsync({ userId: userForMagicLink.id });
|
|
317
|
+
setGeneratedMagicLink((await generateAccountClaimMagicLinkMutation.mutateAsync({
|
|
318
|
+
claimId: claim.id,
|
|
319
|
+
email: normalizedEmail
|
|
320
|
+
})).url);
|
|
321
|
+
toast.success("Magic login link generated");
|
|
322
|
+
} catch (error) {
|
|
323
|
+
toast.error(`Failed to generate magic link: ${error instanceof Error ? error.message : String(error)}`);
|
|
324
|
+
} finally {
|
|
325
|
+
setIsGeneratingMagicLink(false);
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
const copyGeneratedMagicLink = async () => {
|
|
329
|
+
if (!generatedMagicLink) return;
|
|
330
|
+
try {
|
|
331
|
+
await navigator.clipboard.writeText(generatedMagicLink);
|
|
332
|
+
toast.success("Magic link copied");
|
|
333
|
+
} catch {
|
|
334
|
+
toast.error("Failed to copy link");
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
if (isLoading) return /* @__PURE__ */ jsx("div", {
|
|
338
|
+
className: "flex justify-center p-8",
|
|
339
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
340
|
+
});
|
|
341
|
+
const openWaitlistModal = () => {
|
|
342
|
+
navigate("/admin/waitlist");
|
|
343
|
+
};
|
|
344
|
+
const hasActiveFilters = debouncedSearchQuery || statusFilter !== "all" || sortField !== "createdAt" || sortOrder !== "desc";
|
|
345
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
346
|
+
className: "space-y-4 p-4",
|
|
347
|
+
children: [
|
|
348
|
+
/* @__PURE__ */ jsxs("div", {
|
|
349
|
+
className: "flex justify-between items-center",
|
|
350
|
+
children: [/* @__PURE__ */ jsx("h2", {
|
|
351
|
+
className: "text-xl font-semibold",
|
|
352
|
+
children: "User Management"
|
|
353
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
354
|
+
className: "flex items-center gap-2",
|
|
355
|
+
children: [
|
|
356
|
+
/* @__PURE__ */ jsxs(Button, {
|
|
357
|
+
onPress: openWaitlistModal,
|
|
358
|
+
size: "sm",
|
|
359
|
+
children: [/* @__PURE__ */ jsx(List, { className: "h-4 w-4 mr-2" }), "Waitlist"]
|
|
360
|
+
}),
|
|
361
|
+
/* @__PURE__ */ jsxs(Button, {
|
|
362
|
+
onPress: openCreateUserModal,
|
|
363
|
+
size: "sm",
|
|
364
|
+
children: [/* @__PURE__ */ jsx(UserPlus, { className: "h-4 w-4 mr-2" }), "Create User"]
|
|
365
|
+
}),
|
|
366
|
+
/* @__PURE__ */ jsxs("div", {
|
|
367
|
+
className: "text-sm text-muted-foreground",
|
|
368
|
+
children: ["Total users: ", totalUsers || 0]
|
|
369
|
+
})
|
|
370
|
+
]
|
|
371
|
+
})]
|
|
372
|
+
}),
|
|
373
|
+
/* @__PURE__ */ jsxs("div", {
|
|
374
|
+
className: "flex flex-col sm:flex-row gap-3 items-start sm:items-center",
|
|
375
|
+
children: [/* @__PURE__ */ jsxs("form", {
|
|
376
|
+
className: "relative flex-1",
|
|
377
|
+
onSubmit: (e) => {
|
|
378
|
+
e.preventDefault();
|
|
379
|
+
setDebouncedSearchQuery(searchQuery);
|
|
380
|
+
resetPage();
|
|
381
|
+
},
|
|
382
|
+
children: [
|
|
383
|
+
/* @__PURE__ */ jsx(Search, { className: "absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" }),
|
|
384
|
+
/* @__PURE__ */ jsx(Input, {
|
|
385
|
+
"aria-label": "Search users",
|
|
386
|
+
placeholder: "Search users by name or email...",
|
|
387
|
+
className: "pl-8 w-full",
|
|
388
|
+
value: searchQuery,
|
|
389
|
+
onChange: (e) => setSearchQuery(e.target.value),
|
|
390
|
+
variant: "bordered"
|
|
391
|
+
}),
|
|
392
|
+
searchQuery && /* @__PURE__ */ jsx("button", {
|
|
393
|
+
type: "button",
|
|
394
|
+
onClick: () => setSearchQuery(""),
|
|
395
|
+
className: "absolute right-2.5 top-2.5 text-muted-foreground hover:text-foreground",
|
|
396
|
+
"aria-label": "Clear search",
|
|
397
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
398
|
+
})
|
|
399
|
+
]
|
|
400
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
401
|
+
className: "flex gap-2",
|
|
402
|
+
children: [/* @__PURE__ */ jsxs(Select, {
|
|
403
|
+
"aria-label": "Status filter",
|
|
404
|
+
selectedKeys: new Set([statusFilter]),
|
|
405
|
+
onSelectionChange: (keys) => handleStatusFilterChange(Array.from(keys)[0]),
|
|
406
|
+
className: "w-[160px]",
|
|
407
|
+
startContent: /* @__PURE__ */ jsx(Filter, { className: "mr-1 h-4 w-4" }),
|
|
408
|
+
children: [
|
|
409
|
+
/* @__PURE__ */ jsx(SelectItem, { children: "All Users" }, "all"),
|
|
410
|
+
/* @__PURE__ */ jsx(SelectItem, { children: "Active Only" }, "active"),
|
|
411
|
+
/* @__PURE__ */ jsx(SelectItem, { children: "Banned Only" }, "banned")
|
|
412
|
+
]
|
|
413
|
+
}), hasActiveFilters && /* @__PURE__ */ jsxs(Button, {
|
|
414
|
+
variant: "bordered",
|
|
415
|
+
size: "sm",
|
|
416
|
+
onPress: clearFilters,
|
|
417
|
+
children: [/* @__PURE__ */ jsx(X, { className: "mr-1 h-4 w-4" }), "Clear Filters"]
|
|
418
|
+
})]
|
|
419
|
+
})]
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ jsx("div", {
|
|
422
|
+
className: "border rounded-lg overflow-hidden",
|
|
423
|
+
children: /* @__PURE__ */ jsxs(Table, {
|
|
424
|
+
"aria-label": "Users table",
|
|
425
|
+
removeWrapper: true,
|
|
426
|
+
children: [/* @__PURE__ */ jsxs(TableHeader, { children: [
|
|
427
|
+
/* @__PURE__ */ jsx(TableColumn, { children: "ID" }),
|
|
428
|
+
/* @__PURE__ */ jsxs(TableColumn, {
|
|
429
|
+
className: "cursor-pointer",
|
|
430
|
+
onClick: () => handleSort("name"),
|
|
431
|
+
children: ["Name ", renderSortIcon("name")]
|
|
432
|
+
}),
|
|
433
|
+
/* @__PURE__ */ jsxs(TableColumn, {
|
|
434
|
+
className: "cursor-pointer",
|
|
435
|
+
onClick: () => handleSort("email"),
|
|
436
|
+
children: ["Email ", renderSortIcon("email")]
|
|
437
|
+
}),
|
|
438
|
+
/* @__PURE__ */ jsxs(TableColumn, {
|
|
439
|
+
className: "cursor-pointer",
|
|
440
|
+
onClick: () => handleSort("role"),
|
|
441
|
+
children: ["Role ", renderSortIcon("role")]
|
|
442
|
+
}),
|
|
443
|
+
/* @__PURE__ */ jsx(TableColumn, { children: "Status" }),
|
|
444
|
+
/* @__PURE__ */ jsx(TableColumn, { children: "Onboarding" }),
|
|
445
|
+
/* @__PURE__ */ jsxs(TableColumn, {
|
|
446
|
+
className: "cursor-pointer",
|
|
447
|
+
onClick: () => handleSort("createdAt"),
|
|
448
|
+
children: ["Created At ", renderSortIcon("createdAt")]
|
|
449
|
+
}),
|
|
450
|
+
/* @__PURE__ */ jsx(TableColumn, {
|
|
451
|
+
className: "text-right",
|
|
452
|
+
children: "Actions"
|
|
453
|
+
})
|
|
454
|
+
] }), /* @__PURE__ */ jsx(TableBody, {
|
|
455
|
+
items: users ?? [],
|
|
456
|
+
emptyContent: hasActiveFilters ? "No users found matching your filters" : "No users found",
|
|
457
|
+
children: (user) => {
|
|
458
|
+
const onboarding = user.onboarding;
|
|
459
|
+
return /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
460
|
+
/* @__PURE__ */ jsx(TableCell, {
|
|
461
|
+
className: "font-mono text-xs",
|
|
462
|
+
children: user.id
|
|
463
|
+
}),
|
|
464
|
+
/* @__PURE__ */ jsx(TableCell, { children: user.name }),
|
|
465
|
+
/* @__PURE__ */ jsx(TableCell, { children: user.email }),
|
|
466
|
+
/* @__PURE__ */ jsx(TableCell, { children: user.role || "user" }),
|
|
467
|
+
/* @__PURE__ */ jsx(TableCell, { children: user.banned ? /* @__PURE__ */ jsx(Tooltip, {
|
|
468
|
+
content: /* @__PURE__ */ jsxs("div", {
|
|
469
|
+
className: "space-y-1 text-xs",
|
|
470
|
+
children: [/* @__PURE__ */ jsxs("p", { children: [
|
|
471
|
+
/* @__PURE__ */ jsx("strong", { children: "Reason:" }),
|
|
472
|
+
" ",
|
|
473
|
+
user.banReason || "No reason provided"
|
|
474
|
+
] }), user.banExpires && /* @__PURE__ */ jsxs("p", {
|
|
475
|
+
className: "flex items-center gap-1",
|
|
476
|
+
children: [/* @__PURE__ */ jsx(CalendarClock, { className: "h-3 w-3" }), /* @__PURE__ */ jsxs("span", { children: [
|
|
477
|
+
/* @__PURE__ */ jsx("strong", { children: "Expires:" }),
|
|
478
|
+
" ",
|
|
479
|
+
formatBanExpiry(user.banExpires.getTime())
|
|
480
|
+
] })]
|
|
481
|
+
})]
|
|
482
|
+
}),
|
|
483
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
484
|
+
className: "inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800",
|
|
485
|
+
children: ["Banned", user.banReason && /* @__PURE__ */ jsx(Info, { className: "h-3 w-3" })]
|
|
486
|
+
})
|
|
487
|
+
}) : /* @__PURE__ */ jsx("span", {
|
|
488
|
+
className: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800",
|
|
489
|
+
children: "Active"
|
|
490
|
+
}) }),
|
|
491
|
+
/* @__PURE__ */ jsx(TableCell, { children: onboarding ?? "—" }),
|
|
492
|
+
/* @__PURE__ */ jsx(TableCell, { children: user.createdAt ? new Date(user.createdAt).toLocaleDateString() : "N/A" }),
|
|
493
|
+
/* @__PURE__ */ jsx(TableCell, {
|
|
494
|
+
className: "text-right",
|
|
495
|
+
children: /* @__PURE__ */ jsxs(Dropdown, {
|
|
496
|
+
placement: "bottom-end",
|
|
497
|
+
children: [/* @__PURE__ */ jsx(DropdownTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
498
|
+
variant: "light",
|
|
499
|
+
size: "sm",
|
|
500
|
+
isIconOnly: true,
|
|
501
|
+
children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" })
|
|
502
|
+
}) }), /* @__PURE__ */ jsxs(DropdownMenu, {
|
|
503
|
+
"aria-label": "User actions",
|
|
504
|
+
children: [
|
|
505
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
506
|
+
onClick: () => handleSetOnboardingUser(user.id),
|
|
507
|
+
children: "Set Onboarding"
|
|
508
|
+
}, "onboarding"),
|
|
509
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
510
|
+
onClick: () => openUsageModal(user.id, user.name),
|
|
511
|
+
className: useTRPC ? "" : "hidden",
|
|
512
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
513
|
+
className: "flex items-center gap-2",
|
|
514
|
+
children: [/* @__PURE__ */ jsx(BarChart3, { className: "h-4 w-4" }), "View AI Usage"]
|
|
515
|
+
})
|
|
516
|
+
}, "usage"),
|
|
517
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
518
|
+
onClick: () => handleImpersonateUser(user.id),
|
|
519
|
+
isDisabled: user.banned || isImpersonatingUser,
|
|
520
|
+
children: isImpersonatingUser ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2 h-3 w-3" }), "Impersonating..."] }) : "Impersonate"
|
|
521
|
+
}, "impersonate"),
|
|
522
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
523
|
+
onClick: () => openMagicLinkModal(user.id, user.name, user.email ?? null),
|
|
524
|
+
className: trpc ? "" : "hidden",
|
|
525
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
526
|
+
className: "flex items-center gap-2",
|
|
527
|
+
children: [/* @__PURE__ */ jsx(Link2, { className: "h-4 w-4" }), "Generate Magic Login Link"]
|
|
528
|
+
})
|
|
529
|
+
}, "magic-link"),
|
|
530
|
+
user.banned ? /* @__PURE__ */ jsx(DropdownItem, {
|
|
531
|
+
onClick: () => handleUnbanUser(user.id),
|
|
532
|
+
isDisabled: isUnbanningUser[user.id],
|
|
533
|
+
children: isUnbanningUser[user.id] ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Spinner, { className: "mr-2 h-3 w-3" }), "Unbanning..."] }) : "Unban"
|
|
534
|
+
}, "unban") : /* @__PURE__ */ jsx(DropdownItem, {
|
|
535
|
+
onClick: () => openBanModal(user.id, user.name),
|
|
536
|
+
children: "Ban"
|
|
537
|
+
}, "ban"),
|
|
538
|
+
/* @__PURE__ */ jsx(DropdownItem, {
|
|
539
|
+
onClick: () => confirmDelete(user.id),
|
|
540
|
+
children: "Remove"
|
|
541
|
+
}, "remove")
|
|
542
|
+
]
|
|
543
|
+
})]
|
|
544
|
+
})
|
|
545
|
+
})
|
|
546
|
+
] }, user.id);
|
|
547
|
+
}
|
|
548
|
+
})]
|
|
549
|
+
})
|
|
550
|
+
}),
|
|
551
|
+
totalPages > 0 && /* @__PURE__ */ jsxs("div", {
|
|
552
|
+
className: "flex items-center justify-end space-x-2 py-4",
|
|
553
|
+
children: [
|
|
554
|
+
/* @__PURE__ */ jsx(Button, {
|
|
555
|
+
variant: "bordered",
|
|
556
|
+
size: "sm",
|
|
557
|
+
onClick: () => handlePageChange(page - 1),
|
|
558
|
+
isDisabled: page === 0,
|
|
559
|
+
children: "Previous"
|
|
560
|
+
}),
|
|
561
|
+
/* @__PURE__ */ jsxs("div", {
|
|
562
|
+
className: "text-sm text-muted-foreground",
|
|
563
|
+
children: [
|
|
564
|
+
"Page ",
|
|
565
|
+
page + 1,
|
|
566
|
+
" of ",
|
|
567
|
+
totalPages
|
|
568
|
+
]
|
|
569
|
+
}),
|
|
570
|
+
/* @__PURE__ */ jsx(Button, {
|
|
571
|
+
variant: "bordered",
|
|
572
|
+
size: "sm",
|
|
573
|
+
onClick: () => handlePageChange(page + 1),
|
|
574
|
+
isDisabled: page === totalPages - 1,
|
|
575
|
+
children: "Next"
|
|
576
|
+
})
|
|
577
|
+
]
|
|
578
|
+
}),
|
|
579
|
+
/* @__PURE__ */ jsx(Modal, {
|
|
580
|
+
isOpen: !!userToDelete,
|
|
581
|
+
onOpenChange: (open) => {
|
|
582
|
+
if (!open) setUserToDelete(null);
|
|
583
|
+
},
|
|
584
|
+
children: /* @__PURE__ */ jsx(ModalContent, { children: (onClose) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(ModalHeader, {
|
|
585
|
+
className: "flex flex-col gap-1",
|
|
586
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
587
|
+
className: "text-lg font-semibold",
|
|
588
|
+
children: "Are you sure?"
|
|
589
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
590
|
+
className: "text-sm text-default-600",
|
|
591
|
+
children: "This action cannot be undone. This will permanently delete the user and all their data."
|
|
592
|
+
})]
|
|
593
|
+
}), /* @__PURE__ */ jsxs(ModalFooter, { children: [/* @__PURE__ */ jsx(Button, {
|
|
594
|
+
variant: "bordered",
|
|
595
|
+
onPress: onClose,
|
|
596
|
+
children: "Cancel"
|
|
597
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
598
|
+
color: "danger",
|
|
599
|
+
onPress: handleDelete,
|
|
600
|
+
isLoading: isDeleting,
|
|
601
|
+
children: "Delete"
|
|
602
|
+
})] })] }) })
|
|
603
|
+
}),
|
|
604
|
+
/* @__PURE__ */ jsx(Modal, {
|
|
605
|
+
isOpen: !!userToBan,
|
|
606
|
+
onOpenChange: (open) => {
|
|
607
|
+
if (!open) setUserToBan(null);
|
|
608
|
+
},
|
|
609
|
+
children: /* @__PURE__ */ jsx(ModalContent, { children: (onClose) => /* @__PURE__ */ jsxs("form", {
|
|
610
|
+
onSubmit: (e) => {
|
|
611
|
+
e.preventDefault();
|
|
612
|
+
handleBanUser();
|
|
613
|
+
},
|
|
614
|
+
className: "space-y-4",
|
|
615
|
+
children: [
|
|
616
|
+
/* @__PURE__ */ jsxs(ModalHeader, {
|
|
617
|
+
className: "flex flex-col gap-1",
|
|
618
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
619
|
+
className: "text-lg font-semibold",
|
|
620
|
+
children: "Ban User"
|
|
621
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
622
|
+
className: "text-sm text-default-600",
|
|
623
|
+
children: userToBan && `You are about to ban ${userToBan.name}. This will prevent them from signing in.`
|
|
624
|
+
})]
|
|
625
|
+
}),
|
|
626
|
+
/* @__PURE__ */ jsxs(ModalBody, {
|
|
627
|
+
className: "space-y-4",
|
|
628
|
+
children: [
|
|
629
|
+
/* @__PURE__ */ jsxs("div", {
|
|
630
|
+
className: "space-y-2",
|
|
631
|
+
children: [/* @__PURE__ */ jsx("label", {
|
|
632
|
+
htmlFor: banReasonInputId,
|
|
633
|
+
className: "text-sm font-medium",
|
|
634
|
+
children: "Ban Reason"
|
|
635
|
+
}), /* @__PURE__ */ jsx(Input, {
|
|
636
|
+
id: banReasonInputId,
|
|
637
|
+
placeholder: "Enter reason for ban",
|
|
638
|
+
value: banReason,
|
|
639
|
+
onChange: (e) => setBanReason(e.target.value),
|
|
640
|
+
variant: "bordered",
|
|
641
|
+
labelPlacement: "outside",
|
|
642
|
+
label: "Ban Reason"
|
|
643
|
+
})]
|
|
644
|
+
}),
|
|
645
|
+
/* @__PURE__ */ jsxs("div", {
|
|
646
|
+
className: "space-y-2",
|
|
647
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
648
|
+
className: "text-sm font-medium",
|
|
649
|
+
children: "Ban Duration"
|
|
650
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
651
|
+
className: "grid grid-cols-2 gap-2",
|
|
652
|
+
children: [
|
|
653
|
+
/* @__PURE__ */ jsx(Button, {
|
|
654
|
+
type: "button",
|
|
655
|
+
variant: banExpiry === "never" ? "solid" : "bordered",
|
|
656
|
+
onClick: () => setBanExpiry("never"),
|
|
657
|
+
children: "Permanent"
|
|
658
|
+
}),
|
|
659
|
+
/* @__PURE__ */ jsx(Button, {
|
|
660
|
+
type: "button",
|
|
661
|
+
variant: banExpiry === "1d" ? "solid" : "bordered",
|
|
662
|
+
onClick: () => setBanExpiry("1d"),
|
|
663
|
+
children: "1 Day"
|
|
664
|
+
}),
|
|
665
|
+
/* @__PURE__ */ jsx(Button, {
|
|
666
|
+
type: "button",
|
|
667
|
+
variant: banExpiry === "7d" ? "solid" : "bordered",
|
|
668
|
+
onClick: () => setBanExpiry("7d"),
|
|
669
|
+
children: "7 Days"
|
|
670
|
+
}),
|
|
671
|
+
/* @__PURE__ */ jsx(Button, {
|
|
672
|
+
type: "button",
|
|
673
|
+
variant: banExpiry === "30d" ? "solid" : "bordered",
|
|
674
|
+
onClick: () => setBanExpiry("30d"),
|
|
675
|
+
children: "30 Days"
|
|
676
|
+
})
|
|
677
|
+
]
|
|
678
|
+
})]
|
|
679
|
+
}),
|
|
680
|
+
/* @__PURE__ */ jsxs("div", {
|
|
681
|
+
className: "space-y-2",
|
|
682
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
683
|
+
className: "flex items-center gap-2",
|
|
684
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
685
|
+
type: "checkbox",
|
|
686
|
+
id: customDurationId,
|
|
687
|
+
checked: banExpiry === "custom",
|
|
688
|
+
onChange: (e) => e.target.checked ? setBanExpiry("custom") : setBanExpiry("never")
|
|
689
|
+
}), /* @__PURE__ */ jsx("label", {
|
|
690
|
+
htmlFor: customDurationId,
|
|
691
|
+
className: "text-sm font-medium",
|
|
692
|
+
children: "Custom Duration"
|
|
693
|
+
})]
|
|
694
|
+
}), banExpiry === "custom" && /* @__PURE__ */ jsxs("div", {
|
|
695
|
+
className: "flex items-center gap-2",
|
|
696
|
+
children: [/* @__PURE__ */ jsx(Input, {
|
|
697
|
+
type: "number",
|
|
698
|
+
min: "1",
|
|
699
|
+
value: customBanDays.toString(),
|
|
700
|
+
onChange: (e) => setCustomBanDays(Number(e.target.value)),
|
|
701
|
+
variant: "bordered",
|
|
702
|
+
labelPlacement: "outside",
|
|
703
|
+
label: "Custom duration (days)"
|
|
704
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
705
|
+
className: "text-sm",
|
|
706
|
+
children: "Days"
|
|
707
|
+
})]
|
|
708
|
+
})]
|
|
709
|
+
})
|
|
710
|
+
]
|
|
711
|
+
}),
|
|
712
|
+
/* @__PURE__ */ jsxs(ModalFooter, { children: [/* @__PURE__ */ jsx(Button, {
|
|
713
|
+
variant: "bordered",
|
|
714
|
+
type: "button",
|
|
715
|
+
onPress: onClose,
|
|
716
|
+
children: "Cancel"
|
|
717
|
+
}), /* @__PURE__ */ jsxs(Button, {
|
|
718
|
+
color: "danger",
|
|
719
|
+
type: "submit",
|
|
720
|
+
isDisabled: isBanningUser,
|
|
721
|
+
children: [isBanningUser ? /* @__PURE__ */ jsx(Spinner, { className: "mr-2 h-4 w-4" }) : null, isBanningUser ? "Banning..." : "Ban User"]
|
|
722
|
+
})] })
|
|
723
|
+
]
|
|
724
|
+
}) })
|
|
725
|
+
}),
|
|
726
|
+
/* @__PURE__ */ jsx(Modal, {
|
|
727
|
+
isOpen: isCreateUserModalOpen,
|
|
728
|
+
onOpenChange: (open) => {
|
|
729
|
+
if (!open) setIsCreateUserModalOpen(false);
|
|
730
|
+
},
|
|
731
|
+
children: /* @__PURE__ */ jsx(ModalContent, { children: (onClose) => /* @__PURE__ */ jsxs("form", {
|
|
732
|
+
onSubmit: (e) => {
|
|
733
|
+
e.preventDefault();
|
|
734
|
+
handleCreateUser();
|
|
735
|
+
},
|
|
736
|
+
className: "space-y-4",
|
|
737
|
+
children: [
|
|
738
|
+
/* @__PURE__ */ jsxs(ModalHeader, {
|
|
739
|
+
className: "flex flex-col gap-1",
|
|
740
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
741
|
+
className: "text-lg font-semibold",
|
|
742
|
+
children: "Create New User"
|
|
743
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
744
|
+
className: "text-sm text-default-600",
|
|
745
|
+
children: "Fill in the details below to create a new user account."
|
|
746
|
+
})]
|
|
747
|
+
}),
|
|
748
|
+
/* @__PURE__ */ jsxs(ModalBody, {
|
|
749
|
+
className: "space-y-4",
|
|
750
|
+
children: [
|
|
751
|
+
/* @__PURE__ */ jsx("div", {
|
|
752
|
+
className: "space-y-2",
|
|
753
|
+
children: /* @__PURE__ */ jsx(Input, {
|
|
754
|
+
id: nameInputId,
|
|
755
|
+
label: "Name *",
|
|
756
|
+
labelPlacement: "outside",
|
|
757
|
+
placeholder: "Enter user's name",
|
|
758
|
+
value: newUserData.name,
|
|
759
|
+
onChange: (e) => handleNewUserDataChange("name", e.target.value),
|
|
760
|
+
variant: "bordered"
|
|
761
|
+
})
|
|
762
|
+
}),
|
|
763
|
+
/* @__PURE__ */ jsx("div", {
|
|
764
|
+
className: "space-y-2",
|
|
765
|
+
children: /* @__PURE__ */ jsx(Input, {
|
|
766
|
+
id: emailInputId,
|
|
767
|
+
label: "Email *",
|
|
768
|
+
labelPlacement: "outside",
|
|
769
|
+
type: "email",
|
|
770
|
+
placeholder: "Enter user's email",
|
|
771
|
+
value: newUserData.email,
|
|
772
|
+
onChange: (e) => handleNewUserDataChange("email", e.target.value),
|
|
773
|
+
variant: "bordered"
|
|
774
|
+
})
|
|
775
|
+
}),
|
|
776
|
+
/* @__PURE__ */ jsx("div", {
|
|
777
|
+
className: "space-y-2",
|
|
778
|
+
children: /* @__PURE__ */ jsx(Input, {
|
|
779
|
+
id: passwordInputId,
|
|
780
|
+
label: "Password *",
|
|
781
|
+
labelPlacement: "outside",
|
|
782
|
+
type: "password",
|
|
783
|
+
placeholder: "Enter password",
|
|
784
|
+
value: newUserData.password,
|
|
785
|
+
onChange: (e) => handleNewUserDataChange("password", e.target.value),
|
|
786
|
+
variant: "bordered"
|
|
787
|
+
})
|
|
788
|
+
}),
|
|
789
|
+
/* @__PURE__ */ jsxs("div", {
|
|
790
|
+
className: "space-y-2",
|
|
791
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
792
|
+
className: "text-sm font-medium",
|
|
793
|
+
id: roleSelectId,
|
|
794
|
+
children: "Role"
|
|
795
|
+
}), /* @__PURE__ */ jsxs(Select, {
|
|
796
|
+
"aria-label": "Select role",
|
|
797
|
+
"aria-labelledby": roleSelectId,
|
|
798
|
+
selectedKeys: new Set([newUserData.role]),
|
|
799
|
+
onSelectionChange: (keys) => handleNewUserDataChange("role", Array.from(keys)[0]),
|
|
800
|
+
children: [/* @__PURE__ */ jsx(SelectItem, { children: "User" }, "user"), /* @__PURE__ */ jsx(SelectItem, { children: "Admin" }, "admin")]
|
|
801
|
+
})]
|
|
802
|
+
})
|
|
803
|
+
]
|
|
804
|
+
}),
|
|
805
|
+
/* @__PURE__ */ jsxs(ModalFooter, { children: [/* @__PURE__ */ jsx(Button, {
|
|
806
|
+
variant: "bordered",
|
|
807
|
+
type: "button",
|
|
808
|
+
onPress: onClose,
|
|
809
|
+
children: "Cancel"
|
|
810
|
+
}), /* @__PURE__ */ jsxs(Button, {
|
|
811
|
+
type: "submit",
|
|
812
|
+
color: "primary",
|
|
813
|
+
isDisabled: isCreatingUser,
|
|
814
|
+
children: [isCreatingUser ? /* @__PURE__ */ jsx(Spinner, { className: "mr-2 h-4 w-4" }) : null, isCreatingUser ? "Creating..." : "Create User"]
|
|
815
|
+
})] })
|
|
816
|
+
]
|
|
817
|
+
}) })
|
|
818
|
+
}),
|
|
819
|
+
/* @__PURE__ */ jsx(Modal, {
|
|
820
|
+
isOpen: !!userForUsage,
|
|
821
|
+
onOpenChange: (open) => {
|
|
822
|
+
if (!open) setUserForUsage(null);
|
|
823
|
+
},
|
|
824
|
+
children: /* @__PURE__ */ jsx(ModalContent, { children: (onClose) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
825
|
+
/* @__PURE__ */ jsxs(ModalHeader, {
|
|
826
|
+
className: "flex flex-col gap-1",
|
|
827
|
+
children: [/* @__PURE__ */ jsxs("p", {
|
|
828
|
+
className: "text-lg font-semibold flex items-center gap-2",
|
|
829
|
+
children: [/* @__PURE__ */ jsx(BarChart3, { className: "h-5 w-5" }), "AI Usage"]
|
|
830
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
831
|
+
className: "text-sm text-default-600",
|
|
832
|
+
children: userForUsage && `Usage statistics for ${userForUsage.name}`
|
|
833
|
+
})]
|
|
834
|
+
}),
|
|
835
|
+
/* @__PURE__ */ jsx(ModalBody, { children: isLoadingUsage ? /* @__PURE__ */ jsx("div", {
|
|
836
|
+
className: "flex justify-center py-8",
|
|
837
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
838
|
+
}) : usageData ? /* @__PURE__ */ jsx("div", {
|
|
839
|
+
className: "space-y-4",
|
|
840
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
841
|
+
className: "grid grid-cols-2 gap-4",
|
|
842
|
+
children: [
|
|
843
|
+
/* @__PURE__ */ jsxs("div", {
|
|
844
|
+
className: "p-4 rounded-lg bg-default-100",
|
|
845
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
846
|
+
className: "text-sm text-default-600",
|
|
847
|
+
children: "Input Tokens"
|
|
848
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
849
|
+
className: "text-2xl font-semibold",
|
|
850
|
+
children: formatTokenCount(usageData.inputTokens)
|
|
851
|
+
})]
|
|
852
|
+
}),
|
|
853
|
+
/* @__PURE__ */ jsxs("div", {
|
|
854
|
+
className: "p-4 rounded-lg bg-default-100",
|
|
855
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
856
|
+
className: "text-sm text-default-600",
|
|
857
|
+
children: "Output Tokens"
|
|
858
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
859
|
+
className: "text-2xl font-semibold",
|
|
860
|
+
children: formatTokenCount(usageData.outputTokens)
|
|
861
|
+
})]
|
|
862
|
+
}),
|
|
863
|
+
/* @__PURE__ */ jsxs("div", {
|
|
864
|
+
className: "p-4 rounded-lg bg-default-100",
|
|
865
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
866
|
+
className: "text-sm text-default-600",
|
|
867
|
+
children: "Total Tokens"
|
|
868
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
869
|
+
className: "text-2xl font-semibold",
|
|
870
|
+
children: formatTokenCount(usageData.totalTokens)
|
|
871
|
+
})]
|
|
872
|
+
}),
|
|
873
|
+
/* @__PURE__ */ jsxs("div", {
|
|
874
|
+
className: "p-4 rounded-lg bg-primary-100",
|
|
875
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
876
|
+
className: "text-sm text-primary-600",
|
|
877
|
+
children: "Estimated Cost"
|
|
878
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
879
|
+
className: "text-2xl font-semibold text-primary",
|
|
880
|
+
children: formatCost(usageData.cost)
|
|
881
|
+
})]
|
|
882
|
+
})
|
|
883
|
+
]
|
|
884
|
+
})
|
|
885
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
886
|
+
className: "text-center py-8 text-default-600",
|
|
887
|
+
children: "No usage data available"
|
|
888
|
+
}) }),
|
|
889
|
+
/* @__PURE__ */ jsx(ModalFooter, { children: /* @__PURE__ */ jsx(Button, {
|
|
890
|
+
variant: "bordered",
|
|
891
|
+
onPress: onClose,
|
|
892
|
+
children: "Close"
|
|
893
|
+
}) })
|
|
894
|
+
] }) })
|
|
895
|
+
}),
|
|
896
|
+
/* @__PURE__ */ jsx(Modal, {
|
|
897
|
+
isOpen: !!userForMagicLink,
|
|
898
|
+
onOpenChange: (open) => {
|
|
899
|
+
if (!open) {
|
|
900
|
+
setUserForMagicLink(null);
|
|
901
|
+
setGeneratedMagicLink(null);
|
|
902
|
+
setClaimEmail("");
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
children: /* @__PURE__ */ jsx(ModalContent, { children: (onClose) => /* @__PURE__ */ jsxs("form", {
|
|
906
|
+
onSubmit: (e) => {
|
|
907
|
+
e.preventDefault();
|
|
908
|
+
handleGenerateMagicLink();
|
|
909
|
+
},
|
|
910
|
+
className: "space-y-4",
|
|
911
|
+
children: [
|
|
912
|
+
/* @__PURE__ */ jsxs(ModalHeader, {
|
|
913
|
+
className: "flex flex-col gap-1",
|
|
914
|
+
children: [/* @__PURE__ */ jsx("p", {
|
|
915
|
+
className: "text-lg font-semibold",
|
|
916
|
+
children: "Generate Magic Login Link"
|
|
917
|
+
}), /* @__PURE__ */ jsx("p", {
|
|
918
|
+
className: "text-sm text-default-600",
|
|
919
|
+
children: userForMagicLink && `Generate a one-time claim sign-in link for ${userForMagicLink.name}.`
|
|
920
|
+
})]
|
|
921
|
+
}),
|
|
922
|
+
/* @__PURE__ */ jsxs(ModalBody, {
|
|
923
|
+
className: "space-y-4",
|
|
924
|
+
children: [/* @__PURE__ */ jsx(Input, {
|
|
925
|
+
id: magicLinkEmailInputId,
|
|
926
|
+
label: "Claim email",
|
|
927
|
+
labelPlacement: "outside",
|
|
928
|
+
type: "email",
|
|
929
|
+
placeholder: "person@example.com",
|
|
930
|
+
value: claimEmail,
|
|
931
|
+
onChange: (e) => setClaimEmail(e.target.value),
|
|
932
|
+
variant: "bordered",
|
|
933
|
+
description: "This email is used for provider linking and future sign-ins."
|
|
934
|
+
}), /* @__PURE__ */ jsx(Input, {
|
|
935
|
+
id: generatedMagicLinkInputId,
|
|
936
|
+
label: "Generated link",
|
|
937
|
+
labelPlacement: "outside",
|
|
938
|
+
value: generatedMagicLink ?? "",
|
|
939
|
+
readOnly: true,
|
|
940
|
+
variant: "bordered",
|
|
941
|
+
placeholder: "Generate link to see it here"
|
|
942
|
+
})]
|
|
943
|
+
}),
|
|
944
|
+
/* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
945
|
+
/* @__PURE__ */ jsx(Button, {
|
|
946
|
+
variant: "bordered",
|
|
947
|
+
type: "button",
|
|
948
|
+
onPress: onClose,
|
|
949
|
+
children: "Close"
|
|
950
|
+
}),
|
|
951
|
+
/* @__PURE__ */ jsxs(Button, {
|
|
952
|
+
variant: "bordered",
|
|
953
|
+
type: "button",
|
|
954
|
+
onPress: copyGeneratedMagicLink,
|
|
955
|
+
isDisabled: !generatedMagicLink,
|
|
956
|
+
children: [/* @__PURE__ */ jsx(Copy, { className: "h-4 w-4 mr-2" }), "Copy Link"]
|
|
957
|
+
}),
|
|
958
|
+
/* @__PURE__ */ jsxs(Button, {
|
|
959
|
+
color: "primary",
|
|
960
|
+
type: "submit",
|
|
961
|
+
isDisabled: isGeneratingMagicLink,
|
|
962
|
+
children: [isGeneratingMagicLink ? /* @__PURE__ */ jsx(Spinner, { className: "mr-2 h-4 w-4" }) : null, isGeneratingMagicLink ? "Generating..." : "Generate Link"]
|
|
963
|
+
})
|
|
964
|
+
] })
|
|
965
|
+
]
|
|
966
|
+
}) })
|
|
967
|
+
})
|
|
968
|
+
]
|
|
969
|
+
});
|
|
422
970
|
}
|
|
971
|
+
//#endregion
|
|
972
|
+
export { AdminUserManagement };
|
|
973
|
+
|
|
974
|
+
//# sourceMappingURL=AdminUserManagement.js.map
|