@carlonicora/nextjs-jsonapi 1.16.0 → 1.17.0

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 (123) hide show
  1. package/dist/ApiData-DPKNfY-9.d.mts +10 -0
  2. package/dist/ApiData-DPKNfY-9.d.ts +10 -0
  3. package/dist/ApiRequestDataTypeInterface-DIEOFn9s.d.mts +40 -0
  4. package/dist/ApiRequestDataTypeInterface-DIEOFn9s.d.ts +40 -0
  5. package/dist/{ApiResponseInterface-BvWIeLkq.d.ts → ApiResponseInterface-BKyod24U.d.ts} +2 -11
  6. package/dist/{ApiResponseInterface-CAbw0sv7.d.mts → ApiResponseInterface-Dqvu09tz.d.mts} +2 -11
  7. package/dist/{BlockNoteEditor-MBFDWP7X.js → BlockNoteEditor-34T5CY27.js} +17 -16
  8. package/dist/BlockNoteEditor-34T5CY27.js.map +1 -0
  9. package/dist/{BlockNoteEditor-HFX7Z5BQ.mjs → BlockNoteEditor-4Z6TZBJE.mjs} +7 -6
  10. package/dist/{BlockNoteEditor-HFX7Z5BQ.mjs.map → BlockNoteEditor-4Z6TZBJE.mjs.map} +1 -1
  11. package/dist/JsonApiContext-Bsm_Q2oe.d.mts +41 -0
  12. package/dist/JsonApiContext-Bsm_Q2oe.d.ts +41 -0
  13. package/dist/JsonApiRequest-54ZBO7WQ.js +24 -0
  14. package/dist/{JsonApiRequest-45CLE65I.js.map → JsonApiRequest-54ZBO7WQ.js.map} +1 -1
  15. package/dist/{JsonApiRequest-6IPS3DZJ.mjs → JsonApiRequest-XWQWTFEQ.mjs} +2 -2
  16. package/dist/chunk-3EPNHTMH.js +26 -0
  17. package/dist/chunk-3EPNHTMH.js.map +1 -0
  18. package/dist/{chunk-BCKYJQ3K.mjs → chunk-3VM3WAOV.mjs} +1 -1
  19. package/dist/{chunk-R5QSSISB.js → chunk-7DTKRMYW.js} +21 -14
  20. package/dist/chunk-7DTKRMYW.js.map +1 -0
  21. package/dist/{chunk-ONB2DAIV.js → chunk-D7H7SRWB.js} +455 -470
  22. package/dist/chunk-D7H7SRWB.js.map +1 -0
  23. package/dist/{chunk-BCQSE3EU.mjs → chunk-KUFWHMMY.mjs} +8 -8
  24. package/dist/{chunk-POKIJ56Q.mjs → chunk-KX7YG6LY.mjs} +22 -15
  25. package/dist/chunk-KX7YG6LY.mjs.map +1 -0
  26. package/dist/{chunk-GPGJNTHP.js → chunk-LI6CPNJI.js} +1 -1
  27. package/dist/{chunk-GPGJNTHP.js.map → chunk-LI6CPNJI.js.map} +1 -1
  28. package/dist/{chunk-5RAUCUAA.mjs → chunk-SXPXC2TY.mjs} +18 -33
  29. package/dist/chunk-SXPXC2TY.mjs.map +1 -0
  30. package/dist/{chunk-2AZLCF6D.js → chunk-UYY34W7R.js} +28 -28
  31. package/dist/{chunk-2AZLCF6D.js.map → chunk-UYY34W7R.js.map} +1 -1
  32. package/dist/chunk-VOXD3ZLY.mjs +26 -0
  33. package/dist/chunk-VOXD3ZLY.mjs.map +1 -0
  34. package/dist/client/index.d.mts +11 -45
  35. package/dist/client/index.d.ts +11 -45
  36. package/dist/client/index.js +9 -7
  37. package/dist/client/index.js.map +1 -1
  38. package/dist/client/index.mjs +11 -9
  39. package/dist/components/index.d.mts +4 -3
  40. package/dist/components/index.d.ts +4 -3
  41. package/dist/components/index.js +7 -6
  42. package/dist/components/index.js.map +1 -1
  43. package/dist/components/index.mjs +6 -5
  44. package/dist/{config-DEaUbBqR.d.ts → config--nwiW74Z.d.ts} +1 -1
  45. package/dist/{config-CWsTwnsK.d.mts → config-BKSQmUWU.d.mts} +1 -1
  46. package/dist/{content.interface-D_4b4RQt.d.ts → content.interface-4VICFRA0.d.ts} +2 -1
  47. package/dist/{content.interface-Dk4UZcJM.d.mts → content.interface-CFc97-Cj.d.mts} +2 -1
  48. package/dist/contexts/index.d.mts +3 -2
  49. package/dist/contexts/index.d.ts +3 -2
  50. package/dist/contexts/index.js +7 -6
  51. package/dist/contexts/index.js.map +1 -1
  52. package/dist/contexts/index.mjs +6 -5
  53. package/dist/core/index.d.mts +11 -8
  54. package/dist/core/index.d.ts +11 -8
  55. package/dist/core/index.js +4 -4
  56. package/dist/core/index.js.map +1 -1
  57. package/dist/core/index.mjs +3 -3
  58. package/dist/index.d.mts +15 -11
  59. package/dist/index.d.ts +15 -11
  60. package/dist/index.js +5 -5
  61. package/dist/index.js.map +1 -1
  62. package/dist/index.mjs +6 -6
  63. package/dist/{notification.interface-BllkURRm.d.ts → notification.interface-BGaPiCUM.d.mts} +2 -40
  64. package/dist/{notification.interface-BllkURRm.d.mts → notification.interface-CqwaOIgM.d.ts} +2 -40
  65. package/dist/{s3.service-BEfGqho0.d.ts → s3.service-BYs88XEE.d.ts} +3 -2
  66. package/dist/{s3.service-DIQRYe93.d.mts → s3.service-C0BjOdvn.d.mts} +3 -2
  67. package/dist/server/index.d.mts +6 -4
  68. package/dist/server/index.d.ts +6 -4
  69. package/dist/server/index.js +13 -13
  70. package/dist/server/index.js.map +1 -1
  71. package/dist/server/index.mjs +3 -3
  72. package/dist/{stripe-subscription.interface-C63L6hVg.d.mts → stripe-subscription.interface-B-TM40Io.d.ts} +1 -1
  73. package/dist/{stripe-subscription.interface-CUvNDvw5.d.ts → stripe-subscription.interface-DDxnpj0F.d.mts} +1 -1
  74. package/dist/testing/index.d.mts +338 -0
  75. package/dist/testing/index.d.ts +338 -0
  76. package/dist/testing/index.js +323 -0
  77. package/dist/testing/index.js.map +1 -0
  78. package/dist/testing/index.mjs +323 -0
  79. package/dist/testing/index.mjs.map +1 -0
  80. package/dist/{useSocket-BpenBR2z.d.mts → useSocket-BNj9PrRw.d.mts} +1 -1
  81. package/dist/{useSocket-D-QYA0Sr.d.ts → useSocket-Dwt8cz1x.d.ts} +1 -1
  82. package/package.json +21 -3
  83. package/src/client/hooks/__tests__/useJsonApiGet.test.tsx +229 -0
  84. package/src/client/hooks/__tests__/useJsonApiMutation.test.tsx +348 -0
  85. package/src/client/hooks/__tests__/useRehydration.test.ts +188 -0
  86. package/src/components/forms/__tests__/FormCheckbox.test.tsx +238 -0
  87. package/src/components/forms/__tests__/FormDate.test.tsx +212 -0
  88. package/src/components/forms/__tests__/FormInput.test.tsx +292 -0
  89. package/src/components/forms/__tests__/FormSelect.test.tsx +173 -0
  90. package/src/components/tables/__tests__/ContentListTable.test.tsx +411 -0
  91. package/src/core/endpoint/__tests__/EndpointCreator.test.ts +168 -0
  92. package/src/core/factories/__tests__/JsonApiDataFactory.test.ts +109 -0
  93. package/src/core/factories/__tests__/RehydrationFactory.test.ts +151 -0
  94. package/src/core/registry/__tests__/DataClassRegistry.test.ts +136 -0
  95. package/src/core/registry/__tests__/ModuleRegistrar.test.ts +159 -0
  96. package/src/features/auth/components/details/LandingComponent.tsx +14 -12
  97. package/src/hooks/__tests__/useDataListRetriever.test.ts +321 -0
  98. package/src/hooks/__tests__/useDebounce.test.ts +170 -0
  99. package/src/index.ts +4 -1
  100. package/src/login/config.ts +27 -0
  101. package/src/login/index.ts +2 -0
  102. package/src/testing/factories/createMockApiData.ts +143 -0
  103. package/src/testing/factories/createMockModule.ts +32 -0
  104. package/src/testing/factories/createMockResponse.ts +93 -0
  105. package/src/testing/factories/createMockService.ts +79 -0
  106. package/src/testing/index.ts +70 -0
  107. package/src/testing/matchers/jsonApiMatchers.ts +174 -0
  108. package/src/testing/providers/MockJsonApiProvider.tsx +58 -0
  109. package/src/testing/utils/renderWithProviders.tsx +76 -0
  110. package/src/utils/__tests__/date-formatter.test.ts +161 -0
  111. package/src/utils/__tests__/exists.test.ts +100 -0
  112. package/src/utils/cn.test.ts +44 -0
  113. package/dist/BlockNoteEditor-MBFDWP7X.js.map +0 -1
  114. package/dist/JsonApiRequest-45CLE65I.js +0 -24
  115. package/dist/chunk-5RAUCUAA.mjs.map +0 -1
  116. package/dist/chunk-ONB2DAIV.js.map +0 -1
  117. package/dist/chunk-POKIJ56Q.mjs.map +0 -1
  118. package/dist/chunk-R5QSSISB.js.map +0 -1
  119. package/src/discord/config.ts +0 -15
  120. package/src/discord/index.ts +0 -1
  121. /package/dist/{JsonApiRequest-6IPS3DZJ.mjs.map → JsonApiRequest-XWQWTFEQ.mjs.map} +0 -0
  122. /package/dist/{chunk-BCKYJQ3K.mjs.map → chunk-3VM3WAOV.mjs.map} +0 -0
  123. /package/dist/{chunk-BCQSE3EU.mjs.map → chunk-KUFWHMMY.mjs.map} +0 -0
@@ -18,12 +18,13 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkONB2DAIVjs = require('../chunk-ONB2DAIV.js');
22
- require('../chunk-R5QSSISB.js');
23
- require('../chunk-2AZLCF6D.js');
24
- require('../chunk-IBS6NI7D.js');
25
- require('../chunk-GPGJNTHP.js');
21
+ var _chunkD7H7SRWBjs = require('../chunk-D7H7SRWB.js');
22
+ require('../chunk-7DTKRMYW.js');
23
+ require('../chunk-UYY34W7R.js');
26
24
  require('../chunk-LXKSUWAV.js');
25
+ require('../chunk-IBS6NI7D.js');
26
+ require('../chunk-LI6CPNJI.js');
27
+ require('../chunk-3EPNHTMH.js');
27
28
  require('../chunk-7QVYU63E.js');
28
29
 
29
30
 
@@ -44,5 +45,5 @@ require('../chunk-7QVYU63E.js');
44
45
 
45
46
 
46
47
 
47
- exports.CommonProvider = _chunkONB2DAIVjs.CommonProvider; exports.CompanyProvider = _chunkONB2DAIVjs.CompanyProvider; exports.CurrentUserProvider = _chunkONB2DAIVjs.CurrentUserProvider; exports.NotificationContextProvider = _chunkONB2DAIVjs.NotificationContextProvider; exports.RoleProvider = _chunkONB2DAIVjs.RoleProvider; exports.SharedProvider = _chunkONB2DAIVjs.SharedProvider; exports.SocketContext = _chunkONB2DAIVjs.SocketContext; exports.SocketProvider = _chunkONB2DAIVjs.SocketProvider; exports.UserProvider = _chunkONB2DAIVjs.UserProvider; exports.recentPagesAtom = _chunkONB2DAIVjs.recentPagesAtom; exports.useCommonContext = _chunkONB2DAIVjs.useCommonContext; exports.useCompanyContext = _chunkONB2DAIVjs.useCompanyContext; exports.useCurrentUserContext = _chunkONB2DAIVjs.useCurrentUserContext; exports.useNotificationContext = _chunkONB2DAIVjs.useNotificationContext; exports.useRoleContext = _chunkONB2DAIVjs.useRoleContext; exports.useSharedContext = _chunkONB2DAIVjs.useSharedContext; exports.useSocketContext = _chunkONB2DAIVjs.useSocketContext; exports.useUserContext = _chunkONB2DAIVjs.useUserContext;
48
+ exports.CommonProvider = _chunkD7H7SRWBjs.CommonProvider; exports.CompanyProvider = _chunkD7H7SRWBjs.CompanyProvider; exports.CurrentUserProvider = _chunkD7H7SRWBjs.CurrentUserProvider; exports.NotificationContextProvider = _chunkD7H7SRWBjs.NotificationContextProvider; exports.RoleProvider = _chunkD7H7SRWBjs.RoleProvider; exports.SharedProvider = _chunkD7H7SRWBjs.SharedProvider; exports.SocketContext = _chunkD7H7SRWBjs.SocketContext; exports.SocketProvider = _chunkD7H7SRWBjs.SocketProvider; exports.UserProvider = _chunkD7H7SRWBjs.UserProvider; exports.recentPagesAtom = _chunkD7H7SRWBjs.recentPagesAtom; exports.useCommonContext = _chunkD7H7SRWBjs.useCommonContext; exports.useCompanyContext = _chunkD7H7SRWBjs.useCompanyContext; exports.useCurrentUserContext = _chunkD7H7SRWBjs.useCurrentUserContext; exports.useNotificationContext = _chunkD7H7SRWBjs.useNotificationContext; exports.useRoleContext = _chunkD7H7SRWBjs.useRoleContext; exports.useSharedContext = _chunkD7H7SRWBjs.useSharedContext; exports.useSocketContext = _chunkD7H7SRWBjs.useSocketContext; exports.useUserContext = _chunkD7H7SRWBjs.useUserContext;
48
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,imCAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,imCAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/contexts/index.js"}
@@ -18,12 +18,13 @@ import {
18
18
  useSharedContext,
19
19
  useSocketContext,
20
20
  useUserContext
21
- } from "../chunk-5RAUCUAA.mjs";
22
- import "../chunk-POKIJ56Q.mjs";
23
- import "../chunk-BCQSE3EU.mjs";
24
- import "../chunk-C7C7VY4F.mjs";
25
- import "../chunk-BCKYJQ3K.mjs";
21
+ } from "../chunk-SXPXC2TY.mjs";
22
+ import "../chunk-KX7YG6LY.mjs";
23
+ import "../chunk-KUFWHMMY.mjs";
26
24
  import "../chunk-AUXK7QSA.mjs";
25
+ import "../chunk-C7C7VY4F.mjs";
26
+ import "../chunk-3VM3WAOV.mjs";
27
+ import "../chunk-VOXD3ZLY.mjs";
27
28
  import "../chunk-PAWJFY3S.mjs";
28
29
  export {
29
30
  CommonProvider,
@@ -1,8 +1,11 @@
1
- import { A as ApiData, a as ApiResponseInterface } from '../ApiResponseInterface-CAbw0sv7.mjs';
2
- import { A as ApiDataInterface, J as JsonApiHydratedDataInterface, a as ApiRequestDataTypeInterface, M as ModuleWithPermissions, F as FieldSelector, i as PermissionUser, b as Action, h as PermissionModule, j as ModuleFactory, m as ModuleInterface, l as FeatureInterface, o as RoleInterface, R as RoleInput, k as CompanyInterface, C as CompanyInput, U as UserInterface, p as UserInput, N as NotificationInterface, n as NotificationInput } from '../notification.interface-BllkURRm.mjs';
3
- export { G as GetterKeys, f as ModuleDefinition, e as ModulePermissionDefinition, d as PageUrl, P as PermissionCheck, g as PermissionConfig, c as createJsonApiInclusion } from '../notification.interface-BllkURRm.mjs';
4
- import { c as AuthInterface, a as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, j as S3Interface, i as S3Input } from '../s3.service-DIQRYe93.mjs';
5
- export { b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, f as NotificationService, h as PushService, R as RoleService, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from '../s3.service-DIQRYe93.mjs';
1
+ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
+ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface, a as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-DIEOFn9s.mjs';
3
+ export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-DIEOFn9s.mjs';
4
+ import { A as ApiResponseInterface } from '../ApiResponseInterface-Dqvu09tz.mjs';
5
+ import { c as AuthInterface, a as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, j as S3Interface, i as S3Input } from '../s3.service-C0BjOdvn.mjs';
6
+ export { b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, f as NotificationService, h as PushService, R as RoleService, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from '../s3.service-C0BjOdvn.mjs';
7
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory, i as ModuleInterface, F as FeatureInterface, k as RoleInterface, R as RoleInput, h as CompanyInterface, C as CompanyInput, U as UserInterface, l as UserInput, N as NotificationInterface, j as NotificationInput } from '../notification.interface-BGaPiCUM.mjs';
8
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, a as PageUrl, P as PermissionCheck, d as PermissionConfig } from '../notification.interface-BGaPiCUM.mjs';
6
9
  export { B as BreadcrumbItemData } from '../breadcrumb.item.data.interface-CgB4_1EE.mjs';
7
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-Ck5lkQ5d.mjs';
8
11
  import { ClassValue } from 'clsx';
@@ -12,9 +15,9 @@ import { ReactElement, ReactNode } from 'react';
12
15
  import { z } from 'zod';
13
16
  import { PartialBlock } from '@blocknote/core';
14
17
  import { LucideIcon } from 'lucide-react';
15
- 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-C63L6hVg.mjs';
16
- export { A as AuthComponent, c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-subscription.interface-C63L6hVg.mjs';
17
- import { a as ContentInterface, C as ContentInput } from '../content.interface-Dk4UZcJM.mjs';
18
+ 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-DDxnpj0F.mjs';
19
+ export { A as AuthComponent, c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-subscription.interface-DDxnpj0F.mjs';
20
+ import { a as ContentInterface, C as ContentInput } from '../content.interface-CFc97-Cj.mjs';
18
21
  import 'd3';
19
22
 
20
23
  declare abstract class AbstractApiData implements ApiDataInterface {
@@ -1,8 +1,11 @@
1
- import { A as ApiData, a as ApiResponseInterface } from '../ApiResponseInterface-BvWIeLkq.js';
2
- import { A as ApiDataInterface, J as JsonApiHydratedDataInterface, a as ApiRequestDataTypeInterface, M as ModuleWithPermissions, F as FieldSelector, i as PermissionUser, b as Action, h as PermissionModule, j as ModuleFactory, m as ModuleInterface, l as FeatureInterface, o as RoleInterface, R as RoleInput, k as CompanyInterface, C as CompanyInput, U as UserInterface, p as UserInput, N as NotificationInterface, n as NotificationInput } from '../notification.interface-BllkURRm.js';
3
- export { G as GetterKeys, f as ModuleDefinition, e as ModulePermissionDefinition, d as PageUrl, P as PermissionCheck, g as PermissionConfig, c as createJsonApiInclusion } from '../notification.interface-BllkURRm.js';
4
- import { c as AuthInterface, a as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, j as S3Interface, i as S3Input } from '../s3.service-BEfGqho0.js';
5
- export { b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, f as NotificationService, h as PushService, R as RoleService, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from '../s3.service-BEfGqho0.js';
1
+ import { A as ApiData } from '../ApiData-DPKNfY-9.js';
2
+ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface, a as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-DIEOFn9s.js';
3
+ export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-DIEOFn9s.js';
4
+ import { A as ApiResponseInterface } from '../ApiResponseInterface-BKyod24U.js';
5
+ import { c as AuthInterface, a as AuthInput, A as AbstractService, N as NextRef, P as PreviousRef, j as S3Interface, i as S3Input } from '../s3.service-BYs88XEE.js';
6
+ export { b as AuthQuery, d as AuthService, C as CompanyService, e as ContentService, F as FeatureService, H as HttpMethod, f as NotificationService, h as PushService, R as RoleService, k as S3Service, S as SelfRef, U as UserService, g as getGlobalErrorHandler, s as setGlobalErrorHandler } from '../s3.service-BYs88XEE.js';
7
+ import { M as ModuleWithPermissions, f as PermissionUser, A as Action, e as PermissionModule, g as ModuleFactory, i as ModuleInterface, F as FeatureInterface, k as RoleInterface, R as RoleInput, h as CompanyInterface, C as CompanyInput, U as UserInterface, l as UserInput, N as NotificationInterface, j as NotificationInput } from '../notification.interface-CqwaOIgM.js';
8
+ export { c as ModuleDefinition, b as ModulePermissionDefinition, a as PageUrl, P as PermissionCheck, d as PermissionConfig } from '../notification.interface-CqwaOIgM.js';
6
9
  export { B as BreadcrumbItemData } from '../breadcrumb.item.data.interface-CgB4_1EE.js';
7
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-Ck5lkQ5d.js';
8
11
  import { ClassValue } from 'clsx';
@@ -12,9 +15,9 @@ import { ReactElement, ReactNode } from 'react';
12
15
  import { z } from 'zod';
13
16
  import { PartialBlock } from '@blocknote/core';
14
17
  import { LucideIcon } from 'lucide-react';
15
- 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-CUvNDvw5.js';
16
- export { A as AuthComponent, c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-subscription.interface-CUvNDvw5.js';
17
- import { a as ContentInterface, C as ContentInput } from '../content.interface-D_4b4RQt.js';
18
+ 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-B-TM40Io.js';
19
+ export { A as AuthComponent, c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-subscription.interface-B-TM40Io.js';
20
+ import { a as ContentInterface, C as ContentInput } from '../content.interface-4VICFRA0.js';
18
21
  import 'd3';
19
22
 
20
23
  declare abstract class AbstractApiData implements ApiDataInterface {
@@ -100,7 +100,8 @@
100
100
 
101
101
 
102
102
 
103
- var _chunk2AZLCF6Djs = require('../chunk-2AZLCF6D.js');
103
+ var _chunkUYY34W7Rjs = require('../chunk-UYY34W7R.js');
104
+ require('../chunk-LXKSUWAV.js');
104
105
  require('../chunk-IBS6NI7D.js');
105
106
 
106
107
 
@@ -112,8 +113,7 @@ require('../chunk-IBS6NI7D.js');
112
113
 
113
114
 
114
115
 
115
- var _chunkGPGJNTHPjs = require('../chunk-GPGJNTHP.js');
116
- require('../chunk-LXKSUWAV.js');
116
+ var _chunkLI6CPNJIjs = require('../chunk-LI6CPNJI.js');
117
117
  require('../chunk-7QVYU63E.js');
118
118
 
119
119
 
@@ -227,5 +227,5 @@ require('../chunk-7QVYU63E.js');
227
227
 
228
228
 
229
229
 
230
- exports.AbstractApiData = _chunk2AZLCF6Djs.AbstractApiData; exports.AbstractService = _chunk2AZLCF6Djs.AbstractService; exports.Action = _chunk2AZLCF6Djs.Action; exports.Auth = _chunk2AZLCF6Djs.Auth; exports.AuthComponent = _chunk2AZLCF6Djs.AuthComponent; exports.AuthModule = _chunk2AZLCF6Djs.AuthModule; exports.AuthService = _chunk2AZLCF6Djs.AuthService; exports.AuthorModule = _chunk2AZLCF6Djs.AuthorModule; exports.Billing = _chunk2AZLCF6Djs.Billing; exports.BillingModule = _chunk2AZLCF6Djs.BillingModule; exports.BillingService = _chunk2AZLCF6Djs.BillingService; exports.BlockNoteDiffUtil = _chunk2AZLCF6Djs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk2AZLCF6Djs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunk2AZLCF6Djs.ClientAbstractService; exports.ClientHttpMethod = _chunk2AZLCF6Djs.ClientHttpMethod; exports.Company = _chunk2AZLCF6Djs.Company; exports.CompanyFields = _chunk2AZLCF6Djs.CompanyFields; exports.CompanyModule = _chunk2AZLCF6Djs.CompanyModule; exports.CompanyService = _chunk2AZLCF6Djs.CompanyService; exports.Content = _chunk2AZLCF6Djs.Content; exports.ContentFields = _chunk2AZLCF6Djs.ContentFields; exports.ContentModule = _chunk2AZLCF6Djs.ContentModule; exports.ContentService = _chunk2AZLCF6Djs.ContentService; exports.DataClass = _chunkGPGJNTHPjs.DataClassRegistry; exports.DataClassRegistry = _chunkGPGJNTHPjs.DataClassRegistry; exports.EndpointCreator = _chunk2AZLCF6Djs.EndpointCreator; exports.Feature = _chunk2AZLCF6Djs.Feature; exports.FeatureModule = _chunk2AZLCF6Djs.FeatureModule; exports.FeatureService = _chunk2AZLCF6Djs.FeatureService; exports.HttpMethod = _chunk2AZLCF6Djs.HttpMethod; exports.InvoiceStatus = _chunk2AZLCF6Djs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGPGJNTHPjs.JsonApiDataFactory; exports.Module = _chunk2AZLCF6Djs.Module; exports.ModuleModule = _chunk2AZLCF6Djs.ModuleModule; exports.ModuleRegistrar = _chunk2AZLCF6Djs.ModuleRegistrar; exports.ModuleRegistry = _chunk2AZLCF6Djs.ModuleRegistry; exports.Modules = _chunk2AZLCF6Djs.Modules; exports.Notification = _chunk2AZLCF6Djs.Notification; exports.NotificationFields = _chunk2AZLCF6Djs.NotificationFields; exports.NotificationModule = _chunk2AZLCF6Djs.NotificationModule; exports.NotificationService = _chunk2AZLCF6Djs.NotificationService; exports.PaymentMethod = _chunk2AZLCF6Djs.PaymentMethod; exports.Push = _chunk2AZLCF6Djs.Push; exports.PushModule = _chunk2AZLCF6Djs.PushModule; exports.PushService = _chunk2AZLCF6Djs.PushService; exports.RehydrationFactory = _chunk2AZLCF6Djs.RehydrationFactory; exports.Role = _chunk2AZLCF6Djs.Role; exports.RoleFields = _chunk2AZLCF6Djs.RoleFields; exports.RoleModule = _chunk2AZLCF6Djs.RoleModule; exports.RoleService = _chunk2AZLCF6Djs.RoleService; exports.S3 = _chunk2AZLCF6Djs.S3; exports.S3Module = _chunk2AZLCF6Djs.S3Module; exports.S3Service = _chunk2AZLCF6Djs.S3Service; exports.StripeCustomer = _chunk2AZLCF6Djs.StripeCustomer; exports.StripeCustomerModule = _chunk2AZLCF6Djs.StripeCustomerModule; exports.StripeCustomerService = _chunk2AZLCF6Djs.StripeCustomerService; exports.StripeInvoice = _chunk2AZLCF6Djs.StripeInvoice; exports.StripeInvoiceModule = _chunk2AZLCF6Djs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk2AZLCF6Djs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk2AZLCF6Djs.StripePaymentMethodModule; exports.StripePrice = _chunk2AZLCF6Djs.StripePrice; exports.StripePriceModule = _chunk2AZLCF6Djs.StripePriceModule; exports.StripePriceService = _chunk2AZLCF6Djs.StripePriceService; exports.StripeProduct = _chunk2AZLCF6Djs.StripeProduct; exports.StripeProductModule = _chunk2AZLCF6Djs.StripeProductModule; exports.StripeProductService = _chunk2AZLCF6Djs.StripeProductService; exports.StripeSubscription = _chunk2AZLCF6Djs.StripeSubscription; exports.StripeSubscriptionModule = _chunk2AZLCF6Djs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk2AZLCF6Djs.StripeSubscriptionService; exports.StripeUsage = _chunk2AZLCF6Djs.StripeUsage; exports.StripeUsageModule = _chunk2AZLCF6Djs.StripeUsageModule; exports.StripeUsageService = _chunk2AZLCF6Djs.StripeUsageService; exports.SubscriptionStatus = _chunk2AZLCF6Djs.SubscriptionStatus; exports.TableOptions = _chunk2AZLCF6Djs.TableOptions; exports.User = _chunk2AZLCF6Djs.User; exports.UserFields = _chunk2AZLCF6Djs.UserFields; exports.UserModule = _chunk2AZLCF6Djs.UserModule; exports.UserService = _chunk2AZLCF6Djs.UserService; exports.checkPermissions = _chunk2AZLCF6Djs.checkPermissions; exports.checkPermissionsFromServer = _chunk2AZLCF6Djs.checkPermissionsFromServer; exports.cn = _chunk2AZLCF6Djs.cn; exports.composeRefs = _chunk2AZLCF6Djs.composeRefs; exports.createJsonApiInclusion = _chunk2AZLCF6Djs.createJsonApiInclusion; exports.entityObjectSchema = _chunk2AZLCF6Djs.entityObjectSchema; exports.exists = _chunk2AZLCF6Djs.exists; exports.formatDate = _chunk2AZLCF6Djs.formatDate; exports.getBootstrapper = _chunkGPGJNTHPjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk2AZLCF6Djs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk2AZLCF6Djs.getGlobalErrorHandler; exports.getIcon = _chunk2AZLCF6Djs.getIcon; exports.getIconByModule = _chunk2AZLCF6Djs.getIconByModule; exports.getIconByModuleName = _chunk2AZLCF6Djs.getIconByModuleName; exports.getLucideIcon = _chunk2AZLCF6Djs.getLucideIcon; exports.getLucideIconByModule = _chunk2AZLCF6Djs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk2AZLCF6Djs.getLucideIconByModuleName; exports.getTableComponents = _chunk2AZLCF6Djs.getTableComponents; exports.getTableOptions = _chunk2AZLCF6Djs.getTableOptions; exports.getValueFromPath = _chunk2AZLCF6Djs.getValueFromPath; exports.hasBootstrapper = _chunkGPGJNTHPjs.hasBootstrapper; exports.rehydrate = _chunk2AZLCF6Djs.rehydrate; exports.rehydrateList = _chunk2AZLCF6Djs.rehydrateList; exports.resetBootstrapStore = _chunkGPGJNTHPjs.resetBootstrapStore; exports.setBootstrapper = _chunkGPGJNTHPjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk2AZLCF6Djs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk2AZLCF6Djs.setGlobalErrorHandler; exports.translateData = _chunkGPGJNTHPjs.translateData; exports.translateResponse = _chunkGPGJNTHPjs.translateResponse; exports.tryBootstrap = _chunkGPGJNTHPjs.tryBootstrap; exports.useComposedRefs = _chunk2AZLCF6Djs.useComposedRefs; exports.useIsMobile = _chunk2AZLCF6Djs.useIsMobile; exports.userObjectSchema = _chunk2AZLCF6Djs.userObjectSchema;
230
+ exports.AbstractApiData = _chunkUYY34W7Rjs.AbstractApiData; exports.AbstractService = _chunkUYY34W7Rjs.AbstractService; exports.Action = _chunkUYY34W7Rjs.Action; exports.Auth = _chunkUYY34W7Rjs.Auth; exports.AuthComponent = _chunkUYY34W7Rjs.AuthComponent; exports.AuthModule = _chunkUYY34W7Rjs.AuthModule; exports.AuthService = _chunkUYY34W7Rjs.AuthService; exports.AuthorModule = _chunkUYY34W7Rjs.AuthorModule; exports.Billing = _chunkUYY34W7Rjs.Billing; exports.BillingModule = _chunkUYY34W7Rjs.BillingModule; exports.BillingService = _chunkUYY34W7Rjs.BillingService; exports.BlockNoteDiffUtil = _chunkUYY34W7Rjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkUYY34W7Rjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkUYY34W7Rjs.ClientAbstractService; exports.ClientHttpMethod = _chunkUYY34W7Rjs.ClientHttpMethod; exports.Company = _chunkUYY34W7Rjs.Company; exports.CompanyFields = _chunkUYY34W7Rjs.CompanyFields; exports.CompanyModule = _chunkUYY34W7Rjs.CompanyModule; exports.CompanyService = _chunkUYY34W7Rjs.CompanyService; exports.Content = _chunkUYY34W7Rjs.Content; exports.ContentFields = _chunkUYY34W7Rjs.ContentFields; exports.ContentModule = _chunkUYY34W7Rjs.ContentModule; exports.ContentService = _chunkUYY34W7Rjs.ContentService; exports.DataClass = _chunkLI6CPNJIjs.DataClassRegistry; exports.DataClassRegistry = _chunkLI6CPNJIjs.DataClassRegistry; exports.EndpointCreator = _chunkUYY34W7Rjs.EndpointCreator; exports.Feature = _chunkUYY34W7Rjs.Feature; exports.FeatureModule = _chunkUYY34W7Rjs.FeatureModule; exports.FeatureService = _chunkUYY34W7Rjs.FeatureService; exports.HttpMethod = _chunkUYY34W7Rjs.HttpMethod; exports.InvoiceStatus = _chunkUYY34W7Rjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLI6CPNJIjs.JsonApiDataFactory; exports.Module = _chunkUYY34W7Rjs.Module; exports.ModuleModule = _chunkUYY34W7Rjs.ModuleModule; exports.ModuleRegistrar = _chunkUYY34W7Rjs.ModuleRegistrar; exports.ModuleRegistry = _chunkUYY34W7Rjs.ModuleRegistry; exports.Modules = _chunkUYY34W7Rjs.Modules; exports.Notification = _chunkUYY34W7Rjs.Notification; exports.NotificationFields = _chunkUYY34W7Rjs.NotificationFields; exports.NotificationModule = _chunkUYY34W7Rjs.NotificationModule; exports.NotificationService = _chunkUYY34W7Rjs.NotificationService; exports.PaymentMethod = _chunkUYY34W7Rjs.PaymentMethod; exports.Push = _chunkUYY34W7Rjs.Push; exports.PushModule = _chunkUYY34W7Rjs.PushModule; exports.PushService = _chunkUYY34W7Rjs.PushService; exports.RehydrationFactory = _chunkUYY34W7Rjs.RehydrationFactory; exports.Role = _chunkUYY34W7Rjs.Role; exports.RoleFields = _chunkUYY34W7Rjs.RoleFields; exports.RoleModule = _chunkUYY34W7Rjs.RoleModule; exports.RoleService = _chunkUYY34W7Rjs.RoleService; exports.S3 = _chunkUYY34W7Rjs.S3; exports.S3Module = _chunkUYY34W7Rjs.S3Module; exports.S3Service = _chunkUYY34W7Rjs.S3Service; exports.StripeCustomer = _chunkUYY34W7Rjs.StripeCustomer; exports.StripeCustomerModule = _chunkUYY34W7Rjs.StripeCustomerModule; exports.StripeCustomerService = _chunkUYY34W7Rjs.StripeCustomerService; exports.StripeInvoice = _chunkUYY34W7Rjs.StripeInvoice; exports.StripeInvoiceModule = _chunkUYY34W7Rjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkUYY34W7Rjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkUYY34W7Rjs.StripePaymentMethodModule; exports.StripePrice = _chunkUYY34W7Rjs.StripePrice; exports.StripePriceModule = _chunkUYY34W7Rjs.StripePriceModule; exports.StripePriceService = _chunkUYY34W7Rjs.StripePriceService; exports.StripeProduct = _chunkUYY34W7Rjs.StripeProduct; exports.StripeProductModule = _chunkUYY34W7Rjs.StripeProductModule; exports.StripeProductService = _chunkUYY34W7Rjs.StripeProductService; exports.StripeSubscription = _chunkUYY34W7Rjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkUYY34W7Rjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkUYY34W7Rjs.StripeSubscriptionService; exports.StripeUsage = _chunkUYY34W7Rjs.StripeUsage; exports.StripeUsageModule = _chunkUYY34W7Rjs.StripeUsageModule; exports.StripeUsageService = _chunkUYY34W7Rjs.StripeUsageService; exports.SubscriptionStatus = _chunkUYY34W7Rjs.SubscriptionStatus; exports.TableOptions = _chunkUYY34W7Rjs.TableOptions; exports.User = _chunkUYY34W7Rjs.User; exports.UserFields = _chunkUYY34W7Rjs.UserFields; exports.UserModule = _chunkUYY34W7Rjs.UserModule; exports.UserService = _chunkUYY34W7Rjs.UserService; exports.checkPermissions = _chunkUYY34W7Rjs.checkPermissions; exports.checkPermissionsFromServer = _chunkUYY34W7Rjs.checkPermissionsFromServer; exports.cn = _chunkUYY34W7Rjs.cn; exports.composeRefs = _chunkUYY34W7Rjs.composeRefs; exports.createJsonApiInclusion = _chunkUYY34W7Rjs.createJsonApiInclusion; exports.entityObjectSchema = _chunkUYY34W7Rjs.entityObjectSchema; exports.exists = _chunkUYY34W7Rjs.exists; exports.formatDate = _chunkUYY34W7Rjs.formatDate; exports.getBootstrapper = _chunkLI6CPNJIjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkUYY34W7Rjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkUYY34W7Rjs.getGlobalErrorHandler; exports.getIcon = _chunkUYY34W7Rjs.getIcon; exports.getIconByModule = _chunkUYY34W7Rjs.getIconByModule; exports.getIconByModuleName = _chunkUYY34W7Rjs.getIconByModuleName; exports.getLucideIcon = _chunkUYY34W7Rjs.getLucideIcon; exports.getLucideIconByModule = _chunkUYY34W7Rjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkUYY34W7Rjs.getLucideIconByModuleName; exports.getTableComponents = _chunkUYY34W7Rjs.getTableComponents; exports.getTableOptions = _chunkUYY34W7Rjs.getTableOptions; exports.getValueFromPath = _chunkUYY34W7Rjs.getValueFromPath; exports.hasBootstrapper = _chunkLI6CPNJIjs.hasBootstrapper; exports.rehydrate = _chunkUYY34W7Rjs.rehydrate; exports.rehydrateList = _chunkUYY34W7Rjs.rehydrateList; exports.resetBootstrapStore = _chunkLI6CPNJIjs.resetBootstrapStore; exports.setBootstrapper = _chunkLI6CPNJIjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkUYY34W7Rjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkUYY34W7Rjs.setGlobalErrorHandler; exports.translateData = _chunkLI6CPNJIjs.translateData; exports.translateResponse = _chunkLI6CPNJIjs.translateResponse; exports.tryBootstrap = _chunkLI6CPNJIjs.tryBootstrap; exports.useComposedRefs = _chunkUYY34W7Rjs.useComposedRefs; exports.useIsMobile = _chunkUYY34W7Rjs.useIsMobile; exports.userObjectSchema = _chunkUYY34W7Rjs.userObjectSchema;
231
231
  //# 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;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;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;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"}
@@ -100,7 +100,8 @@ import {
100
100
  useComposedRefs,
101
101
  useIsMobile,
102
102
  userObjectSchema
103
- } from "../chunk-BCQSE3EU.mjs";
103
+ } from "../chunk-KUFWHMMY.mjs";
104
+ import "../chunk-AUXK7QSA.mjs";
104
105
  import "../chunk-C7C7VY4F.mjs";
105
106
  import {
106
107
  DataClassRegistry,
@@ -112,8 +113,7 @@ import {
112
113
  translateData,
113
114
  translateResponse,
114
115
  tryBootstrap
115
- } from "../chunk-BCKYJQ3K.mjs";
116
- import "../chunk-AUXK7QSA.mjs";
116
+ } from "../chunk-3VM3WAOV.mjs";
117
117
  import "../chunk-PAWJFY3S.mjs";
118
118
  export {
119
119
  AbstractApiData,
package/dist/index.d.mts CHANGED
@@ -1,23 +1,27 @@
1
- export { A as ApiData, a as ApiResponseInterface } from './ApiResponseInterface-CAbw0sv7.mjs';
2
- export { b as Action, A as ApiDataInterface, a as ApiRequestDataTypeInterface, C as CompanyInput, k as CompanyInterface, l as FeatureInterface, F as FieldSelector, G as GetterKeys, J as JsonApiHydratedDataInterface, f as ModuleDefinition, j as ModuleFactory, m as ModuleInterface, e as ModulePermissionDefinition, M as ModuleWithPermissions, n as NotificationInput, N as NotificationInterface, d as PageUrl, P as PermissionCheck, g as PermissionConfig, h as PermissionModule, i as PermissionUser, R as RoleInput, o as RoleInterface, p as UserInput, U as UserInterface, c as createJsonApiInclusion } from './notification.interface-BllkURRm.mjs';
1
+ export { A as ApiData } from './ApiData-DPKNfY-9.mjs';
2
+ export { A as ApiDataInterface, a as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, J as JsonApiHydratedDataInterface, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-DIEOFn9s.mjs';
3
+ export { A as ApiResponseInterface } from './ApiResponseInterface-Dqvu09tz.mjs';
3
4
  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';
4
- 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-DIQRYe93.mjs';
5
+ 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-C0BjOdvn.mjs';
5
6
  export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.mjs';
6
7
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.mjs';
7
8
  export { ClassValue } from 'clsx';
8
- export { A as AuthComponent, 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-C63L6hVg.mjs';
9
- export { C as ContentInput, a as ContentInterface } from './content.interface-Dk4UZcJM.mjs';
10
- export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-CWsTwnsK.mjs';
11
- import 'lucide-react';
9
+ export { A as Action, C as CompanyInput, h as CompanyInterface, F as FeatureInterface, c as ModuleDefinition, g as ModuleFactory, i as ModuleInterface, b as ModulePermissionDefinition, M as ModuleWithPermissions, j as NotificationInput, N as NotificationInterface, a as PageUrl, P as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser, R as RoleInput, k as RoleInterface, l as UserInput, U as UserInterface } from './notification.interface-BGaPiCUM.mjs';
10
+ export { A as AuthComponent, 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-DDxnpj0F.mjs';
11
+ export { C as ContentInput, a as ContentInterface } from './content.interface-CFc97-Cj.mjs';
12
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-BKSQmUWU.mjs';
12
13
  import 'react';
13
14
  import 'zod';
14
15
  import '@blocknote/core';
16
+ import 'lucide-react';
15
17
  import 'd3';
16
18
 
17
- declare function configureDiscord(params: {
18
- useDiscord: boolean;
19
+ interface LoginConfig {
20
+ useDiscordAuth: boolean;
19
21
  useInternalAuth: boolean;
20
- }): void;
22
+ allowRegistration?: boolean;
23
+ }
24
+ declare function configureLogin(params: LoginConfig): void;
21
25
 
22
26
  /**
23
27
  * Role ID configuration interface
@@ -99,4 +103,4 @@ declare function configureAuth(handler: TokenHandler): void;
99
103
  */
100
104
  declare function getTokenHandler(): TokenHandler | null;
101
105
 
102
- export { type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureDiscord, configureRoles, getRoleId, getTokenHandler, isRolesConfigured };
106
+ export { type LoginConfig, type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureRoles, getRoleId, getTokenHandler, isRolesConfigured };
package/dist/index.d.ts CHANGED
@@ -1,23 +1,27 @@
1
- export { A as ApiData, a as ApiResponseInterface } from './ApiResponseInterface-BvWIeLkq.js';
2
- export { b as Action, A as ApiDataInterface, a as ApiRequestDataTypeInterface, C as CompanyInput, k as CompanyInterface, l as FeatureInterface, F as FieldSelector, G as GetterKeys, J as JsonApiHydratedDataInterface, f as ModuleDefinition, j as ModuleFactory, m as ModuleInterface, e as ModulePermissionDefinition, M as ModuleWithPermissions, n as NotificationInput, N as NotificationInterface, d as PageUrl, P as PermissionCheck, g as PermissionConfig, h as PermissionModule, i as PermissionUser, R as RoleInput, o as RoleInterface, p as UserInput, U as UserInterface, c as createJsonApiInclusion } from './notification.interface-BllkURRm.js';
1
+ export { A as ApiData } from './ApiData-DPKNfY-9.js';
2
+ export { A as ApiDataInterface, a as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, J as JsonApiHydratedDataInterface, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-DIEOFn9s.js';
3
+ export { A as ApiResponseInterface } from './ApiResponseInterface-BKyod24U.js';
3
4
  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';
4
- 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-BEfGqho0.js';
5
+ 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-BYs88XEE.js';
5
6
  export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.js';
6
7
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.js';
7
8
  export { ClassValue } from 'clsx';
8
- export { A as AuthComponent, 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-CUvNDvw5.js';
9
- export { C as ContentInput, a as ContentInterface } from './content.interface-D_4b4RQt.js';
10
- export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-DEaUbBqR.js';
11
- import 'lucide-react';
9
+ export { A as Action, C as CompanyInput, h as CompanyInterface, F as FeatureInterface, c as ModuleDefinition, g as ModuleFactory, i as ModuleInterface, b as ModulePermissionDefinition, M as ModuleWithPermissions, j as NotificationInput, N as NotificationInterface, a as PageUrl, P as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser, R as RoleInput, k as RoleInterface, l as UserInput, U as UserInterface } from './notification.interface-CqwaOIgM.js';
10
+ export { A as AuthComponent, 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-B-TM40Io.js';
11
+ export { C as ContentInput, a as ContentInterface } from './content.interface-4VICFRA0.js';
12
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config--nwiW74Z.js';
12
13
  import 'react';
13
14
  import 'zod';
14
15
  import '@blocknote/core';
16
+ import 'lucide-react';
15
17
  import 'd3';
16
18
 
17
- declare function configureDiscord(params: {
18
- useDiscord: boolean;
19
+ interface LoginConfig {
20
+ useDiscordAuth: boolean;
19
21
  useInternalAuth: boolean;
20
- }): void;
22
+ allowRegistration?: boolean;
23
+ }
24
+ declare function configureLogin(params: LoginConfig): void;
21
25
 
22
26
  /**
23
27
  * Role ID configuration interface
@@ -99,4 +103,4 @@ declare function configureAuth(handler: TokenHandler): void;
99
103
  */
100
104
  declare function getTokenHandler(): TokenHandler | null;
101
105
 
102
- export { type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureDiscord, configureRoles, getRoleId, getTokenHandler, isRolesConfigured };
106
+ export { type LoginConfig, type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureRoles, getRoleId, getTokenHandler, isRolesConfigured };
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkR5QSSISBjs = require('./chunk-R5QSSISB.js');
12
+ var _chunk7DTKRMYWjs = require('./chunk-7DTKRMYW.js');
13
13
 
14
14
 
15
15
 
@@ -114,7 +114,8 @@ var _chunkR5QSSISBjs = require('./chunk-R5QSSISB.js');
114
114
 
115
115
 
116
116
 
117
- var _chunk2AZLCF6Djs = require('./chunk-2AZLCF6D.js');
117
+ var _chunkUYY34W7Rjs = require('./chunk-UYY34W7R.js');
118
+ require('./chunk-LXKSUWAV.js');
118
119
  require('./chunk-IBS6NI7D.js');
119
120
 
120
121
 
@@ -126,8 +127,7 @@ require('./chunk-IBS6NI7D.js');
126
127
 
127
128
 
128
129
 
129
- var _chunkGPGJNTHPjs = require('./chunk-GPGJNTHP.js');
130
- require('./chunk-LXKSUWAV.js');
130
+ var _chunkLI6CPNJIjs = require('./chunk-LI6CPNJI.js');
131
131
  require('./chunk-7QVYU63E.js');
132
132
 
133
133
 
@@ -253,5 +253,5 @@ require('./chunk-7QVYU63E.js');
253
253
 
254
254
 
255
255
 
256
- exports.AbstractApiData = _chunk2AZLCF6Djs.AbstractApiData; exports.AbstractService = _chunk2AZLCF6Djs.AbstractService; exports.Action = _chunk2AZLCF6Djs.Action; exports.Auth = _chunk2AZLCF6Djs.Auth; exports.AuthComponent = _chunk2AZLCF6Djs.AuthComponent; exports.AuthModule = _chunk2AZLCF6Djs.AuthModule; exports.AuthService = _chunk2AZLCF6Djs.AuthService; exports.AuthorModule = _chunk2AZLCF6Djs.AuthorModule; exports.Billing = _chunk2AZLCF6Djs.Billing; exports.BillingModule = _chunk2AZLCF6Djs.BillingModule; exports.BillingService = _chunk2AZLCF6Djs.BillingService; exports.BlockNoteDiffUtil = _chunk2AZLCF6Djs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk2AZLCF6Djs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunk2AZLCF6Djs.ClientAbstractService; exports.ClientHttpMethod = _chunk2AZLCF6Djs.ClientHttpMethod; exports.Company = _chunk2AZLCF6Djs.Company; exports.CompanyFields = _chunk2AZLCF6Djs.CompanyFields; exports.CompanyModule = _chunk2AZLCF6Djs.CompanyModule; exports.CompanyService = _chunk2AZLCF6Djs.CompanyService; exports.Content = _chunk2AZLCF6Djs.Content; exports.ContentFields = _chunk2AZLCF6Djs.ContentFields; exports.ContentModule = _chunk2AZLCF6Djs.ContentModule; exports.ContentService = _chunk2AZLCF6Djs.ContentService; exports.DataClass = _chunkGPGJNTHPjs.DataClassRegistry; exports.DataClassRegistry = _chunkGPGJNTHPjs.DataClassRegistry; exports.EndpointCreator = _chunk2AZLCF6Djs.EndpointCreator; exports.Feature = _chunk2AZLCF6Djs.Feature; exports.FeatureModule = _chunk2AZLCF6Djs.FeatureModule; exports.FeatureService = _chunk2AZLCF6Djs.FeatureService; exports.HttpMethod = _chunk2AZLCF6Djs.HttpMethod; exports.InvoiceStatus = _chunk2AZLCF6Djs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGPGJNTHPjs.JsonApiDataFactory; exports.Module = _chunk2AZLCF6Djs.Module; exports.ModuleModule = _chunk2AZLCF6Djs.ModuleModule; exports.ModuleRegistrar = _chunk2AZLCF6Djs.ModuleRegistrar; exports.ModuleRegistry = _chunk2AZLCF6Djs.ModuleRegistry; exports.Modules = _chunk2AZLCF6Djs.Modules; exports.Notification = _chunk2AZLCF6Djs.Notification; exports.NotificationFields = _chunk2AZLCF6Djs.NotificationFields; exports.NotificationModule = _chunk2AZLCF6Djs.NotificationModule; exports.NotificationService = _chunk2AZLCF6Djs.NotificationService; exports.PaymentMethod = _chunk2AZLCF6Djs.PaymentMethod; exports.Push = _chunk2AZLCF6Djs.Push; exports.PushModule = _chunk2AZLCF6Djs.PushModule; exports.PushService = _chunk2AZLCF6Djs.PushService; exports.RehydrationFactory = _chunk2AZLCF6Djs.RehydrationFactory; exports.Role = _chunk2AZLCF6Djs.Role; exports.RoleFields = _chunk2AZLCF6Djs.RoleFields; exports.RoleModule = _chunk2AZLCF6Djs.RoleModule; exports.RoleService = _chunk2AZLCF6Djs.RoleService; exports.S3 = _chunk2AZLCF6Djs.S3; exports.S3Module = _chunk2AZLCF6Djs.S3Module; exports.S3Service = _chunk2AZLCF6Djs.S3Service; exports.StripeCustomer = _chunk2AZLCF6Djs.StripeCustomer; exports.StripeCustomerModule = _chunk2AZLCF6Djs.StripeCustomerModule; exports.StripeCustomerService = _chunk2AZLCF6Djs.StripeCustomerService; exports.StripeInvoice = _chunk2AZLCF6Djs.StripeInvoice; exports.StripeInvoiceModule = _chunk2AZLCF6Djs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk2AZLCF6Djs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk2AZLCF6Djs.StripePaymentMethodModule; exports.StripePrice = _chunk2AZLCF6Djs.StripePrice; exports.StripePriceModule = _chunk2AZLCF6Djs.StripePriceModule; exports.StripePriceService = _chunk2AZLCF6Djs.StripePriceService; exports.StripeProduct = _chunk2AZLCF6Djs.StripeProduct; exports.StripeProductModule = _chunk2AZLCF6Djs.StripeProductModule; exports.StripeProductService = _chunk2AZLCF6Djs.StripeProductService; exports.StripeSubscription = _chunk2AZLCF6Djs.StripeSubscription; exports.StripeSubscriptionModule = _chunk2AZLCF6Djs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk2AZLCF6Djs.StripeSubscriptionService; exports.StripeUsage = _chunk2AZLCF6Djs.StripeUsage; exports.StripeUsageModule = _chunk2AZLCF6Djs.StripeUsageModule; exports.StripeUsageService = _chunk2AZLCF6Djs.StripeUsageService; exports.SubscriptionStatus = _chunk2AZLCF6Djs.SubscriptionStatus; exports.TableOptions = _chunk2AZLCF6Djs.TableOptions; exports.User = _chunk2AZLCF6Djs.User; exports.UserFields = _chunk2AZLCF6Djs.UserFields; exports.UserModule = _chunk2AZLCF6Djs.UserModule; exports.UserService = _chunk2AZLCF6Djs.UserService; exports.checkPermissions = _chunk2AZLCF6Djs.checkPermissions; exports.checkPermissionsFromServer = _chunk2AZLCF6Djs.checkPermissionsFromServer; exports.cn = _chunk2AZLCF6Djs.cn; exports.composeRefs = _chunk2AZLCF6Djs.composeRefs; exports.configureAuth = _chunk2AZLCF6Djs.configureAuth; exports.configureDiscord = _chunkR5QSSISBjs.configureDiscord; exports.configureI18n = _chunkR5QSSISBjs.configureI18n; exports.configureJsonApi = _chunkR5QSSISBjs.configureJsonApi; exports.configureRoles = _chunkR5QSSISBjs.configureRoles; exports.createJsonApiInclusion = _chunk2AZLCF6Djs.createJsonApiInclusion; exports.entityObjectSchema = _chunk2AZLCF6Djs.entityObjectSchema; exports.exists = _chunk2AZLCF6Djs.exists; exports.formatDate = _chunk2AZLCF6Djs.formatDate; exports.getApiUrl = _chunkR5QSSISBjs.getApiUrl; exports.getAppUrl = _chunkR5QSSISBjs.getAppUrl; exports.getBootstrapper = _chunkGPGJNTHPjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk2AZLCF6Djs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk2AZLCF6Djs.getGlobalErrorHandler; exports.getIcon = _chunk2AZLCF6Djs.getIcon; exports.getIconByModule = _chunk2AZLCF6Djs.getIconByModule; exports.getIconByModuleName = _chunk2AZLCF6Djs.getIconByModuleName; exports.getLucideIcon = _chunk2AZLCF6Djs.getLucideIcon; exports.getLucideIconByModule = _chunk2AZLCF6Djs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk2AZLCF6Djs.getLucideIconByModuleName; exports.getRoleId = _chunkR5QSSISBjs.getRoleId; exports.getStripePublishableKey = _chunkR5QSSISBjs.getStripePublishableKey; exports.getTableComponents = _chunk2AZLCF6Djs.getTableComponents; exports.getTableOptions = _chunk2AZLCF6Djs.getTableOptions; exports.getTokenHandler = _chunk2AZLCF6Djs.getTokenHandler; exports.getTrackablePages = _chunkR5QSSISBjs.getTrackablePages; exports.getValueFromPath = _chunk2AZLCF6Djs.getValueFromPath; exports.hasBootstrapper = _chunkGPGJNTHPjs.hasBootstrapper; exports.isRolesConfigured = _chunkR5QSSISBjs.isRolesConfigured; exports.rehydrate = _chunk2AZLCF6Djs.rehydrate; exports.rehydrateList = _chunk2AZLCF6Djs.rehydrateList; exports.resetBootstrapStore = _chunkGPGJNTHPjs.resetBootstrapStore; exports.setBootstrapper = _chunkGPGJNTHPjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk2AZLCF6Djs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk2AZLCF6Djs.setGlobalErrorHandler; exports.translateData = _chunkGPGJNTHPjs.translateData; exports.translateResponse = _chunkGPGJNTHPjs.translateResponse; exports.tryBootstrap = _chunkGPGJNTHPjs.tryBootstrap; exports.useComposedRefs = _chunk2AZLCF6Djs.useComposedRefs; exports.useIsMobile = _chunk2AZLCF6Djs.useIsMobile; exports.userObjectSchema = _chunk2AZLCF6Djs.userObjectSchema;
256
+ exports.AbstractApiData = _chunkUYY34W7Rjs.AbstractApiData; exports.AbstractService = _chunkUYY34W7Rjs.AbstractService; exports.Action = _chunkUYY34W7Rjs.Action; exports.Auth = _chunkUYY34W7Rjs.Auth; exports.AuthComponent = _chunkUYY34W7Rjs.AuthComponent; exports.AuthModule = _chunkUYY34W7Rjs.AuthModule; exports.AuthService = _chunkUYY34W7Rjs.AuthService; exports.AuthorModule = _chunkUYY34W7Rjs.AuthorModule; exports.Billing = _chunkUYY34W7Rjs.Billing; exports.BillingModule = _chunkUYY34W7Rjs.BillingModule; exports.BillingService = _chunkUYY34W7Rjs.BillingService; exports.BlockNoteDiffUtil = _chunkUYY34W7Rjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkUYY34W7Rjs.BlockNoteWordDiffRendererUtil; exports.ClientAbstractService = _chunkUYY34W7Rjs.ClientAbstractService; exports.ClientHttpMethod = _chunkUYY34W7Rjs.ClientHttpMethod; exports.Company = _chunkUYY34W7Rjs.Company; exports.CompanyFields = _chunkUYY34W7Rjs.CompanyFields; exports.CompanyModule = _chunkUYY34W7Rjs.CompanyModule; exports.CompanyService = _chunkUYY34W7Rjs.CompanyService; exports.Content = _chunkUYY34W7Rjs.Content; exports.ContentFields = _chunkUYY34W7Rjs.ContentFields; exports.ContentModule = _chunkUYY34W7Rjs.ContentModule; exports.ContentService = _chunkUYY34W7Rjs.ContentService; exports.DataClass = _chunkLI6CPNJIjs.DataClassRegistry; exports.DataClassRegistry = _chunkLI6CPNJIjs.DataClassRegistry; exports.EndpointCreator = _chunkUYY34W7Rjs.EndpointCreator; exports.Feature = _chunkUYY34W7Rjs.Feature; exports.FeatureModule = _chunkUYY34W7Rjs.FeatureModule; exports.FeatureService = _chunkUYY34W7Rjs.FeatureService; exports.HttpMethod = _chunkUYY34W7Rjs.HttpMethod; exports.InvoiceStatus = _chunkUYY34W7Rjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkLI6CPNJIjs.JsonApiDataFactory; exports.Module = _chunkUYY34W7Rjs.Module; exports.ModuleModule = _chunkUYY34W7Rjs.ModuleModule; exports.ModuleRegistrar = _chunkUYY34W7Rjs.ModuleRegistrar; exports.ModuleRegistry = _chunkUYY34W7Rjs.ModuleRegistry; exports.Modules = _chunkUYY34W7Rjs.Modules; exports.Notification = _chunkUYY34W7Rjs.Notification; exports.NotificationFields = _chunkUYY34W7Rjs.NotificationFields; exports.NotificationModule = _chunkUYY34W7Rjs.NotificationModule; exports.NotificationService = _chunkUYY34W7Rjs.NotificationService; exports.PaymentMethod = _chunkUYY34W7Rjs.PaymentMethod; exports.Push = _chunkUYY34W7Rjs.Push; exports.PushModule = _chunkUYY34W7Rjs.PushModule; exports.PushService = _chunkUYY34W7Rjs.PushService; exports.RehydrationFactory = _chunkUYY34W7Rjs.RehydrationFactory; exports.Role = _chunkUYY34W7Rjs.Role; exports.RoleFields = _chunkUYY34W7Rjs.RoleFields; exports.RoleModule = _chunkUYY34W7Rjs.RoleModule; exports.RoleService = _chunkUYY34W7Rjs.RoleService; exports.S3 = _chunkUYY34W7Rjs.S3; exports.S3Module = _chunkUYY34W7Rjs.S3Module; exports.S3Service = _chunkUYY34W7Rjs.S3Service; exports.StripeCustomer = _chunkUYY34W7Rjs.StripeCustomer; exports.StripeCustomerModule = _chunkUYY34W7Rjs.StripeCustomerModule; exports.StripeCustomerService = _chunkUYY34W7Rjs.StripeCustomerService; exports.StripeInvoice = _chunkUYY34W7Rjs.StripeInvoice; exports.StripeInvoiceModule = _chunkUYY34W7Rjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkUYY34W7Rjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkUYY34W7Rjs.StripePaymentMethodModule; exports.StripePrice = _chunkUYY34W7Rjs.StripePrice; exports.StripePriceModule = _chunkUYY34W7Rjs.StripePriceModule; exports.StripePriceService = _chunkUYY34W7Rjs.StripePriceService; exports.StripeProduct = _chunkUYY34W7Rjs.StripeProduct; exports.StripeProductModule = _chunkUYY34W7Rjs.StripeProductModule; exports.StripeProductService = _chunkUYY34W7Rjs.StripeProductService; exports.StripeSubscription = _chunkUYY34W7Rjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkUYY34W7Rjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkUYY34W7Rjs.StripeSubscriptionService; exports.StripeUsage = _chunkUYY34W7Rjs.StripeUsage; exports.StripeUsageModule = _chunkUYY34W7Rjs.StripeUsageModule; exports.StripeUsageService = _chunkUYY34W7Rjs.StripeUsageService; exports.SubscriptionStatus = _chunkUYY34W7Rjs.SubscriptionStatus; exports.TableOptions = _chunkUYY34W7Rjs.TableOptions; exports.User = _chunkUYY34W7Rjs.User; exports.UserFields = _chunkUYY34W7Rjs.UserFields; exports.UserModule = _chunkUYY34W7Rjs.UserModule; exports.UserService = _chunkUYY34W7Rjs.UserService; exports.checkPermissions = _chunkUYY34W7Rjs.checkPermissions; exports.checkPermissionsFromServer = _chunkUYY34W7Rjs.checkPermissionsFromServer; exports.cn = _chunkUYY34W7Rjs.cn; exports.composeRefs = _chunkUYY34W7Rjs.composeRefs; exports.configureAuth = _chunkUYY34W7Rjs.configureAuth; exports.configureI18n = _chunk7DTKRMYWjs.configureI18n; exports.configureJsonApi = _chunk7DTKRMYWjs.configureJsonApi; exports.configureLogin = _chunk7DTKRMYWjs.configureLogin; exports.configureRoles = _chunk7DTKRMYWjs.configureRoles; exports.createJsonApiInclusion = _chunkUYY34W7Rjs.createJsonApiInclusion; exports.entityObjectSchema = _chunkUYY34W7Rjs.entityObjectSchema; exports.exists = _chunkUYY34W7Rjs.exists; exports.formatDate = _chunkUYY34W7Rjs.formatDate; exports.getApiUrl = _chunk7DTKRMYWjs.getApiUrl; exports.getAppUrl = _chunk7DTKRMYWjs.getAppUrl; exports.getBootstrapper = _chunkLI6CPNJIjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkUYY34W7Rjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkUYY34W7Rjs.getGlobalErrorHandler; exports.getIcon = _chunkUYY34W7Rjs.getIcon; exports.getIconByModule = _chunkUYY34W7Rjs.getIconByModule; exports.getIconByModuleName = _chunkUYY34W7Rjs.getIconByModuleName; exports.getLucideIcon = _chunkUYY34W7Rjs.getLucideIcon; exports.getLucideIconByModule = _chunkUYY34W7Rjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkUYY34W7Rjs.getLucideIconByModuleName; exports.getRoleId = _chunk7DTKRMYWjs.getRoleId; exports.getStripePublishableKey = _chunk7DTKRMYWjs.getStripePublishableKey; exports.getTableComponents = _chunkUYY34W7Rjs.getTableComponents; exports.getTableOptions = _chunkUYY34W7Rjs.getTableOptions; exports.getTokenHandler = _chunkUYY34W7Rjs.getTokenHandler; exports.getTrackablePages = _chunk7DTKRMYWjs.getTrackablePages; exports.getValueFromPath = _chunkUYY34W7Rjs.getValueFromPath; exports.hasBootstrapper = _chunkLI6CPNJIjs.hasBootstrapper; exports.isRolesConfigured = _chunk7DTKRMYWjs.isRolesConfigured; exports.rehydrate = _chunkUYY34W7Rjs.rehydrate; exports.rehydrateList = _chunkUYY34W7Rjs.rehydrateList; exports.resetBootstrapStore = _chunkLI6CPNJIjs.resetBootstrapStore; exports.setBootstrapper = _chunkLI6CPNJIjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkUYY34W7Rjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkUYY34W7Rjs.setGlobalErrorHandler; exports.translateData = _chunkLI6CPNJIjs.translateData; exports.translateResponse = _chunkLI6CPNJIjs.translateResponse; exports.tryBootstrap = _chunkLI6CPNJIjs.tryBootstrap; exports.useComposedRefs = _chunkUYY34W7Rjs.useComposedRefs; exports.useIsMobile = _chunkUYY34W7Rjs.useIsMobile; exports.userObjectSchema = _chunkUYY34W7Rjs.userObjectSchema;
257
257
  //# 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;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;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,2hOAAC","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;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"}
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
- configureDiscord,
3
2
  configureI18n,
4
3
  configureJsonApi,
4
+ configureLogin,
5
5
  configureRoles,
6
6
  getApiUrl,
7
7
  getAppUrl,
@@ -9,7 +9,7 @@ import {
9
9
  getStripePublishableKey,
10
10
  getTrackablePages,
11
11
  isRolesConfigured
12
- } from "./chunk-POKIJ56Q.mjs";
12
+ } from "./chunk-KX7YG6LY.mjs";
13
13
  import {
14
14
  AbstractApiData,
15
15
  AbstractService,
@@ -114,7 +114,8 @@ import {
114
114
  useComposedRefs,
115
115
  useIsMobile,
116
116
  userObjectSchema
117
- } from "./chunk-BCQSE3EU.mjs";
117
+ } from "./chunk-KUFWHMMY.mjs";
118
+ import "./chunk-AUXK7QSA.mjs";
118
119
  import "./chunk-C7C7VY4F.mjs";
119
120
  import {
120
121
  DataClassRegistry,
@@ -126,8 +127,7 @@ import {
126
127
  translateData,
127
128
  translateResponse,
128
129
  tryBootstrap
129
- } from "./chunk-BCKYJQ3K.mjs";
130
- import "./chunk-AUXK7QSA.mjs";
130
+ } from "./chunk-3VM3WAOV.mjs";
131
131
  import "./chunk-PAWJFY3S.mjs";
132
132
  export {
133
133
  AbstractApiData,
@@ -213,9 +213,9 @@ export {
213
213
  cn,
214
214
  composeRefs,
215
215
  configureAuth,
216
- configureDiscord,
217
216
  configureI18n,
218
217
  configureJsonApi,
218
+ configureLogin,
219
219
  configureRoles,
220
220
  createJsonApiInclusion,
221
221
  entityObjectSchema,
@@ -1,43 +1,5 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
-
3
- interface JsonApiHydratedDataInterface {
4
- jsonApi: any;
5
- included: any[];
6
- allData?: any[];
7
- }
8
-
9
- interface ApiDataInterface {
10
- get included(): any[];
11
- get type(): string;
12
- get id(): string;
13
- get createdAt(): Date;
14
- get updatedAt(): Date;
15
- get self(): string | undefined;
16
- get jsonApi(): any;
17
- generateApiUrl(params?: any): string;
18
- dehydrate(): JsonApiHydratedDataInterface;
19
- rehydrate(data: JsonApiHydratedDataInterface): this;
20
- createJsonApi(data: any): any;
21
- }
22
-
23
- type GetterKeys<T> = {
24
- [K in keyof T]: T[K] extends () => any ? never : K;
25
- }[keyof T];
26
- type FieldSelector<T> = {
27
- type: string;
28
- fields: ReadonlyArray<GetterKeys<T>>;
29
- };
30
- declare function createJsonApiInclusion<T>(dataType: string, fields: ReadonlyArray<GetterKeys<T>>): FieldSelector<T>;
31
-
32
- type ApiRequestDataTypeInterface = {
33
- name: string;
34
- cache?: string;
35
- inclusions?: Record<string, {
36
- types?: string[];
37
- fields?: FieldSelector<any>[];
38
- }>;
39
- model: new () => any;
40
- };
2
+ import { a as ApiRequestDataTypeInterface, F as FieldSelector, A as ApiDataInterface } from './ApiRequestDataTypeInterface-DIEOFn9s.mjs';
41
3
 
42
4
  /**
43
5
  * Permission actions
@@ -226,4 +188,4 @@ interface NotificationInterface extends ApiDataInterface {
226
188
  get actor(): UserInterface | undefined;
227
189
  }
228
190
 
229
- export { type ApiDataInterface as A, type CompanyInput as C, type FieldSelector as F, type GetterKeys as G, type JsonApiHydratedDataInterface as J, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type ApiRequestDataTypeInterface as a, Action as b, createJsonApiInclusion as c, type PageUrl as d, type ModulePermissionDefinition as e, type ModuleDefinition as f, type PermissionConfig as g, type PermissionModule as h, type PermissionUser as i, type ModuleFactory as j, type CompanyInterface as k, type FeatureInterface as l, type ModuleInterface as m, type NotificationInput as n, type RoleInterface as o, type UserInput as p };
191
+ export { Action as A, type CompanyInput as C, type FeatureInterface as F, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type PageUrl as a, type ModulePermissionDefinition as b, type ModuleDefinition as c, type PermissionConfig as d, type PermissionModule as e, type PermissionUser as f, type ModuleFactory as g, type CompanyInterface as h, type ModuleInterface as i, type NotificationInput as j, type RoleInterface as k, type UserInput as l };
@@ -1,43 +1,5 @@
1
1
  import { LucideIcon } from 'lucide-react';
2
-
3
- interface JsonApiHydratedDataInterface {
4
- jsonApi: any;
5
- included: any[];
6
- allData?: any[];
7
- }
8
-
9
- interface ApiDataInterface {
10
- get included(): any[];
11
- get type(): string;
12
- get id(): string;
13
- get createdAt(): Date;
14
- get updatedAt(): Date;
15
- get self(): string | undefined;
16
- get jsonApi(): any;
17
- generateApiUrl(params?: any): string;
18
- dehydrate(): JsonApiHydratedDataInterface;
19
- rehydrate(data: JsonApiHydratedDataInterface): this;
20
- createJsonApi(data: any): any;
21
- }
22
-
23
- type GetterKeys<T> = {
24
- [K in keyof T]: T[K] extends () => any ? never : K;
25
- }[keyof T];
26
- type FieldSelector<T> = {
27
- type: string;
28
- fields: ReadonlyArray<GetterKeys<T>>;
29
- };
30
- declare function createJsonApiInclusion<T>(dataType: string, fields: ReadonlyArray<GetterKeys<T>>): FieldSelector<T>;
31
-
32
- type ApiRequestDataTypeInterface = {
33
- name: string;
34
- cache?: string;
35
- inclusions?: Record<string, {
36
- types?: string[];
37
- fields?: FieldSelector<any>[];
38
- }>;
39
- model: new () => any;
40
- };
2
+ import { a as ApiRequestDataTypeInterface, F as FieldSelector, A as ApiDataInterface } from './ApiRequestDataTypeInterface-DIEOFn9s.js';
41
3
 
42
4
  /**
43
5
  * Permission actions
@@ -226,4 +188,4 @@ interface NotificationInterface extends ApiDataInterface {
226
188
  get actor(): UserInterface | undefined;
227
189
  }
228
190
 
229
- export { type ApiDataInterface as A, type CompanyInput as C, type FieldSelector as F, type GetterKeys as G, type JsonApiHydratedDataInterface as J, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type ApiRequestDataTypeInterface as a, Action as b, createJsonApiInclusion as c, type PageUrl as d, type ModulePermissionDefinition as e, type ModuleDefinition as f, type PermissionConfig as g, type PermissionModule as h, type PermissionUser as i, type ModuleFactory as j, type CompanyInterface as k, type FeatureInterface as l, type ModuleInterface as m, type NotificationInput as n, type RoleInterface as o, type UserInput as p };
191
+ export { Action as A, type CompanyInput as C, type FeatureInterface as F, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type PageUrl as a, type ModulePermissionDefinition as b, type ModuleDefinition as c, type PermissionConfig as d, type PermissionModule as e, type PermissionUser as f, type ModuleFactory as g, type CompanyInterface as h, type ModuleInterface as i, type NotificationInput as j, type RoleInterface as k, type UserInput as l };
@@ -1,5 +1,6 @@
1
- import { a as ApiRequestDataTypeInterface, l as FeatureInterface, o as RoleInterface, k as CompanyInterface, C as CompanyInput, U as UserInterface, p as UserInput, A as ApiDataInterface, J as JsonApiHydratedDataInterface, N as NotificationInterface } from './notification.interface-BllkURRm.js';
2
- import { a as ContentInterface } from './content.interface-D_4b4RQt.js';
1
+ import { F as FeatureInterface, k as RoleInterface, h as CompanyInterface, C as CompanyInput, U as UserInterface, l as UserInput, N as NotificationInterface } from './notification.interface-CqwaOIgM.js';
2
+ import { a as ApiRequestDataTypeInterface, A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiRequestDataTypeInterface-DIEOFn9s.js';
3
+ import { a as ContentInterface } from './content.interface-4VICFRA0.js';
3
4
 
4
5
  declare enum HttpMethod {
5
6
  GET = "GET",
@@ -1,5 +1,6 @@
1
- import { a as ApiRequestDataTypeInterface, l as FeatureInterface, o as RoleInterface, k as CompanyInterface, C as CompanyInput, U as UserInterface, p as UserInput, A as ApiDataInterface, J as JsonApiHydratedDataInterface, N as NotificationInterface } from './notification.interface-BllkURRm.mjs';
2
- import { a as ContentInterface } from './content.interface-Dk4UZcJM.mjs';
1
+ import { F as FeatureInterface, k as RoleInterface, h as CompanyInterface, C as CompanyInput, U as UserInterface, l as UserInput, N as NotificationInterface } from './notification.interface-BGaPiCUM.mjs';
2
+ import { a as ApiRequestDataTypeInterface, A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiRequestDataTypeInterface-DIEOFn9s.mjs';
3
+ import { a as ContentInterface } from './content.interface-CFc97-Cj.mjs';
3
4
 
4
5
  declare enum HttpMethod {
5
6
  GET = "GET",
@@ -1,8 +1,10 @@
1
- import { A as ApiData, a as ApiResponseInterface } from '../ApiResponseInterface-CAbw0sv7.mjs';
2
- import { M as ModuleWithPermissions, b as Action, a as ApiRequestDataTypeInterface } from '../notification.interface-BllkURRm.mjs';
3
- export { d as ServerAuthService, C as ServerCompanyService, e as ServerContentService, F as ServerFeatureService, f as ServerNotificationService, h as ServerPushService, R as ServerRoleService, k as ServerS3Service, U as ServerUserService } from '../s3.service-DIQRYe93.mjs';
1
+ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
+ import { M as ModuleWithPermissions, A as Action } from '../notification.interface-BGaPiCUM.mjs';
3
+ import { a as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-DIEOFn9s.mjs';
4
+ import { A as ApiResponseInterface } from '../ApiResponseInterface-Dqvu09tz.mjs';
5
+ export { d as ServerAuthService, C as ServerCompanyService, e as ServerContentService, F as ServerFeatureService, f as ServerNotificationService, h as ServerPushService, R as ServerRoleService, k as ServerS3Service, U as ServerUserService } from '../s3.service-C0BjOdvn.mjs';
4
6
  import 'lucide-react';
5
- import '../content.interface-Dk4UZcJM.mjs';
7
+ import '../content.interface-CFc97-Cj.mjs';
6
8
 
7
9
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
8
10
  /**