@carlonicora/nextjs-jsonapi 6.24.0 → 6.26.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.
Files changed (250) hide show
  1. package/dist/{BlockNoteEditor-MONT74RQ.js → BlockNoteEditor-JHXDOCS5.js} +28 -25
  2. package/dist/BlockNoteEditor-JHXDOCS5.js.map +1 -0
  3. package/dist/{BlockNoteEditor-ENDOVTAW.mjs → BlockNoteEditor-RVDSB6TF.mjs} +13 -10
  4. package/dist/{BlockNoteEditor-ENDOVTAW.mjs.map → BlockNoteEditor-RVDSB6TF.mjs.map} +1 -1
  5. package/dist/{BlockNoteViewer-2TJZ6JET.mjs → BlockNoteViewer-76CKL6W5.mjs} +8 -6
  6. package/dist/{BlockNoteViewer-2TJZ6JET.mjs.map → BlockNoteViewer-76CKL6W5.mjs.map} +1 -1
  7. package/dist/{BlockNoteViewer-K2HBF3IP.js → BlockNoteViewer-B25WKYQP.js} +9 -7
  8. package/dist/BlockNoteViewer-B25WKYQP.js.map +1 -0
  9. package/dist/JsonApiRequest-OKNQZLS6.js +26 -0
  10. package/dist/{JsonApiRequest-KC6DOHKT.js.map → JsonApiRequest-OKNQZLS6.js.map} +1 -1
  11. package/dist/{JsonApiRequest-ADLBJ5RX.mjs → JsonApiRequest-WNPDS356.mjs} +2 -2
  12. package/dist/billing/index.js +504 -517
  13. package/dist/billing/index.js.map +1 -1
  14. package/dist/billing/index.mjs +20 -33
  15. package/dist/billing/index.mjs.map +1 -1
  16. package/dist/{chunk-VNUT2D27.mjs → chunk-2PWYG2WJ.mjs} +2 -2
  17. package/dist/{chunk-W4ML6D2X.mjs → chunk-3U7YJ73T.mjs} +7 -7
  18. package/dist/{chunk-BQ2WAG4K.js → chunk-3VNDFKT7.js} +19 -19
  19. package/dist/{chunk-BQ2WAG4K.js.map → chunk-3VNDFKT7.js.map} +1 -1
  20. package/dist/{chunk-BE6UMM5X.mjs → chunk-47HNJQ7U.mjs} +3 -3
  21. package/dist/chunk-5T2AQMQ2.mjs +90 -0
  22. package/dist/chunk-5T2AQMQ2.mjs.map +1 -0
  23. package/dist/{chunk-A5M3MORY.js → chunk-5WM72MLE.js} +3 -3
  24. package/dist/{chunk-A5M3MORY.js.map → chunk-5WM72MLE.js.map} +1 -1
  25. package/dist/{chunk-OZADFYE7.mjs → chunk-64REWDSK.mjs} +308 -241
  26. package/dist/chunk-64REWDSK.mjs.map +1 -0
  27. package/dist/{chunk-S7SPAC6X.mjs → chunk-73NKUBMP.mjs} +3 -3
  28. package/dist/chunk-743M4TIB.mjs +76 -0
  29. package/dist/chunk-743M4TIB.mjs.map +1 -0
  30. package/dist/{chunk-HN7L6RRW.js → chunk-77JC2UCF.js} +903 -955
  31. package/dist/chunk-77JC2UCF.js.map +1 -0
  32. package/dist/{chunk-7OIWOPM5.mjs → chunk-7MGXQIEP.mjs} +4 -3
  33. package/dist/chunk-7MGXQIEP.mjs.map +1 -0
  34. package/dist/{chunk-YTDGYI62.mjs → chunk-DWPHHUMV.mjs} +3 -3
  35. package/dist/{chunk-SO3YUCL6.js → chunk-F3EVYBMA.js} +6 -5
  36. package/dist/chunk-F3EVYBMA.js.map +1 -0
  37. package/dist/{chunk-53SD4YRF.js → chunk-FBHUUPRV.js} +5 -5
  38. package/dist/{chunk-53SD4YRF.js.map → chunk-FBHUUPRV.js.map} +1 -1
  39. package/dist/{chunk-T6G2F2BK.mjs → chunk-FJUKLVVX.mjs} +16 -68
  40. package/dist/chunk-FJUKLVVX.mjs.map +1 -0
  41. package/dist/chunk-HROKKUBQ.js +156 -0
  42. package/dist/chunk-HROKKUBQ.js.map +1 -0
  43. package/dist/{chunk-BDWV4KYR.js → chunk-JE6QWCNE.js} +1386 -1319
  44. package/dist/chunk-JE6QWCNE.js.map +1 -0
  45. package/dist/{chunk-RCOKQ3R4.js → chunk-LNO2JLU3.js} +2 -2
  46. package/dist/{chunk-RCOKQ3R4.js.map → chunk-LNO2JLU3.js.map} +1 -1
  47. package/dist/{chunk-TMV7TL7O.mjs → chunk-M7YK5CCE.mjs} +8 -6
  48. package/dist/{chunk-TMV7TL7O.mjs.map → chunk-M7YK5CCE.mjs.map} +1 -1
  49. package/dist/{chunk-GMMDXINC.js → chunk-N3NQS7X6.js} +12 -12
  50. package/dist/{chunk-GMMDXINC.js.map → chunk-N3NQS7X6.js.map} +1 -1
  51. package/dist/chunk-NP3AFULU.js +76 -0
  52. package/dist/chunk-NP3AFULU.js.map +1 -0
  53. package/dist/{chunk-TNTCLVUR.js → chunk-ONU4WCDG.js} +17 -15
  54. package/dist/chunk-ONU4WCDG.js.map +1 -0
  55. package/dist/{chunk-YSE2Z4RB.js → chunk-PQQFOONG.js} +12 -12
  56. package/dist/{chunk-YSE2Z4RB.js.map → chunk-PQQFOONG.js.map} +1 -1
  57. package/dist/chunk-RW6XZGZG.mjs +156 -0
  58. package/dist/chunk-RW6XZGZG.mjs.map +1 -0
  59. package/dist/chunk-SYMI4IDW.js +90 -0
  60. package/dist/chunk-SYMI4IDW.js.map +1 -0
  61. package/dist/{chunk-N2BFT7KI.mjs → chunk-W7U6O3OE.mjs} +2 -71
  62. package/dist/chunk-W7U6O3OE.mjs.map +1 -0
  63. package/dist/{chunk-YMCL3JXZ.mjs → chunk-YPBIPE2B.mjs} +2 -2
  64. package/dist/{chunk-P7L6OFX5.js → chunk-Z6T2575A.js} +12 -81
  65. package/dist/chunk-Z6T2575A.js.map +1 -0
  66. package/dist/client/index.js +13 -10
  67. package/dist/client/index.js.map +1 -1
  68. package/dist/client/index.mjs +17 -14
  69. package/dist/components/forms/DatePickerPopover.d.ts.map +1 -1
  70. package/dist/components/forms/DateRangeSelector.d.ts.map +1 -1
  71. package/dist/components/forms/FormDate.d.ts.map +1 -1
  72. package/dist/components/forms/FormDateTime.d.ts.map +1 -1
  73. package/dist/components/forms/time-cycle.d.ts +14 -0
  74. package/dist/components/forms/time-cycle.d.ts.map +1 -0
  75. package/dist/components/index.js +11 -8
  76. package/dist/components/index.js.map +1 -1
  77. package/dist/components/index.mjs +10 -7
  78. package/dist/components/tables/cells/cell.date.d.ts.map +1 -1
  79. package/dist/components/tables/cells/cell.dateTime.d.ts.map +1 -1
  80. package/dist/contexts/DateLocaleContext.d.ts +56 -0
  81. package/dist/contexts/DateLocaleContext.d.ts.map +1 -0
  82. package/dist/contexts/index.d.ts +1 -0
  83. package/dist/contexts/index.d.ts.map +1 -1
  84. package/dist/contexts/index.js +24 -8
  85. package/dist/contexts/index.js.map +1 -1
  86. package/dist/contexts/index.mjs +23 -7
  87. package/dist/core/index.js +17 -6
  88. package/dist/core/index.js.map +1 -1
  89. package/dist/core/index.mjs +19 -8
  90. package/dist/date-locale/index.d.ts +2 -0
  91. package/dist/date-locale/index.d.ts.map +1 -0
  92. package/dist/date-locale/index.js +21 -0
  93. package/dist/date-locale/index.js.map +1 -0
  94. package/dist/date-locale/index.mjs +21 -0
  95. package/dist/email-automations/index.js +131 -123
  96. package/dist/email-automations/index.js.map +1 -1
  97. package/dist/email-automations/index.mjs +23 -15
  98. package/dist/email-automations/index.mjs.map +1 -1
  99. package/dist/features/account-deletion/components/AccountDeletionAdminTrigger.d.ts.map +1 -1
  100. package/dist/features/analytics/components/AnalyticsJourneyContainer.d.ts.map +1 -1
  101. package/dist/features/analytics/components/AnalyticsSessionsTable.d.ts.map +1 -1
  102. package/dist/features/analytics/index.js +154 -147
  103. package/dist/features/analytics/index.js.map +1 -1
  104. package/dist/features/analytics/index.mjs +32 -25
  105. package/dist/features/analytics/index.mjs.map +1 -1
  106. package/dist/features/analytics/server.js +11 -9
  107. package/dist/features/analytics/server.js.map +1 -1
  108. package/dist/features/analytics/server.mjs +9 -7
  109. package/dist/features/analytics/server.mjs.map +1 -1
  110. package/dist/features/billing/components/utils/date.d.ts +3 -3
  111. package/dist/features/billing/components/utils/format-options.d.ts +6 -4
  112. package/dist/features/billing/components/utils/format-options.d.ts.map +1 -1
  113. package/dist/features/billing/components/utils/useBillingFormatOptions.d.ts +5 -1
  114. package/dist/features/billing/components/utils/useBillingFormatOptions.d.ts.map +1 -1
  115. package/dist/features/billing/stripe-usage/components/details/UsageSummaryCard.d.ts.map +1 -1
  116. package/dist/features/billing/stripe-usage/components/lists/UsageHistoryTable.d.ts.map +1 -1
  117. package/dist/features/blog/components/admin/BlogTranslationStatus.d.ts.map +1 -1
  118. package/dist/features/blog/components/public/BlogPostMeta.d.ts.map +1 -1
  119. package/dist/features/blog/hooks/useBlogPostTableStructure.d.ts.map +1 -1
  120. package/dist/features/blog/index.js +168 -162
  121. package/dist/features/blog/index.js.map +1 -1
  122. package/dist/features/blog/index.mjs +25 -19
  123. package/dist/features/blog/index.mjs.map +1 -1
  124. package/dist/features/blog/server.js +29 -27
  125. package/dist/features/blog/server.js.map +1 -1
  126. package/dist/features/blog/server.mjs +8 -6
  127. package/dist/features/blog/server.mjs.map +1 -1
  128. package/dist/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.d.ts.map +1 -1
  129. package/dist/features/handbook/components/parts/HandbookIndexStatus.d.ts.map +1 -1
  130. package/dist/features/help/components/HelpArticleBody.d.ts.map +1 -1
  131. package/dist/features/help/index.js +48 -43
  132. package/dist/features/help/index.js.map +1 -1
  133. package/dist/features/help/index.mjs +15 -10
  134. package/dist/features/help/index.mjs.map +1 -1
  135. package/dist/features/notification/components/notifications/Notification.d.ts +2 -1
  136. package/dist/features/notification/components/notifications/Notification.d.ts.map +1 -1
  137. package/dist/features/notification/contexts/NotificationContext.d.ts.map +1 -1
  138. package/dist/features/notification/hooks/useNotificationTableStructure.d.ts.map +1 -1
  139. package/dist/features/oauth/components/OAuthClientCard.d.ts.map +1 -1
  140. package/dist/features/oauth/components/OAuthClientDetail.d.ts.map +1 -1
  141. package/dist/features/tokenusage/index.js +133 -130
  142. package/dist/features/tokenusage/index.js.map +1 -1
  143. package/dist/features/tokenusage/index.mjs +10 -7
  144. package/dist/features/tokenusage/index.mjs.map +1 -1
  145. package/dist/features/tokenusage/lib/formatters.d.ts +6 -3
  146. package/dist/features/tokenusage/lib/formatters.d.ts.map +1 -1
  147. package/dist/index.js +19 -7
  148. package/dist/index.js.map +1 -1
  149. package/dist/index.mjs +23 -11
  150. package/dist/local-transport-AT4TE264.js +15 -0
  151. package/dist/{local-transport-MJPOKPTU.js.map → local-transport-AT4TE264.js.map} +1 -1
  152. package/dist/{local-transport-RVD4FZGA.mjs → local-transport-KWEUZ4GX.mjs} +5 -5
  153. package/dist/offline/index.js +56 -54
  154. package/dist/offline/index.js.map +1 -1
  155. package/dist/offline/index.mjs +23 -21
  156. package/dist/offline/index.mjs.map +1 -1
  157. package/dist/{request-4AWGPIGH.mjs → request-6GAIWWTG.mjs} +2 -2
  158. package/dist/{request-H5FZBZA2.js → request-BWO4Y434.js} +3 -3
  159. package/dist/{request-H5FZBZA2.js.map → request-BWO4Y434.js.map} +1 -1
  160. package/dist/server/ServerSession.d.ts +2 -0
  161. package/dist/server/ServerSession.d.ts.map +1 -1
  162. package/dist/server/index.js +10 -8
  163. package/dist/server/index.js.map +1 -1
  164. package/dist/server/index.mjs +9 -7
  165. package/dist/utils/date-formatter.d.ts +45 -4
  166. package/dist/utils/date-formatter.d.ts.map +1 -1
  167. package/dist/utils/index.d.ts +1 -1
  168. package/dist/utils/index.d.ts.map +1 -1
  169. package/dist/utils/toast.d.ts +2 -0
  170. package/dist/utils/toast.d.ts.map +1 -1
  171. package/dist/write-through-KNRI5L4V.mjs +15 -0
  172. package/dist/write-through-KNRI5L4V.mjs.map +1 -0
  173. package/dist/write-through-MYHQ6GJU.js +15 -0
  174. package/dist/{write-through-HE2QSOVI.js.map → write-through-MYHQ6GJU.js.map} +1 -1
  175. package/messages/en.json +1 -0
  176. package/messages/it.json +1 -0
  177. package/package.json +6 -1
  178. package/src/components/forms/DatePickerPopover.tsx +5 -3
  179. package/src/components/forms/DateRangeSelector.tsx +9 -7
  180. package/src/components/forms/FormDate.tsx +5 -3
  181. package/src/components/forms/FormDateTime.tsx +75 -39
  182. package/src/components/forms/__tests__/time-cycle.spec.ts +37 -0
  183. package/src/components/forms/time-cycle.ts +27 -0
  184. package/src/components/tables/cells/cell.date.tsx +3 -5
  185. package/src/components/tables/cells/cell.dateTime.tsx +3 -7
  186. package/src/contexts/DateLocaleContext.tsx +106 -0
  187. package/src/contexts/__tests__/DateLocaleContext.spec.tsx +175 -0
  188. package/src/contexts/index.ts +1 -0
  189. package/src/date-locale/index.ts +12 -0
  190. package/src/features/account-deletion/components/AccountDeletionAdminTrigger.tsx +3 -4
  191. package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +8 -8
  192. package/src/features/analytics/components/AnalyticsSessionsTable.tsx +4 -6
  193. package/src/features/auth/components/two-factor/PasskeyList.tsx +3 -3
  194. package/src/features/auth/components/two-factor/TotpAuthenticatorList.tsx +3 -3
  195. package/src/features/billing/components/utils/__tests__/billing-formatters.spec.ts +14 -6
  196. package/src/features/billing/components/utils/date.ts +5 -5
  197. package/src/features/billing/components/utils/format-options.ts +6 -4
  198. package/src/features/billing/components/utils/useBillingFormatOptions.ts +8 -2
  199. package/src/features/billing/stripe-usage/components/details/UsageSummaryCard.tsx +4 -12
  200. package/src/features/billing/stripe-usage/components/lists/UsageHistoryTable.tsx +4 -17
  201. package/src/features/blog/components/admin/BlogTranslationStatus.tsx +3 -2
  202. package/src/features/blog/components/public/BlogPostMeta.tsx +5 -4
  203. package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +1 -2
  204. package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +2 -3
  205. package/src/features/blog/hooks/useBlogPostTableStructure.tsx +4 -8
  206. package/src/features/email-automation/hooks/useEmailAutomationEnrollmentTableStructure.tsx +11 -5
  207. package/src/features/email-blast/components/containers/EmailBlastContainer.tsx +3 -3
  208. package/src/features/email-blast/hooks/useEmailBlastTableStructure.tsx +4 -4
  209. package/src/features/handbook/components/parts/HandbookIndexStatus.tsx +4 -3
  210. package/src/features/help/components/HelpArticleBody.tsx +4 -3
  211. package/src/features/notification/components/notifications/Notification.tsx +38 -7
  212. package/src/features/notification/contexts/NotificationContext.tsx +6 -3
  213. package/src/features/notification/hooks/useNotificationTableStructure.tsx +6 -5
  214. package/src/features/oauth/components/OAuthClientCard.tsx +8 -5
  215. package/src/features/oauth/components/OAuthClientDetail.tsx +3 -6
  216. package/src/features/tokenusage/lib/__tests__/formatters.spec.ts +19 -0
  217. package/src/features/tokenusage/lib/formatters.ts +11 -6
  218. package/src/features/waitlist/hooks/useWaitlistTableStructure.tsx +5 -5
  219. package/src/server/ServerSession.ts +3 -0
  220. package/src/server/__tests__/ServerSession.read.spec.ts +18 -1
  221. package/src/utils/__tests__/date-formatter.spec.ts +134 -10
  222. package/src/utils/__tests__/toast.spec.ts +39 -0
  223. package/src/utils/date-formatter.ts +200 -44
  224. package/src/utils/index.ts +11 -1
  225. package/src/utils/toast.ts +2 -0
  226. package/dist/BlockNoteEditor-MONT74RQ.js.map +0 -1
  227. package/dist/BlockNoteViewer-K2HBF3IP.js.map +0 -1
  228. package/dist/JsonApiRequest-KC6DOHKT.js +0 -26
  229. package/dist/chunk-7OIWOPM5.mjs.map +0 -1
  230. package/dist/chunk-BDWV4KYR.js.map +0 -1
  231. package/dist/chunk-HN7L6RRW.js.map +0 -1
  232. package/dist/chunk-N2BFT7KI.mjs.map +0 -1
  233. package/dist/chunk-OZADFYE7.mjs.map +0 -1
  234. package/dist/chunk-P7L6OFX5.js.map +0 -1
  235. package/dist/chunk-SO3YUCL6.js.map +0 -1
  236. package/dist/chunk-T6G2F2BK.mjs.map +0 -1
  237. package/dist/chunk-TNTCLVUR.js.map +0 -1
  238. package/dist/local-transport-MJPOKPTU.js +0 -15
  239. package/dist/write-through-7I3LA2WN.mjs +0 -15
  240. package/dist/write-through-HE2QSOVI.js +0 -15
  241. /package/dist/{JsonApiRequest-ADLBJ5RX.mjs.map → JsonApiRequest-WNPDS356.mjs.map} +0 -0
  242. /package/dist/{chunk-VNUT2D27.mjs.map → chunk-2PWYG2WJ.mjs.map} +0 -0
  243. /package/dist/{chunk-W4ML6D2X.mjs.map → chunk-3U7YJ73T.mjs.map} +0 -0
  244. /package/dist/{chunk-BE6UMM5X.mjs.map → chunk-47HNJQ7U.mjs.map} +0 -0
  245. /package/dist/{chunk-S7SPAC6X.mjs.map → chunk-73NKUBMP.mjs.map} +0 -0
  246. /package/dist/{chunk-YTDGYI62.mjs.map → chunk-DWPHHUMV.mjs.map} +0 -0
  247. /package/dist/{chunk-YMCL3JXZ.mjs.map → chunk-YPBIPE2B.mjs.map} +0 -0
  248. /package/dist/{local-transport-RVD4FZGA.mjs.map → date-locale/index.mjs.map} +0 -0
  249. /package/dist/{request-4AWGPIGH.mjs.map → local-transport-KWEUZ4GX.mjs.map} +0 -0
  250. /package/dist/{write-through-7I3LA2WN.mjs.map → request-6GAIWWTG.mjs.map} +0 -0
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkYSE2Z4RBjs = require('../chunk-YSE2Z4RB.js');
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 _chunk53SD4YRFjs = require('../chunk-53SD4YRF.js');
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 _chunkP7L6OFX5js = require('../chunk-P7L6OFX5.js');
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 _chunkRCOKQ3R4js = require('../chunk-RCOKQ3R4.js');
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 _chunkP7L6OFX5js.getI18nDefaultLocale.call(void 0, );
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 && _chunkP7L6OFX5js.getI18nSupportedLocales.call(void 0, ).includes(first) ? first : _chunkP7L6OFX5js.getI18nDefaultLocale.call(void 0, );
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 _chunkRCOKQ3R4js.JsonApiGet.call(void 0, { classKey: module, endpoint, language: currentLocale() });
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, _chunkP7L6OFX5js.EndpointCreator)({
221
+ const syncEndpoint = new (0, _chunkZ6T2575Ajs.EndpointCreator)({
220
222
  endpoint: rootKind.module,
221
223
  id: rootId,
222
- childEndpoint: _chunkP7L6OFX5js.ROOT_SYNC_ENDPOINT
224
+ childEndpoint: _chunkZ6T2575Ajs.ROOT_SYNC_ENDPOINT
223
225
  }).generate();
224
- const syncResponse = await _chunkRCOKQ3R4js.JsonApiGet.call(void 0, {
225
- classKey: _nullishCoalesce(rootKind.syncModule, () => ( _chunkP7L6OFX5js.Modules.RootSync)),
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 _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
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) => [_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id), entry.updatedAt]));
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(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id), record);
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) => [_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id), record.updatedAt])
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 = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id);
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, _chunkP7L6OFX5js.EndpointCreator)({
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(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, link.toType, link.toId), { type: link.toType, id: link.toId });
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, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: typeConfig.module, id: entry.id }).generate();
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) => _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _11 => _11.type]), _optionalChain([resource, 'optionalAccess', _12 => _12.id]))));
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 = _chunkYSE2Z4RBjs.waitingRecordKeys.call(void 0, await tx.queue(), typeNames);
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 = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id);
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 = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _13 => _13.type]), _optionalChain([resource, 'optionalAccess', _14 => _14.id]));
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) => _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id)));
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 = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id);
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(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id)));
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 _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
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
- _chunkYSE2Z4RBjs.rememberSyncRoots.call(void 0, [...kept], extraRoots);
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 _chunkYSE2Z4RBjs.knownRootIds.call(void 0, store)) {
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 _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
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 = _chunkYSE2Z4RBjs.waitingRecordKeys.call(void 0,
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 (_chunkYSE2Z4RBjs.recordKeysOfEntry.call(void 0, entry, typeNames).some((key) => blocked.has(key))) continue;
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 = _chunkYSE2Z4RBjs.waitingRecordKeys.call(void 0, await store.queue(), typeNames);
588
- for (const key of _chunkYSE2Z4RBjs.recordKeysOfEntry.call(void 0, entry, typeNames)) {
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 _chunkYSE2Z4RBjs.writeThrough.call(void 0,
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 _chunkYSE2Z4RBjs.writeThrough.call(void 0,
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, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: _chunkP7L6OFX5js.Modules.OfflineChangeSet }).generate();
649
- const release = _chunkWUNSG3INjs.allowWhileReconnecting.call(void 0, _chunkRCOKQ3R4js.buildUrl.call(void 0, endpoint));
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 _chunkRCOKQ3R4js.JsonApiPost.call(void 0, {
653
- classKey: _chunkP7L6OFX5js.Modules.OfflineChangeSet,
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, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: _nullishCoalesce(module, () => ( recordType)) }).generate();
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, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: collectionPath(conflict.recordType), id: conflict.recordId }).generate())),
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 _chunkYSE2Z4RBjs.knownPrimaryRootIds.call(void 0, store);
866
- const endpoint = rootId ? new (0, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: config.rootModule, id: rootId, childEndpoint: _chunkP7L6OFX5js.ROOT_SYNC_ENDPOINT }) : new (0, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: config.rootModule }).addAdditionalParam("page[size]", "1");
867
- const response = await _chunkA5M3MORYjs.directFetch.call(void 0, {
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: _chunkRCOKQ3R4js.buildUrl.call(void 0, endpoint.generate()),
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 _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
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 _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
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 = _chunkP7L6OFX5js.RootSync; exports.SERVER_DEFAULT_ORDER_BY = _chunk53SD4YRFjs.SERVER_DEFAULT_ORDER_BY; exports.SYNC_FETCH_CONCURRENCY = SYNC_FETCH_CONCURRENCY; exports.configureOffline = configureOffline2; exports.deleteDeviceStore = _chunk6RCZ64BQjs.deleteDeviceStore; exports.drainQueue = drainQueue; exports.errorAnswer = _chunk53SD4YRFjs.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 = _chunk53SD4YRFjs.includedFor; exports.isOfflineAvailable = _chunkWUNSG3INjs.isOfflineAvailable; exports.isOfflineConfigured = _chunkWUNSG3INjs.isOfflineConfigured; exports.isOfflineEnabledOnDevice = _chunkWUNSG3INjs.isOfflineEnabledOnDevice; exports.isRootLocked = _chunk6RCZ64BQjs.isRootLocked; exports.linkKindFor = _chunk53SD4YRFjs.linkKindFor; exports.linkKindsOf = _chunk53SD4YRFjs.linkKindsOf; exports.linksOfKind = _chunk53SD4YRFjs.linksOfKind; exports.listAnswer = _chunk53SD4YRFjs.listAnswer; exports.localTransport = _chunk53SD4YRFjs.localTransport; exports.matchPattern = _chunk53SD4YRFjs.matchPattern; exports.matchRoute = _chunk53SD4YRFjs.matchRoute; exports.mergeResource = _chunk53SD4YRFjs.mergeResource; exports.needsConnectionAnswer = _chunk53SD4YRFjs.needsConnectionAnswer; exports.notFoundAnswer = _chunk53SD4YRFjs.notFoundAnswer; exports.onUserSignedIn = _chunk6RCZ64BQjs.onUserSignedIn; exports.openDeviceStore = _chunk6RCZ64BQjs.openDeviceStore; exports.openMemoryDeviceStore = _chunk6RCZ64BQjs.openMemoryDeviceStore; exports.orderRecords = _chunk53SD4YRFjs.orderRecords; exports.orderedListAnswer = _chunk53SD4YRFjs.orderedListAnswer; exports.patternToString = _chunkWUNSG3INjs.patternToString; exports.prepareOfflineLogout = prepareOfflineLogout; exports.refreshOfflineDeviceState = _chunkWUNSG3INjs.refreshOfflineDeviceState; exports.resolveConflict = resolveConflict; exports.resourceFromDocument = _chunk53SD4YRFjs.resourceFromDocument; exports.resourceListAnswer = _chunk53SD4YRFjs.resourceListAnswer; exports.searchRecords = _chunk53SD4YRFjs.searchRecords; exports.setDeviceStoreOpener = _chunkWUNSG3INjs.setDeviceStoreOpener; exports.setOfflineState = _chunkWUNSG3INjs.setOfflineState; exports.singleAnswer = _chunk53SD4YRFjs.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 = _chunkYSE2Z4RBjs.writeThrough;
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