@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationMembersRoute.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationMembersRoute.tsx"],"sourcesContent":["import {\r\n Button,\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n Chip,\r\n Input,\r\n Select,\r\n SelectItem,\r\n Spinner,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableColumn,\r\n TableHeader,\r\n TableRow,\r\n} from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useMutation, useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { Copy, Trash2, UserPlus, Users } from \"lucide-react\";\r\nimport { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\ntype OrganizationMember = {\r\n id: string;\r\n userId: string;\r\n role: string;\r\n user: {\r\n id: string;\r\n name: string;\r\n email: string;\r\n image?: string | null;\r\n };\r\n};\r\n\r\ntype OrganizationInvitation = {\r\n id: string;\r\n organizationId: string;\r\n email: string;\r\n role: string;\r\n status: string;\r\n inviterId: string;\r\n createdAt: Date | string;\r\n expiresAt: Date | string;\r\n};\r\n\r\ntype CombinedMemberRow =\r\n | {\r\n kind: \"member\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"active\";\r\n memberId: string;\r\n }\r\n | {\r\n kind: \"invitation\";\r\n id: string;\r\n displayName: string;\r\n email: string;\r\n role: string;\r\n status: \"invited\";\r\n invitationId: string;\r\n };\r\n\r\nconst ORGANIZATION_ROLES = [\"member\", \"admin\", \"owner\"] as const;\r\n\r\nexport type OrganizationRole = (typeof ORGANIZATION_ROLES)[number];\r\n\r\nfunction isOrganizationRole(role: string): role is OrganizationRole {\r\n return (ORGANIZATION_ROLES as readonly string[]).includes(role);\r\n}\r\n\r\nexport type OrganizationMembersRouteLabels = {\r\n loadError: string;\r\n membersTitle: string;\r\n membersNoActive: string;\r\n membersManageOnly: string;\r\n membersDescription: (organizationName: string) => string;\r\n defaultOrganizationName: string;\r\n loadMembersError: string;\r\n loadInvitationsError: string;\r\n roleUpdateSuccess: string;\r\n roleUpdateError: string;\r\n removeMemberSuccess: string;\r\n removeMemberError: string;\r\n emailRequired: string;\r\n inviteSuccess: string;\r\n inviteError: string;\r\n cancelInvitationSuccess: string;\r\n cancelInvitationError: string;\r\n inviteLinkCopied: string;\r\n copyInviteLinkError: string;\r\n unknownName: string;\r\n invitedUser: string;\r\n emailLabel: string;\r\n emailPlaceholder: string;\r\n roleLabel: string;\r\n inviteButton: string;\r\n tableTitle: string;\r\n columnName: string;\r\n columnEmail: string;\r\n columnRole: string;\r\n columnStatus: string;\r\n columnActions: string;\r\n tableEmpty: string;\r\n roleFor: (name: string) => string;\r\n statusActive: string;\r\n statusInvited: string;\r\n removeMember: string;\r\n copyInviteLink: string;\r\n cancelInvitation: string;\r\n roleUnknown: string;\r\n};\r\n\r\nexport type OrganizationMembersRouteProps = {\r\n managerRoles?: string[];\r\n assignableRoles?: OrganizationRole[];\r\n invitationAcceptPath?: string;\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationMembersRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig({\r\n assignableRoles,\r\n}: Pick<OrganizationMembersRouteProps, \"assignableRoles\">) {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationMembersRouteLabels>(\r\n () => ({\r\n loadError: t(\"web-ui:organization.members.loadError\"),\r\n membersTitle: t(\"web-ui:organization.members.title\"),\r\n membersNoActive: t(\"web-ui:organization.members.noActive\"),\r\n membersManageOnly: t(\"web-ui:organization.members.manageOnly\"),\r\n membersDescription: (organizationName: string) =>\r\n t(\"web-ui:organization.members.description\", { name: organizationName }),\r\n defaultOrganizationName: t(\"web-ui:organization.members.defaultName\"),\r\n loadMembersError: t(\"web-ui:organization.members.loadMembersError\"),\r\n loadInvitationsError: t(\"web-ui:organization.members.loadInvitationsError\"),\r\n roleUpdateSuccess: t(\"web-ui:organization.members.roleUpdateSuccess\"),\r\n roleUpdateError: t(\"web-ui:organization.members.roleUpdateError\"),\r\n removeMemberSuccess: t(\"web-ui:organization.members.removeMemberSuccess\"),\r\n removeMemberError: t(\"web-ui:organization.members.removeMemberError\"),\r\n emailRequired: t(\"web-ui:organization.members.emailRequired\"),\r\n inviteSuccess: t(\"web-ui:organization.members.inviteSuccess\"),\r\n inviteError: t(\"web-ui:organization.members.inviteError\"),\r\n cancelInvitationSuccess: t(\"web-ui:organization.members.cancelInvitationSuccess\"),\r\n cancelInvitationError: t(\"web-ui:organization.members.cancelInvitationError\"),\r\n inviteLinkCopied: t(\"web-ui:organization.members.inviteLinkCopied\"),\r\n copyInviteLinkError: t(\"web-ui:organization.members.copyInviteLinkError\"),\r\n unknownName: t(\"web-ui:organization.members.unknownName\"),\r\n invitedUser: t(\"web-ui:organization.members.invitedUser\"),\r\n emailLabel: t(\"web-ui:organization.members.emailLabel\"),\r\n emailPlaceholder: t(\"web-ui:organization.members.emailPlaceholder\"),\r\n roleLabel: t(\"web-ui:organization.members.roleLabel\"),\r\n inviteButton: t(\"web-ui:organization.members.inviteButton\"),\r\n tableTitle: t(\"web-ui:organization.members.tableTitle\"),\r\n columnName: t(\"web-ui:organization.members.columnName\"),\r\n columnEmail: t(\"web-ui:organization.members.columnEmail\"),\r\n columnRole: t(\"web-ui:organization.members.columnRole\"),\r\n columnStatus: t(\"web-ui:organization.members.columnStatus\"),\r\n columnActions: t(\"web-ui:organization.members.columnActions\"),\r\n tableEmpty: t(\"web-ui:organization.members.tableEmpty\"),\r\n roleFor: (name: string) => t(\"web-ui:organization.members.roleFor\", { name }),\r\n statusActive: t(\"web-ui:organization.members.statusActive\"),\r\n statusInvited: t(\"web-ui:organization.members.statusInvited\"),\r\n removeMember: t(\"web-ui:organization.members.removeMember\"),\r\n copyInviteLink: t(\"web-ui:organization.members.copyInviteLink\"),\r\n cancelInvitation: t(\"web-ui:organization.members.cancelInvitation\"),\r\n roleUnknown: t(\"web-ui:organization.members.roleUnknown\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const resolvedAssignableRoles = useMemo(\r\n () =>\r\n assignableRoles && assignableRoles.length > 0 ? assignableRoles : [...ORGANIZATION_ROLES],\r\n [assignableRoles]\r\n );\r\n\r\n return {\r\n resolvedLabels: translatedLabels,\r\n resolvedRoleLabels: translatedRoleLabels,\r\n resolvedAssignableRoles,\r\n };\r\n}\r\n\r\nexport function OrganizationMembersRoute({\r\n managerRoles,\r\n assignableRoles,\r\n invitationAcceptPath,\r\n onInvalidateScopedQueries,\r\n}: OrganizationMembersRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels, resolvedAssignableRoles } = useOrganizationConfig({\r\n assignableRoles,\r\n });\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [inviteEmail, setInviteEmail] = useState(\"\");\r\n const [inviteRole, setInviteRole] = useState<OrganizationRole>(\r\n resolvedAssignableRoles[0] ?? \"member\"\r\n );\r\n const isMountedRef = useRef(true);\r\n useEffect(() => {\r\n return () => {\r\n isMountedRef.current = false;\r\n };\r\n }, []);\r\n\r\n const refreshOrganizationQueriesStable = useCallback(\r\n () => refreshOrganizationQueries(),\r\n [refreshOrganizationQueries]\r\n );\r\n\r\n const updateRoleMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n role,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.updateMemberRole({\r\n memberId,\r\n role,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.roleUpdateError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.roleUpdateSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.roleUpdateError);\r\n },\r\n });\r\n\r\n const removeMemberMutation = useMutation({\r\n mutationFn: async ({\r\n memberId,\r\n organizationId,\r\n }: {\r\n memberId: string;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.removeMember({\r\n memberIdOrEmail: memberId,\r\n organizationId,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.removeMemberError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.removeMemberSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.removeMemberError);\r\n },\r\n });\r\n\r\n const createInvitationMutation = useMutation({\r\n mutationFn: async ({\r\n email,\r\n role,\r\n organizationId,\r\n }: {\r\n email: string;\r\n role: OrganizationRole;\r\n organizationId: string;\r\n }) => {\r\n const { error } = await authClient.organization.inviteMember({\r\n organizationId,\r\n email: email.trim(),\r\n role,\r\n });\r\n if (error) throw new Error(error.message ?? resolvedLabels.inviteError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.inviteSuccess);\r\n if (isMountedRef.current) {\r\n setInviteEmail(\"\");\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.inviteError);\r\n },\r\n });\r\n\r\n const cancelInvitationMutation = useMutation({\r\n mutationFn: async ({ invitationId }: { invitationId: string }) => {\r\n const { error } = await authClient.organization.cancelInvitation({ invitationId });\r\n if (error) throw new Error(error.message ?? resolvedLabels.cancelInvitationError);\r\n },\r\n onSuccess: async () => {\r\n await refreshOrganizationQueriesStable();\r\n toast.success(resolvedLabels.cancelInvitationSuccess);\r\n },\r\n onError: (error) => {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.cancelInvitationError);\r\n },\r\n });\r\n\r\n const updatingMemberId =\r\n updateRoleMutation.isPending && updateRoleMutation.variables\r\n ? updateRoleMutation.variables.memberId\r\n : null;\r\n const removingMemberId =\r\n removeMemberMutation.isPending && removeMemberMutation.variables\r\n ? removeMemberMutation.variables.memberId\r\n : null;\r\n const cancelingInvitationId =\r\n cancelInvitationMutation.isPending && cancelInvitationMutation.variables\r\n ? cancelInvitationMutation.variables.invitationId\r\n : null;\r\n\r\n useEffect(() => {\r\n if (!resolvedAssignableRoles.includes(inviteRole)) {\r\n setInviteRole(resolvedAssignableRoles[0] ?? \"member\");\r\n }\r\n }, [inviteRole, resolvedAssignableRoles]);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n const membersQuery = useQuery({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listMembers({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n limit: 200,\r\n offset: 0,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadMembersError);\r\n }\r\n return ((data as { members: OrganizationMember[] } | null)?.members ??\r\n []) as OrganizationMember[];\r\n },\r\n });\r\n\r\n const invitationsQuery = useQuery({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.listInvitations({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadInvitationsError);\r\n }\r\n return (data ?? []) as OrganizationInvitation[];\r\n },\r\n });\r\n\r\n const members = membersQuery.data ?? [];\r\n const invitations = invitationsQuery.data ?? [];\r\n\r\n const rows = useMemo<CombinedMemberRow[]>(() => {\r\n const memberRows: CombinedMemberRow[] = members.map((member) => ({\r\n kind: \"member\",\r\n id: `member-${member.id}`,\r\n displayName: member.user?.name || resolvedLabels.unknownName,\r\n email: member.user?.email || \"-\",\r\n role: member.role,\r\n status: \"active\",\r\n memberId: member.id,\r\n }));\r\n\r\n const invitationRows: CombinedMemberRow[] = invitations.map((invitation) => ({\r\n kind: \"invitation\",\r\n id: `invitation-${invitation.id}`,\r\n displayName: resolvedLabels.invitedUser,\r\n email: invitation.email,\r\n role: invitation.role,\r\n status: \"invited\",\r\n invitationId: invitation.id,\r\n }));\r\n\r\n return [...memberRows, ...invitationRows].sort((left, right) => {\r\n if (left.status === right.status) {\r\n return left.email.localeCompare(right.email);\r\n }\r\n return left.status === \"active\" ? -1 : 1;\r\n });\r\n }, [invitations, members, resolvedLabels.invitedUser, resolvedLabels.unknownName]);\r\n\r\n const onUpdateMemberRole = useCallback(\r\n (memberId: string, role: OrganizationRole) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n updateRoleMutation.mutate({ memberId, role, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, updateRoleMutation]\r\n );\r\n\r\n const onRemoveMember = useCallback(\r\n (memberId: string) => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n removeMemberMutation.mutate({ memberId, organizationId: activeOrganizationId });\r\n },\r\n [canManageOrganization, activeOrganizationId, removeMemberMutation]\r\n );\r\n\r\n const onCreateInvitation = useCallback(() => {\r\n if (!canManageOrganization || !activeOrganizationId) return;\r\n if (!inviteEmail.trim()) {\r\n toast.error(resolvedLabels.emailRequired);\r\n return;\r\n }\r\n createInvitationMutation.mutate({\r\n email: inviteEmail,\r\n role: inviteRole,\r\n organizationId: activeOrganizationId,\r\n });\r\n }, [\r\n canManageOrganization,\r\n activeOrganizationId,\r\n inviteEmail,\r\n inviteRole,\r\n resolvedLabels.emailRequired,\r\n createInvitationMutation,\r\n ]);\r\n\r\n const onCancelInvitation = useCallback(\r\n (invitationId: string) => {\r\n if (!canManageOrganization) return;\r\n cancelInvitationMutation.mutate({ invitationId });\r\n },\r\n [canManageOrganization, cancelInvitationMutation]\r\n );\r\n\r\n const invitationLinkBase = useMemo(() => {\r\n const invitationPath = invitationAcceptPath ?? \"/organization/accept-invitation\";\r\n if (/^https?:\\/\\//i.test(invitationPath)) {\r\n return `${invitationPath}?id=`;\r\n }\r\n return typeof window === \"undefined\"\r\n ? `${invitationPath}?id=`\r\n : `${window.location.origin}${invitationPath}?id=`;\r\n }, [invitationAcceptPath]);\r\n\r\n const onCopyInvitationLink = async (invitationId: string) => {\r\n try {\r\n await navigator.clipboard.writeText(`${invitationLinkBase}${invitationId}`);\r\n toast.success(resolvedLabels.inviteLinkCopied);\r\n } catch {\r\n toast.error(resolvedLabels.copyInviteLinkError);\r\n }\r\n };\r\n\r\n const getRoleLabel = (role: string) => resolvedRoleLabels[role] ?? resolvedLabels.roleUnknown;\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.membersTitle}\r\n message={resolvedLabels.membersManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading || membersQuery.isLoading || invitationsQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6 space-y-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex items-center gap-2\">\r\n <Users className=\"h-4 w-4\" />\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-lg font-semibold\">{resolvedLabels.membersTitle}</h2>\r\n <p className=\"text-sm text-default-500\">\r\n {resolvedLabels.membersDescription(\r\n organizationQuery.data?.name ?? resolvedLabels.defaultOrganizationName\r\n )}\r\n </p>\r\n </div>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {getRoleLabel(activeOrganizationRole || \"member\")}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"space-y-4\">\r\n <div className=\"grid gap-3 md:grid-cols-[1fr_160px_auto]\">\r\n <Input\r\n type=\"email\"\r\n label={resolvedLabels.emailLabel}\r\n value={inviteEmail}\r\n onValueChange={setInviteEmail}\r\n placeholder={resolvedLabels.emailPlaceholder}\r\n />\r\n <Select\r\n label={resolvedLabels.roleLabel}\r\n selectedKeys={[inviteRole]}\r\n disallowEmptySelection\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (role && isOrganizationRole(role) && resolvedAssignableRoles.includes(role)) {\r\n setInviteRole(role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n <Button\r\n color=\"primary\"\r\n startContent={<UserPlus className=\"h-4 w-4\" />}\r\n onPress={onCreateInvitation}\r\n isLoading={createInvitationMutation.isPending}\r\n >\r\n {resolvedLabels.inviteButton}\r\n </Button>\r\n </div>\r\n\r\n <Table aria-label={resolvedLabels.tableTitle}>\r\n <TableHeader>\r\n <TableColumn>{resolvedLabels.columnName}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnEmail}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnRole}</TableColumn>\r\n <TableColumn>{resolvedLabels.columnStatus}</TableColumn>\r\n <TableColumn className=\"text-right\">{resolvedLabels.columnActions}</TableColumn>\r\n </TableHeader>\r\n <TableBody emptyContent={resolvedLabels.tableEmpty}>\r\n {rows.map((row) => (\r\n <TableRow key={row.id}>\r\n <TableCell>{row.displayName}</TableCell>\r\n <TableCell>{row.email}</TableCell>\r\n <TableCell>\r\n {row.kind === \"member\" ? (\r\n <Select\r\n size=\"sm\"\r\n selectedKeys={[row.role]}\r\n disallowEmptySelection\r\n isDisabled={updatingMemberId === row.memberId}\r\n aria-label={resolvedLabels.roleFor(row.displayName)}\r\n onSelectionChange={(keys) => {\r\n const role = Array.from(keys as Set<string>)[0];\r\n if (\r\n role &&\r\n role !== row.role &&\r\n isOrganizationRole(role) &&\r\n resolvedAssignableRoles.includes(role)\r\n ) {\r\n void onUpdateMemberRole(row.memberId, role);\r\n }\r\n }}\r\n >\r\n {resolvedAssignableRoles.map((role) => (\r\n <SelectItem key={role}>{getRoleLabel(role)}</SelectItem>\r\n ))}\r\n </Select>\r\n ) : (\r\n getRoleLabel(row.role)\r\n )}\r\n </TableCell>\r\n <TableCell>\r\n <Chip\r\n size=\"sm\"\r\n variant=\"flat\"\r\n color={row.status === \"active\" ? \"success\" : \"warning\"}\r\n >\r\n {row.status === \"active\"\r\n ? resolvedLabels.statusActive\r\n : resolvedLabels.statusInvited}\r\n </Chip>\r\n </TableCell>\r\n <TableCell className=\"text-right\">\r\n {row.kind === \"member\" ? (\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onRemoveMember(row.memberId)}\r\n isDisabled={removingMemberId === row.memberId}\r\n aria-label={resolvedLabels.removeMember}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n ) : (\r\n <div className=\"flex justify-end gap-2\">\r\n <Button\r\n size=\"sm\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCopyInvitationLink(row.invitationId)}\r\n aria-label={resolvedLabels.copyInviteLink}\r\n >\r\n <Copy className=\"h-4 w-4\" />\r\n </Button>\r\n <Button\r\n size=\"sm\"\r\n color=\"danger\"\r\n variant=\"light\"\r\n isIconOnly\r\n onPress={() => void onCancelInvitation(row.invitationId)}\r\n isDisabled={cancelingInvitationId === row.invitationId}\r\n aria-label={resolvedLabels.cancelInvitation}\r\n >\r\n <Trash2 className=\"h-4 w-4\" />\r\n </Button>\r\n </div>\r\n )}\r\n </TableCell>\r\n </TableRow>\r\n ))}\r\n </TableBody>\r\n </Table>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;;AA4EA,MAAM,qBAAqB;CAAC;CAAU;CAAS;CAAQ;AAIvD,SAAS,mBAAmB,MAAwC;AAClE,QAAQ,mBAAyC,SAAS,KAAK;;AAoDjE,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,6BACoF;CACpF,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,kBAA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,qBAAC,OAAD;QAAK,WAAU;kBAAf,CACE,oBAAC,QAAD;SACE,MAAK;SACL,SAAQ;SACR,YAAA;SACA,eAAe,KAAK,qBAAqB,IAAI,aAAa;SAC1D,cAAY,eAAe;mBAE3B,oBAAC,MAAD,EAAM,WAAU,WAAY,CAAA;SACrB,CAAA,EACT,oBAAC,QAAD;SACE,MAAK;SACL,OAAM;SACN,SAAQ;SACR,YAAA;SACA,eAAe,KAAK,mBAAmB,IAAI,aAAa;SACxD,YAAY,0BAA0B,IAAI;SAC1C,cAAY,eAAe;mBAE3B,oBAAC,QAAD,EAAQ,WAAU,WAAY,CAAA;SACvB,CAAA,CACL;;OAEE,CAAA;MACH,EAAA,EAhFI,IAAI,GAgFR,CACX;KACQ,CAAA,CACN;MACC;KACN,EAAA,CAAA;EACH,CAAA"}
@@ -1,19 +1,30 @@
1
- import { type ReactElement } from "react";
2
- import type { z } from "zod";
3
- import type { UseBackendTRPC } from "../../../types";
4
- import { type ControlsFor, type PreferenceEditorLabels } from "./PreferencesEditor";
1
+ import { UseBackendTRPC } from "../../../types.js";
2
+ import { ControlsFor, PreferenceEditorLabels } from "./PreferencesEditor.js";
3
+ import { ReactElement } from "react";
4
+ import { z } from "zod";
5
+
6
+ //#region src/modules/auth/components/OrganizationPreferences.d.ts
5
7
  type OrganizationPreferenceLabels = PreferenceEditorLabels & {
6
- noActiveOrganization: string;
7
- loadError: string;
8
+ noActiveOrganization: string;
9
+ loadError: string;
8
10
  };
9
- export type OrganizationPreferencesTarget = "preferences" | "flags";
10
- export type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {
11
- useTRPC: UseBackendTRPC;
12
- schema: S;
13
- controls: ControlsFor<z.infer<S>>;
14
- target?: OrganizationPreferencesTarget;
15
- labels?: Partial<OrganizationPreferenceLabels>;
16
- onInvalidateScopedQueries?: () => void | Promise<void>;
11
+ type OrganizationPreferencesTarget = "preferences" | "flags";
12
+ type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {
13
+ useTRPC: UseBackendTRPC;
14
+ schema: S;
15
+ controls: ControlsFor<z.infer<S>>;
16
+ target?: OrganizationPreferencesTarget;
17
+ labels?: Partial<OrganizationPreferenceLabels>;
18
+ onInvalidateScopedQueries?: () => void | Promise<void>;
17
19
  };
18
- export declare function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({ useTRPC, schema, controls, target, labels, onInvalidateScopedQueries, }: OrganizationPreferencesProps<S>): ReactElement;
19
- export {};
20
+ declare function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({
21
+ useTRPC,
22
+ schema,
23
+ controls,
24
+ target,
25
+ labels,
26
+ onInvalidateScopedQueries
27
+ }: OrganizationPreferencesProps<S>): ReactElement;
28
+ //#endregion
29
+ export { OrganizationPreferences, OrganizationPreferencesProps, OrganizationPreferencesTarget };
30
+ //# sourceMappingURL=OrganizationPreferences.d.ts.map
@@ -1,133 +1,138 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Card, CardBody, CardHeader } from "@heroui/react";
3
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
4
- import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
1
+ import { PreferencesEditor } from "./PreferencesEditor.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
5
3
  import { useCallback, useMemo } from "react";
6
4
  import { useTranslation } from "react-i18next";
7
- import { PreferencesEditor, } from "./PreferencesEditor";
5
+ import { Card, CardBody, CardHeader } from "@heroui/react";
6
+ import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
7
+ import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
8
+ //#region src/modules/auth/components/OrganizationPreferences.tsx
8
9
  function OrganizationStateCard({ title, message }) {
9
- return (_jsx("div", { className: "p-6", children: _jsxs(Card, { children: [_jsx(CardHeader, { className: "text-lg font-semibold", children: title }), _jsx(CardBody, { children: message })] }) }));
10
+ return /* @__PURE__ */ jsx("div", {
11
+ className: "p-6",
12
+ children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, {
13
+ className: "text-lg font-semibold",
14
+ children: title
15
+ }), /* @__PURE__ */ jsx(CardBody, { children: message })] })
16
+ });
10
17
  }
11
18
  function getFlagValues(controls, flags) {
12
- const activeFlags = new Set(flags);
13
- return Object.fromEntries(Object.keys(controls).map((key) => [key, activeFlags.has(key)]));
19
+ const activeFlags = new Set(flags);
20
+ return Object.fromEntries(Object.keys(controls).map((key) => [key, activeFlags.has(key)]));
14
21
  }
15
22
  function getFlagsFromValues(values) {
16
- return Object.entries(values)
17
- .filter(([, value]) => value === true)
18
- .map(([key]) => key);
23
+ return Object.entries(values).filter(([, value]) => value === true).map(([key]) => key);
19
24
  }
20
- export function OrganizationPreferences({ useTRPC, schema, controls, target = "preferences", labels, onInvalidateScopedQueries, }) {
21
- const { data: session, isLoading: isSessionLoading } = useSession();
22
- const { t } = useTranslation("web-ui");
23
- const trpc = useTRPC();
24
- const queryClient = useQueryClient();
25
- const activeOrganizationId = session?.session.activeOrganizationId ?? "";
26
- const labelKeyPrefix = target === "flags" ? "web-ui:organization.flags" : "web-ui:organization.preferences";
27
- const resolvedLabels = useMemo(() => ({
28
- title: labels?.title ?? t(`${labelKeyPrefix}.title`),
29
- submit: labels?.submit ?? t(`${labelKeyPrefix}.submit`),
30
- updated: labels?.updated ?? t(`${labelKeyPrefix}.updated`),
31
- updateError: labels?.updateError ?? t(`${labelKeyPrefix}.updateError`),
32
- loading: labels?.loading ?? t(`${labelKeyPrefix}.loading`),
33
- noActiveOrganization: labels?.noActiveOrganization ?? t(`${labelKeyPrefix}.noActive`),
34
- loadError: labels?.loadError ?? t(`${labelKeyPrefix}.loadError`),
35
- }), [labelKeyPrefix, labels, t]);
36
- const preferencesQuery = useQuery({
37
- ...trpc.auth.getOrganizationPreferences.queryOptions(),
38
- enabled: target === "preferences" && Boolean(activeOrganizationId),
39
- });
40
- const flagsQuery = useQuery({
41
- ...trpc.auth.getOrganizationFlags.queryOptions(),
42
- enabled: target === "flags" && Boolean(activeOrganizationId),
43
- });
44
- const setPreferencesMutation = useMutation(trpc.auth.setOrganizationPreferences.mutationOptions());
45
- const setFlagsMutation = useMutation(trpc.auth.setOrganizationFlags.mutationOptions());
46
- const currentValues = useMemo(() => {
47
- if (target === "flags") {
48
- return getFlagValues(controls, flagsQuery.data ?? []);
49
- }
50
- return (preferencesQuery.data ?? {});
51
- }, [controls, flagsQuery.data, preferencesQuery.data, target]);
52
- const updateValues = useCallback((partialValues, options) => {
53
- if (target === "flags") {
54
- const nextValues = {
55
- ...currentValues,
56
- ...partialValues,
57
- };
58
- const nextFlags = getFlagsFromValues(nextValues);
59
- if (!options.noOptimisticUpdate) {
60
- queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), nextFlags);
61
- }
62
- setFlagsMutation.mutate(nextFlags, {
63
- onSuccess: async (result) => {
64
- queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), result);
65
- if (activeOrganizationId) {
66
- await queryClient.invalidateQueries({
67
- queryKey: ["auth-organization-details", activeOrganizationId],
68
- });
69
- }
70
- await onInvalidateScopedQueries?.();
71
- options.onSuccess?.();
72
- },
73
- onError: async (error) => {
74
- if (!options.noOptimisticUpdate) {
75
- await queryClient.invalidateQueries({
76
- queryKey: trpc.auth.getOrganizationFlags.queryKey(),
77
- });
78
- }
79
- options.onError?.(error);
80
- },
81
- });
82
- return;
83
- }
84
- const nextPreferences = {
85
- ...(preferencesQuery.data ?? {}),
86
- ...partialValues,
87
- };
88
- if (!options.noOptimisticUpdate) {
89
- queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), nextPreferences);
90
- }
91
- setPreferencesMutation.mutate(nextPreferences, {
92
- onSuccess: async (result) => {
93
- queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), result);
94
- if (activeOrganizationId) {
95
- await queryClient.invalidateQueries({
96
- queryKey: ["auth-organization-details", activeOrganizationId],
97
- });
98
- }
99
- await onInvalidateScopedQueries?.();
100
- options.onSuccess?.();
101
- },
102
- onError: async (error) => {
103
- if (!options.noOptimisticUpdate) {
104
- await queryClient.invalidateQueries({
105
- queryKey: trpc.auth.getOrganizationPreferences.queryKey(),
106
- });
107
- }
108
- options.onError?.(error);
109
- },
110
- });
111
- }, [
112
- activeOrganizationId,
113
- currentValues,
114
- onInvalidateScopedQueries,
115
- preferencesQuery.data,
116
- queryClient,
117
- setFlagsMutation,
118
- setPreferencesMutation,
119
- target,
120
- trpc.auth.getOrganizationFlags,
121
- trpc.auth.getOrganizationPreferences,
122
- ]);
123
- const isLoading = isSessionLoading || (target === "flags" ? flagsQuery.isLoading : preferencesQuery.isLoading);
124
- const isPending = target === "flags" ? setFlagsMutation.isPending : setPreferencesMutation.isPending;
125
- const queryError = target === "flags" ? flagsQuery.error : preferencesQuery.error;
126
- if (!isSessionLoading && !activeOrganizationId) {
127
- return (_jsx(OrganizationStateCard, { title: resolvedLabels.title, message: resolvedLabels.noActiveOrganization }));
128
- }
129
- if (queryError) {
130
- return (_jsx(OrganizationStateCard, { title: resolvedLabels.title, message: queryError instanceof Error ? queryError.message : resolvedLabels.loadError }));
131
- }
132
- return (_jsx(PreferencesEditor, { schema: schema, controls: controls, values: currentValues, isLoading: isLoading, isPending: isPending, labels: resolvedLabels, updateValues: updateValues }));
25
+ function OrganizationPreferences({ useTRPC, schema, controls, target = "preferences", labels, onInvalidateScopedQueries }) {
26
+ const { data: session, isLoading: isSessionLoading } = useSession();
27
+ const { t } = useTranslation("web-ui");
28
+ const trpc = useTRPC();
29
+ const queryClient = useQueryClient();
30
+ const activeOrganizationId = session?.session.activeOrganizationId ?? "";
31
+ const labelKeyPrefix = target === "flags" ? "web-ui:organization.flags" : "web-ui:organization.preferences";
32
+ const resolvedLabels = useMemo(() => ({
33
+ title: labels?.title ?? t(`${labelKeyPrefix}.title`),
34
+ submit: labels?.submit ?? t(`${labelKeyPrefix}.submit`),
35
+ updated: labels?.updated ?? t(`${labelKeyPrefix}.updated`),
36
+ updateError: labels?.updateError ?? t(`${labelKeyPrefix}.updateError`),
37
+ loading: labels?.loading ?? t(`${labelKeyPrefix}.loading`),
38
+ noActiveOrganization: labels?.noActiveOrganization ?? t(`${labelKeyPrefix}.noActive`),
39
+ loadError: labels?.loadError ?? t(`${labelKeyPrefix}.loadError`)
40
+ }), [
41
+ labelKeyPrefix,
42
+ labels,
43
+ t
44
+ ]);
45
+ const preferencesQuery = useQuery({
46
+ ...trpc.auth.getOrganizationPreferences.queryOptions(),
47
+ enabled: target === "preferences" && Boolean(activeOrganizationId)
48
+ });
49
+ const flagsQuery = useQuery({
50
+ ...trpc.auth.getOrganizationFlags.queryOptions(),
51
+ enabled: target === "flags" && Boolean(activeOrganizationId)
52
+ });
53
+ const setPreferencesMutation = useMutation(trpc.auth.setOrganizationPreferences.mutationOptions());
54
+ const setFlagsMutation = useMutation(trpc.auth.setOrganizationFlags.mutationOptions());
55
+ const currentValues = useMemo(() => {
56
+ if (target === "flags") return getFlagValues(controls, flagsQuery.data ?? []);
57
+ return preferencesQuery.data ?? {};
58
+ }, [
59
+ controls,
60
+ flagsQuery.data,
61
+ preferencesQuery.data,
62
+ target
63
+ ]);
64
+ const updateValues = useCallback((partialValues, options) => {
65
+ if (target === "flags") {
66
+ const nextFlags = getFlagsFromValues({
67
+ ...currentValues,
68
+ ...partialValues
69
+ });
70
+ if (!options.noOptimisticUpdate) queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), nextFlags);
71
+ setFlagsMutation.mutate(nextFlags, {
72
+ onSuccess: async (result) => {
73
+ queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), result);
74
+ if (activeOrganizationId) await queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] });
75
+ await onInvalidateScopedQueries?.();
76
+ options.onSuccess?.();
77
+ },
78
+ onError: async (error) => {
79
+ if (!options.noOptimisticUpdate) await queryClient.invalidateQueries({ queryKey: trpc.auth.getOrganizationFlags.queryKey() });
80
+ options.onError?.(error);
81
+ }
82
+ });
83
+ return;
84
+ }
85
+ const nextPreferences = {
86
+ ...preferencesQuery.data ?? {},
87
+ ...partialValues
88
+ };
89
+ if (!options.noOptimisticUpdate) queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), nextPreferences);
90
+ setPreferencesMutation.mutate(nextPreferences, {
91
+ onSuccess: async (result) => {
92
+ queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), result);
93
+ if (activeOrganizationId) await queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] });
94
+ await onInvalidateScopedQueries?.();
95
+ options.onSuccess?.();
96
+ },
97
+ onError: async (error) => {
98
+ if (!options.noOptimisticUpdate) await queryClient.invalidateQueries({ queryKey: trpc.auth.getOrganizationPreferences.queryKey() });
99
+ options.onError?.(error);
100
+ }
101
+ });
102
+ }, [
103
+ activeOrganizationId,
104
+ currentValues,
105
+ onInvalidateScopedQueries,
106
+ preferencesQuery.data,
107
+ queryClient,
108
+ setFlagsMutation,
109
+ setPreferencesMutation,
110
+ target,
111
+ trpc.auth.getOrganizationFlags,
112
+ trpc.auth.getOrganizationPreferences
113
+ ]);
114
+ const isLoading = isSessionLoading || (target === "flags" ? flagsQuery.isLoading : preferencesQuery.isLoading);
115
+ const isPending = target === "flags" ? setFlagsMutation.isPending : setPreferencesMutation.isPending;
116
+ const queryError = target === "flags" ? flagsQuery.error : preferencesQuery.error;
117
+ if (!isSessionLoading && !activeOrganizationId) return /* @__PURE__ */ jsx(OrganizationStateCard, {
118
+ title: resolvedLabels.title,
119
+ message: resolvedLabels.noActiveOrganization
120
+ });
121
+ if (queryError) return /* @__PURE__ */ jsx(OrganizationStateCard, {
122
+ title: resolvedLabels.title,
123
+ message: queryError instanceof Error ? queryError.message : resolvedLabels.loadError
124
+ });
125
+ return /* @__PURE__ */ jsx(PreferencesEditor, {
126
+ schema,
127
+ controls,
128
+ values: currentValues,
129
+ isLoading,
130
+ isPending,
131
+ labels: resolvedLabels,
132
+ updateValues
133
+ });
133
134
  }
135
+ //#endregion
136
+ export { OrganizationPreferences };
137
+
138
+ //# sourceMappingURL=OrganizationPreferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganizationPreferences.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationPreferences.tsx"],"sourcesContent":["import { Card, CardBody, CardHeader } from \"@heroui/react\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useMutation, useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { type ReactElement, useCallback, useMemo } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport type { z } from \"zod\";\r\nimport type { UseBackendTRPC } from \"../../../types\";\r\nimport {\r\n type ControlsFor,\r\n type PreferenceEditorLabels,\r\n PreferencesEditor,\r\n type UpdatePreferencesOptions,\r\n} from \"./PreferencesEditor\";\r\n\r\ntype OrganizationPreferenceLabels = PreferenceEditorLabels & {\r\n noActiveOrganization: string;\r\n loadError: string;\r\n};\r\n\r\nexport type OrganizationPreferencesTarget = \"preferences\" | \"flags\";\r\n\r\nexport type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {\r\n useTRPC: UseBackendTRPC;\r\n schema: S;\r\n controls: ControlsFor<z.infer<S>>;\r\n target?: OrganizationPreferencesTarget;\r\n labels?: Partial<OrganizationPreferenceLabels>;\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 getFlagValues<S extends z.ZodObject<z.ZodRawShape>>(\r\n controls: ControlsFor<z.infer<S>>,\r\n flags: string[]\r\n): Partial<z.infer<S>> {\r\n const activeFlags = new Set(flags);\r\n\r\n return Object.fromEntries(\r\n Object.keys(controls).map((key) => [key, activeFlags.has(key)])\r\n ) as Partial<z.infer<S>>;\r\n}\r\n\r\nfunction getFlagsFromValues(values: Record<string, unknown>): string[] {\r\n return Object.entries(values)\r\n .filter(([, value]) => value === true)\r\n .map(([key]) => key);\r\n}\r\n\r\nexport function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({\r\n useTRPC,\r\n schema,\r\n controls,\r\n target = \"preferences\",\r\n labels,\r\n onInvalidateScopedQueries,\r\n}: OrganizationPreferencesProps<S>): ReactElement {\r\n const { data: session, isLoading: isSessionLoading } = useSession();\r\n const { t } = useTranslation(\"web-ui\");\r\n const trpc = useTRPC();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const labelKeyPrefix =\r\n target === \"flags\" ? \"web-ui:organization.flags\" : \"web-ui:organization.preferences\";\r\n\r\n const resolvedLabels = useMemo<OrganizationPreferenceLabels>(\r\n () => ({\r\n title: labels?.title ?? t(`${labelKeyPrefix}.title`),\r\n submit: labels?.submit ?? t(`${labelKeyPrefix}.submit`),\r\n updated: labels?.updated ?? t(`${labelKeyPrefix}.updated`),\r\n updateError: labels?.updateError ?? t(`${labelKeyPrefix}.updateError`),\r\n loading: labels?.loading ?? t(`${labelKeyPrefix}.loading`),\r\n noActiveOrganization: labels?.noActiveOrganization ?? t(`${labelKeyPrefix}.noActive`),\r\n loadError: labels?.loadError ?? t(`${labelKeyPrefix}.loadError`),\r\n }),\r\n [labelKeyPrefix, labels, t]\r\n );\r\n\r\n const preferencesQuery = useQuery({\r\n ...trpc.auth.getOrganizationPreferences.queryOptions(),\r\n enabled: target === \"preferences\" && Boolean(activeOrganizationId),\r\n });\r\n\r\n const flagsQuery = useQuery({\r\n ...trpc.auth.getOrganizationFlags.queryOptions(),\r\n enabled: target === \"flags\" && Boolean(activeOrganizationId),\r\n });\r\n\r\n const setPreferencesMutation = useMutation(\r\n trpc.auth.setOrganizationPreferences.mutationOptions()\r\n );\r\n const setFlagsMutation = useMutation(trpc.auth.setOrganizationFlags.mutationOptions());\r\n\r\n const currentValues = useMemo<Partial<z.infer<S>>>(() => {\r\n if (target === \"flags\") {\r\n return getFlagValues<S>(controls, flagsQuery.data ?? []);\r\n }\r\n\r\n return (preferencesQuery.data ?? {}) as Partial<z.infer<S>>;\r\n }, [controls, flagsQuery.data, preferencesQuery.data, target]);\r\n\r\n const updateValues = useCallback(\r\n (partialValues: Partial<z.infer<S>>, options: UpdatePreferencesOptions) => {\r\n if (target === \"flags\") {\r\n const nextValues = {\r\n ...currentValues,\r\n ...partialValues,\r\n } as Record<string, unknown>;\r\n const nextFlags = getFlagsFromValues(nextValues);\r\n\r\n if (!options.noOptimisticUpdate) {\r\n queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), nextFlags);\r\n }\r\n\r\n setFlagsMutation.mutate(nextFlags, {\r\n onSuccess: async (result) => {\r\n queryClient.setQueryData(trpc.auth.getOrganizationFlags.queryKey(), result);\r\n if (activeOrganizationId) {\r\n await queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n });\r\n }\r\n await onInvalidateScopedQueries?.();\r\n options.onSuccess?.();\r\n },\r\n onError: async (error) => {\r\n if (!options.noOptimisticUpdate) {\r\n await queryClient.invalidateQueries({\r\n queryKey: trpc.auth.getOrganizationFlags.queryKey(),\r\n });\r\n }\r\n options.onError?.(error);\r\n },\r\n });\r\n return;\r\n }\r\n\r\n const nextPreferences = {\r\n ...(preferencesQuery.data ?? {}),\r\n ...partialValues,\r\n };\r\n\r\n if (!options.noOptimisticUpdate) {\r\n queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), nextPreferences);\r\n }\r\n\r\n setPreferencesMutation.mutate(nextPreferences, {\r\n onSuccess: async (result) => {\r\n queryClient.setQueryData(trpc.auth.getOrganizationPreferences.queryKey(), result);\r\n if (activeOrganizationId) {\r\n await queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n });\r\n }\r\n await onInvalidateScopedQueries?.();\r\n options.onSuccess?.();\r\n },\r\n onError: async (error) => {\r\n if (!options.noOptimisticUpdate) {\r\n await queryClient.invalidateQueries({\r\n queryKey: trpc.auth.getOrganizationPreferences.queryKey(),\r\n });\r\n }\r\n options.onError?.(error);\r\n },\r\n });\r\n },\r\n [\r\n activeOrganizationId,\r\n currentValues,\r\n onInvalidateScopedQueries,\r\n preferencesQuery.data,\r\n queryClient,\r\n setFlagsMutation,\r\n setPreferencesMutation,\r\n target,\r\n trpc.auth.getOrganizationFlags,\r\n trpc.auth.getOrganizationPreferences,\r\n ]\r\n );\r\n\r\n const isLoading =\r\n isSessionLoading || (target === \"flags\" ? flagsQuery.isLoading : preferencesQuery.isLoading);\r\n const isPending =\r\n target === \"flags\" ? setFlagsMutation.isPending : setPreferencesMutation.isPending;\r\n const queryError = target === \"flags\" ? flagsQuery.error : preferencesQuery.error;\r\n\r\n if (!isSessionLoading && !activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.title}\r\n message={resolvedLabels.noActiveOrganization}\r\n />\r\n );\r\n }\r\n\r\n if (queryError) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.title}\r\n message={queryError instanceof Error ? queryError.message : resolvedLabels.loadError}\r\n />\r\n );\r\n }\r\n\r\n return (\r\n <PreferencesEditor\r\n schema={schema}\r\n controls={controls}\r\n values={currentValues}\r\n isLoading={isLoading}\r\n isPending={isPending}\r\n labels={resolvedLabels}\r\n updateValues={updateValues}\r\n />\r\n );\r\n}\r\n"],"mappings":";;;;;;;;AA8BA,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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AAU,EAAE,OAAO;AACjF,QAAI,qBACF,OAAM,YAAY,kBAAkB,EAClC,UAAU,CAAC,6BAA6B,qBAAqB,EAC9D,CAAC;AAEJ,UAAM,6BAA6B;AACnC,YAAQ,aAAa;;GAEvB,SAAS,OAAO,UAAU;AACxB,QAAI,CAAC,QAAQ,mBACX,OAAM,YAAY,kBAAkB,EAClC,UAAU,KAAK,KAAK,2BAA2B,UAAU,EAC1D,CAAC;AAEJ,YAAQ,UAAU,MAAM;;GAE3B,CAAC;IAEJ;EACE;EACA;EACA;EACA,iBAAiB;EACjB;EACA;EACA;EACA;EACA,KAAK,KAAK;EACV,KAAK,KAAK;EACX,CACF;CAED,MAAM,YACJ,qBAAqB,WAAW,UAAU,WAAW,YAAY,iBAAiB;CACpF,MAAM,YACJ,WAAW,UAAU,iBAAiB,YAAY,uBAAuB;CAC3E,MAAM,aAAa,WAAW,UAAU,WAAW,QAAQ,iBAAiB;AAE5E,KAAI,CAAC,oBAAoB,CAAC,qBACxB,QACE,oBAAC,uBAAD;EACE,OAAO,eAAe;EACtB,SAAS,eAAe;EACxB,CAAA;AAIN,KAAI,WACF,QACE,oBAAC,uBAAD;EACE,OAAO,eAAe;EACtB,SAAS,sBAAsB,QAAQ,WAAW,UAAU,eAAe;EAC3E,CAAA;AAIN,QACE,oBAAC,mBAAD;EACU;EACE;EACV,QAAQ;EACG;EACA;EACX,QAAQ;EACM;EACd,CAAA"}
@@ -1,20 +1,29 @@
1
- export type OrganizationSettingsRouteLabels = {
2
- settingsTitle: string;
3
- settingsDescription: string;
4
- settingsNoActive: string;
5
- settingsManageOnly: string;
6
- formName: string;
7
- formSlug: string;
8
- formMetadata: string;
9
- formMetadataInvalidJson: string;
10
- formMetadataInvalid: string;
11
- saveButton: string;
12
- updateSuccess: string;
13
- updateError: string;
14
- loadError: string;
1
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
+
3
+ //#region src/modules/auth/components/OrganizationSettingsRoute.d.ts
4
+ type OrganizationSettingsRouteLabels = {
5
+ settingsTitle: string;
6
+ settingsDescription: string;
7
+ settingsNoActive: string;
8
+ settingsManageOnly: string;
9
+ formName: string;
10
+ formSlug: string;
11
+ formMetadata: string;
12
+ formMetadataInvalidJson: string;
13
+ formMetadataInvalid: string;
14
+ saveButton: string;
15
+ updateSuccess: string;
16
+ updateError: string;
17
+ loadError: string;
15
18
  };
16
- export type OrganizationSettingsRouteProps = {
17
- managerRoles?: string[];
18
- onInvalidateScopedQueries?: () => void | Promise<void>;
19
+ type OrganizationSettingsRouteProps = {
20
+ managerRoles?: string[];
21
+ onInvalidateScopedQueries?: () => void | Promise<void>;
19
22
  };
20
- export declare function OrganizationSettingsRoute({ managerRoles, onInvalidateScopedQueries, }: OrganizationSettingsRouteProps): import("react/jsx-runtime").JSX.Element;
23
+ declare function OrganizationSettingsRoute({
24
+ managerRoles,
25
+ onInvalidateScopedQueries
26
+ }: OrganizationSettingsRouteProps): _$react_jsx_runtime0.JSX.Element;
27
+ //#endregion
28
+ export { OrganizationSettingsRoute, OrganizationSettingsRouteLabels, OrganizationSettingsRouteProps };
29
+ //# sourceMappingURL=OrganizationSettingsRoute.d.ts.map