@carlonicora/nextjs-jsonapi 1.27.0 → 1.28.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/{BlockNoteEditor-5NYZBYPY.js → BlockNoteEditor-CAUNVZUF.js} +13 -13
- package/dist/{BlockNoteEditor-5NYZBYPY.js.map → BlockNoteEditor-CAUNVZUF.js.map} +1 -1
- package/dist/{BlockNoteEditor-B6K7OEN6.mjs → BlockNoteEditor-EOA4OEVX.mjs} +3 -3
- package/dist/billing/index.d.mts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/billing/index.js +359 -352
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +12 -5
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-ZR26XYRO.js → chunk-IXI4GAKB.js} +427 -427
- package/dist/{chunk-ZR26XYRO.js.map → chunk-IXI4GAKB.js.map} +1 -1
- package/dist/{chunk-NAB52T2P.mjs → chunk-ORFXBO7F.mjs} +9 -1
- package/dist/chunk-ORFXBO7F.mjs.map +1 -0
- package/dist/{chunk-RU4GQIB6.mjs → chunk-PYASRX75.mjs} +3 -3
- package/dist/{chunk-2VZZFQP4.js → chunk-TSEU4KZ2.js} +9 -1
- package/dist/chunk-TSEU4KZ2.js.map +1 -0
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/core/index.d.mts +4 -2
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/{stripe-subscription.interface-CNTsrbAx.d.ts → stripe-subscription.interface-BaZUngWe.d.ts} +2 -0
- package/dist/{stripe-subscription.interface-CFtupgYh.d.mts → stripe-subscription.interface-Cm_It1fz.d.mts} +2 -0
- package/package.json +1 -1
- package/src/features/billing/stripe-price/components/forms/PriceEditor.tsx +11 -1
- package/src/features/billing/stripe-price/data/stripe-price.interface.ts +2 -0
- package/src/features/billing/stripe-price/data/stripe-price.ts +10 -0
- package/dist/chunk-2VZZFQP4.js.map +0 -1
- package/dist/chunk-NAB52T2P.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-B6K7OEN6.mjs.map → BlockNoteEditor-EOA4OEVX.mjs.map} +0 -0
- /package/dist/{chunk-RU4GQIB6.mjs.map → chunk-PYASRX75.mjs.map} +0 -0
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
rehydrate,
|
|
37
37
|
useComposedRefs,
|
|
38
38
|
useIsMobile
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ORFXBO7F.mjs";
|
|
40
40
|
import {
|
|
41
41
|
JsonApiContext
|
|
42
42
|
} from "./chunk-VOXD3ZLY.mjs";
|
|
@@ -11146,7 +11146,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
|
|
|
11146
11146
|
import dynamic from "next/dynamic";
|
|
11147
11147
|
import React15 from "react";
|
|
11148
11148
|
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
11149
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
11149
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-EOA4OEVX.mjs"), {
|
|
11150
11150
|
ssr: false
|
|
11151
11151
|
});
|
|
11152
11152
|
var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -15049,4 +15049,4 @@ export {
|
|
|
15049
15049
|
useOAuthClients,
|
|
15050
15050
|
useOAuthClient
|
|
15051
15051
|
};
|
|
15052
|
-
//# sourceMappingURL=chunk-
|
|
15052
|
+
//# sourceMappingURL=chunk-PYASRX75.mjs.map
|
|
@@ -2925,6 +2925,7 @@ var StripePrice = (_class5 = class extends AbstractApiData {constructor(...args3
|
|
|
2925
2925
|
|
|
2926
2926
|
|
|
2927
2927
|
|
|
2928
|
+
|
|
2928
2929
|
get stripePriceId() {
|
|
2929
2930
|
if (!this._stripePriceId) throw new Error("stripePriceId is not defined");
|
|
2930
2931
|
return this._stripePriceId;
|
|
@@ -2968,6 +2969,9 @@ var StripePrice = (_class5 = class extends AbstractApiData {constructor(...args3
|
|
|
2968
2969
|
get features() {
|
|
2969
2970
|
return this._features;
|
|
2970
2971
|
}
|
|
2972
|
+
get token() {
|
|
2973
|
+
return this._token;
|
|
2974
|
+
}
|
|
2971
2975
|
rehydrate(data) {
|
|
2972
2976
|
super.rehydrate(data);
|
|
2973
2977
|
this._stripePriceId = data.jsonApi.attributes.stripePriceId;
|
|
@@ -2988,6 +2992,7 @@ var StripePrice = (_class5 = class extends AbstractApiData {constructor(...args3
|
|
|
2988
2992
|
this._metadata = data.jsonApi.attributes.metadata ? typeof data.jsonApi.attributes.metadata === "string" ? JSON.parse(data.jsonApi.attributes.metadata) : data.jsonApi.attributes.metadata : void 0;
|
|
2989
2993
|
this._description = data.jsonApi.attributes.description;
|
|
2990
2994
|
this._features = data.jsonApi.attributes.features ? typeof data.jsonApi.attributes.features === "string" ? JSON.parse(data.jsonApi.attributes.features) : data.jsonApi.attributes.features : void 0;
|
|
2995
|
+
this._token = data.jsonApi.attributes.token;
|
|
2991
2996
|
this._product = this._readIncluded(data, "product", Modules.StripeProduct);
|
|
2992
2997
|
return this;
|
|
2993
2998
|
}
|
|
@@ -3026,6 +3031,9 @@ var StripePrice = (_class5 = class extends AbstractApiData {constructor(...args3
|
|
|
3026
3031
|
if ("features" in data && data.features !== void 0) {
|
|
3027
3032
|
response.data.attributes.features = JSON.stringify(data.features);
|
|
3028
3033
|
}
|
|
3034
|
+
if ("token" in data && data.token !== void 0) {
|
|
3035
|
+
response.data.attributes.token = data.token;
|
|
3036
|
+
}
|
|
3029
3037
|
return response;
|
|
3030
3038
|
}
|
|
3031
3039
|
}, _class5);
|
|
@@ -5294,4 +5302,4 @@ var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
|
5294
5302
|
|
|
5295
5303
|
|
|
5296
5304
|
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.HttpMethod = HttpMethod; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.useIsMobile = useIsMobile; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES;
|
|
5297
|
-
//# sourceMappingURL=chunk-
|
|
5305
|
+
//# sourceMappingURL=chunk-TSEU4KZ2.js.map
|