@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.
Files changed (770) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +13 -0
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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
  42. 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
  43. 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
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. 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
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +79 -0
  77. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +580 -0
  78. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +14 -0
  79. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +10 -0
  80. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +289 -0
  81. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +32 -0
  82. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +86 -0
  83. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +101 -0
  84. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +16 -0
  85. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +132 -0
  86. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +19 -0
  87. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +5 -0
  88. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +30 -0
  89. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +23 -0
  90. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +153 -0
  91. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +91 -0
  92. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +16 -0
  93. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +16 -0
  94. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +6 -0
  95. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +35 -0
  96. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +43 -0
  97. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +32 -0
  98. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +73 -0
  99. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +26 -0
  100. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +54 -0
  101. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +77 -0
  102. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +32 -0
  103. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +17 -0
  104. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +426 -0
  105. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +11 -0
  106. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +8 -0
  107. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +132 -0
  108. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +29 -0
  109. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +21 -0
  110. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +49 -0
  111. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +18 -0
  112. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +9 -0
  113. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +68 -0
  114. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +5 -0
  115. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +183 -0
  116. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +27 -0
  117. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +25 -0
  118. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +12 -0
  119. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +66 -0
  120. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +15 -0
  121. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +51 -0
  122. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +9 -0
  123. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +32 -0
  124. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +20 -0
  125. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +13 -0
  126. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +13 -0
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. 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
  231. 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
  232. 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
  233. 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
  234. 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
  235. 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
  236. 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
  237. 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
  238. 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
  239. 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
  240. 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
  241. 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
  242. 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
  243. 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
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. 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
  256. 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
  257. 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
  258. 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
  259. 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
  260. 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
  261. 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
  262. 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
  263. 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
  264. 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
  265. 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
  266. 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
  267. 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
  268. 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
  269. 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
  270. 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
  271. 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
  272. 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
  273. 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
  274. 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
  275. 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
  276. 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
  277. 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
  278. 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
  279. 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
  280. 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
  281. 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
  282. 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
  283. 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
  284. 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
  285. 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
  286. 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
  287. 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
  288. 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
  289. 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
  290. 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
  291. 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
  292. 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
  293. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter-base.d.ts +1 -0
  294. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect-adapter.d.ts +1 -0
  295. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/dialect.d.ts +1 -0
  296. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-adapter.d.ts +1 -0
  297. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-dialect.d.ts +1 -0
  298. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/mssql-introspector.d.ts +1 -0
  299. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-adapter.d.ts +1 -0
  300. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-dialect.d.ts +1 -0
  301. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/mysql-introspector.d.ts +1 -0
  302. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-adapter.d.ts +1 -0
  303. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-dialect.d.ts +1 -0
  304. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.d.ts +1 -0
  305. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-adapter.d.ts +1 -0
  306. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-dialect.d.ts +1 -0
  307. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-introspector.d.ts +1 -0
  308. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/expression-builder.d.ts +1 -0
  309. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/index.d.ts +1 -0
  310. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.ts +38 -0
  311. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/file-migration-provider.d.ts +1 -0
  312. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/migrator.d.ts +1 -0
  313. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/binary-operation-parser.d.ts +1 -0
  314. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/delete-from-parser.d.ts +1 -0
  315. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/expression-parser.d.ts +1 -0
  316. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/group-by-parser.d.ts +1 -0
  317. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/insert-values-parser.d.ts +1 -0
  318. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/join-parser.d.ts +1 -0
  319. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/merge-into-parser.d.ts +1 -0
  320. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/reference-parser.d.ts +1 -0
  321. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/returning-parser.d.ts +1 -0
  322. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-from-parser.d.ts +1 -0
  323. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/select-parser.d.ts +1 -0
  324. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/set-operation-parser.d.ts +1 -0
  325. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/tuple-parser.d.ts +1 -0
  326. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/unary-operation-parser.d.ts +1 -0
  327. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-parser.d.ts +1 -0
  328. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/update-set-parser.d.ts +1 -0
  329. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/value-parser.d.ts +1 -0
  330. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/with-parser.d.ts +1 -0
  331. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/case-builder.d.ts +1 -0
  332. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/delete-query-builder.d.ts +1 -0
  333. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/having-interface.d.ts +1 -0
  334. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/insert-query-builder.d.ts +1 -0
  335. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/join-builder.d.ts +1 -0
  336. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/merge-query-builder.d.ts +1 -0
  337. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/on-conflict-builder.d.ts +1 -0
  338. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/output-interface.d.ts +1 -0
  339. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/returning-interface.d.ts +1 -0
  340. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/select-query-builder.d.ts +1 -0
  341. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/update-query-builder.d.ts +1 -0
  342. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/where-interface.d.ts +1 -0
  343. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-creator.d.ts +1 -0
  344. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/default-query-executor.d.ts +1 -0
  345. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/noop-query-executor.d.ts +1 -0
  346. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-base.d.ts +1 -0
  347. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor-provider.d.ts +1 -0
  348. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/query-executor.d.ts +1 -0
  349. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/raw-builder.d.ts +1 -0
  350. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/sql.d.ts +1 -0
  351. 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
  352. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-add-index-builder.d.ts +1 -0
  353. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-builder.d.ts +1 -0
  354. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-drop-constraint-builder.d.ts +1 -0
  355. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/alter-table-executor.d.ts +1 -0
  356. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-index-builder.d.ts +1 -0
  357. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-schema-builder.d.ts +1 -0
  358. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-table-builder.d.ts +1 -0
  359. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-type-builder.d.ts +1 -0
  360. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/create-view-builder.d.ts +1 -0
  361. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-index-builder.d.ts +1 -0
  362. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-schema-builder.d.ts +1 -0
  363. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-table-builder.d.ts +1 -0
  364. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-type-builder.d.ts +1 -0
  365. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/drop-view-builder.d.ts +1 -0
  366. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/refresh-materialized-view-builder.d.ts +1 -0
  367. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/schema.d.ts +1 -0
  368. package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +299 -0
  369. package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +132 -0
  370. package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +766 -0
  371. 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
  372. package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +55 -0
  373. package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +573 -0
  374. package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +610 -0
  375. package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +71 -0
  376. package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +8 -0
  377. package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +2455 -0
  378. package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +106 -0
  379. package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +30 -0
  380. package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +38 -0
  381. package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +13 -0
  382. package/dist/packages/backend/dist/src/modules/base/base.grants.d.ts +1 -0
  383. package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +47 -0
  384. package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +126 -0
  385. package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +34 -0
  386. package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +6 -0
  387. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +2788 -0
  388. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +53 -0
  389. package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +63 -0
  390. package/dist/packages/backend/dist/src/types.d.ts +344 -0
  391. package/dist/packages/backend/dist/src/utils/errors.d.ts +60 -0
  392. package/dist/packages/backend/dist/src/utils/logger.d.ts +8 -0
  393. package/dist/packages/backend/dist/src/utils/trpc.d.ts +23 -0
  394. package/dist/src/animations/card.motion.d.ts +7 -2
  395. package/dist/src/animations/card.motion.js +25 -6
  396. package/dist/src/animations/card.motion.js.map +1 -0
  397. package/dist/src/components/AvatarUpload.d.ts +14 -5
  398. package/dist/src/components/AvatarUpload.js +104 -62
  399. package/dist/src/components/AvatarUpload.js.map +1 -0
  400. package/dist/src/components/Button.d.ts +14 -4
  401. package/dist/src/components/Button.js +13 -4
  402. package/dist/src/components/Button.js.map +1 -0
  403. package/dist/src/components/Calendar.d.ts +33 -31
  404. package/dist/src/components/Calendar.js +14 -6
  405. package/dist/src/components/Calendar.js.map +1 -0
  406. package/dist/src/components/{Calendar.css → Calendar2.css} +757 -684
  407. package/dist/src/components/CardsSelect.d.ts +25 -21
  408. package/dist/src/components/CardsSelect.js +75 -42
  409. package/dist/src/components/CardsSelect.js.map +1 -0
  410. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +22 -9
  411. package/dist/src/components/CollapsibleSidebarMenuItem.js +31 -8
  412. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +1 -0
  413. package/dist/src/components/ColorPicker.d.ts +15 -4
  414. package/dist/src/components/ColorPicker.js +46 -16
  415. package/dist/src/components/ColorPicker.js.map +1 -0
  416. package/dist/src/components/CopyButton.d.ts +18 -6
  417. package/dist/src/components/CopyButton.js +28 -19
  418. package/dist/src/components/CopyButton.js.map +1 -0
  419. package/dist/src/components/CropDialog.d.ts +20 -8
  420. package/dist/src/components/CropDialog.js +107 -61
  421. package/dist/src/components/CropDialog.js.map +1 -0
  422. package/dist/src/components/DialogProvider.d.ts +22 -14
  423. package/dist/src/components/DialogProvider.js +67 -45
  424. package/dist/src/components/DialogProvider.js.map +1 -0
  425. package/dist/src/components/ErrorFallback.d.ts +13 -4
  426. package/dist/src/components/ErrorFallback.js +29 -4
  427. package/dist/src/components/ErrorFallback.js.map +1 -0
  428. package/dist/src/components/FileDropzone.d.ts +12 -4
  429. package/dist/src/components/FileDropzone.js +97 -59
  430. package/dist/src/components/FileDropzone.js.map +1 -0
  431. package/dist/src/components/MultiSelectDropdown.d.ts +25 -22
  432. package/dist/src/components/MultiSelectDropdown.js +99 -49
  433. package/dist/src/components/MultiSelectDropdown.js.map +1 -0
  434. package/dist/src/components/Orb.d.ts +17 -6
  435. package/dist/src/components/Orb.js +263 -255
  436. package/dist/src/components/Orb.js.map +1 -0
  437. package/dist/src/components/PageAlert.d.ts +20 -15
  438. package/dist/src/components/PageAlert.js +67 -39
  439. package/dist/src/components/PageAlert.js.map +1 -0
  440. package/dist/src/components/SelectChips.d.ts +21 -10
  441. package/dist/src/components/SelectChips.js +21 -9
  442. package/dist/src/components/SelectChips.js.map +1 -0
  443. package/dist/src/components/SidebarItem.d.ts +18 -7
  444. package/dist/src/components/SidebarItem.js +16 -4
  445. package/dist/src/components/SidebarItem.js.map +1 -0
  446. package/dist/src/components/Steps.d.ts +21 -16
  447. package/dist/src/components/Steps.js +193 -27
  448. package/dist/src/components/Steps.js.map +1 -0
  449. package/dist/src/components/TablerIconPicker.d.ts +13 -2
  450. package/dist/src/components/TablerIconPicker.js +4254 -4234
  451. package/dist/src/components/TablerIconPicker.js.map +1 -0
  452. package/dist/src/components/app-header.d.ts +14 -6
  453. package/dist/src/components/app-header.js +28 -7
  454. package/dist/src/components/app-header.js.map +1 -0
  455. package/dist/src/components/blur-card.d.ts +25 -11
  456. package/dist/src/components/blur-card.js +134 -31
  457. package/dist/src/components/blur-card.js.map +1 -0
  458. package/dist/src/components/features-section-demo-1.d.ts +22 -6
  459. package/dist/src/components/features-section-demo-1.js +119 -47
  460. package/dist/src/components/features-section-demo-1.js.map +1 -0
  461. package/dist/src/components/features-section-demo-2.d.ts +7 -1
  462. package/dist/src/components/features-section-demo-2.js +80 -49
  463. package/dist/src/components/features-section-demo-2.js.map +1 -0
  464. package/dist/src/components/features-section-demo-3.d.ts +16 -8
  465. package/dist/src/components/features-section-demo-3.js +239 -103
  466. package/dist/src/components/features-section-demo-3.js.map +1 -0
  467. package/dist/src/components/mode-toggle.d.ts +7 -1
  468. package/dist/src/components/mode-toggle.js +42 -7
  469. package/dist/src/components/mode-toggle.js.map +1 -0
  470. package/dist/src/components/nav-main.d.ts +20 -12
  471. package/dist/src/components/nav-main.js +31 -5
  472. package/dist/src/components/nav-main.js.map +1 -0
  473. package/dist/src/components/pricing-cards.d.ts +7 -1
  474. package/dist/src/components/pricing-cards.js +125 -24
  475. package/dist/src/components/pricing-cards.js.map +1 -0
  476. package/dist/src/components/shared/ButtonCopy.d.ts +17 -6
  477. package/dist/src/components/shared/ButtonCopy.js +30 -19
  478. package/dist/src/components/shared/ButtonCopy.js.map +1 -0
  479. package/dist/src/components/team-switcher.d.ts +16 -8
  480. package/dist/src/components/team-switcher.js +70 -8
  481. package/dist/src/components/team-switcher.js.map +1 -0
  482. package/dist/src/components/theme-provider.d.ts +18 -8
  483. package/dist/src/components/theme-provider.js +42 -38
  484. package/dist/src/components/theme-provider.js.map +1 -0
  485. package/dist/src/components/typewriter.d.ts +35 -14
  486. package/dist/src/components/typewriter.js +45 -36
  487. package/dist/src/components/typewriter.js.map +1 -0
  488. package/dist/src/components/ui/alert-dialog.d.ts +48 -13
  489. package/dist/src/components/ui/alert-dialog.js +58 -15
  490. package/dist/src/components/ui/alert-dialog.js.map +1 -0
  491. package/dist/src/components/ui/alert.d.ts +24 -8
  492. package/dist/src/components/ui/alert.js +28 -15
  493. package/dist/src/components/ui/alert.js.map +1 -0
  494. package/dist/src/components/ui/avatar.d.ts +9 -5
  495. package/dist/src/components/ui/avatar.js +23 -7
  496. package/dist/src/components/ui/avatar.js.map +1 -0
  497. package/dist/src/components/ui/badge.d.ts +17 -8
  498. package/dist/src/components/ui/badge.js +17 -14
  499. package/dist/src/components/ui/badge.js.map +1 -0
  500. package/dist/src/components/ui/bento-grid.d.ts +26 -11
  501. package/dist/src/components/ui/bento-grid.js +30 -6
  502. package/dist/src/components/ui/bento-grid.js.map +1 -0
  503. package/dist/src/components/ui/bento-grid2.d.ts +30 -14
  504. package/dist/src/components/ui/bento-grid2.js +45 -9
  505. package/dist/src/components/ui/bento-grid2.js.map +1 -0
  506. package/dist/src/components/ui/breadcrumb.d.ts +27 -15
  507. package/dist/src/components/ui/breadcrumb.js +54 -14
  508. package/dist/src/components/ui/breadcrumb.js.map +1 -0
  509. package/dist/src/components/ui/button.d.ts +14 -9
  510. package/dist/src/components/ui/button.js +37 -26
  511. package/dist/src/components/ui/button.js.map +1 -0
  512. package/dist/src/components/ui/card.d.ts +12 -8
  513. package/dist/src/components/ui/card.js +38 -10
  514. package/dist/src/components/ui/card.js.map +1 -0
  515. package/dist/src/components/ui/checkbox.d.ts +6 -2
  516. package/dist/src/components/ui/checkbox.js +17 -5
  517. package/dist/src/components/ui/checkbox.js.map +1 -0
  518. package/dist/src/components/ui/collapsible.d.ts +9 -4
  519. package/dist/src/components/ui/collapsible.js +5 -1
  520. package/dist/src/components/ui/collapsible.js.map +1 -0
  521. package/dist/src/components/ui/dialog.d.ts +44 -12
  522. package/dist/src/components/ui/dialog.js +64 -14
  523. package/dist/src/components/ui/dialog.js.map +1 -0
  524. package/dist/src/components/ui/dropdown-menu.d.ts +32 -24
  525. package/dist/src/components/ui/dropdown-menu.js +64 -14
  526. package/dist/src/components/ui/dropdown-menu.js.map +1 -0
  527. package/dist/src/components/ui/floating-navbar.d.ts +18 -9
  528. package/dist/src/components/ui/floating-navbar.js +49 -35
  529. package/dist/src/components/ui/floating-navbar.js.map +1 -0
  530. package/dist/src/components/ui/form.d.ts +30 -21
  531. package/dist/src/components/ui/form.js +76 -44
  532. package/dist/src/components/ui/form.js.map +1 -0
  533. package/dist/src/components/ui/image.d.ts +6 -2
  534. package/dist/src/components/ui/image.js +51 -11
  535. package/dist/src/components/ui/image.js.map +1 -0
  536. package/dist/src/components/ui/input.d.ts +6 -2
  537. package/dist/src/components/ui/input.js +14 -5
  538. package/dist/src/components/ui/input.js.map +1 -0
  539. package/dist/src/components/ui/label.d.ts +8 -3
  540. package/dist/src/components/ui/label.js +13 -5
  541. package/dist/src/components/ui/label.js.map +1 -0
  542. package/dist/src/components/ui/pagination.d.ts +39 -12
  543. package/dist/src/components/ui/pagination.js +64 -14
  544. package/dist/src/components/ui/pagination.js.map +1 -0
  545. package/dist/src/components/ui/progress.d.ts +6 -2
  546. package/dist/src/components/ui/progress.js +16 -4
  547. package/dist/src/components/ui/progress.js.map +1 -0
  548. package/dist/src/components/ui/resizable-navbar.d.ts +84 -43
  549. package/dist/src/components/ui/resizable-navbar.js +126 -74
  550. package/dist/src/components/ui/resizable-navbar.js.map +1 -0
  551. package/dist/src/components/ui/segment-control.d.ts +10 -7
  552. package/dist/src/components/ui/segment-control.js +83 -38
  553. package/dist/src/components/ui/segment-control.js.map +1 -0
  554. package/dist/src/components/ui/select.d.ts +16 -12
  555. package/dist/src/components/ui/select.js +63 -14
  556. package/dist/src/components/ui/select.js.map +1 -0
  557. package/dist/src/components/ui/separator.d.ts +6 -2
  558. package/dist/src/components/ui/separator.js +14 -4
  559. package/dist/src/components/ui/separator.js.map +1 -0
  560. package/dist/src/components/ui/sheet.d.ts +30 -19
  561. package/dist/src/components/ui/sheet.js +52 -23
  562. package/dist/src/components/ui/sheet.js.map +1 -0
  563. package/dist/src/components/ui/sidebar.d.ts +69 -62
  564. package/dist/src/components/ui/sidebar.js +326 -171
  565. package/dist/src/components/ui/sidebar.js.map +1 -0
  566. package/dist/src/components/ui/skeleton.d.ts +9 -1
  567. package/dist/src/components/ui/skeleton.js +10 -3
  568. package/dist/src/components/ui/skeleton.js.map +1 -0
  569. package/dist/src/components/ui/slider.d.ts +6 -2
  570. package/dist/src/components/ui/slider.js +16 -4
  571. package/dist/src/components/ui/slider.js.map +1 -0
  572. package/dist/src/components/ui/sonner.d.ts +10 -3
  573. package/dist/src/components/ui/sonner.js +18 -11
  574. package/dist/src/components/ui/sonner.js.map +1 -0
  575. package/dist/src/components/ui/spinner.d.ts +21 -10
  576. package/dist/src/components/ui/spinner.js +24 -24
  577. package/dist/src/components/ui/spinner.js.map +1 -0
  578. package/dist/src/components/ui/switch.d.ts +6 -2
  579. package/dist/src/components/ui/switch.js +13 -4
  580. package/dist/src/components/ui/switch.js.map +1 -0
  581. package/dist/src/components/ui/table.d.ts +39 -10
  582. package/dist/src/components/ui/table.js +51 -11
  583. package/dist/src/components/ui/table.js.map +1 -0
  584. package/dist/src/components/ui/tabs.d.ts +23 -6
  585. package/dist/src/components/ui/tabs.js +27 -7
  586. package/dist/src/components/ui/tabs.js.map +1 -0
  587. package/dist/src/components/ui/textarea.d.ts +10 -2
  588. package/dist/src/components/ui/textarea.js +11 -3
  589. package/dist/src/components/ui/textarea.js.map +1 -0
  590. package/dist/src/components/ui/timeline.d.ts +16 -9
  591. package/dist/src/components/ui/timeline.js +87 -24
  592. package/dist/src/components/ui/timeline.js.map +1 -0
  593. package/dist/src/components/ui/toast.d.ts +19 -14
  594. package/dist/src/components/ui/toast.js +48 -22
  595. package/dist/src/components/ui/toast.js.map +1 -0
  596. package/dist/src/components/ui/tooltip.d.ts +23 -6
  597. package/dist/src/components/ui/tooltip.js +27 -7
  598. package/dist/src/components/ui/tooltip.js.map +1 -0
  599. package/dist/src/components/ui/typewriter-effect.d.ts +28 -14
  600. package/dist/src/components/ui/typewriter-effect.js +102 -72
  601. package/dist/src/components/ui/typewriter-effect.js.map +1 -0
  602. package/dist/src/hooks/use-mobile.d.ts +5 -1
  603. package/dist/src/hooks/use-mobile.js +18 -13
  604. package/dist/src/hooks/use-mobile.js.map +1 -0
  605. package/dist/src/hooks/useDialog.d.ts +8 -4
  606. package/dist/src/hooks/useDialog.js +24 -20
  607. package/dist/src/hooks/useDialog.js.map +1 -0
  608. package/dist/src/icons/GoogleIcon.d.ts +9 -5
  609. package/dist/src/icons/GoogleIcon.js +32 -3
  610. package/dist/src/icons/GoogleIcon.js.map +1 -0
  611. package/dist/src/icons/LinkedInIcon.d.ts +9 -5
  612. package/dist/src/icons/LinkedInIcon.js +27 -3
  613. package/dist/src/icons/LinkedInIcon.js.map +1 -0
  614. package/dist/src/icons/MicrosoftIcon.d.ts +9 -5
  615. package/dist/src/icons/MicrosoftIcon.js +31 -3
  616. package/dist/src/icons/MicrosoftIcon.js.map +1 -0
  617. package/dist/src/lib/chatwoot.d.ts +19 -10
  618. package/dist/src/lib/chatwoot.js +25 -27
  619. package/dist/src/lib/chatwoot.js.map +1 -0
  620. package/dist/src/lib/utils.d.ts +7 -2
  621. package/dist/src/lib/utils.js +7 -2
  622. package/dist/src/lib/utils.js.map +1 -0
  623. package/dist/src/modules/app/components/AppLoader.d.ts +8 -2
  624. package/dist/src/modules/app/components/AppLoader.js +14 -3
  625. package/dist/src/modules/app/components/AppLoader.js.map +1 -0
  626. package/dist/src/modules/app/components/AppShell.d.ts +15 -6
  627. package/dist/src/modules/app/components/AppShell.js +14 -5
  628. package/dist/src/modules/app/components/AppShell.js.map +1 -0
  629. package/dist/src/modules/app/components/AppSidebar.d.ts +16 -6
  630. package/dist/src/modules/app/components/AppSidebar.js +17 -4
  631. package/dist/src/modules/app/components/AppSidebar.js.map +1 -0
  632. package/dist/src/modules/app/components/AppSidebarContent.d.ts +22 -13
  633. package/dist/src/modules/app/components/AppSidebarContent.js +34 -5
  634. package/dist/src/modules/app/components/AppSidebarContent.js.map +1 -0
  635. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +18 -8
  636. package/dist/src/modules/app/components/AppSidebarHeader.js +37 -6
  637. package/dist/src/modules/app/components/AppSidebarHeader.js.map +1 -0
  638. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +11 -3
  639. package/dist/src/modules/app/components/AppSidebarInvites.js +39 -8
  640. package/dist/src/modules/app/components/AppSidebarInvites.js.map +1 -0
  641. package/dist/src/modules/app/components/AppSidebarUser.d.ts +20 -10
  642. package/dist/src/modules/app/components/AppSidebarUser.js +121 -12
  643. package/dist/src/modules/app/components/AppSidebarUser.js.map +1 -0
  644. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +11 -4
  645. package/dist/src/modules/auth/components/AdminUserManagement.js +970 -418
  646. package/dist/src/modules/auth/components/AdminUserManagement.js.map +1 -0
  647. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +11 -4
  648. package/dist/src/modules/auth/components/AdminWaitlist.js +283 -114
  649. package/dist/src/modules/auth/components/AdminWaitlist.js.map +1 -0
  650. package/dist/src/modules/auth/components/AuthLayout.d.ts +12 -4
  651. package/dist/src/modules/auth/components/AuthLayout.js +17 -3
  652. package/dist/src/modules/auth/components/AuthLayout.js.map +1 -0
  653. package/dist/src/modules/auth/components/AuthProviders.d.ts +17 -6
  654. package/dist/src/modules/auth/components/AuthProviders.js +81 -42
  655. package/dist/src/modules/auth/components/AuthProviders.js.map +1 -0
  656. package/dist/src/modules/auth/components/AuthRouter.d.ts +16 -7
  657. package/dist/src/modules/auth/components/AuthRouter.js +46 -10
  658. package/dist/src/modules/auth/components/AuthRouter.js.map +1 -0
  659. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +12 -4
  660. package/dist/src/modules/auth/components/ClaimAccountRoute.js +202 -139
  661. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +1 -0
  662. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +7 -1
  663. package/dist/src/modules/auth/components/ErrorAuthRoute.js +125 -89
  664. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +1 -0
  665. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +7 -1
  666. package/dist/src/modules/auth/components/ForgotPasswordForm.js +49 -23
  667. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +1 -0
  668. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +7 -1
  669. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +34 -6
  670. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +1 -0
  671. package/dist/src/modules/auth/components/InviteFriends.d.ts +12 -4
  672. package/dist/src/modules/auth/components/InviteFriends.js +275 -69
  673. package/dist/src/modules/auth/components/InviteFriends.js.map +1 -0
  674. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +17 -5
  675. package/dist/src/modules/auth/components/LastUsedBadge.js +17 -7
  676. package/dist/src/modules/auth/components/LastUsedBadge.js.map +1 -0
  677. package/dist/src/modules/auth/components/LoginForm.d.ts +11 -3
  678. package/dist/src/modules/auth/components/LoginForm.js +107 -40
  679. package/dist/src/modules/auth/components/LoginForm.js.map +1 -0
  680. package/dist/src/modules/auth/components/LoginRoute.d.ts +11 -3
  681. package/dist/src/modules/auth/components/LoginRoute.js +41 -8
  682. package/dist/src/modules/auth/components/LoginRoute.js.map +1 -0
  683. package/dist/src/modules/auth/components/LogoutRoute.d.ts +7 -1
  684. package/dist/src/modules/auth/components/LogoutRoute.js +18 -12
  685. package/dist/src/modules/auth/components/LogoutRoute.js.map +1 -0
  686. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +21 -8
  687. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +107 -97
  688. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +1 -0
  689. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +58 -48
  690. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +447 -348
  691. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +1 -0
  692. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +27 -16
  693. package/dist/src/modules/auth/components/OrganizationPreferences.js +129 -124
  694. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +1 -0
  695. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +27 -18
  696. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +184 -144
  697. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +1 -0
  698. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +17 -6
  699. package/dist/src/modules/auth/components/OrganizationSwitcher.js +90 -68
  700. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +1 -0
  701. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +44 -33
  702. package/dist/src/modules/auth/components/PreferencesEditor.js +82 -58
  703. package/dist/src/modules/auth/components/PreferencesEditor.js.map +1 -0
  704. package/dist/src/modules/auth/components/ProfileRoute.d.ts +7 -1
  705. package/dist/src/modules/auth/components/ProfileRoute.js +79 -36
  706. package/dist/src/modules/auth/components/ProfileRoute.js.map +1 -0
  707. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +44 -30
  708. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +234 -242
  709. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +1 -0
  710. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +7 -1
  711. package/dist/src/modules/auth/components/ResetPasswordForm.js +97 -35
  712. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +1 -0
  713. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +7 -1
  714. package/dist/src/modules/auth/components/ResetPasswordRoute.js +34 -6
  715. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +1 -0
  716. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +15 -5
  717. package/dist/src/modules/auth/components/SignupFormRoute.js +142 -99
  718. package/dist/src/modules/auth/components/SignupFormRoute.js.map +1 -0
  719. package/dist/src/modules/auth/components/SignupRoute.d.ts +13 -5
  720. package/dist/src/modules/auth/components/SignupRoute.js +59 -13
  721. package/dist/src/modules/auth/components/SignupRoute.js.map +1 -0
  722. package/dist/src/modules/auth/components/UserPreferences.d.ts +22 -11
  723. package/dist/src/modules/auth/components/UserPreferences.js +24 -12
  724. package/dist/src/modules/auth/components/UserPreferences.js.map +1 -0
  725. package/dist/src/modules/auth/components/WaitlistCard.d.ts +11 -4
  726. package/dist/src/modules/auth/components/WaitlistCard.js +63 -28
  727. package/dist/src/modules/auth/components/WaitlistCard.js.map +1 -0
  728. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +13 -5
  729. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +42 -40
  730. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +1 -0
  731. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +15 -6
  732. package/dist/src/modules/billing/components/BillingBetaPage.js +155 -8
  733. package/dist/src/modules/billing/components/BillingBetaPage.js.map +1 -0
  734. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +13 -5
  735. package/dist/src/modules/billing/components/BillingInvoicePage.js +159 -29
  736. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +1 -0
  737. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +11 -4
  738. package/dist/src/modules/billing/components/BillingPlanSelect.js +10 -7
  739. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +1 -0
  740. package/dist/src/modules/billing/components/BillingRouter.d.ts +15 -7
  741. package/dist/src/modules/billing/components/BillingRouter.js +19 -6
  742. package/dist/src/modules/billing/components/BillingRouter.js.map +1 -0
  743. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +17 -7
  744. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +162 -41
  745. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +1 -0
  746. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +18 -8
  747. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +81 -38
  748. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +1 -0
  749. package/dist/src/modules/table/components/NuqsTable.d.ts +33 -21
  750. package/dist/src/modules/table/components/NuqsTable.js +295 -221
  751. package/dist/src/modules/table/components/NuqsTable.js.map +1 -0
  752. package/dist/src/modules/table/components/TableFiltering.d.ts +33 -21
  753. package/dist/src/modules/table/components/TableFiltering.js +407 -225
  754. package/dist/src/modules/table/components/TableFiltering.js.map +1 -0
  755. package/dist/src/modules/table/components/TableGroupBy.d.ts +18 -8
  756. package/dist/src/modules/table/components/TableGroupBy.js +56 -16
  757. package/dist/src/modules/table/components/TableGroupBy.js.map +1 -0
  758. package/dist/src/modules/table/components/TablePagination.d.ts +17 -7
  759. package/dist/src/modules/table/components/TablePagination.js +64 -32
  760. package/dist/src/modules/table/components/TablePagination.js.map +1 -0
  761. package/dist/src/modules/table/components/table.types.d.ts +15 -10
  762. package/dist/src/modules/table/components/table.types.js +0 -1
  763. package/dist/src/modules/table/filterTransformers.d.ts +35 -30
  764. package/dist/src/modules/table/filterTransformers.js +198 -261
  765. package/dist/src/modules/table/filterTransformers.js.map +1 -0
  766. package/dist/src/types.d.ts +8 -3
  767. package/dist/src/types.js +0 -1
  768. package/package.json +38 -36
  769. package/dist/translations/en/web-ui.json +0 -209
  770. package/dist/tsconfig.lib.tsbuildinfo +0 -1
@@ -1,153 +1,193 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from "@heroui/react";
3
- import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
4
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
5
- import { useQuery, useQueryClient } from "@tanstack/react-query";
1
+ import { jsx, jsxs } from "react/jsx-runtime";
6
2
  import { useCallback, useEffect, useMemo, useState } from "react";
7
3
  import { useTranslation } from "react-i18next";
4
+ import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from "@heroui/react";
8
5
  import { toast } from "sonner";
6
+ import { useQuery, useQueryClient } from "@tanstack/react-query";
7
+ import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
8
+ import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
9
+ //#region src/modules/auth/components/OrganizationSettingsRoute.tsx
9
10
  function OrganizationStateCard({ title, message }) {
10
- return (_jsx("div", { className: "p-6", children: _jsxs(Card, { children: [_jsx(CardHeader, { className: "text-lg font-semibold", children: title }), _jsx(CardBody, { children: message })] }) }));
11
+ return /* @__PURE__ */ jsx("div", {
12
+ className: "p-6",
13
+ children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, {
14
+ className: "text-lg font-semibold",
15
+ children: title
16
+ }), /* @__PURE__ */ jsx(CardBody, { children: message })] })
17
+ });
11
18
  }
12
- function useOrganizationAccess({ managerRoles, onInvalidateScopedQueries, }) {
13
- const { data: session, registerSession } = useSession();
14
- const queryClient = useQueryClient();
15
- const activeOrganizationId = session?.session.activeOrganizationId ?? "";
16
- const activeOrganizationRole = session?.session?.activeOrganizationRole ??
17
- "";
18
- const managerRoleSet = useMemo(() => new Set(managerRoles ?? ["admin", "owner"]), [managerRoles]);
19
- const canManageOrganization = managerRoleSet.has(activeOrganizationRole);
20
- const refreshOrganizationQueries = useCallback(async () => {
21
- await Promise.allSettled([
22
- queryClient.invalidateQueries({ queryKey: ["auth-organization-list"] }),
23
- queryClient.invalidateQueries({
24
- queryKey: ["auth-organization-details", activeOrganizationId],
25
- }),
26
- queryClient.invalidateQueries({
27
- queryKey: ["auth-organization-members", activeOrganizationId],
28
- }),
29
- queryClient.invalidateQueries({
30
- queryKey: ["auth-organization-invitations", activeOrganizationId],
31
- }),
32
- ]);
33
- registerSession(() => {
34
- void onInvalidateScopedQueries?.();
35
- });
36
- }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);
37
- return {
38
- activeOrganizationId,
39
- activeOrganizationRole,
40
- canManageOrganization,
41
- refreshOrganizationQueries,
42
- };
19
+ function useOrganizationAccess({ managerRoles, onInvalidateScopedQueries }) {
20
+ const { data: session, registerSession } = useSession();
21
+ const queryClient = useQueryClient();
22
+ const activeOrganizationId = session?.session.activeOrganizationId ?? "";
23
+ const activeOrganizationRole = (session?.session)?.activeOrganizationRole ?? "";
24
+ return {
25
+ activeOrganizationId,
26
+ activeOrganizationRole,
27
+ canManageOrganization: useMemo(() => new Set(managerRoles ?? ["admin", "owner"]), [managerRoles]).has(activeOrganizationRole),
28
+ refreshOrganizationQueries: useCallback(async () => {
29
+ await Promise.allSettled([
30
+ queryClient.invalidateQueries({ queryKey: ["auth-organization-list"] }),
31
+ queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] }),
32
+ queryClient.invalidateQueries({ queryKey: ["auth-organization-members", activeOrganizationId] }),
33
+ queryClient.invalidateQueries({ queryKey: ["auth-organization-invitations", activeOrganizationId] })
34
+ ]);
35
+ registerSession(() => {
36
+ onInvalidateScopedQueries?.();
37
+ });
38
+ }, [
39
+ activeOrganizationId,
40
+ onInvalidateScopedQueries,
41
+ queryClient,
42
+ registerSession
43
+ ])
44
+ };
43
45
  }
44
46
  function useOrganizationConfig() {
45
- const { t } = useTranslation();
46
- const translatedLabels = useMemo(() => ({
47
- settingsTitle: t("web-ui:organization.settings.title"),
48
- settingsDescription: t("web-ui:organization.settings.description"),
49
- settingsNoActive: t("web-ui:organization.settings.noActive"),
50
- settingsManageOnly: t("web-ui:organization.settings.manageOnly"),
51
- formName: t("web-ui:organization.settings.form.name"),
52
- formSlug: t("web-ui:organization.settings.form.slug"),
53
- formMetadata: t("web-ui:organization.settings.form.metadata"),
54
- formMetadataInvalidJson: t("web-ui:organization.settings.form.metadataInvalidJson"),
55
- formMetadataInvalid: t("web-ui:organization.settings.form.metadataInvalid"),
56
- saveButton: t("web-ui:organization.settings.button.save"),
57
- updateSuccess: t("web-ui:organization.settings.updateSuccess"),
58
- updateError: t("web-ui:organization.settings.updateError"),
59
- loadError: t("web-ui:organization.settings.loadError"),
60
- }), [t]);
61
- const translatedRoleLabels = useMemo(() => ({
62
- member: t("web-ui:organization.roles.member"),
63
- admin: t("web-ui:organization.roles.admin"),
64
- owner: t("web-ui:organization.roles.owner"),
65
- }), [t]);
66
- return { resolvedLabels: translatedLabels, resolvedRoleLabels: translatedRoleLabels };
47
+ const { t } = useTranslation();
48
+ return {
49
+ resolvedLabels: useMemo(() => ({
50
+ settingsTitle: t("web-ui:organization.settings.title"),
51
+ settingsDescription: t("web-ui:organization.settings.description"),
52
+ settingsNoActive: t("web-ui:organization.settings.noActive"),
53
+ settingsManageOnly: t("web-ui:organization.settings.manageOnly"),
54
+ formName: t("web-ui:organization.settings.form.name"),
55
+ formSlug: t("web-ui:organization.settings.form.slug"),
56
+ formMetadata: t("web-ui:organization.settings.form.metadata"),
57
+ formMetadataInvalidJson: t("web-ui:organization.settings.form.metadataInvalidJson"),
58
+ formMetadataInvalid: t("web-ui:organization.settings.form.metadataInvalid"),
59
+ saveButton: t("web-ui:organization.settings.button.save"),
60
+ updateSuccess: t("web-ui:organization.settings.updateSuccess"),
61
+ updateError: t("web-ui:organization.settings.updateError"),
62
+ loadError: t("web-ui:organization.settings.loadError")
63
+ }), [t]),
64
+ resolvedRoleLabels: useMemo(() => ({
65
+ member: t("web-ui:organization.roles.member"),
66
+ admin: t("web-ui:organization.roles.admin"),
67
+ owner: t("web-ui:organization.roles.owner")
68
+ }), [t])
69
+ };
67
70
  }
68
- export function OrganizationSettingsRoute({ managerRoles, onInvalidateScopedQueries, }) {
69
- const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();
70
- const { activeOrganizationId, activeOrganizationRole, canManageOrganization, refreshOrganizationQueries, } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });
71
- const [organizationName, setOrganizationName] = useState("");
72
- const [organizationSlug, setOrganizationSlug] = useState("");
73
- const [organizationMetadata, setOrganizationMetadata] = useState("{}");
74
- const [isSavingOrganization, setIsSavingOrganization] = useState(false);
75
- const organizationQuery = useQuery({
76
- queryKey: ["auth-organization-details", activeOrganizationId],
77
- enabled: Boolean(activeOrganizationId && canManageOrganization),
78
- queryFn: async () => {
79
- const { data, error } = await authClient.organization.getFullOrganization({
80
- query: {
81
- organizationId: activeOrganizationId,
82
- membersLimit: 200,
83
- },
84
- });
85
- if (error) {
86
- throw new Error(error.message ?? resolvedLabels.loadError);
87
- }
88
- return data;
89
- },
90
- });
91
- useEffect(() => {
92
- const organization = organizationQuery.data;
93
- if (!organization) {
94
- return;
95
- }
96
- setOrganizationName(organization.name ?? "");
97
- setOrganizationSlug(organization.slug ?? "");
98
- setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));
99
- }, [organizationQuery.data]);
100
- const onUpdateOrganization = async () => {
101
- if (!canManageOrganization || !activeOrganizationId) {
102
- return;
103
- }
104
- try {
105
- setIsSavingOrganization(true);
106
- let parsedMetadata;
107
- try {
108
- parsedMetadata = organizationMetadata.trim()
109
- ? JSON.parse(organizationMetadata)
110
- : {};
111
- }
112
- catch (parseError) {
113
- const message = parseError instanceof SyntaxError
114
- ? resolvedLabels.formMetadataInvalidJson
115
- : parseError instanceof Error
116
- ? parseError.message
117
- : resolvedLabels.formMetadataInvalid;
118
- throw new Error(message);
119
- }
120
- const { error } = await authClient.organization.update({
121
- organizationId: activeOrganizationId,
122
- data: {
123
- name: organizationName.trim(),
124
- slug: organizationSlug.trim(),
125
- metadata: parsedMetadata,
126
- },
127
- });
128
- if (error) {
129
- throw new Error(error.message ?? resolvedLabels.updateError);
130
- }
131
- await refreshOrganizationQueries();
132
- toast.success(resolvedLabels.updateSuccess);
133
- }
134
- catch (error) {
135
- toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);
136
- }
137
- finally {
138
- setIsSavingOrganization(false);
139
- }
140
- };
141
- if (!activeOrganizationId) {
142
- return (_jsx(OrganizationStateCard, { title: resolvedLabels.settingsTitle, message: resolvedLabels.settingsNoActive }));
143
- }
144
- if (!canManageOrganization) {
145
- return (_jsx(OrganizationStateCard, { title: resolvedLabels.settingsTitle, message: resolvedLabels.settingsManageOnly }));
146
- }
147
- if (organizationQuery.isLoading) {
148
- return (_jsx("div", { className: "p-6 flex justify-center", children: _jsx(Spinner, {}) }));
149
- }
150
- return (_jsx("div", { className: "p-6", children: _jsxs(Card, { children: [_jsxs(CardHeader, { className: "flex items-center justify-between", children: [_jsxs("div", { className: "flex flex-col", children: [_jsx("h2", { className: "text-xl font-semibold", children: resolvedLabels.settingsTitle }), _jsx("p", { className: "text-sm text-default-500", children: resolvedLabels.settingsDescription })] }), _jsx(Chip, { variant: "flat", color: "primary", children: resolvedRoleLabels[activeOrganizationRole] ??
151
- activeOrganizationRole ??
152
- resolvedRoleLabels.member })] }), _jsxs(CardBody, { className: "grid gap-3", children: [_jsx(Input, { label: resolvedLabels.formName, value: organizationName, onValueChange: setOrganizationName }), _jsx(Input, { label: resolvedLabels.formSlug, value: organizationSlug, onValueChange: setOrganizationSlug }), _jsx(Textarea, { label: resolvedLabels.formMetadata, value: organizationMetadata, onValueChange: setOrganizationMetadata, minRows: 4 }), _jsx("div", { className: "flex justify-end", children: _jsx(Button, { color: "primary", isLoading: isSavingOrganization, onPress: onUpdateOrganization, children: resolvedLabels.saveButton }) })] })] }) }));
71
+ function OrganizationSettingsRoute({ managerRoles, onInvalidateScopedQueries }) {
72
+ const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();
73
+ const { activeOrganizationId, activeOrganizationRole, canManageOrganization, refreshOrganizationQueries } = useOrganizationAccess({
74
+ managerRoles,
75
+ onInvalidateScopedQueries
76
+ });
77
+ const [organizationName, setOrganizationName] = useState("");
78
+ const [organizationSlug, setOrganizationSlug] = useState("");
79
+ const [organizationMetadata, setOrganizationMetadata] = useState("{}");
80
+ const [isSavingOrganization, setIsSavingOrganization] = useState(false);
81
+ const organizationQuery = useQuery({
82
+ queryKey: ["auth-organization-details", activeOrganizationId],
83
+ enabled: Boolean(activeOrganizationId && canManageOrganization),
84
+ queryFn: async () => {
85
+ const { data, error } = await authClient.organization.getFullOrganization({ query: {
86
+ organizationId: activeOrganizationId,
87
+ membersLimit: 200
88
+ } });
89
+ if (error) throw new Error(error.message ?? resolvedLabels.loadError);
90
+ return data;
91
+ }
92
+ });
93
+ useEffect(() => {
94
+ const organization = organizationQuery.data;
95
+ if (!organization) return;
96
+ setOrganizationName(organization.name ?? "");
97
+ setOrganizationSlug(organization.slug ?? "");
98
+ setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));
99
+ }, [organizationQuery.data]);
100
+ const onUpdateOrganization = async () => {
101
+ if (!canManageOrganization || !activeOrganizationId) return;
102
+ try {
103
+ setIsSavingOrganization(true);
104
+ let parsedMetadata;
105
+ try {
106
+ parsedMetadata = organizationMetadata.trim() ? JSON.parse(organizationMetadata) : {};
107
+ } catch (parseError) {
108
+ const message = parseError instanceof SyntaxError ? resolvedLabels.formMetadataInvalidJson : parseError instanceof Error ? parseError.message : resolvedLabels.formMetadataInvalid;
109
+ throw new Error(message);
110
+ }
111
+ const { error } = await authClient.organization.update({
112
+ organizationId: activeOrganizationId,
113
+ data: {
114
+ name: organizationName.trim(),
115
+ slug: organizationSlug.trim(),
116
+ metadata: parsedMetadata
117
+ }
118
+ });
119
+ if (error) throw new Error(error.message ?? resolvedLabels.updateError);
120
+ await refreshOrganizationQueries();
121
+ toast.success(resolvedLabels.updateSuccess);
122
+ } catch (error) {
123
+ toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);
124
+ } finally {
125
+ setIsSavingOrganization(false);
126
+ }
127
+ };
128
+ if (!activeOrganizationId) return /* @__PURE__ */ jsx(OrganizationStateCard, {
129
+ title: resolvedLabels.settingsTitle,
130
+ message: resolvedLabels.settingsNoActive
131
+ });
132
+ if (!canManageOrganization) return /* @__PURE__ */ jsx(OrganizationStateCard, {
133
+ title: resolvedLabels.settingsTitle,
134
+ message: resolvedLabels.settingsManageOnly
135
+ });
136
+ if (organizationQuery.isLoading) return /* @__PURE__ */ jsx("div", {
137
+ className: "p-6 flex justify-center",
138
+ children: /* @__PURE__ */ jsx(Spinner, {})
139
+ });
140
+ return /* @__PURE__ */ jsx("div", {
141
+ className: "p-6",
142
+ children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsxs(CardHeader, {
143
+ className: "flex items-center justify-between",
144
+ children: [/* @__PURE__ */ jsxs("div", {
145
+ className: "flex flex-col",
146
+ children: [/* @__PURE__ */ jsx("h2", {
147
+ className: "text-xl font-semibold",
148
+ children: resolvedLabels.settingsTitle
149
+ }), /* @__PURE__ */ jsx("p", {
150
+ className: "text-sm text-default-500",
151
+ children: resolvedLabels.settingsDescription
152
+ })]
153
+ }), /* @__PURE__ */ jsx(Chip, {
154
+ variant: "flat",
155
+ color: "primary",
156
+ children: resolvedRoleLabels[activeOrganizationRole] ?? activeOrganizationRole ?? resolvedRoleLabels.member
157
+ })]
158
+ }), /* @__PURE__ */ jsxs(CardBody, {
159
+ className: "grid gap-3",
160
+ children: [
161
+ /* @__PURE__ */ jsx(Input, {
162
+ label: resolvedLabels.formName,
163
+ value: organizationName,
164
+ onValueChange: setOrganizationName
165
+ }),
166
+ /* @__PURE__ */ jsx(Input, {
167
+ label: resolvedLabels.formSlug,
168
+ value: organizationSlug,
169
+ onValueChange: setOrganizationSlug
170
+ }),
171
+ /* @__PURE__ */ jsx(Textarea, {
172
+ label: resolvedLabels.formMetadata,
173
+ value: organizationMetadata,
174
+ onValueChange: setOrganizationMetadata,
175
+ minRows: 4
176
+ }),
177
+ /* @__PURE__ */ jsx("div", {
178
+ className: "flex justify-end",
179
+ children: /* @__PURE__ */ jsx(Button, {
180
+ color: "primary",
181
+ isLoading: isSavingOrganization,
182
+ onPress: onUpdateOrganization,
183
+ children: resolvedLabels.saveButton
184
+ })
185
+ })
186
+ ]
187
+ })] })
188
+ });
153
189
  }
190
+ //#endregion
191
+ export { OrganizationSettingsRoute };
192
+
193
+ //# sourceMappingURL=OrganizationSettingsRoute.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationSettingsRoute.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationSettingsRoute.tsx"],"sourcesContent":["import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\nexport type OrganizationSettingsRouteLabels = {\r\n settingsTitle: string;\r\n settingsDescription: string;\r\n settingsNoActive: string;\r\n settingsManageOnly: string;\r\n formName: string;\r\n formSlug: string;\r\n formMetadata: string;\r\n formMetadataInvalidJson: string;\r\n formMetadataInvalid: string;\r\n saveButton: string;\r\n updateSuccess: string;\r\n updateError: string;\r\n loadError: string;\r\n};\r\n\r\nexport type OrganizationSettingsRouteProps = {\r\n managerRoles?: string[];\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationSettingsRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig() {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationSettingsRouteLabels>(\r\n () => ({\r\n settingsTitle: t(\"web-ui:organization.settings.title\"),\r\n settingsDescription: t(\"web-ui:organization.settings.description\"),\r\n settingsNoActive: t(\"web-ui:organization.settings.noActive\"),\r\n settingsManageOnly: t(\"web-ui:organization.settings.manageOnly\"),\r\n formName: t(\"web-ui:organization.settings.form.name\"),\r\n formSlug: t(\"web-ui:organization.settings.form.slug\"),\r\n formMetadata: t(\"web-ui:organization.settings.form.metadata\"),\r\n formMetadataInvalidJson: t(\"web-ui:organization.settings.form.metadataInvalidJson\"),\r\n formMetadataInvalid: t(\"web-ui:organization.settings.form.metadataInvalid\"),\r\n saveButton: t(\"web-ui:organization.settings.button.save\"),\r\n updateSuccess: t(\"web-ui:organization.settings.updateSuccess\"),\r\n updateError: t(\"web-ui:organization.settings.updateError\"),\r\n loadError: t(\"web-ui:organization.settings.loadError\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n return { resolvedLabels: translatedLabels, resolvedRoleLabels: translatedRoleLabels };\r\n}\r\n\r\nexport function OrganizationSettingsRoute({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: OrganizationSettingsRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [organizationName, setOrganizationName] = useState(\"\");\r\n const [organizationSlug, setOrganizationSlug] = useState(\"\");\r\n const [organizationMetadata, setOrganizationMetadata] = useState(\"{}\");\r\n const [isSavingOrganization, setIsSavingOrganization] = useState(false);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n const organization = organizationQuery.data;\r\n if (!organization) {\r\n return;\r\n }\r\n\r\n setOrganizationName(organization.name ?? \"\");\r\n setOrganizationSlug(organization.slug ?? \"\");\r\n setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));\r\n }, [organizationQuery.data]);\r\n\r\n const onUpdateOrganization = async () => {\r\n if (!canManageOrganization || !activeOrganizationId) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsSavingOrganization(true);\r\n let parsedMetadata: Record<string, unknown>;\r\n try {\r\n parsedMetadata = organizationMetadata.trim()\r\n ? (JSON.parse(organizationMetadata) as Record<string, unknown>)\r\n : {};\r\n } catch (parseError) {\r\n const message =\r\n parseError instanceof SyntaxError\r\n ? resolvedLabels.formMetadataInvalidJson\r\n : parseError instanceof Error\r\n ? parseError.message\r\n : resolvedLabels.formMetadataInvalid;\r\n throw new Error(message);\r\n }\r\n\r\n const { error } = await authClient.organization.update({\r\n organizationId: activeOrganizationId,\r\n data: {\r\n name: organizationName.trim(),\r\n slug: organizationSlug.trim(),\r\n metadata: parsedMetadata,\r\n },\r\n });\r\n\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.updateError);\r\n }\r\n\r\n await refreshOrganizationQueries();\r\n toast.success(resolvedLabels.updateSuccess);\r\n } catch (error) {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);\r\n } finally {\r\n setIsSavingOrganization(false);\r\n }\r\n };\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-xl font-semibold\">{resolvedLabels.settingsTitle}</h2>\r\n <p className=\"text-sm text-default-500\">{resolvedLabels.settingsDescription}</p>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {resolvedRoleLabels[activeOrganizationRole] ??\r\n activeOrganizationRole ??\r\n resolvedRoleLabels.member}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"grid gap-3\">\r\n <Input\r\n label={resolvedLabels.formName}\r\n value={organizationName}\r\n onValueChange={setOrganizationName}\r\n />\r\n <Input\r\n label={resolvedLabels.formSlug}\r\n value={organizationSlug}\r\n onValueChange={setOrganizationSlug}\r\n />\r\n <Textarea\r\n label={resolvedLabels.formMetadata}\r\n value={organizationMetadata}\r\n onValueChange={setOrganizationMetadata}\r\n minRows={4}\r\n />\r\n <div className=\"flex justify-end\">\r\n <Button color=\"primary\" isLoading={isSavingOrganization} onPress={onUpdateOrganization}>\r\n {resolvedLabels.saveButton}\r\n </Button>\r\n </div>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;AAqCA,SAAS,sBAAsB,EAAE,OAAO,WAA+C;AACrF,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,oBAAC,YAAD;GAAY,WAAU;aAAyB;GAAmB,CAAA,EAClE,oBAAC,UAAD,EAAA,UAAW,SAAmB,CAAA,CACzB,EAAA,CAAA;EACH,CAAA;;AAIV,SAAS,sBAAsB,EAC7B,cACA,6BACqF;CACrF,MAAM,EAAE,MAAM,SAAS,oBAAoB,YAAY;CACvD,MAAM,cAAc,gBAAgB;CAEpC,MAAM,uBAAuB,SAAS,QAAQ,wBAAwB;CACtE,MAAM,0BACH,SAAS,UAA6D,0BACvE;AAuBF,QAAO;EACL;EACA;EACA,uBAzBqB,cAAc,IAAI,IAAI,gBAAgB,CAAC,SAAS,QAAQ,CAAC,EAAE,CAAC,aAAa,CAAC,CACpD,IAAI,uBAAuB;EAyBtE,4BAvBiC,YAAY,YAAY;AACzD,SAAM,QAAQ,WAAW;IACvB,YAAY,kBAAkB,EAAE,UAAU,CAAC,yBAAyB,EAAE,CAAC;IACvE,YAAY,kBAAkB,EAC5B,UAAU,CAAC,6BAA6B,qBAAqB,EAC9D,CAAC;IACF,YAAY,kBAAkB,EAC5B,UAAU,CAAC,6BAA6B,qBAAqB,EAC9D,CAAC;IACF,YAAY,kBAAkB,EAC5B,UAAU,CAAC,iCAAiC,qBAAqB,EAClE,CAAC;IACH,CAAC;AAEF,yBAAsB;AACf,iCAA6B;KAClC;KACD;GAAC;GAAsB;GAA2B;GAAa;GAAgB,CAAC;EAOlF;;AAGH,SAAS,wBAAwB;CAC/B,MAAM,EAAE,MAAM,gBAAgB;AA8B9B,QAAO;EAAE,gBA5BgB,eAChB;GACL,eAAe,EAAE,qCAAqC;GACtD,qBAAqB,EAAE,2CAA2C;GAClE,kBAAkB,EAAE,wCAAwC;GAC5D,oBAAoB,EAAE,0CAA0C;GAChE,UAAU,EAAE,yCAAyC;GACrD,UAAU,EAAE,yCAAyC;GACrD,cAAc,EAAE,6CAA6C;GAC7D,yBAAyB,EAAE,wDAAwD;GACnF,qBAAqB,EAAE,oDAAoD;GAC3E,YAAY,EAAE,2CAA2C;GACzD,eAAe,EAAE,6CAA6C;GAC9D,aAAa,EAAE,2CAA2C;GAC1D,WAAW,EAAE,yCAAyC;GACvD,GACD,CAAC,EAAE,CACJ;EAW0C,oBATd,eACpB;GACL,QAAQ,EAAE,mCAAmC;GAC7C,OAAO,EAAE,kCAAkC;GAC3C,OAAO,EAAE,kCAAkC;GAC5C,GACD,CAAC,EAAE,CACJ;EAEoF;;AAGvF,SAAgB,0BAA0B,EACxC,cACA,6BACiC;CACjC,MAAM,EAAE,gBAAgB,uBAAuB,uBAAuB;CAEtE,MAAM,EACJ,sBACA,wBACA,uBACA,+BACE,sBAAsB;EAAE;EAAc;EAA2B,CAAC;CAEtE,MAAM,CAAC,kBAAkB,uBAAuB,SAAS,GAAG;CAC5D,MAAM,CAAC,kBAAkB,uBAAuB,SAAS,GAAG;CAC5D,MAAM,CAAC,sBAAsB,2BAA2B,SAAS,KAAK;CACtE,MAAM,CAAC,sBAAsB,2BAA2B,SAAS,MAAM;CAEvE,MAAM,oBAAoB,SAAS;EACjC,UAAU,CAAC,6BAA6B,qBAAqB;EAC7D,SAAS,QAAQ,wBAAwB,sBAAsB;EAC/D,SAAS,YAAY;GACnB,MAAM,EAAE,MAAM,UAAU,MAAM,WAAW,aAAa,oBAAoB,EACxE,OAAO;IACL,gBAAgB;IAChB,cAAc;IACf,EACF,CAAC;AACF,OAAI,MACF,OAAM,IAAI,MAAM,MAAM,WAAW,eAAe,UAAU;AAE5D,UAAO;;EAEV,CAAC;AAEF,iBAAgB;EACd,MAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC,aACH;AAGF,sBAAoB,aAAa,QAAQ,GAAG;AAC5C,sBAAoB,aAAa,QAAQ,GAAG;AAC5C,0BAAwB,KAAK,UAAU,aAAa,YAAY,EAAE,EAAE,MAAM,EAAE,CAAC;IAC5E,CAAC,kBAAkB,KAAK,CAAC;CAE5B,MAAM,uBAAuB,YAAY;AACvC,MAAI,CAAC,yBAAyB,CAAC,qBAC7B;AAGF,MAAI;AACF,2BAAwB,KAAK;GAC7B,IAAI;AACJ,OAAI;AACF,qBAAiB,qBAAqB,MAAM,GACvC,KAAK,MAAM,qBAAqB,GACjC,EAAE;YACC,YAAY;IACnB,MAAM,UACJ,sBAAsB,cAClB,eAAe,0BACf,sBAAsB,QACpB,WAAW,UACX,eAAe;AACvB,UAAM,IAAI,MAAM,QAAQ;;GAG1B,MAAM,EAAE,UAAU,MAAM,WAAW,aAAa,OAAO;IACrD,gBAAgB;IAChB,MAAM;KACJ,MAAM,iBAAiB,MAAM;KAC7B,MAAM,iBAAiB,MAAM;KAC7B,UAAU;KACX;IACF,CAAC;AAEF,OAAI,MACF,OAAM,IAAI,MAAM,MAAM,WAAW,eAAe,YAAY;AAG9D,SAAM,4BAA4B;AAClC,SAAM,QAAQ,eAAe,cAAc;WACpC,OAAO;AACd,SAAM,MAAM,iBAAiB,QAAQ,MAAM,UAAU,eAAe,YAAY;YACxE;AACR,2BAAwB,MAAM;;;AAIlC,KAAI,CAAC,qBACH,QACE,oBAAC,uBAAD;EACE,OAAO,eAAe;EACtB,SAAS,eAAe;EACxB,CAAA;AAIN,KAAI,CAAC,sBACH,QACE,oBAAC,uBAAD;EACE,OAAO,eAAe;EACtB,SAAS,eAAe;EACxB,CAAA;AAIN,KAAI,kBAAkB,UACpB,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,oBAAC,SAAD,EAAW,CAAA;EACP,CAAA;AAIV,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,qBAAC,YAAD;GAAY,WAAU;aAAtB,CACE,qBAAC,OAAD;IAAK,WAAU;cAAf,CACE,oBAAC,MAAD;KAAI,WAAU;eAAyB,eAAe;KAAmB,CAAA,EACzE,oBAAC,KAAD;KAAG,WAAU;eAA4B,eAAe;KAAwB,CAAA,CAC5E;OACN,oBAAC,MAAD;IAAM,SAAQ;IAAO,OAAM;cACxB,mBAAmB,2BAClB,0BACA,mBAAmB;IAChB,CAAA,CACI;MACb,qBAAC,UAAD;GAAU,WAAU;aAApB;IACE,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,UAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,SAAS;KACT,CAAA;IACF,oBAAC,OAAD;KAAK,WAAU;eACb,oBAAC,QAAD;MAAQ,OAAM;MAAU,WAAW;MAAsB,SAAS;gBAC/D,eAAe;MACT,CAAA;KACL,CAAA;IACG;KACN,EAAA,CAAA;EACH,CAAA"}
@@ -1,7 +1,18 @@
1
- export type OrganizationSwitcherProps = {
2
- onInvalidateScopedQueries?: () => void | Promise<void>;
3
- managerRoles?: string[];
4
- managerPath?: string;
5
- fallbackPath?: string;
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/modules/auth/components/OrganizationSwitcher.d.ts
4
+ type OrganizationSwitcherProps = {
5
+ onInvalidateScopedQueries?: () => void | Promise<void>;
6
+ managerRoles?: string[];
7
+ managerPath?: string;
8
+ fallbackPath?: string;
6
9
  };
7
- export declare function OrganizationSwitcher({ onInvalidateScopedQueries, managerRoles, managerPath, fallbackPath, }: OrganizationSwitcherProps): import("react/jsx-runtime").JSX.Element;
10
+ declare function OrganizationSwitcher({
11
+ onInvalidateScopedQueries,
12
+ managerRoles,
13
+ managerPath,
14
+ fallbackPath
15
+ }: OrganizationSwitcherProps): _$react_jsx_runtime0.JSX.Element;
16
+ //#endregion
17
+ export { OrganizationSwitcher, OrganizationSwitcherProps };
18
+ //# sourceMappingURL=OrganizationSwitcher.d.ts.map
@@ -1,74 +1,96 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button, Select, SelectItem } from "@heroui/react";
3
- import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
4
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
5
- import { useQuery } from "@tanstack/react-query";
1
+ import { cn } from "../../../lib/utils.js";
2
+ import { useSidebar } from "../../../components/ui/sidebar.js";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
6
4
  import { Building2 } from "lucide-react";
7
5
  import { useCallback, useMemo, useState } from "react";
8
6
  import { useTranslation } from "react-i18next";
9
7
  import { Link } from "react-router";
8
+ import { Button, Select, SelectItem } from "@heroui/react";
10
9
  import { toast } from "sonner";
11
- import { useSidebar } from "../../../components/ui/sidebar";
12
- import { cn } from "../../../lib/utils";
13
- export function OrganizationSwitcher({ onInvalidateScopedQueries, managerRoles = ["admin", "owner"], managerPath = "/organization/members", fallbackPath = "/", }) {
14
- const { t } = useTranslation();
15
- const { data: session, registerSession } = useSession();
16
- const { open } = useSidebar();
17
- const [isSwitching, setIsSwitching] = useState(false);
18
- const activeOrganizationId = session?.session.activeOrganizationId ?? null;
19
- const activeOrganizationRole = session?.session?.activeOrganizationRole ??
20
- "";
21
- const managerRoleSet = useMemo(() => new Set(managerRoles), [managerRoles]);
22
- const canManageOrganization = managerRoleSet.has(activeOrganizationRole);
23
- const { data: organizations = [], isError, error, refetch, } = useQuery({
24
- queryKey: ["auth-organization-list"],
25
- queryFn: async () => {
26
- const { data, error } = await authClient.organization.list();
27
- if (error) {
28
- throw new Error(error.message ?? t("web-ui:organization.switcher.failedToLoadOrganizations"));
29
- }
30
- return (data ?? []);
31
- },
32
- });
33
- const handleSwitchOrganization = useCallback(async (organizationId) => {
34
- if (!organizationId || organizationId === activeOrganizationId || isSwitching) {
35
- return;
36
- }
37
- try {
38
- setIsSwitching(true);
39
- const { error } = await authClient.organization.setActive({ organizationId });
40
- if (error) {
41
- throw new Error(error.message ?? t("web-ui:organization.switcher.failedToSwitchOrganization"));
42
- }
43
- registerSession(() => {
44
- void onInvalidateScopedQueries?.();
45
- });
46
- toast.success(t("web-ui:organization.switcher.organizationSwitched"));
47
- }
48
- catch (error) {
49
- toast.error(error instanceof Error
50
- ? error.message
51
- : t("web-ui:organization.switcher.failedToSwitchOrganization"));
52
- }
53
- finally {
54
- setIsSwitching(false);
55
- }
56
- }, [activeOrganizationId, isSwitching, onInvalidateScopedQueries, registerSession, t]);
57
- if (!open) {
58
- return (_jsx(Button, { as: Link, to: canManageOrganization ? managerPath : fallbackPath, variant: "light", size: "sm", isIconOnly: true, "aria-label": t("web-ui:organization.switcher.label"), children: _jsx(Building2, { className: "h-4 w-4" }) }));
59
- }
60
- if (isError) {
61
- return (_jsxs("div", { className: "mb-4 flex flex-col gap-2", children: [_jsx("p", { className: "text-sm text-destructive", children: error instanceof Error
62
- ? error.message
63
- : t("web-ui:organization.switcher.failedToLoadOrganizations") }), _jsx(Button, { size: "sm", variant: "flat", onPress: () => void refetch(), children: t("web-ui:organization.switcher.retry") })] }));
64
- }
65
- return (_jsx("div", { className: "mb-4", children: _jsx(Select, { size: "sm", label: t("web-ui:organization.switcher.label"), selectedKeys: activeOrganizationId ? [activeOrganizationId] : [], disallowEmptySelection: true, isDisabled: isSwitching || organizations.length === 0, onSelectionChange: (keys) => {
66
- const selectedOrganizationId = Array.from(keys)[0];
67
- if (selectedOrganizationId) {
68
- void handleSwitchOrganization(selectedOrganizationId);
69
- }
70
- }, classNames: {
71
- trigger: cn("min-h-10"),
72
- value: cn("text-sm"),
73
- }, children: organizations.map((organization) => (_jsx(SelectItem, { children: organization.name }, organization.id))) }) }));
10
+ import { useQuery } from "@tanstack/react-query";
11
+ import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
12
+ import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
13
+ //#region src/modules/auth/components/OrganizationSwitcher.tsx
14
+ function OrganizationSwitcher({ onInvalidateScopedQueries, managerRoles = ["admin", "owner"], managerPath = "/organization/members", fallbackPath = "/" }) {
15
+ const { t } = useTranslation();
16
+ const { data: session, registerSession } = useSession();
17
+ const { open } = useSidebar();
18
+ const [isSwitching, setIsSwitching] = useState(false);
19
+ const activeOrganizationId = session?.session.activeOrganizationId ?? null;
20
+ const activeOrganizationRole = (session?.session)?.activeOrganizationRole ?? "";
21
+ const canManageOrganization = useMemo(() => new Set(managerRoles), [managerRoles]).has(activeOrganizationRole);
22
+ const { data: organizations = [], isError, error, refetch } = useQuery({
23
+ queryKey: ["auth-organization-list"],
24
+ queryFn: async () => {
25
+ const { data, error } = await authClient.organization.list();
26
+ if (error) throw new Error(error.message ?? t("web-ui:organization.switcher.failedToLoadOrganizations"));
27
+ return data ?? [];
28
+ }
29
+ });
30
+ const handleSwitchOrganization = useCallback(async (organizationId) => {
31
+ if (!organizationId || organizationId === activeOrganizationId || isSwitching) return;
32
+ try {
33
+ setIsSwitching(true);
34
+ const { error } = await authClient.organization.setActive({ organizationId });
35
+ if (error) throw new Error(error.message ?? t("web-ui:organization.switcher.failedToSwitchOrganization"));
36
+ registerSession(() => {
37
+ onInvalidateScopedQueries?.();
38
+ });
39
+ toast.success(t("web-ui:organization.switcher.organizationSwitched"));
40
+ } catch (error) {
41
+ toast.error(error instanceof Error ? error.message : t("web-ui:organization.switcher.failedToSwitchOrganization"));
42
+ } finally {
43
+ setIsSwitching(false);
44
+ }
45
+ }, [
46
+ activeOrganizationId,
47
+ isSwitching,
48
+ onInvalidateScopedQueries,
49
+ registerSession,
50
+ t
51
+ ]);
52
+ if (!open) return /* @__PURE__ */ jsx(Button, {
53
+ as: Link,
54
+ to: canManageOrganization ? managerPath : fallbackPath,
55
+ variant: "light",
56
+ size: "sm",
57
+ isIconOnly: true,
58
+ "aria-label": t("web-ui:organization.switcher.label"),
59
+ children: /* @__PURE__ */ jsx(Building2, { className: "h-4 w-4" })
60
+ });
61
+ if (isError) return /* @__PURE__ */ jsxs("div", {
62
+ className: "mb-4 flex flex-col gap-2",
63
+ children: [/* @__PURE__ */ jsx("p", {
64
+ className: "text-sm text-destructive",
65
+ children: error instanceof Error ? error.message : t("web-ui:organization.switcher.failedToLoadOrganizations")
66
+ }), /* @__PURE__ */ jsx(Button, {
67
+ size: "sm",
68
+ variant: "flat",
69
+ onPress: () => void refetch(),
70
+ children: t("web-ui:organization.switcher.retry")
71
+ })]
72
+ });
73
+ return /* @__PURE__ */ jsx("div", {
74
+ className: "mb-4",
75
+ children: /* @__PURE__ */ jsx(Select, {
76
+ size: "sm",
77
+ label: t("web-ui:organization.switcher.label"),
78
+ selectedKeys: activeOrganizationId ? [activeOrganizationId] : [],
79
+ disallowEmptySelection: true,
80
+ isDisabled: isSwitching || organizations.length === 0,
81
+ onSelectionChange: (keys) => {
82
+ const selectedOrganizationId = Array.from(keys)[0];
83
+ if (selectedOrganizationId) handleSwitchOrganization(selectedOrganizationId);
84
+ },
85
+ classNames: {
86
+ trigger: cn("min-h-10"),
87
+ value: cn("text-sm")
88
+ },
89
+ children: organizations.map((organization) => /* @__PURE__ */ jsx(SelectItem, { children: organization.name }, organization.id))
90
+ })
91
+ });
74
92
  }
93
+ //#endregion
94
+ export { OrganizationSwitcher };
95
+
96
+ //# sourceMappingURL=OrganizationSwitcher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationSwitcher.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationSwitcher.tsx"],"sourcesContent":["import { Button, Select, SelectItem } from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useQuery } from \"@tanstack/react-query\";\r\nimport { Building2 } from \"lucide-react\";\r\nimport { useCallback, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Link } from \"react-router\";\r\nimport { toast } from \"sonner\";\r\nimport { useSidebar } from \"../../../components/ui/sidebar\";\r\nimport { cn } from \"../../../lib/utils\";\r\n\r\ntype OrganizationOption = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n};\r\n\r\nexport type OrganizationSwitcherProps = {\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n managerRoles?: string[];\r\n managerPath?: string;\r\n fallbackPath?: string;\r\n};\r\n\r\nexport function OrganizationSwitcher({\r\n onInvalidateScopedQueries,\r\n managerRoles = [\"admin\", \"owner\"],\r\n managerPath = \"/organization/members\",\r\n fallbackPath = \"/\",\r\n}: OrganizationSwitcherProps) {\r\n const { t } = useTranslation();\r\n const { data: session, registerSession } = useSession();\r\n const { open } = useSidebar();\r\n const [isSwitching, setIsSwitching] = useState(false);\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? null;\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const {\r\n data: organizations = [],\r\n isError,\r\n error,\r\n refetch,\r\n } = useQuery({\r\n queryKey: [\"auth-organization-list\"],\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.list();\r\n if (error) {\r\n throw new Error(\r\n error.message ?? t(\"web-ui:organization.switcher.failedToLoadOrganizations\")\r\n );\r\n }\r\n return (data ?? []) as OrganizationOption[];\r\n },\r\n });\r\n\r\n const handleSwitchOrganization = useCallback(\r\n async (organizationId: string) => {\r\n if (!organizationId || organizationId === activeOrganizationId || isSwitching) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsSwitching(true);\r\n const { error } = await authClient.organization.setActive({ organizationId });\r\n if (error) {\r\n throw new Error(\r\n error.message ?? t(\"web-ui:organization.switcher.failedToSwitchOrganization\")\r\n );\r\n }\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n toast.success(t(\"web-ui:organization.switcher.organizationSwitched\"));\r\n } catch (error) {\r\n toast.error(\r\n error instanceof Error\r\n ? error.message\r\n : t(\"web-ui:organization.switcher.failedToSwitchOrganization\")\r\n );\r\n } finally {\r\n setIsSwitching(false);\r\n }\r\n },\r\n [activeOrganizationId, isSwitching, onInvalidateScopedQueries, registerSession, t]\r\n );\r\n\r\n if (!open) {\r\n return (\r\n <Button\r\n as={Link}\r\n to={canManageOrganization ? managerPath : fallbackPath}\r\n variant=\"light\"\r\n size=\"sm\"\r\n isIconOnly\r\n aria-label={t(\"web-ui:organization.switcher.label\")}\r\n >\r\n <Building2 className=\"h-4 w-4\" />\r\n </Button>\r\n );\r\n }\r\n\r\n if (isError) {\r\n return (\r\n <div className=\"mb-4 flex flex-col gap-2\">\r\n <p className=\"text-sm text-destructive\">\r\n {error instanceof Error\r\n ? error.message\r\n : t(\"web-ui:organization.switcher.failedToLoadOrganizations\")}\r\n </p>\r\n <Button size=\"sm\" variant=\"flat\" onPress={() => void refetch()}>\r\n {t(\"web-ui:organization.switcher.retry\")}\r\n </Button>\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"mb-4\">\r\n <Select\r\n size=\"sm\"\r\n label={t(\"web-ui:organization.switcher.label\")}\r\n selectedKeys={activeOrganizationId ? [activeOrganizationId] : []}\r\n disallowEmptySelection\r\n isDisabled={isSwitching || organizations.length === 0}\r\n onSelectionChange={(keys) => {\r\n const selectedOrganizationId = Array.from(keys as Set<string>)[0];\r\n if (selectedOrganizationId) {\r\n void handleSwitchOrganization(selectedOrganizationId);\r\n }\r\n }}\r\n classNames={{\r\n trigger: cn(\"min-h-10\"),\r\n value: cn(\"text-sm\"),\r\n }}\r\n >\r\n {organizations.map((organization) => (\r\n <SelectItem key={organization.id}>{organization.name}</SelectItem>\r\n ))}\r\n </Select>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;;;;;AAyBA,SAAgB,qBAAqB,EACnC,2BACA,eAAe,CAAC,SAAS,QAAQ,EACjC,cAAc,yBACd,eAAe,OACa;CAC5B,MAAM,EAAE,MAAM,gBAAgB;CAC9B,MAAM,EAAE,MAAM,SAAS,oBAAoB,YAAY;CACvD,MAAM,EAAE,SAAS,YAAY;CAC7B,MAAM,CAAC,aAAa,kBAAkB,SAAS,MAAM;CACrD,MAAM,uBAAuB,SAAS,QAAQ,wBAAwB;CACtE,MAAM,0BACH,SAAS,UAA6D,0BACvE;CAEF,MAAM,wBADiB,cAAc,IAAI,IAAI,aAAa,EAAE,CAAC,aAAa,CAAC,CAC9B,IAAI,uBAAuB;CAExE,MAAM,EACJ,MAAM,gBAAgB,EAAE,EACxB,SACA,OACA,YACE,SAAS;EACX,UAAU,CAAC,yBAAyB;EACpC,SAAS,YAAY;GACnB,MAAM,EAAE,MAAM,UAAU,MAAM,WAAW,aAAa,MAAM;AAC5D,OAAI,MACF,OAAM,IAAI,MACR,MAAM,WAAW,EAAE,yDAAyD,CAC7E;AAEH,UAAQ,QAAQ,EAAE;;EAErB,CAAC;CAEF,MAAM,2BAA2B,YAC/B,OAAO,mBAA2B;AAChC,MAAI,CAAC,kBAAkB,mBAAmB,wBAAwB,YAChE;AAGF,MAAI;AACF,kBAAe,KAAK;GACpB,MAAM,EAAE,UAAU,MAAM,WAAW,aAAa,UAAU,EAAE,gBAAgB,CAAC;AAC7E,OAAI,MACF,OAAM,IAAI,MACR,MAAM,WAAW,EAAE,0DAA0D,CAC9E;AAGH,yBAAsB;AACf,iCAA6B;KAClC;AACF,SAAM,QAAQ,EAAE,oDAAoD,CAAC;WAC9D,OAAO;AACd,SAAM,MACJ,iBAAiB,QACb,MAAM,UACN,EAAE,0DAA0D,CACjE;YACO;AACR,kBAAe,MAAM;;IAGzB;EAAC;EAAsB;EAAa;EAA2B;EAAiB;EAAE,CACnF;AAED,KAAI,CAAC,KACH,QACE,oBAAC,QAAD;EACE,IAAI;EACJ,IAAI,wBAAwB,cAAc;EAC1C,SAAQ;EACR,MAAK;EACL,YAAA;EACA,cAAY,EAAE,qCAAqC;YAEnD,oBAAC,WAAD,EAAW,WAAU,WAAY,CAAA;EAC1B,CAAA;AAIb,KAAI,QACF,QACE,qBAAC,OAAD;EAAK,WAAU;YAAf,CACE,oBAAC,KAAD;GAAG,WAAU;aACV,iBAAiB,QACd,MAAM,UACN,EAAE,yDAAyD;GAC7D,CAAA,EACJ,oBAAC,QAAD;GAAQ,MAAK;GAAK,SAAQ;GAAO,eAAe,KAAK,SAAS;aAC3D,EAAE,qCAAqC;GACjC,CAAA,CACL;;AAIV,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,oBAAC,QAAD;GACE,MAAK;GACL,OAAO,EAAE,qCAAqC;GAC9C,cAAc,uBAAuB,CAAC,qBAAqB,GAAG,EAAE;GAChE,wBAAA;GACA,YAAY,eAAe,cAAc,WAAW;GACpD,oBAAoB,SAAS;IAC3B,MAAM,yBAAyB,MAAM,KAAK,KAAoB,CAAC;AAC/D,QAAI,uBACG,0BAAyB,uBAAuB;;GAGzD,YAAY;IACV,SAAS,GAAG,WAAW;IACvB,OAAO,GAAG,UAAU;IACrB;aAEA,cAAc,KAAK,iBAClB,oBAAC,YAAD,EAAA,UAAmC,aAAa,MAAkB,EAAjD,aAAa,GAAoC,CAClE;GACK,CAAA;EACL,CAAA"}