@m5kdev/web-ui 0.8.2 → 0.8.4

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 (1268) hide show
  1. package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.mts +79 -0
  2. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.mts +580 -0
  3. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.mts +14 -0
  4. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.mts +10 -0
  5. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.mts +289 -0
  6. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.mts +32 -0
  7. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.mts +86 -0
  8. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.mts +101 -0
  9. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.mts +16 -0
  10. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.mts +132 -0
  11. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.mts +19 -0
  12. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.mts +5 -0
  13. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.mts +30 -0
  14. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.mts +23 -0
  15. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.mts +153 -0
  16. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.mts +91 -0
  17. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.mts +16 -0
  18. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.mts +16 -0
  19. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.mts +6 -0
  20. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.mts +35 -0
  21. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.mts +43 -0
  22. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.mts +32 -0
  23. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.mts +73 -0
  24. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.mts +26 -0
  25. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.mts +54 -0
  26. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.mts +77 -0
  27. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.mts +32 -0
  28. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.mts +17 -0
  29. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.mts +426 -0
  30. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.mts +11 -0
  31. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.mts +8 -0
  32. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.mts +132 -0
  33. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.mts +29 -0
  34. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.mts +21 -0
  35. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.mts +49 -0
  36. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.mts +18 -0
  37. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.mts +9 -0
  38. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.mts +68 -0
  39. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.mts +5 -0
  40. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.mts +183 -0
  41. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.mts +27 -0
  42. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.mts +25 -0
  43. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.mts +12 -0
  44. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.mts +66 -0
  45. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.mts +15 -0
  46. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.mts +51 -0
  47. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.mts +9 -0
  48. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.mts +32 -0
  49. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.mts +20 -0
  50. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.mts +13 -0
  51. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.mts +13 -0
  52. package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.mts +31 -0
  53. 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.mts +912 -0
  54. 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.mts +9 -0
  55. 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.mts +33 -0
  56. 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.mts +37 -0
  57. 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.mts +17 -0
  58. 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.mts +116 -0
  59. 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.mts +69 -0
  60. 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.mts +5 -0
  61. 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.mts +16 -0
  62. 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.mts +12 -0
  63. 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.mts +13 -0
  64. 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.mts +15 -0
  65. 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.mts +16 -0
  66. 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.mts +13 -0
  67. 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.mts +27 -0
  68. 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.mts +16 -0
  69. 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.mts +12 -0
  70. 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.mts +12 -0
  71. 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.mts +16 -0
  72. 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.mts +38 -0
  73. 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.mts +14 -0
  74. 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.mts +171 -0
  75. 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.mts +12 -0
  76. 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.mts +10 -0
  77. 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.mts +16 -0
  78. 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.mts +13 -0
  79. 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.mts +287 -0
  80. 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.mts +43 -0
  81. 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.mts +225 -0
  82. 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.mts +18 -0
  83. 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.mts +258 -0
  84. 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.mts +132 -0
  85. 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.mts +8 -0
  86. 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.mts +31 -0
  87. 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.mts +122 -0
  88. 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.mts +171 -0
  89. 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.mts +33 -0
  90. 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.mts +60 -0
  91. 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.mts +34 -0
  92. 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.mts +476 -0
  93. 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.mts +122 -0
  94. 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.mts +154 -0
  95. 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.mts +112 -0
  96. 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.mts +23 -0
  97. 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.mts +13 -0
  98. 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.mts +13 -0
  99. 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.mts +21 -0
  100. 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.mts +24 -0
  101. 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.mts +71 -0
  102. 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.mts +27 -0
  103. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.mts +38 -0
  104. package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.mts +299 -0
  105. package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.mts +132 -0
  106. package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.mts +766 -0
  107. 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.mts +1295 -0
  108. package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.mts +55 -0
  109. package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.mts +573 -0
  110. package/dist/packages/backend/dist/src/modules/auth/auth.db.d.mts +610 -0
  111. package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.mts +71 -0
  112. package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.mts +8 -0
  113. package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.mts +2455 -0
  114. package/dist/packages/backend/dist/src/modules/auth/auth.service.d.mts +106 -0
  115. package/dist/packages/backend/dist/src/modules/base/base.abstract.d.mts +30 -0
  116. package/dist/packages/backend/dist/src/modules/base/base.actor.d.mts +38 -0
  117. package/dist/packages/backend/dist/src/modules/base/base.dto.d.mts +13 -0
  118. package/dist/packages/backend/dist/src/modules/base/base.procedure.d.mts +47 -0
  119. package/dist/packages/backend/dist/src/modules/base/base.repository.d.mts +126 -0
  120. package/dist/packages/backend/dist/src/modules/base/base.service.d.mts +34 -0
  121. package/dist/packages/backend/dist/src/modules/base/base.types.d.mts +6 -0
  122. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.mts +2788 -0
  123. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.mts +53 -0
  124. package/dist/packages/backend/dist/src/modules/email/email.service.d.mts +63 -0
  125. package/dist/packages/backend/dist/src/types.d.mts +344 -0
  126. package/dist/packages/backend/dist/src/utils/errors.d.mts +60 -0
  127. package/dist/packages/backend/dist/src/utils/logger.d.mts +8 -0
  128. package/dist/packages/backend/dist/src/utils/trpc.d.mts +23 -0
  129. package/dist/src/animations/card.motion.d.mts +7 -0
  130. package/dist/src/animations/card.motion.mjs +26 -0
  131. package/dist/src/animations/card.motion.mjs.map +1 -0
  132. package/dist/src/components/AvatarUpload.d.mts +16 -0
  133. package/dist/src/components/AvatarUpload.mjs +109 -0
  134. package/dist/src/components/AvatarUpload.mjs.map +1 -0
  135. package/dist/src/components/Button.d.mts +15 -0
  136. package/dist/src/components/Button.mjs +14 -0
  137. package/dist/src/components/Button.mjs.map +1 -0
  138. package/dist/src/components/Calendar.css +684 -0
  139. package/dist/src/components/Calendar.d.mts +37 -0
  140. package/dist/src/components/Calendar.mjs +18 -0
  141. package/dist/src/components/Calendar.mjs.map +1 -0
  142. package/dist/src/components/CardsSelect.d.mts +27 -0
  143. package/dist/src/components/CardsSelect.mjs +79 -0
  144. package/dist/src/components/CardsSelect.mjs.map +1 -0
  145. package/dist/src/components/CollapsibleSidebarMenuItem.d.mts +22 -0
  146. package/dist/src/components/CollapsibleSidebarMenuItem.mjs +34 -0
  147. package/dist/src/components/CollapsibleSidebarMenuItem.mjs.map +1 -0
  148. package/dist/src/components/ColorPicker.d.mts +15 -0
  149. package/dist/src/components/ColorPicker.mjs +51 -0
  150. package/dist/src/components/ColorPicker.mjs.map +1 -0
  151. package/dist/src/components/CopyButton.d.mts +18 -0
  152. package/dist/src/components/CopyButton.mjs +33 -0
  153. package/dist/src/components/CopyButton.mjs.map +1 -0
  154. package/dist/src/components/CropDialog.d.mts +22 -0
  155. package/dist/src/components/CropDialog.mjs +113 -0
  156. package/dist/src/components/CropDialog.mjs.map +1 -0
  157. package/dist/src/components/DialogProvider.d.mts +23 -0
  158. package/dist/src/components/DialogProvider.mjs +72 -0
  159. package/dist/src/components/DialogProvider.mjs.map +1 -0
  160. package/dist/src/components/ErrorFallback.d.mts +13 -0
  161. package/dist/src/components/ErrorFallback.mjs +30 -0
  162. package/dist/src/components/ErrorFallback.mjs.map +1 -0
  163. package/dist/src/components/FileDropzone.d.mts +14 -0
  164. package/dist/src/components/FileDropzone.mjs +101 -0
  165. package/dist/src/components/FileDropzone.mjs.map +1 -0
  166. package/dist/src/components/MultiSelectDropdown.d.mts +29 -0
  167. package/dist/src/components/MultiSelectDropdown.mjs +103 -0
  168. package/dist/src/components/MultiSelectDropdown.mjs.map +1 -0
  169. package/dist/src/components/Orb.d.mts +17 -0
  170. package/dist/src/components/Orb.mjs +267 -0
  171. package/dist/src/components/Orb.mjs.map +1 -0
  172. package/dist/src/components/PageAlert.d.mts +23 -0
  173. package/dist/src/components/PageAlert.mjs +76 -0
  174. package/dist/src/components/PageAlert.mjs.map +1 -0
  175. package/dist/src/components/SelectChips.d.mts +21 -0
  176. package/dist/src/components/SelectChips.mjs +23 -0
  177. package/dist/src/components/SelectChips.mjs.map +1 -0
  178. package/dist/src/components/SidebarItem.d.mts +18 -0
  179. package/dist/src/components/SidebarItem.mjs +18 -0
  180. package/dist/src/components/SidebarItem.mjs.map +1 -0
  181. package/dist/src/components/Steps.d.mts +24 -0
  182. package/dist/src/components/Steps.mjs +200 -0
  183. package/dist/src/components/Steps.mjs.map +1 -0
  184. package/dist/src/components/TablerIconPicker.d.mts +13 -0
  185. package/dist/src/components/TablerIconPicker.mjs +4258 -0
  186. package/dist/src/components/TablerIconPicker.mjs.map +1 -0
  187. package/dist/src/components/app-header.d.mts +14 -0
  188. package/dist/src/components/app-header.mjs +29 -0
  189. package/dist/src/components/app-header.mjs.map +1 -0
  190. package/dist/src/components/blur-card.d.mts +27 -0
  191. package/dist/src/components/blur-card.mjs +137 -0
  192. package/dist/src/components/blur-card.mjs.map +1 -0
  193. package/dist/src/components/features-section-demo-1.d.mts +22 -0
  194. package/dist/src/components/features-section-demo-1.mjs +125 -0
  195. package/dist/src/components/features-section-demo-1.mjs.map +1 -0
  196. package/dist/src/components/features-section-demo-2.d.mts +7 -0
  197. package/dist/src/components/features-section-demo-2.mjs +82 -0
  198. package/dist/src/components/features-section-demo-2.mjs.map +1 -0
  199. package/dist/src/components/features-section-demo-3.d.mts +16 -0
  200. package/dist/src/components/features-section-demo-3.mjs +252 -0
  201. package/dist/src/components/features-section-demo-3.mjs.map +1 -0
  202. package/dist/src/components/mode-toggle.d.mts +7 -0
  203. package/dist/src/components/mode-toggle.mjs +44 -0
  204. package/dist/src/components/mode-toggle.mjs.map +1 -0
  205. package/dist/src/components/nav-main.d.mts +21 -0
  206. package/dist/src/components/nav-main.mjs +35 -0
  207. package/dist/src/components/nav-main.mjs.map +1 -0
  208. package/dist/src/components/pricing-cards.d.mts +7 -0
  209. package/dist/src/components/pricing-cards.mjs +128 -0
  210. package/dist/src/components/pricing-cards.mjs.map +1 -0
  211. package/dist/src/components/shared/ButtonCopy.d.mts +17 -0
  212. package/dist/src/components/shared/ButtonCopy.mjs +35 -0
  213. package/dist/src/components/shared/ButtonCopy.mjs.map +1 -0
  214. package/dist/src/components/team-switcher.d.mts +16 -0
  215. package/dist/src/components/team-switcher.mjs +72 -0
  216. package/dist/src/components/team-switcher.mjs.map +1 -0
  217. package/dist/src/components/theme-provider.d.mts +23 -0
  218. package/dist/src/components/theme-provider.mjs +45 -0
  219. package/dist/src/components/theme-provider.mjs.map +1 -0
  220. package/dist/src/components/typewriter.d.mts +39 -0
  221. package/dist/src/components/typewriter.mjs +47 -0
  222. package/dist/src/components/typewriter.mjs.map +1 -0
  223. package/dist/src/components/ui/alert-dialog.d.mts +49 -0
  224. package/dist/src/components/ui/alert-dialog.mjs +81 -0
  225. package/dist/src/components/ui/alert-dialog.mjs.map +1 -0
  226. package/dist/src/components/ui/alert.d.mts +25 -0
  227. package/dist/src/components/ui/alert.mjs +37 -0
  228. package/dist/src/components/ui/alert.mjs.map +1 -0
  229. package/dist/src/components/ui/avatar.d.mts +10 -0
  230. package/dist/src/components/ui/avatar.mjs +28 -0
  231. package/dist/src/components/ui/avatar.mjs.map +1 -0
  232. package/dist/src/components/ui/badge.d.mts +18 -0
  233. package/dist/src/components/ui/badge.mjs +23 -0
  234. package/dist/src/components/ui/badge.mjs.map +1 -0
  235. package/dist/src/components/ui/bento-grid.d.mts +26 -0
  236. package/dist/src/components/ui/bento-grid.mjs +32 -0
  237. package/dist/src/components/ui/bento-grid.mjs.map +1 -0
  238. package/dist/src/components/ui/bento-grid2.d.mts +31 -0
  239. package/dist/src/components/ui/bento-grid2.mjs +49 -0
  240. package/dist/src/components/ui/bento-grid2.mjs.map +1 -0
  241. package/dist/src/components/ui/breadcrumb.d.mts +31 -0
  242. package/dist/src/components/ui/breadcrumb.mjs +63 -0
  243. package/dist/src/components/ui/breadcrumb.mjs.map +1 -0
  244. package/dist/src/components/ui/button.d.mts +16 -0
  245. package/dist/src/components/ui/button.mjs +44 -0
  246. package/dist/src/components/ui/button.mjs.map +1 -0
  247. package/dist/src/components/ui/card.d.mts +12 -0
  248. package/dist/src/components/ui/card.mjs +44 -0
  249. package/dist/src/components/ui/card.mjs.map +1 -0
  250. package/dist/src/components/ui/checkbox.d.mts +8 -0
  251. package/dist/src/components/ui/checkbox.mjs +20 -0
  252. package/dist/src/components/ui/checkbox.mjs.map +1 -0
  253. package/dist/src/components/ui/collapsible.d.mts +10 -0
  254. package/dist/src/components/ui/collapsible.mjs +9 -0
  255. package/dist/src/components/ui/collapsible.mjs.map +1 -0
  256. package/dist/src/components/ui/dialog.d.mts +45 -0
  257. package/dist/src/components/ui/dialog.mjs +85 -0
  258. package/dist/src/components/ui/dialog.mjs.map +1 -0
  259. package/dist/src/components/ui/dropdown-menu.d.mts +35 -0
  260. package/dist/src/components/ui/dropdown-menu.mjs +82 -0
  261. package/dist/src/components/ui/dropdown-menu.mjs.map +1 -0
  262. package/dist/src/components/ui/floating-navbar.d.mts +18 -0
  263. package/dist/src/components/ui/floating-navbar.mjs +52 -0
  264. package/dist/src/components/ui/floating-navbar.mjs.map +1 -0
  265. package/dist/src/components/ui/form.d.mts +32 -0
  266. package/dist/src/components/ui/form.mjs +92 -0
  267. package/dist/src/components/ui/form.mjs.map +1 -0
  268. package/dist/src/components/ui/image.d.mts +10 -0
  269. package/dist/src/components/ui/image.mjs +55 -0
  270. package/dist/src/components/ui/image.mjs.map +1 -0
  271. package/dist/src/components/ui/input.d.mts +7 -0
  272. package/dist/src/components/ui/input.mjs +17 -0
  273. package/dist/src/components/ui/input.mjs.map +1 -0
  274. package/dist/src/components/ui/label.d.mts +10 -0
  275. package/dist/src/components/ui/label.mjs +17 -0
  276. package/dist/src/components/ui/label.mjs.map +1 -0
  277. package/dist/src/components/ui/pagination.d.mts +40 -0
  278. package/dist/src/components/ui/pagination.mjs +79 -0
  279. package/dist/src/components/ui/pagination.mjs.map +1 -0
  280. package/dist/src/components/ui/progress.d.mts +8 -0
  281. package/dist/src/components/ui/progress.mjs +19 -0
  282. package/dist/src/components/ui/progress.mjs.map +1 -0
  283. package/dist/src/components/ui/resizable-navbar.d.mts +97 -0
  284. package/dist/src/components/ui/resizable-navbar.mjs +138 -0
  285. package/dist/src/components/ui/resizable-navbar.mjs.map +1 -0
  286. package/dist/src/components/ui/segment-control.d.mts +12 -0
  287. package/dist/src/components/ui/segment-control.mjs +87 -0
  288. package/dist/src/components/ui/segment-control.mjs.map +1 -0
  289. package/dist/src/components/ui/select.d.mts +17 -0
  290. package/dist/src/components/ui/select.mjs +75 -0
  291. package/dist/src/components/ui/select.mjs.map +1 -0
  292. package/dist/src/components/ui/separator.d.mts +8 -0
  293. package/dist/src/components/ui/separator.mjs +17 -0
  294. package/dist/src/components/ui/separator.mjs.map +1 -0
  295. package/dist/src/components/ui/sheet.d.mts +36 -0
  296. package/dist/src/components/ui/sheet.mjs +66 -0
  297. package/dist/src/components/ui/sheet.mjs.map +1 -0
  298. package/dist/src/components/ui/sidebar.d.mts +73 -0
  299. package/dist/src/components/ui/sidebar.mjs +377 -0
  300. package/dist/src/components/ui/sidebar.mjs.map +1 -0
  301. package/dist/src/components/ui/skeleton.d.mts +10 -0
  302. package/dist/src/components/ui/skeleton.mjs +13 -0
  303. package/dist/src/components/ui/skeleton.mjs.map +1 -0
  304. package/dist/src/components/ui/slider.d.mts +8 -0
  305. package/dist/src/components/ui/slider.mjs +19 -0
  306. package/dist/src/components/ui/slider.mjs.map +1 -0
  307. package/dist/src/components/ui/sonner.d.mts +11 -0
  308. package/dist/src/components/ui/sonner.mjs +22 -0
  309. package/dist/src/components/ui/sonner.mjs.map +1 -0
  310. package/dist/src/components/ui/spinner.d.mts +25 -0
  311. package/dist/src/components/ui/spinner.mjs +30 -0
  312. package/dist/src/components/ui/spinner.mjs.map +1 -0
  313. package/dist/src/components/ui/switch.d.mts +8 -0
  314. package/dist/src/components/ui/switch.mjs +16 -0
  315. package/dist/src/components/ui/switch.mjs.map +1 -0
  316. package/dist/src/components/ui/table.d.mts +39 -0
  317. package/dist/src/components/ui/table.mjs +67 -0
  318. package/dist/src/components/ui/table.mjs.map +1 -0
  319. package/dist/src/components/ui/tabs.d.mts +24 -0
  320. package/dist/src/components/ui/tabs.mjs +36 -0
  321. package/dist/src/components/ui/tabs.mjs.map +1 -0
  322. package/dist/src/components/ui/textarea.d.mts +11 -0
  323. package/dist/src/components/ui/textarea.mjs +14 -0
  324. package/dist/src/components/ui/textarea.mjs.map +1 -0
  325. package/dist/src/components/ui/timeline.d.mts +18 -0
  326. package/dist/src/components/ui/timeline.mjs +90 -0
  327. package/dist/src/components/ui/timeline.mjs.map +1 -0
  328. package/dist/src/components/ui/toast.d.mts +20 -0
  329. package/dist/src/components/ui/toast.mjs +59 -0
  330. package/dist/src/components/ui/toast.mjs.map +1 -0
  331. package/dist/src/components/ui/tooltip.d.mts +24 -0
  332. package/dist/src/components/ui/tooltip.mjs +36 -0
  333. package/dist/src/components/ui/tooltip.mjs.map +1 -0
  334. package/dist/src/components/ui/typewriter-effect.d.mts +30 -0
  335. package/dist/src/components/ui/typewriter-effect.mjs +106 -0
  336. package/dist/src/components/ui/typewriter-effect.mjs.map +1 -0
  337. package/dist/src/hooks/use-mobile.d.mts +5 -0
  338. package/dist/src/hooks/use-mobile.mjs +20 -0
  339. package/dist/src/hooks/use-mobile.mjs.map +1 -0
  340. package/dist/src/hooks/useDialog.d.mts +8 -0
  341. package/dist/src/hooks/useDialog.mjs +26 -0
  342. package/dist/src/hooks/useDialog.mjs.map +1 -0
  343. package/dist/src/icons/GoogleIcon.d.mts +9 -0
  344. package/dist/src/icons/GoogleIcon.mjs +33 -0
  345. package/dist/src/icons/GoogleIcon.mjs.map +1 -0
  346. package/dist/src/icons/LinkedInIcon.d.mts +9 -0
  347. package/dist/src/icons/LinkedInIcon.mjs +28 -0
  348. package/dist/src/icons/LinkedInIcon.mjs.map +1 -0
  349. package/dist/src/icons/MicrosoftIcon.d.mts +9 -0
  350. package/dist/src/icons/MicrosoftIcon.mjs +32 -0
  351. package/dist/src/icons/MicrosoftIcon.mjs.map +1 -0
  352. package/dist/src/lib/chatwoot.d.mts +20 -0
  353. package/dist/src/lib/chatwoot.mjs +26 -0
  354. package/dist/src/lib/chatwoot.mjs.map +1 -0
  355. package/dist/src/lib/utils.d.mts +7 -0
  356. package/dist/src/lib/utils.mjs +10 -0
  357. package/dist/src/lib/utils.mjs.map +1 -0
  358. package/dist/src/modules/app/components/AppLoader.d.mts +8 -0
  359. package/dist/src/modules/app/components/AppLoader.mjs +16 -0
  360. package/dist/src/modules/app/components/AppLoader.mjs.map +1 -0
  361. package/dist/src/modules/app/components/AppShell.d.mts +16 -0
  362. package/dist/src/modules/app/components/AppShell.mjs +16 -0
  363. package/dist/src/modules/app/components/AppShell.mjs.map +1 -0
  364. package/dist/src/modules/app/components/AppSidebar.d.mts +17 -0
  365. package/dist/src/modules/app/components/AppSidebar.mjs +18 -0
  366. package/dist/src/modules/app/components/AppSidebar.mjs.map +1 -0
  367. package/dist/src/modules/app/components/AppSidebarContent.d.mts +25 -0
  368. package/dist/src/modules/app/components/AppSidebarContent.mjs +36 -0
  369. package/dist/src/modules/app/components/AppSidebarContent.mjs.map +1 -0
  370. package/dist/src/modules/app/components/AppSidebarHeader.d.mts +18 -0
  371. package/dist/src/modules/app/components/AppSidebarHeader.mjs +41 -0
  372. package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -0
  373. package/dist/src/modules/app/components/AppSidebarInvites.d.mts +11 -0
  374. package/dist/src/modules/app/components/AppSidebarInvites.mjs +43 -0
  375. package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -0
  376. package/dist/src/modules/app/components/AppSidebarUser.d.mts +21 -0
  377. package/dist/src/modules/app/components/AppSidebarUser.mjs +125 -0
  378. package/dist/src/modules/app/components/AppSidebarUser.mjs.map +1 -0
  379. package/dist/src/modules/auth/components/AdminUserManagement.d.mts +13 -0
  380. package/dist/src/modules/auth/components/AdminUserManagement.mjs +974 -0
  381. package/dist/src/modules/auth/components/AdminUserManagement.mjs.map +1 -0
  382. package/dist/src/modules/auth/components/AdminWaitlist.d.mts +13 -0
  383. package/dist/src/modules/auth/components/AdminWaitlist.mjs +287 -0
  384. package/dist/src/modules/auth/components/AdminWaitlist.mjs.map +1 -0
  385. package/dist/src/modules/auth/components/AuthLayout.d.mts +12 -0
  386. package/dist/src/modules/auth/components/AuthLayout.mjs +19 -0
  387. package/dist/src/modules/auth/components/AuthLayout.mjs.map +1 -0
  388. package/dist/src/modules/auth/components/AuthProviders.d.mts +17 -0
  389. package/dist/src/modules/auth/components/AuthProviders.mjs +84 -0
  390. package/dist/src/modules/auth/components/AuthProviders.mjs.map +1 -0
  391. package/dist/src/modules/auth/components/AuthRouter.d.mts +18 -0
  392. package/dist/src/modules/auth/components/AuthRouter.mjs +48 -0
  393. package/dist/src/modules/auth/components/AuthRouter.mjs.map +1 -0
  394. package/dist/src/modules/auth/components/ClaimAccountRoute.d.mts +12 -0
  395. package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +206 -0
  396. package/dist/src/modules/auth/components/ClaimAccountRoute.mjs.map +1 -0
  397. package/dist/src/modules/auth/components/ErrorAuthRoute.d.mts +7 -0
  398. package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +129 -0
  399. package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -0
  400. package/dist/src/modules/auth/components/ForgotPasswordForm.d.mts +7 -0
  401. package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +53 -0
  402. package/dist/src/modules/auth/components/ForgotPasswordForm.mjs.map +1 -0
  403. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.mts +7 -0
  404. package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +37 -0
  405. package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -0
  406. package/dist/src/modules/auth/components/InviteFriends.d.mts +13 -0
  407. package/dist/src/modules/auth/components/InviteFriends.mjs +280 -0
  408. package/dist/src/modules/auth/components/InviteFriends.mjs.map +1 -0
  409. package/dist/src/modules/auth/components/LastUsedBadge.d.mts +17 -0
  410. package/dist/src/modules/auth/components/LastUsedBadge.mjs +19 -0
  411. package/dist/src/modules/auth/components/LastUsedBadge.mjs.map +1 -0
  412. package/dist/src/modules/auth/components/LoginForm.d.mts +11 -0
  413. package/dist/src/modules/auth/components/LoginForm.mjs +111 -0
  414. package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -0
  415. package/dist/src/modules/auth/components/LoginRoute.d.mts +11 -0
  416. package/dist/src/modules/auth/components/LoginRoute.mjs +44 -0
  417. package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -0
  418. package/dist/src/modules/auth/components/LogoutRoute.d.mts +7 -0
  419. package/dist/src/modules/auth/components/LogoutRoute.mjs +21 -0
  420. package/dist/src/modules/auth/components/LogoutRoute.mjs.map +1 -0
  421. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.mts +22 -0
  422. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +112 -0
  423. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs.map +1 -0
  424. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.mts +61 -0
  425. package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +458 -0
  426. package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs.map +1 -0
  427. package/dist/src/modules/auth/components/OrganizationPreferences.d.mts +30 -0
  428. package/dist/src/modules/auth/components/OrganizationPreferences.mjs +138 -0
  429. package/dist/src/modules/auth/components/OrganizationPreferences.mjs.map +1 -0
  430. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.mts +29 -0
  431. package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +193 -0
  432. package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs.map +1 -0
  433. package/dist/src/modules/auth/components/OrganizationSwitcher.d.mts +18 -0
  434. package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +96 -0
  435. package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -0
  436. package/dist/src/modules/auth/components/PreferencesEditor.d.mts +49 -0
  437. package/dist/src/modules/auth/components/PreferencesEditor.mjs +85 -0
  438. package/dist/src/modules/auth/components/PreferencesEditor.mjs.map +1 -0
  439. package/dist/src/modules/auth/components/ProfileRoute.d.mts +7 -0
  440. package/dist/src/modules/auth/components/ProfileRoute.mjs +85 -0
  441. package/dist/src/modules/auth/components/ProfileRoute.mjs.map +1 -0
  442. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.mts +45 -0
  443. package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +239 -0
  444. package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs.map +1 -0
  445. package/dist/src/modules/auth/components/ResetPasswordForm.d.mts +7 -0
  446. package/dist/src/modules/auth/components/ResetPasswordForm.mjs +101 -0
  447. package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -0
  448. package/dist/src/modules/auth/components/ResetPasswordRoute.d.mts +7 -0
  449. package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +37 -0
  450. package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -0
  451. package/dist/src/modules/auth/components/SignupFormRoute.d.mts +15 -0
  452. package/dist/src/modules/auth/components/SignupFormRoute.mjs +149 -0
  453. package/dist/src/modules/auth/components/SignupFormRoute.mjs.map +1 -0
  454. package/dist/src/modules/auth/components/SignupRoute.d.mts +15 -0
  455. package/dist/src/modules/auth/components/SignupRoute.mjs +62 -0
  456. package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -0
  457. package/dist/src/modules/auth/components/UserPreferences.d.mts +23 -0
  458. package/dist/src/modules/auth/components/UserPreferences.mjs +26 -0
  459. package/dist/src/modules/auth/components/UserPreferences.mjs.map +1 -0
  460. package/dist/src/modules/auth/components/WaitlistCard.d.mts +13 -0
  461. package/dist/src/modules/auth/components/WaitlistCard.mjs +67 -0
  462. package/dist/src/modules/auth/components/WaitlistCard.mjs.map +1 -0
  463. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.mts +15 -0
  464. package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +45 -0
  465. package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs.map +1 -0
  466. package/dist/src/modules/billing/components/BillingBetaPage.d.mts +17 -0
  467. package/dist/src/modules/billing/components/BillingBetaPage.mjs +158 -0
  468. package/dist/src/modules/billing/components/BillingBetaPage.mjs.map +1 -0
  469. package/dist/src/modules/billing/components/BillingInvoicePage.d.mts +15 -0
  470. package/dist/src/modules/billing/components/BillingInvoicePage.mjs +162 -0
  471. package/dist/src/modules/billing/components/BillingInvoicePage.mjs.map +1 -0
  472. package/dist/src/modules/billing/components/BillingPlanSelect.d.mts +13 -0
  473. package/dist/src/modules/billing/components/BillingPlanSelect.mjs +11 -0
  474. package/dist/src/modules/billing/components/BillingPlanSelect.mjs.map +1 -0
  475. package/dist/src/modules/billing/components/BillingRouter.d.mts +17 -0
  476. package/dist/src/modules/billing/components/BillingRouter.mjs +21 -0
  477. package/dist/src/modules/billing/components/BillingRouter.mjs.map +1 -0
  478. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.mts +18 -0
  479. package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +167 -0
  480. package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -0
  481. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.mts +20 -0
  482. package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +85 -0
  483. package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs.map +1 -0
  484. package/dist/src/modules/table/components/NuqsTable.d.mts +36 -0
  485. package/dist/src/modules/table/components/NuqsTable.mjs +308 -0
  486. package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -0
  487. package/dist/src/modules/table/components/TableFiltering.d.mts +35 -0
  488. package/dist/src/modules/table/components/TableFiltering.mjs +418 -0
  489. package/dist/src/modules/table/components/TableFiltering.mjs.map +1 -0
  490. package/dist/src/modules/table/components/TableGroupBy.d.mts +22 -0
  491. package/dist/src/modules/table/components/TableGroupBy.mjs +58 -0
  492. package/dist/src/modules/table/components/TableGroupBy.mjs.map +1 -0
  493. package/dist/src/modules/table/components/TablePagination.d.mts +19 -0
  494. package/dist/src/modules/table/components/TablePagination.mjs +66 -0
  495. package/dist/src/modules/table/components/TablePagination.mjs.map +1 -0
  496. package/dist/src/modules/table/components/table.types.d.mts +17 -0
  497. package/dist/src/modules/table/filterTransformers.d.mts +58 -0
  498. package/dist/src/modules/table/filterTransformers.mjs +213 -0
  499. package/dist/src/modules/table/filterTransformers.mjs.map +1 -0
  500. package/dist/src/types.d.mts +8 -0
  501. package/dist/translations/en/web-ui.json +209 -0
  502. package/package.json +6 -6
  503. package/dist/node_modules/.pnpm/@libsql_core@0.17.0/node_modules/@libsql/core/lib-esm/api.d.ts +0 -79
  504. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/client.d.ts +0 -580
  505. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/exports.d.ts +0 -14
  506. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/integration.d.ts +0 -10
  507. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/scope.d.ts +0 -289
  508. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/attachment.d.ts +0 -32
  509. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/breadcrumb.d.ts +0 -86
  510. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/checkin.d.ts +0 -101
  511. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/clientreport.d.ts +0 -16
  512. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/context.d.ts +0 -132
  513. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/csp.d.ts +0 -19
  514. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/datacategory.d.ts +0 -5
  515. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/debugMeta.d.ts +0 -30
  516. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/dsn.d.ts +0 -23
  517. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/envelope.d.ts +0 -153
  518. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/event.d.ts +0 -91
  519. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/eventprocessor.d.ts +0 -16
  520. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/exception.d.ts +0 -16
  521. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/extra.d.ts +0 -6
  522. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/feedback/sendFeedback.d.ts +0 -35
  523. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/integration.d.ts +0 -43
  524. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/link.d.ts +0 -32
  525. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/log.d.ts +0 -73
  526. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/measurement.d.ts +0 -26
  527. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/mechanism.d.ts +0 -54
  528. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/metric.d.ts +0 -77
  529. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/misc.d.ts +0 -32
  530. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/opentelemetry.d.ts +0 -17
  531. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/options.d.ts +0 -426
  532. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/package.d.ts +0 -11
  533. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/parameterize.d.ts +0 -8
  534. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/profiling.d.ts +0 -132
  535. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/replay.d.ts +0 -29
  536. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/request.d.ts +0 -21
  537. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/samplingcontext.d.ts +0 -49
  538. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkinfo.d.ts +0 -18
  539. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/sdkmetadata.d.ts +0 -9
  540. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/session.d.ts +0 -68
  541. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/severity.d.ts +0 -5
  542. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/span.d.ts +0 -183
  543. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/spanStatus.d.ts +0 -27
  544. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stackframe.d.ts +0 -25
  545. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/stacktrace.d.ts +0 -12
  546. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/startSpanOptions.d.ts +0 -66
  547. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/thread.d.ts +0 -15
  548. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/tracing.d.ts +0 -51
  549. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transaction.d.ts +0 -9
  550. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/transport.d.ts +0 -32
  551. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/types-hoist/user.d.ts +0 -20
  552. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/featureFlags.d.ts +0 -13
  553. package/dist/node_modules/.pnpm/@sentry_core@10.22.0/node_modules/@sentry/core/build/types/utils/prepareEvent.d.ts +0 -13
  554. package/dist/node_modules/.pnpm/@trpc_server@11.4.3_typescript@5.9.2/node_modules/@trpc/server/dist/index.d-D4qZxQJh.d.ts +0 -31
  555. 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 +0 -912
  556. 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 +0 -9
  557. 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 +0 -33
  558. 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 +0 -37
  559. 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 +0 -17
  560. 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 +0 -116
  561. 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 +0 -69
  562. 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 +0 -5
  563. 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 +0 -16
  564. 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 +0 -12
  565. 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 +0 -13
  566. 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 +0 -15
  567. 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 +0 -16
  568. 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 +0 -13
  569. 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 +0 -27
  570. 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 +0 -16
  571. 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 +0 -12
  572. 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 +0 -12
  573. 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 +0 -16
  574. 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 +0 -38
  575. 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 +0 -14
  576. 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 +0 -171
  577. 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 +0 -12
  578. 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 +0 -10
  579. 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 +0 -16
  580. 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 +0 -13
  581. 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 +0 -287
  582. 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 +0 -43
  583. 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 +0 -225
  584. 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 +0 -18
  585. 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 +0 -258
  586. 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 +0 -132
  587. 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 +0 -8
  588. 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 +0 -31
  589. 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 +0 -122
  590. 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 +0 -171
  591. 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 +0 -33
  592. 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 +0 -60
  593. 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 +0 -34
  594. 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 +0 -476
  595. 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 +0 -122
  596. 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 +0 -154
  597. 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 +0 -112
  598. 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 +0 -23
  599. 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 +0 -13
  600. 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 +0 -13
  601. 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 +0 -21
  602. 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 +0 -24
  603. 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 +0 -71
  604. 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 +0 -27
  605. package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/kysely.d.ts +0 -38
  606. package/dist/node_modules/.pnpm/neverthrow@8.2.0/node_modules/neverthrow/dist/index.d.ts +0 -299
  607. package/dist/node_modules/.pnpm/pino-std-serializers@7.0.0/node_modules/pino-std-serializers/index.d.ts +0 -132
  608. package/dist/node_modules/.pnpm/pino@9.6.0/node_modules/pino/pino.d.ts +0 -766
  609. 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 +0 -1295
  610. package/dist/node_modules/.pnpm/sonic-boom@4.2.0/node_modules/sonic-boom/types/index.d.ts +0 -55
  611. package/dist/node_modules/.pnpm/stripe@20.1.0_@types_node@20.19.11/node_modules/stripe/types/index.d.ts +0 -573
  612. package/dist/packages/backend/dist/src/modules/auth/auth.db.d.ts +0 -610
  613. package/dist/packages/backend/dist/src/modules/auth/auth.dto.d.ts +0 -71
  614. package/dist/packages/backend/dist/src/modules/auth/auth.lib.d.ts +0 -8
  615. package/dist/packages/backend/dist/src/modules/auth/auth.repository.d.ts +0 -2455
  616. package/dist/packages/backend/dist/src/modules/auth/auth.service.d.ts +0 -106
  617. package/dist/packages/backend/dist/src/modules/base/base.abstract.d.ts +0 -30
  618. package/dist/packages/backend/dist/src/modules/base/base.actor.d.ts +0 -38
  619. package/dist/packages/backend/dist/src/modules/base/base.dto.d.ts +0 -13
  620. package/dist/packages/backend/dist/src/modules/base/base.procedure.d.ts +0 -47
  621. package/dist/packages/backend/dist/src/modules/base/base.repository.d.ts +0 -126
  622. package/dist/packages/backend/dist/src/modules/base/base.service.d.ts +0 -34
  623. package/dist/packages/backend/dist/src/modules/base/base.types.d.ts +0 -6
  624. package/dist/packages/backend/dist/src/modules/billing/billing.repository.d.ts +0 -2788
  625. package/dist/packages/backend/dist/src/modules/billing/billing.service.d.ts +0 -53
  626. package/dist/packages/backend/dist/src/modules/email/email.service.d.ts +0 -63
  627. package/dist/packages/backend/dist/src/types.d.ts +0 -344
  628. package/dist/packages/backend/dist/src/utils/errors.d.ts +0 -60
  629. package/dist/packages/backend/dist/src/utils/logger.d.ts +0 -8
  630. package/dist/packages/backend/dist/src/utils/trpc.d.ts +0 -23
  631. package/dist/src/animations/card.motion.d.ts +0 -7
  632. package/dist/src/animations/card.motion.js +0 -26
  633. package/dist/src/animations/card.motion.js.map +0 -1
  634. package/dist/src/components/AvatarUpload.d.ts +0 -16
  635. package/dist/src/components/AvatarUpload.js +0 -109
  636. package/dist/src/components/AvatarUpload.js.map +0 -1
  637. package/dist/src/components/Button.d.ts +0 -15
  638. package/dist/src/components/Button.js +0 -14
  639. package/dist/src/components/Button.js.map +0 -1
  640. package/dist/src/components/Calendar.d.ts +0 -37
  641. package/dist/src/components/Calendar.js +0 -18
  642. package/dist/src/components/Calendar.js.map +0 -1
  643. package/dist/src/components/CardsSelect.d.ts +0 -27
  644. package/dist/src/components/CardsSelect.js +0 -79
  645. package/dist/src/components/CardsSelect.js.map +0 -1
  646. package/dist/src/components/CollapsibleSidebarMenuItem.d.ts +0 -22
  647. package/dist/src/components/CollapsibleSidebarMenuItem.js +0 -34
  648. package/dist/src/components/CollapsibleSidebarMenuItem.js.map +0 -1
  649. package/dist/src/components/ColorPicker.d.ts +0 -15
  650. package/dist/src/components/ColorPicker.js +0 -51
  651. package/dist/src/components/ColorPicker.js.map +0 -1
  652. package/dist/src/components/CopyButton.d.ts +0 -18
  653. package/dist/src/components/CopyButton.js +0 -33
  654. package/dist/src/components/CopyButton.js.map +0 -1
  655. package/dist/src/components/CropDialog.d.ts +0 -22
  656. package/dist/src/components/CropDialog.js +0 -113
  657. package/dist/src/components/CropDialog.js.map +0 -1
  658. package/dist/src/components/DialogProvider.d.ts +0 -23
  659. package/dist/src/components/DialogProvider.js +0 -72
  660. package/dist/src/components/DialogProvider.js.map +0 -1
  661. package/dist/src/components/ErrorFallback.d.ts +0 -13
  662. package/dist/src/components/ErrorFallback.js +0 -30
  663. package/dist/src/components/ErrorFallback.js.map +0 -1
  664. package/dist/src/components/FileDropzone.d.ts +0 -14
  665. package/dist/src/components/FileDropzone.js +0 -101
  666. package/dist/src/components/FileDropzone.js.map +0 -1
  667. package/dist/src/components/MultiSelectDropdown.d.ts +0 -29
  668. package/dist/src/components/MultiSelectDropdown.js +0 -103
  669. package/dist/src/components/MultiSelectDropdown.js.map +0 -1
  670. package/dist/src/components/Orb.d.ts +0 -17
  671. package/dist/src/components/Orb.js +0 -267
  672. package/dist/src/components/Orb.js.map +0 -1
  673. package/dist/src/components/PageAlert.d.ts +0 -23
  674. package/dist/src/components/PageAlert.js +0 -76
  675. package/dist/src/components/PageAlert.js.map +0 -1
  676. package/dist/src/components/SelectChips.d.ts +0 -21
  677. package/dist/src/components/SelectChips.js +0 -23
  678. package/dist/src/components/SelectChips.js.map +0 -1
  679. package/dist/src/components/SidebarItem.d.ts +0 -18
  680. package/dist/src/components/SidebarItem.js +0 -18
  681. package/dist/src/components/SidebarItem.js.map +0 -1
  682. package/dist/src/components/Steps.d.ts +0 -24
  683. package/dist/src/components/Steps.js +0 -200
  684. package/dist/src/components/Steps.js.map +0 -1
  685. package/dist/src/components/TablerIconPicker.d.ts +0 -13
  686. package/dist/src/components/TablerIconPicker.js +0 -4258
  687. package/dist/src/components/TablerIconPicker.js.map +0 -1
  688. package/dist/src/components/app-header.d.ts +0 -14
  689. package/dist/src/components/app-header.js +0 -29
  690. package/dist/src/components/app-header.js.map +0 -1
  691. package/dist/src/components/blur-card.d.ts +0 -27
  692. package/dist/src/components/blur-card.js +0 -137
  693. package/dist/src/components/blur-card.js.map +0 -1
  694. package/dist/src/components/features-section-demo-1.d.ts +0 -22
  695. package/dist/src/components/features-section-demo-1.js +0 -125
  696. package/dist/src/components/features-section-demo-1.js.map +0 -1
  697. package/dist/src/components/features-section-demo-2.d.ts +0 -7
  698. package/dist/src/components/features-section-demo-2.js +0 -82
  699. package/dist/src/components/features-section-demo-2.js.map +0 -1
  700. package/dist/src/components/features-section-demo-3.d.ts +0 -16
  701. package/dist/src/components/features-section-demo-3.js +0 -252
  702. package/dist/src/components/features-section-demo-3.js.map +0 -1
  703. package/dist/src/components/mode-toggle.d.ts +0 -7
  704. package/dist/src/components/mode-toggle.js +0 -44
  705. package/dist/src/components/mode-toggle.js.map +0 -1
  706. package/dist/src/components/nav-main.d.ts +0 -21
  707. package/dist/src/components/nav-main.js +0 -35
  708. package/dist/src/components/nav-main.js.map +0 -1
  709. package/dist/src/components/pricing-cards.d.ts +0 -7
  710. package/dist/src/components/pricing-cards.js +0 -128
  711. package/dist/src/components/pricing-cards.js.map +0 -1
  712. package/dist/src/components/shared/ButtonCopy.d.ts +0 -17
  713. package/dist/src/components/shared/ButtonCopy.js +0 -35
  714. package/dist/src/components/shared/ButtonCopy.js.map +0 -1
  715. package/dist/src/components/team-switcher.d.ts +0 -16
  716. package/dist/src/components/team-switcher.js +0 -72
  717. package/dist/src/components/team-switcher.js.map +0 -1
  718. package/dist/src/components/theme-provider.d.ts +0 -23
  719. package/dist/src/components/theme-provider.js +0 -45
  720. package/dist/src/components/theme-provider.js.map +0 -1
  721. package/dist/src/components/typewriter.d.ts +0 -39
  722. package/dist/src/components/typewriter.js +0 -47
  723. package/dist/src/components/typewriter.js.map +0 -1
  724. package/dist/src/components/ui/alert-dialog.d.ts +0 -49
  725. package/dist/src/components/ui/alert-dialog.js +0 -81
  726. package/dist/src/components/ui/alert-dialog.js.map +0 -1
  727. package/dist/src/components/ui/alert.d.ts +0 -25
  728. package/dist/src/components/ui/alert.js +0 -37
  729. package/dist/src/components/ui/alert.js.map +0 -1
  730. package/dist/src/components/ui/avatar.d.ts +0 -10
  731. package/dist/src/components/ui/avatar.js +0 -28
  732. package/dist/src/components/ui/avatar.js.map +0 -1
  733. package/dist/src/components/ui/badge.d.ts +0 -18
  734. package/dist/src/components/ui/badge.js +0 -23
  735. package/dist/src/components/ui/badge.js.map +0 -1
  736. package/dist/src/components/ui/bento-grid.d.ts +0 -26
  737. package/dist/src/components/ui/bento-grid.js +0 -32
  738. package/dist/src/components/ui/bento-grid.js.map +0 -1
  739. package/dist/src/components/ui/bento-grid2.d.ts +0 -31
  740. package/dist/src/components/ui/bento-grid2.js +0 -49
  741. package/dist/src/components/ui/bento-grid2.js.map +0 -1
  742. package/dist/src/components/ui/breadcrumb.d.ts +0 -31
  743. package/dist/src/components/ui/breadcrumb.js +0 -63
  744. package/dist/src/components/ui/breadcrumb.js.map +0 -1
  745. package/dist/src/components/ui/button.d.ts +0 -16
  746. package/dist/src/components/ui/button.js +0 -44
  747. package/dist/src/components/ui/button.js.map +0 -1
  748. package/dist/src/components/ui/card.d.ts +0 -12
  749. package/dist/src/components/ui/card.js +0 -44
  750. package/dist/src/components/ui/card.js.map +0 -1
  751. package/dist/src/components/ui/checkbox.d.ts +0 -8
  752. package/dist/src/components/ui/checkbox.js +0 -20
  753. package/dist/src/components/ui/checkbox.js.map +0 -1
  754. package/dist/src/components/ui/collapsible.d.ts +0 -10
  755. package/dist/src/components/ui/collapsible.js +0 -9
  756. package/dist/src/components/ui/collapsible.js.map +0 -1
  757. package/dist/src/components/ui/dialog.d.ts +0 -45
  758. package/dist/src/components/ui/dialog.js +0 -85
  759. package/dist/src/components/ui/dialog.js.map +0 -1
  760. package/dist/src/components/ui/dropdown-menu.d.ts +0 -35
  761. package/dist/src/components/ui/dropdown-menu.js +0 -82
  762. package/dist/src/components/ui/dropdown-menu.js.map +0 -1
  763. package/dist/src/components/ui/floating-navbar.d.ts +0 -18
  764. package/dist/src/components/ui/floating-navbar.js +0 -52
  765. package/dist/src/components/ui/floating-navbar.js.map +0 -1
  766. package/dist/src/components/ui/form.d.ts +0 -32
  767. package/dist/src/components/ui/form.js +0 -92
  768. package/dist/src/components/ui/form.js.map +0 -1
  769. package/dist/src/components/ui/image.d.ts +0 -10
  770. package/dist/src/components/ui/image.js +0 -55
  771. package/dist/src/components/ui/image.js.map +0 -1
  772. package/dist/src/components/ui/input.d.ts +0 -7
  773. package/dist/src/components/ui/input.js +0 -17
  774. package/dist/src/components/ui/input.js.map +0 -1
  775. package/dist/src/components/ui/label.d.ts +0 -10
  776. package/dist/src/components/ui/label.js +0 -17
  777. package/dist/src/components/ui/label.js.map +0 -1
  778. package/dist/src/components/ui/pagination.d.ts +0 -40
  779. package/dist/src/components/ui/pagination.js +0 -79
  780. package/dist/src/components/ui/pagination.js.map +0 -1
  781. package/dist/src/components/ui/progress.d.ts +0 -8
  782. package/dist/src/components/ui/progress.js +0 -19
  783. package/dist/src/components/ui/progress.js.map +0 -1
  784. package/dist/src/components/ui/resizable-navbar.d.ts +0 -97
  785. package/dist/src/components/ui/resizable-navbar.js +0 -138
  786. package/dist/src/components/ui/resizable-navbar.js.map +0 -1
  787. package/dist/src/components/ui/segment-control.d.ts +0 -12
  788. package/dist/src/components/ui/segment-control.js +0 -87
  789. package/dist/src/components/ui/segment-control.js.map +0 -1
  790. package/dist/src/components/ui/select.d.ts +0 -17
  791. package/dist/src/components/ui/select.js +0 -75
  792. package/dist/src/components/ui/select.js.map +0 -1
  793. package/dist/src/components/ui/separator.d.ts +0 -8
  794. package/dist/src/components/ui/separator.js +0 -17
  795. package/dist/src/components/ui/separator.js.map +0 -1
  796. package/dist/src/components/ui/sheet.d.ts +0 -36
  797. package/dist/src/components/ui/sheet.js +0 -66
  798. package/dist/src/components/ui/sheet.js.map +0 -1
  799. package/dist/src/components/ui/sidebar.d.ts +0 -73
  800. package/dist/src/components/ui/sidebar.js +0 -377
  801. package/dist/src/components/ui/sidebar.js.map +0 -1
  802. package/dist/src/components/ui/skeleton.d.ts +0 -10
  803. package/dist/src/components/ui/skeleton.js +0 -13
  804. package/dist/src/components/ui/skeleton.js.map +0 -1
  805. package/dist/src/components/ui/slider.d.ts +0 -8
  806. package/dist/src/components/ui/slider.js +0 -19
  807. package/dist/src/components/ui/slider.js.map +0 -1
  808. package/dist/src/components/ui/sonner.d.ts +0 -11
  809. package/dist/src/components/ui/sonner.js +0 -22
  810. package/dist/src/components/ui/sonner.js.map +0 -1
  811. package/dist/src/components/ui/spinner.d.ts +0 -25
  812. package/dist/src/components/ui/spinner.js +0 -30
  813. package/dist/src/components/ui/spinner.js.map +0 -1
  814. package/dist/src/components/ui/switch.d.ts +0 -8
  815. package/dist/src/components/ui/switch.js +0 -16
  816. package/dist/src/components/ui/switch.js.map +0 -1
  817. package/dist/src/components/ui/table.d.ts +0 -39
  818. package/dist/src/components/ui/table.js +0 -67
  819. package/dist/src/components/ui/table.js.map +0 -1
  820. package/dist/src/components/ui/tabs.d.ts +0 -24
  821. package/dist/src/components/ui/tabs.js +0 -36
  822. package/dist/src/components/ui/tabs.js.map +0 -1
  823. package/dist/src/components/ui/textarea.d.ts +0 -11
  824. package/dist/src/components/ui/textarea.js +0 -14
  825. package/dist/src/components/ui/textarea.js.map +0 -1
  826. package/dist/src/components/ui/timeline.d.ts +0 -18
  827. package/dist/src/components/ui/timeline.js +0 -90
  828. package/dist/src/components/ui/timeline.js.map +0 -1
  829. package/dist/src/components/ui/toast.d.ts +0 -20
  830. package/dist/src/components/ui/toast.js +0 -59
  831. package/dist/src/components/ui/toast.js.map +0 -1
  832. package/dist/src/components/ui/tooltip.d.ts +0 -24
  833. package/dist/src/components/ui/tooltip.js +0 -36
  834. package/dist/src/components/ui/tooltip.js.map +0 -1
  835. package/dist/src/components/ui/typewriter-effect.d.ts +0 -30
  836. package/dist/src/components/ui/typewriter-effect.js +0 -106
  837. package/dist/src/components/ui/typewriter-effect.js.map +0 -1
  838. package/dist/src/hooks/use-mobile.d.ts +0 -5
  839. package/dist/src/hooks/use-mobile.js +0 -20
  840. package/dist/src/hooks/use-mobile.js.map +0 -1
  841. package/dist/src/hooks/useDialog.d.ts +0 -8
  842. package/dist/src/hooks/useDialog.js +0 -26
  843. package/dist/src/hooks/useDialog.js.map +0 -1
  844. package/dist/src/icons/GoogleIcon.d.ts +0 -9
  845. package/dist/src/icons/GoogleIcon.js +0 -33
  846. package/dist/src/icons/GoogleIcon.js.map +0 -1
  847. package/dist/src/icons/LinkedInIcon.d.ts +0 -9
  848. package/dist/src/icons/LinkedInIcon.js +0 -28
  849. package/dist/src/icons/LinkedInIcon.js.map +0 -1
  850. package/dist/src/icons/MicrosoftIcon.d.ts +0 -9
  851. package/dist/src/icons/MicrosoftIcon.js +0 -32
  852. package/dist/src/icons/MicrosoftIcon.js.map +0 -1
  853. package/dist/src/lib/chatwoot.d.ts +0 -20
  854. package/dist/src/lib/chatwoot.js +0 -26
  855. package/dist/src/lib/chatwoot.js.map +0 -1
  856. package/dist/src/lib/utils.d.ts +0 -7
  857. package/dist/src/lib/utils.js +0 -10
  858. package/dist/src/lib/utils.js.map +0 -1
  859. package/dist/src/modules/app/components/AppLoader.d.ts +0 -8
  860. package/dist/src/modules/app/components/AppLoader.js +0 -16
  861. package/dist/src/modules/app/components/AppLoader.js.map +0 -1
  862. package/dist/src/modules/app/components/AppShell.d.ts +0 -16
  863. package/dist/src/modules/app/components/AppShell.js +0 -16
  864. package/dist/src/modules/app/components/AppShell.js.map +0 -1
  865. package/dist/src/modules/app/components/AppSidebar.d.ts +0 -17
  866. package/dist/src/modules/app/components/AppSidebar.js +0 -18
  867. package/dist/src/modules/app/components/AppSidebar.js.map +0 -1
  868. package/dist/src/modules/app/components/AppSidebarContent.d.ts +0 -25
  869. package/dist/src/modules/app/components/AppSidebarContent.js +0 -36
  870. package/dist/src/modules/app/components/AppSidebarContent.js.map +0 -1
  871. package/dist/src/modules/app/components/AppSidebarHeader.d.ts +0 -18
  872. package/dist/src/modules/app/components/AppSidebarHeader.js +0 -41
  873. package/dist/src/modules/app/components/AppSidebarHeader.js.map +0 -1
  874. package/dist/src/modules/app/components/AppSidebarInvites.d.ts +0 -11
  875. package/dist/src/modules/app/components/AppSidebarInvites.js +0 -43
  876. package/dist/src/modules/app/components/AppSidebarInvites.js.map +0 -1
  877. package/dist/src/modules/app/components/AppSidebarUser.d.ts +0 -21
  878. package/dist/src/modules/app/components/AppSidebarUser.js +0 -125
  879. package/dist/src/modules/app/components/AppSidebarUser.js.map +0 -1
  880. package/dist/src/modules/auth/components/AdminUserManagement.d.ts +0 -13
  881. package/dist/src/modules/auth/components/AdminUserManagement.js +0 -974
  882. package/dist/src/modules/auth/components/AdminUserManagement.js.map +0 -1
  883. package/dist/src/modules/auth/components/AdminWaitlist.d.ts +0 -13
  884. package/dist/src/modules/auth/components/AdminWaitlist.js +0 -287
  885. package/dist/src/modules/auth/components/AdminWaitlist.js.map +0 -1
  886. package/dist/src/modules/auth/components/AuthLayout.d.ts +0 -12
  887. package/dist/src/modules/auth/components/AuthLayout.js +0 -19
  888. package/dist/src/modules/auth/components/AuthLayout.js.map +0 -1
  889. package/dist/src/modules/auth/components/AuthProviders.d.ts +0 -17
  890. package/dist/src/modules/auth/components/AuthProviders.js +0 -84
  891. package/dist/src/modules/auth/components/AuthProviders.js.map +0 -1
  892. package/dist/src/modules/auth/components/AuthRouter.d.ts +0 -18
  893. package/dist/src/modules/auth/components/AuthRouter.js +0 -48
  894. package/dist/src/modules/auth/components/AuthRouter.js.map +0 -1
  895. package/dist/src/modules/auth/components/ClaimAccountRoute.d.ts +0 -12
  896. package/dist/src/modules/auth/components/ClaimAccountRoute.js +0 -206
  897. package/dist/src/modules/auth/components/ClaimAccountRoute.js.map +0 -1
  898. package/dist/src/modules/auth/components/ErrorAuthRoute.d.ts +0 -7
  899. package/dist/src/modules/auth/components/ErrorAuthRoute.js +0 -129
  900. package/dist/src/modules/auth/components/ErrorAuthRoute.js.map +0 -1
  901. package/dist/src/modules/auth/components/ForgotPasswordForm.d.ts +0 -7
  902. package/dist/src/modules/auth/components/ForgotPasswordForm.js +0 -53
  903. package/dist/src/modules/auth/components/ForgotPasswordForm.js.map +0 -1
  904. package/dist/src/modules/auth/components/ForgotPasswordRoute.d.ts +0 -7
  905. package/dist/src/modules/auth/components/ForgotPasswordRoute.js +0 -37
  906. package/dist/src/modules/auth/components/ForgotPasswordRoute.js.map +0 -1
  907. package/dist/src/modules/auth/components/InviteFriends.d.ts +0 -13
  908. package/dist/src/modules/auth/components/InviteFriends.js +0 -280
  909. package/dist/src/modules/auth/components/InviteFriends.js.map +0 -1
  910. package/dist/src/modules/auth/components/LastUsedBadge.d.ts +0 -17
  911. package/dist/src/modules/auth/components/LastUsedBadge.js +0 -19
  912. package/dist/src/modules/auth/components/LastUsedBadge.js.map +0 -1
  913. package/dist/src/modules/auth/components/LoginForm.d.ts +0 -11
  914. package/dist/src/modules/auth/components/LoginForm.js +0 -111
  915. package/dist/src/modules/auth/components/LoginForm.js.map +0 -1
  916. package/dist/src/modules/auth/components/LoginRoute.d.ts +0 -11
  917. package/dist/src/modules/auth/components/LoginRoute.js +0 -44
  918. package/dist/src/modules/auth/components/LoginRoute.js.map +0 -1
  919. package/dist/src/modules/auth/components/LogoutRoute.d.ts +0 -7
  920. package/dist/src/modules/auth/components/LogoutRoute.js +0 -21
  921. package/dist/src/modules/auth/components/LogoutRoute.js.map +0 -1
  922. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.d.ts +0 -22
  923. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +0 -112
  924. package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js.map +0 -1
  925. package/dist/src/modules/auth/components/OrganizationMembersRoute.d.ts +0 -61
  926. package/dist/src/modules/auth/components/OrganizationMembersRoute.js +0 -458
  927. package/dist/src/modules/auth/components/OrganizationMembersRoute.js.map +0 -1
  928. package/dist/src/modules/auth/components/OrganizationPreferences.d.ts +0 -30
  929. package/dist/src/modules/auth/components/OrganizationPreferences.js +0 -138
  930. package/dist/src/modules/auth/components/OrganizationPreferences.js.map +0 -1
  931. package/dist/src/modules/auth/components/OrganizationSettingsRoute.d.ts +0 -29
  932. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +0 -193
  933. package/dist/src/modules/auth/components/OrganizationSettingsRoute.js.map +0 -1
  934. package/dist/src/modules/auth/components/OrganizationSwitcher.d.ts +0 -18
  935. package/dist/src/modules/auth/components/OrganizationSwitcher.js +0 -96
  936. package/dist/src/modules/auth/components/OrganizationSwitcher.js.map +0 -1
  937. package/dist/src/modules/auth/components/PreferencesEditor.d.ts +0 -49
  938. package/dist/src/modules/auth/components/PreferencesEditor.js +0 -85
  939. package/dist/src/modules/auth/components/PreferencesEditor.js.map +0 -1
  940. package/dist/src/modules/auth/components/ProfileRoute.d.ts +0 -7
  941. package/dist/src/modules/auth/components/ProfileRoute.js +0 -85
  942. package/dist/src/modules/auth/components/ProfileRoute.js.map +0 -1
  943. package/dist/src/modules/auth/components/RangeNuqsDatePicker.d.ts +0 -45
  944. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +0 -239
  945. package/dist/src/modules/auth/components/RangeNuqsDatePicker.js.map +0 -1
  946. package/dist/src/modules/auth/components/ResetPasswordForm.d.ts +0 -7
  947. package/dist/src/modules/auth/components/ResetPasswordForm.js +0 -101
  948. package/dist/src/modules/auth/components/ResetPasswordForm.js.map +0 -1
  949. package/dist/src/modules/auth/components/ResetPasswordRoute.d.ts +0 -7
  950. package/dist/src/modules/auth/components/ResetPasswordRoute.js +0 -37
  951. package/dist/src/modules/auth/components/ResetPasswordRoute.js.map +0 -1
  952. package/dist/src/modules/auth/components/SignupFormRoute.d.ts +0 -15
  953. package/dist/src/modules/auth/components/SignupFormRoute.js +0 -149
  954. package/dist/src/modules/auth/components/SignupFormRoute.js.map +0 -1
  955. package/dist/src/modules/auth/components/SignupRoute.d.ts +0 -15
  956. package/dist/src/modules/auth/components/SignupRoute.js +0 -62
  957. package/dist/src/modules/auth/components/SignupRoute.js.map +0 -1
  958. package/dist/src/modules/auth/components/UserPreferences.d.ts +0 -23
  959. package/dist/src/modules/auth/components/UserPreferences.js +0 -26
  960. package/dist/src/modules/auth/components/UserPreferences.js.map +0 -1
  961. package/dist/src/modules/auth/components/WaitlistCard.d.ts +0 -13
  962. package/dist/src/modules/auth/components/WaitlistCard.js +0 -67
  963. package/dist/src/modules/auth/components/WaitlistCard.js.map +0 -1
  964. package/dist/src/modules/auth/components/WaitlistCodeValidation.d.ts +0 -15
  965. package/dist/src/modules/auth/components/WaitlistCodeValidation.js +0 -45
  966. package/dist/src/modules/auth/components/WaitlistCodeValidation.js.map +0 -1
  967. package/dist/src/modules/billing/components/BillingBetaPage.d.ts +0 -17
  968. package/dist/src/modules/billing/components/BillingBetaPage.js +0 -158
  969. package/dist/src/modules/billing/components/BillingBetaPage.js.map +0 -1
  970. package/dist/src/modules/billing/components/BillingInvoicePage.d.ts +0 -15
  971. package/dist/src/modules/billing/components/BillingInvoicePage.js +0 -162
  972. package/dist/src/modules/billing/components/BillingInvoicePage.js.map +0 -1
  973. package/dist/src/modules/billing/components/BillingPlanSelect.d.ts +0 -13
  974. package/dist/src/modules/billing/components/BillingPlanSelect.js +0 -11
  975. package/dist/src/modules/billing/components/BillingPlanSelect.js.map +0 -1
  976. package/dist/src/modules/billing/components/BillingRouter.d.ts +0 -17
  977. package/dist/src/modules/billing/components/BillingRouter.js +0 -21
  978. package/dist/src/modules/billing/components/BillingRouter.js.map +0 -1
  979. package/dist/src/modules/billing/components/BillingSinglePlanSelect.d.ts +0 -18
  980. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +0 -167
  981. package/dist/src/modules/billing/components/BillingSinglePlanSelect.js.map +0 -1
  982. package/dist/src/modules/table/components/ColumnOrderAndVisibility.d.ts +0 -20
  983. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +0 -85
  984. package/dist/src/modules/table/components/ColumnOrderAndVisibility.js.map +0 -1
  985. package/dist/src/modules/table/components/NuqsTable.d.ts +0 -36
  986. package/dist/src/modules/table/components/NuqsTable.js +0 -308
  987. package/dist/src/modules/table/components/NuqsTable.js.map +0 -1
  988. package/dist/src/modules/table/components/TableFiltering.d.ts +0 -35
  989. package/dist/src/modules/table/components/TableFiltering.js +0 -418
  990. package/dist/src/modules/table/components/TableFiltering.js.map +0 -1
  991. package/dist/src/modules/table/components/TableGroupBy.d.ts +0 -22
  992. package/dist/src/modules/table/components/TableGroupBy.js +0 -58
  993. package/dist/src/modules/table/components/TableGroupBy.js.map +0 -1
  994. package/dist/src/modules/table/components/TablePagination.d.ts +0 -19
  995. package/dist/src/modules/table/components/TablePagination.js +0 -66
  996. package/dist/src/modules/table/components/TablePagination.js.map +0 -1
  997. package/dist/src/modules/table/components/table.types.d.ts +0 -17
  998. package/dist/src/modules/table/filterTransformers.d.ts +0 -58
  999. package/dist/src/modules/table/filterTransformers.js +0 -213
  1000. package/dist/src/modules/table/filterTransformers.js.map +0 -1
  1001. package/dist/src/types.d.ts +0 -8
  1002. /package/dist/_virtual/_rolldown/{runtime.js → runtime.mjs} +0 -0
  1003. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1004. /package/dist/node_modules/.pnpm/@better-auth_core@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 → endpoint-context.d.mts} +0 -0
  1005. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1006. /package/dist/node_modules/.pnpm/@better-auth_core@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 → transaction.d.mts} +0 -0
  1007. /package/dist/node_modules/.pnpm/@better-auth_core@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 → factory.d.mts} +0 -0
  1008. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-default-field-name.d.mts} +0 -0
  1009. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-default-model-name.d.mts} +0 -0
  1010. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-field-attributes.d.mts} +0 -0
  1011. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-field-name.d.mts} +0 -0
  1012. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-id-field.d.mts} +0 -0
  1013. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-model-name.d.mts} +0 -0
  1014. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1015. /package/dist/node_modules/.pnpm/@better-auth_core@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 → types.d.mts} +0 -0
  1016. /package/dist/node_modules/.pnpm/@better-auth_core@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 → utils.d.mts} +0 -0
  1017. /package/dist/node_modules/.pnpm/@better-auth_core@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 → get-tables.d.mts} +0 -0
  1018. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1019. /package/dist/node_modules/.pnpm/@better-auth_core@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 → plugin.d.mts} +0 -0
  1020. /package/dist/node_modules/.pnpm/@better-auth_core@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 → account.d.mts} +0 -0
  1021. /package/dist/node_modules/.pnpm/@better-auth_core@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 → rate-limit.d.mts} +0 -0
  1022. /package/dist/node_modules/.pnpm/@better-auth_core@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 → session.d.mts} +0 -0
  1023. /package/dist/node_modules/.pnpm/@better-auth_core@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 → shared.d.mts} +0 -0
  1024. /package/dist/node_modules/.pnpm/@better-auth_core@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 → user.d.mts} +0 -0
  1025. /package/dist/node_modules/.pnpm/@better-auth_core@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 → verification.d.mts} +0 -0
  1026. /package/dist/node_modules/.pnpm/@better-auth_core@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 → type.d.mts} +0 -0
  1027. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1028. /package/dist/node_modules/.pnpm/@better-auth_core@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 → client-credentials-token.d.mts} +0 -0
  1029. /package/dist/node_modules/.pnpm/@better-auth_core@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 → create-authorization-url.d.mts} +0 -0
  1030. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1031. /package/dist/node_modules/.pnpm/@better-auth_core@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 → oauth-provider.d.mts} +0 -0
  1032. /package/dist/node_modules/.pnpm/@better-auth_core@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 → refresh-access-token.d.mts} +0 -0
  1033. /package/dist/node_modules/.pnpm/@better-auth_core@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 → utils.d.mts} +0 -0
  1034. /package/dist/node_modules/.pnpm/@better-auth_core@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 → validate-authorization-code.d.mts} +0 -0
  1035. /package/dist/node_modules/.pnpm/@better-auth_core@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 → apple.d.mts} +0 -0
  1036. /package/dist/node_modules/.pnpm/@better-auth_core@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 → atlassian.d.mts} +0 -0
  1037. /package/dist/node_modules/.pnpm/@better-auth_core@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 → cognito.d.mts} +0 -0
  1038. /package/dist/node_modules/.pnpm/@better-auth_core@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 → discord.d.mts} +0 -0
  1039. /package/dist/node_modules/.pnpm/@better-auth_core@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 → dropbox.d.mts} +0 -0
  1040. /package/dist/node_modules/.pnpm/@better-auth_core@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 → facebook.d.mts} +0 -0
  1041. /package/dist/node_modules/.pnpm/@better-auth_core@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 → figma.d.mts} +0 -0
  1042. /package/dist/node_modules/.pnpm/@better-auth_core@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 → github.d.mts} +0 -0
  1043. /package/dist/node_modules/.pnpm/@better-auth_core@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 → gitlab.d.mts} +0 -0
  1044. /package/dist/node_modules/.pnpm/@better-auth_core@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 → google.d.mts} +0 -0
  1045. /package/dist/node_modules/.pnpm/@better-auth_core@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 → huggingface.d.mts} +0 -0
  1046. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1047. /package/dist/node_modules/.pnpm/@better-auth_core@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 → kakao.d.mts} +0 -0
  1048. /package/dist/node_modules/.pnpm/@better-auth_core@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 → kick.d.mts} +0 -0
  1049. /package/dist/node_modules/.pnpm/@better-auth_core@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 → line.d.mts} +0 -0
  1050. /package/dist/node_modules/.pnpm/@better-auth_core@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 → linear.d.mts} +0 -0
  1051. /package/dist/node_modules/.pnpm/@better-auth_core@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 → linkedin.d.mts} +0 -0
  1052. /package/dist/node_modules/.pnpm/@better-auth_core@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 → microsoft-entra-id.d.mts} +0 -0
  1053. /package/dist/node_modules/.pnpm/@better-auth_core@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 → naver.d.mts} +0 -0
  1054. /package/dist/node_modules/.pnpm/@better-auth_core@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 → notion.d.mts} +0 -0
  1055. /package/dist/node_modules/.pnpm/@better-auth_core@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 → paybin.d.mts} +0 -0
  1056. /package/dist/node_modules/.pnpm/@better-auth_core@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 → paypal.d.mts} +0 -0
  1057. /package/dist/node_modules/.pnpm/@better-auth_core@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 → polar.d.mts} +0 -0
  1058. /package/dist/node_modules/.pnpm/@better-auth_core@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 → reddit.d.mts} +0 -0
  1059. /package/dist/node_modules/.pnpm/@better-auth_core@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 → roblox.d.mts} +0 -0
  1060. /package/dist/node_modules/.pnpm/@better-auth_core@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 → salesforce.d.mts} +0 -0
  1061. /package/dist/node_modules/.pnpm/@better-auth_core@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 → slack.d.mts} +0 -0
  1062. /package/dist/node_modules/.pnpm/@better-auth_core@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 → spotify.d.mts} +0 -0
  1063. /package/dist/node_modules/.pnpm/@better-auth_core@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 → tiktok.d.mts} +0 -0
  1064. /package/dist/node_modules/.pnpm/@better-auth_core@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 → twitch.d.mts} +0 -0
  1065. /package/dist/node_modules/.pnpm/@better-auth_core@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 → twitter.d.mts} +0 -0
  1066. /package/dist/node_modules/.pnpm/@better-auth_core@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 → vercel.d.mts} +0 -0
  1067. /package/dist/node_modules/.pnpm/@better-auth_core@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 → vk.d.mts} +0 -0
  1068. /package/dist/node_modules/.pnpm/@better-auth_core@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 → zoom.d.mts} +0 -0
  1069. /package/dist/node_modules/.pnpm/@better-auth_core@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 → context.d.mts} +0 -0
  1070. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1071. /package/dist/node_modules/.pnpm/@better-auth_core@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 → init-options.d.mts} +0 -0
  1072. /package/dist/node_modules/.pnpm/@better-auth_core@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 → plugin-client.d.mts} +0 -0
  1073. /package/dist/node_modules/.pnpm/@better-auth_core@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 → plugin.d.mts} +0 -0
  1074. /package/dist/node_modules/.pnpm/@better-auth_core@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 → db.d.mts} +0 -0
  1075. /package/dist/node_modules/.pnpm/@better-auth_core@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 → index.d.mts} +0 -0
  1076. /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 → index.d.mts} +0 -0
  1077. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1078. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1079. /package/dist/node_modules/.pnpm/better-auth@1.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 → origin-check.d.mts} +0 -0
  1080. /package/dist/node_modules/.pnpm/better-auth@1.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 → account.d.mts} +0 -0
  1081. /package/dist/node_modules/.pnpm/better-auth@1.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 → callback.d.mts} +0 -0
  1082. /package/dist/node_modules/.pnpm/better-auth@1.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 → email-verification.d.mts} +0 -0
  1083. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1084. /package/dist/node_modules/.pnpm/better-auth@1.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 → password.d.mts} +0 -0
  1085. /package/dist/node_modules/.pnpm/better-auth@1.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 → session.d.mts} +0 -0
  1086. /package/dist/node_modules/.pnpm/better-auth@1.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 → sign-in.d.mts} +0 -0
  1087. /package/dist/node_modules/.pnpm/better-auth@1.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 → sign-up.d.mts} +0 -0
  1088. /package/dist/node_modules/.pnpm/better-auth@1.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 → update-user.d.mts} +0 -0
  1089. /package/dist/node_modules/.pnpm/better-auth@1.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 → full.d.mts} +0 -0
  1090. /package/dist/node_modules/.pnpm/better-auth@1.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 → path-to-object.d.mts} +0 -0
  1091. /package/dist/node_modules/.pnpm/better-auth@1.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 → types.d.mts} +0 -0
  1092. /package/dist/node_modules/.pnpm/better-auth@1.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 → adapter-base.d.mts} +0 -0
  1093. /package/dist/node_modules/.pnpm/better-auth@1.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 → adapter-kysely.d.mts} +0 -0
  1094. /package/dist/node_modules/.pnpm/better-auth@1.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 → field-converter.d.mts} +0 -0
  1095. /package/dist/node_modules/.pnpm/better-auth@1.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 → field.d.mts} +0 -0
  1096. /package/dist/node_modules/.pnpm/better-auth@1.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 → get-migration.d.mts} +0 -0
  1097. /package/dist/node_modules/.pnpm/better-auth@1.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 → get-schema.d.mts} +0 -0
  1098. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1099. /package/dist/node_modules/.pnpm/better-auth@1.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 → internal-adapter.d.mts} +0 -0
  1100. /package/dist/node_modules/.pnpm/better-auth@1.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 → schema.d.mts} +0 -0
  1101. /package/dist/node_modules/.pnpm/better-auth@1.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 → to-zod.d.mts} +0 -0
  1102. /package/dist/node_modules/.pnpm/better-auth@1.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 → with-hooks.d.mts} +0 -0
  1103. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1104. /package/dist/node_modules/.pnpm/better-auth@1.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 → state.d.mts} +0 -0
  1105. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1106. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1107. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → admin.d.mts} +0 -0
  1108. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1109. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1110. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1111. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1112. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1113. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → schema.d.mts} +0 -0
  1114. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1115. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1116. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1117. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1118. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1119. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1120. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1121. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1122. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → auth0.d.mts} +0 -0
  1123. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → gumroad.d.mts} +0 -0
  1124. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → hubspot.d.mts} +0 -0
  1125. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1126. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → keycloak.d.mts} +0 -0
  1127. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → line.d.mts} +0 -0
  1128. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → microsoft-entra-id.d.mts} +0 -0
  1129. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → okta.d.mts} +0 -0
  1130. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → patreon.d.mts} +0 -0
  1131. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → slack.d.mts} +0 -0
  1132. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1133. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1134. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1135. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1136. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → sign.d.mts} +0 -0
  1137. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1138. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → utils.d.mts} +0 -0
  1139. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → verify.d.mts} +0 -0
  1140. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1141. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1142. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1143. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1144. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1145. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1146. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → schema.d.mts} +0 -0
  1147. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1148. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1149. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1150. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → generator.d.mts} +0 -0
  1151. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1152. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1153. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → statement.d.mts} +0 -0
  1154. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → adapter.d.mts} +0 -0
  1155. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1156. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → organization.d.mts} +0 -0
  1157. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → crud-access-control.d.mts} +0 -0
  1158. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → crud-invites.d.mts} +0 -0
  1159. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → crud-members.d.mts} +0 -0
  1160. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → crud-org.d.mts} +0 -0
  1161. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → crud-team.d.mts} +0 -0
  1162. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → schema.d.mts} +0 -0
  1163. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1164. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1165. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1166. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1167. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1168. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → client.d.mts} +0 -0
  1169. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1170. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1171. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1172. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → types.d.mts} +0 -0
  1173. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → index.d.mts} +0 -0
  1174. /package/dist/node_modules/.pnpm/better-auth@1.4.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 → schema.d.mts} +0 -0
  1175. /package/dist/node_modules/.pnpm/better-auth@1.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 → state.d.mts} +0 -0
  1176. /package/dist/node_modules/.pnpm/better-auth@1.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 → adapter.d.mts} +0 -0
  1177. /package/dist/node_modules/.pnpm/better-auth@1.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 → api.d.mts} +0 -0
  1178. /package/dist/node_modules/.pnpm/better-auth@1.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 → auth.d.mts} +0 -0
  1179. /package/dist/node_modules/.pnpm/better-auth@1.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 → helper.d.mts} +0 -0
  1180. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1181. /package/dist/node_modules/.pnpm/better-auth@1.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 → models.d.mts} +0 -0
  1182. /package/dist/node_modules/.pnpm/better-auth@1.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 → plugins.d.mts} +0 -0
  1183. /package/dist/node_modules/.pnpm/better-auth@1.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 → get-request-ip.d.mts} +0 -0
  1184. /package/dist/node_modules/.pnpm/better-auth@1.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 → index.d.mts} +0 -0
  1185. /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 → column.d.mts} +0 -0
  1186. /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 → column.types.d.mts} +0 -0
  1187. /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 → index.d.mts} +0 -0
  1188. /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 → schema.d.mts} +0 -0
  1189. /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 → schema.types.d.mts} +0 -0
  1190. /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 → schema.types.internal.d.mts} +0 -0
  1191. /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 → utils.d.mts} +0 -0
  1192. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/{dialect-adapter-base.d.ts → dialect-adapter-base.d.mts} +0 -0
  1193. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/{dialect-adapter.d.ts → dialect-adapter.d.mts} +0 -0
  1194. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/{dialect.d.ts → dialect.d.mts} +0 -0
  1195. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/{mssql-adapter.d.ts → mssql-adapter.d.mts} +0 -0
  1196. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/{mssql-dialect.d.ts → mssql-dialect.d.mts} +0 -0
  1197. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mssql/{mssql-introspector.d.ts → mssql-introspector.d.mts} +0 -0
  1198. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/{mysql-adapter.d.ts → mysql-adapter.d.mts} +0 -0
  1199. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/{mysql-dialect.d.ts → mysql-dialect.d.mts} +0 -0
  1200. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/mysql/{mysql-introspector.d.ts → mysql-introspector.d.mts} +0 -0
  1201. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/{postgres-adapter.d.ts → postgres-adapter.d.mts} +0 -0
  1202. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/{postgres-dialect.d.ts → postgres-dialect.d.mts} +0 -0
  1203. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/postgres/{postgres-introspector.d.ts → postgres-introspector.d.mts} +0 -0
  1204. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/{sqlite-adapter.d.ts → sqlite-adapter.d.mts} +0 -0
  1205. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/{sqlite-dialect.d.ts → sqlite-dialect.d.mts} +0 -0
  1206. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/dialect/sqlite/{sqlite-introspector.d.ts → sqlite-introspector.d.mts} +0 -0
  1207. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/expression/{expression-builder.d.ts → expression-builder.d.mts} +0 -0
  1208. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/{index.d.ts → index.d.mts} +0 -0
  1209. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/{file-migration-provider.d.ts → file-migration-provider.d.mts} +0 -0
  1210. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/migration/{migrator.d.ts → migrator.d.mts} +0 -0
  1211. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{binary-operation-parser.d.ts → binary-operation-parser.d.mts} +0 -0
  1212. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{delete-from-parser.d.ts → delete-from-parser.d.mts} +0 -0
  1213. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{expression-parser.d.ts → expression-parser.d.mts} +0 -0
  1214. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{group-by-parser.d.ts → group-by-parser.d.mts} +0 -0
  1215. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{insert-values-parser.d.ts → insert-values-parser.d.mts} +0 -0
  1216. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{join-parser.d.ts → join-parser.d.mts} +0 -0
  1217. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{merge-into-parser.d.ts → merge-into-parser.d.mts} +0 -0
  1218. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{reference-parser.d.ts → reference-parser.d.mts} +0 -0
  1219. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{returning-parser.d.ts → returning-parser.d.mts} +0 -0
  1220. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{select-from-parser.d.ts → select-from-parser.d.mts} +0 -0
  1221. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{select-parser.d.ts → select-parser.d.mts} +0 -0
  1222. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{set-operation-parser.d.ts → set-operation-parser.d.mts} +0 -0
  1223. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{tuple-parser.d.ts → tuple-parser.d.mts} +0 -0
  1224. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{unary-operation-parser.d.ts → unary-operation-parser.d.mts} +0 -0
  1225. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{update-parser.d.ts → update-parser.d.mts} +0 -0
  1226. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{update-set-parser.d.ts → update-set-parser.d.mts} +0 -0
  1227. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{value-parser.d.ts → value-parser.d.mts} +0 -0
  1228. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/parser/{with-parser.d.ts → with-parser.d.mts} +0 -0
  1229. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{case-builder.d.ts → case-builder.d.mts} +0 -0
  1230. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{delete-query-builder.d.ts → delete-query-builder.d.mts} +0 -0
  1231. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{having-interface.d.ts → having-interface.d.mts} +0 -0
  1232. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{insert-query-builder.d.ts → insert-query-builder.d.mts} +0 -0
  1233. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{join-builder.d.ts → join-builder.d.mts} +0 -0
  1234. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{merge-query-builder.d.ts → merge-query-builder.d.mts} +0 -0
  1235. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{on-conflict-builder.d.ts → on-conflict-builder.d.mts} +0 -0
  1236. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{output-interface.d.ts → output-interface.d.mts} +0 -0
  1237. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{returning-interface.d.ts → returning-interface.d.mts} +0 -0
  1238. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{select-query-builder.d.ts → select-query-builder.d.mts} +0 -0
  1239. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{update-query-builder.d.ts → update-query-builder.d.mts} +0 -0
  1240. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-builder/{where-interface.d.ts → where-interface.d.mts} +0 -0
  1241. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/{query-creator.d.ts → query-creator.d.mts} +0 -0
  1242. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/{default-query-executor.d.ts → default-query-executor.d.mts} +0 -0
  1243. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/{noop-query-executor.d.ts → noop-query-executor.d.mts} +0 -0
  1244. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/{query-executor-base.d.ts → query-executor-base.d.mts} +0 -0
  1245. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/{query-executor-provider.d.ts → query-executor-provider.d.mts} +0 -0
  1246. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/query-executor/{query-executor.d.ts → query-executor.d.mts} +0 -0
  1247. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/{raw-builder.d.ts → raw-builder.d.mts} +0 -0
  1248. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/raw-builder/{sql.d.ts → sql.d.mts} +0 -0
  1249. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{alter-table-add-foreign-key-constraint-builder.d.ts → alter-table-add-foreign-key-constraint-builder.d.mts} +0 -0
  1250. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{alter-table-add-index-builder.d.ts → alter-table-add-index-builder.d.mts} +0 -0
  1251. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{alter-table-builder.d.ts → alter-table-builder.d.mts} +0 -0
  1252. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{alter-table-drop-constraint-builder.d.ts → alter-table-drop-constraint-builder.d.mts} +0 -0
  1253. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{alter-table-executor.d.ts → alter-table-executor.d.mts} +0 -0
  1254. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{create-index-builder.d.ts → create-index-builder.d.mts} +0 -0
  1255. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{create-schema-builder.d.ts → create-schema-builder.d.mts} +0 -0
  1256. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{create-table-builder.d.ts → create-table-builder.d.mts} +0 -0
  1257. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{create-type-builder.d.ts → create-type-builder.d.mts} +0 -0
  1258. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{create-view-builder.d.ts → create-view-builder.d.mts} +0 -0
  1259. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{drop-index-builder.d.ts → drop-index-builder.d.mts} +0 -0
  1260. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{drop-schema-builder.d.ts → drop-schema-builder.d.mts} +0 -0
  1261. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{drop-table-builder.d.ts → drop-table-builder.d.mts} +0 -0
  1262. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{drop-type-builder.d.ts → drop-type-builder.d.mts} +0 -0
  1263. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{drop-view-builder.d.ts → drop-view-builder.d.mts} +0 -0
  1264. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{refresh-materialized-view-builder.d.ts → refresh-materialized-view-builder.d.mts} +0 -0
  1265. /package/dist/node_modules/.pnpm/kysely@0.28.5/node_modules/kysely/dist/esm/schema/{schema.d.ts → schema.d.mts} +0 -0
  1266. /package/dist/packages/backend/dist/src/modules/base/{base.grants.d.ts → base.grants.d.mts} +0 -0
  1267. /package/dist/src/modules/table/components/{table.types.js → table.types.mjs} +0 -0
  1268. /package/dist/src/{types.js → types.mjs} +0 -0
@@ -1 +0,0 @@
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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A,GAET,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,30 +0,0 @@
1
- import { UseBackendTRPC } from "../../../types.js";
2
- import { ControlsFor, PreferenceEditorLabels } from "./PreferencesEditor.js";
3
- import { ReactElement } from "react";
4
- import { z } from "zod";
5
-
6
- //#region src/modules/auth/components/OrganizationPreferences.d.ts
7
- type OrganizationPreferenceLabels = PreferenceEditorLabels & {
8
- noActiveOrganization: string;
9
- loadError: string;
10
- };
11
- type OrganizationPreferencesTarget = "preferences" | "flags";
12
- type OrganizationPreferencesProps<S extends z.ZodObject<z.ZodRawShape>> = {
13
- useTRPC: UseBackendTRPC;
14
- schema: S;
15
- controls: ControlsFor<z.infer<S>>;
16
- target?: OrganizationPreferencesTarget;
17
- labels?: Partial<OrganizationPreferenceLabels>;
18
- onInvalidateScopedQueries?: () => void | Promise<void>;
19
- };
20
- declare function OrganizationPreferences<S extends z.ZodObject<z.ZodRawShape>>({
21
- useTRPC,
22
- schema,
23
- controls,
24
- target,
25
- labels,
26
- onInvalidateScopedQueries
27
- }: OrganizationPreferencesProps<S>): ReactElement;
28
- //#endregion
29
- export { OrganizationPreferences, OrganizationPreferencesProps, OrganizationPreferencesTarget };
30
- //# sourceMappingURL=OrganizationPreferences.d.ts.map
@@ -1,138 +0,0 @@
1
- import { PreferencesEditor } from "./PreferencesEditor.js";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- import { useCallback, useMemo } from "react";
4
- import { useTranslation } from "react-i18next";
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
9
- function OrganizationStateCard({ title, 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
- });
17
- }
18
- function getFlagValues(controls, flags) {
19
- const activeFlags = new Set(flags);
20
- return Object.fromEntries(Object.keys(controls).map((key) => [key, activeFlags.has(key)]));
21
- }
22
- function getFlagsFromValues(values) {
23
- return Object.entries(values).filter(([, value]) => value === true).map(([key]) => key);
24
- }
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
- });
134
- }
135
- //#endregion
136
- export { OrganizationPreferences };
137
-
138
- //# sourceMappingURL=OrganizationPreferences.js.map
@@ -1 +0,0 @@
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,EAAA,CAAA;EACH,CAAA;;AAIV,SAAS,cACP,UACA,OACqB;CACrB,MAAM,cAAc,IAAI,IAAI,MAAM;AAElC,QAAO,OAAO,YACZ,OAAO,KAAK,SAAS,CAAC,KAAK,QAAQ,CAAC,KAAK,YAAY,IAAI,IAAI,CAAC,CAAC,CAChE;;AAGH,SAAS,mBAAmB,QAA2C;AACrE,QAAO,OAAO,QAAQ,OAAO,CAC1B,QAAQ,GAAG,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,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,29 +0,0 @@
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;
18
- };
19
- type OrganizationSettingsRouteProps = {
20
- managerRoles?: string[];
21
- onInvalidateScopedQueries?: () => void | Promise<void>;
22
- };
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
@@ -1,193 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { useCallback, useEffect, useMemo, useState } from "react";
3
- import { useTranslation } from "react-i18next";
4
- import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from "@heroui/react";
5
- import { toast } from "sonner";
6
- import { useQuery, useQueryClient } from "@tanstack/react-query";
7
- import { authClient } from "@m5kdev/frontend/modules/auth/auth.lib";
8
- import { useSession } from "@m5kdev/frontend/modules/auth/hooks/useSession";
9
- //#region src/modules/auth/components/OrganizationSettingsRoute.tsx
10
- function OrganizationStateCard({ title, message }) {
11
- return /* @__PURE__ */ jsx("div", {
12
- className: "p-6",
13
- children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, {
14
- className: "text-lg font-semibold",
15
- children: title
16
- }), /* @__PURE__ */ jsx(CardBody, { children: message })] })
17
- });
18
- }
19
- function useOrganizationAccess({ managerRoles, onInvalidateScopedQueries }) {
20
- const { data: session, registerSession } = useSession();
21
- const queryClient = useQueryClient();
22
- const activeOrganizationId = session?.session.activeOrganizationId ?? "";
23
- const activeOrganizationRole = (session?.session)?.activeOrganizationRole ?? "";
24
- return {
25
- activeOrganizationId,
26
- activeOrganizationRole,
27
- canManageOrganization: useMemo(() => new Set(managerRoles ?? ["admin", "owner"]), [managerRoles]).has(activeOrganizationRole),
28
- refreshOrganizationQueries: useCallback(async () => {
29
- await Promise.allSettled([
30
- queryClient.invalidateQueries({ queryKey: ["auth-organization-list"] }),
31
- queryClient.invalidateQueries({ queryKey: ["auth-organization-details", activeOrganizationId] }),
32
- queryClient.invalidateQueries({ queryKey: ["auth-organization-members", activeOrganizationId] }),
33
- queryClient.invalidateQueries({ queryKey: ["auth-organization-invitations", activeOrganizationId] })
34
- ]);
35
- registerSession(() => {
36
- onInvalidateScopedQueries?.();
37
- });
38
- }, [
39
- activeOrganizationId,
40
- onInvalidateScopedQueries,
41
- queryClient,
42
- registerSession
43
- ])
44
- };
45
- }
46
- function useOrganizationConfig() {
47
- const { t } = useTranslation();
48
- return {
49
- resolvedLabels: useMemo(() => ({
50
- settingsTitle: t("web-ui:organization.settings.title"),
51
- settingsDescription: t("web-ui:organization.settings.description"),
52
- settingsNoActive: t("web-ui:organization.settings.noActive"),
53
- settingsManageOnly: t("web-ui:organization.settings.manageOnly"),
54
- formName: t("web-ui:organization.settings.form.name"),
55
- formSlug: t("web-ui:organization.settings.form.slug"),
56
- formMetadata: t("web-ui:organization.settings.form.metadata"),
57
- formMetadataInvalidJson: t("web-ui:organization.settings.form.metadataInvalidJson"),
58
- formMetadataInvalid: t("web-ui:organization.settings.form.metadataInvalid"),
59
- saveButton: t("web-ui:organization.settings.button.save"),
60
- updateSuccess: t("web-ui:organization.settings.updateSuccess"),
61
- updateError: t("web-ui:organization.settings.updateError"),
62
- loadError: t("web-ui:organization.settings.loadError")
63
- }), [t]),
64
- resolvedRoleLabels: useMemo(() => ({
65
- member: t("web-ui:organization.roles.member"),
66
- admin: t("web-ui:organization.roles.admin"),
67
- owner: t("web-ui:organization.roles.owner")
68
- }), [t])
69
- };
70
- }
71
- function OrganizationSettingsRoute({ managerRoles, onInvalidateScopedQueries }) {
72
- const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();
73
- const { activeOrganizationId, activeOrganizationRole, canManageOrganization, refreshOrganizationQueries } = useOrganizationAccess({
74
- managerRoles,
75
- onInvalidateScopedQueries
76
- });
77
- const [organizationName, setOrganizationName] = useState("");
78
- const [organizationSlug, setOrganizationSlug] = useState("");
79
- const [organizationMetadata, setOrganizationMetadata] = useState("{}");
80
- const [isSavingOrganization, setIsSavingOrganization] = useState(false);
81
- const organizationQuery = useQuery({
82
- queryKey: ["auth-organization-details", activeOrganizationId],
83
- enabled: Boolean(activeOrganizationId && canManageOrganization),
84
- queryFn: async () => {
85
- const { data, error } = await authClient.organization.getFullOrganization({ query: {
86
- organizationId: activeOrganizationId,
87
- membersLimit: 200
88
- } });
89
- if (error) throw new Error(error.message ?? resolvedLabels.loadError);
90
- return data;
91
- }
92
- });
93
- useEffect(() => {
94
- const organization = organizationQuery.data;
95
- if (!organization) return;
96
- setOrganizationName(organization.name ?? "");
97
- setOrganizationSlug(organization.slug ?? "");
98
- setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));
99
- }, [organizationQuery.data]);
100
- const onUpdateOrganization = async () => {
101
- if (!canManageOrganization || !activeOrganizationId) return;
102
- try {
103
- setIsSavingOrganization(true);
104
- let parsedMetadata;
105
- try {
106
- parsedMetadata = organizationMetadata.trim() ? JSON.parse(organizationMetadata) : {};
107
- } catch (parseError) {
108
- const message = parseError instanceof SyntaxError ? resolvedLabels.formMetadataInvalidJson : parseError instanceof Error ? parseError.message : resolvedLabels.formMetadataInvalid;
109
- throw new Error(message);
110
- }
111
- const { error } = await authClient.organization.update({
112
- organizationId: activeOrganizationId,
113
- data: {
114
- name: organizationName.trim(),
115
- slug: organizationSlug.trim(),
116
- metadata: parsedMetadata
117
- }
118
- });
119
- if (error) throw new Error(error.message ?? resolvedLabels.updateError);
120
- await refreshOrganizationQueries();
121
- toast.success(resolvedLabels.updateSuccess);
122
- } catch (error) {
123
- toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);
124
- } finally {
125
- setIsSavingOrganization(false);
126
- }
127
- };
128
- if (!activeOrganizationId) return /* @__PURE__ */ jsx(OrganizationStateCard, {
129
- title: resolvedLabels.settingsTitle,
130
- message: resolvedLabels.settingsNoActive
131
- });
132
- if (!canManageOrganization) return /* @__PURE__ */ jsx(OrganizationStateCard, {
133
- title: resolvedLabels.settingsTitle,
134
- message: resolvedLabels.settingsManageOnly
135
- });
136
- if (organizationQuery.isLoading) return /* @__PURE__ */ jsx("div", {
137
- className: "p-6 flex justify-center",
138
- children: /* @__PURE__ */ jsx(Spinner, {})
139
- });
140
- return /* @__PURE__ */ jsx("div", {
141
- className: "p-6",
142
- children: /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsxs(CardHeader, {
143
- className: "flex items-center justify-between",
144
- children: [/* @__PURE__ */ jsxs("div", {
145
- className: "flex flex-col",
146
- children: [/* @__PURE__ */ jsx("h2", {
147
- className: "text-xl font-semibold",
148
- children: resolvedLabels.settingsTitle
149
- }), /* @__PURE__ */ jsx("p", {
150
- className: "text-sm text-default-500",
151
- children: resolvedLabels.settingsDescription
152
- })]
153
- }), /* @__PURE__ */ jsx(Chip, {
154
- variant: "flat",
155
- color: "primary",
156
- children: resolvedRoleLabels[activeOrganizationRole] ?? activeOrganizationRole ?? resolvedRoleLabels.member
157
- })]
158
- }), /* @__PURE__ */ jsxs(CardBody, {
159
- className: "grid gap-3",
160
- children: [
161
- /* @__PURE__ */ jsx(Input, {
162
- label: resolvedLabels.formName,
163
- value: organizationName,
164
- onValueChange: setOrganizationName
165
- }),
166
- /* @__PURE__ */ jsx(Input, {
167
- label: resolvedLabels.formSlug,
168
- value: organizationSlug,
169
- onValueChange: setOrganizationSlug
170
- }),
171
- /* @__PURE__ */ jsx(Textarea, {
172
- label: resolvedLabels.formMetadata,
173
- value: organizationMetadata,
174
- onValueChange: setOrganizationMetadata,
175
- minRows: 4
176
- }),
177
- /* @__PURE__ */ jsx("div", {
178
- className: "flex justify-end",
179
- children: /* @__PURE__ */ jsx(Button, {
180
- color: "primary",
181
- isLoading: isSavingOrganization,
182
- onPress: onUpdateOrganization,
183
- children: resolvedLabels.saveButton
184
- })
185
- })
186
- ]
187
- })] })
188
- });
189
- }
190
- //#endregion
191
- export { OrganizationSettingsRoute };
192
-
193
- //# sourceMappingURL=OrganizationSettingsRoute.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrganizationSettingsRoute.js","names":[],"sources":["../../../../../src/modules/auth/components/OrganizationSettingsRoute.tsx"],"sourcesContent":["import { Button, Card, CardBody, CardHeader, Chip, Input, Spinner, Textarea } from \"@heroui/react\";\r\nimport { authClient } from \"@m5kdev/frontend/modules/auth/auth.lib\";\r\nimport { useSession } from \"@m5kdev/frontend/modules/auth/hooks/useSession\";\r\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\";\r\nimport { useCallback, useEffect, useMemo, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toast } from \"sonner\";\r\n\r\ntype OrganizationDetails = {\r\n id: string;\r\n name: string;\r\n slug: string;\r\n logo?: string | null;\r\n metadata?: Record<string, unknown> | null;\r\n};\r\n\r\nexport type OrganizationSettingsRouteLabels = {\r\n settingsTitle: string;\r\n settingsDescription: string;\r\n settingsNoActive: string;\r\n settingsManageOnly: string;\r\n formName: string;\r\n formSlug: string;\r\n formMetadata: string;\r\n formMetadataInvalidJson: string;\r\n formMetadataInvalid: string;\r\n saveButton: string;\r\n updateSuccess: string;\r\n updateError: string;\r\n loadError: string;\r\n};\r\n\r\nexport type OrganizationSettingsRouteProps = {\r\n managerRoles?: string[];\r\n onInvalidateScopedQueries?: () => void | Promise<void>;\r\n};\r\n\r\nfunction OrganizationStateCard({ title, message }: { title: string; message: string }) {\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"text-lg font-semibold\">{title}</CardHeader>\r\n <CardBody>{message}</CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n\r\nfunction useOrganizationAccess({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: Pick<OrganizationSettingsRouteProps, \"managerRoles\" | \"onInvalidateScopedQueries\">) {\r\n const { data: session, registerSession } = useSession();\r\n const queryClient = useQueryClient();\r\n\r\n const activeOrganizationId = session?.session.activeOrganizationId ?? \"\";\r\n const activeOrganizationRole =\r\n (session?.session as { activeOrganizationRole?: string } | undefined)?.activeOrganizationRole ??\r\n \"\";\r\n const managerRoleSet = useMemo(() => new Set(managerRoles ?? [\"admin\", \"owner\"]), [managerRoles]);\r\n const canManageOrganization = managerRoleSet.has(activeOrganizationRole);\r\n\r\n const refreshOrganizationQueries = useCallback(async () => {\r\n await Promise.allSettled([\r\n queryClient.invalidateQueries({ queryKey: [\"auth-organization-list\"] }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-members\", activeOrganizationId],\r\n }),\r\n queryClient.invalidateQueries({\r\n queryKey: [\"auth-organization-invitations\", activeOrganizationId],\r\n }),\r\n ]);\r\n\r\n registerSession(() => {\r\n void onInvalidateScopedQueries?.();\r\n });\r\n }, [activeOrganizationId, onInvalidateScopedQueries, queryClient, registerSession]);\r\n\r\n return {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n };\r\n}\r\n\r\nfunction useOrganizationConfig() {\r\n const { t } = useTranslation();\r\n\r\n const translatedLabels = useMemo<OrganizationSettingsRouteLabels>(\r\n () => ({\r\n settingsTitle: t(\"web-ui:organization.settings.title\"),\r\n settingsDescription: t(\"web-ui:organization.settings.description\"),\r\n settingsNoActive: t(\"web-ui:organization.settings.noActive\"),\r\n settingsManageOnly: t(\"web-ui:organization.settings.manageOnly\"),\r\n formName: t(\"web-ui:organization.settings.form.name\"),\r\n formSlug: t(\"web-ui:organization.settings.form.slug\"),\r\n formMetadata: t(\"web-ui:organization.settings.form.metadata\"),\r\n formMetadataInvalidJson: t(\"web-ui:organization.settings.form.metadataInvalidJson\"),\r\n formMetadataInvalid: t(\"web-ui:organization.settings.form.metadataInvalid\"),\r\n saveButton: t(\"web-ui:organization.settings.button.save\"),\r\n updateSuccess: t(\"web-ui:organization.settings.updateSuccess\"),\r\n updateError: t(\"web-ui:organization.settings.updateError\"),\r\n loadError: t(\"web-ui:organization.settings.loadError\"),\r\n }),\r\n [t]\r\n );\r\n\r\n const translatedRoleLabels = useMemo<Record<string, string>>(\r\n () => ({\r\n member: t(\"web-ui:organization.roles.member\"),\r\n admin: t(\"web-ui:organization.roles.admin\"),\r\n owner: t(\"web-ui:organization.roles.owner\"),\r\n }),\r\n [t]\r\n );\r\n\r\n return { resolvedLabels: translatedLabels, resolvedRoleLabels: translatedRoleLabels };\r\n}\r\n\r\nexport function OrganizationSettingsRoute({\r\n managerRoles,\r\n onInvalidateScopedQueries,\r\n}: OrganizationSettingsRouteProps) {\r\n const { resolvedLabels, resolvedRoleLabels } = useOrganizationConfig();\r\n\r\n const {\r\n activeOrganizationId,\r\n activeOrganizationRole,\r\n canManageOrganization,\r\n refreshOrganizationQueries,\r\n } = useOrganizationAccess({ managerRoles, onInvalidateScopedQueries });\r\n\r\n const [organizationName, setOrganizationName] = useState(\"\");\r\n const [organizationSlug, setOrganizationSlug] = useState(\"\");\r\n const [organizationMetadata, setOrganizationMetadata] = useState(\"{}\");\r\n const [isSavingOrganization, setIsSavingOrganization] = useState(false);\r\n\r\n const organizationQuery = useQuery({\r\n queryKey: [\"auth-organization-details\", activeOrganizationId],\r\n enabled: Boolean(activeOrganizationId && canManageOrganization),\r\n queryFn: async () => {\r\n const { data, error } = await authClient.organization.getFullOrganization({\r\n query: {\r\n organizationId: activeOrganizationId,\r\n membersLimit: 200,\r\n },\r\n });\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.loadError);\r\n }\r\n return data as OrganizationDetails | null;\r\n },\r\n });\r\n\r\n useEffect(() => {\r\n const organization = organizationQuery.data;\r\n if (!organization) {\r\n return;\r\n }\r\n\r\n setOrganizationName(organization.name ?? \"\");\r\n setOrganizationSlug(organization.slug ?? \"\");\r\n setOrganizationMetadata(JSON.stringify(organization.metadata ?? {}, null, 2));\r\n }, [organizationQuery.data]);\r\n\r\n const onUpdateOrganization = async () => {\r\n if (!canManageOrganization || !activeOrganizationId) {\r\n return;\r\n }\r\n\r\n try {\r\n setIsSavingOrganization(true);\r\n let parsedMetadata: Record<string, unknown>;\r\n try {\r\n parsedMetadata = organizationMetadata.trim()\r\n ? (JSON.parse(organizationMetadata) as Record<string, unknown>)\r\n : {};\r\n } catch (parseError) {\r\n const message =\r\n parseError instanceof SyntaxError\r\n ? resolvedLabels.formMetadataInvalidJson\r\n : parseError instanceof Error\r\n ? parseError.message\r\n : resolvedLabels.formMetadataInvalid;\r\n throw new Error(message);\r\n }\r\n\r\n const { error } = await authClient.organization.update({\r\n organizationId: activeOrganizationId,\r\n data: {\r\n name: organizationName.trim(),\r\n slug: organizationSlug.trim(),\r\n metadata: parsedMetadata,\r\n },\r\n });\r\n\r\n if (error) {\r\n throw new Error(error.message ?? resolvedLabels.updateError);\r\n }\r\n\r\n await refreshOrganizationQueries();\r\n toast.success(resolvedLabels.updateSuccess);\r\n } catch (error) {\r\n toast.error(error instanceof Error ? error.message : resolvedLabels.updateError);\r\n } finally {\r\n setIsSavingOrganization(false);\r\n }\r\n };\r\n\r\n if (!activeOrganizationId) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsNoActive}\r\n />\r\n );\r\n }\r\n\r\n if (!canManageOrganization) {\r\n return (\r\n <OrganizationStateCard\r\n title={resolvedLabels.settingsTitle}\r\n message={resolvedLabels.settingsManageOnly}\r\n />\r\n );\r\n }\r\n\r\n if (organizationQuery.isLoading) {\r\n return (\r\n <div className=\"p-6 flex justify-center\">\r\n <Spinner />\r\n </div>\r\n );\r\n }\r\n\r\n return (\r\n <div className=\"p-6\">\r\n <Card>\r\n <CardHeader className=\"flex items-center justify-between\">\r\n <div className=\"flex flex-col\">\r\n <h2 className=\"text-xl font-semibold\">{resolvedLabels.settingsTitle}</h2>\r\n <p className=\"text-sm text-default-500\">{resolvedLabels.settingsDescription}</p>\r\n </div>\r\n <Chip variant=\"flat\" color=\"primary\">\r\n {resolvedRoleLabels[activeOrganizationRole] ??\r\n activeOrganizationRole ??\r\n resolvedRoleLabels.member}\r\n </Chip>\r\n </CardHeader>\r\n <CardBody className=\"grid gap-3\">\r\n <Input\r\n label={resolvedLabels.formName}\r\n value={organizationName}\r\n onValueChange={setOrganizationName}\r\n />\r\n <Input\r\n label={resolvedLabels.formSlug}\r\n value={organizationSlug}\r\n onValueChange={setOrganizationSlug}\r\n />\r\n <Textarea\r\n label={resolvedLabels.formMetadata}\r\n value={organizationMetadata}\r\n onValueChange={setOrganizationMetadata}\r\n minRows={4}\r\n />\r\n <div className=\"flex justify-end\">\r\n <Button color=\"primary\" isLoading={isSavingOrganization} onPress={onUpdateOrganization}>\r\n {resolvedLabels.saveButton}\r\n </Button>\r\n </div>\r\n </CardBody>\r\n </Card>\r\n </div>\r\n );\r\n}\r\n"],"mappings":";;;;;;;;;AAqCA,SAAS,sBAAsB,EAAE,OAAO,WAA+C;AACrF,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,oBAAC,YAAD;GAAY,WAAU;aAAyB;GAAmB,CAAA,EAClE,oBAAC,UAAD,EAAA,UAAW,SAAmB,CAAA,CACzB,EAAA,CAAA;EACH,CAAA;;AAIV,SAAS,sBAAsB,EAC7B,cACA,6BACqF;CACrF,MAAM,EAAE,MAAM,SAAS,oBAAoB,YAAY;CACvD,MAAM,cAAc,gBAAgB;CAEpC,MAAM,uBAAuB,SAAS,QAAQ,wBAAwB;CACtE,MAAM,0BACH,SAAS,UAA6D,0BACvE;AAuBF,QAAO;EACL;EACA;EACA,uBAzBqB,cAAc,IAAI,IAAI,gBAAgB,CAAC,SAAS,QAAQ,CAAC,EAAE,CAAC,aAAa,CAAC,CACpD,IAAI,uBAAuB;EAyBtE,4BAvBiC,YAAY,YAAY;AACzD,SAAM,QAAQ,WAAW;IACvB,YAAY,kBAAkB,EAAE,UAAU,CAAC,yBAAyB,EAAE,CAAC;IACvE,YAAY,kBAAkB,EAC5B,UAAU,CAAC,6BAA6B,qBAAqB,EAC9D,CAAC;IACF,YAAY,kBAAkB,EAC5B,UAAU,CAAC,6BAA6B,qBAAqB,EAC9D,CAAC;IACF,YAAY,kBAAkB,EAC5B,UAAU,CAAC,iCAAiC,qBAAqB,EAClE,CAAC;IACH,CAAC;AAEF,yBAAsB;AACf,iCAA6B;KAClC;KACD;GAAC;GAAsB;GAA2B;GAAa;GAAgB,CAAC;E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W,CAAA;EACP,CAAA;AAIV,QACE,oBAAC,OAAD;EAAK,WAAU;YACb,qBAAC,MAAD,EAAA,UAAA,CACE,qBAAC,YAAD;GAAY,WAAU;aAAtB,CACE,qBAAC,OAAD;IAAK,WAAU;cAAf,CACE,oBAAC,MAAD;KAAI,WAAU;eAAyB,eAAe;KAAmB,CAAA,EACzE,oBAAC,KAAD;KAAG,WAAU;eAA4B,eAAe;KAAwB,CAAA,CAC5E;OACN,oBAAC,MAAD;IAAM,SAAQ;IAAO,OAAM;cACxB,mBAAmB,2BAClB,0BACA,mBAAmB;IAChB,CAAA,CACI;MACb,qBAAC,UAAD;GAAU,WAAU;aAApB;IACE,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,OAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,CAAA;IACF,oBAAC,UAAD;KACE,OAAO,eAAe;KACtB,OAAO;KACP,eAAe;KACf,SAAS;KACT,CAAA;IACF,oBAAC,OAAD;KAAK,WAAU;eACb,oBAAC,QAAD;MAAQ,OAAM;MAAU,WAAW;MAAsB,SAAS;gBAC/D,eAAe;MACT,CAAA;KACL,CAAA;IACG;KACN,EAAA,CAAA;EACH,CAAA"}
@@ -1,18 +0,0 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
-
3
- //#region src/modules/auth/components/OrganizationSwitcher.d.ts
4
- type OrganizationSwitcherProps = {
5
- onInvalidateScopedQueries?: () => void | Promise<void>;
6
- managerRoles?: string[];
7
- managerPath?: string;
8
- fallbackPath?: string;
9
- };
10
- declare function OrganizationSwitcher({
11
- onInvalidateScopedQueries,
12
- managerRoles,
13
- managerPath,
14
- fallbackPath
15
- }: OrganizationSwitcherProps): _$react_jsx_runtime0.JSX.Element;
16
- //#endregion
17
- export { OrganizationSwitcher, OrganizationSwitcherProps };
18
- //# sourceMappingURL=OrganizationSwitcher.d.ts.map