@carlonicora/nextjs-jsonapi 1.39.2 → 1.40.1

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 (84) hide show
  1. package/dist/{BlockNoteEditor-WQXQPLMX.js → BlockNoteEditor-4G3L3LSF.js} +14 -14
  2. package/dist/{BlockNoteEditor-WQXQPLMX.js.map → BlockNoteEditor-4G3L3LSF.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-CITC7I2Z.mjs → BlockNoteEditor-EKY4AHVK.mjs} +4 -4
  4. package/dist/billing/index.js +346 -346
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-LDH2FGJY.mjs → chunk-BAOP6PTD.mjs} +689 -34
  7. package/dist/chunk-BAOP6PTD.mjs.map +1 -0
  8. package/dist/{chunk-2RBYXY6T.js → chunk-GKY5DAIH.js} +1228 -573
  9. package/dist/chunk-GKY5DAIH.js.map +1 -0
  10. package/dist/{chunk-TQ5GRRTM.mjs → chunk-GVN7XC3U.mjs} +278 -2
  11. package/dist/chunk-GVN7XC3U.mjs.map +1 -0
  12. package/dist/{chunk-XLMJPA4N.mjs → chunk-RRIYLEY6.mjs} +22 -2
  13. package/dist/chunk-RRIYLEY6.mjs.map +1 -0
  14. package/dist/{chunk-2PHWAL6Q.js → chunk-T5YYOT4Z.js} +22 -2
  15. package/dist/chunk-T5YYOT4Z.js.map +1 -0
  16. package/dist/{chunk-3EZX4G2E.js → chunk-ZNGEVB5M.js} +279 -3
  17. package/dist/chunk-ZNGEVB5M.js.map +1 -0
  18. package/dist/client/index.js +4 -4
  19. package/dist/client/index.mjs +3 -3
  20. package/dist/components/index.d.mts +28 -4
  21. package/dist/components/index.d.ts +28 -4
  22. package/dist/components/index.js +16 -4
  23. package/dist/components/index.js.map +1 -1
  24. package/dist/components/index.mjs +15 -3
  25. package/dist/contexts/index.js +4 -4
  26. package/dist/contexts/index.mjs +3 -3
  27. package/dist/core/index.d.mts +127 -3
  28. package/dist/core/index.d.ts +127 -3
  29. package/dist/core/index.js +12 -2
  30. package/dist/core/index.js.map +1 -1
  31. package/dist/core/index.mjs +11 -1
  32. package/dist/index.d.mts +5 -2
  33. package/dist/index.d.ts +5 -2
  34. package/dist/index.js +17 -3
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +16 -2
  37. package/dist/{s3.service-hnTPVTm2.d.mts → s3.service-BoOF5-ln.d.mts} +1 -0
  38. package/dist/{s3.service-DXkDoMf1.d.ts → s3.service-Mxo-7wQ6.d.ts} +1 -0
  39. package/dist/server/index.d.mts +1 -1
  40. package/dist/server/index.d.ts +1 -1
  41. package/dist/server/index.js +3 -3
  42. package/dist/server/index.mjs +1 -1
  43. package/dist/waitlist.config-kPfjImle.d.mts +26 -0
  44. package/dist/waitlist.config-kPfjImle.d.ts +26 -0
  45. package/package.json +1 -1
  46. package/src/components/forms/FormCheckbox.tsx +1 -1
  47. package/src/components/forms/FormSelect.tsx +1 -1
  48. package/src/components/index.ts +1 -0
  49. package/src/core/index.ts +3 -0
  50. package/src/core/registry/ModuleRegistry.ts +3 -0
  51. package/src/features/auth/components/forms/Register.tsx +180 -1
  52. package/src/features/auth/data/auth.interface.ts +1 -0
  53. package/src/features/auth/data/auth.ts +1 -0
  54. package/src/features/index.ts +1 -0
  55. package/src/features/waitlist/components/forms/WaitlistForm.tsx +186 -0
  56. package/src/features/waitlist/components/forms/WaitlistQuestionnaireRenderer.tsx +110 -0
  57. package/src/features/waitlist/components/forms/index.ts +2 -0
  58. package/src/features/waitlist/components/index.ts +3 -0
  59. package/src/features/waitlist/components/lists/WaitlistList.tsx +145 -0
  60. package/src/features/waitlist/components/lists/index.ts +1 -0
  61. package/src/features/waitlist/components/sections/WaitlistConfirmation.tsx +68 -0
  62. package/src/features/waitlist/components/sections/WaitlistHeroSection.tsx +49 -0
  63. package/src/features/waitlist/components/sections/WaitlistSuccessState.tsx +19 -0
  64. package/src/features/waitlist/components/sections/index.ts +3 -0
  65. package/src/features/waitlist/config/waitlist.config.ts +35 -0
  66. package/src/features/waitlist/data/Waitlist.ts +104 -0
  67. package/src/features/waitlist/data/WaitlistInterface.ts +32 -0
  68. package/src/features/waitlist/data/WaitlistService.ts +153 -0
  69. package/src/features/waitlist/data/index.ts +5 -0
  70. package/src/features/waitlist/data/waitlist-stats.interface.ts +9 -0
  71. package/src/features/waitlist/data/waitlist-stats.ts +47 -0
  72. package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +121 -0
  73. package/src/features/waitlist/index.ts +28 -0
  74. package/src/features/waitlist/waitlist-stats.module.ts +8 -0
  75. package/src/features/waitlist/waitlist.module.ts +9 -0
  76. package/src/index.ts +9 -0
  77. package/src/login/config.ts +9 -0
  78. package/dist/chunk-2PHWAL6Q.js.map +0 -1
  79. package/dist/chunk-2RBYXY6T.js.map +0 -1
  80. package/dist/chunk-3EZX4G2E.js.map +0 -1
  81. package/dist/chunk-LDH2FGJY.mjs.map +0 -1
  82. package/dist/chunk-TQ5GRRTM.mjs.map +0 -1
  83. package/dist/chunk-XLMJPA4N.mjs.map +0 -1
  84. /package/dist/{BlockNoteEditor-CITC7I2Z.mjs.map → BlockNoteEditor-EKY4AHVK.mjs.map} +0 -0
@@ -3,8 +3,8 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CUKFDBx2.mjs';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CUKFDBx2.mjs';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-zeewugD7.mjs';
6
- import { e as AuthInterface, b as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, l as S3Interface, k as S3Input } from '../s3.service-hnTPVTm2.mjs';
7
- export { d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, i as NotificationService, j as PushService, R as RoleService, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-hnTPVTm2.mjs';
6
+ import { e as AuthInterface, b as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, l as S3Interface, k as S3Input } from '../s3.service-BoOF5-ln.mjs';
7
+ export { d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, i as NotificationService, j as PushService, R as RoleService, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-BoOF5-ln.mjs';
8
8
  import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory, j as RoleInterface, R as RoleInput, U as UserInterface, h as CompanyInterface, k as UserInput, C as CompanyInput, N as NotificationInterface, i as NotificationInput } from '../notification.interface-DIln2r7X.mjs';
9
9
  export { c as ModuleDefinition, b as ModulePermissionDefinition, a as PageUrl, P as PermissionCheck, d as PermissionConfig } from '../notification.interface-DIln2r7X.mjs';
10
10
  export { B as BreadcrumbItemData } from '../breadcrumb.item.data.interface-CgB4_1EE.mjs';
@@ -226,6 +226,8 @@ interface FoundationModuleDefinitions {
226
226
  StripeUsage: ModuleWithPermissions;
227
227
  StripePromotionCode: ModuleWithPermissions;
228
228
  OAuth: ModuleWithPermissions;
229
+ Waitlist: ModuleWithPermissions;
230
+ WaitlistStats: ModuleWithPermissions;
229
231
  }
230
232
  interface AppModuleDefinitions {
231
233
  }
@@ -1475,4 +1477,126 @@ declare class OAuthService extends AbstractService {
1475
1477
  }>;
1476
1478
  }
1477
1479
 
1478
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, PaymentMethod, PaymentMethodInterface, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
1480
+ type WaitlistStatus = "pending" | "confirmed" | "invited" | "registered";
1481
+ type WaitlistInput = {
1482
+ id: string;
1483
+ email: string;
1484
+ gdprConsent: boolean;
1485
+ gdprConsentAt: string;
1486
+ marketingConsent?: boolean;
1487
+ marketingConsentAt?: string;
1488
+ questionnaire?: Record<string, any>;
1489
+ };
1490
+ interface WaitlistInterface extends ApiDataInterface {
1491
+ get email(): string;
1492
+ get gdprConsent(): boolean;
1493
+ get gdprConsentAt(): string;
1494
+ get marketingConsent(): boolean | undefined;
1495
+ get marketingConsentAt(): string | undefined;
1496
+ get questionnaire(): string | undefined;
1497
+ get status(): WaitlistStatus;
1498
+ get confirmedAt(): string | undefined;
1499
+ get invitedAt(): string | undefined;
1500
+ get registeredAt(): string | undefined;
1501
+ }
1502
+ interface InviteValidation {
1503
+ email: string;
1504
+ valid: boolean;
1505
+ }
1506
+
1507
+ declare class Waitlist extends AbstractApiData implements WaitlistInterface {
1508
+ private _email?;
1509
+ private _gdprConsent;
1510
+ private _gdprConsentAt?;
1511
+ private _marketingConsent?;
1512
+ private _marketingConsentAt?;
1513
+ private _questionnaire?;
1514
+ private _status;
1515
+ private _confirmedAt?;
1516
+ private _invitedAt?;
1517
+ private _registeredAt?;
1518
+ get email(): string;
1519
+ get gdprConsent(): boolean;
1520
+ get gdprConsentAt(): string;
1521
+ get marketingConsent(): boolean | undefined;
1522
+ get marketingConsentAt(): string | undefined;
1523
+ get questionnaire(): string | undefined;
1524
+ get status(): WaitlistStatus;
1525
+ get confirmedAt(): string | undefined;
1526
+ get invitedAt(): string | undefined;
1527
+ get registeredAt(): string | undefined;
1528
+ rehydrate(data: JsonApiHydratedDataInterface): this;
1529
+ createJsonApi(data: WaitlistInput): any;
1530
+ }
1531
+
1532
+ interface WaitlistStatsInterface extends ApiDataInterface {
1533
+ get pending(): number;
1534
+ get confirmed(): number;
1535
+ get invited(): number;
1536
+ get registered(): number;
1537
+ get total(): number;
1538
+ }
1539
+
1540
+ declare class WaitlistService extends AbstractService {
1541
+ /**
1542
+ * Submit to waitlist (public)
1543
+ * Uses Waitlist.createJsonApi() to transform WaitlistInput to JSON:API format
1544
+ */
1545
+ static submit(params: WaitlistInput): Promise<WaitlistInterface>;
1546
+ /**
1547
+ * Confirm email (public)
1548
+ */
1549
+ static confirm(code: string): Promise<WaitlistInterface>;
1550
+ /**
1551
+ * List all waitlist entries (admin)
1552
+ * Uses cursor-based pagination with NextRef/PreviousRef
1553
+ */
1554
+ static findMany(params?: {
1555
+ status?: string;
1556
+ search?: string;
1557
+ fetchAll?: boolean;
1558
+ next?: NextRef;
1559
+ prev?: PreviousRef;
1560
+ }): Promise<WaitlistInterface[]>;
1561
+ /**
1562
+ * Send invite (admin)
1563
+ */
1564
+ static invite(id: string): Promise<WaitlistInterface>;
1565
+ /**
1566
+ * Batch invite (admin)
1567
+ * Non-standard batch operation - uses custom JSON:API format
1568
+ */
1569
+ static inviteBatch(ids: string[]): Promise<{
1570
+ invited: number;
1571
+ failed: number;
1572
+ }>;
1573
+ /**
1574
+ * Get statistics (admin)
1575
+ */
1576
+ static getStats(): Promise<WaitlistStatsInterface>;
1577
+ /**
1578
+ * Validate invite code (public) - calls auth endpoint
1579
+ */
1580
+ static validateInvite(code: string): Promise<InviteValidation | null>;
1581
+ }
1582
+
1583
+ declare class WaitlistStats extends AbstractApiData implements WaitlistStatsInterface {
1584
+ private _pending;
1585
+ private _confirmed;
1586
+ private _invited;
1587
+ private _registered;
1588
+ private _total;
1589
+ get pending(): number;
1590
+ get confirmed(): number;
1591
+ get invited(): number;
1592
+ get registered(): number;
1593
+ get total(): number;
1594
+ rehydrate(data: JsonApiHydratedDataInterface): this;
1595
+ createJsonApi(_data?: any): any;
1596
+ }
1597
+
1598
+ declare const WaitlistModule: (factory: ModuleFactory) => ModuleWithPermissions;
1599
+
1600
+ declare const WaitlistStatsModule: (factory: ModuleFactory) => ModuleWithPermissions;
1601
+
1602
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, PaymentMethod, PaymentMethodInterface, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
@@ -3,8 +3,8 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CUKFDBx2.js';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CUKFDBx2.js';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CAIAeP5d.js';
6
- import { e as AuthInterface, b as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, l as S3Interface, k as S3Input } from '../s3.service-DXkDoMf1.js';
7
- export { d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, i as NotificationService, j as PushService, R as RoleService, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-DXkDoMf1.js';
6
+ import { e as AuthInterface, b as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, l as S3Interface, k as S3Input } from '../s3.service-Mxo-7wQ6.js';
7
+ export { d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, i as NotificationService, j as PushService, R as RoleService, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-Mxo-7wQ6.js';
8
8
  import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory, j as RoleInterface, R as RoleInput, U as UserInterface, h as CompanyInterface, k as UserInput, C as CompanyInput, N as NotificationInterface, i as NotificationInput } from '../notification.interface-XARGKJAq.js';
9
9
  export { c as ModuleDefinition, b as ModulePermissionDefinition, a as PageUrl, P as PermissionCheck, d as PermissionConfig } from '../notification.interface-XARGKJAq.js';
10
10
  export { B as BreadcrumbItemData } from '../breadcrumb.item.data.interface-CgB4_1EE.js';
@@ -226,6 +226,8 @@ interface FoundationModuleDefinitions {
226
226
  StripeUsage: ModuleWithPermissions;
227
227
  StripePromotionCode: ModuleWithPermissions;
228
228
  OAuth: ModuleWithPermissions;
229
+ Waitlist: ModuleWithPermissions;
230
+ WaitlistStats: ModuleWithPermissions;
229
231
  }
230
232
  interface AppModuleDefinitions {
231
233
  }
@@ -1475,4 +1477,126 @@ declare class OAuthService extends AbstractService {
1475
1477
  }>;
1476
1478
  }
1477
1479
 
1478
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, PaymentMethod, PaymentMethodInterface, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
1480
+ type WaitlistStatus = "pending" | "confirmed" | "invited" | "registered";
1481
+ type WaitlistInput = {
1482
+ id: string;
1483
+ email: string;
1484
+ gdprConsent: boolean;
1485
+ gdprConsentAt: string;
1486
+ marketingConsent?: boolean;
1487
+ marketingConsentAt?: string;
1488
+ questionnaire?: Record<string, any>;
1489
+ };
1490
+ interface WaitlistInterface extends ApiDataInterface {
1491
+ get email(): string;
1492
+ get gdprConsent(): boolean;
1493
+ get gdprConsentAt(): string;
1494
+ get marketingConsent(): boolean | undefined;
1495
+ get marketingConsentAt(): string | undefined;
1496
+ get questionnaire(): string | undefined;
1497
+ get status(): WaitlistStatus;
1498
+ get confirmedAt(): string | undefined;
1499
+ get invitedAt(): string | undefined;
1500
+ get registeredAt(): string | undefined;
1501
+ }
1502
+ interface InviteValidation {
1503
+ email: string;
1504
+ valid: boolean;
1505
+ }
1506
+
1507
+ declare class Waitlist extends AbstractApiData implements WaitlistInterface {
1508
+ private _email?;
1509
+ private _gdprConsent;
1510
+ private _gdprConsentAt?;
1511
+ private _marketingConsent?;
1512
+ private _marketingConsentAt?;
1513
+ private _questionnaire?;
1514
+ private _status;
1515
+ private _confirmedAt?;
1516
+ private _invitedAt?;
1517
+ private _registeredAt?;
1518
+ get email(): string;
1519
+ get gdprConsent(): boolean;
1520
+ get gdprConsentAt(): string;
1521
+ get marketingConsent(): boolean | undefined;
1522
+ get marketingConsentAt(): string | undefined;
1523
+ get questionnaire(): string | undefined;
1524
+ get status(): WaitlistStatus;
1525
+ get confirmedAt(): string | undefined;
1526
+ get invitedAt(): string | undefined;
1527
+ get registeredAt(): string | undefined;
1528
+ rehydrate(data: JsonApiHydratedDataInterface): this;
1529
+ createJsonApi(data: WaitlistInput): any;
1530
+ }
1531
+
1532
+ interface WaitlistStatsInterface extends ApiDataInterface {
1533
+ get pending(): number;
1534
+ get confirmed(): number;
1535
+ get invited(): number;
1536
+ get registered(): number;
1537
+ get total(): number;
1538
+ }
1539
+
1540
+ declare class WaitlistService extends AbstractService {
1541
+ /**
1542
+ * Submit to waitlist (public)
1543
+ * Uses Waitlist.createJsonApi() to transform WaitlistInput to JSON:API format
1544
+ */
1545
+ static submit(params: WaitlistInput): Promise<WaitlistInterface>;
1546
+ /**
1547
+ * Confirm email (public)
1548
+ */
1549
+ static confirm(code: string): Promise<WaitlistInterface>;
1550
+ /**
1551
+ * List all waitlist entries (admin)
1552
+ * Uses cursor-based pagination with NextRef/PreviousRef
1553
+ */
1554
+ static findMany(params?: {
1555
+ status?: string;
1556
+ search?: string;
1557
+ fetchAll?: boolean;
1558
+ next?: NextRef;
1559
+ prev?: PreviousRef;
1560
+ }): Promise<WaitlistInterface[]>;
1561
+ /**
1562
+ * Send invite (admin)
1563
+ */
1564
+ static invite(id: string): Promise<WaitlistInterface>;
1565
+ /**
1566
+ * Batch invite (admin)
1567
+ * Non-standard batch operation - uses custom JSON:API format
1568
+ */
1569
+ static inviteBatch(ids: string[]): Promise<{
1570
+ invited: number;
1571
+ failed: number;
1572
+ }>;
1573
+ /**
1574
+ * Get statistics (admin)
1575
+ */
1576
+ static getStats(): Promise<WaitlistStatsInterface>;
1577
+ /**
1578
+ * Validate invite code (public) - calls auth endpoint
1579
+ */
1580
+ static validateInvite(code: string): Promise<InviteValidation | null>;
1581
+ }
1582
+
1583
+ declare class WaitlistStats extends AbstractApiData implements WaitlistStatsInterface {
1584
+ private _pending;
1585
+ private _confirmed;
1586
+ private _invited;
1587
+ private _registered;
1588
+ private _total;
1589
+ get pending(): number;
1590
+ get confirmed(): number;
1591
+ get invited(): number;
1592
+ get registered(): number;
1593
+ get total(): number;
1594
+ rehydrate(data: JsonApiHydratedDataInterface): this;
1595
+ createJsonApi(_data?: any): any;
1596
+ }
1597
+
1598
+ declare const WaitlistModule: (factory: ModuleFactory) => ModuleWithPermissions;
1599
+
1600
+ declare const WaitlistStatsModule: (factory: ModuleFactory) => ModuleWithPermissions;
1601
+
1602
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, PaymentMethod, PaymentMethodInterface, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
@@ -115,7 +115,12 @@
115
115
 
116
116
 
117
117
 
118
- var _chunk3EZX4G2Ejs = require('../chunk-3EZX4G2E.js');
118
+
119
+
120
+
121
+
122
+
123
+ var _chunkZNGEVB5Mjs = require('../chunk-ZNGEVB5M.js');
119
124
  require('../chunk-LXKSUWAV.js');
120
125
  require('../chunk-IBS6NI7D.js');
121
126
 
@@ -257,5 +262,10 @@ require('../chunk-7QVYU63E.js');
257
262
 
258
263
 
259
264
 
260
- exports.AVAILABLE_OAUTH_SCOPES = _chunk3EZX4G2Ejs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk3EZX4G2Ejs.AbstractApiData; exports.AbstractService = _chunk3EZX4G2Ejs.AbstractService; exports.Action = _chunk3EZX4G2Ejs.Action; exports.Auth = _chunk3EZX4G2Ejs.Auth; exports.AuthComponent = _chunk3EZX4G2Ejs.AuthComponent; exports.AuthModule = _chunk3EZX4G2Ejs.AuthModule; exports.AuthService = _chunk3EZX4G2Ejs.AuthService; exports.AuthorModule = _chunk3EZX4G2Ejs.AuthorModule; exports.Billing = _chunk3EZX4G2Ejs.Billing; exports.BillingModule = _chunk3EZX4G2Ejs.BillingModule; exports.BillingService = _chunk3EZX4G2Ejs.BillingService; exports.BlockNoteDiffUtil = _chunk3EZX4G2Ejs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk3EZX4G2Ejs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunk3EZX4G2Ejs.ClientAbstractService; exports.ClientHttpMethod = _chunk3EZX4G2Ejs.ClientHttpMethod; exports.Company = _chunk3EZX4G2Ejs.Company; exports.CompanyFields = _chunk3EZX4G2Ejs.CompanyFields; exports.CompanyModule = _chunk3EZX4G2Ejs.CompanyModule; exports.CompanyService = _chunk3EZX4G2Ejs.CompanyService; exports.Content = _chunk3EZX4G2Ejs.Content; exports.ContentFields = _chunk3EZX4G2Ejs.ContentFields; exports.ContentModule = _chunk3EZX4G2Ejs.ContentModule; exports.ContentService = _chunk3EZX4G2Ejs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk3EZX4G2Ejs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunk3EZX4G2Ejs.EndpointCreator; exports.Feature = _chunk3EZX4G2Ejs.Feature; exports.FeatureModule = _chunk3EZX4G2Ejs.FeatureModule; exports.FeatureService = _chunk3EZX4G2Ejs.FeatureService; exports.HttpMethod = _chunk3EZX4G2Ejs.HttpMethod; exports.InvoiceStatus = _chunk3EZX4G2Ejs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunk3EZX4G2Ejs.Module; exports.ModuleModule = _chunk3EZX4G2Ejs.ModuleModule; exports.ModuleRegistrar = _chunk3EZX4G2Ejs.ModuleRegistrar; exports.ModuleRegistry = _chunk3EZX4G2Ejs.ModuleRegistry; exports.Modules = _chunk3EZX4G2Ejs.Modules; exports.Notification = _chunk3EZX4G2Ejs.Notification; exports.NotificationFields = _chunk3EZX4G2Ejs.NotificationFields; exports.NotificationModule = _chunk3EZX4G2Ejs.NotificationModule; exports.NotificationService = _chunk3EZX4G2Ejs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk3EZX4G2Ejs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk3EZX4G2Ejs.OAuthClient; exports.OAuthModule = _chunk3EZX4G2Ejs.OAuthModule; exports.OAuthService = _chunk3EZX4G2Ejs.OAuthService; exports.PaymentMethod = _chunk3EZX4G2Ejs.PaymentMethod; exports.Push = _chunk3EZX4G2Ejs.Push; exports.PushModule = _chunk3EZX4G2Ejs.PushModule; exports.PushService = _chunk3EZX4G2Ejs.PushService; exports.RehydrationFactory = _chunk3EZX4G2Ejs.RehydrationFactory; exports.Role = _chunk3EZX4G2Ejs.Role; exports.RoleFields = _chunk3EZX4G2Ejs.RoleFields; exports.RoleModule = _chunk3EZX4G2Ejs.RoleModule; exports.RoleService = _chunk3EZX4G2Ejs.RoleService; exports.S3 = _chunk3EZX4G2Ejs.S3; exports.S3Module = _chunk3EZX4G2Ejs.S3Module; exports.S3Service = _chunk3EZX4G2Ejs.S3Service; exports.StripeCustomer = _chunk3EZX4G2Ejs.StripeCustomer; exports.StripeCustomerModule = _chunk3EZX4G2Ejs.StripeCustomerModule; exports.StripeCustomerService = _chunk3EZX4G2Ejs.StripeCustomerService; exports.StripeInvoice = _chunk3EZX4G2Ejs.StripeInvoice; exports.StripeInvoiceModule = _chunk3EZX4G2Ejs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk3EZX4G2Ejs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk3EZX4G2Ejs.StripePaymentMethodModule; exports.StripePrice = _chunk3EZX4G2Ejs.StripePrice; exports.StripePriceModule = _chunk3EZX4G2Ejs.StripePriceModule; exports.StripePriceService = _chunk3EZX4G2Ejs.StripePriceService; exports.StripeProduct = _chunk3EZX4G2Ejs.StripeProduct; exports.StripeProductModule = _chunk3EZX4G2Ejs.StripeProductModule; exports.StripeProductService = _chunk3EZX4G2Ejs.StripeProductService; exports.StripePromotionCode = _chunk3EZX4G2Ejs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk3EZX4G2Ejs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk3EZX4G2Ejs.StripePromotionCodeService; exports.StripeSubscription = _chunk3EZX4G2Ejs.StripeSubscription; exports.StripeSubscriptionModule = _chunk3EZX4G2Ejs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk3EZX4G2Ejs.StripeSubscriptionService; exports.StripeUsage = _chunk3EZX4G2Ejs.StripeUsage; exports.StripeUsageModule = _chunk3EZX4G2Ejs.StripeUsageModule; exports.StripeUsageService = _chunk3EZX4G2Ejs.StripeUsageService; exports.SubscriptionStatus = _chunk3EZX4G2Ejs.SubscriptionStatus; exports.TableOptions = _chunk3EZX4G2Ejs.TableOptions; exports.User = _chunk3EZX4G2Ejs.User; exports.UserFields = _chunk3EZX4G2Ejs.UserFields; exports.UserModule = _chunk3EZX4G2Ejs.UserModule; exports.UserService = _chunk3EZX4G2Ejs.UserService; exports.checkPermissions = _chunk3EZX4G2Ejs.checkPermissions; exports.checkPermissionsFromServer = _chunk3EZX4G2Ejs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk3EZX4G2Ejs.clearLastApiTotal; exports.cn = _chunk3EZX4G2Ejs.cn; exports.composeRefs = _chunk3EZX4G2Ejs.composeRefs; exports.createJsonApiInclusion = _chunk3EZX4G2Ejs.createJsonApiInclusion; exports.dismissToast = _chunk3EZX4G2Ejs.dismissToast; exports.entityObjectSchema = _chunk3EZX4G2Ejs.entityObjectSchema; exports.exists = _chunk3EZX4G2Ejs.exists; exports.formatDate = _chunk3EZX4G2Ejs.formatDate; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk3EZX4G2Ejs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk3EZX4G2Ejs.getGlobalErrorHandler; exports.getIcon = _chunk3EZX4G2Ejs.getIcon; exports.getIconByModule = _chunk3EZX4G2Ejs.getIconByModule; exports.getIconByModuleName = _chunk3EZX4G2Ejs.getIconByModuleName; exports.getLastApiTotal = _chunk3EZX4G2Ejs.getLastApiTotal; exports.getLucideIcon = _chunk3EZX4G2Ejs.getLucideIcon; exports.getLucideIconByModule = _chunk3EZX4G2Ejs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk3EZX4G2Ejs.getLucideIconByModuleName; exports.getTableComponents = _chunk3EZX4G2Ejs.getTableComponents; exports.getTableOptions = _chunk3EZX4G2Ejs.getTableOptions; exports.getValueFromPath = _chunk3EZX4G2Ejs.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.rehydrate = _chunk3EZX4G2Ejs.rehydrate; exports.rehydrateList = _chunk3EZX4G2Ejs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk3EZX4G2Ejs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk3EZX4G2Ejs.setGlobalErrorHandler; exports.showCustomToast = _chunk3EZX4G2Ejs.showCustomToast; exports.showError = _chunk3EZX4G2Ejs.showError; exports.showToast = _chunk3EZX4G2Ejs.showToast; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunk3EZX4G2Ejs.useComposedRefs; exports.useIsMobile = _chunk3EZX4G2Ejs.useIsMobile; exports.userObjectSchema = _chunk3EZX4G2Ejs.userObjectSchema;
265
+
266
+
267
+
268
+
269
+
270
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkZNGEVB5Mjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkZNGEVB5Mjs.AbstractApiData; exports.AbstractService = _chunkZNGEVB5Mjs.AbstractService; exports.Action = _chunkZNGEVB5Mjs.Action; exports.Auth = _chunkZNGEVB5Mjs.Auth; exports.AuthComponent = _chunkZNGEVB5Mjs.AuthComponent; exports.AuthModule = _chunkZNGEVB5Mjs.AuthModule; exports.AuthService = _chunkZNGEVB5Mjs.AuthService; exports.AuthorModule = _chunkZNGEVB5Mjs.AuthorModule; exports.Billing = _chunkZNGEVB5Mjs.Billing; exports.BillingModule = _chunkZNGEVB5Mjs.BillingModule; exports.BillingService = _chunkZNGEVB5Mjs.BillingService; exports.BlockNoteDiffUtil = _chunkZNGEVB5Mjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkZNGEVB5Mjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkZNGEVB5Mjs.ClientAbstractService; exports.ClientHttpMethod = _chunkZNGEVB5Mjs.ClientHttpMethod; exports.Company = _chunkZNGEVB5Mjs.Company; exports.CompanyFields = _chunkZNGEVB5Mjs.CompanyFields; exports.CompanyModule = _chunkZNGEVB5Mjs.CompanyModule; exports.CompanyService = _chunkZNGEVB5Mjs.CompanyService; exports.Content = _chunkZNGEVB5Mjs.Content; exports.ContentFields = _chunkZNGEVB5Mjs.ContentFields; exports.ContentModule = _chunkZNGEVB5Mjs.ContentModule; exports.ContentService = _chunkZNGEVB5Mjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkZNGEVB5Mjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkZNGEVB5Mjs.EndpointCreator; exports.Feature = _chunkZNGEVB5Mjs.Feature; exports.FeatureModule = _chunkZNGEVB5Mjs.FeatureModule; exports.FeatureService = _chunkZNGEVB5Mjs.FeatureService; exports.HttpMethod = _chunkZNGEVB5Mjs.HttpMethod; exports.InvoiceStatus = _chunkZNGEVB5Mjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkZNGEVB5Mjs.Module; exports.ModuleModule = _chunkZNGEVB5Mjs.ModuleModule; exports.ModuleRegistrar = _chunkZNGEVB5Mjs.ModuleRegistrar; exports.ModuleRegistry = _chunkZNGEVB5Mjs.ModuleRegistry; exports.Modules = _chunkZNGEVB5Mjs.Modules; exports.Notification = _chunkZNGEVB5Mjs.Notification; exports.NotificationFields = _chunkZNGEVB5Mjs.NotificationFields; exports.NotificationModule = _chunkZNGEVB5Mjs.NotificationModule; exports.NotificationService = _chunkZNGEVB5Mjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkZNGEVB5Mjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkZNGEVB5Mjs.OAuthClient; exports.OAuthModule = _chunkZNGEVB5Mjs.OAuthModule; exports.OAuthService = _chunkZNGEVB5Mjs.OAuthService; exports.PaymentMethod = _chunkZNGEVB5Mjs.PaymentMethod; exports.Push = _chunkZNGEVB5Mjs.Push; exports.PushModule = _chunkZNGEVB5Mjs.PushModule; exports.PushService = _chunkZNGEVB5Mjs.PushService; exports.RehydrationFactory = _chunkZNGEVB5Mjs.RehydrationFactory; exports.Role = _chunkZNGEVB5Mjs.Role; exports.RoleFields = _chunkZNGEVB5Mjs.RoleFields; exports.RoleModule = _chunkZNGEVB5Mjs.RoleModule; exports.RoleService = _chunkZNGEVB5Mjs.RoleService; exports.S3 = _chunkZNGEVB5Mjs.S3; exports.S3Module = _chunkZNGEVB5Mjs.S3Module; exports.S3Service = _chunkZNGEVB5Mjs.S3Service; exports.StripeCustomer = _chunkZNGEVB5Mjs.StripeCustomer; exports.StripeCustomerModule = _chunkZNGEVB5Mjs.StripeCustomerModule; exports.StripeCustomerService = _chunkZNGEVB5Mjs.StripeCustomerService; exports.StripeInvoice = _chunkZNGEVB5Mjs.StripeInvoice; exports.StripeInvoiceModule = _chunkZNGEVB5Mjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkZNGEVB5Mjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkZNGEVB5Mjs.StripePaymentMethodModule; exports.StripePrice = _chunkZNGEVB5Mjs.StripePrice; exports.StripePriceModule = _chunkZNGEVB5Mjs.StripePriceModule; exports.StripePriceService = _chunkZNGEVB5Mjs.StripePriceService; exports.StripeProduct = _chunkZNGEVB5Mjs.StripeProduct; exports.StripeProductModule = _chunkZNGEVB5Mjs.StripeProductModule; exports.StripeProductService = _chunkZNGEVB5Mjs.StripeProductService; exports.StripePromotionCode = _chunkZNGEVB5Mjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkZNGEVB5Mjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkZNGEVB5Mjs.StripePromotionCodeService; exports.StripeSubscription = _chunkZNGEVB5Mjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkZNGEVB5Mjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkZNGEVB5Mjs.StripeSubscriptionService; exports.StripeUsage = _chunkZNGEVB5Mjs.StripeUsage; exports.StripeUsageModule = _chunkZNGEVB5Mjs.StripeUsageModule; exports.StripeUsageService = _chunkZNGEVB5Mjs.StripeUsageService; exports.SubscriptionStatus = _chunkZNGEVB5Mjs.SubscriptionStatus; exports.TableOptions = _chunkZNGEVB5Mjs.TableOptions; exports.User = _chunkZNGEVB5Mjs.User; exports.UserFields = _chunkZNGEVB5Mjs.UserFields; exports.UserModule = _chunkZNGEVB5Mjs.UserModule; exports.UserService = _chunkZNGEVB5Mjs.UserService; exports.Waitlist = _chunkZNGEVB5Mjs.Waitlist; exports.WaitlistModule = _chunkZNGEVB5Mjs.WaitlistModule; exports.WaitlistService = _chunkZNGEVB5Mjs.WaitlistService; exports.WaitlistStats = _chunkZNGEVB5Mjs.WaitlistStats; exports.WaitlistStatsModule = _chunkZNGEVB5Mjs.WaitlistStatsModule; exports.checkPermissions = _chunkZNGEVB5Mjs.checkPermissions; exports.checkPermissionsFromServer = _chunkZNGEVB5Mjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkZNGEVB5Mjs.clearLastApiTotal; exports.cn = _chunkZNGEVB5Mjs.cn; exports.composeRefs = _chunkZNGEVB5Mjs.composeRefs; exports.createJsonApiInclusion = _chunkZNGEVB5Mjs.createJsonApiInclusion; exports.dismissToast = _chunkZNGEVB5Mjs.dismissToast; exports.entityObjectSchema = _chunkZNGEVB5Mjs.entityObjectSchema; exports.exists = _chunkZNGEVB5Mjs.exists; exports.formatDate = _chunkZNGEVB5Mjs.formatDate; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkZNGEVB5Mjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkZNGEVB5Mjs.getGlobalErrorHandler; exports.getIcon = _chunkZNGEVB5Mjs.getIcon; exports.getIconByModule = _chunkZNGEVB5Mjs.getIconByModule; exports.getIconByModuleName = _chunkZNGEVB5Mjs.getIconByModuleName; exports.getLastApiTotal = _chunkZNGEVB5Mjs.getLastApiTotal; exports.getLucideIcon = _chunkZNGEVB5Mjs.getLucideIcon; exports.getLucideIconByModule = _chunkZNGEVB5Mjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkZNGEVB5Mjs.getLucideIconByModuleName; exports.getTableComponents = _chunkZNGEVB5Mjs.getTableComponents; exports.getTableOptions = _chunkZNGEVB5Mjs.getTableOptions; exports.getValueFromPath = _chunkZNGEVB5Mjs.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.rehydrate = _chunkZNGEVB5Mjs.rehydrate; exports.rehydrateList = _chunkZNGEVB5Mjs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkZNGEVB5Mjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkZNGEVB5Mjs.setGlobalErrorHandler; exports.showCustomToast = _chunkZNGEVB5Mjs.showCustomToast; exports.showError = _chunkZNGEVB5Mjs.showError; exports.showToast = _chunkZNGEVB5Mjs.showToast; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkZNGEVB5Mjs.useComposedRefs; exports.useIsMobile = _chunkZNGEVB5Mjs.useIsMobile; exports.userObjectSchema = _chunkZNGEVB5Mjs.userObjectSchema;
261
271
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,iwOAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,iiPAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -83,6 +83,11 @@ import {
83
83
  UserFields,
84
84
  UserModule,
85
85
  UserService,
86
+ Waitlist,
87
+ WaitlistModule,
88
+ WaitlistService,
89
+ WaitlistStats,
90
+ WaitlistStatsModule,
86
91
  checkPermissions,
87
92
  checkPermissionsFromServer,
88
93
  clearLastApiTotal,
@@ -115,7 +120,7 @@ import {
115
120
  useComposedRefs,
116
121
  useIsMobile,
117
122
  userObjectSchema
118
- } from "../chunk-TQ5GRRTM.mjs";
123
+ } from "../chunk-GVN7XC3U.mjs";
119
124
  import "../chunk-AUXK7QSA.mjs";
120
125
  import "../chunk-C7C7VY4F.mjs";
121
126
  import {
@@ -218,6 +223,11 @@ export {
218
223
  UserFields,
219
224
  UserModule,
220
225
  UserService,
226
+ Waitlist,
227
+ WaitlistModule,
228
+ WaitlistService,
229
+ WaitlistStats,
230
+ WaitlistStatsModule,
221
231
  checkPermissions,
222
232
  checkPermissionsFromServer,
223
233
  clearLastApiTotal,
package/dist/index.d.mts CHANGED
@@ -2,8 +2,8 @@ export { A as ApiData } from './ApiData-DPKNfY-9.mjs';
2
2
  export { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-DPP8s46n.mjs';
3
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CUKFDBx2.mjs';
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-zeewugD7.mjs';
5
- export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
6
- export { A as AbstractService, b as AuthInput, e as AuthInterface, d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, i as NotificationService, P as PreviousRef, j as PushService, R as RoleService, k as S3Input, l as S3Interface, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-hnTPVTm2.mjs';
5
+ export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
6
+ export { A as AbstractService, b as AuthInput, e as AuthInterface, d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, i as NotificationService, P as PreviousRef, j as PushService, R as RoleService, k as S3Input, l as S3Interface, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-BoOF5-ln.mjs';
7
7
  export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.mjs';
8
8
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.mjs';
9
9
  export { ClassValue } from 'clsx';
@@ -14,6 +14,7 @@ export { C as ContentInput, a as ContentInterface } from './content.interface-CW
14
14
  export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BxFFOPNq.mjs';
15
15
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-DsZ5ecSX.mjs';
16
16
  export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-BxwhHdCD.mjs';
17
+ export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.mjs';
17
18
  import 'react';
18
19
  import 'zod';
19
20
  import '@blocknote/core';
@@ -21,11 +22,13 @@ import 'lucide-react';
21
22
  import 'sonner';
22
23
  import 'd3';
23
24
 
25
+ type RegistrationMode = "open" | "closed" | "waitlist";
24
26
  interface LoginConfig {
25
27
  discordClientId?: string;
26
28
  googleClientId?: string;
27
29
  useInternalAuth?: boolean;
28
30
  allowRegistration?: boolean;
31
+ registrationMode?: RegistrationMode;
29
32
  }
30
33
  declare function configureLogin(params: LoginConfig): void;
31
34
 
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ export { A as ApiData } from './ApiData-DPKNfY-9.js';
2
2
  export { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-DPP8s46n.js';
3
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CUKFDBx2.js';
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-CAIAeP5d.js';
5
- export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
6
- export { A as AbstractService, b as AuthInput, e as AuthInterface, d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, i as NotificationService, P as PreviousRef, j as PushService, R as RoleService, k as S3Input, l as S3Interface, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-DXkDoMf1.js';
5
+ export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
6
+ export { A as AbstractService, b as AuthInput, e as AuthInterface, d as AuthQuery, f as AuthService, C as CompanyService, h as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, i as NotificationService, P as PreviousRef, j as PushService, R as RoleService, k as S3Input, l as S3Interface, m as S3Service, S as SelfRef, T as TotalRef, U as UserService, c as clearLastApiTotal, a as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-Mxo-7wQ6.js';
7
7
  export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.js';
8
8
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.js';
9
9
  export { ClassValue } from 'clsx';
@@ -14,6 +14,7 @@ export { C as ContentInput, a as ContentInterface } from './content.interface-Cg
14
14
  export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CIWxo8NP.js';
15
15
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-vL7za9Bz.js';
16
16
  export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-BbaBV_yk.js';
17
+ export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.js';
17
18
  import 'react';
18
19
  import 'zod';
19
20
  import '@blocknote/core';
@@ -21,11 +22,13 @@ import 'lucide-react';
21
22
  import 'sonner';
22
23
  import 'd3';
23
24
 
25
+ type RegistrationMode = "open" | "closed" | "waitlist";
24
26
  interface LoginConfig {
25
27
  discordClientId?: string;
26
28
  googleClientId?: string;
27
29
  useInternalAuth?: boolean;
28
30
  allowRegistration?: boolean;
31
+ registrationMode?: RegistrationMode;
29
32
  }
30
33
  declare function configureLogin(params: LoginConfig): void;
31
34
 
package/dist/index.js CHANGED
@@ -9,9 +9,9 @@
9
9
 
10
10
 
11
11
 
12
- var _chunk2PHWAL6Qjs = require('./chunk-2PHWAL6Q.js');
13
12
 
14
13
 
14
+ var _chunkT5YYOT4Zjs = require('./chunk-T5YYOT4Z.js');
15
15
 
16
16
 
17
17
 
@@ -129,7 +129,14 @@ var _chunk2PHWAL6Qjs = require('./chunk-2PHWAL6Q.js');
129
129
 
130
130
 
131
131
 
132
- var _chunk3EZX4G2Ejs = require('./chunk-3EZX4G2E.js');
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ var _chunkZNGEVB5Mjs = require('./chunk-ZNGEVB5M.js');
133
140
  require('./chunk-LXKSUWAV.js');
134
141
  require('./chunk-IBS6NI7D.js');
135
142
 
@@ -283,5 +290,12 @@ require('./chunk-7QVYU63E.js');
283
290
 
284
291
 
285
292
 
286
- exports.AVAILABLE_OAUTH_SCOPES = _chunk3EZX4G2Ejs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk3EZX4G2Ejs.AbstractApiData; exports.AbstractService = _chunk3EZX4G2Ejs.AbstractService; exports.Action = _chunk3EZX4G2Ejs.Action; exports.Auth = _chunk3EZX4G2Ejs.Auth; exports.AuthComponent = _chunk3EZX4G2Ejs.AuthComponent; exports.AuthModule = _chunk3EZX4G2Ejs.AuthModule; exports.AuthService = _chunk3EZX4G2Ejs.AuthService; exports.AuthorModule = _chunk3EZX4G2Ejs.AuthorModule; exports.Billing = _chunk3EZX4G2Ejs.Billing; exports.BillingModule = _chunk3EZX4G2Ejs.BillingModule; exports.BillingService = _chunk3EZX4G2Ejs.BillingService; exports.BlockNoteDiffUtil = _chunk3EZX4G2Ejs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk3EZX4G2Ejs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunk3EZX4G2Ejs.ClientAbstractService; exports.ClientHttpMethod = _chunk3EZX4G2Ejs.ClientHttpMethod; exports.Company = _chunk3EZX4G2Ejs.Company; exports.CompanyFields = _chunk3EZX4G2Ejs.CompanyFields; exports.CompanyModule = _chunk3EZX4G2Ejs.CompanyModule; exports.CompanyService = _chunk3EZX4G2Ejs.CompanyService; exports.Content = _chunk3EZX4G2Ejs.Content; exports.ContentFields = _chunk3EZX4G2Ejs.ContentFields; exports.ContentModule = _chunk3EZX4G2Ejs.ContentModule; exports.ContentService = _chunk3EZX4G2Ejs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk3EZX4G2Ejs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunk3EZX4G2Ejs.EndpointCreator; exports.Feature = _chunk3EZX4G2Ejs.Feature; exports.FeatureModule = _chunk3EZX4G2Ejs.FeatureModule; exports.FeatureService = _chunk3EZX4G2Ejs.FeatureService; exports.HttpMethod = _chunk3EZX4G2Ejs.HttpMethod; exports.InvoiceStatus = _chunk3EZX4G2Ejs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunk3EZX4G2Ejs.Module; exports.ModuleModule = _chunk3EZX4G2Ejs.ModuleModule; exports.ModuleRegistrar = _chunk3EZX4G2Ejs.ModuleRegistrar; exports.ModuleRegistry = _chunk3EZX4G2Ejs.ModuleRegistry; exports.Modules = _chunk3EZX4G2Ejs.Modules; exports.Notification = _chunk3EZX4G2Ejs.Notification; exports.NotificationFields = _chunk3EZX4G2Ejs.NotificationFields; exports.NotificationModule = _chunk3EZX4G2Ejs.NotificationModule; exports.NotificationService = _chunk3EZX4G2Ejs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk3EZX4G2Ejs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk3EZX4G2Ejs.OAuthClient; exports.OAuthModule = _chunk3EZX4G2Ejs.OAuthModule; exports.OAuthService = _chunk3EZX4G2Ejs.OAuthService; exports.PaymentMethod = _chunk3EZX4G2Ejs.PaymentMethod; exports.Push = _chunk3EZX4G2Ejs.Push; exports.PushModule = _chunk3EZX4G2Ejs.PushModule; exports.PushService = _chunk3EZX4G2Ejs.PushService; exports.RehydrationFactory = _chunk3EZX4G2Ejs.RehydrationFactory; exports.Role = _chunk3EZX4G2Ejs.Role; exports.RoleFields = _chunk3EZX4G2Ejs.RoleFields; exports.RoleModule = _chunk3EZX4G2Ejs.RoleModule; exports.RoleService = _chunk3EZX4G2Ejs.RoleService; exports.S3 = _chunk3EZX4G2Ejs.S3; exports.S3Module = _chunk3EZX4G2Ejs.S3Module; exports.S3Service = _chunk3EZX4G2Ejs.S3Service; exports.StripeCustomer = _chunk3EZX4G2Ejs.StripeCustomer; exports.StripeCustomerModule = _chunk3EZX4G2Ejs.StripeCustomerModule; exports.StripeCustomerService = _chunk3EZX4G2Ejs.StripeCustomerService; exports.StripeInvoice = _chunk3EZX4G2Ejs.StripeInvoice; exports.StripeInvoiceModule = _chunk3EZX4G2Ejs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk3EZX4G2Ejs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk3EZX4G2Ejs.StripePaymentMethodModule; exports.StripePrice = _chunk3EZX4G2Ejs.StripePrice; exports.StripePriceModule = _chunk3EZX4G2Ejs.StripePriceModule; exports.StripePriceService = _chunk3EZX4G2Ejs.StripePriceService; exports.StripeProduct = _chunk3EZX4G2Ejs.StripeProduct; exports.StripeProductModule = _chunk3EZX4G2Ejs.StripeProductModule; exports.StripeProductService = _chunk3EZX4G2Ejs.StripeProductService; exports.StripePromotionCode = _chunk3EZX4G2Ejs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk3EZX4G2Ejs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk3EZX4G2Ejs.StripePromotionCodeService; exports.StripeSubscription = _chunk3EZX4G2Ejs.StripeSubscription; exports.StripeSubscriptionModule = _chunk3EZX4G2Ejs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk3EZX4G2Ejs.StripeSubscriptionService; exports.StripeUsage = _chunk3EZX4G2Ejs.StripeUsage; exports.StripeUsageModule = _chunk3EZX4G2Ejs.StripeUsageModule; exports.StripeUsageService = _chunk3EZX4G2Ejs.StripeUsageService; exports.SubscriptionStatus = _chunk3EZX4G2Ejs.SubscriptionStatus; exports.TableOptions = _chunk3EZX4G2Ejs.TableOptions; exports.User = _chunk3EZX4G2Ejs.User; exports.UserFields = _chunk3EZX4G2Ejs.UserFields; exports.UserModule = _chunk3EZX4G2Ejs.UserModule; exports.UserService = _chunk3EZX4G2Ejs.UserService; exports.checkPermissions = _chunk3EZX4G2Ejs.checkPermissions; exports.checkPermissionsFromServer = _chunk3EZX4G2Ejs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk3EZX4G2Ejs.clearLastApiTotal; exports.cn = _chunk3EZX4G2Ejs.cn; exports.composeRefs = _chunk3EZX4G2Ejs.composeRefs; exports.configureAuth = _chunk3EZX4G2Ejs.configureAuth; exports.configureI18n = _chunk2PHWAL6Qjs.configureI18n; exports.configureJsonApi = _chunk2PHWAL6Qjs.configureJsonApi; exports.configureLogin = _chunk2PHWAL6Qjs.configureLogin; exports.configureRoles = _chunk2PHWAL6Qjs.configureRoles; exports.createJsonApiInclusion = _chunk3EZX4G2Ejs.createJsonApiInclusion; exports.dismissToast = _chunk3EZX4G2Ejs.dismissToast; exports.entityObjectSchema = _chunk3EZX4G2Ejs.entityObjectSchema; exports.exists = _chunk3EZX4G2Ejs.exists; exports.formatDate = _chunk3EZX4G2Ejs.formatDate; exports.getApiUrl = _chunk2PHWAL6Qjs.getApiUrl; exports.getAppUrl = _chunk2PHWAL6Qjs.getAppUrl; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk3EZX4G2Ejs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk3EZX4G2Ejs.getGlobalErrorHandler; exports.getIcon = _chunk3EZX4G2Ejs.getIcon; exports.getIconByModule = _chunk3EZX4G2Ejs.getIconByModule; exports.getIconByModuleName = _chunk3EZX4G2Ejs.getIconByModuleName; exports.getLastApiTotal = _chunk3EZX4G2Ejs.getLastApiTotal; exports.getLucideIcon = _chunk3EZX4G2Ejs.getLucideIcon; exports.getLucideIconByModule = _chunk3EZX4G2Ejs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk3EZX4G2Ejs.getLucideIconByModuleName; exports.getRoleId = _chunk2PHWAL6Qjs.getRoleId; exports.getStripePublishableKey = _chunk2PHWAL6Qjs.getStripePublishableKey; exports.getTableComponents = _chunk3EZX4G2Ejs.getTableComponents; exports.getTableOptions = _chunk3EZX4G2Ejs.getTableOptions; exports.getTokenHandler = _chunk3EZX4G2Ejs.getTokenHandler; exports.getTrackablePages = _chunk2PHWAL6Qjs.getTrackablePages; exports.getValueFromPath = _chunk3EZX4G2Ejs.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.isRolesConfigured = _chunk2PHWAL6Qjs.isRolesConfigured; exports.rehydrate = _chunk3EZX4G2Ejs.rehydrate; exports.rehydrateList = _chunk3EZX4G2Ejs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk3EZX4G2Ejs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk3EZX4G2Ejs.setGlobalErrorHandler; exports.showCustomToast = _chunk3EZX4G2Ejs.showCustomToast; exports.showError = _chunk3EZX4G2Ejs.showError; exports.showToast = _chunk3EZX4G2Ejs.showToast; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunk3EZX4G2Ejs.useComposedRefs; exports.useIsMobile = _chunk3EZX4G2Ejs.useIsMobile; exports.userObjectSchema = _chunk3EZX4G2Ejs.userObjectSchema;
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkZNGEVB5Mjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkZNGEVB5Mjs.AbstractApiData; exports.AbstractService = _chunkZNGEVB5Mjs.AbstractService; exports.Action = _chunkZNGEVB5Mjs.Action; exports.Auth = _chunkZNGEVB5Mjs.Auth; exports.AuthComponent = _chunkZNGEVB5Mjs.AuthComponent; exports.AuthModule = _chunkZNGEVB5Mjs.AuthModule; exports.AuthService = _chunkZNGEVB5Mjs.AuthService; exports.AuthorModule = _chunkZNGEVB5Mjs.AuthorModule; exports.Billing = _chunkZNGEVB5Mjs.Billing; exports.BillingModule = _chunkZNGEVB5Mjs.BillingModule; exports.BillingService = _chunkZNGEVB5Mjs.BillingService; exports.BlockNoteDiffUtil = _chunkZNGEVB5Mjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkZNGEVB5Mjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkZNGEVB5Mjs.ClientAbstractService; exports.ClientHttpMethod = _chunkZNGEVB5Mjs.ClientHttpMethod; exports.Company = _chunkZNGEVB5Mjs.Company; exports.CompanyFields = _chunkZNGEVB5Mjs.CompanyFields; exports.CompanyModule = _chunkZNGEVB5Mjs.CompanyModule; exports.CompanyService = _chunkZNGEVB5Mjs.CompanyService; exports.Content = _chunkZNGEVB5Mjs.Content; exports.ContentFields = _chunkZNGEVB5Mjs.ContentFields; exports.ContentModule = _chunkZNGEVB5Mjs.ContentModule; exports.ContentService = _chunkZNGEVB5Mjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkZNGEVB5Mjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkZNGEVB5Mjs.EndpointCreator; exports.Feature = _chunkZNGEVB5Mjs.Feature; exports.FeatureModule = _chunkZNGEVB5Mjs.FeatureModule; exports.FeatureService = _chunkZNGEVB5Mjs.FeatureService; exports.HttpMethod = _chunkZNGEVB5Mjs.HttpMethod; exports.InvoiceStatus = _chunkZNGEVB5Mjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkZNGEVB5Mjs.Module; exports.ModuleModule = _chunkZNGEVB5Mjs.ModuleModule; exports.ModuleRegistrar = _chunkZNGEVB5Mjs.ModuleRegistrar; exports.ModuleRegistry = _chunkZNGEVB5Mjs.ModuleRegistry; exports.Modules = _chunkZNGEVB5Mjs.Modules; exports.Notification = _chunkZNGEVB5Mjs.Notification; exports.NotificationFields = _chunkZNGEVB5Mjs.NotificationFields; exports.NotificationModule = _chunkZNGEVB5Mjs.NotificationModule; exports.NotificationService = _chunkZNGEVB5Mjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkZNGEVB5Mjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkZNGEVB5Mjs.OAuthClient; exports.OAuthModule = _chunkZNGEVB5Mjs.OAuthModule; exports.OAuthService = _chunkZNGEVB5Mjs.OAuthService; exports.PaymentMethod = _chunkZNGEVB5Mjs.PaymentMethod; exports.Push = _chunkZNGEVB5Mjs.Push; exports.PushModule = _chunkZNGEVB5Mjs.PushModule; exports.PushService = _chunkZNGEVB5Mjs.PushService; exports.RehydrationFactory = _chunkZNGEVB5Mjs.RehydrationFactory; exports.Role = _chunkZNGEVB5Mjs.Role; exports.RoleFields = _chunkZNGEVB5Mjs.RoleFields; exports.RoleModule = _chunkZNGEVB5Mjs.RoleModule; exports.RoleService = _chunkZNGEVB5Mjs.RoleService; exports.S3 = _chunkZNGEVB5Mjs.S3; exports.S3Module = _chunkZNGEVB5Mjs.S3Module; exports.S3Service = _chunkZNGEVB5Mjs.S3Service; exports.StripeCustomer = _chunkZNGEVB5Mjs.StripeCustomer; exports.StripeCustomerModule = _chunkZNGEVB5Mjs.StripeCustomerModule; exports.StripeCustomerService = _chunkZNGEVB5Mjs.StripeCustomerService; exports.StripeInvoice = _chunkZNGEVB5Mjs.StripeInvoice; exports.StripeInvoiceModule = _chunkZNGEVB5Mjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkZNGEVB5Mjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkZNGEVB5Mjs.StripePaymentMethodModule; exports.StripePrice = _chunkZNGEVB5Mjs.StripePrice; exports.StripePriceModule = _chunkZNGEVB5Mjs.StripePriceModule; exports.StripePriceService = _chunkZNGEVB5Mjs.StripePriceService; exports.StripeProduct = _chunkZNGEVB5Mjs.StripeProduct; exports.StripeProductModule = _chunkZNGEVB5Mjs.StripeProductModule; exports.StripeProductService = _chunkZNGEVB5Mjs.StripeProductService; exports.StripePromotionCode = _chunkZNGEVB5Mjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkZNGEVB5Mjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkZNGEVB5Mjs.StripePromotionCodeService; exports.StripeSubscription = _chunkZNGEVB5Mjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkZNGEVB5Mjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkZNGEVB5Mjs.StripeSubscriptionService; exports.StripeUsage = _chunkZNGEVB5Mjs.StripeUsage; exports.StripeUsageModule = _chunkZNGEVB5Mjs.StripeUsageModule; exports.StripeUsageService = _chunkZNGEVB5Mjs.StripeUsageService; exports.SubscriptionStatus = _chunkZNGEVB5Mjs.SubscriptionStatus; exports.TableOptions = _chunkZNGEVB5Mjs.TableOptions; exports.User = _chunkZNGEVB5Mjs.User; exports.UserFields = _chunkZNGEVB5Mjs.UserFields; exports.UserModule = _chunkZNGEVB5Mjs.UserModule; exports.UserService = _chunkZNGEVB5Mjs.UserService; exports.Waitlist = _chunkZNGEVB5Mjs.Waitlist; exports.WaitlistModule = _chunkZNGEVB5Mjs.WaitlistModule; exports.WaitlistService = _chunkZNGEVB5Mjs.WaitlistService; exports.WaitlistStats = _chunkZNGEVB5Mjs.WaitlistStats; exports.WaitlistStatsModule = _chunkZNGEVB5Mjs.WaitlistStatsModule; exports.checkPermissions = _chunkZNGEVB5Mjs.checkPermissions; exports.checkPermissionsFromServer = _chunkZNGEVB5Mjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkZNGEVB5Mjs.clearLastApiTotal; exports.cn = _chunkZNGEVB5Mjs.cn; exports.composeRefs = _chunkZNGEVB5Mjs.composeRefs; exports.configureAuth = _chunkZNGEVB5Mjs.configureAuth; exports.configureI18n = _chunkT5YYOT4Zjs.configureI18n; exports.configureJsonApi = _chunkT5YYOT4Zjs.configureJsonApi; exports.configureLogin = _chunkT5YYOT4Zjs.configureLogin; exports.configureRoles = _chunkT5YYOT4Zjs.configureRoles; exports.configureWaitlist = _chunkT5YYOT4Zjs.configureWaitlist; exports.createJsonApiInclusion = _chunkZNGEVB5Mjs.createJsonApiInclusion; exports.dismissToast = _chunkZNGEVB5Mjs.dismissToast; exports.entityObjectSchema = _chunkZNGEVB5Mjs.entityObjectSchema; exports.exists = _chunkZNGEVB5Mjs.exists; exports.formatDate = _chunkZNGEVB5Mjs.formatDate; exports.getApiUrl = _chunkT5YYOT4Zjs.getApiUrl; exports.getAppUrl = _chunkT5YYOT4Zjs.getAppUrl; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkZNGEVB5Mjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkZNGEVB5Mjs.getGlobalErrorHandler; exports.getIcon = _chunkZNGEVB5Mjs.getIcon; exports.getIconByModule = _chunkZNGEVB5Mjs.getIconByModule; exports.getIconByModuleName = _chunkZNGEVB5Mjs.getIconByModuleName; exports.getLastApiTotal = _chunkZNGEVB5Mjs.getLastApiTotal; exports.getLucideIcon = _chunkZNGEVB5Mjs.getLucideIcon; exports.getLucideIconByModule = _chunkZNGEVB5Mjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkZNGEVB5Mjs.getLucideIconByModuleName; exports.getRoleId = _chunkT5YYOT4Zjs.getRoleId; exports.getStripePublishableKey = _chunkT5YYOT4Zjs.getStripePublishableKey; exports.getTableComponents = _chunkZNGEVB5Mjs.getTableComponents; exports.getTableOptions = _chunkZNGEVB5Mjs.getTableOptions; exports.getTokenHandler = _chunkZNGEVB5Mjs.getTokenHandler; exports.getTrackablePages = _chunkT5YYOT4Zjs.getTrackablePages; exports.getValueFromPath = _chunkZNGEVB5Mjs.getValueFromPath; exports.getWaitlistConfig = _chunkT5YYOT4Zjs.getWaitlistConfig; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.isRolesConfigured = _chunkT5YYOT4Zjs.isRolesConfigured; exports.rehydrate = _chunkZNGEVB5Mjs.rehydrate; exports.rehydrateList = _chunkZNGEVB5Mjs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkZNGEVB5Mjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkZNGEVB5Mjs.setGlobalErrorHandler; exports.showCustomToast = _chunkZNGEVB5Mjs.showCustomToast; exports.showError = _chunkZNGEVB5Mjs.showError; exports.showToast = _chunkZNGEVB5Mjs.showToast; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkZNGEVB5Mjs.useComposedRefs; exports.useIsMobile = _chunkZNGEVB5Mjs.useIsMobile; exports.userObjectSchema = _chunkZNGEVB5Mjs.userObjectSchema;
287
301
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,27PAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,21QAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}