@carlonicora/nextjs-jsonapi 1.24.3 → 1.25.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 (76) hide show
  1. package/dist/{BlockNoteEditor-OFSTXGZX.js → BlockNoteEditor-7WAWEZVW.js} +13 -13
  2. package/dist/{BlockNoteEditor-OFSTXGZX.js.map → BlockNoteEditor-7WAWEZVW.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-TJNLCNIP.mjs → BlockNoteEditor-UNVKGZ2G.mjs} +3 -3
  4. package/dist/billing/index.js +342 -342
  5. package/dist/billing/index.mjs +2 -2
  6. package/dist/{chunk-H5JZ5E7M.mjs → chunk-6BDOZDZ3.mjs} +1247 -54
  7. package/dist/chunk-6BDOZDZ3.mjs.map +1 -0
  8. package/dist/{chunk-EJALOG7L.js → chunk-JI6BDV7L.js} +1598 -405
  9. package/dist/chunk-JI6BDV7L.js.map +1 -0
  10. package/dist/{chunk-5U4NJJOF.mjs → chunk-LNBT2YPZ.mjs} +289 -2
  11. package/dist/chunk-LNBT2YPZ.mjs.map +1 -0
  12. package/dist/{chunk-NQVPCNRS.js → chunk-O3LLMGP7.js} +290 -3
  13. package/dist/chunk-O3LLMGP7.js.map +1 -0
  14. package/dist/client/index.d.mts +96 -1
  15. package/dist/client/index.d.ts +96 -1
  16. package/dist/client/index.js +9 -3
  17. package/dist/client/index.js.map +1 -1
  18. package/dist/client/index.mjs +8 -2
  19. package/dist/components/index.d.mts +225 -1
  20. package/dist/components/index.d.ts +225 -1
  21. package/dist/components/index.js +25 -3
  22. package/dist/components/index.js.map +1 -1
  23. package/dist/components/index.mjs +24 -2
  24. package/dist/contexts/index.js +3 -3
  25. package/dist/contexts/index.mjs +2 -2
  26. package/dist/core/index.d.mts +108 -1
  27. package/dist/core/index.d.ts +108 -1
  28. package/dist/core/index.js +14 -2
  29. package/dist/core/index.js.map +1 -1
  30. package/dist/core/index.mjs +13 -1
  31. package/dist/index.d.mts +2 -1
  32. package/dist/index.d.ts +2 -1
  33. package/dist/index.js +14 -2
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +13 -1
  36. package/dist/oauth.interface-DsZ5ecSX.d.mts +119 -0
  37. package/dist/oauth.interface-vL7za9Bz.d.ts +119 -0
  38. package/dist/server/index.js +3 -3
  39. package/dist/server/index.mjs +1 -1
  40. package/package.json +3 -2
  41. package/src/client/index.ts +1 -0
  42. package/src/components/index.ts +1 -0
  43. package/src/core/index.ts +3 -0
  44. package/src/core/registry/ModuleRegistry.ts +2 -0
  45. package/src/features/index.ts +1 -0
  46. package/src/features/oauth/atoms/index.ts +1 -0
  47. package/src/features/oauth/atoms/oauth.atoms.ts +131 -0
  48. package/src/features/oauth/components/OAuthClientCard.tsx +105 -0
  49. package/src/features/oauth/components/OAuthClientDetail.tsx +269 -0
  50. package/src/features/oauth/components/OAuthClientForm.tsx +212 -0
  51. package/src/features/oauth/components/OAuthClientList.tsx +127 -0
  52. package/src/features/oauth/components/OAuthClientSecretDisplay.tsx +127 -0
  53. package/src/features/oauth/components/OAuthRedirectUriInput.tsx +152 -0
  54. package/src/features/oauth/components/OAuthScopeSelector.tsx +123 -0
  55. package/src/features/oauth/components/consent/OAuthConsentActions.tsx +41 -0
  56. package/src/features/oauth/components/consent/OAuthConsentHeader.tsx +51 -0
  57. package/src/features/oauth/components/consent/OAuthConsentScreen.tsx +142 -0
  58. package/src/features/oauth/components/consent/OAuthScopeList.tsx +72 -0
  59. package/src/features/oauth/components/consent/index.ts +4 -0
  60. package/src/features/oauth/components/index.ts +8 -0
  61. package/src/features/oauth/data/index.ts +2 -0
  62. package/src/features/oauth/data/oauth.service.ts +191 -0
  63. package/src/features/oauth/data/oauth.ts +87 -0
  64. package/src/features/oauth/hooks/index.ts +3 -0
  65. package/src/features/oauth/hooks/useOAuthClient.ts +161 -0
  66. package/src/features/oauth/hooks/useOAuthClients.ts +111 -0
  67. package/src/features/oauth/hooks/useOAuthConsent.ts +125 -0
  68. package/src/features/oauth/index.ts +6 -0
  69. package/src/features/oauth/interfaces/index.ts +1 -0
  70. package/src/features/oauth/interfaces/oauth.interface.ts +175 -0
  71. package/src/features/oauth/oauth.module.ts +9 -0
  72. package/dist/chunk-5U4NJJOF.mjs.map +0 -1
  73. package/dist/chunk-EJALOG7L.js.map +0 -1
  74. package/dist/chunk-H5JZ5E7M.mjs.map +0 -1
  75. package/dist/chunk-NQVPCNRS.js.map +0 -1
  76. /package/dist/{BlockNoteEditor-TJNLCNIP.mjs.map → BlockNoteEditor-UNVKGZ2G.mjs.map} +0 -0
@@ -20,6 +20,8 @@ export { A as AuthComponent } from '../AuthComponent-hxOPs9o8.js';
20
20
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface } from '../stripe-subscription.interface-CNTsrbAx.js';
21
21
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-subscription.interface-CNTsrbAx.js';
22
22
  import { a as ContentInterface, C as ContentInput } from '../content.interface-CUIEQ0jk.js';
23
+ import { O as OAuthClientInterface, a as OAuthClientInput, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, d as OAuthConsentRequest, f as OAuthConsentInfo } from '../oauth.interface-vL7za9Bz.js';
24
+ export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, e as OAuthScopeInfo } from '../oauth.interface-vL7za9Bz.js';
23
25
  import 'd3';
24
26
 
25
27
  declare abstract class AbstractApiData implements ApiDataInterface {
@@ -214,6 +216,7 @@ interface FoundationModuleDefinitions {
214
216
  StripeProduct: ModuleWithPermissions;
215
217
  StripePrice: ModuleWithPermissions;
216
218
  StripeUsage: ModuleWithPermissions;
219
+ OAuth: ModuleWithPermissions;
217
220
  }
218
221
  interface AppModuleDefinitions {
219
222
  }
@@ -1282,4 +1285,108 @@ declare class S3 extends AbstractApiData implements S3Interface {
1282
1285
  createJsonApi(data: S3Input): any;
1283
1286
  }
1284
1287
 
1285
- 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, 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, PaymentMethod, PaymentMethodInterface, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, 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, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
1288
+ declare const OAuthModule: (factory: ModuleFactory) => ModuleWithPermissions;
1289
+
1290
+ /**
1291
+ * OAuth client data model
1292
+ * Represents a registered OAuth application that can request access tokens
1293
+ */
1294
+ declare class OAuthClient extends AbstractApiData implements OAuthClientInterface {
1295
+ private _clientId?;
1296
+ private _name?;
1297
+ private _description?;
1298
+ private _redirectUris;
1299
+ private _allowedScopes;
1300
+ private _allowedGrantTypes;
1301
+ private _isConfidential;
1302
+ private _isActive;
1303
+ get clientId(): string;
1304
+ get name(): string;
1305
+ get description(): string | undefined;
1306
+ get redirectUris(): string[];
1307
+ get allowedScopes(): string[];
1308
+ get allowedGrantTypes(): string[];
1309
+ get isConfidential(): boolean;
1310
+ get isActive(): boolean;
1311
+ rehydrate(data: JsonApiHydratedDataInterface): this;
1312
+ createJsonApi(data: OAuthClientInput): any;
1313
+ }
1314
+
1315
+ /**
1316
+ * Service for OAuth client management and authorization consent flow.
1317
+ *
1318
+ * Client Management endpoints:
1319
+ * - GET /oauth/clients - List all clients for current user
1320
+ * - GET /oauth/clients/:clientId - Get single client
1321
+ * - POST /oauth/clients - Create new client (returns secret once)
1322
+ * - PATCH /oauth/clients/:clientId - Update client
1323
+ * - DELETE /oauth/clients/:clientId - Delete client
1324
+ * - POST /oauth/clients/:clientId/regenerate-secret - Regenerate client secret
1325
+ *
1326
+ * Consent Flow endpoints:
1327
+ * - GET /oauth/authorize/info - Get client info for consent screen
1328
+ * - POST /oauth/authorize/approve - Approve authorization
1329
+ * - POST /oauth/authorize/deny - Deny authorization
1330
+ */
1331
+ declare class OAuthService extends AbstractService {
1332
+ /**
1333
+ * List all OAuth clients for the current user
1334
+ */
1335
+ static listClients(params?: {
1336
+ next?: NextRef;
1337
+ }): Promise<OAuthClientInterface[]>;
1338
+ /**
1339
+ * Get a single OAuth client by ID
1340
+ */
1341
+ static getClient(params: {
1342
+ clientId: string;
1343
+ }): Promise<OAuthClientInterface>;
1344
+ /**
1345
+ * Create a new OAuth client
1346
+ * @returns The created client AND the client secret (shown only once!)
1347
+ */
1348
+ static createClient(data: OAuthClientCreateRequest): Promise<OAuthClientCreateResponse>;
1349
+ /**
1350
+ * Update an existing OAuth client
1351
+ */
1352
+ static updateClient(params: {
1353
+ clientId: string;
1354
+ data: Partial<OAuthClientInput>;
1355
+ }): Promise<OAuthClientInterface>;
1356
+ /**
1357
+ * Delete an OAuth client
1358
+ */
1359
+ static deleteClient(params: {
1360
+ clientId: string;
1361
+ }): Promise<void>;
1362
+ /**
1363
+ * Regenerate the client secret
1364
+ * @returns The new client secret (shown only once!)
1365
+ */
1366
+ static regenerateSecret(params: {
1367
+ clientId: string;
1368
+ }): Promise<{
1369
+ clientSecret: string;
1370
+ }>;
1371
+ /**
1372
+ * Get client information for the consent screen
1373
+ * Called when user is redirected to /oauth/authorize
1374
+ */
1375
+ static getAuthorizationInfo(params: OAuthConsentRequest): Promise<OAuthConsentInfo>;
1376
+ /**
1377
+ * Approve the authorization request
1378
+ * @returns Redirect URL with authorization code
1379
+ */
1380
+ static approveAuthorization(params: OAuthConsentRequest): Promise<{
1381
+ redirectUrl: string;
1382
+ }>;
1383
+ /**
1384
+ * Deny the authorization request
1385
+ * @returns Redirect URL with error=access_denied
1386
+ */
1387
+ static denyAuthorization(params: OAuthConsentRequest): Promise<{
1388
+ redirectUrl: string;
1389
+ }>;
1390
+ }
1391
+
1392
+ 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, 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, 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, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
@@ -100,7 +100,13 @@
100
100
 
101
101
 
102
102
 
103
- var _chunkNQVPCNRSjs = require('../chunk-NQVPCNRS.js');
103
+
104
+
105
+
106
+
107
+
108
+
109
+ var _chunkO3LLMGP7js = require('../chunk-O3LLMGP7.js');
104
110
  require('../chunk-LXKSUWAV.js');
105
111
  require('../chunk-IBS6NI7D.js');
106
112
 
@@ -227,5 +233,11 @@ require('../chunk-7QVYU63E.js');
227
233
 
228
234
 
229
235
 
230
- exports.AbstractApiData = _chunkNQVPCNRSjs.AbstractApiData; exports.AbstractService = _chunkNQVPCNRSjs.AbstractService; exports.Action = _chunkNQVPCNRSjs.Action; exports.Auth = _chunkNQVPCNRSjs.Auth; exports.AuthComponent = _chunkNQVPCNRSjs.AuthComponent; exports.AuthModule = _chunkNQVPCNRSjs.AuthModule; exports.AuthService = _chunkNQVPCNRSjs.AuthService; exports.AuthorModule = _chunkNQVPCNRSjs.AuthorModule; exports.Billing = _chunkNQVPCNRSjs.Billing; exports.BillingModule = _chunkNQVPCNRSjs.BillingModule; exports.BillingService = _chunkNQVPCNRSjs.BillingService; exports.BlockNoteDiffUtil = _chunkNQVPCNRSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkNQVPCNRSjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkNQVPCNRSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkNQVPCNRSjs.ClientHttpMethod; exports.Company = _chunkNQVPCNRSjs.Company; exports.CompanyFields = _chunkNQVPCNRSjs.CompanyFields; exports.CompanyModule = _chunkNQVPCNRSjs.CompanyModule; exports.CompanyService = _chunkNQVPCNRSjs.CompanyService; exports.Content = _chunkNQVPCNRSjs.Content; exports.ContentFields = _chunkNQVPCNRSjs.ContentFields; exports.ContentModule = _chunkNQVPCNRSjs.ContentModule; exports.ContentService = _chunkNQVPCNRSjs.ContentService; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkNQVPCNRSjs.EndpointCreator; exports.Feature = _chunkNQVPCNRSjs.Feature; exports.FeatureModule = _chunkNQVPCNRSjs.FeatureModule; exports.FeatureService = _chunkNQVPCNRSjs.FeatureService; exports.HttpMethod = _chunkNQVPCNRSjs.HttpMethod; exports.InvoiceStatus = _chunkNQVPCNRSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkNQVPCNRSjs.Module; exports.ModuleModule = _chunkNQVPCNRSjs.ModuleModule; exports.ModuleRegistrar = _chunkNQVPCNRSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkNQVPCNRSjs.ModuleRegistry; exports.Modules = _chunkNQVPCNRSjs.Modules; exports.Notification = _chunkNQVPCNRSjs.Notification; exports.NotificationFields = _chunkNQVPCNRSjs.NotificationFields; exports.NotificationModule = _chunkNQVPCNRSjs.NotificationModule; exports.NotificationService = _chunkNQVPCNRSjs.NotificationService; exports.PaymentMethod = _chunkNQVPCNRSjs.PaymentMethod; exports.Push = _chunkNQVPCNRSjs.Push; exports.PushModule = _chunkNQVPCNRSjs.PushModule; exports.PushService = _chunkNQVPCNRSjs.PushService; exports.RehydrationFactory = _chunkNQVPCNRSjs.RehydrationFactory; exports.Role = _chunkNQVPCNRSjs.Role; exports.RoleFields = _chunkNQVPCNRSjs.RoleFields; exports.RoleModule = _chunkNQVPCNRSjs.RoleModule; exports.RoleService = _chunkNQVPCNRSjs.RoleService; exports.S3 = _chunkNQVPCNRSjs.S3; exports.S3Module = _chunkNQVPCNRSjs.S3Module; exports.S3Service = _chunkNQVPCNRSjs.S3Service; exports.StripeCustomer = _chunkNQVPCNRSjs.StripeCustomer; exports.StripeCustomerModule = _chunkNQVPCNRSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkNQVPCNRSjs.StripeCustomerService; exports.StripeInvoice = _chunkNQVPCNRSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkNQVPCNRSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkNQVPCNRSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkNQVPCNRSjs.StripePaymentMethodModule; exports.StripePrice = _chunkNQVPCNRSjs.StripePrice; exports.StripePriceModule = _chunkNQVPCNRSjs.StripePriceModule; exports.StripePriceService = _chunkNQVPCNRSjs.StripePriceService; exports.StripeProduct = _chunkNQVPCNRSjs.StripeProduct; exports.StripeProductModule = _chunkNQVPCNRSjs.StripeProductModule; exports.StripeProductService = _chunkNQVPCNRSjs.StripeProductService; exports.StripeSubscription = _chunkNQVPCNRSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkNQVPCNRSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkNQVPCNRSjs.StripeSubscriptionService; exports.StripeUsage = _chunkNQVPCNRSjs.StripeUsage; exports.StripeUsageModule = _chunkNQVPCNRSjs.StripeUsageModule; exports.StripeUsageService = _chunkNQVPCNRSjs.StripeUsageService; exports.SubscriptionStatus = _chunkNQVPCNRSjs.SubscriptionStatus; exports.TableOptions = _chunkNQVPCNRSjs.TableOptions; exports.User = _chunkNQVPCNRSjs.User; exports.UserFields = _chunkNQVPCNRSjs.UserFields; exports.UserModule = _chunkNQVPCNRSjs.UserModule; exports.UserService = _chunkNQVPCNRSjs.UserService; exports.checkPermissions = _chunkNQVPCNRSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkNQVPCNRSjs.checkPermissionsFromServer; exports.cn = _chunkNQVPCNRSjs.cn; exports.composeRefs = _chunkNQVPCNRSjs.composeRefs; exports.createJsonApiInclusion = _chunkNQVPCNRSjs.createJsonApiInclusion; exports.entityObjectSchema = _chunkNQVPCNRSjs.entityObjectSchema; exports.exists = _chunkNQVPCNRSjs.exists; exports.formatDate = _chunkNQVPCNRSjs.formatDate; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkNQVPCNRSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkNQVPCNRSjs.getGlobalErrorHandler; exports.getIcon = _chunkNQVPCNRSjs.getIcon; exports.getIconByModule = _chunkNQVPCNRSjs.getIconByModule; exports.getIconByModuleName = _chunkNQVPCNRSjs.getIconByModuleName; exports.getLucideIcon = _chunkNQVPCNRSjs.getLucideIcon; exports.getLucideIconByModule = _chunkNQVPCNRSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkNQVPCNRSjs.getLucideIconByModuleName; exports.getTableComponents = _chunkNQVPCNRSjs.getTableComponents; exports.getTableOptions = _chunkNQVPCNRSjs.getTableOptions; exports.getValueFromPath = _chunkNQVPCNRSjs.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.rehydrate = _chunkNQVPCNRSjs.rehydrate; exports.rehydrateList = _chunkNQVPCNRSjs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkNQVPCNRSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkNQVPCNRSjs.setGlobalErrorHandler; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkNQVPCNRSjs.useComposedRefs; exports.useIsMobile = _chunkNQVPCNRSjs.useIsMobile; exports.userObjectSchema = _chunkNQVPCNRSjs.userObjectSchema;
236
+
237
+
238
+
239
+
240
+
241
+
242
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkO3LLMGP7js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkO3LLMGP7js.AbstractApiData; exports.AbstractService = _chunkO3LLMGP7js.AbstractService; exports.Action = _chunkO3LLMGP7js.Action; exports.Auth = _chunkO3LLMGP7js.Auth; exports.AuthComponent = _chunkO3LLMGP7js.AuthComponent; exports.AuthModule = _chunkO3LLMGP7js.AuthModule; exports.AuthService = _chunkO3LLMGP7js.AuthService; exports.AuthorModule = _chunkO3LLMGP7js.AuthorModule; exports.Billing = _chunkO3LLMGP7js.Billing; exports.BillingModule = _chunkO3LLMGP7js.BillingModule; exports.BillingService = _chunkO3LLMGP7js.BillingService; exports.BlockNoteDiffUtil = _chunkO3LLMGP7js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkO3LLMGP7js.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkO3LLMGP7js.ClientAbstractService; exports.ClientHttpMethod = _chunkO3LLMGP7js.ClientHttpMethod; exports.Company = _chunkO3LLMGP7js.Company; exports.CompanyFields = _chunkO3LLMGP7js.CompanyFields; exports.CompanyModule = _chunkO3LLMGP7js.CompanyModule; exports.CompanyService = _chunkO3LLMGP7js.CompanyService; exports.Content = _chunkO3LLMGP7js.Content; exports.ContentFields = _chunkO3LLMGP7js.ContentFields; exports.ContentModule = _chunkO3LLMGP7js.ContentModule; exports.ContentService = _chunkO3LLMGP7js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkO3LLMGP7js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkO3LLMGP7js.EndpointCreator; exports.Feature = _chunkO3LLMGP7js.Feature; exports.FeatureModule = _chunkO3LLMGP7js.FeatureModule; exports.FeatureService = _chunkO3LLMGP7js.FeatureService; exports.HttpMethod = _chunkO3LLMGP7js.HttpMethod; exports.InvoiceStatus = _chunkO3LLMGP7js.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkO3LLMGP7js.Module; exports.ModuleModule = _chunkO3LLMGP7js.ModuleModule; exports.ModuleRegistrar = _chunkO3LLMGP7js.ModuleRegistrar; exports.ModuleRegistry = _chunkO3LLMGP7js.ModuleRegistry; exports.Modules = _chunkO3LLMGP7js.Modules; exports.Notification = _chunkO3LLMGP7js.Notification; exports.NotificationFields = _chunkO3LLMGP7js.NotificationFields; exports.NotificationModule = _chunkO3LLMGP7js.NotificationModule; exports.NotificationService = _chunkO3LLMGP7js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkO3LLMGP7js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkO3LLMGP7js.OAuthClient; exports.OAuthModule = _chunkO3LLMGP7js.OAuthModule; exports.OAuthService = _chunkO3LLMGP7js.OAuthService; exports.PaymentMethod = _chunkO3LLMGP7js.PaymentMethod; exports.Push = _chunkO3LLMGP7js.Push; exports.PushModule = _chunkO3LLMGP7js.PushModule; exports.PushService = _chunkO3LLMGP7js.PushService; exports.RehydrationFactory = _chunkO3LLMGP7js.RehydrationFactory; exports.Role = _chunkO3LLMGP7js.Role; exports.RoleFields = _chunkO3LLMGP7js.RoleFields; exports.RoleModule = _chunkO3LLMGP7js.RoleModule; exports.RoleService = _chunkO3LLMGP7js.RoleService; exports.S3 = _chunkO3LLMGP7js.S3; exports.S3Module = _chunkO3LLMGP7js.S3Module; exports.S3Service = _chunkO3LLMGP7js.S3Service; exports.StripeCustomer = _chunkO3LLMGP7js.StripeCustomer; exports.StripeCustomerModule = _chunkO3LLMGP7js.StripeCustomerModule; exports.StripeCustomerService = _chunkO3LLMGP7js.StripeCustomerService; exports.StripeInvoice = _chunkO3LLMGP7js.StripeInvoice; exports.StripeInvoiceModule = _chunkO3LLMGP7js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkO3LLMGP7js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkO3LLMGP7js.StripePaymentMethodModule; exports.StripePrice = _chunkO3LLMGP7js.StripePrice; exports.StripePriceModule = _chunkO3LLMGP7js.StripePriceModule; exports.StripePriceService = _chunkO3LLMGP7js.StripePriceService; exports.StripeProduct = _chunkO3LLMGP7js.StripeProduct; exports.StripeProductModule = _chunkO3LLMGP7js.StripeProductModule; exports.StripeProductService = _chunkO3LLMGP7js.StripeProductService; exports.StripeSubscription = _chunkO3LLMGP7js.StripeSubscription; exports.StripeSubscriptionModule = _chunkO3LLMGP7js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkO3LLMGP7js.StripeSubscriptionService; exports.StripeUsage = _chunkO3LLMGP7js.StripeUsage; exports.StripeUsageModule = _chunkO3LLMGP7js.StripeUsageModule; exports.StripeUsageService = _chunkO3LLMGP7js.StripeUsageService; exports.SubscriptionStatus = _chunkO3LLMGP7js.SubscriptionStatus; exports.TableOptions = _chunkO3LLMGP7js.TableOptions; exports.User = _chunkO3LLMGP7js.User; exports.UserFields = _chunkO3LLMGP7js.UserFields; exports.UserModule = _chunkO3LLMGP7js.UserModule; exports.UserService = _chunkO3LLMGP7js.UserService; exports.checkPermissions = _chunkO3LLMGP7js.checkPermissions; exports.checkPermissionsFromServer = _chunkO3LLMGP7js.checkPermissionsFromServer; exports.cn = _chunkO3LLMGP7js.cn; exports.composeRefs = _chunkO3LLMGP7js.composeRefs; exports.createJsonApiInclusion = _chunkO3LLMGP7js.createJsonApiInclusion; exports.entityObjectSchema = _chunkO3LLMGP7js.entityObjectSchema; exports.exists = _chunkO3LLMGP7js.exists; exports.formatDate = _chunkO3LLMGP7js.formatDate; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkO3LLMGP7js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkO3LLMGP7js.getGlobalErrorHandler; exports.getIcon = _chunkO3LLMGP7js.getIcon; exports.getIconByModule = _chunkO3LLMGP7js.getIconByModule; exports.getIconByModuleName = _chunkO3LLMGP7js.getIconByModuleName; exports.getLucideIcon = _chunkO3LLMGP7js.getLucideIcon; exports.getLucideIconByModule = _chunkO3LLMGP7js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkO3LLMGP7js.getLucideIconByModuleName; exports.getTableComponents = _chunkO3LLMGP7js.getTableComponents; exports.getTableOptions = _chunkO3LLMGP7js.getTableOptions; exports.getValueFromPath = _chunkO3LLMGP7js.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.rehydrate = _chunkO3LLMGP7js.rehydrate; exports.rehydrateList = _chunkO3LLMGP7js.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkO3LLMGP7js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkO3LLMGP7js.setGlobalErrorHandler; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkO3LLMGP7js.useComposedRefs; exports.useIsMobile = _chunkO3LLMGP7js.useIsMobile; exports.userObjectSchema = _chunkO3LLMGP7js.userObjectSchema;
231
243
  //# 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;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;AACF,61MAAC","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;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;AACF,6sNAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -1,4 +1,5 @@
1
1
  import {
2
+ AVAILABLE_OAUTH_SCOPES,
2
3
  AbstractApiData,
3
4
  AbstractService,
4
5
  Action,
@@ -22,6 +23,7 @@ import {
22
23
  ContentFields,
23
24
  ContentModule,
24
25
  ContentService,
26
+ DEFAULT_GRANT_TYPES,
25
27
  EndpointCreator,
26
28
  Feature,
27
29
  FeatureModule,
@@ -37,6 +39,10 @@ import {
37
39
  NotificationFields,
38
40
  NotificationModule,
39
41
  NotificationService,
42
+ OAUTH_SCOPE_DISPLAY,
43
+ OAuthClient,
44
+ OAuthModule,
45
+ OAuthService,
40
46
  PaymentMethod,
41
47
  Push,
42
48
  PushModule,
@@ -100,7 +106,7 @@ import {
100
106
  useComposedRefs,
101
107
  useIsMobile,
102
108
  userObjectSchema
103
- } from "../chunk-5U4NJJOF.mjs";
109
+ } from "../chunk-LNBT2YPZ.mjs";
104
110
  import "../chunk-AUXK7QSA.mjs";
105
111
  import "../chunk-C7C7VY4F.mjs";
106
112
  import {
@@ -116,6 +122,7 @@ import {
116
122
  } from "../chunk-U4MTVHOC.mjs";
117
123
  import "../chunk-PAWJFY3S.mjs";
118
124
  export {
125
+ AVAILABLE_OAUTH_SCOPES,
119
126
  AbstractApiData,
120
127
  AbstractService,
121
128
  Action,
@@ -139,6 +146,7 @@ export {
139
146
  ContentFields,
140
147
  ContentModule,
141
148
  ContentService,
149
+ DEFAULT_GRANT_TYPES,
142
150
  DataClassRegistry as DataClass,
143
151
  DataClassRegistry,
144
152
  EndpointCreator,
@@ -157,6 +165,10 @@ export {
157
165
  NotificationFields,
158
166
  NotificationModule,
159
167
  NotificationService,
168
+ OAUTH_SCOPE_DISPLAY,
169
+ OAuthClient,
170
+ OAuthModule,
171
+ OAuthService,
160
172
  PaymentMethod,
161
173
  Push,
162
174
  PushModule,
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ 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, 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, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
5
+ export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, 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, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
6
6
  export { A as AbstractService, a as AuthInput, c as AuthInterface, b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, f as NotificationService, P as PreviousRef, h as PushService, R as RoleService, i as S3Input, j as S3Interface, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './s3.service-DSDfcr0S.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';
@@ -11,6 +11,7 @@ export { A as Action, C as CompanyInput, h as CompanyInterface, F as FeatureInte
11
11
  export { A as AuthComponent } from './AuthComponent-hxOPs9o8.mjs';
12
12
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-subscription.interface-CFtupgYh.mjs';
13
13
  export { C as ContentInput, a as ContentInterface } from './content.interface-QcsFR5Ad.mjs';
14
+ 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';
14
15
  export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-h0hNLceh.mjs';
15
16
  import 'react';
16
17
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ 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, 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, PaymentMethod, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
5
+ export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, 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, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, User, UserModule, UserObject, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getIcon, getIconByModule, getIconByModuleName, getLucideIcon, getLucideIconByModule, getLucideIconByModuleName, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
6
6
  export { A as AbstractService, a as AuthInput, c as AuthInterface, b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, N as NextRef, f as NotificationService, P as PreviousRef, h as PushService, R as RoleService, i as S3Input, j as S3Interface, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from './s3.service-B83hUhqV.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';
@@ -11,6 +11,7 @@ export { A as Action, C as CompanyInput, h as CompanyInterface, F as FeatureInte
11
11
  export { A as AuthComponent } from './AuthComponent-hxOPs9o8.js';
12
12
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-subscription.interface-CNTsrbAx.js';
13
13
  export { C as ContentInput, a as ContentInterface } from './content.interface-CUIEQ0jk.js';
14
+ 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';
14
15
  export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-D_91hrI-.js';
15
16
  import 'react';
16
17
  import 'zod';
package/dist/index.js CHANGED
@@ -114,7 +114,13 @@ var _chunkEW6QPMN3js = require('./chunk-EW6QPMN3.js');
114
114
 
115
115
 
116
116
 
117
- var _chunkNQVPCNRSjs = require('./chunk-NQVPCNRS.js');
117
+
118
+
119
+
120
+
121
+
122
+
123
+ var _chunkO3LLMGP7js = require('./chunk-O3LLMGP7.js');
118
124
  require('./chunk-LXKSUWAV.js');
119
125
  require('./chunk-IBS6NI7D.js');
120
126
 
@@ -253,5 +259,11 @@ require('./chunk-7QVYU63E.js');
253
259
 
254
260
 
255
261
 
256
- exports.AbstractApiData = _chunkNQVPCNRSjs.AbstractApiData; exports.AbstractService = _chunkNQVPCNRSjs.AbstractService; exports.Action = _chunkNQVPCNRSjs.Action; exports.Auth = _chunkNQVPCNRSjs.Auth; exports.AuthComponent = _chunkNQVPCNRSjs.AuthComponent; exports.AuthModule = _chunkNQVPCNRSjs.AuthModule; exports.AuthService = _chunkNQVPCNRSjs.AuthService; exports.AuthorModule = _chunkNQVPCNRSjs.AuthorModule; exports.Billing = _chunkNQVPCNRSjs.Billing; exports.BillingModule = _chunkNQVPCNRSjs.BillingModule; exports.BillingService = _chunkNQVPCNRSjs.BillingService; exports.BlockNoteDiffUtil = _chunkNQVPCNRSjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkNQVPCNRSjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkNQVPCNRSjs.ClientAbstractService; exports.ClientHttpMethod = _chunkNQVPCNRSjs.ClientHttpMethod; exports.Company = _chunkNQVPCNRSjs.Company; exports.CompanyFields = _chunkNQVPCNRSjs.CompanyFields; exports.CompanyModule = _chunkNQVPCNRSjs.CompanyModule; exports.CompanyService = _chunkNQVPCNRSjs.CompanyService; exports.Content = _chunkNQVPCNRSjs.Content; exports.ContentFields = _chunkNQVPCNRSjs.ContentFields; exports.ContentModule = _chunkNQVPCNRSjs.ContentModule; exports.ContentService = _chunkNQVPCNRSjs.ContentService; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkNQVPCNRSjs.EndpointCreator; exports.Feature = _chunkNQVPCNRSjs.Feature; exports.FeatureModule = _chunkNQVPCNRSjs.FeatureModule; exports.FeatureService = _chunkNQVPCNRSjs.FeatureService; exports.HttpMethod = _chunkNQVPCNRSjs.HttpMethod; exports.InvoiceStatus = _chunkNQVPCNRSjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkNQVPCNRSjs.Module; exports.ModuleModule = _chunkNQVPCNRSjs.ModuleModule; exports.ModuleRegistrar = _chunkNQVPCNRSjs.ModuleRegistrar; exports.ModuleRegistry = _chunkNQVPCNRSjs.ModuleRegistry; exports.Modules = _chunkNQVPCNRSjs.Modules; exports.Notification = _chunkNQVPCNRSjs.Notification; exports.NotificationFields = _chunkNQVPCNRSjs.NotificationFields; exports.NotificationModule = _chunkNQVPCNRSjs.NotificationModule; exports.NotificationService = _chunkNQVPCNRSjs.NotificationService; exports.PaymentMethod = _chunkNQVPCNRSjs.PaymentMethod; exports.Push = _chunkNQVPCNRSjs.Push; exports.PushModule = _chunkNQVPCNRSjs.PushModule; exports.PushService = _chunkNQVPCNRSjs.PushService; exports.RehydrationFactory = _chunkNQVPCNRSjs.RehydrationFactory; exports.Role = _chunkNQVPCNRSjs.Role; exports.RoleFields = _chunkNQVPCNRSjs.RoleFields; exports.RoleModule = _chunkNQVPCNRSjs.RoleModule; exports.RoleService = _chunkNQVPCNRSjs.RoleService; exports.S3 = _chunkNQVPCNRSjs.S3; exports.S3Module = _chunkNQVPCNRSjs.S3Module; exports.S3Service = _chunkNQVPCNRSjs.S3Service; exports.StripeCustomer = _chunkNQVPCNRSjs.StripeCustomer; exports.StripeCustomerModule = _chunkNQVPCNRSjs.StripeCustomerModule; exports.StripeCustomerService = _chunkNQVPCNRSjs.StripeCustomerService; exports.StripeInvoice = _chunkNQVPCNRSjs.StripeInvoice; exports.StripeInvoiceModule = _chunkNQVPCNRSjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkNQVPCNRSjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkNQVPCNRSjs.StripePaymentMethodModule; exports.StripePrice = _chunkNQVPCNRSjs.StripePrice; exports.StripePriceModule = _chunkNQVPCNRSjs.StripePriceModule; exports.StripePriceService = _chunkNQVPCNRSjs.StripePriceService; exports.StripeProduct = _chunkNQVPCNRSjs.StripeProduct; exports.StripeProductModule = _chunkNQVPCNRSjs.StripeProductModule; exports.StripeProductService = _chunkNQVPCNRSjs.StripeProductService; exports.StripeSubscription = _chunkNQVPCNRSjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkNQVPCNRSjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkNQVPCNRSjs.StripeSubscriptionService; exports.StripeUsage = _chunkNQVPCNRSjs.StripeUsage; exports.StripeUsageModule = _chunkNQVPCNRSjs.StripeUsageModule; exports.StripeUsageService = _chunkNQVPCNRSjs.StripeUsageService; exports.SubscriptionStatus = _chunkNQVPCNRSjs.SubscriptionStatus; exports.TableOptions = _chunkNQVPCNRSjs.TableOptions; exports.User = _chunkNQVPCNRSjs.User; exports.UserFields = _chunkNQVPCNRSjs.UserFields; exports.UserModule = _chunkNQVPCNRSjs.UserModule; exports.UserService = _chunkNQVPCNRSjs.UserService; exports.checkPermissions = _chunkNQVPCNRSjs.checkPermissions; exports.checkPermissionsFromServer = _chunkNQVPCNRSjs.checkPermissionsFromServer; exports.cn = _chunkNQVPCNRSjs.cn; exports.composeRefs = _chunkNQVPCNRSjs.composeRefs; exports.configureAuth = _chunkNQVPCNRSjs.configureAuth; exports.configureI18n = _chunkEW6QPMN3js.configureI18n; exports.configureJsonApi = _chunkEW6QPMN3js.configureJsonApi; exports.configureLogin = _chunkEW6QPMN3js.configureLogin; exports.configureRoles = _chunkEW6QPMN3js.configureRoles; exports.createJsonApiInclusion = _chunkNQVPCNRSjs.createJsonApiInclusion; exports.entityObjectSchema = _chunkNQVPCNRSjs.entityObjectSchema; exports.exists = _chunkNQVPCNRSjs.exists; exports.formatDate = _chunkNQVPCNRSjs.formatDate; exports.getApiUrl = _chunkEW6QPMN3js.getApiUrl; exports.getAppUrl = _chunkEW6QPMN3js.getAppUrl; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkNQVPCNRSjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkNQVPCNRSjs.getGlobalErrorHandler; exports.getIcon = _chunkNQVPCNRSjs.getIcon; exports.getIconByModule = _chunkNQVPCNRSjs.getIconByModule; exports.getIconByModuleName = _chunkNQVPCNRSjs.getIconByModuleName; exports.getLucideIcon = _chunkNQVPCNRSjs.getLucideIcon; exports.getLucideIconByModule = _chunkNQVPCNRSjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkNQVPCNRSjs.getLucideIconByModuleName; exports.getRoleId = _chunkEW6QPMN3js.getRoleId; exports.getStripePublishableKey = _chunkEW6QPMN3js.getStripePublishableKey; exports.getTableComponents = _chunkNQVPCNRSjs.getTableComponents; exports.getTableOptions = _chunkNQVPCNRSjs.getTableOptions; exports.getTokenHandler = _chunkNQVPCNRSjs.getTokenHandler; exports.getTrackablePages = _chunkEW6QPMN3js.getTrackablePages; exports.getValueFromPath = _chunkNQVPCNRSjs.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.isRolesConfigured = _chunkEW6QPMN3js.isRolesConfigured; exports.rehydrate = _chunkNQVPCNRSjs.rehydrate; exports.rehydrateList = _chunkNQVPCNRSjs.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkNQVPCNRSjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkNQVPCNRSjs.setGlobalErrorHandler; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkNQVPCNRSjs.useComposedRefs; exports.useIsMobile = _chunkNQVPCNRSjs.useIsMobile; exports.userObjectSchema = _chunkNQVPCNRSjs.userObjectSchema;
262
+
263
+
264
+
265
+
266
+
267
+
268
+ exports.AVAILABLE_OAUTH_SCOPES = _chunkO3LLMGP7js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkO3LLMGP7js.AbstractApiData; exports.AbstractService = _chunkO3LLMGP7js.AbstractService; exports.Action = _chunkO3LLMGP7js.Action; exports.Auth = _chunkO3LLMGP7js.Auth; exports.AuthComponent = _chunkO3LLMGP7js.AuthComponent; exports.AuthModule = _chunkO3LLMGP7js.AuthModule; exports.AuthService = _chunkO3LLMGP7js.AuthService; exports.AuthorModule = _chunkO3LLMGP7js.AuthorModule; exports.Billing = _chunkO3LLMGP7js.Billing; exports.BillingModule = _chunkO3LLMGP7js.BillingModule; exports.BillingService = _chunkO3LLMGP7js.BillingService; exports.BlockNoteDiffUtil = _chunkO3LLMGP7js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkO3LLMGP7js.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkO3LLMGP7js.ClientAbstractService; exports.ClientHttpMethod = _chunkO3LLMGP7js.ClientHttpMethod; exports.Company = _chunkO3LLMGP7js.Company; exports.CompanyFields = _chunkO3LLMGP7js.CompanyFields; exports.CompanyModule = _chunkO3LLMGP7js.CompanyModule; exports.CompanyService = _chunkO3LLMGP7js.CompanyService; exports.Content = _chunkO3LLMGP7js.Content; exports.ContentFields = _chunkO3LLMGP7js.ContentFields; exports.ContentModule = _chunkO3LLMGP7js.ContentModule; exports.ContentService = _chunkO3LLMGP7js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkO3LLMGP7js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFM6WRAN5js.DataClassRegistry; exports.DataClassRegistry = _chunkFM6WRAN5js.DataClassRegistry; exports.EndpointCreator = _chunkO3LLMGP7js.EndpointCreator; exports.Feature = _chunkO3LLMGP7js.Feature; exports.FeatureModule = _chunkO3LLMGP7js.FeatureModule; exports.FeatureService = _chunkO3LLMGP7js.FeatureService; exports.HttpMethod = _chunkO3LLMGP7js.HttpMethod; exports.InvoiceStatus = _chunkO3LLMGP7js.InvoiceStatus; exports.JsonApiDataFactory = _chunkFM6WRAN5js.JsonApiDataFactory; exports.Module = _chunkO3LLMGP7js.Module; exports.ModuleModule = _chunkO3LLMGP7js.ModuleModule; exports.ModuleRegistrar = _chunkO3LLMGP7js.ModuleRegistrar; exports.ModuleRegistry = _chunkO3LLMGP7js.ModuleRegistry; exports.Modules = _chunkO3LLMGP7js.Modules; exports.Notification = _chunkO3LLMGP7js.Notification; exports.NotificationFields = _chunkO3LLMGP7js.NotificationFields; exports.NotificationModule = _chunkO3LLMGP7js.NotificationModule; exports.NotificationService = _chunkO3LLMGP7js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkO3LLMGP7js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkO3LLMGP7js.OAuthClient; exports.OAuthModule = _chunkO3LLMGP7js.OAuthModule; exports.OAuthService = _chunkO3LLMGP7js.OAuthService; exports.PaymentMethod = _chunkO3LLMGP7js.PaymentMethod; exports.Push = _chunkO3LLMGP7js.Push; exports.PushModule = _chunkO3LLMGP7js.PushModule; exports.PushService = _chunkO3LLMGP7js.PushService; exports.RehydrationFactory = _chunkO3LLMGP7js.RehydrationFactory; exports.Role = _chunkO3LLMGP7js.Role; exports.RoleFields = _chunkO3LLMGP7js.RoleFields; exports.RoleModule = _chunkO3LLMGP7js.RoleModule; exports.RoleService = _chunkO3LLMGP7js.RoleService; exports.S3 = _chunkO3LLMGP7js.S3; exports.S3Module = _chunkO3LLMGP7js.S3Module; exports.S3Service = _chunkO3LLMGP7js.S3Service; exports.StripeCustomer = _chunkO3LLMGP7js.StripeCustomer; exports.StripeCustomerModule = _chunkO3LLMGP7js.StripeCustomerModule; exports.StripeCustomerService = _chunkO3LLMGP7js.StripeCustomerService; exports.StripeInvoice = _chunkO3LLMGP7js.StripeInvoice; exports.StripeInvoiceModule = _chunkO3LLMGP7js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkO3LLMGP7js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkO3LLMGP7js.StripePaymentMethodModule; exports.StripePrice = _chunkO3LLMGP7js.StripePrice; exports.StripePriceModule = _chunkO3LLMGP7js.StripePriceModule; exports.StripePriceService = _chunkO3LLMGP7js.StripePriceService; exports.StripeProduct = _chunkO3LLMGP7js.StripeProduct; exports.StripeProductModule = _chunkO3LLMGP7js.StripeProductModule; exports.StripeProductService = _chunkO3LLMGP7js.StripeProductService; exports.StripeSubscription = _chunkO3LLMGP7js.StripeSubscription; exports.StripeSubscriptionModule = _chunkO3LLMGP7js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkO3LLMGP7js.StripeSubscriptionService; exports.StripeUsage = _chunkO3LLMGP7js.StripeUsage; exports.StripeUsageModule = _chunkO3LLMGP7js.StripeUsageModule; exports.StripeUsageService = _chunkO3LLMGP7js.StripeUsageService; exports.SubscriptionStatus = _chunkO3LLMGP7js.SubscriptionStatus; exports.TableOptions = _chunkO3LLMGP7js.TableOptions; exports.User = _chunkO3LLMGP7js.User; exports.UserFields = _chunkO3LLMGP7js.UserFields; exports.UserModule = _chunkO3LLMGP7js.UserModule; exports.UserService = _chunkO3LLMGP7js.UserService; exports.checkPermissions = _chunkO3LLMGP7js.checkPermissions; exports.checkPermissionsFromServer = _chunkO3LLMGP7js.checkPermissionsFromServer; exports.cn = _chunkO3LLMGP7js.cn; exports.composeRefs = _chunkO3LLMGP7js.composeRefs; exports.configureAuth = _chunkO3LLMGP7js.configureAuth; exports.configureI18n = _chunkEW6QPMN3js.configureI18n; exports.configureJsonApi = _chunkEW6QPMN3js.configureJsonApi; exports.configureLogin = _chunkEW6QPMN3js.configureLogin; exports.configureRoles = _chunkEW6QPMN3js.configureRoles; exports.createJsonApiInclusion = _chunkO3LLMGP7js.createJsonApiInclusion; exports.entityObjectSchema = _chunkO3LLMGP7js.entityObjectSchema; exports.exists = _chunkO3LLMGP7js.exists; exports.formatDate = _chunkO3LLMGP7js.formatDate; exports.getApiUrl = _chunkEW6QPMN3js.getApiUrl; exports.getAppUrl = _chunkEW6QPMN3js.getAppUrl; exports.getBootstrapper = _chunkFM6WRAN5js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkO3LLMGP7js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkO3LLMGP7js.getGlobalErrorHandler; exports.getIcon = _chunkO3LLMGP7js.getIcon; exports.getIconByModule = _chunkO3LLMGP7js.getIconByModule; exports.getIconByModuleName = _chunkO3LLMGP7js.getIconByModuleName; exports.getLucideIcon = _chunkO3LLMGP7js.getLucideIcon; exports.getLucideIconByModule = _chunkO3LLMGP7js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkO3LLMGP7js.getLucideIconByModuleName; exports.getRoleId = _chunkEW6QPMN3js.getRoleId; exports.getStripePublishableKey = _chunkEW6QPMN3js.getStripePublishableKey; exports.getTableComponents = _chunkO3LLMGP7js.getTableComponents; exports.getTableOptions = _chunkO3LLMGP7js.getTableOptions; exports.getTokenHandler = _chunkO3LLMGP7js.getTokenHandler; exports.getTrackablePages = _chunkEW6QPMN3js.getTrackablePages; exports.getValueFromPath = _chunkO3LLMGP7js.getValueFromPath; exports.hasBootstrapper = _chunkFM6WRAN5js.hasBootstrapper; exports.isRolesConfigured = _chunkEW6QPMN3js.isRolesConfigured; exports.rehydrate = _chunkO3LLMGP7js.rehydrate; exports.rehydrateList = _chunkO3LLMGP7js.rehydrateList; exports.resetBootstrapStore = _chunkFM6WRAN5js.resetBootstrapStore; exports.setBootstrapper = _chunkFM6WRAN5js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkO3LLMGP7js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkO3LLMGP7js.setGlobalErrorHandler; exports.translateData = _chunkFM6WRAN5js.translateData; exports.translateResponse = _chunkFM6WRAN5js.translateResponse; exports.tryBootstrap = _chunkFM6WRAN5js.tryBootstrap; exports.useComposedRefs = _chunkO3LLMGP7js.useComposedRefs; exports.useIsMobile = _chunkO3LLMGP7js.useIsMobile; exports.userObjectSchema = _chunkO3LLMGP7js.userObjectSchema;
257
269
  //# 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;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;AACF,uhOAAC","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;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;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;AACF,u4OAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -11,6 +11,7 @@ import {
11
11
  isRolesConfigured
12
12
  } from "./chunk-GR4QPP36.mjs";
13
13
  import {
14
+ AVAILABLE_OAUTH_SCOPES,
14
15
  AbstractApiData,
15
16
  AbstractService,
16
17
  Action,
@@ -34,6 +35,7 @@ import {
34
35
  ContentFields,
35
36
  ContentModule,
36
37
  ContentService,
38
+ DEFAULT_GRANT_TYPES,
37
39
  EndpointCreator,
38
40
  Feature,
39
41
  FeatureModule,
@@ -49,6 +51,10 @@ import {
49
51
  NotificationFields,
50
52
  NotificationModule,
51
53
  NotificationService,
54
+ OAUTH_SCOPE_DISPLAY,
55
+ OAuthClient,
56
+ OAuthModule,
57
+ OAuthService,
52
58
  PaymentMethod,
53
59
  Push,
54
60
  PushModule,
@@ -114,7 +120,7 @@ import {
114
120
  useComposedRefs,
115
121
  useIsMobile,
116
122
  userObjectSchema
117
- } from "./chunk-5U4NJJOF.mjs";
123
+ } from "./chunk-LNBT2YPZ.mjs";
118
124
  import "./chunk-AUXK7QSA.mjs";
119
125
  import "./chunk-C7C7VY4F.mjs";
120
126
  import {
@@ -130,6 +136,7 @@ import {
130
136
  } from "./chunk-U4MTVHOC.mjs";
131
137
  import "./chunk-PAWJFY3S.mjs";
132
138
  export {
139
+ AVAILABLE_OAUTH_SCOPES,
133
140
  AbstractApiData,
134
141
  AbstractService,
135
142
  Action,
@@ -153,6 +160,7 @@ export {
153
160
  ContentFields,
154
161
  ContentModule,
155
162
  ContentService,
163
+ DEFAULT_GRANT_TYPES,
156
164
  DataClassRegistry as DataClass,
157
165
  DataClassRegistry,
158
166
  EndpointCreator,
@@ -171,6 +179,10 @@ export {
171
179
  NotificationFields,
172
180
  NotificationModule,
173
181
  NotificationService,
182
+ OAUTH_SCOPE_DISPLAY,
183
+ OAuthClient,
184
+ OAuthModule,
185
+ OAuthService,
174
186
  PaymentMethod,
175
187
  Push,
176
188
  PushModule,
@@ -0,0 +1,119 @@
1
+ import { A as ApiDataInterface } from './ApiDataInterface-DPP8s46n.mjs';
2
+
3
+ /**
4
+ * OAuth client application interface
5
+ * Represents a registered OAuth application that can request access tokens
6
+ */
7
+ interface OAuthClientInterface extends ApiDataInterface {
8
+ /** The public client identifier (UUID format) */
9
+ get clientId(): string;
10
+ /** Human-readable application name */
11
+ get name(): string;
12
+ /** Optional description of the application */
13
+ get description(): string | undefined;
14
+ /** Array of allowed redirect URIs (exact match validation) */
15
+ get redirectUris(): string[];
16
+ /** Array of scopes this client can request */
17
+ get allowedScopes(): string[];
18
+ /** Supported grant types (authorization_code, client_credentials, refresh_token) */
19
+ get allowedGrantTypes(): string[];
20
+ /** True for server-side apps (can keep secret secure), false for mobile/desktop apps */
21
+ get isConfidential(): boolean;
22
+ /** Whether the client is currently active */
23
+ get isActive(): boolean;
24
+ /** When the client was created */
25
+ get createdAt(): Date;
26
+ /** When the client was last updated */
27
+ get updatedAt(): Date;
28
+ }
29
+ /**
30
+ * Input type for OAuth client CRUD operations
31
+ */
32
+ type OAuthClientInput = {
33
+ id?: string;
34
+ name?: string;
35
+ description?: string;
36
+ redirectUris?: string[];
37
+ allowedScopes?: string[];
38
+ allowedGrantTypes?: string[];
39
+ isConfidential?: boolean;
40
+ isActive?: boolean;
41
+ };
42
+ /**
43
+ * Request body for creating a new OAuth client
44
+ */
45
+ interface OAuthClientCreateRequest {
46
+ /** Required: Human-readable application name */
47
+ name: string;
48
+ /** Optional: Description of the application */
49
+ description?: string;
50
+ /** Required: At least one redirect URI */
51
+ redirectUris: string[];
52
+ /** Required: Array of scopes the client needs */
53
+ allowedScopes: string[];
54
+ /** Optional: Grant types (defaults to authorization_code + refresh_token) */
55
+ allowedGrantTypes?: string[];
56
+ /** Required: Whether this is a confidential client */
57
+ isConfidential: boolean;
58
+ }
59
+ /**
60
+ * Response when creating a client (includes one-time secret)
61
+ */
62
+ interface OAuthClientCreateResponse {
63
+ client: OAuthClientInterface;
64
+ /** Only returned on creation - must be saved immediately */
65
+ clientSecret?: string;
66
+ }
67
+ /**
68
+ * Parameters for the OAuth authorization consent flow
69
+ * Passed via URL query parameters to the consent page
70
+ */
71
+ interface OAuthConsentRequest {
72
+ /** The client_id requesting authorization */
73
+ clientId: string;
74
+ /** Where to redirect after authorization */
75
+ redirectUri: string;
76
+ /** Space-separated list of requested scopes */
77
+ scope: string;
78
+ /** CSRF protection token (passed back on redirect) */
79
+ state?: string;
80
+ /** PKCE code challenge (required for public clients) */
81
+ codeChallenge?: string;
82
+ /** PKCE method: 'S256' (recommended) or 'plain' */
83
+ codeChallengeMethod?: string;
84
+ }
85
+ /**
86
+ * Scope information for display in consent screen
87
+ */
88
+ interface OAuthScopeInfo {
89
+ /** The scope identifier (e.g., 'photographs:read') */
90
+ scope: string;
91
+ /** Human-readable scope name */
92
+ name: string;
93
+ /** Description of what this scope allows */
94
+ description: string;
95
+ /** Optional icon identifier */
96
+ icon?: string;
97
+ }
98
+ /**
99
+ * Client info returned for consent screen display
100
+ */
101
+ interface OAuthConsentInfo {
102
+ client: OAuthClientInterface;
103
+ scopes: OAuthScopeInfo[];
104
+ }
105
+ /**
106
+ * Default scope display configuration
107
+ * Maps scope identifiers to human-readable info
108
+ */
109
+ declare const OAUTH_SCOPE_DISPLAY: Record<string, OAuthScopeInfo>;
110
+ /**
111
+ * Available scopes list for the scope selector
112
+ */
113
+ declare const AVAILABLE_OAUTH_SCOPES: OAuthScopeInfo[];
114
+ /**
115
+ * Default grant types for new clients
116
+ */
117
+ declare const DEFAULT_GRANT_TYPES: string[];
118
+
119
+ export { AVAILABLE_OAUTH_SCOPES as A, DEFAULT_GRANT_TYPES as D, type OAuthClientInterface as O, type OAuthClientInput as a, type OAuthClientCreateRequest as b, type OAuthClientCreateResponse as c, type OAuthConsentRequest as d, type OAuthScopeInfo as e, type OAuthConsentInfo as f, OAUTH_SCOPE_DISPLAY as g };