@relyio/sdk 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +172 -0
- package/dist/chunk-3NPPMGB6.js +1092 -0
- package/dist/{chunk-7GLDVHIH.js → chunk-6NGJXLOR.js} +65 -67
- package/dist/{chunk-4HTIU5YE.cjs → chunk-DEDIJKHY.cjs} +65 -67
- package/dist/{chunk-2TIJLV2X.js → chunk-EW23SZPX.js} +43 -65
- package/dist/{chunk-PO7CUR5U.cjs → chunk-FOSM4LMM.cjs} +42 -65
- package/dist/chunk-Z6GLWSSD.cjs +1106 -0
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/{define-schema-CVi8nwc7.d.ts → define-schema-UHViXKiv.d.ts} +33 -435
- package/dist/{define-schema-DqpipEHv.d.cts → define-schema-sWJ8Zn7C.d.cts} +33 -435
- package/dist/{define-content-type-ENAod5Ve.d.cts → include-paths-Bs5FhNw2.d.cts} +3505 -483
- package/dist/{define-content-type-ENAod5Ve.d.ts → include-paths-Cb7iPCW2.d.ts} +3505 -483
- package/dist/index--_u1nPHv.d.cts +507 -0
- package/dist/index-8DozAWsA.d.ts +507 -0
- package/dist/{index-MLAFUuco.d.cts → index-BT0L8xJj.d.cts} +139 -90
- package/dist/{index-BKEAYvvz.d.ts → index-CPjJ25R4.d.ts} +139 -90
- package/dist/index.cjs +134 -110
- package/dist/index.d.cts +44 -71
- package/dist/index.d.ts +44 -71
- package/dist/index.js +5 -28
- package/dist/markdown/index.cjs +13750 -0
- package/dist/markdown/index.d.cts +111 -0
- package/dist/markdown/index.d.ts +111 -0
- package/dist/markdown/index.js +13742 -0
- package/dist/rich-text/index.cjs +49 -0
- package/dist/rich-text/index.d.cts +3 -0
- package/dist/rich-text/index.d.ts +3 -0
- package/dist/rich-text/index.js +4 -0
- package/dist/rich-text.d-BWc-5gX1.d.cts +326 -0
- package/dist/rich-text.d-BWc-5gX1.d.ts +326 -0
- package/dist/schema/index.cjs +34 -38
- package/dist/schema/index.d.cts +15 -137
- package/dist/schema/index.d.ts +15 -137
- package/dist/schema/index.js +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +19 -2
- package/dist/.tsbuildinfo +0 -1
- package/dist/index-BM42r4yg.d.cts +0 -860
- package/dist/index-C73cK2Tt.d.ts +0 -860
package/dist/index.cjs
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkFOSM4LMM_cjs = require('./chunk-FOSM4LMM.cjs');
|
|
6
|
+
var chunkDEDIJKHY_cjs = require('./chunk-DEDIJKHY.cjs');
|
|
7
7
|
require('./chunk-LSRPMNPT.cjs');
|
|
8
8
|
require('./chunk-PPA2WWOH.cjs');
|
|
9
9
|
var chunkTZL374LS_cjs = require('./chunk-TZL374LS.cjs');
|
|
10
|
+
var chunkZ6GLWSSD_cjs = require('./chunk-Z6GLWSSD.cjs');
|
|
10
11
|
var chunkMWMSFIWN_cjs = require('./chunk-MWMSFIWN.cjs');
|
|
11
12
|
|
|
12
13
|
/* RelyIO SDK - Built with ❤️ by the RelyIO Team */
|
|
@@ -20,9 +21,9 @@ function stopOnUnknownAnswer(_answer) {
|
|
|
20
21
|
}
|
|
21
22
|
chunkMWMSFIWN_cjs.__name(stopOnUnknownAnswer, "stopOnUnknownAnswer");
|
|
22
23
|
function classifyFollowFailure(error) {
|
|
23
|
-
if (error instanceof
|
|
24
|
-
if (!(error instanceof
|
|
25
|
-
const afterMs =
|
|
24
|
+
if (error instanceof chunkDEDIJKHY_cjs.LiveEdgeError) return liveEdgeVerdict(error);
|
|
25
|
+
if (!(error instanceof chunkDEDIJKHY_cjs.SDKError) || !error.retryable) return { retry: false };
|
|
26
|
+
const afterMs = chunkDEDIJKHY_cjs.serviceInstructedDelayMs(error, Date.now());
|
|
26
27
|
return afterMs === void 0 ? { retry: true } : { retry: true, afterMs };
|
|
27
28
|
}
|
|
28
29
|
chunkMWMSFIWN_cjs.__name(classifyFollowFailure, "classifyFollowFailure");
|
|
@@ -36,7 +37,7 @@ function liveEdgeVerdict(error) {
|
|
|
36
37
|
return { retry: true, ...hint };
|
|
37
38
|
}
|
|
38
39
|
case "back-off": {
|
|
39
|
-
return { retry: true, ...hint, backOffMs:
|
|
40
|
+
return { retry: true, ...hint, backOffMs: chunkDEDIJKHY_cjs.VISITOR_ADMISSION_RETRY_AFTER_SECONDS * 1e3 };
|
|
40
41
|
}
|
|
41
42
|
default: {
|
|
42
43
|
return stopOnUnknownAnswer(error.retry);
|
|
@@ -49,10 +50,10 @@ async function followChanges(source, options) {
|
|
|
49
50
|
const classify = options.classify ?? classifyFollowFailure;
|
|
50
51
|
const random = options.random ?? Math.random;
|
|
51
52
|
const report = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((state) => {
|
|
52
|
-
if (!
|
|
53
|
+
if (!chunkDEDIJKHY_cjs.isAborted(signal)) options.onState?.(state);
|
|
53
54
|
}, "report");
|
|
54
55
|
const resync = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(async (cause) => {
|
|
55
|
-
if (
|
|
56
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return;
|
|
56
57
|
await onResync(cause);
|
|
57
58
|
report({ kind: "resynced", resync: cause });
|
|
58
59
|
}, "resync");
|
|
@@ -61,12 +62,12 @@ async function followChanges(source, options) {
|
|
|
61
62
|
let unanchored = false;
|
|
62
63
|
let current;
|
|
63
64
|
for (; ; ) {
|
|
64
|
-
if (
|
|
65
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
65
66
|
try {
|
|
66
67
|
if (unanchored) {
|
|
67
68
|
unanchored = false;
|
|
68
69
|
await resync({ cause: "no-cursor" });
|
|
69
|
-
if (
|
|
70
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
70
71
|
}
|
|
71
72
|
report({ kind: "following" });
|
|
72
73
|
const open = {};
|
|
@@ -83,13 +84,13 @@ async function followChanges(source, options) {
|
|
|
83
84
|
}, "reached")
|
|
84
85
|
});
|
|
85
86
|
for await (const change of changes) {
|
|
86
|
-
if (
|
|
87
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
87
88
|
failures = 0;
|
|
88
89
|
await onChange(change);
|
|
89
90
|
since = change.cursor;
|
|
90
|
-
if (
|
|
91
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
91
92
|
}
|
|
92
|
-
if (
|
|
93
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
93
94
|
const error = new Error(
|
|
94
95
|
"The change source completed without its signal aborting; a source ends only on abort and throws every other end."
|
|
95
96
|
);
|
|
@@ -97,7 +98,7 @@ async function followChanges(source, options) {
|
|
|
97
98
|
return { kind: "stopped", since, error };
|
|
98
99
|
} catch (error) {
|
|
99
100
|
current = void 0;
|
|
100
|
-
if (
|
|
101
|
+
if (chunkDEDIJKHY_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
101
102
|
const verdict = classify(error);
|
|
102
103
|
if (!verdict.retry) {
|
|
103
104
|
report({ kind: "stopped", error });
|
|
@@ -106,7 +107,7 @@ async function followChanges(source, options) {
|
|
|
106
107
|
failures += 1;
|
|
107
108
|
const retryInMs = retryDelayMs(failures, verdict, random);
|
|
108
109
|
report({ kind: "reconnecting", error, retryInMs });
|
|
109
|
-
await
|
|
110
|
+
await chunkDEDIJKHY_cjs.sleep(retryInMs, signal);
|
|
110
111
|
if (since === void 0) unanchored = true;
|
|
111
112
|
}
|
|
112
113
|
}
|
|
@@ -255,30 +256,6 @@ var localeHelpers = {
|
|
|
255
256
|
getAllLocalizedValues
|
|
256
257
|
};
|
|
257
258
|
|
|
258
|
-
// src/binding/relyio-field.ts
|
|
259
|
-
var BINDING_VERSION = "1";
|
|
260
|
-
function relyioField(entry, field) {
|
|
261
|
-
const metadata = entry._metadata;
|
|
262
|
-
return {
|
|
263
|
-
"data-relyio-entry": requireMetadata(metadata, "id", field),
|
|
264
|
-
"data-relyio-type": requireMetadata(metadata, "type", field),
|
|
265
|
-
"data-relyio-field": field,
|
|
266
|
-
"data-relyio-locale": requireMetadata(metadata, "locale", field),
|
|
267
|
-
"data-relyio-v": BINDING_VERSION
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
chunkMWMSFIWN_cjs.__name(relyioField, "relyioField");
|
|
271
|
-
function requireMetadata(metadata, key, field) {
|
|
272
|
-
const value = metadata?.[key];
|
|
273
|
-
if (typeof value !== "string" || value.length === 0) {
|
|
274
|
-
throw new TypeError(
|
|
275
|
-
`relyioField(entry, '${field}'): the entry has no _metadata.${key}, so the field cannot be bound. Pass an entry as the RelyIO API returned it.`
|
|
276
|
-
);
|
|
277
|
-
}
|
|
278
|
-
return value;
|
|
279
|
-
}
|
|
280
|
-
chunkMWMSFIWN_cjs.__name(requireMetadata, "requireMetadata");
|
|
281
|
-
|
|
282
259
|
// src/binding/change-event.ts
|
|
283
260
|
var RELYIO_CHANGE_EVENT = "relyio:change";
|
|
284
261
|
var RELYIO_RESYNC_EVENT = "relyio:resync";
|
|
@@ -302,271 +279,267 @@ var VERSION = "__VERSION__";
|
|
|
302
279
|
|
|
303
280
|
Object.defineProperty(exports, "defineAssetType", {
|
|
304
281
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
306
|
-
});
|
|
307
|
-
Object.defineProperty(exports, "defineComponent", {
|
|
308
|
-
enumerable: true,
|
|
309
|
-
get: function () { return chunkPO7CUR5U_cjs.defineComponent; }
|
|
282
|
+
get: function () { return chunkFOSM4LMM_cjs.defineAssetType; }
|
|
310
283
|
});
|
|
311
284
|
Object.defineProperty(exports, "defineContentType", {
|
|
312
285
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkFOSM4LMM_cjs.defineContentType; }
|
|
314
287
|
});
|
|
315
288
|
Object.defineProperty(exports, "defineQuery", {
|
|
316
289
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkFOSM4LMM_cjs.defineQuery; }
|
|
318
291
|
});
|
|
319
292
|
Object.defineProperty(exports, "defineSchema", {
|
|
320
293
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkFOSM4LMM_cjs.defineSchema; }
|
|
322
295
|
});
|
|
323
296
|
Object.defineProperty(exports, "defineSettingsGroup", {
|
|
324
297
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkFOSM4LMM_cjs.defineSettingsGroup; }
|
|
326
299
|
});
|
|
327
300
|
Object.defineProperty(exports, "defineSingleton", {
|
|
328
301
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkFOSM4LMM_cjs.defineSingleton; }
|
|
330
303
|
});
|
|
331
304
|
Object.defineProperty(exports, "defineSingletonContentType", {
|
|
332
305
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkFOSM4LMM_cjs.defineSingletonContentType; }
|
|
334
307
|
});
|
|
335
308
|
Object.defineProperty(exports, "fields", {
|
|
336
309
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkFOSM4LMM_cjs.fields; }
|
|
338
311
|
});
|
|
339
312
|
Object.defineProperty(exports, "fieldset", {
|
|
340
313
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkFOSM4LMM_cjs.fieldset; }
|
|
342
315
|
});
|
|
343
316
|
Object.defineProperty(exports, "AdhocQueryBuilder", {
|
|
344
317
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkDEDIJKHY_cjs.AdhocQueryBuilder; }
|
|
346
319
|
});
|
|
347
320
|
Object.defineProperty(exports, "AdhocQueryClient", {
|
|
348
321
|
enumerable: true,
|
|
349
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkDEDIJKHY_cjs.AdhocQueryClient; }
|
|
350
323
|
});
|
|
351
324
|
Object.defineProperty(exports, "AssetClient", {
|
|
352
325
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkDEDIJKHY_cjs.AssetClient; }
|
|
354
327
|
});
|
|
355
328
|
Object.defineProperty(exports, "AssetFileBuilder", {
|
|
356
329
|
enumerable: true,
|
|
357
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkDEDIJKHY_cjs.AssetFileBuilder; }
|
|
358
331
|
});
|
|
359
332
|
Object.defineProperty(exports, "AssetUploadBuilder", {
|
|
360
333
|
enumerable: true,
|
|
361
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkDEDIJKHY_cjs.AssetUploadBuilder; }
|
|
362
335
|
});
|
|
363
336
|
Object.defineProperty(exports, "AuthorizationError", {
|
|
364
337
|
enumerable: true,
|
|
365
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkDEDIJKHY_cjs.AuthorizationError; }
|
|
366
339
|
});
|
|
367
340
|
Object.defineProperty(exports, "AutocompleteBuilder", {
|
|
368
341
|
enumerable: true,
|
|
369
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkDEDIJKHY_cjs.AutocompleteBuilder; }
|
|
370
343
|
});
|
|
371
344
|
Object.defineProperty(exports, "BaseValidationError", {
|
|
372
345
|
enumerable: true,
|
|
373
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkDEDIJKHY_cjs.BaseValidationError; }
|
|
374
347
|
});
|
|
375
348
|
Object.defineProperty(exports, "BatchBuilder", {
|
|
376
349
|
enumerable: true,
|
|
377
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunkDEDIJKHY_cjs.BatchBuilder; }
|
|
378
351
|
});
|
|
379
352
|
Object.defineProperty(exports, "BatchClient", {
|
|
380
353
|
enumerable: true,
|
|
381
|
-
get: function () { return
|
|
354
|
+
get: function () { return chunkDEDIJKHY_cjs.BatchClient; }
|
|
382
355
|
});
|
|
383
356
|
Object.defineProperty(exports, "ChangesExpiredError", {
|
|
384
357
|
enumerable: true,
|
|
385
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkDEDIJKHY_cjs.ChangesExpiredError; }
|
|
386
359
|
});
|
|
387
360
|
Object.defineProperty(exports, "ConnectionError", {
|
|
388
361
|
enumerable: true,
|
|
389
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunkDEDIJKHY_cjs.ConnectionError; }
|
|
390
363
|
});
|
|
391
364
|
Object.defineProperty(exports, "ContentByIdBuilder", {
|
|
392
365
|
enumerable: true,
|
|
393
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunkDEDIJKHY_cjs.ContentByIdBuilder; }
|
|
394
367
|
});
|
|
395
368
|
Object.defineProperty(exports, "ContentClient", {
|
|
396
369
|
enumerable: true,
|
|
397
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunkDEDIJKHY_cjs.ContentClient; }
|
|
398
371
|
});
|
|
399
372
|
Object.defineProperty(exports, "ContentQueryBuilder", {
|
|
400
373
|
enumerable: true,
|
|
401
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunkDEDIJKHY_cjs.ContentQueryBuilder; }
|
|
402
375
|
});
|
|
403
376
|
Object.defineProperty(exports, "ErrorMapper", {
|
|
404
377
|
enumerable: true,
|
|
405
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunkDEDIJKHY_cjs.ErrorMapper; }
|
|
406
379
|
});
|
|
407
380
|
Object.defineProperty(exports, "FileUploadError", {
|
|
408
381
|
enumerable: true,
|
|
409
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunkDEDIJKHY_cjs.FileUploadError; }
|
|
410
383
|
});
|
|
411
384
|
Object.defineProperty(exports, "FileValidationError", {
|
|
412
385
|
enumerable: true,
|
|
413
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunkDEDIJKHY_cjs.FileValidationError; }
|
|
414
387
|
});
|
|
415
388
|
Object.defineProperty(exports, "HttpClient", {
|
|
416
389
|
enumerable: true,
|
|
417
|
-
get: function () { return
|
|
390
|
+
get: function () { return chunkDEDIJKHY_cjs.HttpClient; }
|
|
418
391
|
});
|
|
419
392
|
Object.defineProperty(exports, "InvalidApiKeyError", {
|
|
420
393
|
enumerable: true,
|
|
421
|
-
get: function () { return
|
|
394
|
+
get: function () { return chunkDEDIJKHY_cjs.InvalidApiKeyError; }
|
|
422
395
|
});
|
|
423
396
|
Object.defineProperty(exports, "InvalidPayloadError", {
|
|
424
397
|
enumerable: true,
|
|
425
|
-
get: function () { return
|
|
398
|
+
get: function () { return chunkDEDIJKHY_cjs.InvalidPayloadError; }
|
|
426
399
|
});
|
|
427
400
|
Object.defineProperty(exports, "LIVE_KEEPALIVE_INTERVAL_MS", {
|
|
428
401
|
enumerable: true,
|
|
429
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunkDEDIJKHY_cjs.LIVE_KEEPALIVE_INTERVAL_MS; }
|
|
430
403
|
});
|
|
431
404
|
Object.defineProperty(exports, "LIVE_SOCKET_OPEN_TIMEOUT_MS", {
|
|
432
405
|
enumerable: true,
|
|
433
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunkDEDIJKHY_cjs.LIVE_SOCKET_OPEN_TIMEOUT_MS; }
|
|
434
407
|
});
|
|
435
408
|
Object.defineProperty(exports, "LiveEdgeError", {
|
|
436
409
|
enumerable: true,
|
|
437
|
-
get: function () { return
|
|
410
|
+
get: function () { return chunkDEDIJKHY_cjs.LiveEdgeError; }
|
|
438
411
|
});
|
|
439
412
|
Object.defineProperty(exports, "MethodNotAllowedError", {
|
|
440
413
|
enumerable: true,
|
|
441
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunkDEDIJKHY_cjs.MethodNotAllowedError; }
|
|
442
415
|
});
|
|
443
416
|
Object.defineProperty(exports, "MissingApiKeyError", {
|
|
444
417
|
enumerable: true,
|
|
445
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunkDEDIJKHY_cjs.MissingApiKeyError; }
|
|
446
419
|
});
|
|
447
420
|
Object.defineProperty(exports, "NetworkError", {
|
|
448
421
|
enumerable: true,
|
|
449
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunkDEDIJKHY_cjs.NetworkError; }
|
|
450
423
|
});
|
|
451
424
|
Object.defineProperty(exports, "PUBLISHABLE_KEY_PREFIX", {
|
|
452
425
|
enumerable: true,
|
|
453
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunkDEDIJKHY_cjs.PUBLISHABLE_KEY_PREFIX; }
|
|
454
427
|
});
|
|
455
428
|
Object.defineProperty(exports, "PayloadTooLargeError", {
|
|
456
429
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunkDEDIJKHY_cjs.PayloadTooLargeError; }
|
|
458
431
|
});
|
|
459
432
|
Object.defineProperty(exports, "PlanFeatureUnavailableError", {
|
|
460
433
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
434
|
+
get: function () { return chunkDEDIJKHY_cjs.PlanFeatureUnavailableError; }
|
|
462
435
|
});
|
|
463
436
|
Object.defineProperty(exports, "RateLimitError", {
|
|
464
437
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
438
|
+
get: function () { return chunkDEDIJKHY_cjs.RateLimitError; }
|
|
466
439
|
});
|
|
467
440
|
Object.defineProperty(exports, "ReadOnlyKeyError", {
|
|
468
441
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunkDEDIJKHY_cjs.ReadOnlyKeyError; }
|
|
470
443
|
});
|
|
471
444
|
Object.defineProperty(exports, "ResourceConflictError", {
|
|
472
445
|
enumerable: true,
|
|
473
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunkDEDIJKHY_cjs.ResourceConflictError; }
|
|
474
447
|
});
|
|
475
448
|
Object.defineProperty(exports, "ResourceExpiredError", {
|
|
476
449
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkDEDIJKHY_cjs.ResourceExpiredError; }
|
|
478
451
|
});
|
|
479
452
|
Object.defineProperty(exports, "ResourceNotFoundError", {
|
|
480
453
|
enumerable: true,
|
|
481
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkDEDIJKHY_cjs.ResourceNotFoundError; }
|
|
482
455
|
});
|
|
483
456
|
Object.defineProperty(exports, "SDKError", {
|
|
484
457
|
enumerable: true,
|
|
485
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunkDEDIJKHY_cjs.SDKError; }
|
|
486
459
|
});
|
|
487
460
|
Object.defineProperty(exports, "SearchBuilder", {
|
|
488
461
|
enumerable: true,
|
|
489
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkDEDIJKHY_cjs.SearchBuilder; }
|
|
490
463
|
});
|
|
491
464
|
Object.defineProperty(exports, "SearchClient", {
|
|
492
465
|
enumerable: true,
|
|
493
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunkDEDIJKHY_cjs.SearchClient; }
|
|
494
467
|
});
|
|
495
468
|
Object.defineProperty(exports, "ServerError", {
|
|
496
469
|
enumerable: true,
|
|
497
|
-
get: function () { return
|
|
470
|
+
get: function () { return chunkDEDIJKHY_cjs.ServerError; }
|
|
498
471
|
});
|
|
499
472
|
Object.defineProperty(exports, "ServiceIndeterminateError", {
|
|
500
473
|
enumerable: true,
|
|
501
|
-
get: function () { return
|
|
474
|
+
get: function () { return chunkDEDIJKHY_cjs.ServiceIndeterminateError; }
|
|
502
475
|
});
|
|
503
476
|
Object.defineProperty(exports, "SettingsClient", {
|
|
504
477
|
enumerable: true,
|
|
505
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunkDEDIJKHY_cjs.SettingsClient; }
|
|
506
479
|
});
|
|
507
480
|
Object.defineProperty(exports, "SimilarBuilder", {
|
|
508
481
|
enumerable: true,
|
|
509
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunkDEDIJKHY_cjs.SimilarBuilder; }
|
|
510
483
|
});
|
|
511
484
|
Object.defineProperty(exports, "SingletonClient", {
|
|
512
485
|
enumerable: true,
|
|
513
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunkDEDIJKHY_cjs.SingletonClient; }
|
|
514
487
|
});
|
|
515
488
|
Object.defineProperty(exports, "TimeoutError", {
|
|
516
489
|
enumerable: true,
|
|
517
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunkDEDIJKHY_cjs.TimeoutError; }
|
|
518
491
|
});
|
|
519
492
|
Object.defineProperty(exports, "TransactionRolledBackError", {
|
|
520
493
|
enumerable: true,
|
|
521
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunkDEDIJKHY_cjs.TransactionRolledBackError; }
|
|
522
495
|
});
|
|
523
496
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
524
497
|
enumerable: true,
|
|
525
|
-
get: function () { return
|
|
498
|
+
get: function () { return chunkDEDIJKHY_cjs.TypedRelyIOClient; }
|
|
526
499
|
});
|
|
527
500
|
Object.defineProperty(exports, "UnknownContractError", {
|
|
528
501
|
enumerable: true,
|
|
529
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkDEDIJKHY_cjs.UnknownContractError; }
|
|
530
503
|
});
|
|
531
504
|
Object.defineProperty(exports, "UsageQuotaExceededError", {
|
|
532
505
|
enumerable: true,
|
|
533
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkDEDIJKHY_cjs.UsageQuotaExceededError; }
|
|
534
507
|
});
|
|
535
508
|
Object.defineProperty(exports, "ValidationError", {
|
|
536
509
|
enumerable: true,
|
|
537
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkDEDIJKHY_cjs.ValidationError; }
|
|
538
511
|
});
|
|
539
512
|
Object.defineProperty(exports, "createClient", {
|
|
540
513
|
enumerable: true,
|
|
541
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkDEDIJKHY_cjs.createClient; }
|
|
542
515
|
});
|
|
543
516
|
Object.defineProperty(exports, "default", {
|
|
544
517
|
enumerable: true,
|
|
545
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkDEDIJKHY_cjs.createClient; }
|
|
546
519
|
});
|
|
547
520
|
Object.defineProperty(exports, "entityTagOf", {
|
|
548
521
|
enumerable: true,
|
|
549
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkDEDIJKHY_cjs.entityTagOf; }
|
|
550
523
|
});
|
|
551
524
|
Object.defineProperty(exports, "isAssetEntry", {
|
|
552
525
|
enumerable: true,
|
|
553
|
-
get: function () { return
|
|
526
|
+
get: function () { return chunkDEDIJKHY_cjs.isAssetEntry; }
|
|
554
527
|
});
|
|
555
528
|
Object.defineProperty(exports, "isPublishableKey", {
|
|
556
529
|
enumerable: true,
|
|
557
|
-
get: function () { return
|
|
530
|
+
get: function () { return chunkDEDIJKHY_cjs.isPublishableKey; }
|
|
558
531
|
});
|
|
559
532
|
Object.defineProperty(exports, "isResourceNotFound", {
|
|
560
533
|
enumerable: true,
|
|
561
|
-
get: function () { return
|
|
534
|
+
get: function () { return chunkDEDIJKHY_cjs.isResourceNotFound; }
|
|
562
535
|
});
|
|
563
536
|
Object.defineProperty(exports, "matchRoute", {
|
|
564
537
|
enumerable: true,
|
|
565
|
-
get: function () { return
|
|
538
|
+
get: function () { return chunkDEDIJKHY_cjs.matchRoute; }
|
|
566
539
|
});
|
|
567
540
|
Object.defineProperty(exports, "validateFile", {
|
|
568
541
|
enumerable: true,
|
|
569
|
-
get: function () { return
|
|
542
|
+
get: function () { return chunkDEDIJKHY_cjs.validateFile; }
|
|
570
543
|
});
|
|
571
544
|
Object.defineProperty(exports, "camelToSnake", {
|
|
572
545
|
enumerable: true,
|
|
@@ -640,6 +613,58 @@ Object.defineProperty(exports, "toSafeString", {
|
|
|
640
613
|
enumerable: true,
|
|
641
614
|
get: function () { return chunkTZL374LS_cjs.toSafeString; }
|
|
642
615
|
});
|
|
616
|
+
Object.defineProperty(exports, "RICH_TEXT_VOID_TAGS", {
|
|
617
|
+
enumerable: true,
|
|
618
|
+
get: function () { return chunkZ6GLWSSD_cjs.RICH_TEXT_VOID_TAGS; }
|
|
619
|
+
});
|
|
620
|
+
Object.defineProperty(exports, "entryHeadingAnchors", {
|
|
621
|
+
enumerable: true,
|
|
622
|
+
get: function () { return chunkZ6GLWSSD_cjs.entryHeadingAnchors; }
|
|
623
|
+
});
|
|
624
|
+
Object.defineProperty(exports, "escapeHtml", {
|
|
625
|
+
enumerable: true,
|
|
626
|
+
get: function () { return chunkZ6GLWSSD_cjs.escapeHtml; }
|
|
627
|
+
});
|
|
628
|
+
Object.defineProperty(exports, "formatKeyPath", {
|
|
629
|
+
enumerable: true,
|
|
630
|
+
get: function () { return chunkZ6GLWSSD_cjs.formatKeyPath; }
|
|
631
|
+
});
|
|
632
|
+
Object.defineProperty(exports, "isDeclaredRichTextNode", {
|
|
633
|
+
enumerable: true,
|
|
634
|
+
get: function () { return chunkZ6GLWSSD_cjs.isDeclaredRichTextNode; }
|
|
635
|
+
});
|
|
636
|
+
Object.defineProperty(exports, "parseKeyPath", {
|
|
637
|
+
enumerable: true,
|
|
638
|
+
get: function () { return chunkZ6GLWSSD_cjs.parseKeyPath; }
|
|
639
|
+
});
|
|
640
|
+
Object.defineProperty(exports, "relyioField", {
|
|
641
|
+
enumerable: true,
|
|
642
|
+
get: function () { return chunkZ6GLWSSD_cjs.relyioField; }
|
|
643
|
+
});
|
|
644
|
+
Object.defineProperty(exports, "renderRichText", {
|
|
645
|
+
enumerable: true,
|
|
646
|
+
get: function () { return chunkZ6GLWSSD_cjs.renderRichText; }
|
|
647
|
+
});
|
|
648
|
+
Object.defineProperty(exports, "richTextHeadingAnchors", {
|
|
649
|
+
enumerable: true,
|
|
650
|
+
get: function () { return chunkZ6GLWSSD_cjs.richTextHeadingAnchors; }
|
|
651
|
+
});
|
|
652
|
+
Object.defineProperty(exports, "richTextHeadingSlug", {
|
|
653
|
+
enumerable: true,
|
|
654
|
+
get: function () { return chunkZ6GLWSSD_cjs.richTextHeadingSlug; }
|
|
655
|
+
});
|
|
656
|
+
Object.defineProperty(exports, "richTextToHtml", {
|
|
657
|
+
enumerable: true,
|
|
658
|
+
get: function () { return chunkZ6GLWSSD_cjs.richTextToHtml; }
|
|
659
|
+
});
|
|
660
|
+
Object.defineProperty(exports, "richTextToMarkdown", {
|
|
661
|
+
enumerable: true,
|
|
662
|
+
get: function () { return chunkZ6GLWSSD_cjs.richTextToMarkdown; }
|
|
663
|
+
});
|
|
664
|
+
Object.defineProperty(exports, "safeRichTextHref", {
|
|
665
|
+
enumerable: true,
|
|
666
|
+
get: function () { return chunkZ6GLWSSD_cjs.safeRichTextHref; }
|
|
667
|
+
});
|
|
643
668
|
exports.FOLLOW_BACK_OFF_MAX_MS = FOLLOW_BACK_OFF_MAX_MS;
|
|
644
669
|
exports.FOLLOW_RETRY_BASE_MS = FOLLOW_RETRY_BASE_MS;
|
|
645
670
|
exports.FOLLOW_RETRY_MAX_MS = FOLLOW_RETRY_MAX_MS;
|
|
@@ -664,7 +689,6 @@ exports.isFieldFallback = isFieldFallback;
|
|
|
664
689
|
exports.isPublishedInLocale = isPublishedInLocale;
|
|
665
690
|
exports.localeHelpers = localeHelpers;
|
|
666
691
|
exports.needsTranslation = needsTranslation;
|
|
667
|
-
exports.relyioField = relyioField;
|
|
668
692
|
exports.snapToLadder = snapToLadder;
|
|
669
693
|
//# sourceMappingURL=index.cjs.map
|
|
670
694
|
//# sourceMappingURL=index.cjs.map
|