@carlonicora/nextjs-jsonapi 6.7.0 → 6.8.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/{AssistantMessageInterface-0ZQ1EJKO.d.mts → AssistantMessageInterface-BE3QxI54.d.mts} +1 -1
- package/dist/{AssistantMessageInterface-CA-hZ5Wj.d.ts → AssistantMessageInterface-nXpD_d-m.d.ts} +1 -1
- package/dist/{BlockNoteEditor-HWJBQAKG.mjs → BlockNoteEditor-D3LDTJCP.mjs} +4 -4
- package/dist/{BlockNoteEditor-BSFR2GPI.js → BlockNoteEditor-FB6FQFRF.js} +19 -19
- package/dist/{BlockNoteEditor-BSFR2GPI.js.map → BlockNoteEditor-FB6FQFRF.js.map} +1 -1
- package/dist/{BlockNoteViewer-NHS6CCMS.js → BlockNoteViewer-LGFMGTYX.js} +3 -3
- package/dist/{BlockNoteViewer-NHS6CCMS.js.map → BlockNoteViewer-LGFMGTYX.js.map} +1 -1
- package/dist/{BlockNoteViewer-IIBUU7J7.mjs → BlockNoteViewer-YSPYUDZE.mjs} +2 -2
- package/dist/{BlogPostInterface-CTGfsR1I.d.ts → BlogPostInterface-2sVqvXFd.d.ts} +1 -1
- package/dist/{BlogPostInterface-BN2mXc46.d.mts → BlogPostInterface-BgJLFpaa.d.mts} +1 -1
- package/dist/{auth.interface-DuX87BZ3.d.mts → auth.interface-BAYLbYjs.d.mts} +1 -1
- package/dist/{auth.interface-B4tRE0k0.d.ts → auth.interface-BjYwwfy9.d.ts} +1 -1
- package/dist/billing/index.js +492 -492
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-OYRJ32KR.mjs → chunk-5HBFQEYU.mjs} +2 -2
- package/dist/{chunk-S4NKWMX5.mjs → chunk-5HTX4RDA.mjs} +6 -6
- package/dist/{chunk-S4NKWMX5.mjs.map → chunk-5HTX4RDA.mjs.map} +1 -1
- package/dist/{chunk-EC4PQ44E.mjs → chunk-D44UDP4G.mjs} +2 -2
- package/dist/{chunk-73XWQA6U.js → chunk-JHT32ODN.js} +4 -4
- package/dist/{chunk-73XWQA6U.js.map → chunk-JHT32ODN.js.map} +1 -1
- package/dist/{chunk-PYDDFFQM.js → chunk-PSLT5JLE.js} +3 -3
- package/dist/{chunk-PYDDFFQM.js.map → chunk-PSLT5JLE.js.map} +1 -1
- package/dist/{chunk-XYKDBOCE.mjs → chunk-TL5O7EGW.mjs} +2 -2
- package/dist/{chunk-PCCUPEBU.js → chunk-UT4GVYJE.js} +879 -879
- package/dist/{chunk-PCCUPEBU.js.map → chunk-UT4GVYJE.js.map} +1 -1
- package/dist/{chunk-6KE7UBYY.js → chunk-UZP7KRAV.js} +6 -1
- package/dist/chunk-UZP7KRAV.js.map +1 -0
- package/dist/{chunk-QNIWATQD.mjs → chunk-VT5HRZH7.mjs} +6 -1
- package/dist/chunk-VT5HRZH7.mjs.map +1 -0
- package/dist/{chunk-3HOJNAZB.js → chunk-ZXK2OMCC.js} +8 -8
- package/dist/{chunk-3HOJNAZB.js.map → chunk-ZXK2OMCC.js.map} +1 -1
- package/dist/client/index.d.mts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +5 -5
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.d.mts +4 -4
- package/dist/contexts/index.d.ts +4 -4
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +12 -10
- package/dist/core/index.d.ts +12 -10
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- package/dist/features/analytics/index.d.mts +1 -1
- package/dist/features/analytics/index.d.ts +1 -1
- package/dist/features/analytics/index.js +121 -121
- package/dist/features/analytics/index.mjs +4 -4
- package/dist/features/analytics/server.js +4 -4
- package/dist/features/analytics/server.mjs +2 -2
- package/dist/features/blog/index.d.mts +3 -3
- package/dist/features/blog/index.d.ts +3 -3
- package/dist/features/blog/index.js +150 -150
- package/dist/features/blog/index.mjs +3 -3
- package/dist/features/blog/server.d.mts +3 -3
- package/dist/features/blog/server.d.ts +3 -3
- package/dist/features/blog/server.js +16 -16
- package/dist/features/blog/server.mjs +1 -1
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +3 -3
- package/dist/features/tokenusage/index.js +127 -127
- package/dist/features/tokenusage/index.mjs +4 -4
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{notification.interface-DQReXAD7.d.ts → notification.interface-DQItyY_Q.d.ts} +1 -1
- package/dist/{notification.interface-CF5h90U2.d.mts → notification.interface-DoVS5RZB.d.mts} +1 -1
- package/dist/{s3.service-CRGJbO-6.d.mts → s3.service-BG136Btz.d.mts} +3 -3
- package/dist/{s3.service-DZG-VyLY.d.ts → s3.service-CsrsRPRn.d.ts} +3 -3
- package/dist/server/index.d.mts +4 -4
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/dist/{useSocket-CwSoq6VS.d.mts → useSocket-C8fqU4od.d.mts} +1 -1
- package/dist/{useSocket-BM3q9A0C.d.ts → useSocket-IRHtk2xc.d.ts} +1 -1
- package/dist/{user.interface-BYnGJ7ss.d.mts → user.interface-Bm-0TbsB.d.mts} +6 -0
- package/dist/{user.interface-BqPjVyJI.d.ts → user.interface-CKBIEvNu.d.ts} +6 -0
- package/package.json +1 -1
- package/src/features/company/data/company.interface.ts +7 -0
- package/src/features/company/data/company.spec.ts +23 -0
- package/src/features/company/data/company.ts +6 -0
- package/src/features/company/hooks/useSubscriptionStatus.spec.ts +59 -0
- package/src/features/company/hooks/useSubscriptionStatus.ts +5 -3
- package/dist/chunk-6KE7UBYY.js.map +0 -1
- package/dist/chunk-QNIWATQD.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-HWJBQAKG.mjs.map → BlockNoteEditor-D3LDTJCP.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-IIBUU7J7.mjs.map → BlockNoteViewer-YSPYUDZE.mjs.map} +0 -0
- /package/dist/{chunk-OYRJ32KR.mjs.map → chunk-5HBFQEYU.mjs.map} +0 -0
- /package/dist/{chunk-EC4PQ44E.mjs.map → chunk-D44UDP4G.mjs.map} +0 -0
- /package/dist/{chunk-XYKDBOCE.mjs.map → chunk-TL5O7EGW.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
useCurrentUserContext,
|
|
82
82
|
useDataListRetriever,
|
|
83
83
|
usePageUrlGenerator
|
|
84
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-5HTX4RDA.mjs";
|
|
85
85
|
import {
|
|
86
86
|
getStripePublishableKey
|
|
87
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-5HBFQEYU.mjs";
|
|
88
88
|
import {
|
|
89
89
|
getRoleId
|
|
90
90
|
} from "../chunk-PW42LRSL.mjs";
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
toPromotionCodeResult,
|
|
115
115
|
useI18nLocale,
|
|
116
116
|
useI18nRouter
|
|
117
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-VT5HRZH7.mjs";
|
|
118
118
|
import "../chunk-V5MI7RNB.mjs";
|
|
119
119
|
import "../chunk-AUXK7QSA.mjs";
|
|
120
120
|
import "../chunk-PI56A4DG.mjs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EndpointCreator,
|
|
4
4
|
Modules,
|
|
5
5
|
useI18nTranslations
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VT5HRZH7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ENV,
|
|
9
9
|
setBootstrapper
|
|
@@ -340,4 +340,4 @@ export {
|
|
|
340
340
|
ACTION_TYPES,
|
|
341
341
|
RbacService
|
|
342
342
|
};
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-5HBFQEYU.mjs.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
isReferralEnabled,
|
|
17
17
|
isRegistrationAllowed,
|
|
18
18
|
useWaitlistText
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5HBFQEYU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
getRoleId,
|
|
22
22
|
isRolesConfigured
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
useIsMobile,
|
|
101
101
|
validateItalianTaxCode,
|
|
102
102
|
validatePartitaIva
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-VT5HRZH7.mjs";
|
|
104
104
|
import {
|
|
105
105
|
ENV
|
|
106
106
|
} from "./chunk-V5MI7RNB.mjs";
|
|
@@ -10837,7 +10837,7 @@ import { useRef as useRef18 } from "react";
|
|
|
10837
10837
|
import dynamic from "next/dynamic";
|
|
10838
10838
|
import React18 from "react";
|
|
10839
10839
|
import { jsx as jsx91 } from "react/jsx-runtime";
|
|
10840
|
-
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-
|
|
10840
|
+
var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-D3LDTJCP.mjs"), {
|
|
10841
10841
|
ssr: false
|
|
10842
10842
|
});
|
|
10843
10843
|
var BlockNoteEditorContainer = React18.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
|
|
@@ -17046,7 +17046,7 @@ __name(BlockNoteEditorMentionSuggestionMenu, "BlockNoteEditorMentionSuggestionMe
|
|
|
17046
17046
|
import dynamic2 from "next/dynamic";
|
|
17047
17047
|
import React29 from "react";
|
|
17048
17048
|
import { jsx as jsx178 } from "react/jsx-runtime";
|
|
17049
|
-
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-
|
|
17049
|
+
var BlockNoteViewer = dynamic2(() => import("./BlockNoteViewer-YSPYUDZE.mjs").then((m) => m.BlockNoteViewer), { ssr: false });
|
|
17050
17050
|
var BlockNoteViewerContainer = React29.memo(/* @__PURE__ */ __name(function ViewerContainer(props) {
|
|
17051
17051
|
return /* @__PURE__ */ jsx178(BlockNoteViewer, { ...props });
|
|
17052
17052
|
}, "ViewerContainer"));
|
|
@@ -17649,7 +17649,7 @@ function useSubscriptionStatus() {
|
|
|
17649
17649
|
};
|
|
17650
17650
|
}
|
|
17651
17651
|
const createdAt = new Date(company.createdAt);
|
|
17652
|
-
const trialEndsAt = new Date(createdAt.getTime() + TRIAL_DAYS * DAY_MS);
|
|
17652
|
+
const trialEndsAt = company.trialEndsAt ?? new Date(createdAt.getTime() + TRIAL_DAYS * DAY_MS);
|
|
17653
17653
|
const now = /* @__PURE__ */ new Date();
|
|
17654
17654
|
const msRemaining = trialEndsAt.getTime() - now.getTime();
|
|
17655
17655
|
const daysRemaining = Math.ceil(msRemaining / DAY_MS);
|
|
@@ -29641,4 +29641,4 @@ export {
|
|
|
29641
29641
|
useOAuthClients,
|
|
29642
29642
|
useOAuthClient
|
|
29643
29643
|
};
|
|
29644
|
-
//# sourceMappingURL=chunk-
|
|
29644
|
+
//# sourceMappingURL=chunk-5HTX4RDA.mjs.map
|