@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.
- package/dist/{BlockNoteEditor-WQXQPLMX.js → BlockNoteEditor-4G3L3LSF.js} +14 -14
- package/dist/{BlockNoteEditor-WQXQPLMX.js.map → BlockNoteEditor-4G3L3LSF.js.map} +1 -1
- package/dist/{BlockNoteEditor-CITC7I2Z.mjs → BlockNoteEditor-EKY4AHVK.mjs} +4 -4
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-LDH2FGJY.mjs → chunk-BAOP6PTD.mjs} +689 -34
- package/dist/chunk-BAOP6PTD.mjs.map +1 -0
- package/dist/{chunk-2RBYXY6T.js → chunk-GKY5DAIH.js} +1228 -573
- package/dist/chunk-GKY5DAIH.js.map +1 -0
- package/dist/{chunk-TQ5GRRTM.mjs → chunk-GVN7XC3U.mjs} +278 -2
- package/dist/chunk-GVN7XC3U.mjs.map +1 -0
- package/dist/{chunk-XLMJPA4N.mjs → chunk-RRIYLEY6.mjs} +22 -2
- package/dist/chunk-RRIYLEY6.mjs.map +1 -0
- package/dist/{chunk-2PHWAL6Q.js → chunk-T5YYOT4Z.js} +22 -2
- package/dist/chunk-T5YYOT4Z.js.map +1 -0
- package/dist/{chunk-3EZX4G2E.js → chunk-ZNGEVB5M.js} +279 -3
- package/dist/chunk-ZNGEVB5M.js.map +1 -0
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +28 -4
- package/dist/components/index.d.ts +28 -4
- package/dist/components/index.js +16 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +15 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +127 -3
- package/dist/core/index.d.ts +127 -3
- package/dist/core/index.js +12 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +11 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -2
- package/dist/{s3.service-hnTPVTm2.d.mts → s3.service-BoOF5-ln.d.mts} +1 -0
- package/dist/{s3.service-DXkDoMf1.d.ts → s3.service-Mxo-7wQ6.d.ts} +1 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/waitlist.config-kPfjImle.d.mts +26 -0
- package/dist/waitlist.config-kPfjImle.d.ts +26 -0
- package/package.json +1 -1
- package/src/components/forms/FormCheckbox.tsx +1 -1
- package/src/components/forms/FormSelect.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +3 -0
- package/src/core/registry/ModuleRegistry.ts +3 -0
- package/src/features/auth/components/forms/Register.tsx +180 -1
- package/src/features/auth/data/auth.interface.ts +1 -0
- package/src/features/auth/data/auth.ts +1 -0
- package/src/features/index.ts +1 -0
- package/src/features/waitlist/components/forms/WaitlistForm.tsx +186 -0
- package/src/features/waitlist/components/forms/WaitlistQuestionnaireRenderer.tsx +110 -0
- package/src/features/waitlist/components/forms/index.ts +2 -0
- package/src/features/waitlist/components/index.ts +3 -0
- package/src/features/waitlist/components/lists/WaitlistList.tsx +145 -0
- package/src/features/waitlist/components/lists/index.ts +1 -0
- package/src/features/waitlist/components/sections/WaitlistConfirmation.tsx +68 -0
- package/src/features/waitlist/components/sections/WaitlistHeroSection.tsx +49 -0
- package/src/features/waitlist/components/sections/WaitlistSuccessState.tsx +19 -0
- package/src/features/waitlist/components/sections/index.ts +3 -0
- package/src/features/waitlist/config/waitlist.config.ts +35 -0
- package/src/features/waitlist/data/Waitlist.ts +104 -0
- package/src/features/waitlist/data/WaitlistInterface.ts +32 -0
- package/src/features/waitlist/data/WaitlistService.ts +153 -0
- package/src/features/waitlist/data/index.ts +5 -0
- package/src/features/waitlist/data/waitlist-stats.interface.ts +9 -0
- package/src/features/waitlist/data/waitlist-stats.ts +47 -0
- package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +121 -0
- package/src/features/waitlist/index.ts +28 -0
- package/src/features/waitlist/waitlist-stats.module.ts +8 -0
- package/src/features/waitlist/waitlist.module.ts +9 -0
- package/src/index.ts +9 -0
- package/src/login/config.ts +9 -0
- package/dist/chunk-2PHWAL6Q.js.map +0 -1
- package/dist/chunk-2RBYXY6T.js.map +0 -1
- package/dist/chunk-3EZX4G2E.js.map +0 -1
- package/dist/chunk-LDH2FGJY.mjs.map +0 -1
- package/dist/chunk-TQ5GRRTM.mjs.map +0 -1
- package/dist/chunk-XLMJPA4N.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-CITC7I2Z.mjs.map → BlockNoteEditor-EKY4AHVK.mjs.map} +0 -0
package/dist/core/index.d.mts
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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 };
|
package/dist/core/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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 };
|
package/dist/core/index.js
CHANGED
|
@@ -115,7 +115,12 @@
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
118
|
-
|
|
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
|
-
|
|
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
|
package/dist/core/index.js.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/core/index.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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,
|
|
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"}
|