@relyio/sdk 0.19.0 → 0.20.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 +10 -0
- package/dist/automations/index.cjs +1 -1
- package/dist/automations/index.d.cts +2 -1588
- package/dist/automations/index.d.ts +2 -1588
- package/dist/automations/index.js +1 -1
- package/dist/{chunk-ZO6QDYJG.cjs → chunk-5WGMIQBH.cjs} +2 -2
- package/dist/{chunk-W2A4OTCI.js → chunk-EQUZNVAR.js} +2 -2
- package/dist/{chunk-P23G5NXD.cjs → chunk-K66MBRI4.cjs} +68 -51
- package/dist/{chunk-356SF5Y2.js → chunk-L42C4G2S.js} +25 -8
- package/dist/{chunk-T7LGREB3.js → chunk-OUR7OUUZ.js} +3 -3
- package/dist/{chunk-NN45CSPZ.cjs → chunk-UO2QRYKV.cjs} +3 -3
- package/dist/client/index.cjs +5 -5
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +3 -3
- package/dist/{define-content-type-BZ6X8GvL.d.cts → define-content-type-C2HnCYYX.d.cts} +1 -1
- package/dist/{define-content-type-C12jh8cY.d.ts → define-content-type-CVLUusfx.d.ts} +1 -1
- package/dist/dev-handshake/index.cjs +8 -8
- package/dist/dev-handshake/index.d.cts +1 -1
- package/dist/dev-handshake/index.d.ts +1 -1
- package/dist/dev-handshake/index.js +1 -1
- package/dist/extensions/index.cjs +3 -3
- package/dist/extensions/index.d.cts +2 -4
- package/dist/extensions/index.d.ts +2 -4
- package/dist/extensions/index.js +1 -1
- package/dist/functions/index.cjs +1 -1
- package/dist/functions/index.d.cts +2 -4
- package/dist/functions/index.d.ts +2 -4
- package/dist/functions/index.js +1 -1
- package/dist/{index-D5jyIeQ5.d.cts → index-BLVNMYUU.d.cts} +54 -9
- package/dist/{index-C-MymZTe.d.ts → index-BY1xU93u.d.ts} +1 -1
- package/dist/{index-DN0l8RHw.d.cts → index-Cmup6HJY.d.cts} +1 -1
- package/dist/index-D1fiaQlK.d.ts +2284 -0
- package/dist/index-DImzg3ew.d.cts +2284 -0
- package/dist/{index-BxNnlc5D.d.ts → index-IjSyBr8f.d.ts} +54 -9
- package/dist/index.cjs +76 -76
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +4 -4
- package/dist/preview/index.cjs +3 -3
- package/dist/preview/index.js +1 -1
- package/dist/rich-text/index.d.cts +2 -2
- package/dist/rich-text/index.d.ts +2 -2
- package/dist/schema/index.cjs +1 -1
- package/dist/schema/index.d.cts +947 -4
- package/dist/schema/index.d.ts +947 -4
- package/dist/schema/index.js +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +4 -4
- package/dist/define-schema-BPlZl4a2.d.cts +0 -947
- package/dist/define-schema-CK7TtYot.d.ts +0 -947
- package/dist/register-BiMQKVp-.d.ts +0 -693
- package/dist/register-DeMsaurp.d.cts +0 -693
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { b as ApiPath, c as ApiMethod, Q as QueryOf, W as Wire, H as HttpClient, F as FunctionFieldValues, R as Register, A as AnySchemaDefinition, h as RecordsClient, B as BaseRecord, v as RecordBatchOperation, x as RecordBatchOptions, y as RecordBatchResult, a as RegisteredSchema } from './index-D1fiaQlK.js';
|
|
2
|
+
import { bi as EntryMetadata, aZ as Reading, da as BaseContent, aV as CheckedIncludes, dL as ReadWhere, df as WhereClause, ap as components, a_ as ReadWith, dr as UpdateInput, b1 as UntypedReading, dk as RevisedContent, di as CreateInput, dj as CreatedContent, dq as ContentVersionRow, dp as ContentVersion, dn as RestoredContent, d3 as SDKError, dI as BaseValidationError, dH as ValidationViolation, bw as AssetServedBlocks, dM as CheckedInclude, de as WhereFieldCondition, d8 as AssetFileBlock, db as BaseSingleton, dl as WrittenSingleton, dc as BaseSettingsGroup, dm as WrittenSettingsGroup, s as KeyedMembers, aB as InferContentType, aX as ContentReading, bn as InferSingleton, cW as paths, d4 as RelyIOConfig, bu as InferAssetType, aU as AssetReading, b0 as SingletonReading, br as InferSettingsGroup, a$ as SettingsReading, d5 as RelyIOConfigUpdate, cY as MergedRelyIOConfig } from './define-content-type-CVLUusfx.js';
|
|
3
|
+
import { SchemaContentTypeNames, SchemaEntryOf, SchemaLocaleCodes, SchemaSingletonNames, AggregateBlock, QueryParameterValue, FullTextSearch, SchemaQueryNames, InferQueryParams, AnyQueryParameters, SchemaRecordTypeNames, InferRecordType, RecordWriteFieldsOf, RecordUpdateFieldsOf, SchemaAssetTypeNames, SchemaSettingsGroupNames } from './schema/index.js';
|
|
4
4
|
import { DevUnreadableReason } from './dev-handshake/index.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -803,7 +803,7 @@ declare class FileValidationError extends BaseValidationError {
|
|
|
803
803
|
}
|
|
804
804
|
/** Constraints `validateFile` checks a file against (subset of the schema upload gate). */
|
|
805
805
|
interface FileValidationConstraints {
|
|
806
|
-
/** Allowed MIME types
|
|
806
|
+
/** Allowed MIME types: exact (`image/png`) or a wildcard pattern (`image/*`), as a schema declares them. */
|
|
807
807
|
allowedMimeTypes?: string[];
|
|
808
808
|
/** Max size in bytes. */
|
|
809
809
|
maxSizeBytes?: number;
|
|
@@ -1504,15 +1504,56 @@ interface FunctionCallOptions {
|
|
|
1504
1504
|
*/
|
|
1505
1505
|
idempotencyKey?: string;
|
|
1506
1506
|
}
|
|
1507
|
-
/** One Function, called
|
|
1507
|
+
/** One Function, called, before `Register` names the project's Functions: any input, any answer. */
|
|
1508
1508
|
type FunctionCall = (input?: Record<string, unknown>, options?: FunctionCallOptions) => Promise<unknown>;
|
|
1509
1509
|
/**
|
|
1510
|
-
*
|
|
1511
|
-
*
|
|
1510
|
+
* One Function's input and output Fields, as the generated `schema.ts` registers them (REL-4059): the
|
|
1511
|
+
* keyed record its file declares under `input`, and under `output` when it declares one.
|
|
1512
1512
|
*/
|
|
1513
|
-
|
|
1513
|
+
interface RegisteredFunctionFields {
|
|
1514
|
+
readonly input: KeyedMembers;
|
|
1515
|
+
readonly output?: KeyedMembers;
|
|
1516
|
+
}
|
|
1517
|
+
/** What a registered Function's call answers: its output's values, or what its run returned when it declares none. */
|
|
1518
|
+
type OutputOf<F extends RegisteredFunctionFields> = F extends {
|
|
1519
|
+
readonly output: infer O extends KeyedMembers;
|
|
1520
|
+
} ? FunctionFieldValues<O> : unknown;
|
|
1521
|
+
/**
|
|
1522
|
+
* What a registered Function's call takes: its input Fields' values. A Function declaring no input
|
|
1523
|
+
* field takes none — `{}` would take any key, since an empty object type has no excess-property check.
|
|
1524
|
+
*/
|
|
1525
|
+
type InputOf<F extends RegisteredFunctionFields> = [keyof FunctionFieldValues<F['input']>] extends [
|
|
1526
|
+
never
|
|
1527
|
+
] ? {
|
|
1528
|
+
readonly [field: string]: never;
|
|
1529
|
+
} : FunctionFieldValues<F['input']>;
|
|
1530
|
+
/**
|
|
1531
|
+
* One registered Function, called: its input as its input Fields declare them — required when a
|
|
1532
|
+
* field of it is, so a missing, misnamed or mistyped field is a type error — and its output.
|
|
1533
|
+
*/
|
|
1534
|
+
type TypedFunctionCall<F extends RegisteredFunctionFields> = {} extends InputOf<F> ? (input?: InputOf<F>, options?: FunctionCallOptions) => Promise<OutputOf<F>> : (input: InputOf<F>, options?: FunctionCallOptions) => Promise<OutputOf<F>>;
|
|
1535
|
+
/**
|
|
1536
|
+
* `relyio.functions` over a project's Functions: exactly those registered, each typed by its Fields,
|
|
1537
|
+
* or any name before `relyio generate-types` registered any. Generic on purpose, as
|
|
1538
|
+
* `FunctionRecordTypeName` is: written over `Register` directly, the conditional can be resolved
|
|
1539
|
+
* before the program's augmentation is in view.
|
|
1540
|
+
*/
|
|
1541
|
+
type FunctionsAccessorOf<R> = R extends {
|
|
1542
|
+
readonly functions: infer F extends {
|
|
1543
|
+
readonly [name: string]: RegisteredFunctionFields;
|
|
1544
|
+
};
|
|
1545
|
+
} ? {
|
|
1546
|
+
readonly [N in keyof F]: TypedFunctionCall<F[N]>;
|
|
1547
|
+
} : {
|
|
1514
1548
|
readonly [name: string]: FunctionCall;
|
|
1515
1549
|
};
|
|
1550
|
+
/**
|
|
1551
|
+
* `relyio.functions`: every Function the key's Branch runs, by name. Once `relyio generate-types`
|
|
1552
|
+
* has registered the project's Functions (`Register`'s `functions`), only those names are on it and
|
|
1553
|
+
* each call is typed by its input and output Fields; before, any name, untyped. A name the Branch
|
|
1554
|
+
* does not run is refused by the service (`ResourceNotFoundError`), not here.
|
|
1555
|
+
*/
|
|
1556
|
+
type FunctionsAccessor = FunctionsAccessorOf<Register>;
|
|
1516
1557
|
|
|
1517
1558
|
/**
|
|
1518
1559
|
* What the search family's routes answer, read from the committed document, and what a search over
|
|
@@ -2600,9 +2641,13 @@ declare class TypedRelyIOClient<TSchema extends AnySchemaDefinition | undefined
|
|
|
2600
2641
|
* `FunctionRunFailedError` and one past five minutes `FunctionRunTimedOutError`, each naming the
|
|
2601
2642
|
* run. Never retried: a Function may write.
|
|
2602
2643
|
*
|
|
2644
|
+
* Once `relyio generate-types` has run, its `schema.ts` registers each Function's input and output
|
|
2645
|
+
* Fields (REL-4059): only the project's Functions are named here, and each call takes and answers
|
|
2646
|
+
* what its Fields declare, so a misnamed or mistyped input field is a type error.
|
|
2647
|
+
*
|
|
2603
2648
|
* @example
|
|
2604
2649
|
* ```typescript
|
|
2605
|
-
* const { orderId } =
|
|
2650
|
+
* const { orderId } = await relyio.functions.checkout({ cartId })
|
|
2606
2651
|
* ```
|
|
2607
2652
|
*/
|
|
2608
2653
|
readonly functions: FunctionsAccessor;
|
package/dist/index.cjs
CHANGED
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('./chunk-PPA2WWOH.cjs');
|
|
6
6
|
var chunk2SPPU2WG_cjs = require('./chunk-2SPPU2WG.cjs');
|
|
7
7
|
var chunk5F3YYPLZ_cjs = require('./chunk-5F3YYPLZ.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkK66MBRI4_cjs = require('./chunk-K66MBRI4.cjs');
|
|
9
9
|
var chunkM7MWNV3Q_cjs = require('./chunk-M7MWNV3Q.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-5WGMIQBH.cjs');
|
|
11
11
|
require('./chunk-7I3SC7SV.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkUO2QRYKV_cjs = require('./chunk-UO2QRYKV.cjs');
|
|
13
13
|
var chunkL6DXCKVQ_cjs = require('./chunk-L6DXCKVQ.cjs');
|
|
14
14
|
|
|
15
15
|
/* RelyIO SDK - Built with ❤️ by the RelyIO Team */
|
|
@@ -23,9 +23,9 @@ function stopOnUnknownAnswer(_answer) {
|
|
|
23
23
|
}
|
|
24
24
|
chunkL6DXCKVQ_cjs.__name(stopOnUnknownAnswer, "stopOnUnknownAnswer");
|
|
25
25
|
function classifyFollowFailure(error) {
|
|
26
|
-
if (error instanceof
|
|
27
|
-
if (!(error instanceof
|
|
28
|
-
const afterMs =
|
|
26
|
+
if (error instanceof chunkK66MBRI4_cjs.LiveEdgeError) return liveEdgeVerdict(error);
|
|
27
|
+
if (!(error instanceof chunkK66MBRI4_cjs.SDKError) || !error.retryable) return { retry: false };
|
|
28
|
+
const afterMs = chunkK66MBRI4_cjs.serviceInstructedDelayMs(error, Date.now());
|
|
29
29
|
return afterMs === void 0 ? { retry: true } : { retry: true, afterMs };
|
|
30
30
|
}
|
|
31
31
|
chunkL6DXCKVQ_cjs.__name(classifyFollowFailure, "classifyFollowFailure");
|
|
@@ -39,7 +39,7 @@ function liveEdgeVerdict(error) {
|
|
|
39
39
|
return { retry: true, ...hint };
|
|
40
40
|
}
|
|
41
41
|
case "back-off": {
|
|
42
|
-
return { retry: true, ...hint, backOffMs:
|
|
42
|
+
return { retry: true, ...hint, backOffMs: chunkUO2QRYKV_cjs.VISITOR_ADMISSION_RETRY_AFTER_SECONDS * 1e3 };
|
|
43
43
|
}
|
|
44
44
|
default: {
|
|
45
45
|
return stopOnUnknownAnswer(error.retry);
|
|
@@ -52,10 +52,10 @@ async function followChanges(source, options) {
|
|
|
52
52
|
const classify = options.classify ?? classifyFollowFailure;
|
|
53
53
|
const random = options.random ?? Math.random;
|
|
54
54
|
const report = /* @__PURE__ */ chunkL6DXCKVQ_cjs.__name((state) => {
|
|
55
|
-
if (!
|
|
55
|
+
if (!chunkK66MBRI4_cjs.isAborted(signal)) options.onState?.(state);
|
|
56
56
|
}, "report");
|
|
57
57
|
const resync = /* @__PURE__ */ chunkL6DXCKVQ_cjs.__name(async (cause) => {
|
|
58
|
-
if (
|
|
58
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return;
|
|
59
59
|
await onResync(cause);
|
|
60
60
|
report({ kind: "resynced", resync: cause });
|
|
61
61
|
}, "resync");
|
|
@@ -64,12 +64,12 @@ async function followChanges(source, options) {
|
|
|
64
64
|
let unanchored = false;
|
|
65
65
|
let current;
|
|
66
66
|
for (; ; ) {
|
|
67
|
-
if (
|
|
67
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
68
68
|
try {
|
|
69
69
|
if (unanchored) {
|
|
70
70
|
unanchored = false;
|
|
71
71
|
await resync({ cause: "no-cursor" });
|
|
72
|
-
if (
|
|
72
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
73
73
|
}
|
|
74
74
|
report({ kind: "following" });
|
|
75
75
|
const open = {};
|
|
@@ -86,13 +86,13 @@ async function followChanges(source, options) {
|
|
|
86
86
|
}, "reached")
|
|
87
87
|
});
|
|
88
88
|
for await (const change of changes) {
|
|
89
|
-
if (
|
|
89
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
90
90
|
failures = 0;
|
|
91
91
|
await onChange(change);
|
|
92
92
|
since = change.cursor;
|
|
93
|
-
if (
|
|
93
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
94
94
|
}
|
|
95
|
-
if (
|
|
95
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
96
96
|
const error = new Error(
|
|
97
97
|
"The change source completed without its signal aborting; a source ends only on abort and throws every other end."
|
|
98
98
|
);
|
|
@@ -100,7 +100,7 @@ async function followChanges(source, options) {
|
|
|
100
100
|
return { kind: "stopped", since, error };
|
|
101
101
|
} catch (error) {
|
|
102
102
|
current = void 0;
|
|
103
|
-
if (
|
|
103
|
+
if (chunkK66MBRI4_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
104
104
|
const verdict = classify(error);
|
|
105
105
|
if (!verdict.retry) {
|
|
106
106
|
report({ kind: "stopped", error });
|
|
@@ -109,7 +109,7 @@ async function followChanges(source, options) {
|
|
|
109
109
|
failures += 1;
|
|
110
110
|
const retryInMs = retryDelayMs(failures, verdict, random);
|
|
111
111
|
report({ kind: "reconnecting", error, retryInMs });
|
|
112
|
-
await
|
|
112
|
+
await chunkK66MBRI4_cjs.sleep(retryInMs, signal);
|
|
113
113
|
if (since === void 0) unanchored = true;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -363,243 +363,243 @@ Object.defineProperty(exports, "fieldset", {
|
|
|
363
363
|
});
|
|
364
364
|
Object.defineProperty(exports, "AssetClient", {
|
|
365
365
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunkK66MBRI4_cjs.AssetClient; }
|
|
367
367
|
});
|
|
368
368
|
Object.defineProperty(exports, "AssetFileBuilder", {
|
|
369
369
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunkK66MBRI4_cjs.AssetFileBuilder; }
|
|
371
371
|
});
|
|
372
372
|
Object.defineProperty(exports, "AssetUploadBuilder", {
|
|
373
373
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunkK66MBRI4_cjs.AssetUploadBuilder; }
|
|
375
375
|
});
|
|
376
376
|
Object.defineProperty(exports, "AuthorizationError", {
|
|
377
377
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunkK66MBRI4_cjs.AuthorizationError; }
|
|
379
379
|
});
|
|
380
380
|
Object.defineProperty(exports, "BaseValidationError", {
|
|
381
381
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunkK66MBRI4_cjs.BaseValidationError; }
|
|
383
383
|
});
|
|
384
384
|
Object.defineProperty(exports, "ChangesExpiredError", {
|
|
385
385
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunkK66MBRI4_cjs.ChangesExpiredError; }
|
|
387
387
|
});
|
|
388
388
|
Object.defineProperty(exports, "ConnectionError", {
|
|
389
389
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
390
|
+
get: function () { return chunkK66MBRI4_cjs.ConnectionError; }
|
|
391
391
|
});
|
|
392
392
|
Object.defineProperty(exports, "ContentClient", {
|
|
393
393
|
enumerable: true,
|
|
394
|
-
get: function () { return
|
|
394
|
+
get: function () { return chunkK66MBRI4_cjs.ContentClient; }
|
|
395
395
|
});
|
|
396
396
|
Object.defineProperty(exports, "DefaultRetryPolicy", {
|
|
397
397
|
enumerable: true,
|
|
398
|
-
get: function () { return
|
|
398
|
+
get: function () { return chunkK66MBRI4_cjs.DefaultRetryPolicy; }
|
|
399
399
|
});
|
|
400
400
|
Object.defineProperty(exports, "EndUserTokenInvalidError", {
|
|
401
401
|
enumerable: true,
|
|
402
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunkK66MBRI4_cjs.EndUserTokenInvalidError; }
|
|
403
403
|
});
|
|
404
404
|
Object.defineProperty(exports, "ErrorMapper", {
|
|
405
405
|
enumerable: true,
|
|
406
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunkK66MBRI4_cjs.ErrorMapper; }
|
|
407
407
|
});
|
|
408
408
|
Object.defineProperty(exports, "FileUploadError", {
|
|
409
409
|
enumerable: true,
|
|
410
|
-
get: function () { return
|
|
410
|
+
get: function () { return chunkK66MBRI4_cjs.FileUploadError; }
|
|
411
411
|
});
|
|
412
412
|
Object.defineProperty(exports, "FileValidationError", {
|
|
413
413
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunkK66MBRI4_cjs.FileValidationError; }
|
|
415
415
|
});
|
|
416
416
|
Object.defineProperty(exports, "FunctionContainersBusyError", {
|
|
417
417
|
enumerable: true,
|
|
418
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunkK66MBRI4_cjs.FunctionContainersBusyError; }
|
|
419
419
|
});
|
|
420
420
|
Object.defineProperty(exports, "FunctionRunFailedError", {
|
|
421
421
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunkK66MBRI4_cjs.FunctionRunFailedError; }
|
|
423
423
|
});
|
|
424
424
|
Object.defineProperty(exports, "FunctionRunTimedOutError", {
|
|
425
425
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunkK66MBRI4_cjs.FunctionRunTimedOutError; }
|
|
427
427
|
});
|
|
428
428
|
Object.defineProperty(exports, "HttpClient", {
|
|
429
429
|
enumerable: true,
|
|
430
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunkK66MBRI4_cjs.HttpClient; }
|
|
431
431
|
});
|
|
432
432
|
Object.defineProperty(exports, "InvalidApiKeyError", {
|
|
433
433
|
enumerable: true,
|
|
434
|
-
get: function () { return
|
|
434
|
+
get: function () { return chunkK66MBRI4_cjs.InvalidApiKeyError; }
|
|
435
435
|
});
|
|
436
436
|
Object.defineProperty(exports, "InvalidPayloadError", {
|
|
437
437
|
enumerable: true,
|
|
438
|
-
get: function () { return
|
|
438
|
+
get: function () { return chunkK66MBRI4_cjs.InvalidPayloadError; }
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(exports, "LIVE_KEEPALIVE_INTERVAL_MS", {
|
|
441
441
|
enumerable: true,
|
|
442
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunkK66MBRI4_cjs.LIVE_KEEPALIVE_INTERVAL_MS; }
|
|
443
443
|
});
|
|
444
444
|
Object.defineProperty(exports, "LIVE_SOCKET_OPEN_TIMEOUT_MS", {
|
|
445
445
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunkK66MBRI4_cjs.LIVE_SOCKET_OPEN_TIMEOUT_MS; }
|
|
447
447
|
});
|
|
448
448
|
Object.defineProperty(exports, "LiveEdgeError", {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkK66MBRI4_cjs.LiveEdgeError; }
|
|
451
451
|
});
|
|
452
452
|
Object.defineProperty(exports, "MethodNotAllowedError", {
|
|
453
453
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkK66MBRI4_cjs.MethodNotAllowedError; }
|
|
455
455
|
});
|
|
456
456
|
Object.defineProperty(exports, "MissingApiKeyError", {
|
|
457
457
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunkK66MBRI4_cjs.MissingApiKeyError; }
|
|
459
459
|
});
|
|
460
460
|
Object.defineProperty(exports, "NetworkError", {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunkK66MBRI4_cjs.NetworkError; }
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(exports, "PREVIEW_KEY_PREFIX", {
|
|
465
465
|
enumerable: true,
|
|
466
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunkK66MBRI4_cjs.PREVIEW_KEY_PREFIX; }
|
|
467
467
|
});
|
|
468
468
|
Object.defineProperty(exports, "PUBLISHABLE_KEY_PREFIX", {
|
|
469
469
|
enumerable: true,
|
|
470
|
-
get: function () { return
|
|
470
|
+
get: function () { return chunkK66MBRI4_cjs.PUBLISHABLE_KEY_PREFIX; }
|
|
471
471
|
});
|
|
472
472
|
Object.defineProperty(exports, "PayloadTooLargeError", {
|
|
473
473
|
enumerable: true,
|
|
474
|
-
get: function () { return
|
|
474
|
+
get: function () { return chunkK66MBRI4_cjs.PayloadTooLargeError; }
|
|
475
475
|
});
|
|
476
476
|
Object.defineProperty(exports, "PlanFeatureUnavailableError", {
|
|
477
477
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunkK66MBRI4_cjs.PlanFeatureUnavailableError; }
|
|
479
479
|
});
|
|
480
480
|
Object.defineProperty(exports, "PublishableKeyRefusedError", {
|
|
481
481
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunkK66MBRI4_cjs.PublishableKeyRefusedError; }
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(exports, "RateLimitError", {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunkK66MBRI4_cjs.RateLimitError; }
|
|
487
487
|
});
|
|
488
488
|
Object.defineProperty(exports, "ReadOnlyKeyError", {
|
|
489
489
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunkK66MBRI4_cjs.ReadOnlyKeyError; }
|
|
491
491
|
});
|
|
492
492
|
Object.defineProperty(exports, "RecordsClient", {
|
|
493
493
|
enumerable: true,
|
|
494
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunkK66MBRI4_cjs.RecordsClient; }
|
|
495
495
|
});
|
|
496
496
|
Object.defineProperty(exports, "ResourceConflictError", {
|
|
497
497
|
enumerable: true,
|
|
498
|
-
get: function () { return
|
|
498
|
+
get: function () { return chunkK66MBRI4_cjs.ResourceConflictError; }
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "ResourceExpiredError", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunkK66MBRI4_cjs.ResourceExpiredError; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "ResourceNotFoundError", {
|
|
505
505
|
enumerable: true,
|
|
506
|
-
get: function () { return
|
|
506
|
+
get: function () { return chunkK66MBRI4_cjs.ResourceNotFoundError; }
|
|
507
507
|
});
|
|
508
508
|
Object.defineProperty(exports, "SDKError", {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function () { return
|
|
510
|
+
get: function () { return chunkK66MBRI4_cjs.SDKError; }
|
|
511
511
|
});
|
|
512
512
|
Object.defineProperty(exports, "ServerError", {
|
|
513
513
|
enumerable: true,
|
|
514
|
-
get: function () { return
|
|
514
|
+
get: function () { return chunkK66MBRI4_cjs.ServerError; }
|
|
515
515
|
});
|
|
516
516
|
Object.defineProperty(exports, "ServiceIndeterminateError", {
|
|
517
517
|
enumerable: true,
|
|
518
|
-
get: function () { return
|
|
518
|
+
get: function () { return chunkK66MBRI4_cjs.ServiceIndeterminateError; }
|
|
519
519
|
});
|
|
520
520
|
Object.defineProperty(exports, "SettingsClient", {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function () { return
|
|
522
|
+
get: function () { return chunkK66MBRI4_cjs.SettingsClient; }
|
|
523
523
|
});
|
|
524
524
|
Object.defineProperty(exports, "SingletonClient", {
|
|
525
525
|
enumerable: true,
|
|
526
|
-
get: function () { return
|
|
526
|
+
get: function () { return chunkK66MBRI4_cjs.SingletonClient; }
|
|
527
527
|
});
|
|
528
528
|
Object.defineProperty(exports, "TimeoutError", {
|
|
529
529
|
enumerable: true,
|
|
530
|
-
get: function () { return
|
|
530
|
+
get: function () { return chunkK66MBRI4_cjs.TimeoutError; }
|
|
531
531
|
});
|
|
532
532
|
Object.defineProperty(exports, "TransactionRolledBackError", {
|
|
533
533
|
enumerable: true,
|
|
534
|
-
get: function () { return
|
|
534
|
+
get: function () { return chunkK66MBRI4_cjs.TransactionRolledBackError; }
|
|
535
535
|
});
|
|
536
536
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
537
537
|
enumerable: true,
|
|
538
|
-
get: function () { return
|
|
538
|
+
get: function () { return chunkK66MBRI4_cjs.TypedRelyIOClient; }
|
|
539
539
|
});
|
|
540
540
|
Object.defineProperty(exports, "UnknownContractError", {
|
|
541
541
|
enumerable: true,
|
|
542
|
-
get: function () { return
|
|
542
|
+
get: function () { return chunkK66MBRI4_cjs.UnknownContractError; }
|
|
543
543
|
});
|
|
544
544
|
Object.defineProperty(exports, "UsageQuotaExceededError", {
|
|
545
545
|
enumerable: true,
|
|
546
|
-
get: function () { return
|
|
546
|
+
get: function () { return chunkK66MBRI4_cjs.UsageQuotaExceededError; }
|
|
547
547
|
});
|
|
548
548
|
Object.defineProperty(exports, "ValidationError", {
|
|
549
549
|
enumerable: true,
|
|
550
|
-
get: function () { return
|
|
550
|
+
get: function () { return chunkK66MBRI4_cjs.ValidationError; }
|
|
551
551
|
});
|
|
552
552
|
Object.defineProperty(exports, "createClient", {
|
|
553
553
|
enumerable: true,
|
|
554
|
-
get: function () { return
|
|
554
|
+
get: function () { return chunkK66MBRI4_cjs.createClient; }
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(exports, "default", {
|
|
557
557
|
enumerable: true,
|
|
558
|
-
get: function () { return
|
|
558
|
+
get: function () { return chunkK66MBRI4_cjs.createClient; }
|
|
559
559
|
});
|
|
560
560
|
Object.defineProperty(exports, "isAssetEntry", {
|
|
561
561
|
enumerable: true,
|
|
562
|
-
get: function () { return
|
|
562
|
+
get: function () { return chunkK66MBRI4_cjs.isAssetEntry; }
|
|
563
563
|
});
|
|
564
564
|
Object.defineProperty(exports, "isMissingEntry", {
|
|
565
565
|
enumerable: true,
|
|
566
|
-
get: function () { return
|
|
566
|
+
get: function () { return chunkK66MBRI4_cjs.isMissingEntry; }
|
|
567
567
|
});
|
|
568
568
|
Object.defineProperty(exports, "isPreviewKey", {
|
|
569
569
|
enumerable: true,
|
|
570
|
-
get: function () { return
|
|
570
|
+
get: function () { return chunkK66MBRI4_cjs.isPreviewKey; }
|
|
571
571
|
});
|
|
572
572
|
Object.defineProperty(exports, "isPublishableKey", {
|
|
573
573
|
enumerable: true,
|
|
574
|
-
get: function () { return
|
|
574
|
+
get: function () { return chunkK66MBRI4_cjs.isPublishableKey; }
|
|
575
575
|
});
|
|
576
576
|
Object.defineProperty(exports, "isReplaySafe", {
|
|
577
577
|
enumerable: true,
|
|
578
|
-
get: function () { return
|
|
578
|
+
get: function () { return chunkK66MBRI4_cjs.isReplaySafe; }
|
|
579
579
|
});
|
|
580
580
|
Object.defineProperty(exports, "isResourceNotFound", {
|
|
581
581
|
enumerable: true,
|
|
582
|
-
get: function () { return
|
|
582
|
+
get: function () { return chunkK66MBRI4_cjs.isResourceNotFound; }
|
|
583
583
|
});
|
|
584
584
|
Object.defineProperty(exports, "matchRoute", {
|
|
585
585
|
enumerable: true,
|
|
586
|
-
get: function () { return
|
|
586
|
+
get: function () { return chunkK66MBRI4_cjs.matchRoute; }
|
|
587
587
|
});
|
|
588
588
|
Object.defineProperty(exports, "refusedOperationOf", {
|
|
589
589
|
enumerable: true,
|
|
590
|
-
get: function () { return
|
|
590
|
+
get: function () { return chunkK66MBRI4_cjs.refusedOperationOf; }
|
|
591
591
|
});
|
|
592
592
|
Object.defineProperty(exports, "retryPolicyFor", {
|
|
593
593
|
enumerable: true,
|
|
594
|
-
get: function () { return
|
|
594
|
+
get: function () { return chunkK66MBRI4_cjs.retryPolicyFor; }
|
|
595
595
|
});
|
|
596
596
|
Object.defineProperty(exports, "validateFile", {
|
|
597
597
|
enumerable: true,
|
|
598
|
-
get: function () { return
|
|
598
|
+
get: function () { return chunkK66MBRI4_cjs.validateFile; }
|
|
599
599
|
});
|
|
600
600
|
Object.defineProperty(exports, "versionCheckOf", {
|
|
601
601
|
enumerable: true,
|
|
602
|
-
get: function () { return
|
|
602
|
+
get: function () { return chunkK66MBRI4_cjs.versionCheckOf; }
|
|
603
603
|
});
|
|
604
604
|
Object.defineProperty(exports, "camelToSnake", {
|
|
605
605
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, V as VisitorRetry, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { A as ActiveSandbox, aC as AdhocQuery, aD as AdhocRecord, aA as AggregateMetric, aL as AssetClient, aU as AssetEntryResponse, aM as AssetFileBuilder, aS as AssetFileExtracted, aV as AssetFileWhere, b2 as AssetPlacement, aN as AssetUploadBuilder, aP as AssetVisibility, ac as AutocompleteOptions, a7 as AutocompleteResponse, a6 as AutocompleteSuggestion, as as BatchBody, at as BatchCreate, aw as BatchDelete, az as BatchDeleteTarget, an as BatchOperationResult, av as BatchReplace, ap as BatchResponse, ax as BatchSingletonWrite, ao as BatchSummary, ay as BatchTarget, au as BatchUpdate, aq as BatchWrite, ar as BatchWriteOptions, j as ChangesHeadOptions, k as ChangesOptions, W as ChildEntry, B as ChildrenListOptions, z as ChildrenOptions, X as ChildrenRead, e as ClientDefaults, f as ClientSchema, aZ as ConfirmInput, a_ as ConfirmResult, o as ContentClient, b1 as CreateAssetOptions, p as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, t as DocumentFields, G as DocumentReadOptions, u as DocumentVersion, w as DocumentVersionRow, x as DocumentVersionsOptions, y as DocumentWriteOptions, I as EntryList, E as EntryPlacement, q as EntryWriteOptions, F as FeedChange, J as FieldKey, aR as FileBackend, be as FileErrorCode, aQ as FileStatus, aT as FileStatusResult, bg as FileUploadError, bf as FileUploadErrorCode, bi as FileValidationConstraints, bh as FileValidationError, K as FreshOption, M as GetOptions, H as Health, l as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, N as ListAllOptions, O as ListOptions, n as LiveChangesOptions, L as LocaleCodeOf, Q as LocaleOption, b5 as MultipartCreateResult, b6 as MultipartPart, b7 as MultipartTarget, aE as NamedQueryOptions, aF as NamedQueryParams, U as Paging, aW as PopulatedAssetReference, aX as PresignInput, aY as PresignResult, P as Project, aG as QueryAggregate, aH as QueryAnswer, aI as QueryCall, aB as QueryMetadata, aJ as QueryName, aK as QueryTypeName, Y as ReadAs, h as ReadEntry, _ as ReadLocale, R as RecordsAccessor, a$ as ResolveUrlInput, b0 as ResolveUrlResult, ba as ResourceConflictError, bb as ResourceExpiredError, b9 as ResourceNotFoundError, i as RetryableWriteOptions, S as SandboxState, ab as SearchEntry, ad as SearchFacet, ae as SearchFieldKey, af as SearchHighlight, a4 as SearchHitMetadata, ag as SearchOptions, ah as SearchPage, a5 as SearchResponse, a3 as SearchResultItem, ai as SearchScope, aj as SearchSelected, ak as SearchSortOption, aa as SearchTypeName, al as SearchWhere, s as SettingsClient, am as SimilarOptions, a9 as SimilarResponse, a8 as SimilarResult, r as SingletonClient, $ as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b3 as UpdateAssetOptions, b8 as UploadProgress, a0 as VersionOptions, b4 as WaitUntilReadyOptions, Z as WithChildren, a1 as WrittenReadScope, a2 as WrittenSort, c as createClient, c as default, aO as isAssetEntry, bd as isMissingEntry, bc as isResourceNotFound, bj as validateFile, v as versionCheckOf } from './index-
|
|
3
|
-
export { A as AnySchemaDefinition,
|
|
4
|
-
export { fields } from './schema/index.cjs';
|
|
5
|
-
import { d3 as SDKError,
|
|
6
|
-
export {
|
|
7
|
-
export { y as AggregateBlock, a6 as AnyQueryParameters, a7 as DeclaredParameters, x as FetchBlock, U as FilterDefinition, L as IncludeDefinition, a4 as InferQueryParams, a3 as InferQueryResponse, I as InferRecordType, Q as QueryConfig, u as QueryDefinition, a5 as QueryParameterValue, o as RecordFieldsOf, q as RecordUpdateFieldsOf, r as RecordWriteFieldsOf, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, j as SchemaEntry, k as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, z as SearchBlock, T as SelectMapping, G as SortCondition, B as WhereCondition, t as defineQuery, d as defineSchema } from './define-schema-BPlZl4a2.cjs';
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, V as VisitorRetry, b as ChangesExpiredReason } from './index-BLVNMYUU.cjs';
|
|
2
|
+
export { A as ActiveSandbox, aC as AdhocQuery, aD as AdhocRecord, aA as AggregateMetric, aL as AssetClient, aU as AssetEntryResponse, aM as AssetFileBuilder, aS as AssetFileExtracted, aV as AssetFileWhere, b2 as AssetPlacement, aN as AssetUploadBuilder, aP as AssetVisibility, ac as AutocompleteOptions, a7 as AutocompleteResponse, a6 as AutocompleteSuggestion, as as BatchBody, at as BatchCreate, aw as BatchDelete, az as BatchDeleteTarget, an as BatchOperationResult, av as BatchReplace, ap as BatchResponse, ax as BatchSingletonWrite, ao as BatchSummary, ay as BatchTarget, au as BatchUpdate, aq as BatchWrite, ar as BatchWriteOptions, j as ChangesHeadOptions, k as ChangesOptions, W as ChildEntry, B as ChildrenListOptions, z as ChildrenOptions, X as ChildrenRead, e as ClientDefaults, f as ClientSchema, aZ as ConfirmInput, a_ as ConfirmResult, o as ContentClient, b1 as CreateAssetOptions, p as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, t as DocumentFields, G as DocumentReadOptions, u as DocumentVersion, w as DocumentVersionRow, x as DocumentVersionsOptions, y as DocumentWriteOptions, I as EntryList, E as EntryPlacement, q as EntryWriteOptions, F as FeedChange, J as FieldKey, aR as FileBackend, be as FileErrorCode, aQ as FileStatus, aT as FileStatusResult, bg as FileUploadError, bf as FileUploadErrorCode, bi as FileValidationConstraints, bh as FileValidationError, K as FreshOption, M as GetOptions, H as Health, l as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, N as ListAllOptions, O as ListOptions, n as LiveChangesOptions, L as LocaleCodeOf, Q as LocaleOption, b5 as MultipartCreateResult, b6 as MultipartPart, b7 as MultipartTarget, aE as NamedQueryOptions, aF as NamedQueryParams, U as Paging, aW as PopulatedAssetReference, aX as PresignInput, aY as PresignResult, P as Project, aG as QueryAggregate, aH as QueryAnswer, aI as QueryCall, aB as QueryMetadata, aJ as QueryName, aK as QueryTypeName, Y as ReadAs, h as ReadEntry, _ as ReadLocale, R as RecordsAccessor, a$ as ResolveUrlInput, b0 as ResolveUrlResult, ba as ResourceConflictError, bb as ResourceExpiredError, b9 as ResourceNotFoundError, i as RetryableWriteOptions, S as SandboxState, ab as SearchEntry, ad as SearchFacet, ae as SearchFieldKey, af as SearchHighlight, a4 as SearchHitMetadata, ag as SearchOptions, ah as SearchPage, a5 as SearchResponse, a3 as SearchResultItem, ai as SearchScope, aj as SearchSelected, ak as SearchSortOption, aa as SearchTypeName, al as SearchWhere, s as SettingsClient, am as SimilarOptions, a9 as SimilarResponse, a8 as SimilarResult, r as SingletonClient, $ as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b3 as UpdateAssetOptions, b8 as UploadProgress, a0 as VersionOptions, b4 as WaitUntilReadyOptions, Z as WithChildren, a1 as WrittenReadScope, a2 as WrittenSort, c as createClient, c as default, aO as isAssetEntry, bd as isMissingEntry, bc as isResourceNotFound, bj as validateFile, v as versionCheckOf } from './index-BLVNMYUU.cjs';
|
|
3
|
+
export { A as AnySchemaDefinition, c as ApiMethod, b as ApiPath, d as ApiSuccessBody, B as BaseRecord, D as DefaultRetryPolicy, H as HttpClient, M as MatchRouteOptions, v as RecordBatchOperation, w as RecordBatchOperationResult, x as RecordBatchOptions, y as RecordBatchResult, z as RecordBatchTarget, j as RecordCallOptions, C as RecordConditionValue, k as RecordFacetBucket, l as RecordFileBytes, n as RecordFileUploadOptions, o as RecordList, p as RecordListOptions, q as RecordMetadata, s as RecordReadOptions, t as RecordUpdateOptions, h as RecordsClient, R as Register, a as RegisteredSchema, f as RetryPolicy, g as RetryableRequest, e as RouteMatch, S as SendOptions, W as Wire, i as isReplaySafe, m as matchRoute, u as refusedOperationOf, r as retryPolicyFor } from './index-DImzg3ew.cjs';
|
|
4
|
+
export { AggregateBlock, AnyQueryParameters, DeclaredParameters, FetchBlock, FilterDefinition, IncludeDefinition, InferQueryParams, InferQueryResponse, InferRecordType, QueryConfig, QueryDefinition, QueryParameterValue, RecordFieldsOf, RecordUpdateFieldsOf, RecordWriteFieldsOf, SchemaAssetTypeNames, SchemaConfig, SchemaContentTypeNames, SchemaDefinition, SchemaEntry, SchemaEntryOf, SchemaLocaleCodes, SchemaQueryNames, SchemaSettingsGroupNames, SchemaSingletonNames, SearchBlock, SelectMapping, SortCondition, WhereCondition, defineQuery, defineSchema, fields } from './schema/index.cjs';
|
|
5
|
+
import { d3 as SDKError, bi as EntryMetadata } from './define-content-type-C2HnCYYX.cjs';
|
|
6
|
+
export { be as AnyDeclaredFieldset, cZ as ApiResponse, d8 as AssetFileBlock, aU as AssetReading, bw as AssetServedBlocks, aA as AssetTypeDefinition, d9 as AssetUrls, da as BaseContent, B as BaseFieldConfig, dc as BaseSettingsGroup, db as BaseSingleton, dI as BaseValidationError, aS as BlockOf, dB as CacheConfig, dE as CacheStrategy, aW as CheckInclude, aV as CheckedIncludes, aX as ContentReading, at as ContentTypeDefinition, du as ContentTypeSchema, dp as ContentVersion, dq as ContentVersionRow, di as CreateInput, dj as CreatedContent, dt as CustomQuery, dh as DateOnlyOperator, dC as DebugConfig, bd as DeclaredFieldset, dG as Environment, j as FieldDefinition, am as FieldMember, dw as FieldOptions, k as FieldRule, aO as FieldSchemaContext, l as FieldType, m as FieldUIConfig, aP as FieldValue, an as FieldValues, bc as Fieldset, bz as FileKindConfig, bN as FileScanConfig, ar as FileUpload, bM as FileUploadConfig, bF as ImageExifConfig, bx as ImageKindConfig, bE as ImageSourceConfig, bD as ImageUploadConfig, aY as IncludablePaths, bv as InferAssetEntry, bu as InferAssetType, aB as InferContentType, cG as InferJsonSchema, bn as InferSingleton, dK as InvalidPayloadError, cH as JsonFieldValue, cI as JsonSchema, cJ as JsonValue, aR as Keyed, bt as KeyedAssetTypeConfig, bg as KeyedContentTypeConfig, K as KeyedEnumConfig, o as KeyedField, p as KeyedFieldOptions, bf as KeyedFieldsetConfig, bp as KeyedSettingsGroupConfig, bl as KeyedSingletonConfig, d6 as LiveWebSocket, d7 as LiveWebSocketConstructor, bj as LocalePublicationFields, u as LocalizationConfig, v as Localized, w as LocalizedDetails, dF as LogLevel, N as NeverUniqueFieldConfig, dA as PerformanceMetrics, a_ as ReadWith, aZ as Reading, dy as RealtimeEvent, dx as RealtimeEventType, aq as RecordFile, d4 as RelyIOConfig, d5 as RelyIOConfigUpdate, dD as RequestConfig, dn as RestoredContent, cX as RetryConfig, dk as RevisedContent, av as SettingsGroupDefinition, a$ as SettingsReading, aT as ShapeValue, ds as SingletonContent, au as SingletonContentTypeDefinition, bm as SingletonMetadata, b0 as SingletonReading, dz as SubscriptionOptions, aQ as UnresolvedEntry, b1 as UntypedReading, dr as UpdateInput, dJ as ValidationError, dv as ValidationRule, dH as ValidationViolation, bG as VariantDefinition, bJ as VideoCaptionsConfig, bK as VideoDownloadConfig, by as VideoKindConfig, bI as VideoPosterConfig, bH as VideoUploadConfig, bL as VideoWatermarkConfig, df as WhereClause, de as WhereFieldCondition, dg as WhereOperator, dd as WhereScalar, _ as WidgetOptions, dm as WrittenSettingsGroup, dl as WrittenSingleton, bs as defineAssetType, ba as defineContentType, b2 as defineLocale, bo as defineSettingsGroup, bk as defineSingleton, bb as fieldset } from './define-content-type-C2HnCYYX.cjs';
|
|
8
7
|
export { camelToSnake, createDeferred, debounce, deepClone, generateId, isBrowser, isNode, isPlainObject, isValidEmail, isValidUrl, mergeDeep, omit, pick, retry, sleep, snakeToCamel, throttle, toSafeString } from './utils/index.cjs';
|
|
9
|
-
export { n as RICH_TEXT_VOID_TAGS, R as RelyIOFieldAttributes, a as RelyIOFieldName, b as RelyIOFieldPath, c as RelyIOKeyed, q as RichTextAnchorsOption, t as RichTextAttributes, u as RichTextBlocksOf, v as RichTextDeclaredOf, w as RichTextDeclaredWriters, x as RichTextEntryLinkOf, y as RichTextEntryLinkOption, j as RichTextHtmlDeclaredWriters, k as RichTextHtmlFieldOption, l as RichTextHtmlOptions, z as RichTextInlineOf, m as RichTextMarkdownOptions, A as RichTextNodeContext, B as RichTextRenderable, C as RichTextRenderableOf, D as RichTextReplaceableNode, E as RichTextTag, F as RichTextTarget, e as entryHeadingAnchors, g as escapeHtml, o as isDeclaredRichTextNode, r as relyioField, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from './index-
|
|
8
|
+
export { n as RICH_TEXT_VOID_TAGS, R as RelyIOFieldAttributes, a as RelyIOFieldName, b as RelyIOFieldPath, c as RelyIOKeyed, q as RichTextAnchorsOption, t as RichTextAttributes, u as RichTextBlocksOf, v as RichTextDeclaredOf, w as RichTextDeclaredWriters, x as RichTextEntryLinkOf, y as RichTextEntryLinkOption, j as RichTextHtmlDeclaredWriters, k as RichTextHtmlFieldOption, l as RichTextHtmlOptions, z as RichTextInlineOf, m as RichTextMarkdownOptions, A as RichTextNodeContext, B as RichTextRenderable, C as RichTextRenderableOf, D as RichTextReplaceableNode, E as RichTextTag, F as RichTextTarget, e as entryHeadingAnchors, g as escapeHtml, o as isDeclaredRichTextNode, r as relyioField, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from './index-Cmup6HJY.cjs';
|
|
10
9
|
export { e as RichTextBlock, f as RichTextCellAlignment, g as RichTextCodeBlock, h as RichTextCodeGroup, i as RichTextCodeLines, j as RichTextDivider, d as RichTextEntryLinkMark, k as RichTextHeading, l as RichTextInline, m as RichTextLineBreak, n as RichTextLinkMark, o as RichTextList, p as RichTextListItem, q as RichTextListStyle, r as RichTextMark, s as RichTextMarkType, t as RichTextNode, u as RichTextParagraph, v as RichTextQuote, w as RichTextSpan, x as RichTextStructure, y as RichTextTable, z as RichTextTableCell, B as RichTextTableRow, b as RichTextValue } from './rich-text.d-BWc-5gX1.cjs';
|
|
11
10
|
import './dev-handshake/index.cjs';
|
|
12
11
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, V as VisitorRetry, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { A as ActiveSandbox, aC as AdhocQuery, aD as AdhocRecord, aA as AggregateMetric, aL as AssetClient, aU as AssetEntryResponse, aM as AssetFileBuilder, aS as AssetFileExtracted, aV as AssetFileWhere, b2 as AssetPlacement, aN as AssetUploadBuilder, aP as AssetVisibility, ac as AutocompleteOptions, a7 as AutocompleteResponse, a6 as AutocompleteSuggestion, as as BatchBody, at as BatchCreate, aw as BatchDelete, az as BatchDeleteTarget, an as BatchOperationResult, av as BatchReplace, ap as BatchResponse, ax as BatchSingletonWrite, ao as BatchSummary, ay as BatchTarget, au as BatchUpdate, aq as BatchWrite, ar as BatchWriteOptions, j as ChangesHeadOptions, k as ChangesOptions, W as ChildEntry, B as ChildrenListOptions, z as ChildrenOptions, X as ChildrenRead, e as ClientDefaults, f as ClientSchema, aZ as ConfirmInput, a_ as ConfirmResult, o as ContentClient, b1 as CreateAssetOptions, p as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, t as DocumentFields, G as DocumentReadOptions, u as DocumentVersion, w as DocumentVersionRow, x as DocumentVersionsOptions, y as DocumentWriteOptions, I as EntryList, E as EntryPlacement, q as EntryWriteOptions, F as FeedChange, J as FieldKey, aR as FileBackend, be as FileErrorCode, aQ as FileStatus, aT as FileStatusResult, bg as FileUploadError, bf as FileUploadErrorCode, bi as FileValidationConstraints, bh as FileValidationError, K as FreshOption, M as GetOptions, H as Health, l as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, N as ListAllOptions, O as ListOptions, n as LiveChangesOptions, L as LocaleCodeOf, Q as LocaleOption, b5 as MultipartCreateResult, b6 as MultipartPart, b7 as MultipartTarget, aE as NamedQueryOptions, aF as NamedQueryParams, U as Paging, aW as PopulatedAssetReference, aX as PresignInput, aY as PresignResult, P as Project, aG as QueryAggregate, aH as QueryAnswer, aI as QueryCall, aB as QueryMetadata, aJ as QueryName, aK as QueryTypeName, Y as ReadAs, h as ReadEntry, _ as ReadLocale, R as RecordsAccessor, a$ as ResolveUrlInput, b0 as ResolveUrlResult, ba as ResourceConflictError, bb as ResourceExpiredError, b9 as ResourceNotFoundError, i as RetryableWriteOptions, S as SandboxState, ab as SearchEntry, ad as SearchFacet, ae as SearchFieldKey, af as SearchHighlight, a4 as SearchHitMetadata, ag as SearchOptions, ah as SearchPage, a5 as SearchResponse, a3 as SearchResultItem, ai as SearchScope, aj as SearchSelected, ak as SearchSortOption, aa as SearchTypeName, al as SearchWhere, s as SettingsClient, am as SimilarOptions, a9 as SimilarResponse, a8 as SimilarResult, r as SingletonClient, $ as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b3 as UpdateAssetOptions, b8 as UploadProgress, a0 as VersionOptions, b4 as WaitUntilReadyOptions, Z as WithChildren, a1 as WrittenReadScope, a2 as WrittenSort, c as createClient, c as default, aO as isAssetEntry, bd as isMissingEntry, bc as isResourceNotFound, bj as validateFile, v as versionCheckOf } from './index-
|
|
3
|
-
export { A as AnySchemaDefinition,
|
|
4
|
-
export { fields } from './schema/index.js';
|
|
5
|
-
import { d3 as SDKError,
|
|
6
|
-
export {
|
|
7
|
-
export { y as AggregateBlock, a6 as AnyQueryParameters, a7 as DeclaredParameters, x as FetchBlock, U as FilterDefinition, L as IncludeDefinition, a4 as InferQueryParams, a3 as InferQueryResponse, I as InferRecordType, Q as QueryConfig, u as QueryDefinition, a5 as QueryParameterValue, o as RecordFieldsOf, q as RecordUpdateFieldsOf, r as RecordWriteFieldsOf, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, j as SchemaEntry, k as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, z as SearchBlock, T as SelectMapping, G as SortCondition, B as WhereCondition, t as defineQuery, d as defineSchema } from './define-schema-CK7TtYot.js';
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, V as VisitorRetry, b as ChangesExpiredReason } from './index-IjSyBr8f.js';
|
|
2
|
+
export { A as ActiveSandbox, aC as AdhocQuery, aD as AdhocRecord, aA as AggregateMetric, aL as AssetClient, aU as AssetEntryResponse, aM as AssetFileBuilder, aS as AssetFileExtracted, aV as AssetFileWhere, b2 as AssetPlacement, aN as AssetUploadBuilder, aP as AssetVisibility, ac as AutocompleteOptions, a7 as AutocompleteResponse, a6 as AutocompleteSuggestion, as as BatchBody, at as BatchCreate, aw as BatchDelete, az as BatchDeleteTarget, an as BatchOperationResult, av as BatchReplace, ap as BatchResponse, ax as BatchSingletonWrite, ao as BatchSummary, ay as BatchTarget, au as BatchUpdate, aq as BatchWrite, ar as BatchWriteOptions, j as ChangesHeadOptions, k as ChangesOptions, W as ChildEntry, B as ChildrenListOptions, z as ChildrenOptions, X as ChildrenRead, e as ClientDefaults, f as ClientSchema, aZ as ConfirmInput, a_ as ConfirmResult, o as ContentClient, b1 as CreateAssetOptions, p as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, t as DocumentFields, G as DocumentReadOptions, u as DocumentVersion, w as DocumentVersionRow, x as DocumentVersionsOptions, y as DocumentWriteOptions, I as EntryList, E as EntryPlacement, q as EntryWriteOptions, F as FeedChange, J as FieldKey, aR as FileBackend, be as FileErrorCode, aQ as FileStatus, aT as FileStatusResult, bg as FileUploadError, bf as FileUploadErrorCode, bi as FileValidationConstraints, bh as FileValidationError, K as FreshOption, M as GetOptions, H as Health, l as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, N as ListAllOptions, O as ListOptions, n as LiveChangesOptions, L as LocaleCodeOf, Q as LocaleOption, b5 as MultipartCreateResult, b6 as MultipartPart, b7 as MultipartTarget, aE as NamedQueryOptions, aF as NamedQueryParams, U as Paging, aW as PopulatedAssetReference, aX as PresignInput, aY as PresignResult, P as Project, aG as QueryAggregate, aH as QueryAnswer, aI as QueryCall, aB as QueryMetadata, aJ as QueryName, aK as QueryTypeName, Y as ReadAs, h as ReadEntry, _ as ReadLocale, R as RecordsAccessor, a$ as ResolveUrlInput, b0 as ResolveUrlResult, ba as ResourceConflictError, bb as ResourceExpiredError, b9 as ResourceNotFoundError, i as RetryableWriteOptions, S as SandboxState, ab as SearchEntry, ad as SearchFacet, ae as SearchFieldKey, af as SearchHighlight, a4 as SearchHitMetadata, ag as SearchOptions, ah as SearchPage, a5 as SearchResponse, a3 as SearchResultItem, ai as SearchScope, aj as SearchSelected, ak as SearchSortOption, aa as SearchTypeName, al as SearchWhere, s as SettingsClient, am as SimilarOptions, a9 as SimilarResponse, a8 as SimilarResult, r as SingletonClient, $ as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b3 as UpdateAssetOptions, b8 as UploadProgress, a0 as VersionOptions, b4 as WaitUntilReadyOptions, Z as WithChildren, a1 as WrittenReadScope, a2 as WrittenSort, c as createClient, c as default, aO as isAssetEntry, bd as isMissingEntry, bc as isResourceNotFound, bj as validateFile, v as versionCheckOf } from './index-IjSyBr8f.js';
|
|
3
|
+
export { A as AnySchemaDefinition, c as ApiMethod, b as ApiPath, d as ApiSuccessBody, B as BaseRecord, D as DefaultRetryPolicy, H as HttpClient, M as MatchRouteOptions, v as RecordBatchOperation, w as RecordBatchOperationResult, x as RecordBatchOptions, y as RecordBatchResult, z as RecordBatchTarget, j as RecordCallOptions, C as RecordConditionValue, k as RecordFacetBucket, l as RecordFileBytes, n as RecordFileUploadOptions, o as RecordList, p as RecordListOptions, q as RecordMetadata, s as RecordReadOptions, t as RecordUpdateOptions, h as RecordsClient, R as Register, a as RegisteredSchema, f as RetryPolicy, g as RetryableRequest, e as RouteMatch, S as SendOptions, W as Wire, i as isReplaySafe, m as matchRoute, u as refusedOperationOf, r as retryPolicyFor } from './index-D1fiaQlK.js';
|
|
4
|
+
export { AggregateBlock, AnyQueryParameters, DeclaredParameters, FetchBlock, FilterDefinition, IncludeDefinition, InferQueryParams, InferQueryResponse, InferRecordType, QueryConfig, QueryDefinition, QueryParameterValue, RecordFieldsOf, RecordUpdateFieldsOf, RecordWriteFieldsOf, SchemaAssetTypeNames, SchemaConfig, SchemaContentTypeNames, SchemaDefinition, SchemaEntry, SchemaEntryOf, SchemaLocaleCodes, SchemaQueryNames, SchemaSettingsGroupNames, SchemaSingletonNames, SearchBlock, SelectMapping, SortCondition, WhereCondition, defineQuery, defineSchema, fields } from './schema/index.js';
|
|
5
|
+
import { d3 as SDKError, bi as EntryMetadata } from './define-content-type-CVLUusfx.js';
|
|
6
|
+
export { be as AnyDeclaredFieldset, cZ as ApiResponse, d8 as AssetFileBlock, aU as AssetReading, bw as AssetServedBlocks, aA as AssetTypeDefinition, d9 as AssetUrls, da as BaseContent, B as BaseFieldConfig, dc as BaseSettingsGroup, db as BaseSingleton, dI as BaseValidationError, aS as BlockOf, dB as CacheConfig, dE as CacheStrategy, aW as CheckInclude, aV as CheckedIncludes, aX as ContentReading, at as ContentTypeDefinition, du as ContentTypeSchema, dp as ContentVersion, dq as ContentVersionRow, di as CreateInput, dj as CreatedContent, dt as CustomQuery, dh as DateOnlyOperator, dC as DebugConfig, bd as DeclaredFieldset, dG as Environment, j as FieldDefinition, am as FieldMember, dw as FieldOptions, k as FieldRule, aO as FieldSchemaContext, l as FieldType, m as FieldUIConfig, aP as FieldValue, an as FieldValues, bc as Fieldset, bz as FileKindConfig, bN as FileScanConfig, ar as FileUpload, bM as FileUploadConfig, bF as ImageExifConfig, bx as ImageKindConfig, bE as ImageSourceConfig, bD as ImageUploadConfig, aY as IncludablePaths, bv as InferAssetEntry, bu as InferAssetType, aB as InferContentType, cG as InferJsonSchema, bn as InferSingleton, dK as InvalidPayloadError, cH as JsonFieldValue, cI as JsonSchema, cJ as JsonValue, aR as Keyed, bt as KeyedAssetTypeConfig, bg as KeyedContentTypeConfig, K as KeyedEnumConfig, o as KeyedField, p as KeyedFieldOptions, bf as KeyedFieldsetConfig, bp as KeyedSettingsGroupConfig, bl as KeyedSingletonConfig, d6 as LiveWebSocket, d7 as LiveWebSocketConstructor, bj as LocalePublicationFields, u as LocalizationConfig, v as Localized, w as LocalizedDetails, dF as LogLevel, N as NeverUniqueFieldConfig, dA as PerformanceMetrics, a_ as ReadWith, aZ as Reading, dy as RealtimeEvent, dx as RealtimeEventType, aq as RecordFile, d4 as RelyIOConfig, d5 as RelyIOConfigUpdate, dD as RequestConfig, dn as RestoredContent, cX as RetryConfig, dk as RevisedContent, av as SettingsGroupDefinition, a$ as SettingsReading, aT as ShapeValue, ds as SingletonContent, au as SingletonContentTypeDefinition, bm as SingletonMetadata, b0 as SingletonReading, dz as SubscriptionOptions, aQ as UnresolvedEntry, b1 as UntypedReading, dr as UpdateInput, dJ as ValidationError, dv as ValidationRule, dH as ValidationViolation, bG as VariantDefinition, bJ as VideoCaptionsConfig, bK as VideoDownloadConfig, by as VideoKindConfig, bI as VideoPosterConfig, bH as VideoUploadConfig, bL as VideoWatermarkConfig, df as WhereClause, de as WhereFieldCondition, dg as WhereOperator, dd as WhereScalar, _ as WidgetOptions, dm as WrittenSettingsGroup, dl as WrittenSingleton, bs as defineAssetType, ba as defineContentType, b2 as defineLocale, bo as defineSettingsGroup, bk as defineSingleton, bb as fieldset } from './define-content-type-CVLUusfx.js';
|
|
8
7
|
export { camelToSnake, createDeferred, debounce, deepClone, generateId, isBrowser, isNode, isPlainObject, isValidEmail, isValidUrl, mergeDeep, omit, pick, retry, sleep, snakeToCamel, throttle, toSafeString } from './utils/index.js';
|
|
9
|
-
export { n as RICH_TEXT_VOID_TAGS, R as RelyIOFieldAttributes, a as RelyIOFieldName, b as RelyIOFieldPath, c as RelyIOKeyed, q as RichTextAnchorsOption, t as RichTextAttributes, u as RichTextBlocksOf, v as RichTextDeclaredOf, w as RichTextDeclaredWriters, x as RichTextEntryLinkOf, y as RichTextEntryLinkOption, j as RichTextHtmlDeclaredWriters, k as RichTextHtmlFieldOption, l as RichTextHtmlOptions, z as RichTextInlineOf, m as RichTextMarkdownOptions, A as RichTextNodeContext, B as RichTextRenderable, C as RichTextRenderableOf, D as RichTextReplaceableNode, E as RichTextTag, F as RichTextTarget, e as entryHeadingAnchors, g as escapeHtml, o as isDeclaredRichTextNode, r as relyioField, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from './index-
|
|
8
|
+
export { n as RICH_TEXT_VOID_TAGS, R as RelyIOFieldAttributes, a as RelyIOFieldName, b as RelyIOFieldPath, c as RelyIOKeyed, q as RichTextAnchorsOption, t as RichTextAttributes, u as RichTextBlocksOf, v as RichTextDeclaredOf, w as RichTextDeclaredWriters, x as RichTextEntryLinkOf, y as RichTextEntryLinkOption, j as RichTextHtmlDeclaredWriters, k as RichTextHtmlFieldOption, l as RichTextHtmlOptions, z as RichTextInlineOf, m as RichTextMarkdownOptions, A as RichTextNodeContext, B as RichTextRenderable, C as RichTextRenderableOf, D as RichTextReplaceableNode, E as RichTextTag, F as RichTextTarget, e as entryHeadingAnchors, g as escapeHtml, o as isDeclaredRichTextNode, r as relyioField, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from './index-BY1xU93u.js';
|
|
10
9
|
export { e as RichTextBlock, f as RichTextCellAlignment, g as RichTextCodeBlock, h as RichTextCodeGroup, i as RichTextCodeLines, j as RichTextDivider, d as RichTextEntryLinkMark, k as RichTextHeading, l as RichTextInline, m as RichTextLineBreak, n as RichTextLinkMark, o as RichTextList, p as RichTextListItem, q as RichTextListStyle, r as RichTextMark, s as RichTextMarkType, t as RichTextNode, u as RichTextParagraph, v as RichTextQuote, w as RichTextSpan, x as RichTextStructure, y as RichTextTable, z as RichTextTableCell, B as RichTextTableRow, b as RichTextValue } from './rich-text.d-BWc-5gX1.js';
|
|
11
10
|
import './dev-handshake/index.js';
|
|
12
11
|
|