@carlonicora/nextjs-jsonapi 6.24.0 → 6.25.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-MONT74RQ.js → BlockNoteEditor-TNX77GCD.js} +28 -25
- package/dist/BlockNoteEditor-TNX77GCD.js.map +1 -0
- package/dist/{BlockNoteEditor-ENDOVTAW.mjs → BlockNoteEditor-Z5LDF47Z.mjs} +13 -10
- package/dist/{BlockNoteEditor-ENDOVTAW.mjs.map → BlockNoteEditor-Z5LDF47Z.mjs.map} +1 -1
- package/dist/{BlockNoteViewer-K2HBF3IP.js → BlockNoteViewer-6KQJODNF.js} +9 -7
- package/dist/BlockNoteViewer-6KQJODNF.js.map +1 -0
- package/dist/{BlockNoteViewer-2TJZ6JET.mjs → BlockNoteViewer-TQ452ZYW.mjs} +8 -6
- package/dist/{BlockNoteViewer-2TJZ6JET.mjs.map → BlockNoteViewer-TQ452ZYW.mjs.map} +1 -1
- package/dist/JsonApiRequest-OKNQZLS6.js +26 -0
- package/dist/{JsonApiRequest-KC6DOHKT.js.map → JsonApiRequest-OKNQZLS6.js.map} +1 -1
- package/dist/{JsonApiRequest-ADLBJ5RX.mjs → JsonApiRequest-WNPDS356.mjs} +2 -2
- package/dist/billing/index.js +504 -517
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +20 -33
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-VNUT2D27.mjs → chunk-2PWYG2WJ.mjs} +2 -2
- package/dist/{chunk-W4ML6D2X.mjs → chunk-3U7YJ73T.mjs} +7 -7
- package/dist/{chunk-BQ2WAG4K.js → chunk-3VNDFKT7.js} +19 -19
- package/dist/{chunk-BQ2WAG4K.js.map → chunk-3VNDFKT7.js.map} +1 -1
- package/dist/{chunk-BE6UMM5X.mjs → chunk-47HNJQ7U.mjs} +3 -3
- package/dist/chunk-5T2AQMQ2.mjs +90 -0
- package/dist/chunk-5T2AQMQ2.mjs.map +1 -0
- package/dist/{chunk-A5M3MORY.js → chunk-5WM72MLE.js} +3 -3
- package/dist/{chunk-A5M3MORY.js.map → chunk-5WM72MLE.js.map} +1 -1
- package/dist/{chunk-S7SPAC6X.mjs → chunk-73NKUBMP.mjs} +3 -3
- package/dist/chunk-743M4TIB.mjs +76 -0
- package/dist/chunk-743M4TIB.mjs.map +1 -0
- package/dist/{chunk-HN7L6RRW.js → chunk-CSBQAPHD.js} +903 -955
- package/dist/chunk-CSBQAPHD.js.map +1 -0
- package/dist/{chunk-YTDGYI62.mjs → chunk-DWPHHUMV.mjs} +3 -3
- package/dist/{chunk-53SD4YRF.js → chunk-FBHUUPRV.js} +5 -5
- package/dist/{chunk-53SD4YRF.js.map → chunk-FBHUUPRV.js.map} +1 -1
- package/dist/{chunk-T6G2F2BK.mjs → chunk-HJT7TXGG.mjs} +16 -68
- package/dist/chunk-HJT7TXGG.mjs.map +1 -0
- package/dist/chunk-HROKKUBQ.js +156 -0
- package/dist/chunk-HROKKUBQ.js.map +1 -0
- package/dist/{chunk-TMV7TL7O.mjs → chunk-JELEQV5T.mjs} +8 -6
- package/dist/{chunk-TMV7TL7O.mjs.map → chunk-JELEQV5T.mjs.map} +1 -1
- package/dist/{chunk-TNTCLVUR.js → chunk-JGL4P3DS.js} +17 -15
- package/dist/chunk-JGL4P3DS.js.map +1 -0
- package/dist/{chunk-7OIWOPM5.mjs → chunk-K7KLUYS7.mjs} +4 -3
- package/dist/chunk-K7KLUYS7.mjs.map +1 -0
- package/dist/{chunk-OZADFYE7.mjs → chunk-KVYYPKRO.mjs} +308 -241
- package/dist/chunk-KVYYPKRO.mjs.map +1 -0
- package/dist/{chunk-RCOKQ3R4.js → chunk-LNO2JLU3.js} +2 -2
- package/dist/{chunk-RCOKQ3R4.js.map → chunk-LNO2JLU3.js.map} +1 -1
- package/dist/{chunk-BDWV4KYR.js → chunk-M6SNTMK6.js} +1386 -1319
- package/dist/chunk-M6SNTMK6.js.map +1 -0
- package/dist/{chunk-GMMDXINC.js → chunk-N3NQS7X6.js} +12 -12
- package/dist/{chunk-GMMDXINC.js.map → chunk-N3NQS7X6.js.map} +1 -1
- package/dist/chunk-NP3AFULU.js +76 -0
- package/dist/chunk-NP3AFULU.js.map +1 -0
- package/dist/{chunk-SO3YUCL6.js → chunk-OOM54Z5Z.js} +6 -5
- package/dist/chunk-OOM54Z5Z.js.map +1 -0
- package/dist/{chunk-YSE2Z4RB.js → chunk-PQQFOONG.js} +12 -12
- package/dist/{chunk-YSE2Z4RB.js.map → chunk-PQQFOONG.js.map} +1 -1
- package/dist/chunk-RW6XZGZG.mjs +156 -0
- package/dist/chunk-RW6XZGZG.mjs.map +1 -0
- package/dist/chunk-SYMI4IDW.js +90 -0
- package/dist/chunk-SYMI4IDW.js.map +1 -0
- package/dist/{chunk-N2BFT7KI.mjs → chunk-W7U6O3OE.mjs} +2 -71
- package/dist/chunk-W7U6O3OE.mjs.map +1 -0
- package/dist/{chunk-YMCL3JXZ.mjs → chunk-YPBIPE2B.mjs} +2 -2
- package/dist/{chunk-P7L6OFX5.js → chunk-Z6T2575A.js} +12 -81
- package/dist/chunk-Z6T2575A.js.map +1 -0
- package/dist/client/index.js +13 -10
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +17 -14
- package/dist/components/forms/DatePickerPopover.d.ts.map +1 -1
- package/dist/components/forms/DateRangeSelector.d.ts.map +1 -1
- package/dist/components/forms/FormDate.d.ts.map +1 -1
- package/dist/components/forms/FormDateTime.d.ts.map +1 -1
- package/dist/components/forms/time-cycle.d.ts +14 -0
- package/dist/components/forms/time-cycle.d.ts.map +1 -0
- package/dist/components/index.js +11 -8
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +10 -7
- package/dist/components/tables/cells/cell.date.d.ts.map +1 -1
- package/dist/components/tables/cells/cell.dateTime.d.ts.map +1 -1
- package/dist/contexts/DateLocaleContext.d.ts +56 -0
- package/dist/contexts/DateLocaleContext.d.ts.map +1 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +24 -8
- package/dist/contexts/index.js.map +1 -1
- package/dist/contexts/index.mjs +23 -7
- package/dist/core/index.js +17 -6
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +19 -8
- package/dist/date-locale/index.d.ts +2 -0
- package/dist/date-locale/index.d.ts.map +1 -0
- package/dist/date-locale/index.js +21 -0
- package/dist/date-locale/index.js.map +1 -0
- package/dist/date-locale/index.mjs +21 -0
- package/dist/email-automations/index.js +131 -123
- package/dist/email-automations/index.js.map +1 -1
- package/dist/email-automations/index.mjs +23 -15
- package/dist/email-automations/index.mjs.map +1 -1
- package/dist/features/account-deletion/components/AccountDeletionAdminTrigger.d.ts.map +1 -1
- package/dist/features/analytics/components/AnalyticsJourneyContainer.d.ts.map +1 -1
- package/dist/features/analytics/components/AnalyticsSessionsTable.d.ts.map +1 -1
- package/dist/features/analytics/index.js +154 -147
- package/dist/features/analytics/index.js.map +1 -1
- package/dist/features/analytics/index.mjs +32 -25
- package/dist/features/analytics/index.mjs.map +1 -1
- package/dist/features/analytics/server.js +11 -9
- package/dist/features/analytics/server.js.map +1 -1
- package/dist/features/analytics/server.mjs +9 -7
- package/dist/features/analytics/server.mjs.map +1 -1
- package/dist/features/billing/components/utils/date.d.ts +3 -3
- package/dist/features/billing/components/utils/format-options.d.ts +6 -4
- package/dist/features/billing/components/utils/format-options.d.ts.map +1 -1
- package/dist/features/billing/components/utils/useBillingFormatOptions.d.ts +5 -1
- package/dist/features/billing/components/utils/useBillingFormatOptions.d.ts.map +1 -1
- package/dist/features/billing/stripe-usage/components/details/UsageSummaryCard.d.ts.map +1 -1
- package/dist/features/billing/stripe-usage/components/lists/UsageHistoryTable.d.ts.map +1 -1
- package/dist/features/blog/components/admin/BlogTranslationStatus.d.ts.map +1 -1
- package/dist/features/blog/components/public/BlogPostMeta.d.ts.map +1 -1
- package/dist/features/blog/hooks/useBlogPostTableStructure.d.ts.map +1 -1
- package/dist/features/blog/index.js +168 -162
- package/dist/features/blog/index.js.map +1 -1
- package/dist/features/blog/index.mjs +25 -19
- package/dist/features/blog/index.mjs.map +1 -1
- package/dist/features/blog/server.js +29 -27
- package/dist/features/blog/server.js.map +1 -1
- package/dist/features/blog/server.mjs +8 -6
- package/dist/features/blog/server.mjs.map +1 -1
- package/dist/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.d.ts.map +1 -1
- package/dist/features/handbook/components/parts/HandbookIndexStatus.d.ts.map +1 -1
- package/dist/features/help/components/HelpArticleBody.d.ts.map +1 -1
- package/dist/features/help/index.js +48 -43
- package/dist/features/help/index.js.map +1 -1
- package/dist/features/help/index.mjs +15 -10
- package/dist/features/help/index.mjs.map +1 -1
- package/dist/features/notification/components/notifications/Notification.d.ts +2 -1
- package/dist/features/notification/components/notifications/Notification.d.ts.map +1 -1
- package/dist/features/notification/contexts/NotificationContext.d.ts.map +1 -1
- package/dist/features/notification/hooks/useNotificationTableStructure.d.ts.map +1 -1
- package/dist/features/oauth/components/OAuthClientCard.d.ts.map +1 -1
- package/dist/features/oauth/components/OAuthClientDetail.d.ts.map +1 -1
- package/dist/features/tokenusage/index.js +133 -130
- package/dist/features/tokenusage/index.js.map +1 -1
- package/dist/features/tokenusage/index.mjs +10 -7
- package/dist/features/tokenusage/index.mjs.map +1 -1
- package/dist/features/tokenusage/lib/formatters.d.ts +6 -3
- package/dist/features/tokenusage/lib/formatters.d.ts.map +1 -1
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -11
- package/dist/local-transport-AT4TE264.js +15 -0
- package/dist/{local-transport-MJPOKPTU.js.map → local-transport-AT4TE264.js.map} +1 -1
- package/dist/{local-transport-RVD4FZGA.mjs → local-transport-KWEUZ4GX.mjs} +5 -5
- package/dist/offline/index.js +56 -54
- package/dist/offline/index.js.map +1 -1
- package/dist/offline/index.mjs +23 -21
- package/dist/offline/index.mjs.map +1 -1
- package/dist/{request-4AWGPIGH.mjs → request-6GAIWWTG.mjs} +2 -2
- package/dist/{request-H5FZBZA2.js → request-BWO4Y434.js} +3 -3
- package/dist/{request-H5FZBZA2.js.map → request-BWO4Y434.js.map} +1 -1
- package/dist/server/ServerSession.d.ts +2 -0
- package/dist/server/ServerSession.d.ts.map +1 -1
- package/dist/server/index.js +10 -8
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +9 -7
- package/dist/utils/date-formatter.d.ts +45 -4
- package/dist/utils/date-formatter.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/write-through-KNRI5L4V.mjs +15 -0
- package/dist/write-through-KNRI5L4V.mjs.map +1 -0
- package/dist/write-through-MYHQ6GJU.js +15 -0
- package/dist/{write-through-HE2QSOVI.js.map → write-through-MYHQ6GJU.js.map} +1 -1
- package/messages/en.json +1 -0
- package/messages/it.json +1 -0
- package/package.json +6 -1
- package/src/components/forms/DatePickerPopover.tsx +5 -3
- package/src/components/forms/DateRangeSelector.tsx +9 -7
- package/src/components/forms/FormDate.tsx +5 -3
- package/src/components/forms/FormDateTime.tsx +75 -39
- package/src/components/forms/__tests__/time-cycle.spec.ts +37 -0
- package/src/components/forms/time-cycle.ts +27 -0
- package/src/components/tables/cells/cell.date.tsx +3 -5
- package/src/components/tables/cells/cell.dateTime.tsx +3 -7
- package/src/contexts/DateLocaleContext.tsx +106 -0
- package/src/contexts/__tests__/DateLocaleContext.spec.tsx +175 -0
- package/src/contexts/index.ts +1 -0
- package/src/date-locale/index.ts +12 -0
- package/src/features/account-deletion/components/AccountDeletionAdminTrigger.tsx +3 -4
- package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +8 -8
- package/src/features/analytics/components/AnalyticsSessionsTable.tsx +4 -6
- package/src/features/auth/components/two-factor/PasskeyList.tsx +3 -3
- package/src/features/auth/components/two-factor/TotpAuthenticatorList.tsx +3 -3
- package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +14 -6
- package/src/features/billing/components/utils/date.ts +5 -5
- package/src/features/billing/components/utils/format-options.ts +6 -4
- package/src/features/billing/components/utils/useBillingFormatOptions.ts +8 -2
- package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +4 -12
- package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +4 -17
- package/src/features/blog/components/admin/BlogTranslationStatus.tsx +3 -2
- package/src/features/blog/components/public/BlogPostMeta.tsx +5 -4
- package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +1 -2
- package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +2 -3
- package/src/features/blog/hooks/useBlogPostTableStructure.tsx +4 -8
- package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +11 -5
- package/src/features/email-blast/components/containers/EmailBlastContainer.tsx +3 -3
- package/src/features/email-blast/hooks/useEmailBlastTableStructure.tsx +4 -4
- package/src/features/handbook/components/parts/HandbookIndexStatus.tsx +4 -3
- package/src/features/help/components/HelpArticleBody.tsx +4 -3
- package/src/features/notification/components/notifications/Notification.tsx +38 -7
- package/src/features/notification/contexts/NotificationContext.tsx +6 -3
- package/src/features/notification/hooks/useNotificationTableStructure.tsx +6 -5
- package/src/features/oauth/components/OAuthClientCard.tsx +8 -5
- package/src/features/oauth/components/OAuthClientDetail.tsx +3 -6
- package/src/features/tokenusage/lib/__tests__/formatters.spec.ts +19 -0
- package/src/features/tokenusage/lib/formatters.ts +11 -6
- package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +5 -5
- package/src/server/ServerSession.ts +3 -0
- package/src/server/__tests__/ServerSession.read.spec.ts +18 -1
- package/src/utils/__tests__/date-formatter.spec.ts +134 -10
- package/src/utils/date-formatter.ts +200 -44
- package/src/utils/index.ts +11 -1
- package/dist/BlockNoteEditor-MONT74RQ.js.map +0 -1
- package/dist/BlockNoteViewer-K2HBF3IP.js.map +0 -1
- package/dist/JsonApiRequest-KC6DOHKT.js +0 -26
- package/dist/chunk-7OIWOPM5.mjs.map +0 -1
- package/dist/chunk-BDWV4KYR.js.map +0 -1
- package/dist/chunk-HN7L6RRW.js.map +0 -1
- package/dist/chunk-N2BFT7KI.mjs.map +0 -1
- package/dist/chunk-OZADFYE7.mjs.map +0 -1
- package/dist/chunk-P7L6OFX5.js.map +0 -1
- package/dist/chunk-SO3YUCL6.js.map +0 -1
- package/dist/chunk-T6G2F2BK.mjs.map +0 -1
- package/dist/chunk-TNTCLVUR.js.map +0 -1
- package/dist/local-transport-MJPOKPTU.js +0 -15
- package/dist/write-through-7I3LA2WN.mjs +0 -15
- package/dist/write-through-HE2QSOVI.js +0 -15
- /package/dist/{JsonApiRequest-ADLBJ5RX.mjs.map → JsonApiRequest-WNPDS356.mjs.map} +0 -0
- /package/dist/{chunk-VNUT2D27.mjs.map → chunk-2PWYG2WJ.mjs.map} +0 -0
- /package/dist/{chunk-W4ML6D2X.mjs.map → chunk-3U7YJ73T.mjs.map} +0 -0
- /package/dist/{chunk-BE6UMM5X.mjs.map → chunk-47HNJQ7U.mjs.map} +0 -0
- /package/dist/{chunk-S7SPAC6X.mjs.map → chunk-73NKUBMP.mjs.map} +0 -0
- /package/dist/{chunk-YTDGYI62.mjs.map → chunk-DWPHHUMV.mjs.map} +0 -0
- /package/dist/{chunk-YMCL3JXZ.mjs.map → chunk-YPBIPE2B.mjs.map} +0 -0
- /package/dist/{local-transport-RVD4FZGA.mjs.map → date-locale/index.mjs.map} +0 -0
- /package/dist/{request-4AWGPIGH.mjs.map → local-transport-KWEUZ4GX.mjs.map} +0 -0
- /package/dist/{write-through-7I3LA2WN.mjs.map → request-6GAIWWTG.mjs.map} +0 -0
package/dist/offline/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkPQQFOONGjs = require('../chunk-PQQFOONG.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -20,7 +20,6 @@ var _chunkYSE2Z4RBjs = require('../chunk-YSE2Z4RB.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var _chunk6RCZ64BQjs = require('../chunk-6RCZ64BQ.js');
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
|
|
@@ -30,6 +29,7 @@ var _chunk6RCZ64BQjs = require('../chunk-6RCZ64BQ.js');
|
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
|
|
32
|
+
var _chunkFBHUUPRVjs = require('../chunk-FBHUUPRV.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -41,7 +41,7 @@ var _chunk6RCZ64BQjs = require('../chunk-6RCZ64BQ.js');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunk6RCZ64BQjs = require('../chunk-6RCZ64BQ.js');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
@@ -51,13 +51,11 @@ var _chunkDGN3PR2Fjs = require('../chunk-DGN3PR2F.js');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
var _chunkZ6T2575Ajs = require('../chunk-Z6T2575A.js');
|
|
55
|
+
require('../chunk-3VNDFKT7.js');
|
|
54
56
|
|
|
55
57
|
|
|
56
|
-
var
|
|
57
|
-
require('../chunk-BQ2WAG4K.js');
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var _chunkA5M3MORYjs = require('../chunk-A5M3MORY.js');
|
|
58
|
+
var _chunk5WM72MLEjs = require('../chunk-5WM72MLE.js');
|
|
61
59
|
|
|
62
60
|
|
|
63
61
|
|
|
@@ -94,12 +92,16 @@ var _chunkWUNSG3INjs = require('../chunk-WUNSG3IN.js');
|
|
|
94
92
|
|
|
95
93
|
|
|
96
94
|
|
|
97
|
-
var
|
|
95
|
+
var _chunkLNO2JLU3js = require('../chunk-LNO2JLU3.js');
|
|
98
96
|
|
|
99
97
|
|
|
100
98
|
var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
|
|
101
99
|
|
|
102
100
|
|
|
101
|
+
|
|
102
|
+
var _chunkNP3AFULUjs = require('../chunk-NP3AFULU.js');
|
|
103
|
+
|
|
104
|
+
|
|
103
105
|
var _chunk7QVYU63Ejs = require('../chunk-7QVYU63E.js');
|
|
104
106
|
|
|
105
107
|
// src/offline/configure.ts
|
|
@@ -114,9 +116,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, configureOffline2, "configureOffline");
|
|
|
114
116
|
// src/offline/sync/session-refresh.ts
|
|
115
117
|
var _cookiesnext = require('cookies-next');
|
|
116
118
|
function currentLocale() {
|
|
117
|
-
if (typeof window === "undefined") return
|
|
119
|
+
if (typeof window === "undefined") return _chunkNP3AFULUjs.getI18nDefaultLocale.call(void 0, );
|
|
118
120
|
const first = window.location.pathname.split("/").filter(Boolean)[0];
|
|
119
|
-
return first &&
|
|
121
|
+
return first && _chunkNP3AFULUjs.getI18nSupportedLocales.call(void 0, ).includes(first) ? first : _chunkNP3AFULUjs.getI18nDefaultLocale.call(void 0, );
|
|
120
122
|
}
|
|
121
123
|
_chunk7QVYU63Ejs.__name.call(void 0, currentLocale, "currentLocale");
|
|
122
124
|
async function refreshSession() {
|
|
@@ -142,7 +144,7 @@ function assertStillOnline() {
|
|
|
142
144
|
_chunk7QVYU63Ejs.__name.call(void 0, assertStillOnline, "assertStillOnline");
|
|
143
145
|
var isSkippable = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (status) => status === 403 || status === 404, "isSkippable");
|
|
144
146
|
async function fetchResources(module, endpoint, skipped, included) {
|
|
145
|
-
const response = await
|
|
147
|
+
const response = await _chunkLNO2JLU3js.JsonApiGet.call(void 0, { classKey: module, endpoint, language: currentLocale() });
|
|
146
148
|
assertStillOnline();
|
|
147
149
|
if (!response.ok) {
|
|
148
150
|
if (isSkippable(response.response)) {
|
|
@@ -216,13 +218,13 @@ async function syncRoot(rootId, kind) {
|
|
|
216
218
|
const rootKind = _nullishCoalesce(kind, () => ( _chunkWUNSG3INjs.rootKinds.call(void 0, config)[0]));
|
|
217
219
|
const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
|
|
218
220
|
const previous = await store.getSyncState(rootId);
|
|
219
|
-
const syncEndpoint = new (0,
|
|
221
|
+
const syncEndpoint = new (0, _chunkZ6T2575Ajs.EndpointCreator)({
|
|
220
222
|
endpoint: rootKind.module,
|
|
221
223
|
id: rootId,
|
|
222
|
-
childEndpoint:
|
|
224
|
+
childEndpoint: _chunkZ6T2575Ajs.ROOT_SYNC_ENDPOINT
|
|
223
225
|
}).generate();
|
|
224
|
-
const syncResponse = await
|
|
225
|
-
classKey: _nullishCoalesce(rootKind.syncModule, () => (
|
|
226
|
+
const syncResponse = await _chunkLNO2JLU3js.JsonApiGet.call(void 0, {
|
|
227
|
+
classKey: _nullishCoalesce(rootKind.syncModule, () => ( _chunkZ6T2575Ajs.Modules.RootSync)),
|
|
226
228
|
endpoint: syncEndpoint,
|
|
227
229
|
language: currentLocale()
|
|
228
230
|
});
|
|
@@ -241,25 +243,25 @@ async function syncRoot(rootId, kind) {
|
|
|
241
243
|
locked: true,
|
|
242
244
|
lockedFrom: _nullishCoalesce(sync.lockedFrom, () => ( null))
|
|
243
245
|
});
|
|
244
|
-
await
|
|
246
|
+
await _chunkPQQFOONGjs.refreshLockedRoots.call(void 0, );
|
|
245
247
|
return;
|
|
246
248
|
}
|
|
247
249
|
const typeNames = new Set(config.types.map((typeConfig) => typeConfig.module.name));
|
|
248
250
|
const entries = sync.entries.filter((entry) => typeNames.has(entry.type));
|
|
249
|
-
const entryUpdatedAt = new Map(entries.map((entry) => [
|
|
251
|
+
const entryUpdatedAt = new Map(entries.map((entry) => [_chunkPQQFOONGjs.recordKeyOf.call(void 0, entry.type, entry.id), entry.updatedAt]));
|
|
250
252
|
const since = previous.serverTime;
|
|
251
253
|
const inWindow = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (entry) => !since || entry.updatedAt.getTime() > since.getTime(), "inWindow");
|
|
252
254
|
const stored = /* @__PURE__ */ new Map();
|
|
253
255
|
for (const typeConfig of config.types) {
|
|
254
256
|
for (const record of await store.listRecords({ type: typeConfig.module.name, rootId })) {
|
|
255
|
-
stored.set(
|
|
257
|
+
stored.set(_chunkPQQFOONGjs.recordKeyOf.call(void 0, record.type, record.id), record);
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
const previouslySkipped = new Map(
|
|
259
|
-
(await store.skippedRecords(rootId)).map((record) => [
|
|
261
|
+
(await store.skippedRecords(rootId)).map((record) => [_chunkPQQFOONGjs.recordKeyOf.call(void 0, record.type, record.id), record.updatedAt])
|
|
260
262
|
);
|
|
261
263
|
const isStale = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (entry) => {
|
|
262
|
-
const key =
|
|
264
|
+
const key = _chunkPQQFOONGjs.recordKeyOf.call(void 0, entry.type, entry.id);
|
|
263
265
|
const record = stored.get(key);
|
|
264
266
|
if (record && record.updatedAt !== null) return false;
|
|
265
267
|
const skippedAt = previouslySkipped.get(key);
|
|
@@ -290,7 +292,7 @@ async function syncRoot(rootId, kind) {
|
|
|
290
292
|
];
|
|
291
293
|
}
|
|
292
294
|
if (typeConfig.fetch === "root-list") {
|
|
293
|
-
const endpoint = new (0,
|
|
295
|
+
const endpoint = new (0, _chunkZ6T2575Ajs.EndpointCreator)({
|
|
294
296
|
endpoint: rootKind.module,
|
|
295
297
|
id: rootId,
|
|
296
298
|
childEndpoint: typeConfig.module
|
|
@@ -311,7 +313,7 @@ async function syncRoot(rootId, kind) {
|
|
|
311
313
|
for (const link of sync.links) {
|
|
312
314
|
if (link.kind !== linkKind || link.fromType !== typeConfig.module.name || !changedIds.has(link.fromId))
|
|
313
315
|
continue;
|
|
314
|
-
targets.set(
|
|
316
|
+
targets.set(_chunkPQQFOONGjs.recordKeyOf.call(void 0, link.toType, link.toId), { type: link.toType, id: link.toId });
|
|
315
317
|
}
|
|
316
318
|
return [...targets.values()].map((target) => async () => {
|
|
317
319
|
const resources = await fetchResources(typeConfig.module, endpoint(rootId, target), skipped, included);
|
|
@@ -321,7 +323,7 @@ async function syncRoot(rootId, kind) {
|
|
|
321
323
|
});
|
|
322
324
|
}
|
|
323
325
|
return changedOfType.map((entry) => async () => {
|
|
324
|
-
const endpoint = new (0,
|
|
326
|
+
const endpoint = new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: typeConfig.module, id: entry.id }).generate();
|
|
325
327
|
fetched.push(...await fetchResources(typeConfig.module, endpoint, skipped, included));
|
|
326
328
|
});
|
|
327
329
|
}, "fetchTasksOf");
|
|
@@ -329,14 +331,14 @@ async function syncRoot(rootId, kind) {
|
|
|
329
331
|
const otherTypes = config.types.filter((typeConfig) => typeConfig.module.name !== rootTypeName);
|
|
330
332
|
await runWithConcurrency(rootTypes.flatMap(fetchTasksOf), SYNC_FETCH_CONCURRENCY);
|
|
331
333
|
await runWithConcurrency(otherTypes.flatMap(fetchTasksOf), SYNC_FETCH_CONCURRENCY);
|
|
332
|
-
const fetchedKeys = new Set(fetched.map((resource) =>
|
|
334
|
+
const fetchedKeys = new Set(fetched.map((resource) => _chunkPQQFOONGjs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _11 => _11.type]), _optionalChain([resource, 'optionalAccess', _12 => _12.id]))));
|
|
333
335
|
const previousImageUrls = /* @__PURE__ */ new Map();
|
|
334
336
|
const removedImageUrls = [];
|
|
335
337
|
await store.transaction(async (tx) => {
|
|
336
|
-
const waiting =
|
|
338
|
+
const waiting = _chunkPQQFOONGjs.waitingRecordKeys.call(void 0, await tx.queue(), typeNames);
|
|
337
339
|
for (const typeConfig of config.types) {
|
|
338
340
|
for (const record of await tx.listRecords({ type: typeConfig.module.name, rootId })) {
|
|
339
|
-
const key =
|
|
341
|
+
const key = _chunkPQQFOONGjs.recordKeyOf.call(void 0, record.type, record.id);
|
|
340
342
|
if (waiting.has(key)) {
|
|
341
343
|
if (record.updatedAt !== null) await tx.putRecord({ ...record, updatedAt: null });
|
|
342
344
|
continue;
|
|
@@ -348,7 +350,7 @@ async function syncRoot(rootId, kind) {
|
|
|
348
350
|
}
|
|
349
351
|
}
|
|
350
352
|
for (const resource of fetched) {
|
|
351
|
-
const key =
|
|
353
|
+
const key = _chunkPQQFOONGjs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _13 => _13.type]), _optionalChain([resource, 'optionalAccess', _14 => _14.id]));
|
|
352
354
|
if (!entryUpdatedAt.has(key)) continue;
|
|
353
355
|
if (waiting.has(key)) continue;
|
|
354
356
|
const existing = await tx.getRecord(resource.type, resource.id);
|
|
@@ -377,9 +379,9 @@ async function syncRoot(rootId, kind) {
|
|
|
377
379
|
});
|
|
378
380
|
}
|
|
379
381
|
const skippedRecords = [];
|
|
380
|
-
const changedKeys = new Set(changed.map((entry) =>
|
|
382
|
+
const changedKeys = new Set(changed.map((entry) => _chunkPQQFOONGjs.recordKeyOf.call(void 0, entry.type, entry.id)));
|
|
381
383
|
for (const entry of entries) {
|
|
382
|
-
const key =
|
|
384
|
+
const key = _chunkPQQFOONGjs.recordKeyOf.call(void 0, entry.type, entry.id);
|
|
383
385
|
if (waiting.has(key) || fetchedKeys.has(key)) continue;
|
|
384
386
|
if (changedKeys.has(key)) skippedRecords.push({ type: entry.type, id: entry.id, updatedAt: entry.updatedAt });
|
|
385
387
|
else {
|
|
@@ -402,10 +404,10 @@ async function syncRoot(rootId, kind) {
|
|
|
402
404
|
for (const typeConfig of config.types) {
|
|
403
405
|
for (const record of await store.listRecords({ type: typeConfig.module.name, rootId })) {
|
|
404
406
|
const url = _chunk6RCZ64BQjs.imageUrlOf.call(void 0, record.resource);
|
|
405
|
-
if (url) await _chunk6RCZ64BQjs.cacheArtworkImage.call(void 0, url, previousImageUrls.get(
|
|
407
|
+
if (url) await _chunk6RCZ64BQjs.cacheArtworkImage.call(void 0, url, previousImageUrls.get(_chunkPQQFOONGjs.recordKeyOf.call(void 0, record.type, record.id)));
|
|
406
408
|
}
|
|
407
409
|
}
|
|
408
|
-
await
|
|
410
|
+
await _chunkPQQFOONGjs.refreshLockedRoots.call(void 0, );
|
|
409
411
|
}
|
|
410
412
|
_chunk7QVYU63Ejs.__name.call(void 0, syncRoot, "syncRoot");
|
|
411
413
|
async function syncAll() {
|
|
@@ -447,7 +449,7 @@ async function syncAll() {
|
|
|
447
449
|
}
|
|
448
450
|
}
|
|
449
451
|
}
|
|
450
|
-
|
|
452
|
+
_chunkPQQFOONGjs.rememberSyncRoots.call(void 0, [...kept], extraRoots);
|
|
451
453
|
const total = work.length;
|
|
452
454
|
_chunkWUNSG3INjs.setOfflineState.call(void 0, { syncProgress: { done: 0, total } });
|
|
453
455
|
try {
|
|
@@ -468,10 +470,10 @@ async function syncAll() {
|
|
|
468
470
|
if (userId) _chunkWUNSG3INjs.writeOfflineLastSync.call(void 0, userId, finishedAt);
|
|
469
471
|
_chunkWUNSG3INjs.setOfflineState.call(void 0, { lastSyncedAt: finishedAt, rootCount: primaryRoots.length });
|
|
470
472
|
const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
|
|
471
|
-
for (const rootId of await
|
|
473
|
+
for (const rootId of await _chunkPQQFOONGjs.knownRootIds.call(void 0, store)) {
|
|
472
474
|
if (!kept.has(rootId)) await removeRootIfIdle(store, rootId);
|
|
473
475
|
}
|
|
474
|
-
await
|
|
476
|
+
await _chunkPQQFOONGjs.refreshLockedRoots.call(void 0, );
|
|
475
477
|
} finally {
|
|
476
478
|
_chunkWUNSG3INjs.setOfflineState.call(void 0, { syncProgress: null });
|
|
477
479
|
}
|
|
@@ -557,7 +559,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, packageIdFor, "packageIdFor");
|
|
|
557
559
|
async function entriesToSend(store) {
|
|
558
560
|
const all = await store.queue();
|
|
559
561
|
const typeNames = syncedTypeNames();
|
|
560
|
-
const blocked =
|
|
562
|
+
const blocked = _chunkPQQFOONGjs.waitingRecordKeys.call(void 0,
|
|
561
563
|
all.filter((entry) => entry.status === "conflict"),
|
|
562
564
|
typeNames
|
|
563
565
|
);
|
|
@@ -567,7 +569,7 @@ async function entriesToSend(store) {
|
|
|
567
569
|
const result = [];
|
|
568
570
|
for (const entry of all) {
|
|
569
571
|
if (entry.status !== "pending" && entry.status !== "sending") continue;
|
|
570
|
-
if (
|
|
572
|
+
if (_chunkPQQFOONGjs.recordKeysOfEntry.call(void 0, entry, typeNames).some((key) => blocked.has(key))) continue;
|
|
571
573
|
if (!lockedByRoot.has(entry.rootId)) {
|
|
572
574
|
lockedByRoot.set(
|
|
573
575
|
entry.rootId,
|
|
@@ -584,8 +586,8 @@ async function applyResult(store, entry, result) {
|
|
|
584
586
|
if (result.status === "applied") {
|
|
585
587
|
await store.removeQueueEntry(entry.seq);
|
|
586
588
|
const typeNames = syncedTypeNames();
|
|
587
|
-
const stillWaiting =
|
|
588
|
-
for (const key of
|
|
589
|
+
const stillWaiting = _chunkPQQFOONGjs.waitingRecordKeys.call(void 0, await store.queue(), typeNames);
|
|
590
|
+
for (const key of _chunkPQQFOONGjs.recordKeysOfEntry.call(void 0, entry, typeNames)) {
|
|
589
591
|
if (stillWaiting.has(key)) continue;
|
|
590
592
|
const separator = key.indexOf(":");
|
|
591
593
|
const record = await store.getRecord(key.slice(0, separator), key.slice(separator + 1));
|
|
@@ -594,12 +596,12 @@ async function applyResult(store, entry, result) {
|
|
|
594
596
|
}
|
|
595
597
|
}
|
|
596
598
|
if (result.response) {
|
|
597
|
-
await
|
|
599
|
+
await _chunkPQQFOONGjs.writeThrough.call(void 0,
|
|
598
600
|
{ method: entry.method, url: entry.path },
|
|
599
601
|
{ ok: true, status: 200, statusText: "OK", data: result.response }
|
|
600
602
|
);
|
|
601
603
|
} else if (entry.method === "DELETE") {
|
|
602
|
-
await
|
|
604
|
+
await _chunkPQQFOONGjs.writeThrough.call(void 0,
|
|
603
605
|
{ method: entry.method, url: entry.path },
|
|
604
606
|
{ ok: true, status: 204, statusText: "OK", data: void 0 }
|
|
605
607
|
);
|
|
@@ -645,12 +647,12 @@ async function drain() {
|
|
|
645
647
|
packageId
|
|
646
648
|
);
|
|
647
649
|
for (const entry of entries) await store.setQueueStatus(entry.seq, "sending");
|
|
648
|
-
const endpoint = new (0,
|
|
649
|
-
const release = _chunkWUNSG3INjs.allowWhileReconnecting.call(void 0,
|
|
650
|
+
const endpoint = new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: _chunkZ6T2575Ajs.Modules.OfflineChangeSet }).generate();
|
|
651
|
+
const release = _chunkWUNSG3INjs.allowWhileReconnecting.call(void 0, _chunkLNO2JLU3js.buildUrl.call(void 0, endpoint));
|
|
650
652
|
let response;
|
|
651
653
|
try {
|
|
652
|
-
response = await
|
|
653
|
-
classKey:
|
|
654
|
+
response = await _chunkLNO2JLU3js.JsonApiPost.call(void 0, {
|
|
655
|
+
classKey: _chunkZ6T2575Ajs.Modules.OfflineChangeSet,
|
|
654
656
|
endpoint,
|
|
655
657
|
body: { id: packageId, changes: entries.map(toChange) },
|
|
656
658
|
language: currentLocale()
|
|
@@ -733,7 +735,7 @@ async function rootIdOf(store, conflict, entry) {
|
|
|
733
735
|
_chunk7QVYU63Ejs.__name.call(void 0, rootIdOf, "rootIdOf");
|
|
734
736
|
function collectionPath(recordType) {
|
|
735
737
|
const module = _optionalChain([_chunkWUNSG3INjs.getOfflineConfig.call(void 0, ), 'access', _32 => _32.types, 'access', _33 => _33.find, 'call', _34 => _34((typeConfig) => typeConfig.module.name === recordType), 'optionalAccess', _35 => _35.module]);
|
|
736
|
-
return new (0,
|
|
738
|
+
return new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: _nullishCoalesce(module, () => ( recordType)) }).generate();
|
|
737
739
|
}
|
|
738
740
|
_chunk7QVYU63Ejs.__name.call(void 0, collectionPath, "collectionPath");
|
|
739
741
|
async function requeueOriginal(store, conflict, entry, fallbackMethod, resolution) {
|
|
@@ -742,7 +744,7 @@ async function requeueOriginal(store, conflict, entry, fallbackMethod, resolutio
|
|
|
742
744
|
await store.enqueue({
|
|
743
745
|
rootId: await rootIdOf(store, conflict, entry),
|
|
744
746
|
method,
|
|
745
|
-
path: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _38 => _38.path]), () => ( new (0,
|
|
747
|
+
path: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _38 => _38.path]), () => ( new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: collectionPath(conflict.recordType), id: conflict.recordId }).generate())),
|
|
746
748
|
...body !== void 0 ? { body } : {},
|
|
747
749
|
recordType: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _39 => _39.recordType]), () => ( conflict.recordType)),
|
|
748
750
|
recordId: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _40 => _40.recordId]), () => ( conflict.recordId)),
|
|
@@ -862,11 +864,11 @@ var PROBE_INTERVAL_MS = 3e4;
|
|
|
862
864
|
async function probeApi() {
|
|
863
865
|
const config = _chunkWUNSG3INjs.getOfflineConfig.call(void 0, );
|
|
864
866
|
const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
|
|
865
|
-
const [rootId] = await
|
|
866
|
-
const endpoint = rootId ? new (0,
|
|
867
|
-
const response = await
|
|
867
|
+
const [rootId] = await _chunkPQQFOONGjs.knownPrimaryRootIds.call(void 0, store);
|
|
868
|
+
const endpoint = rootId ? new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: config.rootModule, id: rootId, childEndpoint: _chunkZ6T2575Ajs.ROOT_SYNC_ENDPOINT }) : new (0, _chunkZ6T2575Ajs.EndpointCreator)({ endpoint: config.rootModule }).addAdditionalParam("page[size]", "1");
|
|
869
|
+
const response = await _chunk5WM72MLEjs.directFetch.call(void 0, {
|
|
868
870
|
method: "GET",
|
|
869
|
-
url:
|
|
871
|
+
url: _chunkLNO2JLU3js.buildUrl.call(void 0, endpoint.generate()),
|
|
870
872
|
token: await _chunkLXKSUWAVjs.getClientToken.call(void 0, ),
|
|
871
873
|
language: currentLocale(),
|
|
872
874
|
additionalHeaders: { [_chunkWUNSG3INjs.OFFLINE_REPLAY_HEADER]: "1" }
|
|
@@ -986,7 +988,7 @@ function startOfflineRuntime() {
|
|
|
986
988
|
if (state.online && !wasOnline && !goingOnlineAfterSync) void runOnline();
|
|
987
989
|
wasOnline = state.online;
|
|
988
990
|
});
|
|
989
|
-
void
|
|
991
|
+
void _chunkPQQFOONGjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
|
|
990
992
|
void refreshOfflineCounts().catch(warnUnlessUnavailable("[offline] reading the queue failed"));
|
|
991
993
|
if (_chunkWUNSG3INjs.getOfflineState.call(void 0, ).online) void runOnline();
|
|
992
994
|
const syncTimer = setInterval(() => {
|
|
@@ -994,7 +996,7 @@ function startOfflineRuntime() {
|
|
|
994
996
|
}, config.syncIntervalMs);
|
|
995
997
|
const probeTimer = setInterval(() => void probe(), PROBE_INTERVAL_MS);
|
|
996
998
|
const lockTimer = setInterval(() => {
|
|
997
|
-
void
|
|
999
|
+
void _chunkPQQFOONGjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
|
|
998
1000
|
}, LOCK_CHECK_INTERVAL_MS);
|
|
999
1001
|
const stop = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
|
|
1000
1002
|
_runningRuntimes.delete(stop);
|
|
@@ -1140,5 +1142,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, turnOffOffline, "turnOffOffline");
|
|
|
1140
1142
|
|
|
1141
1143
|
|
|
1142
1144
|
|
|
1143
|
-
exports.DEFAULT_DEVICE_WORKER_URL = _chunkWUNSG3INjs.DEFAULT_DEVICE_WORKER_URL; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.DEVICE_WORKER_FILE = _chunkWUNSG3INjs.DEVICE_WORKER_FILE; exports.DeviceStoreUnavailableError = _chunkWUNSG3INjs.DeviceStoreUnavailableError; exports.NeedsConnectionError = _chunkWUNSG3INjs.NeedsConnectionError; exports.OFFLINE_REPLAY_HEADER = _chunkWUNSG3INjs.OFFLINE_REPLAY_HEADER; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.OfflineUnavailableError = _chunkWUNSG3INjs.OfflineUnavailableError; exports.RootSync =
|
|
1145
|
+
exports.DEFAULT_DEVICE_WORKER_URL = _chunkWUNSG3INjs.DEFAULT_DEVICE_WORKER_URL; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.DEVICE_WORKER_FILE = _chunkWUNSG3INjs.DEVICE_WORKER_FILE; exports.DeviceStoreUnavailableError = _chunkWUNSG3INjs.DeviceStoreUnavailableError; exports.NeedsConnectionError = _chunkWUNSG3INjs.NeedsConnectionError; exports.OFFLINE_REPLAY_HEADER = _chunkWUNSG3INjs.OFFLINE_REPLAY_HEADER; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.OfflineUnavailableError = _chunkWUNSG3INjs.OfflineUnavailableError; exports.RootSync = _chunkZ6T2575Ajs.RootSync; exports.SERVER_DEFAULT_ORDER_BY = _chunkFBHUUPRVjs.SERVER_DEFAULT_ORDER_BY; exports.SYNC_FETCH_CONCURRENCY = SYNC_FETCH_CONCURRENCY; exports.configureOffline = configureOffline2; exports.deleteDeviceStore = _chunk6RCZ64BQjs.deleteDeviceStore; exports.drainQueue = drainQueue; exports.errorAnswer = _chunkFBHUUPRVjs.errorAnswer; exports.finishOfflineLogout = finishOfflineLogout; exports.forgetOfflineStore = _chunkWUNSG3INjs.forgetOfflineStore; exports.getOfflineConfig = _chunkWUNSG3INjs.getOfflineConfig; exports.getOfflineState = _chunkWUNSG3INjs.getOfflineState; exports.getOfflineStore = _chunkWUNSG3INjs.getOfflineStore; exports.hasUnsentChanges = _chunk6RCZ64BQjs.hasUnsentChanges; exports.includedFor = _chunkFBHUUPRVjs.includedFor; exports.isOfflineAvailable = _chunkWUNSG3INjs.isOfflineAvailable; exports.isOfflineConfigured = _chunkWUNSG3INjs.isOfflineConfigured; exports.isOfflineEnabledOnDevice = _chunkWUNSG3INjs.isOfflineEnabledOnDevice; exports.isRootLocked = _chunk6RCZ64BQjs.isRootLocked; exports.linkKindFor = _chunkFBHUUPRVjs.linkKindFor; exports.linkKindsOf = _chunkFBHUUPRVjs.linkKindsOf; exports.linksOfKind = _chunkFBHUUPRVjs.linksOfKind; exports.listAnswer = _chunkFBHUUPRVjs.listAnswer; exports.localTransport = _chunkFBHUUPRVjs.localTransport; exports.matchPattern = _chunkFBHUUPRVjs.matchPattern; exports.matchRoute = _chunkFBHUUPRVjs.matchRoute; exports.mergeResource = _chunkFBHUUPRVjs.mergeResource; exports.needsConnectionAnswer = _chunkFBHUUPRVjs.needsConnectionAnswer; exports.notFoundAnswer = _chunkFBHUUPRVjs.notFoundAnswer; exports.onUserSignedIn = _chunk6RCZ64BQjs.onUserSignedIn; exports.openDeviceStore = _chunk6RCZ64BQjs.openDeviceStore; exports.openMemoryDeviceStore = _chunk6RCZ64BQjs.openMemoryDeviceStore; exports.orderRecords = _chunkFBHUUPRVjs.orderRecords; exports.orderedListAnswer = _chunkFBHUUPRVjs.orderedListAnswer; exports.patternToString = _chunkWUNSG3INjs.patternToString; exports.prepareOfflineLogout = prepareOfflineLogout; exports.refreshOfflineDeviceState = _chunkWUNSG3INjs.refreshOfflineDeviceState; exports.resolveConflict = resolveConflict; exports.resourceFromDocument = _chunkFBHUUPRVjs.resourceFromDocument; exports.resourceListAnswer = _chunkFBHUUPRVjs.resourceListAnswer; exports.searchRecords = _chunkFBHUUPRVjs.searchRecords; exports.setDeviceStoreOpener = _chunkWUNSG3INjs.setDeviceStoreOpener; exports.setOfflineState = _chunkWUNSG3INjs.setOfflineState; exports.singleAnswer = _chunkFBHUUPRVjs.singleAnswer; exports.startOfflineRuntime = startOfflineRuntime; exports.stopOfflineRuntime = stopOfflineRuntime; exports.subscribeOfflineState = _chunkWUNSG3INjs.subscribeOfflineState; exports.syncAll = syncAll; exports.syncRoot = syncRoot; exports.turnOffOffline = turnOffOffline; exports.turnOnOffline = turnOnOffline; exports.useConflicts = useConflicts; exports.useNeedsConnection = _chunkDGN3PR2Fjs.useNeedsConnection; exports.useOfflineState = _chunkDGN3PR2Fjs.useOfflineState; exports.writeThrough = _chunkPQQFOONGjs.writeThrough;
|
|
1144
1146
|
//# sourceMappingURL=index.js.map
|