@carlonicora/nextjs-jsonapi 6.5.0 → 6.7.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-CT4XUXPC.js → BlockNoteEditor-BSFR2GPI.js} +19 -19
- package/dist/{BlockNoteEditor-CT4XUXPC.js.map → BlockNoteEditor-BSFR2GPI.js.map} +1 -1
- package/dist/{BlockNoteEditor-M6UQRVRK.mjs → BlockNoteEditor-HWJBQAKG.mjs} +4 -4
- package/dist/{BlockNoteViewer-XZJ5Y7WN.mjs → BlockNoteViewer-IIBUU7J7.mjs} +2 -2
- package/dist/{BlockNoteViewer-MFLWF3Y2.js → BlockNoteViewer-NHS6CCMS.js} +3 -3
- package/dist/{BlockNoteViewer-MFLWF3Y2.js.map → BlockNoteViewer-NHS6CCMS.js.map} +1 -1
- package/dist/{auth.interface-D5606g19.d.ts → auth.interface-B4tRE0k0.d.ts} +2 -0
- package/dist/{auth.interface-tsOuc0Fi.d.mts → auth.interface-DuX87BZ3.d.mts} +2 -0
- package/dist/billing/index.js +492 -492
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-DSGP6GC3.js → chunk-3HOJNAZB.js} +8 -8
- package/dist/{chunk-DSGP6GC3.js.map → chunk-3HOJNAZB.js.map} +1 -1
- package/dist/{chunk-XZCCIKX3.js → chunk-6KE7UBYY.js} +504 -233
- package/dist/chunk-6KE7UBYY.js.map +1 -0
- package/dist/{chunk-QJIDORHM.js → chunk-73XWQA6U.js} +4 -4
- package/dist/{chunk-QJIDORHM.js.map → chunk-73XWQA6U.js.map} +1 -1
- package/dist/{chunk-DYOSXIEL.mjs → chunk-EC4PQ44E.mjs} +2 -2
- package/dist/{chunk-RUJCWOJE.mjs → chunk-OYRJ32KR.mjs} +2 -2
- package/dist/{chunk-Y7JIQNM6.js → chunk-PCCUPEBU.js} +1066 -873
- package/dist/chunk-PCCUPEBU.js.map +1 -0
- package/dist/{chunk-ELQHE2DK.js → chunk-PYDDFFQM.js} +3 -3
- package/dist/{chunk-ELQHE2DK.js.map → chunk-PYDDFFQM.js.map} +1 -1
- package/dist/{chunk-3FD6Y734.mjs → chunk-QNIWATQD.mjs} +272 -1
- package/dist/chunk-QNIWATQD.mjs.map +1 -0
- package/dist/{chunk-TIT4CJYQ.mjs → chunk-S4NKWMX5.mjs} +3729 -3536
- package/dist/chunk-S4NKWMX5.mjs.map +1 -0
- package/dist/{chunk-O2TEUH5S.mjs → chunk-XYKDBOCE.mjs} +2 -2
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +39 -4
- package/dist/components/index.d.ts +39 -4
- package/dist/components/index.js +12 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +144 -5
- package/dist/core/index.d.ts +144 -5
- package/dist/core/index.js +18 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +17 -1
- package/dist/email-automations/index.js +92 -92
- package/dist/email-automations/index.mjs +3 -3
- 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.js +150 -150
- package/dist/features/blog/index.mjs +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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/{s3.service-CzFBDEuQ.d.mts → s3.service-CRGJbO-6.d.mts} +18 -2
- package/dist/{s3.service-BTCpmp5g.d.ts → s3.service-DZG-VyLY.d.ts} +18 -2
- package/dist/server/index.d.mts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +2 -2
- package/messages/en.json +24 -0
- package/messages/it.json +24 -0
- package/package.json +1 -1
- package/src/components/index.ts +1 -0
- package/src/core/index.ts +6 -0
- package/src/core/registry/ModuleRegistry.ts +15 -0
- package/src/features/account-deletion/account-deletion.module.ts +13 -0
- package/src/features/account-deletion/components/AccountDeletionAdminTrigger.tsx +183 -0
- package/src/features/account-deletion/components/AccountDeletionCancelledNotice.tsx +51 -0
- package/src/features/account-deletion/components/AccountDeletionKeepContainer.tsx +74 -0
- package/src/features/account-deletion/components/index.ts +3 -0
- package/src/features/account-deletion/data/__tests__/AccountDeletion.spec.ts +89 -0
- package/src/features/account-deletion/data/account-deletion.interface.ts +22 -0
- package/src/features/account-deletion/data/account-deletion.service.ts +69 -0
- package/src/features/account-deletion/data/account-deletion.ts +90 -0
- package/src/features/account-deletion/data/index.ts +3 -0
- package/src/features/account-deletion/index.ts +4 -0
- package/src/features/account-deletion/utils/__tests__/account-deletion-notice.spec.ts +40 -0
- package/src/features/account-deletion/utils/account-deletion-notice.ts +27 -0
- package/src/features/account-deletion/utils/index.ts +1 -0
- package/src/features/auth/components/forms/Cookies.tsx +3 -0
- package/src/features/auth/components/forms/TwoFactorChallenge.tsx +2 -0
- package/src/features/auth/data/__tests__/auth.spec.ts +36 -0
- package/src/features/auth/data/__tests__/pending-registration.spec.ts +37 -0
- package/src/features/auth/data/auth.interface.ts +2 -0
- package/src/features/auth/data/auth.service.ts +23 -0
- package/src/features/auth/data/auth.ts +7 -0
- package/src/features/auth/data/index.ts +2 -0
- package/src/features/auth/data/pending-registration.interface.ts +10 -0
- package/src/features/auth/data/pending-registration.ts +57 -0
- package/src/features/auth/pending-registration.module.ts +9 -0
- package/src/features/user/contexts/UserContext.tsx +8 -0
- package/dist/chunk-3FD6Y734.mjs.map +0 -1
- package/dist/chunk-TIT4CJYQ.mjs.map +0 -1
- package/dist/chunk-XZCCIKX3.js.map +0 -1
- package/dist/chunk-Y7JIQNM6.js.map +0 -1
- /package/dist/{BlockNoteEditor-M6UQRVRK.mjs.map → BlockNoteEditor-HWJBQAKG.mjs.map} +0 -0
- /package/dist/{BlockNoteViewer-XZJ5Y7WN.mjs.map → BlockNoteViewer-IIBUU7J7.mjs.map} +0 -0
- /package/dist/{chunk-DYOSXIEL.mjs.map → chunk-EC4PQ44E.mjs.map} +0 -0
- /package/dist/{chunk-RUJCWOJE.mjs.map → chunk-OYRJ32KR.mjs.map} +0 -0
- /package/dist/{chunk-O2TEUH5S.mjs.map → chunk-XYKDBOCE.mjs.map} +0 -0
package/dist/core/index.mjs
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ACCOUNT_DELETION_CANCELLED_KEY,
|
|
2
3
|
AVAILABLE_OAUTH_SCOPES,
|
|
3
4
|
AbstractApiData,
|
|
4
5
|
AbstractService,
|
|
6
|
+
AccountDeletion,
|
|
7
|
+
AccountDeletionModule,
|
|
8
|
+
AccountDeletionService,
|
|
5
9
|
Action,
|
|
6
10
|
AiConnection,
|
|
7
11
|
AiConnectionFields,
|
|
@@ -129,6 +133,8 @@ import {
|
|
|
129
133
|
PasskeyVerifyLogin,
|
|
130
134
|
PasskeyVerifyLoginModule,
|
|
131
135
|
PaymentMethod,
|
|
136
|
+
PendingRegistration,
|
|
137
|
+
PendingRegistrationModule,
|
|
132
138
|
PermissionMappingModule,
|
|
133
139
|
Push,
|
|
134
140
|
PushModule,
|
|
@@ -222,6 +228,7 @@ import {
|
|
|
222
228
|
cn,
|
|
223
229
|
composeRefs,
|
|
224
230
|
configureTokenUsage,
|
|
231
|
+
consumeAccountDeletionCancelled,
|
|
225
232
|
couponPlacesLeft,
|
|
226
233
|
couponPlacesTotal,
|
|
227
234
|
createJsonApiInclusion,
|
|
@@ -259,6 +266,7 @@ import {
|
|
|
259
266
|
handbookSectionTitle,
|
|
260
267
|
isCreditWarningActive,
|
|
261
268
|
isRemoteImageSrc,
|
|
269
|
+
markAccountDeletionCancelled,
|
|
262
270
|
mergeMessages,
|
|
263
271
|
rehydrate,
|
|
264
272
|
rehydrateList,
|
|
@@ -276,7 +284,7 @@ import {
|
|
|
276
284
|
validateCodiceFiscale,
|
|
277
285
|
validateItalianTaxCode,
|
|
278
286
|
validatePartitaIva
|
|
279
|
-
} from "../chunk-
|
|
287
|
+
} from "../chunk-QNIWATQD.mjs";
|
|
280
288
|
import {
|
|
281
289
|
DataClassRegistry,
|
|
282
290
|
ENV,
|
|
@@ -293,9 +301,13 @@ import "../chunk-AUXK7QSA.mjs";
|
|
|
293
301
|
import "../chunk-PI56A4DG.mjs";
|
|
294
302
|
import "../chunk-PAWJFY3S.mjs";
|
|
295
303
|
export {
|
|
304
|
+
ACCOUNT_DELETION_CANCELLED_KEY,
|
|
296
305
|
AVAILABLE_OAUTH_SCOPES,
|
|
297
306
|
AbstractApiData,
|
|
298
307
|
AbstractService,
|
|
308
|
+
AccountDeletion,
|
|
309
|
+
AccountDeletionModule,
|
|
310
|
+
AccountDeletionService,
|
|
299
311
|
Action,
|
|
300
312
|
AiConnection,
|
|
301
313
|
AiConnectionFields,
|
|
@@ -427,6 +439,8 @@ export {
|
|
|
427
439
|
PasskeyVerifyLogin,
|
|
428
440
|
PasskeyVerifyLoginModule,
|
|
429
441
|
PaymentMethod,
|
|
442
|
+
PendingRegistration,
|
|
443
|
+
PendingRegistrationModule,
|
|
430
444
|
PermissionMappingModule,
|
|
431
445
|
Push,
|
|
432
446
|
PushModule,
|
|
@@ -520,6 +534,7 @@ export {
|
|
|
520
534
|
cn,
|
|
521
535
|
composeRefs,
|
|
522
536
|
configureTokenUsage,
|
|
537
|
+
consumeAccountDeletionCancelled,
|
|
523
538
|
couponPlacesLeft,
|
|
524
539
|
couponPlacesTotal,
|
|
525
540
|
createJsonApiInclusion,
|
|
@@ -559,6 +574,7 @@ export {
|
|
|
559
574
|
hasBootstrapper,
|
|
560
575
|
isCreditWarningActive,
|
|
561
576
|
isRemoteImageSrc,
|
|
577
|
+
markAccountDeletionCancelled,
|
|
562
578
|
mergeMessages,
|
|
563
579
|
rehydrate,
|
|
564
580
|
rehydrateList,
|