@carlonicora/nextjs-jsonapi 1.15.0 → 1.16.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.
- package/dist/{ApiResponseInterface-B4QdWh-y.d.mts → ApiResponseInterface-BvWIeLkq.d.ts} +2 -1
- package/dist/{ApiResponseInterface-QLDnxLA9.d.ts → ApiResponseInterface-CAbw0sv7.d.mts} +2 -1
- package/dist/{BlockNoteEditor-ITJLAOXC.mjs → BlockNoteEditor-HFX7Z5BQ.mjs} +5 -5
- package/dist/{BlockNoteEditor-FGXYUAWI.js → BlockNoteEditor-MBFDWP7X.js} +15 -15
- package/dist/{BlockNoteEditor-FGXYUAWI.js.map → BlockNoteEditor-MBFDWP7X.js.map} +1 -1
- package/dist/JsonApiRequest-45CLE65I.js +24 -0
- package/dist/{JsonApiRequest-FXZCYIER.js.map → JsonApiRequest-45CLE65I.js.map} +1 -1
- package/dist/{JsonApiRequest-HFWXMKMA.mjs → JsonApiRequest-6IPS3DZJ.mjs} +2 -2
- package/dist/{chunk-C6QXZGL7.js → chunk-2AZLCF6D.js} +1617 -158
- package/dist/chunk-2AZLCF6D.js.map +1 -0
- package/dist/{chunk-WAFOKMKT.mjs → chunk-5RAUCUAA.mjs} +3722 -396
- package/dist/chunk-5RAUCUAA.mjs.map +1 -0
- package/dist/{chunk-TGBXBUWM.mjs → chunk-BCKYJQ3K.mjs} +8 -1
- package/dist/chunk-BCKYJQ3K.mjs.map +1 -0
- package/dist/{chunk-JGVXZS7M.mjs → chunk-BCQSE3EU.mjs} +1588 -129
- package/dist/chunk-BCQSE3EU.mjs.map +1 -0
- package/dist/{chunk-FPZPD4JI.js → chunk-GPGJNTHP.js} +17 -10
- package/dist/chunk-GPGJNTHP.js.map +1 -0
- package/dist/{chunk-PK5DRSUD.js → chunk-ONB2DAIV.js} +4090 -764
- package/dist/chunk-ONB2DAIV.js.map +1 -0
- package/dist/{chunk-SJIVGCNM.mjs → chunk-POKIJ56Q.mjs} +7 -2
- package/dist/chunk-POKIJ56Q.mjs.map +1 -0
- package/dist/{chunk-6YD42BP6.js → chunk-R5QSSISB.js} +14 -9
- package/dist/chunk-R5QSSISB.js.map +1 -0
- package/dist/client/index.d.mts +5 -5
- package/dist/client/index.d.ts +5 -5
- package/dist/client/index.js +7 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +6 -4
- package/dist/components/index.d.mts +253 -9
- package/dist/components/index.d.ts +253 -9
- package/dist/components/index.js +83 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +82 -4
- package/dist/{config-eceYM5kN.d.ts → config-CWsTwnsK.d.mts} +7 -2
- package/dist/{config-C5tGGrYf.d.mts → config-DEaUbBqR.d.ts} +7 -2
- package/dist/{content.interface-TB2MfJGs.d.ts → content.interface-D_4b4RQt.d.ts} +1 -1
- package/dist/{content.interface-CxBBC7ec.d.mts → content.interface-Dk4UZcJM.d.mts} +1 -1
- package/dist/contexts/index.d.mts +2 -2
- package/dist/contexts/index.d.ts +2 -2
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.d.mts +521 -18
- package/dist/core/index.d.ts +521 -18
- package/dist/core/index.js +53 -3
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +52 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +56 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -3
- package/dist/{notification.interface-lG6UpTpt.d.mts → notification.interface-BllkURRm.d.mts} +1 -2
- package/dist/{notification.interface-lG6UpTpt.d.ts → notification.interface-BllkURRm.d.ts} +1 -2
- package/dist/{s3.service-DP_hsssD.d.mts → s3.service-BEfGqho0.d.ts} +20 -2
- package/dist/{s3.service-Dq-PTUNa.d.ts → s3.service-DIQRYe93.d.mts} +20 -2
- package/dist/scripts/generate-web-module/generator.d.ts.map +1 -1
- package/dist/scripts/generate-web-module/generator.js +66 -0
- package/dist/scripts/generate-web-module/generator.js.map +1 -1
- package/dist/scripts/generate-web-module/templates/index.d.ts +8 -0
- package/dist/scripts/generate-web-module/templates/index.d.ts.map +1 -1
- package/dist/scripts/generate-web-module/templates/index.js +18 -1
- package/dist/scripts/generate-web-module/templates/index.js.map +1 -1
- package/dist/scripts/generate-web-module/templates/project/bootstrapper.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/bootstrapper.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/bootstrapper.template.js +141 -0
- package/dist/scripts/generate-web-module/templates/project/bootstrapper.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/env.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/env.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/env.template.js +110 -0
- package/dist/scripts/generate-web-module/templates/project/env.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/main-layout.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/main-layout.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/main-layout.template.js +101 -0
- package/dist/scripts/generate-web-module/templates/project/main-layout.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/middleware-env.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/middleware-env.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/middleware-env.template.js +66 -0
- package/dist/scripts/generate-web-module/templates/project/middleware-env.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-container.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/settings-container.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-container.template.js +257 -0
- package/dist/scripts/generate-web-module/templates/project/settings-container.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-context.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/settings-context.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-context.template.js +124 -0
- package/dist/scripts/generate-web-module/templates/project/settings-context.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-module-page.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/settings-module-page.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-module-page.template.js +78 -0
- package/dist/scripts/generate-web-module/templates/project/settings-module-page.template.js.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-page.template.d.ts +7 -0
- package/dist/scripts/generate-web-module/templates/project/settings-page.template.d.ts.map +1 -0
- package/dist/scripts/generate-web-module/templates/project/settings-page.template.js +75 -0
- package/dist/scripts/generate-web-module/templates/project/settings-page.template.js.map +1 -0
- package/dist/scripts/generate-web-module/types/template-data.interface.d.ts +1 -1
- package/dist/scripts/generate-web-module/types/template-data.interface.d.ts.map +1 -1
- package/dist/server/index.d.mts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/dist/stripe-subscription.interface-C63L6hVg.d.mts +226 -0
- package/dist/stripe-subscription.interface-CUvNDvw5.d.ts +226 -0
- package/dist/{useSocket-Bua6MwLi.d.mts → useSocket-BpenBR2z.d.mts} +1 -1
- package/dist/{useSocket-D5dhUp4m.d.ts → useSocket-D-QYA0Sr.d.ts} +1 -1
- package/package.json +9 -1
- package/scripts/generate-web-module/generator.ts +83 -0
- package/scripts/generate-web-module/templates/index.ts +10 -0
- package/scripts/generate-web-module/templates/project/bootstrapper.template.ts +108 -0
- package/scripts/generate-web-module/templates/project/env.template.ts +77 -0
- package/scripts/generate-web-module/templates/project/main-layout.template.tsx +68 -0
- package/scripts/generate-web-module/templates/project/middleware-env.template.ts +33 -0
- package/scripts/generate-web-module/templates/project/settings-container.template.tsx +224 -0
- package/scripts/generate-web-module/templates/project/settings-context.template.tsx +91 -0
- package/scripts/generate-web-module/templates/project/settings-module-page.template.tsx +45 -0
- package/scripts/generate-web-module/templates/project/settings-page.template.tsx +42 -0
- package/scripts/generate-web-module/types/template-data.interface.ts +1 -1
- package/src/client/config.ts +9 -0
- package/src/components/index.ts +7 -0
- package/src/core/abstracts/AbstractService.ts +104 -0
- package/src/core/endpoint/EndpointCreator.ts +7 -4
- package/src/core/index.ts +12 -4
- package/src/core/interfaces/ApiResponseInterface.ts +1 -0
- package/src/core/registry/ModuleRegistry.ts +11 -2
- package/src/core/utils/translateResponse.ts +17 -0
- package/src/features/billing/components/cards/BillingUsageSummaryCard.tsx +97 -0
- package/src/features/billing/components/cards/CustomerInfoCard.tsx +112 -0
- package/src/features/billing/components/cards/InvoicesSummaryCard.tsx +114 -0
- package/src/features/billing/components/cards/PaymentMethodSummaryCard.tsx +119 -0
- package/src/features/billing/components/cards/SubscriptionSummaryCard.tsx +146 -0
- package/src/features/billing/components/cards/index.ts +5 -0
- package/src/features/billing/components/containers/BillingDashboardContainer.tsx +427 -0
- package/src/features/billing/components/containers/index.ts +1 -0
- package/src/features/billing/components/index.ts +6 -0
- package/src/features/billing/components/modals/BillingDetailModal.tsx +36 -0
- package/src/features/billing/components/modals/index.ts +1 -0
- package/src/features/billing/components/providers/StripeProvider.tsx +48 -0
- package/src/features/billing/components/providers/index.ts +1 -0
- package/src/features/billing/components/utils/currency.ts +49 -0
- package/src/features/billing/components/utils/date.ts +21 -0
- package/src/features/billing/components/utils/index.ts +2 -0
- package/src/features/billing/components/widgets/BillingAlertBanner.tsx +63 -0
- package/src/features/billing/components/widgets/index.ts +1 -0
- package/src/features/billing/data/Billing.ts +17 -0
- package/src/features/billing/data/billing.service.ts +58 -0
- package/src/features/billing/data/index.ts +5 -0
- package/src/features/billing/index.ts +3 -0
- package/src/features/billing/modules/billing.module.ts +9 -0
- package/src/features/billing/modules/index.ts +1 -0
- package/src/features/billing/stripe-customer/components/containers/PaymentMethodsContainer.tsx +79 -0
- package/src/features/billing/stripe-customer/components/containers/index.ts +1 -0
- package/src/features/billing/stripe-customer/components/details/PaymentMethodCard.tsx +151 -0
- package/src/features/billing/stripe-customer/components/details/index.ts +1 -0
- package/src/features/billing/stripe-customer/components/forms/PaymentMethodEditor.tsx +186 -0
- package/src/features/billing/stripe-customer/components/forms/index.ts +1 -0
- package/src/features/billing/stripe-customer/components/index.ts +4 -0
- package/src/features/billing/stripe-customer/components/lists/PaymentMethodsList.tsx +19 -0
- package/src/features/billing/stripe-customer/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-customer/data/index.ts +5 -0
- package/src/features/billing/stripe-customer/data/payment-method.interface.ts +27 -0
- package/src/features/billing/stripe-customer/data/payment-method.ts +119 -0
- package/src/features/billing/stripe-customer/data/stripe-customer.interface.ts +16 -0
- package/src/features/billing/stripe-customer/data/stripe-customer.service.ts +128 -0
- package/src/features/billing/stripe-customer/data/stripe-customer.ts +71 -0
- package/src/features/billing/stripe-customer/index.ts +3 -0
- package/src/features/billing/stripe-customer/stripe-customer.module.ts +9 -0
- package/src/features/billing/stripe-customer/stripe-payment-method.module.ts +9 -0
- package/src/features/billing/stripe-invoice/components/containers/InvoicesContainer.tsx +66 -0
- package/src/features/billing/stripe-invoice/components/containers/index.ts +1 -0
- package/src/features/billing/stripe-invoice/components/details/InvoiceDetails.tsx +172 -0
- package/src/features/billing/stripe-invoice/components/details/index.ts +1 -0
- package/src/features/billing/stripe-invoice/components/index.ts +4 -0
- package/src/features/billing/stripe-invoice/components/lists/InvoicesList.tsx +84 -0
- package/src/features/billing/stripe-invoice/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-invoice/components/widgets/InvoiceStatusBadge.tsx +41 -0
- package/src/features/billing/stripe-invoice/components/widgets/index.ts +1 -0
- package/src/features/billing/stripe-invoice/data/index.ts +3 -0
- package/src/features/billing/stripe-invoice/data/stripe-invoice.interface.ts +65 -0
- package/src/features/billing/stripe-invoice/data/stripe-invoice.service.ts +64 -0
- package/src/features/billing/stripe-invoice/data/stripe-invoice.ts +177 -0
- package/src/features/billing/stripe-invoice/index.ts +2 -0
- package/src/features/billing/stripe-invoice/stripe-invoice.module.ts +9 -0
- package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +304 -0
- package/src/features/billing/stripe-price/components/forms/index.ts +1 -0
- package/src/features/billing/stripe-price/components/index.ts +2 -0
- package/src/features/billing/stripe-price/components/lists/PricesList.tsx +283 -0
- package/src/features/billing/stripe-price/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-price/data/index.ts +3 -0
- package/src/features/billing/stripe-price/data/stripe-price.interface.ts +48 -0
- package/src/features/billing/stripe-price/data/stripe-price.service.ts +123 -0
- package/src/features/billing/stripe-price/data/stripe-price.ts +156 -0
- package/src/features/billing/stripe-price/index.ts +2 -0
- package/src/features/billing/stripe-price/stripe-price.module.ts +9 -0
- package/src/features/billing/stripe-product/components/containers/ProductsAdminContainer.tsx +86 -0
- package/src/features/billing/stripe-product/components/containers/index.ts +1 -0
- package/src/features/billing/stripe-product/components/forms/ProductEditor.tsx +100 -0
- package/src/features/billing/stripe-product/components/forms/index.ts +1 -0
- package/src/features/billing/stripe-product/components/index.ts +3 -0
- package/src/features/billing/stripe-product/components/lists/ProductsList.tsx +206 -0
- package/src/features/billing/stripe-product/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-product/data/index.ts +3 -0
- package/src/features/billing/stripe-product/data/stripe-product.interface.ts +18 -0
- package/src/features/billing/stripe-product/data/stripe-product.service.ts +112 -0
- package/src/features/billing/stripe-product/data/stripe-product.ts +74 -0
- package/src/features/billing/stripe-product/index.ts +2 -0
- package/src/features/billing/stripe-product/stripe-product.module.ts +9 -0
- package/src/features/billing/stripe-subscription/components/containers/SubscriptionsContainer.tsx +304 -0
- package/src/features/billing/stripe-subscription/components/containers/index.ts +1 -0
- package/src/features/billing/stripe-subscription/components/details/SubscriptionDetails.tsx +223 -0
- package/src/features/billing/stripe-subscription/components/details/index.ts +1 -0
- package/src/features/billing/stripe-subscription/components/forms/CancelSubscriptionDialog.tsx +116 -0
- package/src/features/billing/stripe-subscription/components/forms/SubscriptionEditor.tsx +331 -0
- package/src/features/billing/stripe-subscription/components/forms/index.ts +2 -0
- package/src/features/billing/stripe-subscription/components/index.ts +5 -0
- package/src/features/billing/stripe-subscription/components/lists/SubscriptionsList.tsx +104 -0
- package/src/features/billing/stripe-subscription/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-subscription/components/widgets/PricingCard.tsx +95 -0
- package/src/features/billing/stripe-subscription/components/widgets/PricingCardsGrid.tsx +110 -0
- package/src/features/billing/stripe-subscription/components/widgets/ProrationPreview.tsx +41 -0
- package/src/features/billing/stripe-subscription/components/widgets/SubscriptionStatusBadge.tsx +60 -0
- package/src/features/billing/stripe-subscription/components/widgets/index.ts +4 -0
- package/src/features/billing/stripe-subscription/data/index.ts +3 -0
- package/src/features/billing/stripe-subscription/data/stripe-subscription.interface.ts +66 -0
- package/src/features/billing/stripe-subscription/data/stripe-subscription.service.ts +193 -0
- package/src/features/billing/stripe-subscription/data/stripe-subscription.ts +135 -0
- package/src/features/billing/stripe-subscription/hooks/index.ts +1 -0
- package/src/features/billing/stripe-subscription/hooks/useConfirmSubscriptionPayment.ts +111 -0
- package/src/features/billing/stripe-subscription/index.ts +5 -0
- package/src/features/billing/stripe-subscription/stripe-subscription.module.ts +9 -0
- package/src/features/billing/stripe-usage/components/containers/UsageContainer.tsx +109 -0
- package/src/features/billing/stripe-usage/components/containers/index.ts +1 -0
- package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +90 -0
- package/src/features/billing/stripe-usage/components/details/index.ts +1 -0
- package/src/features/billing/stripe-usage/components/index.ts +4 -0
- package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +72 -0
- package/src/features/billing/stripe-usage/components/lists/index.ts +1 -0
- package/src/features/billing/stripe-usage/components/widgets/UsageSummaryCards.tsx +19 -0
- package/src/features/billing/stripe-usage/components/widgets/index.ts +1 -0
- package/src/features/billing/stripe-usage/data/index.ts +3 -0
- package/src/features/billing/stripe-usage/data/stripe-usage.interface.ts +55 -0
- package/src/features/billing/stripe-usage/data/stripe-usage.service.ts +129 -0
- package/src/features/billing/stripe-usage/data/stripe-usage.ts +70 -0
- package/src/features/billing/stripe-usage/index.ts +2 -0
- package/src/features/billing/stripe-usage/stripe-usage.module.ts +9 -0
- package/src/features/company/components/forms/CompanyEditor.tsx +2 -2
- package/src/features/company/contexts/CompanyContext.tsx +2 -2
- package/src/features/feature/components/forms/FormFeatures.tsx +13 -106
- package/src/features/feature/data/feature.interface.ts +1 -1
- package/src/features/feature/data/feature.ts +4 -4
- package/src/features/index.ts +7 -0
- package/src/features/module/data/module.interface.ts +0 -1
- package/src/features/module/data/module.ts +0 -6
- package/src/features/user/components/lists/ContributorsList.tsx +2 -2
- package/src/features/user/components/widgets/UserAvatar.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/shadcnui/custom/link.tsx +16 -6
- package/src/utils/blocknote-diff.util.ts +2 -1
- package/src/utils/blocknote-word-diff-renderer.util.ts +8 -7
- package/dist/AuthComponent-hxOPs9o8.d.mts +0 -11
- package/dist/AuthComponent-hxOPs9o8.d.ts +0 -11
- package/dist/JsonApiRequest-FXZCYIER.js +0 -24
- package/dist/chunk-6YD42BP6.js.map +0 -1
- package/dist/chunk-C6QXZGL7.js.map +0 -1
- package/dist/chunk-FPZPD4JI.js.map +0 -1
- package/dist/chunk-JGVXZS7M.mjs.map +0 -1
- package/dist/chunk-PK5DRSUD.js.map +0 -1
- package/dist/chunk-SJIVGCNM.mjs.map +0 -1
- package/dist/chunk-TGBXBUWM.mjs.map +0 -1
- package/dist/chunk-WAFOKMKT.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-ITJLAOXC.mjs.map → BlockNoteEditor-HFX7Z5BQ.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-HFWXMKMA.mjs.map → JsonApiRequest-6IPS3DZJ.mjs.map} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -75,7 +75,32 @@
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
var _chunk2AZLCF6Djs = require('../chunk-2AZLCF6D.js');
|
|
79
104
|
require('../chunk-IBS6NI7D.js');
|
|
80
105
|
|
|
81
106
|
|
|
@@ -87,7 +112,7 @@ require('../chunk-IBS6NI7D.js');
|
|
|
87
112
|
|
|
88
113
|
|
|
89
114
|
|
|
90
|
-
var
|
|
115
|
+
var _chunkGPGJNTHPjs = require('../chunk-GPGJNTHP.js');
|
|
91
116
|
require('../chunk-LXKSUWAV.js');
|
|
92
117
|
require('../chunk-7QVYU63E.js');
|
|
93
118
|
|
|
@@ -177,5 +202,30 @@ require('../chunk-7QVYU63E.js');
|
|
|
177
202
|
|
|
178
203
|
|
|
179
204
|
|
|
180
|
-
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
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;
|
|
181
231
|
//# sourceMappingURL=index.js.map
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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"}
|
package/dist/core/index.mjs
CHANGED
|
@@ -7,6 +7,9 @@ import {
|
|
|
7
7
|
AuthModule,
|
|
8
8
|
AuthService,
|
|
9
9
|
AuthorModule,
|
|
10
|
+
Billing,
|
|
11
|
+
BillingModule,
|
|
12
|
+
BillingService,
|
|
10
13
|
BlockNoteDiffUtil,
|
|
11
14
|
BlockNoteWordDiffRendererUtil,
|
|
12
15
|
ClientAbstractService,
|
|
@@ -24,6 +27,7 @@ import {
|
|
|
24
27
|
FeatureModule,
|
|
25
28
|
FeatureService,
|
|
26
29
|
HttpMethod,
|
|
30
|
+
InvoiceStatus,
|
|
27
31
|
Module,
|
|
28
32
|
ModuleModule,
|
|
29
33
|
ModuleRegistrar,
|
|
@@ -33,6 +37,7 @@ import {
|
|
|
33
37
|
NotificationFields,
|
|
34
38
|
NotificationModule,
|
|
35
39
|
NotificationService,
|
|
40
|
+
PaymentMethod,
|
|
36
41
|
Push,
|
|
37
42
|
PushModule,
|
|
38
43
|
PushService,
|
|
@@ -44,6 +49,26 @@ import {
|
|
|
44
49
|
S3,
|
|
45
50
|
S3Module,
|
|
46
51
|
S3Service,
|
|
52
|
+
StripeCustomer,
|
|
53
|
+
StripeCustomerModule,
|
|
54
|
+
StripeCustomerService,
|
|
55
|
+
StripeInvoice,
|
|
56
|
+
StripeInvoiceModule,
|
|
57
|
+
StripeInvoiceService,
|
|
58
|
+
StripePaymentMethodModule,
|
|
59
|
+
StripePrice,
|
|
60
|
+
StripePriceModule,
|
|
61
|
+
StripePriceService,
|
|
62
|
+
StripeProduct,
|
|
63
|
+
StripeProductModule,
|
|
64
|
+
StripeProductService,
|
|
65
|
+
StripeSubscription,
|
|
66
|
+
StripeSubscriptionModule,
|
|
67
|
+
StripeSubscriptionService,
|
|
68
|
+
StripeUsage,
|
|
69
|
+
StripeUsageModule,
|
|
70
|
+
StripeUsageService,
|
|
71
|
+
SubscriptionStatus,
|
|
47
72
|
TableOptions,
|
|
48
73
|
User,
|
|
49
74
|
UserFields,
|
|
@@ -75,7 +100,7 @@ import {
|
|
|
75
100
|
useComposedRefs,
|
|
76
101
|
useIsMobile,
|
|
77
102
|
userObjectSchema
|
|
78
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-BCQSE3EU.mjs";
|
|
79
104
|
import "../chunk-C7C7VY4F.mjs";
|
|
80
105
|
import {
|
|
81
106
|
DataClassRegistry,
|
|
@@ -87,7 +112,7 @@ import {
|
|
|
87
112
|
translateData,
|
|
88
113
|
translateResponse,
|
|
89
114
|
tryBootstrap
|
|
90
|
-
} from "../chunk-
|
|
115
|
+
} from "../chunk-BCKYJQ3K.mjs";
|
|
91
116
|
import "../chunk-AUXK7QSA.mjs";
|
|
92
117
|
import "../chunk-PAWJFY3S.mjs";
|
|
93
118
|
export {
|
|
@@ -99,6 +124,9 @@ export {
|
|
|
99
124
|
AuthModule,
|
|
100
125
|
AuthService,
|
|
101
126
|
AuthorModule,
|
|
127
|
+
Billing,
|
|
128
|
+
BillingModule,
|
|
129
|
+
BillingService,
|
|
102
130
|
BlockNoteDiffUtil,
|
|
103
131
|
BlockNoteWordDiffRendererUtil,
|
|
104
132
|
ClientAbstractService,
|
|
@@ -118,6 +146,7 @@ export {
|
|
|
118
146
|
FeatureModule,
|
|
119
147
|
FeatureService,
|
|
120
148
|
HttpMethod,
|
|
149
|
+
InvoiceStatus,
|
|
121
150
|
JsonApiDataFactory,
|
|
122
151
|
Module,
|
|
123
152
|
ModuleModule,
|
|
@@ -128,6 +157,7 @@ export {
|
|
|
128
157
|
NotificationFields,
|
|
129
158
|
NotificationModule,
|
|
130
159
|
NotificationService,
|
|
160
|
+
PaymentMethod,
|
|
131
161
|
Push,
|
|
132
162
|
PushModule,
|
|
133
163
|
PushService,
|
|
@@ -139,6 +169,26 @@ export {
|
|
|
139
169
|
S3,
|
|
140
170
|
S3Module,
|
|
141
171
|
S3Service,
|
|
172
|
+
StripeCustomer,
|
|
173
|
+
StripeCustomerModule,
|
|
174
|
+
StripeCustomerService,
|
|
175
|
+
StripeInvoice,
|
|
176
|
+
StripeInvoiceModule,
|
|
177
|
+
StripeInvoiceService,
|
|
178
|
+
StripePaymentMethodModule,
|
|
179
|
+
StripePrice,
|
|
180
|
+
StripePriceModule,
|
|
181
|
+
StripePriceService,
|
|
182
|
+
StripeProduct,
|
|
183
|
+
StripeProductModule,
|
|
184
|
+
StripeProductService,
|
|
185
|
+
StripeSubscription,
|
|
186
|
+
StripeSubscriptionModule,
|
|
187
|
+
StripeSubscriptionService,
|
|
188
|
+
StripeUsage,
|
|
189
|
+
StripeUsageModule,
|
|
190
|
+
StripeUsageService,
|
|
191
|
+
SubscriptionStatus,
|
|
142
192
|
TableOptions,
|
|
143
193
|
User,
|
|
144
194
|
UserFields,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { A as ApiData, a as ApiResponseInterface } from './ApiResponseInterface-
|
|
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-
|
|
3
|
-
export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, 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, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, 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-
|
|
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';
|
|
3
|
+
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
5
|
export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.mjs';
|
|
6
6
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.mjs';
|
|
7
7
|
export { ClassValue } from 'clsx';
|
|
8
|
-
export { A as AuthComponent } from './
|
|
9
|
-
export { C as ContentInput, a as ContentInterface } from './content.interface-
|
|
10
|
-
export { I as I18nConfig,
|
|
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
11
|
import 'lucide-react';
|
|
12
12
|
import 'react';
|
|
13
13
|
import 'zod';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { A as ApiData, a as ApiResponseInterface } from './ApiResponseInterface-
|
|
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-
|
|
3
|
-
export { AbstractApiData, AppModuleDefinitions, Auth, AuthModule, AuthorModule, 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, Push, PushInput, PushInterface, PushModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, 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-
|
|
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';
|
|
3
|
+
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
5
|
export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.js';
|
|
6
6
|
export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.js';
|
|
7
7
|
export { ClassValue } from 'clsx';
|
|
8
|
-
export { A as AuthComponent } from './
|
|
9
|
-
export { C as ContentInput, a as ContentInterface } from './content.interface-
|
|
10
|
-
export { I as I18nConfig,
|
|
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
11
|
import 'lucide-react';
|
|
12
12
|
import 'react';
|
|
13
13
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var _chunk6YD42BP6js = require('./chunk-6YD42BP6.js');
|
|
12
11
|
|
|
12
|
+
var _chunkR5QSSISBjs = require('./chunk-R5QSSISB.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -88,7 +88,33 @@ var _chunk6YD42BP6js = require('./chunk-6YD42BP6.js');
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
var _chunk2AZLCF6Djs = require('./chunk-2AZLCF6D.js');
|
|
92
118
|
require('./chunk-IBS6NI7D.js');
|
|
93
119
|
|
|
94
120
|
|
|
@@ -100,7 +126,7 @@ require('./chunk-IBS6NI7D.js');
|
|
|
100
126
|
|
|
101
127
|
|
|
102
128
|
|
|
103
|
-
var
|
|
129
|
+
var _chunkGPGJNTHPjs = require('./chunk-GPGJNTHP.js');
|
|
104
130
|
require('./chunk-LXKSUWAV.js');
|
|
105
131
|
require('./chunk-7QVYU63E.js');
|
|
106
132
|
|
|
@@ -201,5 +227,31 @@ require('./chunk-7QVYU63E.js');
|
|
|
201
227
|
|
|
202
228
|
|
|
203
229
|
|
|
204
|
-
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
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;
|
|
205
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;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;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;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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"}
|
package/dist/index.mjs
CHANGED
|
@@ -6,9 +6,10 @@ import {
|
|
|
6
6
|
getApiUrl,
|
|
7
7
|
getAppUrl,
|
|
8
8
|
getRoleId,
|
|
9
|
+
getStripePublishableKey,
|
|
9
10
|
getTrackablePages,
|
|
10
11
|
isRolesConfigured
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-POKIJ56Q.mjs";
|
|
12
13
|
import {
|
|
13
14
|
AbstractApiData,
|
|
14
15
|
AbstractService,
|
|
@@ -18,6 +19,9 @@ import {
|
|
|
18
19
|
AuthModule,
|
|
19
20
|
AuthService,
|
|
20
21
|
AuthorModule,
|
|
22
|
+
Billing,
|
|
23
|
+
BillingModule,
|
|
24
|
+
BillingService,
|
|
21
25
|
BlockNoteDiffUtil,
|
|
22
26
|
BlockNoteWordDiffRendererUtil,
|
|
23
27
|
ClientAbstractService,
|
|
@@ -35,6 +39,7 @@ import {
|
|
|
35
39
|
FeatureModule,
|
|
36
40
|
FeatureService,
|
|
37
41
|
HttpMethod,
|
|
42
|
+
InvoiceStatus,
|
|
38
43
|
Module,
|
|
39
44
|
ModuleModule,
|
|
40
45
|
ModuleRegistrar,
|
|
@@ -44,6 +49,7 @@ import {
|
|
|
44
49
|
NotificationFields,
|
|
45
50
|
NotificationModule,
|
|
46
51
|
NotificationService,
|
|
52
|
+
PaymentMethod,
|
|
47
53
|
Push,
|
|
48
54
|
PushModule,
|
|
49
55
|
PushService,
|
|
@@ -55,6 +61,26 @@ import {
|
|
|
55
61
|
S3,
|
|
56
62
|
S3Module,
|
|
57
63
|
S3Service,
|
|
64
|
+
StripeCustomer,
|
|
65
|
+
StripeCustomerModule,
|
|
66
|
+
StripeCustomerService,
|
|
67
|
+
StripeInvoice,
|
|
68
|
+
StripeInvoiceModule,
|
|
69
|
+
StripeInvoiceService,
|
|
70
|
+
StripePaymentMethodModule,
|
|
71
|
+
StripePrice,
|
|
72
|
+
StripePriceModule,
|
|
73
|
+
StripePriceService,
|
|
74
|
+
StripeProduct,
|
|
75
|
+
StripeProductModule,
|
|
76
|
+
StripeProductService,
|
|
77
|
+
StripeSubscription,
|
|
78
|
+
StripeSubscriptionModule,
|
|
79
|
+
StripeSubscriptionService,
|
|
80
|
+
StripeUsage,
|
|
81
|
+
StripeUsageModule,
|
|
82
|
+
StripeUsageService,
|
|
83
|
+
SubscriptionStatus,
|
|
58
84
|
TableOptions,
|
|
59
85
|
User,
|
|
60
86
|
UserFields,
|
|
@@ -88,7 +114,7 @@ import {
|
|
|
88
114
|
useComposedRefs,
|
|
89
115
|
useIsMobile,
|
|
90
116
|
userObjectSchema
|
|
91
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-BCQSE3EU.mjs";
|
|
92
118
|
import "./chunk-C7C7VY4F.mjs";
|
|
93
119
|
import {
|
|
94
120
|
DataClassRegistry,
|
|
@@ -100,7 +126,7 @@ import {
|
|
|
100
126
|
translateData,
|
|
101
127
|
translateResponse,
|
|
102
128
|
tryBootstrap
|
|
103
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-BCKYJQ3K.mjs";
|
|
104
130
|
import "./chunk-AUXK7QSA.mjs";
|
|
105
131
|
import "./chunk-PAWJFY3S.mjs";
|
|
106
132
|
export {
|
|
@@ -112,6 +138,9 @@ export {
|
|
|
112
138
|
AuthModule,
|
|
113
139
|
AuthService,
|
|
114
140
|
AuthorModule,
|
|
141
|
+
Billing,
|
|
142
|
+
BillingModule,
|
|
143
|
+
BillingService,
|
|
115
144
|
BlockNoteDiffUtil,
|
|
116
145
|
BlockNoteWordDiffRendererUtil,
|
|
117
146
|
ClientAbstractService,
|
|
@@ -131,6 +160,7 @@ export {
|
|
|
131
160
|
FeatureModule,
|
|
132
161
|
FeatureService,
|
|
133
162
|
HttpMethod,
|
|
163
|
+
InvoiceStatus,
|
|
134
164
|
JsonApiDataFactory,
|
|
135
165
|
Module,
|
|
136
166
|
ModuleModule,
|
|
@@ -141,6 +171,7 @@ export {
|
|
|
141
171
|
NotificationFields,
|
|
142
172
|
NotificationModule,
|
|
143
173
|
NotificationService,
|
|
174
|
+
PaymentMethod,
|
|
144
175
|
Push,
|
|
145
176
|
PushModule,
|
|
146
177
|
PushService,
|
|
@@ -152,6 +183,26 @@ export {
|
|
|
152
183
|
S3,
|
|
153
184
|
S3Module,
|
|
154
185
|
S3Service,
|
|
186
|
+
StripeCustomer,
|
|
187
|
+
StripeCustomerModule,
|
|
188
|
+
StripeCustomerService,
|
|
189
|
+
StripeInvoice,
|
|
190
|
+
StripeInvoiceModule,
|
|
191
|
+
StripeInvoiceService,
|
|
192
|
+
StripePaymentMethodModule,
|
|
193
|
+
StripePrice,
|
|
194
|
+
StripePriceModule,
|
|
195
|
+
StripePriceService,
|
|
196
|
+
StripeProduct,
|
|
197
|
+
StripeProductModule,
|
|
198
|
+
StripeProductService,
|
|
199
|
+
StripeSubscription,
|
|
200
|
+
StripeSubscriptionModule,
|
|
201
|
+
StripeSubscriptionService,
|
|
202
|
+
StripeUsage,
|
|
203
|
+
StripeUsageModule,
|
|
204
|
+
StripeUsageService,
|
|
205
|
+
SubscriptionStatus,
|
|
155
206
|
TableOptions,
|
|
156
207
|
User,
|
|
157
208
|
UserFields,
|
|
@@ -182,6 +233,7 @@ export {
|
|
|
182
233
|
getLucideIconByModule,
|
|
183
234
|
getLucideIconByModuleName,
|
|
184
235
|
getRoleId,
|
|
236
|
+
getStripePublishableKey,
|
|
185
237
|
getTableComponents,
|
|
186
238
|
getTableOptions,
|
|
187
239
|
getTokenHandler,
|
package/dist/{notification.interface-lG6UpTpt.d.mts → notification.interface-BllkURRm.d.mts}
RENAMED
|
@@ -135,7 +135,6 @@ type ModuleFactory = (params: {
|
|
|
135
135
|
|
|
136
136
|
interface ModuleInterface extends ApiDataInterface {
|
|
137
137
|
get name(): string;
|
|
138
|
-
get isCore(): boolean;
|
|
139
138
|
get permissions(): {
|
|
140
139
|
create: boolean | string;
|
|
141
140
|
read: boolean | string;
|
|
@@ -146,7 +145,7 @@ interface ModuleInterface extends ApiDataInterface {
|
|
|
146
145
|
|
|
147
146
|
interface FeatureInterface extends ApiDataInterface {
|
|
148
147
|
get name(): string;
|
|
149
|
-
get
|
|
148
|
+
get isCore(): boolean;
|
|
150
149
|
get modules(): ModuleInterface[];
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -135,7 +135,6 @@ type ModuleFactory = (params: {
|
|
|
135
135
|
|
|
136
136
|
interface ModuleInterface extends ApiDataInterface {
|
|
137
137
|
get name(): string;
|
|
138
|
-
get isCore(): boolean;
|
|
139
138
|
get permissions(): {
|
|
140
139
|
create: boolean | string;
|
|
141
140
|
read: boolean | string;
|
|
@@ -146,7 +145,7 @@ interface ModuleInterface extends ApiDataInterface {
|
|
|
146
145
|
|
|
147
146
|
interface FeatureInterface extends ApiDataInterface {
|
|
148
147
|
get name(): string;
|
|
149
|
-
get
|
|
148
|
+
get isCore(): boolean;
|
|
150
149
|
get modules(): ModuleInterface[];
|
|
151
150
|
}
|
|
152
151
|
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { a as ContentInterface } from './content.interface-
|
|
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';
|
|
3
3
|
|
|
4
4
|
declare enum HttpMethod {
|
|
5
5
|
GET = "GET",
|
|
@@ -72,6 +72,24 @@ declare abstract class AbstractService {
|
|
|
72
72
|
[key: string]: File | Blob;
|
|
73
73
|
} | File | Blob;
|
|
74
74
|
}): Promise<T>;
|
|
75
|
+
/**
|
|
76
|
+
* Make an API call and return both data and meta from the response.
|
|
77
|
+
*/
|
|
78
|
+
protected static callApiWithMeta<T>(params: {
|
|
79
|
+
type: ApiRequestDataTypeInterface;
|
|
80
|
+
method: HttpMethod;
|
|
81
|
+
endpoint: string;
|
|
82
|
+
companyId?: string;
|
|
83
|
+
input?: any;
|
|
84
|
+
overridesJsonApiCreation?: boolean;
|
|
85
|
+
responseType?: ApiRequestDataTypeInterface;
|
|
86
|
+
files?: {
|
|
87
|
+
[key: string]: File | Blob;
|
|
88
|
+
} | File | Blob;
|
|
89
|
+
}): Promise<{
|
|
90
|
+
data: T;
|
|
91
|
+
meta?: Record<string, any>;
|
|
92
|
+
}>;
|
|
75
93
|
/**
|
|
76
94
|
* Get raw JSON:API response data without deserialization.
|
|
77
95
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { a as ContentInterface } from './content.interface-
|
|
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';
|
|
3
3
|
|
|
4
4
|
declare enum HttpMethod {
|
|
5
5
|
GET = "GET",
|
|
@@ -72,6 +72,24 @@ declare abstract class AbstractService {
|
|
|
72
72
|
[key: string]: File | Blob;
|
|
73
73
|
} | File | Blob;
|
|
74
74
|
}): Promise<T>;
|
|
75
|
+
/**
|
|
76
|
+
* Make an API call and return both data and meta from the response.
|
|
77
|
+
*/
|
|
78
|
+
protected static callApiWithMeta<T>(params: {
|
|
79
|
+
type: ApiRequestDataTypeInterface;
|
|
80
|
+
method: HttpMethod;
|
|
81
|
+
endpoint: string;
|
|
82
|
+
companyId?: string;
|
|
83
|
+
input?: any;
|
|
84
|
+
overridesJsonApiCreation?: boolean;
|
|
85
|
+
responseType?: ApiRequestDataTypeInterface;
|
|
86
|
+
files?: {
|
|
87
|
+
[key: string]: File | Blob;
|
|
88
|
+
} | File | Blob;
|
|
89
|
+
}): Promise<{
|
|
90
|
+
data: T;
|
|
91
|
+
meta?: Record<string, any>;
|
|
92
|
+
}>;
|
|
75
93
|
/**
|
|
76
94
|
* Get raw JSON:API response data without deserialization.
|
|
77
95
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../scripts/generate-web-module/generator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAIL,wBAAwB,EACzB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../scripts/generate-web-module/generator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,EAIL,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAsCjB;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,OAAO,CAAC,CA+E3F;AAwTD,eAAe,iBAAiB,CAAC"}
|