@carlonicora/nextjs-jsonapi 6.21.0 → 6.23.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 (182) hide show
  1. package/dist/{BlockNoteEditor-NXCRWS2O.js → BlockNoteEditor-PPRML5CO.js} +23 -23
  2. package/dist/{BlockNoteEditor-NXCRWS2O.js.map → BlockNoteEditor-PPRML5CO.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-66ZACETR.mjs → BlockNoteEditor-UO4ZRCUM.mjs} +8 -8
  4. package/dist/{BlockNoteViewer-2UDFTXRS.mjs → BlockNoteViewer-2TJZ6JET.mjs} +6 -6
  5. package/dist/{BlockNoteViewer-4OHBRE4Q.js → BlockNoteViewer-K2HBF3IP.js} +7 -7
  6. package/dist/{BlockNoteViewer-4OHBRE4Q.js.map → BlockNoteViewer-K2HBF3IP.js.map} +1 -1
  7. package/dist/{JsonApiRequest-IKKHWCPB.mjs → JsonApiRequest-ADLBJ5RX.mjs} +2 -2
  8. package/dist/JsonApiRequest-KC6DOHKT.js +26 -0
  9. package/dist/{JsonApiRequest-G4J2WTSU.js.map → JsonApiRequest-KC6DOHKT.js.map} +1 -1
  10. package/dist/billing/index.js +495 -495
  11. package/dist/billing/index.mjs +7 -7
  12. package/dist/{chunk-N5ZE2Z6I.js → chunk-53SD4YRF.js} +5 -5
  13. package/dist/{chunk-N5ZE2Z6I.js.map → chunk-53SD4YRF.js.map} +1 -1
  14. package/dist/{chunk-4RA5PRXX.mjs → chunk-7OIWOPM5.mjs} +2 -2
  15. package/dist/{chunk-WCEYT3GG.js → chunk-A5M3MORY.js} +6 -3
  16. package/dist/chunk-A5M3MORY.js.map +1 -0
  17. package/dist/{chunk-AUD6ZLBB.mjs → chunk-BE6UMM5X.mjs} +13 -8
  18. package/dist/chunk-BE6UMM5X.mjs.map +1 -0
  19. package/dist/{chunk-KV4N7DEG.js → chunk-BQ2WAG4K.js} +29 -24
  20. package/dist/chunk-BQ2WAG4K.js.map +1 -0
  21. package/dist/{chunk-OQQ7CZWT.js → chunk-GMMDXINC.js} +12 -12
  22. package/dist/{chunk-OQQ7CZWT.js.map → chunk-GMMDXINC.js.map} +1 -1
  23. package/dist/{chunk-ZB6OYIMB.js → chunk-HN7L6RRW.js} +1296 -1093
  24. package/dist/{chunk-DPXOPLQP.mjs.map → chunk-HN7L6RRW.js.map} +1 -1
  25. package/dist/{chunk-OHHA5BBX.mjs → chunk-HP6DT6K3.mjs} +17 -15
  26. package/dist/chunk-HP6DT6K3.mjs.map +1 -0
  27. package/dist/{chunk-JSHLBRFV.mjs → chunk-N2BFT7KI.mjs} +2 -2
  28. package/dist/chunk-N2BFT7KI.mjs.map +1 -0
  29. package/dist/{chunk-YWLSIIE6.js → chunk-P7L6OFX5.js} +11 -11
  30. package/dist/{chunk-YWLSIIE6.js.map → chunk-P7L6OFX5.js.map} +1 -1
  31. package/dist/{chunk-3CGU6WXY.js → chunk-R5722NLL.js} +926 -924
  32. package/dist/chunk-R5722NLL.js.map +1 -0
  33. package/dist/{chunk-GM4VZTWL.js → chunk-RCOKQ3R4.js} +14 -8
  34. package/dist/chunk-RCOKQ3R4.js.map +1 -0
  35. package/dist/{chunk-M3N7LPHX.mjs → chunk-S7SPAC6X.mjs} +6 -3
  36. package/dist/chunk-S7SPAC6X.mjs.map +1 -0
  37. package/dist/{chunk-54K2CZ2F.js → chunk-SO3YUCL6.js} +4 -4
  38. package/dist/{chunk-54K2CZ2F.js.map → chunk-SO3YUCL6.js.map} +1 -1
  39. package/dist/{chunk-DPXOPLQP.mjs → chunk-T6G2F2BK.mjs} +220 -17
  40. package/dist/chunk-T6G2F2BK.mjs.map +1 -0
  41. package/dist/{chunk-G2UIQSNJ.mjs → chunk-TMV7TL7O.mjs} +4 -4
  42. package/dist/{chunk-BD6ARGGI.js → chunk-TNTCLVUR.js} +15 -15
  43. package/dist/{chunk-BD6ARGGI.js.map → chunk-TNTCLVUR.js.map} +1 -1
  44. package/dist/{chunk-QIEF7HIL.mjs → chunk-VNUT2D27.mjs} +2 -2
  45. package/dist/{chunk-KTGKW72G.mjs → chunk-W4ML6D2X.mjs} +2 -2
  46. package/dist/{chunk-MQ7TXALH.mjs → chunk-YMCL3JXZ.mjs} +14 -8
  47. package/dist/chunk-YMCL3JXZ.mjs.map +1 -0
  48. package/dist/{chunk-QGVVF77L.js → chunk-YSE2Z4RB.js} +11 -11
  49. package/dist/{chunk-QGVVF77L.js.map → chunk-YSE2Z4RB.js.map} +1 -1
  50. package/dist/{chunk-A3RB47X4.mjs → chunk-YTDGYI62.mjs} +3 -3
  51. package/dist/client/JsonApiClient.d.ts +5 -0
  52. package/dist/client/JsonApiClient.d.ts.map +1 -1
  53. package/dist/client/index.js +8 -8
  54. package/dist/client/index.mjs +7 -7
  55. package/dist/client/request.d.ts +5 -0
  56. package/dist/client/request.d.ts.map +1 -1
  57. package/dist/components/index.js +8 -8
  58. package/dist/components/index.mjs +7 -7
  59. package/dist/contexts/index.js +8 -8
  60. package/dist/contexts/index.mjs +7 -7
  61. package/dist/core/abstracts/AbstractService.d.ts +5 -0
  62. package/dist/core/abstracts/AbstractService.d.ts.map +1 -1
  63. package/dist/core/abstracts/ClientAbstractService.d.ts +5 -0
  64. package/dist/core/abstracts/ClientAbstractService.d.ts.map +1 -1
  65. package/dist/core/index.d.ts +2 -0
  66. package/dist/core/index.d.ts.map +1 -1
  67. package/dist/core/index.js +24 -6
  68. package/dist/core/index.js.map +1 -1
  69. package/dist/core/index.mjs +23 -5
  70. package/dist/core/registry/ModuleRegistry.d.ts +3 -0
  71. package/dist/core/registry/ModuleRegistry.d.ts.map +1 -1
  72. package/dist/email-automations/index.js +121 -121
  73. package/dist/email-automations/index.mjs +7 -7
  74. package/dist/features/analytics/index.js +139 -139
  75. package/dist/features/analytics/index.mjs +7 -7
  76. package/dist/features/analytics/server.js +9 -9
  77. package/dist/features/analytics/server.mjs +7 -7
  78. package/dist/features/blog/index.js +154 -154
  79. package/dist/features/blog/index.mjs +7 -7
  80. package/dist/features/blog/server.js +27 -27
  81. package/dist/features/blog/server.mjs +6 -6
  82. package/dist/features/discord-connection/data/discord-connect-confirmation.d.ts +11 -0
  83. package/dist/features/discord-connection/data/discord-connect-confirmation.d.ts.map +1 -0
  84. package/dist/features/discord-connection/data/discord-connect-confirmation.interface.d.ts +14 -0
  85. package/dist/features/discord-connection/data/discord-connect-confirmation.interface.d.ts.map +1 -0
  86. package/dist/features/discord-connection/data/discord-connect-confirmation.service.d.ts +10 -0
  87. package/dist/features/discord-connection/data/discord-connect-confirmation.service.d.ts.map +1 -0
  88. package/dist/features/discord-connection/data/discord-connect-intent.d.ts +11 -0
  89. package/dist/features/discord-connection/data/discord-connect-intent.d.ts.map +1 -0
  90. package/dist/features/discord-connection/data/discord-connect-intent.interface.d.ts +15 -0
  91. package/dist/features/discord-connection/data/discord-connect-intent.interface.d.ts.map +1 -0
  92. package/dist/features/discord-connection/data/discord-connect-intent.service.d.ts +11 -0
  93. package/dist/features/discord-connection/data/discord-connect-intent.service.d.ts.map +1 -0
  94. package/dist/features/discord-connection/data/discord-connection.d.ts +14 -0
  95. package/dist/features/discord-connection/data/discord-connection.d.ts.map +1 -0
  96. package/dist/features/discord-connection/data/discord-connection.interface.d.ts +10 -0
  97. package/dist/features/discord-connection/data/discord-connection.interface.d.ts.map +1 -0
  98. package/dist/features/discord-connection/data/discord-connection.service.d.ts +12 -0
  99. package/dist/features/discord-connection/data/discord-connection.service.d.ts.map +1 -0
  100. package/dist/features/discord-connection/data/index.d.ts +10 -0
  101. package/dist/features/discord-connection/data/index.d.ts.map +1 -0
  102. package/dist/features/discord-connection/discord-connection.module.d.ts +5 -0
  103. package/dist/features/discord-connection/discord-connection.module.d.ts.map +1 -0
  104. package/dist/features/discord-connection/index.d.ts +3 -0
  105. package/dist/features/discord-connection/index.d.ts.map +1 -0
  106. package/dist/features/help/index.js +41 -41
  107. package/dist/features/help/index.mjs +7 -7
  108. package/dist/features/tokenusage/index.js +130 -130
  109. package/dist/features/tokenusage/index.mjs +7 -7
  110. package/dist/features/user/contexts/UserContext.d.ts.map +1 -1
  111. package/dist/index.d.ts +1 -1
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +27 -7
  114. package/dist/index.js.map +1 -1
  115. package/dist/index.mjs +26 -6
  116. package/dist/local-transport-MJPOKPTU.js +15 -0
  117. package/dist/{local-transport-4YDJ6FQG.js.map → local-transport-MJPOKPTU.js.map} +1 -1
  118. package/dist/{local-transport-C7YTA4I7.mjs → local-transport-RVD4FZGA.mjs} +5 -5
  119. package/dist/offline/index.js +51 -51
  120. package/dist/offline/index.mjs +6 -6
  121. package/dist/{request-66FGJIHB.mjs → request-4AWGPIGH.mjs} +2 -2
  122. package/dist/{request-6W6UGKJV.js → request-H5FZBZA2.js} +3 -3
  123. package/dist/{request-6W6UGKJV.js.map → request-H5FZBZA2.js.map} +1 -1
  124. package/dist/server/index.js +8 -8
  125. package/dist/server/index.mjs +7 -7
  126. package/dist/unified/JsonApiRequest.d.ts +5 -0
  127. package/dist/unified/JsonApiRequest.d.ts.map +1 -1
  128. package/dist/write-through-7I3LA2WN.mjs +15 -0
  129. package/dist/write-through-HE2QSOVI.js +15 -0
  130. package/dist/{write-through-BAPS24GL.js.map → write-through-HE2QSOVI.js.map} +1 -1
  131. package/package.json +1 -1
  132. package/src/client/JsonApiClient.ts +10 -0
  133. package/src/client/__tests__/request.credentials.spec.ts +103 -0
  134. package/src/client/request.ts +9 -0
  135. package/src/components/forms/EditorSheet.tsx +2 -2
  136. package/src/components/forms/__tests__/EditorSheet.spec.tsx +16 -0
  137. package/src/core/abstracts/AbstractService.ts +10 -0
  138. package/src/core/abstracts/ClientAbstractService.ts +10 -0
  139. package/src/core/index.ts +3 -0
  140. package/src/core/registry/ModuleRegistry.ts +4 -0
  141. package/src/features/discord-connection/data/__tests__/DiscordConnection.spec.ts +114 -0
  142. package/src/features/discord-connection/data/discord-connect-confirmation.interface.ts +16 -0
  143. package/src/features/discord-connection/data/discord-connect-confirmation.service.ts +21 -0
  144. package/src/features/discord-connection/data/discord-connect-confirmation.ts +46 -0
  145. package/src/features/discord-connection/data/discord-connect-intent.interface.ts +16 -0
  146. package/src/features/discord-connection/data/discord-connect-intent.service.ts +20 -0
  147. package/src/features/discord-connection/data/discord-connect-intent.ts +42 -0
  148. package/src/features/discord-connection/data/discord-connection.interface.ts +10 -0
  149. package/src/features/discord-connection/data/discord-connection.service.ts +17 -0
  150. package/src/features/discord-connection/data/discord-connection.ts +41 -0
  151. package/src/features/discord-connection/data/index.ts +9 -0
  152. package/src/features/discord-connection/discord-connection.module.ts +28 -0
  153. package/src/features/discord-connection/index.ts +2 -0
  154. package/src/features/oauth/components/OAuthClientDetail.tsx +1 -1
  155. package/src/features/user/contexts/UserContext.tsx +6 -2
  156. package/src/index.ts +1 -1
  157. package/src/unified/JsonApiRequest.ts +14 -0
  158. package/dist/JsonApiRequest-G4J2WTSU.js +0 -26
  159. package/dist/chunk-3CGU6WXY.js.map +0 -1
  160. package/dist/chunk-AUD6ZLBB.mjs.map +0 -1
  161. package/dist/chunk-GM4VZTWL.js.map +0 -1
  162. package/dist/chunk-JSHLBRFV.mjs.map +0 -1
  163. package/dist/chunk-KV4N7DEG.js.map +0 -1
  164. package/dist/chunk-M3N7LPHX.mjs.map +0 -1
  165. package/dist/chunk-MQ7TXALH.mjs.map +0 -1
  166. package/dist/chunk-OHHA5BBX.mjs.map +0 -1
  167. package/dist/chunk-WCEYT3GG.js.map +0 -1
  168. package/dist/chunk-ZB6OYIMB.js.map +0 -1
  169. package/dist/local-transport-4YDJ6FQG.js +0 -15
  170. package/dist/write-through-BAPS24GL.js +0 -15
  171. package/dist/write-through-IWQKXYHE.mjs +0 -15
  172. /package/dist/{BlockNoteEditor-66ZACETR.mjs.map → BlockNoteEditor-UO4ZRCUM.mjs.map} +0 -0
  173. /package/dist/{BlockNoteViewer-2UDFTXRS.mjs.map → BlockNoteViewer-2TJZ6JET.mjs.map} +0 -0
  174. /package/dist/{JsonApiRequest-IKKHWCPB.mjs.map → JsonApiRequest-ADLBJ5RX.mjs.map} +0 -0
  175. /package/dist/{chunk-4RA5PRXX.mjs.map → chunk-7OIWOPM5.mjs.map} +0 -0
  176. /package/dist/{chunk-G2UIQSNJ.mjs.map → chunk-TMV7TL7O.mjs.map} +0 -0
  177. /package/dist/{chunk-QIEF7HIL.mjs.map → chunk-VNUT2D27.mjs.map} +0 -0
  178. /package/dist/{chunk-KTGKW72G.mjs.map → chunk-W4ML6D2X.mjs.map} +0 -0
  179. /package/dist/{chunk-A3RB47X4.mjs.map → chunk-YTDGYI62.mjs.map} +0 -0
  180. /package/dist/{local-transport-C7YTA4I7.mjs.map → local-transport-RVD4FZGA.mjs.map} +0 -0
  181. /package/dist/{request-66FGJIHB.mjs.map → request-4AWGPIGH.mjs.map} +0 -0
  182. /package/dist/{write-through-IWQKXYHE.mjs.map → write-through-7I3LA2WN.mjs.map} +0 -0
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkQGVVF77Ljs = require('../chunk-QGVVF77L.js');
11
+ var _chunkYSE2Z4RBjs = require('../chunk-YSE2Z4RB.js');
12
12
 
13
13
 
14
14
 
@@ -41,7 +41,7 @@ var _chunk6RCZ64BQjs = require('../chunk-6RCZ64BQ.js');
41
41
 
42
42
 
43
43
 
44
- var _chunkN5ZE2Z6Ijs = require('../chunk-N5ZE2Z6I.js');
44
+ var _chunk53SD4YRFjs = require('../chunk-53SD4YRF.js');
45
45
 
46
46
 
47
47
 
@@ -53,11 +53,11 @@ var _chunkDGN3PR2Fjs = require('../chunk-DGN3PR2F.js');
53
53
 
54
54
 
55
55
 
56
- var _chunkYWLSIIE6js = require('../chunk-YWLSIIE6.js');
57
- require('../chunk-KV4N7DEG.js');
56
+ var _chunkP7L6OFX5js = require('../chunk-P7L6OFX5.js');
57
+ require('../chunk-BQ2WAG4K.js');
58
58
 
59
59
 
60
- var _chunkWCEYT3GGjs = require('../chunk-WCEYT3GG.js');
60
+ var _chunkA5M3MORYjs = require('../chunk-A5M3MORY.js');
61
61
 
62
62
 
63
63
 
@@ -94,7 +94,7 @@ var _chunkWUNSG3INjs = require('../chunk-WUNSG3IN.js');
94
94
 
95
95
 
96
96
 
97
- var _chunkGM4VZTWLjs = require('../chunk-GM4VZTWL.js');
97
+ var _chunkRCOKQ3R4js = require('../chunk-RCOKQ3R4.js');
98
98
 
99
99
 
100
100
  var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
@@ -114,9 +114,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, configureOffline2, "configureOffline");
114
114
  // src/offline/sync/session-refresh.ts
115
115
  var _cookiesnext = require('cookies-next');
116
116
  function currentLocale() {
117
- if (typeof window === "undefined") return _chunkYWLSIIE6js.getI18nDefaultLocale.call(void 0, );
117
+ if (typeof window === "undefined") return _chunkP7L6OFX5js.getI18nDefaultLocale.call(void 0, );
118
118
  const first = window.location.pathname.split("/").filter(Boolean)[0];
119
- return first && _chunkYWLSIIE6js.getI18nSupportedLocales.call(void 0, ).includes(first) ? first : _chunkYWLSIIE6js.getI18nDefaultLocale.call(void 0, );
119
+ return first && _chunkP7L6OFX5js.getI18nSupportedLocales.call(void 0, ).includes(first) ? first : _chunkP7L6OFX5js.getI18nDefaultLocale.call(void 0, );
120
120
  }
121
121
  _chunk7QVYU63Ejs.__name.call(void 0, currentLocale, "currentLocale");
122
122
  async function refreshSession() {
@@ -142,7 +142,7 @@ function assertStillOnline() {
142
142
  _chunk7QVYU63Ejs.__name.call(void 0, assertStillOnline, "assertStillOnline");
143
143
  var isSkippable = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (status) => status === 403 || status === 404, "isSkippable");
144
144
  async function fetchResources(module, endpoint, skipped, included) {
145
- const response = await _chunkGM4VZTWLjs.JsonApiGet.call(void 0, { classKey: module, endpoint, language: currentLocale() });
145
+ const response = await _chunkRCOKQ3R4js.JsonApiGet.call(void 0, { classKey: module, endpoint, language: currentLocale() });
146
146
  assertStillOnline();
147
147
  if (!response.ok) {
148
148
  if (isSkippable(response.response)) {
@@ -216,13 +216,13 @@ async function syncRoot(rootId, kind) {
216
216
  const rootKind = _nullishCoalesce(kind, () => ( _chunkWUNSG3INjs.rootKinds.call(void 0, config)[0]));
217
217
  const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
218
218
  const previous = await store.getSyncState(rootId);
219
- const syncEndpoint = new (0, _chunkYWLSIIE6js.EndpointCreator)({
219
+ const syncEndpoint = new (0, _chunkP7L6OFX5js.EndpointCreator)({
220
220
  endpoint: rootKind.module,
221
221
  id: rootId,
222
- childEndpoint: _chunkYWLSIIE6js.ROOT_SYNC_ENDPOINT
222
+ childEndpoint: _chunkP7L6OFX5js.ROOT_SYNC_ENDPOINT
223
223
  }).generate();
224
- const syncResponse = await _chunkGM4VZTWLjs.JsonApiGet.call(void 0, {
225
- classKey: _nullishCoalesce(rootKind.syncModule, () => ( _chunkYWLSIIE6js.Modules.RootSync)),
224
+ const syncResponse = await _chunkRCOKQ3R4js.JsonApiGet.call(void 0, {
225
+ classKey: _nullishCoalesce(rootKind.syncModule, () => ( _chunkP7L6OFX5js.Modules.RootSync)),
226
226
  endpoint: syncEndpoint,
227
227
  language: currentLocale()
228
228
  });
@@ -241,25 +241,25 @@ async function syncRoot(rootId, kind) {
241
241
  locked: true,
242
242
  lockedFrom: _nullishCoalesce(sync.lockedFrom, () => ( null))
243
243
  });
244
- await _chunkQGVVF77Ljs.refreshLockedRoots.call(void 0, );
244
+ await _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
245
245
  return;
246
246
  }
247
247
  const typeNames = new Set(config.types.map((typeConfig) => typeConfig.module.name));
248
248
  const entries = sync.entries.filter((entry) => typeNames.has(entry.type));
249
- const entryUpdatedAt = new Map(entries.map((entry) => [_chunkQGVVF77Ljs.recordKeyOf.call(void 0, entry.type, entry.id), entry.updatedAt]));
249
+ const entryUpdatedAt = new Map(entries.map((entry) => [_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id), entry.updatedAt]));
250
250
  const since = previous.serverTime;
251
251
  const inWindow = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (entry) => !since || entry.updatedAt.getTime() > since.getTime(), "inWindow");
252
252
  const stored = /* @__PURE__ */ new Map();
253
253
  for (const typeConfig of config.types) {
254
254
  for (const record of await store.listRecords({ type: typeConfig.module.name, rootId })) {
255
- stored.set(_chunkQGVVF77Ljs.recordKeyOf.call(void 0, record.type, record.id), record);
255
+ stored.set(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id), record);
256
256
  }
257
257
  }
258
258
  const previouslySkipped = new Map(
259
- (await store.skippedRecords(rootId)).map((record) => [_chunkQGVVF77Ljs.recordKeyOf.call(void 0, record.type, record.id), record.updatedAt])
259
+ (await store.skippedRecords(rootId)).map((record) => [_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id), record.updatedAt])
260
260
  );
261
261
  const isStale = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (entry) => {
262
- const key = _chunkQGVVF77Ljs.recordKeyOf.call(void 0, entry.type, entry.id);
262
+ const key = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id);
263
263
  const record = stored.get(key);
264
264
  if (record && record.updatedAt !== null) return false;
265
265
  const skippedAt = previouslySkipped.get(key);
@@ -290,7 +290,7 @@ async function syncRoot(rootId, kind) {
290
290
  ];
291
291
  }
292
292
  if (typeConfig.fetch === "root-list") {
293
- const endpoint = new (0, _chunkYWLSIIE6js.EndpointCreator)({
293
+ const endpoint = new (0, _chunkP7L6OFX5js.EndpointCreator)({
294
294
  endpoint: rootKind.module,
295
295
  id: rootId,
296
296
  childEndpoint: typeConfig.module
@@ -311,7 +311,7 @@ async function syncRoot(rootId, kind) {
311
311
  for (const link of sync.links) {
312
312
  if (link.kind !== linkKind || link.fromType !== typeConfig.module.name || !changedIds.has(link.fromId))
313
313
  continue;
314
- targets.set(_chunkQGVVF77Ljs.recordKeyOf.call(void 0, link.toType, link.toId), { type: link.toType, id: link.toId });
314
+ targets.set(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, link.toType, link.toId), { type: link.toType, id: link.toId });
315
315
  }
316
316
  return [...targets.values()].map((target) => async () => {
317
317
  const resources = await fetchResources(typeConfig.module, endpoint(rootId, target), skipped, included);
@@ -321,7 +321,7 @@ async function syncRoot(rootId, kind) {
321
321
  });
322
322
  }
323
323
  return changedOfType.map((entry) => async () => {
324
- const endpoint = new (0, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: typeConfig.module, id: entry.id }).generate();
324
+ const endpoint = new (0, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: typeConfig.module, id: entry.id }).generate();
325
325
  fetched.push(...await fetchResources(typeConfig.module, endpoint, skipped, included));
326
326
  });
327
327
  }, "fetchTasksOf");
@@ -329,14 +329,14 @@ async function syncRoot(rootId, kind) {
329
329
  const otherTypes = config.types.filter((typeConfig) => typeConfig.module.name !== rootTypeName);
330
330
  await runWithConcurrency(rootTypes.flatMap(fetchTasksOf), SYNC_FETCH_CONCURRENCY);
331
331
  await runWithConcurrency(otherTypes.flatMap(fetchTasksOf), SYNC_FETCH_CONCURRENCY);
332
- const fetchedKeys = new Set(fetched.map((resource) => _chunkQGVVF77Ljs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _11 => _11.type]), _optionalChain([resource, 'optionalAccess', _12 => _12.id]))));
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]))));
333
333
  const previousImageUrls = /* @__PURE__ */ new Map();
334
334
  const removedImageUrls = [];
335
335
  await store.transaction(async (tx) => {
336
- const waiting = _chunkQGVVF77Ljs.waitingRecordKeys.call(void 0, await tx.queue(), typeNames);
336
+ const waiting = _chunkYSE2Z4RBjs.waitingRecordKeys.call(void 0, await tx.queue(), typeNames);
337
337
  for (const typeConfig of config.types) {
338
338
  for (const record of await tx.listRecords({ type: typeConfig.module.name, rootId })) {
339
- const key = _chunkQGVVF77Ljs.recordKeyOf.call(void 0, record.type, record.id);
339
+ const key = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id);
340
340
  if (waiting.has(key)) {
341
341
  if (record.updatedAt !== null) await tx.putRecord({ ...record, updatedAt: null });
342
342
  continue;
@@ -348,7 +348,7 @@ async function syncRoot(rootId, kind) {
348
348
  }
349
349
  }
350
350
  for (const resource of fetched) {
351
- const key = _chunkQGVVF77Ljs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _13 => _13.type]), _optionalChain([resource, 'optionalAccess', _14 => _14.id]));
351
+ const key = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, _optionalChain([resource, 'optionalAccess', _13 => _13.type]), _optionalChain([resource, 'optionalAccess', _14 => _14.id]));
352
352
  if (!entryUpdatedAt.has(key)) continue;
353
353
  if (waiting.has(key)) continue;
354
354
  const existing = await tx.getRecord(resource.type, resource.id);
@@ -377,9 +377,9 @@ async function syncRoot(rootId, kind) {
377
377
  });
378
378
  }
379
379
  const skippedRecords = [];
380
- const changedKeys = new Set(changed.map((entry) => _chunkQGVVF77Ljs.recordKeyOf.call(void 0, entry.type, entry.id)));
380
+ const changedKeys = new Set(changed.map((entry) => _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id)));
381
381
  for (const entry of entries) {
382
- const key = _chunkQGVVF77Ljs.recordKeyOf.call(void 0, entry.type, entry.id);
382
+ const key = _chunkYSE2Z4RBjs.recordKeyOf.call(void 0, entry.type, entry.id);
383
383
  if (waiting.has(key) || fetchedKeys.has(key)) continue;
384
384
  if (changedKeys.has(key)) skippedRecords.push({ type: entry.type, id: entry.id, updatedAt: entry.updatedAt });
385
385
  else {
@@ -402,10 +402,10 @@ async function syncRoot(rootId, kind) {
402
402
  for (const typeConfig of config.types) {
403
403
  for (const record of await store.listRecords({ type: typeConfig.module.name, rootId })) {
404
404
  const url = _chunk6RCZ64BQjs.imageUrlOf.call(void 0, record.resource);
405
- if (url) await _chunk6RCZ64BQjs.cacheArtworkImage.call(void 0, url, previousImageUrls.get(_chunkQGVVF77Ljs.recordKeyOf.call(void 0, record.type, record.id)));
405
+ if (url) await _chunk6RCZ64BQjs.cacheArtworkImage.call(void 0, url, previousImageUrls.get(_chunkYSE2Z4RBjs.recordKeyOf.call(void 0, record.type, record.id)));
406
406
  }
407
407
  }
408
- await _chunkQGVVF77Ljs.refreshLockedRoots.call(void 0, );
408
+ await _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
409
409
  }
410
410
  _chunk7QVYU63Ejs.__name.call(void 0, syncRoot, "syncRoot");
411
411
  async function syncAll() {
@@ -447,7 +447,7 @@ async function syncAll() {
447
447
  }
448
448
  }
449
449
  }
450
- _chunkQGVVF77Ljs.rememberSyncRoots.call(void 0, [...kept], extraRoots);
450
+ _chunkYSE2Z4RBjs.rememberSyncRoots.call(void 0, [...kept], extraRoots);
451
451
  const total = work.length;
452
452
  _chunkWUNSG3INjs.setOfflineState.call(void 0, { syncProgress: { done: 0, total } });
453
453
  try {
@@ -468,10 +468,10 @@ async function syncAll() {
468
468
  if (userId) _chunkWUNSG3INjs.writeOfflineLastSync.call(void 0, userId, finishedAt);
469
469
  _chunkWUNSG3INjs.setOfflineState.call(void 0, { lastSyncedAt: finishedAt, rootCount: primaryRoots.length });
470
470
  const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
471
- for (const rootId of await _chunkQGVVF77Ljs.knownRootIds.call(void 0, store)) {
471
+ for (const rootId of await _chunkYSE2Z4RBjs.knownRootIds.call(void 0, store)) {
472
472
  if (!kept.has(rootId)) await removeRootIfIdle(store, rootId);
473
473
  }
474
- await _chunkQGVVF77Ljs.refreshLockedRoots.call(void 0, );
474
+ await _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, );
475
475
  } finally {
476
476
  _chunkWUNSG3INjs.setOfflineState.call(void 0, { syncProgress: null });
477
477
  }
@@ -557,7 +557,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, packageIdFor, "packageIdFor");
557
557
  async function entriesToSend(store) {
558
558
  const all = await store.queue();
559
559
  const typeNames = syncedTypeNames();
560
- const blocked = _chunkQGVVF77Ljs.waitingRecordKeys.call(void 0,
560
+ const blocked = _chunkYSE2Z4RBjs.waitingRecordKeys.call(void 0,
561
561
  all.filter((entry) => entry.status === "conflict"),
562
562
  typeNames
563
563
  );
@@ -567,7 +567,7 @@ async function entriesToSend(store) {
567
567
  const result = [];
568
568
  for (const entry of all) {
569
569
  if (entry.status !== "pending" && entry.status !== "sending") continue;
570
- if (_chunkQGVVF77Ljs.recordKeysOfEntry.call(void 0, entry, typeNames).some((key) => blocked.has(key))) continue;
570
+ if (_chunkYSE2Z4RBjs.recordKeysOfEntry.call(void 0, entry, typeNames).some((key) => blocked.has(key))) continue;
571
571
  if (!lockedByRoot.has(entry.rootId)) {
572
572
  lockedByRoot.set(
573
573
  entry.rootId,
@@ -584,8 +584,8 @@ async function applyResult(store, entry, result) {
584
584
  if (result.status === "applied") {
585
585
  await store.removeQueueEntry(entry.seq);
586
586
  const typeNames = syncedTypeNames();
587
- const stillWaiting = _chunkQGVVF77Ljs.waitingRecordKeys.call(void 0, await store.queue(), typeNames);
588
- for (const key of _chunkQGVVF77Ljs.recordKeysOfEntry.call(void 0, entry, typeNames)) {
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
589
  if (stillWaiting.has(key)) continue;
590
590
  const separator = key.indexOf(":");
591
591
  const record = await store.getRecord(key.slice(0, separator), key.slice(separator + 1));
@@ -594,12 +594,12 @@ async function applyResult(store, entry, result) {
594
594
  }
595
595
  }
596
596
  if (result.response) {
597
- await _chunkQGVVF77Ljs.writeThrough.call(void 0,
597
+ await _chunkYSE2Z4RBjs.writeThrough.call(void 0,
598
598
  { method: entry.method, url: entry.path },
599
599
  { ok: true, status: 200, statusText: "OK", data: result.response }
600
600
  );
601
601
  } else if (entry.method === "DELETE") {
602
- await _chunkQGVVF77Ljs.writeThrough.call(void 0,
602
+ await _chunkYSE2Z4RBjs.writeThrough.call(void 0,
603
603
  { method: entry.method, url: entry.path },
604
604
  { ok: true, status: 204, statusText: "OK", data: void 0 }
605
605
  );
@@ -645,12 +645,12 @@ async function drain() {
645
645
  packageId
646
646
  );
647
647
  for (const entry of entries) await store.setQueueStatus(entry.seq, "sending");
648
- const endpoint = new (0, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: _chunkYWLSIIE6js.Modules.OfflineChangeSet }).generate();
649
- const release = _chunkWUNSG3INjs.allowWhileReconnecting.call(void 0, _chunkGM4VZTWLjs.buildUrl.call(void 0, endpoint));
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
650
  let response;
651
651
  try {
652
- response = await _chunkGM4VZTWLjs.JsonApiPost.call(void 0, {
653
- classKey: _chunkYWLSIIE6js.Modules.OfflineChangeSet,
652
+ response = await _chunkRCOKQ3R4js.JsonApiPost.call(void 0, {
653
+ classKey: _chunkP7L6OFX5js.Modules.OfflineChangeSet,
654
654
  endpoint,
655
655
  body: { id: packageId, changes: entries.map(toChange) },
656
656
  language: currentLocale()
@@ -733,7 +733,7 @@ async function rootIdOf(store, conflict, entry) {
733
733
  _chunk7QVYU63Ejs.__name.call(void 0, rootIdOf, "rootIdOf");
734
734
  function collectionPath(recordType) {
735
735
  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, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: _nullishCoalesce(module, () => ( recordType)) }).generate();
736
+ return new (0, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: _nullishCoalesce(module, () => ( recordType)) }).generate();
737
737
  }
738
738
  _chunk7QVYU63Ejs.__name.call(void 0, collectionPath, "collectionPath");
739
739
  async function requeueOriginal(store, conflict, entry, fallbackMethod, resolution) {
@@ -742,7 +742,7 @@ async function requeueOriginal(store, conflict, entry, fallbackMethod, resolutio
742
742
  await store.enqueue({
743
743
  rootId: await rootIdOf(store, conflict, entry),
744
744
  method,
745
- path: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _38 => _38.path]), () => ( new (0, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: collectionPath(conflict.recordType), id: conflict.recordId }).generate())),
745
+ path: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _38 => _38.path]), () => ( new (0, _chunkP7L6OFX5js.EndpointCreator)({ endpoint: collectionPath(conflict.recordType), id: conflict.recordId }).generate())),
746
746
  ...body !== void 0 ? { body } : {},
747
747
  recordType: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _39 => _39.recordType]), () => ( conflict.recordType)),
748
748
  recordId: _nullishCoalesce(_optionalChain([entry, 'optionalAccess', _40 => _40.recordId]), () => ( conflict.recordId)),
@@ -862,11 +862,11 @@ var PROBE_INTERVAL_MS = 3e4;
862
862
  async function probeApi() {
863
863
  const config = _chunkWUNSG3INjs.getOfflineConfig.call(void 0, );
864
864
  const store = await _chunkWUNSG3INjs.getOfflineStore.call(void 0, );
865
- const [rootId] = await _chunkQGVVF77Ljs.knownPrimaryRootIds.call(void 0, store);
866
- const endpoint = rootId ? new (0, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: config.rootModule, id: rootId, childEndpoint: _chunkYWLSIIE6js.ROOT_SYNC_ENDPOINT }) : new (0, _chunkYWLSIIE6js.EndpointCreator)({ endpoint: config.rootModule }).addAdditionalParam("page[size]", "1");
867
- const response = await _chunkWCEYT3GGjs.directFetch.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, {
868
868
  method: "GET",
869
- url: _chunkGM4VZTWLjs.buildUrl.call(void 0, endpoint.generate()),
869
+ url: _chunkRCOKQ3R4js.buildUrl.call(void 0, endpoint.generate()),
870
870
  token: await _chunkLXKSUWAVjs.getClientToken.call(void 0, ),
871
871
  language: currentLocale(),
872
872
  additionalHeaders: { [_chunkWUNSG3INjs.OFFLINE_REPLAY_HEADER]: "1" }
@@ -986,7 +986,7 @@ function startOfflineRuntime() {
986
986
  if (state.online && !wasOnline && !goingOnlineAfterSync) void runOnline();
987
987
  wasOnline = state.online;
988
988
  });
989
- void _chunkQGVVF77Ljs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
989
+ void _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
990
990
  void refreshOfflineCounts().catch(warnUnlessUnavailable("[offline] reading the queue failed"));
991
991
  if (_chunkWUNSG3INjs.getOfflineState.call(void 0, ).online) void runOnline();
992
992
  const syncTimer = setInterval(() => {
@@ -994,7 +994,7 @@ function startOfflineRuntime() {
994
994
  }, config.syncIntervalMs);
995
995
  const probeTimer = setInterval(() => void probe(), PROBE_INTERVAL_MS);
996
996
  const lockTimer = setInterval(() => {
997
- void _chunkQGVVF77Ljs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
997
+ void _chunkYSE2Z4RBjs.refreshLockedRoots.call(void 0, ).catch(warnUnlessUnavailable("[offline] lock check failed"));
998
998
  }, LOCK_CHECK_INTERVAL_MS);
999
999
  const stop = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
1000
1000
  _runningRuntimes.delete(stop);
@@ -1140,5 +1140,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, turnOffOffline, "turnOffOffline");
1140
1140
 
1141
1141
 
1142
1142
 
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 = _chunkYWLSIIE6js.RootSync; exports.SERVER_DEFAULT_ORDER_BY = _chunkN5ZE2Z6Ijs.SERVER_DEFAULT_ORDER_BY; exports.SYNC_FETCH_CONCURRENCY = SYNC_FETCH_CONCURRENCY; exports.configureOffline = configureOffline2; exports.deleteDeviceStore = _chunk6RCZ64BQjs.deleteDeviceStore; exports.drainQueue = drainQueue; exports.errorAnswer = _chunkN5ZE2Z6Ijs.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 = _chunkN5ZE2Z6Ijs.includedFor; exports.isOfflineAvailable = _chunkWUNSG3INjs.isOfflineAvailable; exports.isOfflineConfigured = _chunkWUNSG3INjs.isOfflineConfigured; exports.isOfflineEnabledOnDevice = _chunkWUNSG3INjs.isOfflineEnabledOnDevice; exports.isRootLocked = _chunk6RCZ64BQjs.isRootLocked; exports.linkKindFor = _chunkN5ZE2Z6Ijs.linkKindFor; exports.linkKindsOf = _chunkN5ZE2Z6Ijs.linkKindsOf; exports.linksOfKind = _chunkN5ZE2Z6Ijs.linksOfKind; exports.listAnswer = _chunkN5ZE2Z6Ijs.listAnswer; exports.localTransport = _chunkN5ZE2Z6Ijs.localTransport; exports.matchPattern = _chunkN5ZE2Z6Ijs.matchPattern; exports.matchRoute = _chunkN5ZE2Z6Ijs.matchRoute; exports.mergeResource = _chunkN5ZE2Z6Ijs.mergeResource; exports.needsConnectionAnswer = _chunkN5ZE2Z6Ijs.needsConnectionAnswer; exports.notFoundAnswer = _chunkN5ZE2Z6Ijs.notFoundAnswer; exports.onUserSignedIn = _chunk6RCZ64BQjs.onUserSignedIn; exports.openDeviceStore = _chunk6RCZ64BQjs.openDeviceStore; exports.openMemoryDeviceStore = _chunk6RCZ64BQjs.openMemoryDeviceStore; exports.orderRecords = _chunkN5ZE2Z6Ijs.orderRecords; exports.orderedListAnswer = _chunkN5ZE2Z6Ijs.orderedListAnswer; exports.patternToString = _chunkWUNSG3INjs.patternToString; exports.prepareOfflineLogout = prepareOfflineLogout; exports.refreshOfflineDeviceState = _chunkWUNSG3INjs.refreshOfflineDeviceState; exports.resolveConflict = resolveConflict; exports.resourceFromDocument = _chunkN5ZE2Z6Ijs.resourceFromDocument; exports.resourceListAnswer = _chunkN5ZE2Z6Ijs.resourceListAnswer; exports.searchRecords = _chunkN5ZE2Z6Ijs.searchRecords; exports.setDeviceStoreOpener = _chunkWUNSG3INjs.setDeviceStoreOpener; exports.setOfflineState = _chunkWUNSG3INjs.setOfflineState; exports.singleAnswer = _chunkN5ZE2Z6Ijs.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 = _chunkQGVVF77Ljs.writeThrough;
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;
1144
1144
  //# sourceMappingURL=index.js.map
@@ -8,7 +8,7 @@ import {
8
8
  rememberSyncRoots,
9
9
  waitingRecordKeys,
10
10
  writeThrough
11
- } from "../chunk-KTGKW72G.mjs";
11
+ } from "../chunk-W4ML6D2X.mjs";
12
12
  import {
13
13
  cacheArtworkImage,
14
14
  deleteDeviceStore,
@@ -41,7 +41,7 @@ import {
41
41
  resourceListAnswer,
42
42
  searchRecords,
43
43
  singleAnswer
44
- } from "../chunk-A3RB47X4.mjs";
44
+ } from "../chunk-YTDGYI62.mjs";
45
45
  import {
46
46
  useNeedsConnection,
47
47
  useOfflineState
@@ -53,11 +53,11 @@ import {
53
53
  RootSync,
54
54
  getI18nDefaultLocale,
55
55
  getI18nSupportedLocales
56
- } from "../chunk-JSHLBRFV.mjs";
57
- import "../chunk-AUD6ZLBB.mjs";
56
+ } from "../chunk-N2BFT7KI.mjs";
57
+ import "../chunk-BE6UMM5X.mjs";
58
58
  import {
59
59
  directFetch
60
- } from "../chunk-M3N7LPHX.mjs";
60
+ } from "../chunk-S7SPAC6X.mjs";
61
61
  import {
62
62
  DEFAULT_DEVICE_WORKER_URL,
63
63
  DEFAULT_SQLITE_MODULE_URL,
@@ -94,7 +94,7 @@ import {
94
94
  JsonApiGet,
95
95
  JsonApiPost,
96
96
  buildUrl
97
- } from "../chunk-MQ7TXALH.mjs";
97
+ } from "../chunk-YMCL3JXZ.mjs";
98
98
  import {
99
99
  getClientToken
100
100
  } from "../chunk-AUXK7QSA.mjs";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  directFetch
4
- } from "./chunk-M3N7LPHX.mjs";
4
+ } from "./chunk-S7SPAC6X.mjs";
5
5
  import "./chunk-4ZJIUTIV.mjs";
6
6
  import "./chunk-PAWJFY3S.mjs";
7
7
  export {
8
8
  directFetch
9
9
  };
10
- //# sourceMappingURL=request-66FGJIHB.mjs.map
10
+ //# sourceMappingURL=request-4AWGPIGH.mjs.map
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkWCEYT3GGjs = require('./chunk-WCEYT3GG.js');
4
+ var _chunkA5M3MORYjs = require('./chunk-A5M3MORY.js');
5
5
  require('./chunk-WUNSG3IN.js');
6
6
  require('./chunk-7QVYU63E.js');
7
7
 
8
8
 
9
- exports.directFetch = _chunkWCEYT3GGjs.directFetch;
10
- //# sourceMappingURL=request-6W6UGKJV.js.map
9
+ exports.directFetch = _chunkA5M3MORYjs.directFetch;
10
+ //# sourceMappingURL=request-H5FZBZA2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-6W6UGKJV.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,mDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-6W6UGKJV.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-H5FZBZA2.js"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,mDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/request-H5FZBZA2.js"}
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk54K2CZ2Fjs = require('../chunk-54K2CZ2F.js');
7
+ var _chunkSO3YUCL6js = require('../chunk-SO3YUCL6.js');
8
8
 
9
9
 
10
10
  var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
@@ -18,7 +18,7 @@ var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkOQQ7CZWTjs = require('../chunk-OQQ7CZWT.js');
21
+ var _chunkGMMDXINCjs = require('../chunk-GMMDXINC.js');
22
22
 
23
23
 
24
24
  var _chunk6TUB7Y6Tjs = require('../chunk-6TUB7Y6T.js');
@@ -36,15 +36,15 @@ require('../chunk-G4JR3SFV.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkZB6OYIMBjs = require('../chunk-ZB6OYIMB.js');
40
- require('../chunk-YWLSIIE6.js');
41
- require('../chunk-KV4N7DEG.js');
42
- require('../chunk-WCEYT3GG.js');
39
+ var _chunkHN7L6RRWjs = require('../chunk-HN7L6RRW.js');
40
+ require('../chunk-P7L6OFX5.js');
41
+ require('../chunk-BQ2WAG4K.js');
42
+ require('../chunk-A5M3MORY.js');
43
43
 
44
44
 
45
45
 
46
46
  var _chunkWUNSG3INjs = require('../chunk-WUNSG3IN.js');
47
- require('../chunk-GM4VZTWL.js');
47
+ require('../chunk-RCOKQ3R4.js');
48
48
  require('../chunk-LXKSUWAV.js');
49
49
  require('../chunk-7QVYU63E.js');
50
50
 
@@ -76,5 +76,5 @@ require('../chunk-7QVYU63E.js');
76
76
 
77
77
 
78
78
 
79
- exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.ServerAuthService = _chunkZB6OYIMBjs.AuthService; exports.ServerCompanyService = _chunkZB6OYIMBjs.CompanyService; exports.ServerContentService = _chunkZB6OYIMBjs.ContentService; exports.ServerFeatureService = _chunkZB6OYIMBjs.FeatureService; exports.ServerJsonApiDelete = _chunkOQQ7CZWTjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkOQQ7CZWTjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkOQQ7CZWTjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkOQQ7CZWTjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkOQQ7CZWTjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkZB6OYIMBjs.NotificationService; exports.ServerPushService = _chunkZB6OYIMBjs.PushService; exports.ServerRoleService = _chunkZB6OYIMBjs.RoleService; exports.ServerS3Service = _chunkZB6OYIMBjs.S3Service; exports.ServerSession = _chunk54K2CZ2Fjs.ServerSession; exports.ServerUserService = _chunkZB6OYIMBjs.UserService; exports.buildOfflineManifest = _chunk54K2CZ2Fjs.buildOfflineManifest; exports.configureServerJsonApi = _chunkOQQ7CZWTjs.configureServerJsonApi; exports.getServerApiUrl = _chunkOQQ7CZWTjs.getServerApiUrl; exports.getServerAppUrl = _chunkOQQ7CZWTjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkOQQ7CZWTjs.getServerTrackablePages; exports.invalidateCacheTag = _chunk54K2CZ2Fjs.invalidateCacheTag; exports.invalidateCacheTags = _chunk54K2CZ2Fjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunk54K2CZ2Fjs.updateCacheTag;
79
+ exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.DEFAULT_SQLITE_MODULE_URL = _chunkWUNSG3INjs.DEFAULT_SQLITE_MODULE_URL; exports.OFFLINE_SQLITE_FILES = _chunkWUNSG3INjs.OFFLINE_SQLITE_FILES; exports.ServerAuthService = _chunkHN7L6RRWjs.AuthService; exports.ServerCompanyService = _chunkHN7L6RRWjs.CompanyService; exports.ServerContentService = _chunkHN7L6RRWjs.ContentService; exports.ServerFeatureService = _chunkHN7L6RRWjs.FeatureService; exports.ServerJsonApiDelete = _chunkGMMDXINCjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkGMMDXINCjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkGMMDXINCjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkGMMDXINCjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkGMMDXINCjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkHN7L6RRWjs.NotificationService; exports.ServerPushService = _chunkHN7L6RRWjs.PushService; exports.ServerRoleService = _chunkHN7L6RRWjs.RoleService; exports.ServerS3Service = _chunkHN7L6RRWjs.S3Service; exports.ServerSession = _chunkSO3YUCL6js.ServerSession; exports.ServerUserService = _chunkHN7L6RRWjs.UserService; exports.buildOfflineManifest = _chunkSO3YUCL6js.buildOfflineManifest; exports.configureServerJsonApi = _chunkGMMDXINCjs.configureServerJsonApi; exports.getServerApiUrl = _chunkGMMDXINCjs.getServerApiUrl; exports.getServerAppUrl = _chunkGMMDXINCjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkGMMDXINCjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkSO3YUCL6js.invalidateCacheTag; exports.invalidateCacheTags = _chunkSO3YUCL6js.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkSO3YUCL6js.updateCacheTag;
80
80
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import {
4
4
  invalidateCacheTag,
5
5
  invalidateCacheTags,
6
6
  updateCacheTag
7
- } from "../chunk-4RA5PRXX.mjs";
7
+ } from "../chunk-7OIWOPM5.mjs";
8
8
  import {
9
9
  CACHE_PROFILES
10
10
  } from "../chunk-T7SAW3UW.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  getServerApiUrl,
19
19
  getServerAppUrl,
20
20
  getServerTrackablePages
21
- } from "../chunk-QIEF7HIL.mjs";
21
+ } from "../chunk-VNUT2D27.mjs";
22
22
  import {
23
23
  serverRequest
24
24
  } from "../chunk-E2LENTUH.mjs";
@@ -36,15 +36,15 @@ import {
36
36
  RoleService,
37
37
  S3Service,
38
38
  UserService
39
- } from "../chunk-DPXOPLQP.mjs";
40
- import "../chunk-JSHLBRFV.mjs";
41
- import "../chunk-AUD6ZLBB.mjs";
42
- import "../chunk-M3N7LPHX.mjs";
39
+ } from "../chunk-T6G2F2BK.mjs";
40
+ import "../chunk-N2BFT7KI.mjs";
41
+ import "../chunk-BE6UMM5X.mjs";
42
+ import "../chunk-S7SPAC6X.mjs";
43
43
  import {
44
44
  DEFAULT_SQLITE_MODULE_URL,
45
45
  OFFLINE_SQLITE_FILES
46
46
  } from "../chunk-4ZJIUTIV.mjs";
47
- import "../chunk-MQ7TXALH.mjs";
47
+ import "../chunk-YMCL3JXZ.mjs";
48
48
  import "../chunk-AUXK7QSA.mjs";
49
49
  import "../chunk-PAWJFY3S.mjs";
50
50
  export {
@@ -30,6 +30,7 @@ export declare function JsonApiGet(params: {
30
30
  language: string;
31
31
  token?: string;
32
32
  baseUrl?: string;
33
+ credentials?: RequestCredentials;
33
34
  }): Promise<ApiResponseInterface>;
34
35
  export declare function JsonApiPost(params: {
35
36
  classKey: ApiRequestDataTypeInterface;
@@ -44,6 +45,7 @@ export declare function JsonApiPost(params: {
44
45
  responseType?: ApiRequestDataTypeInterface;
45
46
  token?: string;
46
47
  baseUrl?: string;
48
+ credentials?: RequestCredentials;
47
49
  }): Promise<ApiResponseInterface>;
48
50
  export declare function JsonApiPut(params: {
49
51
  classKey: ApiRequestDataTypeInterface;
@@ -57,6 +59,7 @@ export declare function JsonApiPut(params: {
57
59
  responseType?: ApiRequestDataTypeInterface;
58
60
  token?: string;
59
61
  baseUrl?: string;
62
+ credentials?: RequestCredentials;
60
63
  }): Promise<ApiResponseInterface>;
61
64
  export declare function JsonApiPatch(params: {
62
65
  classKey: ApiRequestDataTypeInterface;
@@ -71,6 +74,7 @@ export declare function JsonApiPatch(params: {
71
74
  language: string;
72
75
  token?: string;
73
76
  baseUrl?: string;
77
+ credentials?: RequestCredentials;
74
78
  }): Promise<ApiResponseInterface>;
75
79
  export declare function JsonApiDelete(params: {
76
80
  classKey: ApiRequestDataTypeInterface;
@@ -80,5 +84,6 @@ export declare function JsonApiDelete(params: {
80
84
  responseType?: ApiRequestDataTypeInterface;
81
85
  token?: string;
82
86
  baseUrl?: string;
87
+ credentials?: RequestCredentials;
83
88
  }): Promise<ApiResponseInterface>;
84
89
  //# sourceMappingURL=JsonApiRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JsonApiRequest.d.ts","sourceRoot":"","sources":["../../src/unified/JsonApiRequest.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAG/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AA2C7D;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5C,GAAG,IAAI,CAOP;AAmED,wBAAgB,SAAS,IAAI,MAAM,CAUlC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAYlC;AAED,wBAAgB,iBAAiB,IAAI,qBAAqB,EAAE,CAE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ACjB,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA6BhC;AAED,wBAAsB,aAAa,CAAC,MAAM,EAAE;IAC1C,QAAQ,EAAE,2BAA2B,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAoBhC"}
@@ -0,0 +1,15 @@
1
+ import {
2
+ writeThrough
3
+ } from "./chunk-W4ML6D2X.mjs";
4
+ import "./chunk-4RPGFQBA.mjs";
5
+ import "./chunk-YTDGYI62.mjs";
6
+ import "./chunk-BE6UMM5X.mjs";
7
+ import "./chunk-S7SPAC6X.mjs";
8
+ import "./chunk-4ZJIUTIV.mjs";
9
+ import "./chunk-YMCL3JXZ.mjs";
10
+ import "./chunk-AUXK7QSA.mjs";
11
+ import "./chunk-PAWJFY3S.mjs";
12
+ export {
13
+ writeThrough
14
+ };
15
+ //# sourceMappingURL=write-through-7I3LA2WN.mjs.map
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkYSE2Z4RBjs = require('./chunk-YSE2Z4RB.js');
4
+ require('./chunk-6RCZ64BQ.js');
5
+ require('./chunk-53SD4YRF.js');
6
+ require('./chunk-BQ2WAG4K.js');
7
+ require('./chunk-A5M3MORY.js');
8
+ require('./chunk-WUNSG3IN.js');
9
+ require('./chunk-RCOKQ3R4.js');
10
+ require('./chunk-LXKSUWAV.js');
11
+ require('./chunk-7QVYU63E.js');
12
+
13
+
14
+ exports.writeThrough = _chunkYSE2Z4RBjs.writeThrough;
15
+ //# sourceMappingURL=write-through-HE2QSOVI.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/write-through-BAPS24GL.js"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,qDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/write-through-BAPS24GL.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/write-through-HE2QSOVI.js"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACF,qDAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/write-through-HE2QSOVI.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "6.21.0",
3
+ "version": "6.23.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",