@relyio/sdk 0.14.0 → 0.15.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 +6 -0
- package/dist/{chunk-GUPV2M3X.cjs → chunk-3BHDGUNS.cjs} +31 -5
- package/dist/{chunk-DBBZVZOS.js → chunk-PXA5ONIU.js} +31 -5
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/{define-content-type-BUZeWtpk.d.cts → define-content-type-B2gQZkTy.d.cts} +51 -2
- package/dist/{define-content-type-DOrZb_a_.d.ts → define-content-type-Ds5rCAYl.d.ts} +51 -2
- package/dist/{define-schema-nCfZeboB.d.cts → define-schema-Cm_5y3ei.d.cts} +1 -1
- package/dist/{define-schema-5aHmsA8j.d.ts → define-schema-CxpIYFFR.d.ts} +1 -1
- package/dist/{index-DOhFQbv7.d.ts → index-DQ7eTUPQ.d.ts} +30 -5
- package/dist/{index-C-pcllqY.d.cts → index-DY64WjZM.d.cts} +1 -1
- package/dist/{index-B97ZDj44.d.ts → index-Db3_tmYf.d.ts} +1 -1
- package/dist/{index-DgVV5Nj7.d.cts → index-F0UuHpRj.d.cts} +30 -5
- package/dist/index.cjs +62 -62
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/rich-text/index.d.cts +2 -2
- package/dist/rich-text/index.d.ts +2 -2
- package/dist/schema/index.d.cts +3 -3
- package/dist/schema/index.d.ts +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @relyio/sdk
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e0b96de: **`children(id)` answers a page, like `list()`, so a parent with more children than one page can be read to the end.** The route answers `{ data, page }` with the same `page` as an entry list (`{ nextCursor, hasMore }`), and `children(id)` returns it as the API sent it instead of a bare array of at most 25 children, which dropped the rest without saying so. It takes the list's page options: `limit` for the page size, and the `cursor` a page handed back or a `page` number, one or the other. The order is the hierarchy's, so there is no `sort`. To migrate, read the children from `.data`: `const children = await relyio.content('category').children(id)` becomes `const { data: children, page } = await relyio.content('category').children(id)`, and follow `page.nextCursor` while `page.hasMore` is true.
|
|
8
|
+
|
|
3
9
|
## 0.14.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1722,6 +1722,15 @@ function listQuery(options, clientLocale) {
|
|
|
1722
1722
|
return query;
|
|
1723
1723
|
}
|
|
1724
1724
|
chunkMWMSFIWN_cjs.__name(listQuery, "listQuery");
|
|
1725
|
+
function childrenQuery(options, clientLocale) {
|
|
1726
|
+
const query = {};
|
|
1727
|
+
if (options.limit !== void 0) query.limit = options.limit;
|
|
1728
|
+
if (options.cursor !== void 0) query.cursor = options.cursor;
|
|
1729
|
+
if (options.page !== void 0) query.page = options.page;
|
|
1730
|
+
writeReadTerms(query, options, clientLocale);
|
|
1731
|
+
return query;
|
|
1732
|
+
}
|
|
1733
|
+
chunkMWMSFIWN_cjs.__name(childrenQuery, "childrenQuery");
|
|
1725
1734
|
function entryQuery(options, clientLocale) {
|
|
1726
1735
|
const query = {};
|
|
1727
1736
|
writeReadTerms(query, options, clientLocale);
|
|
@@ -1986,7 +1995,12 @@ var _ContentClient = class _ContentClient extends EntryHandle {
|
|
|
1986
1995
|
});
|
|
1987
1996
|
}
|
|
1988
1997
|
/**
|
|
1989
|
-
*
|
|
1998
|
+
* One page of the direct children of a hierarchical entry, each read as `get` reads an entry:
|
|
1999
|
+
* the API's own `{ data, page }`, as `list` answers it (REL-1864).
|
|
2000
|
+
*
|
|
2001
|
+
* Page by `cursor` — the `page.nextCursor` a page handed back — to reach every child, or by
|
|
2002
|
+
* `page` number; `limit` is the page size for both. `page.hasMore` says whether there are more,
|
|
2003
|
+
* and a parent with more children than a page has them on the next one.
|
|
1990
2004
|
*
|
|
1991
2005
|
* It takes `get`'s options — `include` (checked against the type), `locale` (a code, a list or
|
|
1992
2006
|
* `'*'`), `dataset`, `fresh` and `children` — the terms its route declares as the entry route
|
|
@@ -1994,13 +2008,25 @@ var _ContentClient = class _ContentClient extends EntryHandle {
|
|
|
1994
2008
|
* under each child is the `children` option.
|
|
1995
2009
|
*
|
|
1996
2010
|
* @param id - Parent entry ID
|
|
2011
|
+
*
|
|
2012
|
+
* @example
|
|
2013
|
+
* ```typescript
|
|
2014
|
+
* let page = await relyio.content('category').children('cat_1', { limit: 50 })
|
|
2015
|
+
* while (page.page.hasMore && page.page.nextCursor !== null) {
|
|
2016
|
+
* page = await relyio.content('category').children('cat_1', {
|
|
2017
|
+
* limit: 50,
|
|
2018
|
+
* cursor: page.page.nextCursor,
|
|
2019
|
+
* })
|
|
2020
|
+
* }
|
|
2021
|
+
* ```
|
|
1997
2022
|
*/
|
|
1998
2023
|
async children(id, options = {}) {
|
|
1999
|
-
|
|
2024
|
+
const response = await this.httpClient.send("/v1/{contentType}/{id}/children", "get", {
|
|
2000
2025
|
path: { contentType: this.typeName, id },
|
|
2001
|
-
query:
|
|
2026
|
+
query: childrenQuery(options, this.clientLocale()),
|
|
2002
2027
|
headers: readHeaders(options)
|
|
2003
2028
|
});
|
|
2029
|
+
return response.body;
|
|
2004
2030
|
}
|
|
2005
2031
|
};
|
|
2006
2032
|
chunkMWMSFIWN_cjs.__name(_ContentClient, "ContentClient");
|
|
@@ -4622,5 +4648,5 @@ exports.serviceInstructedDelayMs = serviceInstructedDelayMs;
|
|
|
4622
4648
|
exports.sleep = sleep;
|
|
4623
4649
|
exports.validateFile = validateFile;
|
|
4624
4650
|
exports.versionCheckOf = versionCheckOf;
|
|
4625
|
-
//# sourceMappingURL=chunk-
|
|
4626
|
-
//# sourceMappingURL=chunk-
|
|
4651
|
+
//# sourceMappingURL=chunk-3BHDGUNS.cjs.map
|
|
4652
|
+
//# sourceMappingURL=chunk-3BHDGUNS.cjs.map
|
|
@@ -1720,6 +1720,15 @@ function listQuery(options, clientLocale) {
|
|
|
1720
1720
|
return query;
|
|
1721
1721
|
}
|
|
1722
1722
|
__name(listQuery, "listQuery");
|
|
1723
|
+
function childrenQuery(options, clientLocale) {
|
|
1724
|
+
const query = {};
|
|
1725
|
+
if (options.limit !== void 0) query.limit = options.limit;
|
|
1726
|
+
if (options.cursor !== void 0) query.cursor = options.cursor;
|
|
1727
|
+
if (options.page !== void 0) query.page = options.page;
|
|
1728
|
+
writeReadTerms(query, options, clientLocale);
|
|
1729
|
+
return query;
|
|
1730
|
+
}
|
|
1731
|
+
__name(childrenQuery, "childrenQuery");
|
|
1723
1732
|
function entryQuery(options, clientLocale) {
|
|
1724
1733
|
const query = {};
|
|
1725
1734
|
writeReadTerms(query, options, clientLocale);
|
|
@@ -1984,7 +1993,12 @@ var _ContentClient = class _ContentClient extends EntryHandle {
|
|
|
1984
1993
|
});
|
|
1985
1994
|
}
|
|
1986
1995
|
/**
|
|
1987
|
-
*
|
|
1996
|
+
* One page of the direct children of a hierarchical entry, each read as `get` reads an entry:
|
|
1997
|
+
* the API's own `{ data, page }`, as `list` answers it (REL-1864).
|
|
1998
|
+
*
|
|
1999
|
+
* Page by `cursor` — the `page.nextCursor` a page handed back — to reach every child, or by
|
|
2000
|
+
* `page` number; `limit` is the page size for both. `page.hasMore` says whether there are more,
|
|
2001
|
+
* and a parent with more children than a page has them on the next one.
|
|
1988
2002
|
*
|
|
1989
2003
|
* It takes `get`'s options — `include` (checked against the type), `locale` (a code, a list or
|
|
1990
2004
|
* `'*'`), `dataset`, `fresh` and `children` — the terms its route declares as the entry route
|
|
@@ -1992,13 +2006,25 @@ var _ContentClient = class _ContentClient extends EntryHandle {
|
|
|
1992
2006
|
* under each child is the `children` option.
|
|
1993
2007
|
*
|
|
1994
2008
|
* @param id - Parent entry ID
|
|
2009
|
+
*
|
|
2010
|
+
* @example
|
|
2011
|
+
* ```typescript
|
|
2012
|
+
* let page = await relyio.content('category').children('cat_1', { limit: 50 })
|
|
2013
|
+
* while (page.page.hasMore && page.page.nextCursor !== null) {
|
|
2014
|
+
* page = await relyio.content('category').children('cat_1', {
|
|
2015
|
+
* limit: 50,
|
|
2016
|
+
* cursor: page.page.nextCursor,
|
|
2017
|
+
* })
|
|
2018
|
+
* }
|
|
2019
|
+
* ```
|
|
1995
2020
|
*/
|
|
1996
2021
|
async children(id, options = {}) {
|
|
1997
|
-
|
|
2022
|
+
const response = await this.httpClient.send("/v1/{contentType}/{id}/children", "get", {
|
|
1998
2023
|
path: { contentType: this.typeName, id },
|
|
1999
|
-
query:
|
|
2024
|
+
query: childrenQuery(options, this.clientLocale()),
|
|
2000
2025
|
headers: readHeaders(options)
|
|
2001
2026
|
});
|
|
2027
|
+
return response.body;
|
|
2002
2028
|
}
|
|
2003
2029
|
};
|
|
2004
2030
|
__name(_ContentClient, "ContentClient");
|
|
@@ -4570,5 +4596,5 @@ function randomClientId() {
|
|
|
4570
4596
|
__name(randomClientId, "randomClientId");
|
|
4571
4597
|
|
|
4572
4598
|
export { AssetClient, AssetFileBuilder, AssetUploadBuilder, AuthorizationError, BaseValidationError, ChangesExpiredError, ConnectionError, ContentClient, ErrorMapper, FileUploadError, FileValidationError, HttpClient, InvalidApiKeyError, InvalidPayloadError, LIVE_KEEPALIVE_INTERVAL_MS, LIVE_SOCKET_OPEN_TIMEOUT_MS, LiveEdgeError, MethodNotAllowedError, MissingApiKeyError, NetworkError, PUBLISHABLE_KEY_PREFIX, PayloadTooLargeError, PlanFeatureUnavailableError, RateLimitError, ReadOnlyKeyError, ResourceConflictError, ResourceExpiredError, ResourceNotFoundError, SDKError, ServerError, ServiceIndeterminateError, SettingsClient, SingletonClient, TimeoutError, TransactionRolledBackError, TypedRelyIOClient, UnknownContractError, UsageQuotaExceededError, VISITOR_ADMISSION_RETRY_AFTER_SECONDS, ValidationError, createClient, isAborted, isAssetEntry, isMissingEntry, isPublishableKey, isResourceNotFound, matchRoute, serviceInstructedDelayMs, sleep, validateFile, versionCheckOf };
|
|
4573
|
-
//# sourceMappingURL=chunk-
|
|
4574
|
-
//# sourceMappingURL=chunk-
|
|
4599
|
+
//# sourceMappingURL=chunk-PXA5ONIU.js.map
|
|
4600
|
+
//# sourceMappingURL=chunk-PXA5ONIU.js.map
|
package/dist/client/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BHDGUNS_cjs = require('../chunk-3BHDGUNS.cjs');
|
|
4
4
|
require('../chunk-LSRPMNPT.cjs');
|
|
5
5
|
require('../chunk-TZL374LS.cjs');
|
|
6
6
|
require('../chunk-MWMSFIWN.cjs');
|
|
@@ -9,11 +9,11 @@ require('../chunk-MWMSFIWN.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3BHDGUNS_cjs.TypedRelyIOClient; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "createClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3BHDGUNS_cjs.createClient; }
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=index.cjs.map
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
package/dist/client/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { e as ClientDefaults, f as ClientSchema, R as Register, h as RegisteredSchema, d as TypedClientConfig, T as TypedRelyIOClient, c as createClient } from '../index-
|
|
2
|
-
import '../define-content-type-
|
|
1
|
+
export { e as ClientDefaults, f as ClientSchema, R as Register, h as RegisteredSchema, d as TypedClientConfig, T as TypedRelyIOClient, c as createClient } from '../index-F0UuHpRj.cjs';
|
|
2
|
+
import '../define-content-type-B2gQZkTy.cjs';
|
|
3
3
|
import '../rich-text.d-BWc-5gX1.cjs';
|
|
4
|
-
import '../define-schema-
|
|
4
|
+
import '../define-schema-Cm_5y3ei.cjs';
|
|
5
5
|
import './live-visitor.js';
|
|
6
6
|
import '../dev-handshake/index.cjs';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { e as ClientDefaults, f as ClientSchema, R as Register, h as RegisteredSchema, d as TypedClientConfig, T as TypedRelyIOClient, c as createClient } from '../index-
|
|
2
|
-
import '../define-content-type-
|
|
1
|
+
export { e as ClientDefaults, f as ClientSchema, R as Register, h as RegisteredSchema, d as TypedClientConfig, T as TypedRelyIOClient, c as createClient } from '../index-DQ7eTUPQ.js';
|
|
2
|
+
import '../define-content-type-Ds5rCAYl.js';
|
|
3
3
|
import '../rich-text.d-BWc-5gX1.js';
|
|
4
|
-
import '../define-schema-
|
|
4
|
+
import '../define-schema-CxpIYFFR.js';
|
|
5
5
|
import './live-visitor.js';
|
|
6
6
|
import '../dev-handshake/index.js';
|
package/dist/client/index.js
CHANGED
|
@@ -1193,6 +1193,49 @@ interface components {
|
|
|
1193
1193
|
/** @description Locale of the binding to read */
|
|
1194
1194
|
locale?: string;
|
|
1195
1195
|
};
|
|
1196
|
+
GetChildrenDto: {
|
|
1197
|
+
/**
|
|
1198
|
+
* @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales.
|
|
1199
|
+
* @example en-US
|
|
1200
|
+
*/
|
|
1201
|
+
locale?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* @description Comma-separated list of specific locales to retrieve. First locale becomes the primary (top-level), others go in _metadata.localizations.
|
|
1204
|
+
* @example en-US,es-ES,de-DE
|
|
1205
|
+
*/
|
|
1206
|
+
locales?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* @description Comma-separated include paths: the references to expand into the entries they point at. A path names fields, joined by dots, through lists, page builders, objects and references (`sections.features`, `sections.customers.logo`); each hop across a reference is written out. A path that stops at a list or an object expands every reference it holds. Fields in parentheses are the only fields each expanded entry returns, beside its `_metadata` (`sections.features(name,slug)`). A path that holds no reference is refused, naming the ones that do.
|
|
1209
|
+
* @example sections.features(name,slug),sections.customers.logo
|
|
1210
|
+
*/
|
|
1211
|
+
include?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* @description Embed each entry's children, of every content type, under `_children`. `true` or `1` → 1 level, `2` → 2 levels, `3` → 3 levels (the maximum).
|
|
1214
|
+
* @example true
|
|
1215
|
+
* @enum {string}
|
|
1216
|
+
*/
|
|
1217
|
+
children?: '1' | '2' | '3' | 'true';
|
|
1218
|
+
/**
|
|
1219
|
+
* @description Max children per parent when using children embedding. Default: 25, Max: 50.
|
|
1220
|
+
* @example 25
|
|
1221
|
+
*/
|
|
1222
|
+
childrenLimit?: number;
|
|
1223
|
+
/**
|
|
1224
|
+
* @description Cursor for pagination (from previous response). Use cursor-based pagination for best performance with large datasets.
|
|
1225
|
+
* @example eyJlbnRyeVVpZCI6ImFiYzEyMyIsImNyZWF0ZWRBdCI6IjIwMjQtMDEtMDEifQ
|
|
1226
|
+
*/
|
|
1227
|
+
cursor?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* @description Maximum number of items to return: the page size of a cursor or page-number read
|
|
1230
|
+
* @example 25
|
|
1231
|
+
*/
|
|
1232
|
+
limit?: number;
|
|
1233
|
+
/**
|
|
1234
|
+
* @description Page number (1-indexed, max 100). For deep pagination beyond this limit, use cursor-based pagination instead.
|
|
1235
|
+
* @example 1
|
|
1236
|
+
*/
|
|
1237
|
+
page?: number;
|
|
1238
|
+
};
|
|
1196
1239
|
GetEntriesDto: {
|
|
1197
1240
|
/**
|
|
1198
1241
|
* @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales.
|
|
@@ -3307,12 +3350,18 @@ interface operations {
|
|
|
3307
3350
|
children?: '1' | '2' | '3' | 'true';
|
|
3308
3351
|
/** @description Max children per parent when using children embedding. Default: 25, Max: 50. */
|
|
3309
3352
|
childrenLimit?: number;
|
|
3353
|
+
/** @description Cursor for pagination (from previous response). Use cursor-based pagination for best performance with large datasets. */
|
|
3354
|
+
cursor?: string;
|
|
3310
3355
|
/** @description Comma-separated include paths: the references to expand into the entries they point at. A path names fields, joined by dots, through lists, page builders, objects and references (`sections.features`, `sections.customers.logo`); each hop across a reference is written out. A path that stops at a list or an object expands every reference it holds. Fields in parentheses are the only fields each expanded entry returns, beside its `_metadata` (`sections.features(name,slug)`). A path that holds no reference is refused, naming the ones that do. */
|
|
3311
3356
|
include?: string;
|
|
3357
|
+
/** @description Maximum number of items to return: the page size of a cursor or page-number read */
|
|
3358
|
+
limit?: number;
|
|
3312
3359
|
/** @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales. */
|
|
3313
3360
|
locale?: string;
|
|
3314
3361
|
/** @description Comma-separated list of specific locales to retrieve. First locale becomes the primary (top-level), others go in _metadata.localizations. */
|
|
3315
3362
|
locales?: string;
|
|
3363
|
+
/** @description Page number (1-indexed, max 100). For deep pagination beyond this limit, use cursor-based pagination instead. */
|
|
3364
|
+
page?: number;
|
|
3316
3365
|
};
|
|
3317
3366
|
header?: never;
|
|
3318
3367
|
path: {
|
|
@@ -3334,8 +3383,8 @@ interface operations {
|
|
|
3334
3383
|
};
|
|
3335
3384
|
content: {
|
|
3336
3385
|
'application/json': {
|
|
3337
|
-
|
|
3338
|
-
|
|
3386
|
+
data: unknown[];
|
|
3387
|
+
page: components['schemas']['CursorPage'];
|
|
3339
3388
|
};
|
|
3340
3389
|
};
|
|
3341
3390
|
};
|
|
@@ -1193,6 +1193,49 @@ interface components {
|
|
|
1193
1193
|
/** @description Locale of the binding to read */
|
|
1194
1194
|
locale?: string;
|
|
1195
1195
|
};
|
|
1196
|
+
GetChildrenDto: {
|
|
1197
|
+
/**
|
|
1198
|
+
* @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales.
|
|
1199
|
+
* @example en-US
|
|
1200
|
+
*/
|
|
1201
|
+
locale?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* @description Comma-separated list of specific locales to retrieve. First locale becomes the primary (top-level), others go in _metadata.localizations.
|
|
1204
|
+
* @example en-US,es-ES,de-DE
|
|
1205
|
+
*/
|
|
1206
|
+
locales?: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* @description Comma-separated include paths: the references to expand into the entries they point at. A path names fields, joined by dots, through lists, page builders, objects and references (`sections.features`, `sections.customers.logo`); each hop across a reference is written out. A path that stops at a list or an object expands every reference it holds. Fields in parentheses are the only fields each expanded entry returns, beside its `_metadata` (`sections.features(name,slug)`). A path that holds no reference is refused, naming the ones that do.
|
|
1209
|
+
* @example sections.features(name,slug),sections.customers.logo
|
|
1210
|
+
*/
|
|
1211
|
+
include?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* @description Embed each entry's children, of every content type, under `_children`. `true` or `1` → 1 level, `2` → 2 levels, `3` → 3 levels (the maximum).
|
|
1214
|
+
* @example true
|
|
1215
|
+
* @enum {string}
|
|
1216
|
+
*/
|
|
1217
|
+
children?: '1' | '2' | '3' | 'true';
|
|
1218
|
+
/**
|
|
1219
|
+
* @description Max children per parent when using children embedding. Default: 25, Max: 50.
|
|
1220
|
+
* @example 25
|
|
1221
|
+
*/
|
|
1222
|
+
childrenLimit?: number;
|
|
1223
|
+
/**
|
|
1224
|
+
* @description Cursor for pagination (from previous response). Use cursor-based pagination for best performance with large datasets.
|
|
1225
|
+
* @example eyJlbnRyeVVpZCI6ImFiYzEyMyIsImNyZWF0ZWRBdCI6IjIwMjQtMDEtMDEifQ
|
|
1226
|
+
*/
|
|
1227
|
+
cursor?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* @description Maximum number of items to return: the page size of a cursor or page-number read
|
|
1230
|
+
* @example 25
|
|
1231
|
+
*/
|
|
1232
|
+
limit?: number;
|
|
1233
|
+
/**
|
|
1234
|
+
* @description Page number (1-indexed, max 100). For deep pagination beyond this limit, use cursor-based pagination instead.
|
|
1235
|
+
* @example 1
|
|
1236
|
+
*/
|
|
1237
|
+
page?: number;
|
|
1238
|
+
};
|
|
1196
1239
|
GetEntriesDto: {
|
|
1197
1240
|
/**
|
|
1198
1241
|
* @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales.
|
|
@@ -3307,12 +3350,18 @@ interface operations {
|
|
|
3307
3350
|
children?: '1' | '2' | '3' | 'true';
|
|
3308
3351
|
/** @description Max children per parent when using children embedding. Default: 25, Max: 50. */
|
|
3309
3352
|
childrenLimit?: number;
|
|
3353
|
+
/** @description Cursor for pagination (from previous response). Use cursor-based pagination for best performance with large datasets. */
|
|
3354
|
+
cursor?: string;
|
|
3310
3355
|
/** @description Comma-separated include paths: the references to expand into the entries they point at. A path names fields, joined by dots, through lists, page builders, objects and references (`sections.features`, `sections.customers.logo`); each hop across a reference is written out. A path that stops at a list or an object expands every reference it holds. Fields in parentheses are the only fields each expanded entry returns, beside its `_metadata` (`sections.features(name,slug)`). A path that holds no reference is refused, naming the ones that do. */
|
|
3311
3356
|
include?: string;
|
|
3357
|
+
/** @description Maximum number of items to return: the page size of a cursor or page-number read */
|
|
3358
|
+
limit?: number;
|
|
3312
3359
|
/** @description Requested locale for content. Returns content in this locale with fallback if configured. Use "*" to retrieve all available locales. */
|
|
3313
3360
|
locale?: string;
|
|
3314
3361
|
/** @description Comma-separated list of specific locales to retrieve. First locale becomes the primary (top-level), others go in _metadata.localizations. */
|
|
3315
3362
|
locales?: string;
|
|
3363
|
+
/** @description Page number (1-indexed, max 100). For deep pagination beyond this limit, use cursor-based pagination instead. */
|
|
3364
|
+
page?: number;
|
|
3316
3365
|
};
|
|
3317
3366
|
header?: never;
|
|
3318
3367
|
path: {
|
|
@@ -3334,8 +3383,8 @@ interface operations {
|
|
|
3334
3383
|
};
|
|
3335
3384
|
content: {
|
|
3336
3385
|
'application/json': {
|
|
3337
|
-
|
|
3338
|
-
|
|
3386
|
+
data: unknown[];
|
|
3387
|
+
page: components['schemas']['CursorPage'];
|
|
3339
3388
|
};
|
|
3340
3389
|
};
|
|
3341
3390
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as ContentTypeDefinition, aR as SingletonContentTypeDefinition, aW as SettingsGroupDefinition, aC as LocaleDefinition, bw as RoleDefinition, bP as WorkflowDefinition, c5 as ViewDefinition, a$ as AssetTypeDefinition, aN as InferContentType, bz as KeyedRoles, c8 as KeyedViews, ce as CheckedLocales, cf as CheckedRoles, cg as CheckedWorkflow, ch as CheckedSection, ci as KeysDeclared, cj as LocaleCodesOf, ck as StagesDeclared, bA as KeyedRolesAsList, c9 as KeyedViewsAsList } from './define-content-type-
|
|
1
|
+
import { aL as ContentTypeDefinition, aR as SingletonContentTypeDefinition, aW as SettingsGroupDefinition, aC as LocaleDefinition, bw as RoleDefinition, bP as WorkflowDefinition, c5 as ViewDefinition, a$ as AssetTypeDefinition, aN as InferContentType, bz as KeyedRoles, c8 as KeyedViews, ce as CheckedLocales, cf as CheckedRoles, cg as CheckedWorkflow, ch as CheckedSection, ci as KeysDeclared, cj as LocaleCodesOf, ck as StagesDeclared, bA as KeyedRolesAsList, c9 as KeyedViewsAsList } from './define-content-type-B2gQZkTy.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Query definition matching @relyio/schema QueryDefinitionSchema
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as ContentTypeDefinition, aR as SingletonContentTypeDefinition, aW as SettingsGroupDefinition, aC as LocaleDefinition, bw as RoleDefinition, bP as WorkflowDefinition, c5 as ViewDefinition, a$ as AssetTypeDefinition, aN as InferContentType, bz as KeyedRoles, c8 as KeyedViews, ce as CheckedLocales, cf as CheckedRoles, cg as CheckedWorkflow, ch as CheckedSection, ci as KeysDeclared, cj as LocaleCodesOf, ck as StagesDeclared, bA as KeyedRolesAsList, c9 as KeyedViewsAsList } from './define-content-type-
|
|
1
|
+
import { aL as ContentTypeDefinition, aR as SingletonContentTypeDefinition, aW as SettingsGroupDefinition, aC as LocaleDefinition, bw as RoleDefinition, bP as WorkflowDefinition, c5 as ViewDefinition, a$ as AssetTypeDefinition, aN as InferContentType, bz as KeyedRoles, c8 as KeyedViews, ce as CheckedLocales, cf as CheckedRoles, cg as CheckedWorkflow, ch as CheckedSection, ci as KeysDeclared, cj as LocaleCodesOf, ck as StagesDeclared, bA as KeyedRolesAsList, c9 as KeyedViewsAsList } from './define-content-type-Ds5rCAYl.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Query definition matching @relyio/schema QueryDefinitionSchema
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c$ as paths, d0 as MergedRelyIOConfig, cS as ApiResponse, cR as RequestConfig, aM as EntryMetadata, cs as BaseContent, ap as Reading, al as CheckedIncludes, d1 as ReadWhere, cx as WhereClause, aq as ReadWith, cD as UpdateInput, at as UntypedReading, cB as RevisedContent, cA as CreateInput, cC as RestoredContent, cl as SDKError, cY as BaseValidationError, cX as ValidationViolation, b2 as AssetServedBlocks, d2 as CheckedInclude, d3 as components, cq as AssetFileBlock, ct as BaseSingleton, cu as BaseSettingsGroup, aN as InferContentType, an as ContentReading, aT as InferSingleton, cm as RelyIOConfig, b0 as InferAssetType, ak as AssetReading, as as SingletonReading, aY as InferSettingsGroup, ar as SettingsReading, cn as RelyIOConfigUpdate } from './define-content-type-
|
|
2
|
-
import { a as SchemaDefinition, b as SchemaContentTypeNames, j as SchemaEntryOf, f as SchemaLocaleCodes, c as SchemaSingletonNames, A as AggregateBlock, K as QueryParameterValue, F as FullTextSearch, e as SchemaQueryNames, J as InferQueryParams, L as AnyQueryParameters, h as SchemaAssetTypeNames, g as SchemaSettingsGroupNames } from './define-schema-
|
|
1
|
+
import { c$ as paths, d0 as MergedRelyIOConfig, cS as ApiResponse, cR as RequestConfig, aM as EntryMetadata, cs as BaseContent, ap as Reading, al as CheckedIncludes, d1 as ReadWhere, cx as WhereClause, aq as ReadWith, cD as UpdateInput, at as UntypedReading, cB as RevisedContent, cA as CreateInput, cC as RestoredContent, cl as SDKError, cY as BaseValidationError, cX as ValidationViolation, b2 as AssetServedBlocks, d2 as CheckedInclude, d3 as components, cq as AssetFileBlock, ct as BaseSingleton, cu as BaseSettingsGroup, aN as InferContentType, an as ContentReading, aT as InferSingleton, cm as RelyIOConfig, b0 as InferAssetType, ak as AssetReading, as as SingletonReading, aY as InferSettingsGroup, ar as SettingsReading, cn as RelyIOConfigUpdate } from './define-content-type-Ds5rCAYl.js';
|
|
2
|
+
import { a as SchemaDefinition, b as SchemaContentTypeNames, j as SchemaEntryOf, f as SchemaLocaleCodes, c as SchemaSingletonNames, A as AggregateBlock, K as QueryParameterValue, F as FullTextSearch, e as SchemaQueryNames, J as InferQueryParams, L as AnyQueryParameters, h as SchemaAssetTypeNames, g as SchemaSettingsGroupNames } from './define-schema-CxpIYFFR.js';
|
|
3
3
|
import { VisitorResyncReason } from './live-visitor.js';
|
|
4
4
|
import { DevUnreadableReason } from './dev-handshake/index.js';
|
|
5
5
|
|
|
@@ -594,6 +594,15 @@ type Paging = {
|
|
|
594
594
|
};
|
|
595
595
|
/** What `list(options)` takes. */
|
|
596
596
|
type ListOptions<T extends BaseContent, R extends Reading, P extends readonly string[], S extends readonly FieldKey<T>[] | undefined = undefined, L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = ListReadOptions<T, R, P, S, L> & Paging;
|
|
597
|
+
/**
|
|
598
|
+
* What `children(id, options)` takes (REL-1864): an entry read's options and the page of the list
|
|
599
|
+
* — `limit` the page size, and the `cursor` a page handed back or a page number to choose which.
|
|
600
|
+
* No `where`, `select` or `sort`: the route declares none, and the order is the hierarchy's.
|
|
601
|
+
*/
|
|
602
|
+
type ChildrenListOptions<R extends Reading, P extends readonly string[], L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = EntryReadOptions<R, P, L> & {
|
|
603
|
+
/** How many children a page holds, whether it is read by cursor or by number. */
|
|
604
|
+
readonly limit?: Term<'/v1/{contentType}/{id}/children', 'get', 'limit'>;
|
|
605
|
+
} & Paging;
|
|
597
606
|
/** What `listAll(options)` takes: a list's options, paged by the walk itself. */
|
|
598
607
|
type ListAllOptions<T extends BaseContent, R extends Reading, P extends readonly string[], S extends readonly FieldKey<T>[] | undefined = undefined, L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = ListReadOptions<T, R, P, S, L>;
|
|
599
608
|
/** What `get(idOrSlug, options)` takes. */
|
|
@@ -896,7 +905,12 @@ declare class ContentClient<T extends BaseContent = BaseContent, R extends Readi
|
|
|
896
905
|
locale: string;
|
|
897
906
|
} & RetryableWriteOptions): Promise<RestoredContent<T>>;
|
|
898
907
|
/**
|
|
899
|
-
*
|
|
908
|
+
* One page of the direct children of a hierarchical entry, each read as `get` reads an entry:
|
|
909
|
+
* the API's own `{ data, page }`, as `list` answers it (REL-1864).
|
|
910
|
+
*
|
|
911
|
+
* Page by `cursor` — the `page.nextCursor` a page handed back — to reach every child, or by
|
|
912
|
+
* `page` number; `limit` is the page size for both. `page.hasMore` says whether there are more,
|
|
913
|
+
* and a parent with more children than a page has them on the next one.
|
|
900
914
|
*
|
|
901
915
|
* It takes `get`'s options — `include` (checked against the type), `locale` (a code, a list or
|
|
902
916
|
* `'*'`), `dataset`, `fresh` and `children` — the terms its route declares as the entry route
|
|
@@ -904,8 +918,19 @@ declare class ContentClient<T extends BaseContent = BaseContent, R extends Readi
|
|
|
904
918
|
* under each child is the `children` option.
|
|
905
919
|
*
|
|
906
920
|
* @param id - Parent entry ID
|
|
921
|
+
*
|
|
922
|
+
* @example
|
|
923
|
+
* ```typescript
|
|
924
|
+
* let page = await relyio.content('category').children('cat_1', { limit: 50 })
|
|
925
|
+
* while (page.page.hasMore && page.page.nextCursor !== null) {
|
|
926
|
+
* page = await relyio.content('category').children('cat_1', {
|
|
927
|
+
* limit: 50,
|
|
928
|
+
* cursor: page.page.nextCursor,
|
|
929
|
+
* })
|
|
930
|
+
* }
|
|
931
|
+
* ```
|
|
907
932
|
*/
|
|
908
|
-
children<const P extends readonly string[] = [], const L extends LocaleOption<ReadLocale<R>> | undefined = undefined>(id: string, options?:
|
|
933
|
+
children<const P extends readonly string[] = [], const L extends LocaleOption<ReadLocale<R>> | undefined = undefined>(id: string, options?: ChildrenListOptions<R, P, L>): Promise<EntryList<ReadAs<R, P, undefined, L>>>;
|
|
909
934
|
}
|
|
910
935
|
|
|
911
936
|
/**
|
|
@@ -3062,4 +3087,4 @@ declare function createClient<TSchema extends AnySchemaDefinition>(config: Typed
|
|
|
3062
3087
|
*/
|
|
3063
3088
|
type ClientSchema<T extends TypedRelyIOClient<AnySchemaDefinition>> = T extends TypedRelyIOClient<infer TSchema> ? TSchema : never;
|
|
3064
3089
|
|
|
3065
|
-
export { type
|
|
3090
|
+
export { type ListAllOptions as $, type AnySchemaDefinition as A, type EntryWriteOptions as B, type Change as C, type DeployedLocale as D, type EntryPlacement as E, type FeedChange as F, SingletonClient as G, type Health as H, SettingsClient as I, type DocumentFields as J, type DocumentVersion as K, type LocaleCodeOf as L, type MatchRouteOptions as M, type DocumentVersionsOptions as N, type DocumentWriteOptions as O, type Project as P, type ChildrenOptions as Q, type Register as R, type SandboxState as S, TypedRelyIOClient as T, type ChildrenListOptions as U, type DocumentReadOptions as V, type Wire as W, type EntryList as X, type FieldKey as Y, type FreshOption as Z, type GetOptions as _, ChangesExpiredError as a, type PopulatedAssetReference as a$, type ListOptions as a0, type LocaleOption as a1, type Paging as a2, type ReadAs as a3, type ReadLocale as a4, type SortOption as a5, type VersionOptions as a6, type WrittenReadScope as a7, type WrittenSort as a8, type SearchResultItem as a9, type BatchUpdate as aA, type BatchReplace as aB, type BatchDelete as aC, type BatchSingletonWrite as aD, type BatchTarget as aE, type BatchDeleteTarget as aF, type AggregateMetric as aG, type QueryMetadata as aH, type AdhocQuery as aI, type AdhocRecord as aJ, type NamedQueryOptions as aK, type NamedQueryParams as aL, type QueryAggregate as aM, type QueryAnswer as aN, type QueryCall as aO, type QueryName as aP, type QueryTypeName as aQ, AssetClient as aR, AssetFileBuilder as aS, AssetUploadBuilder as aT, isAssetEntry as aU, type AssetVisibility as aV, type FileStatus as aW, type FileBackend as aX, type AssetFileExtracted as aY, type FileStatusResult as aZ, type AssetEntryResponse as a_, type SearchHitMetadata as aa, type SearchResponse as ab, type AutocompleteSuggestion as ac, type AutocompleteResponse as ad, type SimilarResult as ae, type SimilarResponse as af, type SearchTypeName as ag, type SearchEntry as ah, type AutocompleteOptions as ai, type SearchFacet as aj, type SearchFieldKey as ak, type SearchHighlight as al, type SearchOptions as am, type SearchPage as an, type SearchScope as ao, type SearchSelected as ap, type SearchSortOption as aq, type SearchWhere as ar, type SimilarOptions as as, type BatchOperationResult as at, type BatchSummary as au, type BatchResponse as av, type BatchWrite as aw, type BatchWriteOptions as ax, type BatchBody as ay, type BatchCreate as az, type ChangesExpiredReason as b, type PresignInput as b0, type PresignResult as b1, type ConfirmInput as b2, type ConfirmResult as b3, type ResolveUrlInput as b4, type ResolveUrlResult as b5, type CreateAssetOptions as b6, type AssetPlacement as b7, type UpdateAssetOptions as b8, type WaitUntilReadyOptions as b9, type MultipartCreateResult as ba, type MultipartPart as bb, type MultipartTarget as bc, type UploadProgress as bd, ResourceNotFoundError as be, ResourceConflictError as bf, ResourceExpiredError as bg, isResourceNotFound as bh, isMissingEntry as bi, type FileErrorCode as bj, type FileUploadErrorCode as bk, FileUploadError as bl, FileValidationError as bm, type FileValidationConstraints as bn, validateFile as bo, createClient as c, type TypedClientConfig as d, type ClientDefaults as e, type ClientSchema as f, type DeployedContentType as g, type RegisteredSchema as h, type ActiveSandbox as i, HttpClient as j, type SendOptions as k, type ApiPath as l, type ApiMethod as m, type ApiSuccessBody as n, matchRoute as o, type RouteMatch as p, type ReadEntry as q, type RetryableWriteOptions as r, type ChangesHeadOptions as s, type ChangesOptions as t, LIVE_KEEPALIVE_INTERVAL_MS as u, versionCheckOf as v, LIVE_SOCKET_OPEN_TIMEOUT_MS as w, type LiveChangesOptions as x, ContentClient as y, type CreateEntryOptions as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { k as RichTextHeading, b as RichTextValue, y as RichTextTable, h as RichTextCodeGroup, e as RichTextBlock, l as RichTextInline, t as RichTextNode, w as RichTextSpan, r as RichTextMark, A as AnyRichTextEntryLink, c as RichTextShapeValue } from './rich-text.d-BWc-5gX1.cjs';
|
|
2
|
-
import { cs as BaseContent } from './define-content-type-
|
|
2
|
+
import { cs as BaseContent } from './define-content-type-B2gQZkTy.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The DOM↔field binding contract, as the one pure helper that emits it.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { k as RichTextHeading, b as RichTextValue, y as RichTextTable, h as RichTextCodeGroup, e as RichTextBlock, l as RichTextInline, t as RichTextNode, w as RichTextSpan, r as RichTextMark, A as AnyRichTextEntryLink, c as RichTextShapeValue } from './rich-text.d-BWc-5gX1.js';
|
|
2
|
-
import { cs as BaseContent } from './define-content-type-
|
|
2
|
+
import { cs as BaseContent } from './define-content-type-Ds5rCAYl.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The DOM↔field binding contract, as the one pure helper that emits it.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c$ as paths, d0 as MergedRelyIOConfig, cS as ApiResponse, cR as RequestConfig, aM as EntryMetadata, cs as BaseContent, ap as Reading, al as CheckedIncludes, d1 as ReadWhere, cx as WhereClause, aq as ReadWith, cD as UpdateInput, at as UntypedReading, cB as RevisedContent, cA as CreateInput, cC as RestoredContent, cl as SDKError, cY as BaseValidationError, cX as ValidationViolation, b2 as AssetServedBlocks, d2 as CheckedInclude, d3 as components, cq as AssetFileBlock, ct as BaseSingleton, cu as BaseSettingsGroup, aN as InferContentType, an as ContentReading, aT as InferSingleton, cm as RelyIOConfig, b0 as InferAssetType, ak as AssetReading, as as SingletonReading, aY as InferSettingsGroup, ar as SettingsReading, cn as RelyIOConfigUpdate } from './define-content-type-
|
|
2
|
-
import { a as SchemaDefinition, b as SchemaContentTypeNames, j as SchemaEntryOf, f as SchemaLocaleCodes, c as SchemaSingletonNames, A as AggregateBlock, K as QueryParameterValue, F as FullTextSearch, e as SchemaQueryNames, J as InferQueryParams, L as AnyQueryParameters, h as SchemaAssetTypeNames, g as SchemaSettingsGroupNames } from './define-schema-
|
|
1
|
+
import { c$ as paths, d0 as MergedRelyIOConfig, cS as ApiResponse, cR as RequestConfig, aM as EntryMetadata, cs as BaseContent, ap as Reading, al as CheckedIncludes, d1 as ReadWhere, cx as WhereClause, aq as ReadWith, cD as UpdateInput, at as UntypedReading, cB as RevisedContent, cA as CreateInput, cC as RestoredContent, cl as SDKError, cY as BaseValidationError, cX as ValidationViolation, b2 as AssetServedBlocks, d2 as CheckedInclude, d3 as components, cq as AssetFileBlock, ct as BaseSingleton, cu as BaseSettingsGroup, aN as InferContentType, an as ContentReading, aT as InferSingleton, cm as RelyIOConfig, b0 as InferAssetType, ak as AssetReading, as as SingletonReading, aY as InferSettingsGroup, ar as SettingsReading, cn as RelyIOConfigUpdate } from './define-content-type-B2gQZkTy.cjs';
|
|
2
|
+
import { a as SchemaDefinition, b as SchemaContentTypeNames, j as SchemaEntryOf, f as SchemaLocaleCodes, c as SchemaSingletonNames, A as AggregateBlock, K as QueryParameterValue, F as FullTextSearch, e as SchemaQueryNames, J as InferQueryParams, L as AnyQueryParameters, h as SchemaAssetTypeNames, g as SchemaSettingsGroupNames } from './define-schema-Cm_5y3ei.cjs';
|
|
3
3
|
import { VisitorResyncReason } from './live-visitor.js';
|
|
4
4
|
import { DevUnreadableReason } from './dev-handshake/index.cjs';
|
|
5
5
|
|
|
@@ -594,6 +594,15 @@ type Paging = {
|
|
|
594
594
|
};
|
|
595
595
|
/** What `list(options)` takes. */
|
|
596
596
|
type ListOptions<T extends BaseContent, R extends Reading, P extends readonly string[], S extends readonly FieldKey<T>[] | undefined = undefined, L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = ListReadOptions<T, R, P, S, L> & Paging;
|
|
597
|
+
/**
|
|
598
|
+
* What `children(id, options)` takes (REL-1864): an entry read's options and the page of the list
|
|
599
|
+
* — `limit` the page size, and the `cursor` a page handed back or a page number to choose which.
|
|
600
|
+
* No `where`, `select` or `sort`: the route declares none, and the order is the hierarchy's.
|
|
601
|
+
*/
|
|
602
|
+
type ChildrenListOptions<R extends Reading, P extends readonly string[], L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = EntryReadOptions<R, P, L> & {
|
|
603
|
+
/** How many children a page holds, whether it is read by cursor or by number. */
|
|
604
|
+
readonly limit?: Term<'/v1/{contentType}/{id}/children', 'get', 'limit'>;
|
|
605
|
+
} & Paging;
|
|
597
606
|
/** What `listAll(options)` takes: a list's options, paged by the walk itself. */
|
|
598
607
|
type ListAllOptions<T extends BaseContent, R extends Reading, P extends readonly string[], S extends readonly FieldKey<T>[] | undefined = undefined, L extends LocaleOption<ReadLocale<R>> | undefined = undefined> = ListReadOptions<T, R, P, S, L>;
|
|
599
608
|
/** What `get(idOrSlug, options)` takes. */
|
|
@@ -896,7 +905,12 @@ declare class ContentClient<T extends BaseContent = BaseContent, R extends Readi
|
|
|
896
905
|
locale: string;
|
|
897
906
|
} & RetryableWriteOptions): Promise<RestoredContent<T>>;
|
|
898
907
|
/**
|
|
899
|
-
*
|
|
908
|
+
* One page of the direct children of a hierarchical entry, each read as `get` reads an entry:
|
|
909
|
+
* the API's own `{ data, page }`, as `list` answers it (REL-1864).
|
|
910
|
+
*
|
|
911
|
+
* Page by `cursor` — the `page.nextCursor` a page handed back — to reach every child, or by
|
|
912
|
+
* `page` number; `limit` is the page size for both. `page.hasMore` says whether there are more,
|
|
913
|
+
* and a parent with more children than a page has them on the next one.
|
|
900
914
|
*
|
|
901
915
|
* It takes `get`'s options — `include` (checked against the type), `locale` (a code, a list or
|
|
902
916
|
* `'*'`), `dataset`, `fresh` and `children` — the terms its route declares as the entry route
|
|
@@ -904,8 +918,19 @@ declare class ContentClient<T extends BaseContent = BaseContent, R extends Readi
|
|
|
904
918
|
* under each child is the `children` option.
|
|
905
919
|
*
|
|
906
920
|
* @param id - Parent entry ID
|
|
921
|
+
*
|
|
922
|
+
* @example
|
|
923
|
+
* ```typescript
|
|
924
|
+
* let page = await relyio.content('category').children('cat_1', { limit: 50 })
|
|
925
|
+
* while (page.page.hasMore && page.page.nextCursor !== null) {
|
|
926
|
+
* page = await relyio.content('category').children('cat_1', {
|
|
927
|
+
* limit: 50,
|
|
928
|
+
* cursor: page.page.nextCursor,
|
|
929
|
+
* })
|
|
930
|
+
* }
|
|
931
|
+
* ```
|
|
907
932
|
*/
|
|
908
|
-
children<const P extends readonly string[] = [], const L extends LocaleOption<ReadLocale<R>> | undefined = undefined>(id: string, options?:
|
|
933
|
+
children<const P extends readonly string[] = [], const L extends LocaleOption<ReadLocale<R>> | undefined = undefined>(id: string, options?: ChildrenListOptions<R, P, L>): Promise<EntryList<ReadAs<R, P, undefined, L>>>;
|
|
909
934
|
}
|
|
910
935
|
|
|
911
936
|
/**
|
|
@@ -3062,4 +3087,4 @@ declare function createClient<TSchema extends AnySchemaDefinition>(config: Typed
|
|
|
3062
3087
|
*/
|
|
3063
3088
|
type ClientSchema<T extends TypedRelyIOClient<AnySchemaDefinition>> = T extends TypedRelyIOClient<infer TSchema> ? TSchema : never;
|
|
3064
3089
|
|
|
3065
|
-
export { type
|
|
3090
|
+
export { type ListAllOptions as $, type AnySchemaDefinition as A, type EntryWriteOptions as B, type Change as C, type DeployedLocale as D, type EntryPlacement as E, type FeedChange as F, SingletonClient as G, type Health as H, SettingsClient as I, type DocumentFields as J, type DocumentVersion as K, type LocaleCodeOf as L, type MatchRouteOptions as M, type DocumentVersionsOptions as N, type DocumentWriteOptions as O, type Project as P, type ChildrenOptions as Q, type Register as R, type SandboxState as S, TypedRelyIOClient as T, type ChildrenListOptions as U, type DocumentReadOptions as V, type Wire as W, type EntryList as X, type FieldKey as Y, type FreshOption as Z, type GetOptions as _, ChangesExpiredError as a, type PopulatedAssetReference as a$, type ListOptions as a0, type LocaleOption as a1, type Paging as a2, type ReadAs as a3, type ReadLocale as a4, type SortOption as a5, type VersionOptions as a6, type WrittenReadScope as a7, type WrittenSort as a8, type SearchResultItem as a9, type BatchUpdate as aA, type BatchReplace as aB, type BatchDelete as aC, type BatchSingletonWrite as aD, type BatchTarget as aE, type BatchDeleteTarget as aF, type AggregateMetric as aG, type QueryMetadata as aH, type AdhocQuery as aI, type AdhocRecord as aJ, type NamedQueryOptions as aK, type NamedQueryParams as aL, type QueryAggregate as aM, type QueryAnswer as aN, type QueryCall as aO, type QueryName as aP, type QueryTypeName as aQ, AssetClient as aR, AssetFileBuilder as aS, AssetUploadBuilder as aT, isAssetEntry as aU, type AssetVisibility as aV, type FileStatus as aW, type FileBackend as aX, type AssetFileExtracted as aY, type FileStatusResult as aZ, type AssetEntryResponse as a_, type SearchHitMetadata as aa, type SearchResponse as ab, type AutocompleteSuggestion as ac, type AutocompleteResponse as ad, type SimilarResult as ae, type SimilarResponse as af, type SearchTypeName as ag, type SearchEntry as ah, type AutocompleteOptions as ai, type SearchFacet as aj, type SearchFieldKey as ak, type SearchHighlight as al, type SearchOptions as am, type SearchPage as an, type SearchScope as ao, type SearchSelected as ap, type SearchSortOption as aq, type SearchWhere as ar, type SimilarOptions as as, type BatchOperationResult as at, type BatchSummary as au, type BatchResponse as av, type BatchWrite as aw, type BatchWriteOptions as ax, type BatchBody as ay, type BatchCreate as az, type ChangesExpiredReason as b, type PresignInput as b0, type PresignResult as b1, type ConfirmInput as b2, type ConfirmResult as b3, type ResolveUrlInput as b4, type ResolveUrlResult as b5, type CreateAssetOptions as b6, type AssetPlacement as b7, type UpdateAssetOptions as b8, type WaitUntilReadyOptions as b9, type MultipartCreateResult as ba, type MultipartPart as bb, type MultipartTarget as bc, type UploadProgress as bd, ResourceNotFoundError as be, ResourceConflictError as bf, ResourceExpiredError as bg, isResourceNotFound as bh, isMissingEntry as bi, type FileErrorCode as bj, type FileUploadErrorCode as bk, FileUploadError as bl, FileValidationError as bm, type FileValidationConstraints as bn, validateFile as bo, createClient as c, type TypedClientConfig as d, type ClientDefaults as e, type ClientSchema as f, type DeployedContentType as g, type RegisteredSchema as h, type ActiveSandbox as i, HttpClient as j, type SendOptions as k, type ApiPath as l, type ApiMethod as m, type ApiSuccessBody as n, matchRoute as o, type RouteMatch as p, type ReadEntry as q, type RetryableWriteOptions as r, type ChangesHeadOptions as s, type ChangesOptions as t, LIVE_KEEPALIVE_INTERVAL_MS as u, versionCheckOf as v, LIVE_SOCKET_OPEN_TIMEOUT_MS as w, type LiveChangesOptions as x, ContentClient as y, type CreateEntryOptions as z };
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var chunkX4KSS7PP_cjs = require('./chunk-X4KSS7PP.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk3BHDGUNS_cjs = require('./chunk-3BHDGUNS.cjs');
|
|
7
7
|
require('./chunk-LSRPMNPT.cjs');
|
|
8
8
|
require('./chunk-PPA2WWOH.cjs');
|
|
9
9
|
var chunkTZL374LS_cjs = require('./chunk-TZL374LS.cjs');
|
|
@@ -21,9 +21,9 @@ function stopOnUnknownAnswer(_answer) {
|
|
|
21
21
|
}
|
|
22
22
|
chunkMWMSFIWN_cjs.__name(stopOnUnknownAnswer, "stopOnUnknownAnswer");
|
|
23
23
|
function classifyFollowFailure(error) {
|
|
24
|
-
if (error instanceof
|
|
25
|
-
if (!(error instanceof
|
|
26
|
-
const afterMs =
|
|
24
|
+
if (error instanceof chunk3BHDGUNS_cjs.LiveEdgeError) return liveEdgeVerdict(error);
|
|
25
|
+
if (!(error instanceof chunk3BHDGUNS_cjs.SDKError) || !error.retryable) return { retry: false };
|
|
26
|
+
const afterMs = chunk3BHDGUNS_cjs.serviceInstructedDelayMs(error, Date.now());
|
|
27
27
|
return afterMs === void 0 ? { retry: true } : { retry: true, afterMs };
|
|
28
28
|
}
|
|
29
29
|
chunkMWMSFIWN_cjs.__name(classifyFollowFailure, "classifyFollowFailure");
|
|
@@ -37,7 +37,7 @@ function liveEdgeVerdict(error) {
|
|
|
37
37
|
return { retry: true, ...hint };
|
|
38
38
|
}
|
|
39
39
|
case "back-off": {
|
|
40
|
-
return { retry: true, ...hint, backOffMs:
|
|
40
|
+
return { retry: true, ...hint, backOffMs: chunk3BHDGUNS_cjs.VISITOR_ADMISSION_RETRY_AFTER_SECONDS * 1e3 };
|
|
41
41
|
}
|
|
42
42
|
default: {
|
|
43
43
|
return stopOnUnknownAnswer(error.retry);
|
|
@@ -50,10 +50,10 @@ async function followChanges(source, options) {
|
|
|
50
50
|
const classify = options.classify ?? classifyFollowFailure;
|
|
51
51
|
const random = options.random ?? Math.random;
|
|
52
52
|
const report = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name((state) => {
|
|
53
|
-
if (!
|
|
53
|
+
if (!chunk3BHDGUNS_cjs.isAborted(signal)) options.onState?.(state);
|
|
54
54
|
}, "report");
|
|
55
55
|
const resync = /* @__PURE__ */ chunkMWMSFIWN_cjs.__name(async (cause) => {
|
|
56
|
-
if (
|
|
56
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return;
|
|
57
57
|
await onResync(cause);
|
|
58
58
|
report({ kind: "resynced", resync: cause });
|
|
59
59
|
}, "resync");
|
|
@@ -62,12 +62,12 @@ async function followChanges(source, options) {
|
|
|
62
62
|
let unanchored = false;
|
|
63
63
|
let current;
|
|
64
64
|
for (; ; ) {
|
|
65
|
-
if (
|
|
65
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
66
66
|
try {
|
|
67
67
|
if (unanchored) {
|
|
68
68
|
unanchored = false;
|
|
69
69
|
await resync({ cause: "no-cursor" });
|
|
70
|
-
if (
|
|
70
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
71
71
|
}
|
|
72
72
|
report({ kind: "following" });
|
|
73
73
|
const open = {};
|
|
@@ -84,13 +84,13 @@ async function followChanges(source, options) {
|
|
|
84
84
|
}, "reached")
|
|
85
85
|
});
|
|
86
86
|
for await (const change of changes) {
|
|
87
|
-
if (
|
|
87
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
88
88
|
failures = 0;
|
|
89
89
|
await onChange(change);
|
|
90
90
|
since = change.cursor;
|
|
91
|
-
if (
|
|
91
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
92
92
|
}
|
|
93
|
-
if (
|
|
93
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
94
94
|
const error = new Error(
|
|
95
95
|
"The change source completed without its signal aborting; a source ends only on abort and throws every other end."
|
|
96
96
|
);
|
|
@@ -98,7 +98,7 @@ async function followChanges(source, options) {
|
|
|
98
98
|
return { kind: "stopped", since, error };
|
|
99
99
|
} catch (error) {
|
|
100
100
|
current = void 0;
|
|
101
|
-
if (
|
|
101
|
+
if (chunk3BHDGUNS_cjs.isAborted(signal)) return { kind: "aborted", since };
|
|
102
102
|
const verdict = classify(error);
|
|
103
103
|
if (!verdict.retry) {
|
|
104
104
|
report({ kind: "stopped", error });
|
|
@@ -107,7 +107,7 @@ async function followChanges(source, options) {
|
|
|
107
107
|
failures += 1;
|
|
108
108
|
const retryInMs = retryDelayMs(failures, verdict, random);
|
|
109
109
|
report({ kind: "reconnecting", error, retryInMs });
|
|
110
|
-
await
|
|
110
|
+
await chunk3BHDGUNS_cjs.sleep(retryInMs, signal);
|
|
111
111
|
if (since === void 0) unanchored = true;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -311,195 +311,195 @@ Object.defineProperty(exports, "fieldset", {
|
|
|
311
311
|
});
|
|
312
312
|
Object.defineProperty(exports, "AssetClient", {
|
|
313
313
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunk3BHDGUNS_cjs.AssetClient; }
|
|
315
315
|
});
|
|
316
316
|
Object.defineProperty(exports, "AssetFileBuilder", {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunk3BHDGUNS_cjs.AssetFileBuilder; }
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(exports, "AssetUploadBuilder", {
|
|
321
321
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunk3BHDGUNS_cjs.AssetUploadBuilder; }
|
|
323
323
|
});
|
|
324
324
|
Object.defineProperty(exports, "AuthorizationError", {
|
|
325
325
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunk3BHDGUNS_cjs.AuthorizationError; }
|
|
327
327
|
});
|
|
328
328
|
Object.defineProperty(exports, "BaseValidationError", {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunk3BHDGUNS_cjs.BaseValidationError; }
|
|
331
331
|
});
|
|
332
332
|
Object.defineProperty(exports, "ChangesExpiredError", {
|
|
333
333
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunk3BHDGUNS_cjs.ChangesExpiredError; }
|
|
335
335
|
});
|
|
336
336
|
Object.defineProperty(exports, "ConnectionError", {
|
|
337
337
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunk3BHDGUNS_cjs.ConnectionError; }
|
|
339
339
|
});
|
|
340
340
|
Object.defineProperty(exports, "ContentClient", {
|
|
341
341
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunk3BHDGUNS_cjs.ContentClient; }
|
|
343
343
|
});
|
|
344
344
|
Object.defineProperty(exports, "ErrorMapper", {
|
|
345
345
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunk3BHDGUNS_cjs.ErrorMapper; }
|
|
347
347
|
});
|
|
348
348
|
Object.defineProperty(exports, "FileUploadError", {
|
|
349
349
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunk3BHDGUNS_cjs.FileUploadError; }
|
|
351
351
|
});
|
|
352
352
|
Object.defineProperty(exports, "FileValidationError", {
|
|
353
353
|
enumerable: true,
|
|
354
|
-
get: function () { return
|
|
354
|
+
get: function () { return chunk3BHDGUNS_cjs.FileValidationError; }
|
|
355
355
|
});
|
|
356
356
|
Object.defineProperty(exports, "HttpClient", {
|
|
357
357
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunk3BHDGUNS_cjs.HttpClient; }
|
|
359
359
|
});
|
|
360
360
|
Object.defineProperty(exports, "InvalidApiKeyError", {
|
|
361
361
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunk3BHDGUNS_cjs.InvalidApiKeyError; }
|
|
363
363
|
});
|
|
364
364
|
Object.defineProperty(exports, "InvalidPayloadError", {
|
|
365
365
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunk3BHDGUNS_cjs.InvalidPayloadError; }
|
|
367
367
|
});
|
|
368
368
|
Object.defineProperty(exports, "LIVE_KEEPALIVE_INTERVAL_MS", {
|
|
369
369
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunk3BHDGUNS_cjs.LIVE_KEEPALIVE_INTERVAL_MS; }
|
|
371
371
|
});
|
|
372
372
|
Object.defineProperty(exports, "LIVE_SOCKET_OPEN_TIMEOUT_MS", {
|
|
373
373
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunk3BHDGUNS_cjs.LIVE_SOCKET_OPEN_TIMEOUT_MS; }
|
|
375
375
|
});
|
|
376
376
|
Object.defineProperty(exports, "LiveEdgeError", {
|
|
377
377
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunk3BHDGUNS_cjs.LiveEdgeError; }
|
|
379
379
|
});
|
|
380
380
|
Object.defineProperty(exports, "MethodNotAllowedError", {
|
|
381
381
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunk3BHDGUNS_cjs.MethodNotAllowedError; }
|
|
383
383
|
});
|
|
384
384
|
Object.defineProperty(exports, "MissingApiKeyError", {
|
|
385
385
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunk3BHDGUNS_cjs.MissingApiKeyError; }
|
|
387
387
|
});
|
|
388
388
|
Object.defineProperty(exports, "NetworkError", {
|
|
389
389
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
390
|
+
get: function () { return chunk3BHDGUNS_cjs.NetworkError; }
|
|
391
391
|
});
|
|
392
392
|
Object.defineProperty(exports, "PUBLISHABLE_KEY_PREFIX", {
|
|
393
393
|
enumerable: true,
|
|
394
|
-
get: function () { return
|
|
394
|
+
get: function () { return chunk3BHDGUNS_cjs.PUBLISHABLE_KEY_PREFIX; }
|
|
395
395
|
});
|
|
396
396
|
Object.defineProperty(exports, "PayloadTooLargeError", {
|
|
397
397
|
enumerable: true,
|
|
398
|
-
get: function () { return
|
|
398
|
+
get: function () { return chunk3BHDGUNS_cjs.PayloadTooLargeError; }
|
|
399
399
|
});
|
|
400
400
|
Object.defineProperty(exports, "PlanFeatureUnavailableError", {
|
|
401
401
|
enumerable: true,
|
|
402
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunk3BHDGUNS_cjs.PlanFeatureUnavailableError; }
|
|
403
403
|
});
|
|
404
404
|
Object.defineProperty(exports, "RateLimitError", {
|
|
405
405
|
enumerable: true,
|
|
406
|
-
get: function () { return
|
|
406
|
+
get: function () { return chunk3BHDGUNS_cjs.RateLimitError; }
|
|
407
407
|
});
|
|
408
408
|
Object.defineProperty(exports, "ReadOnlyKeyError", {
|
|
409
409
|
enumerable: true,
|
|
410
|
-
get: function () { return
|
|
410
|
+
get: function () { return chunk3BHDGUNS_cjs.ReadOnlyKeyError; }
|
|
411
411
|
});
|
|
412
412
|
Object.defineProperty(exports, "ResourceConflictError", {
|
|
413
413
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunk3BHDGUNS_cjs.ResourceConflictError; }
|
|
415
415
|
});
|
|
416
416
|
Object.defineProperty(exports, "ResourceExpiredError", {
|
|
417
417
|
enumerable: true,
|
|
418
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunk3BHDGUNS_cjs.ResourceExpiredError; }
|
|
419
419
|
});
|
|
420
420
|
Object.defineProperty(exports, "ResourceNotFoundError", {
|
|
421
421
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunk3BHDGUNS_cjs.ResourceNotFoundError; }
|
|
423
423
|
});
|
|
424
424
|
Object.defineProperty(exports, "SDKError", {
|
|
425
425
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunk3BHDGUNS_cjs.SDKError; }
|
|
427
427
|
});
|
|
428
428
|
Object.defineProperty(exports, "ServerError", {
|
|
429
429
|
enumerable: true,
|
|
430
|
-
get: function () { return
|
|
430
|
+
get: function () { return chunk3BHDGUNS_cjs.ServerError; }
|
|
431
431
|
});
|
|
432
432
|
Object.defineProperty(exports, "ServiceIndeterminateError", {
|
|
433
433
|
enumerable: true,
|
|
434
|
-
get: function () { return
|
|
434
|
+
get: function () { return chunk3BHDGUNS_cjs.ServiceIndeterminateError; }
|
|
435
435
|
});
|
|
436
436
|
Object.defineProperty(exports, "SettingsClient", {
|
|
437
437
|
enumerable: true,
|
|
438
|
-
get: function () { return
|
|
438
|
+
get: function () { return chunk3BHDGUNS_cjs.SettingsClient; }
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(exports, "SingletonClient", {
|
|
441
441
|
enumerable: true,
|
|
442
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunk3BHDGUNS_cjs.SingletonClient; }
|
|
443
443
|
});
|
|
444
444
|
Object.defineProperty(exports, "TimeoutError", {
|
|
445
445
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunk3BHDGUNS_cjs.TimeoutError; }
|
|
447
447
|
});
|
|
448
448
|
Object.defineProperty(exports, "TransactionRolledBackError", {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunk3BHDGUNS_cjs.TransactionRolledBackError; }
|
|
451
451
|
});
|
|
452
452
|
Object.defineProperty(exports, "TypedRelyIOClient", {
|
|
453
453
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunk3BHDGUNS_cjs.TypedRelyIOClient; }
|
|
455
455
|
});
|
|
456
456
|
Object.defineProperty(exports, "UnknownContractError", {
|
|
457
457
|
enumerable: true,
|
|
458
|
-
get: function () { return
|
|
458
|
+
get: function () { return chunk3BHDGUNS_cjs.UnknownContractError; }
|
|
459
459
|
});
|
|
460
460
|
Object.defineProperty(exports, "UsageQuotaExceededError", {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function () { return
|
|
462
|
+
get: function () { return chunk3BHDGUNS_cjs.UsageQuotaExceededError; }
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(exports, "ValidationError", {
|
|
465
465
|
enumerable: true,
|
|
466
|
-
get: function () { return
|
|
466
|
+
get: function () { return chunk3BHDGUNS_cjs.ValidationError; }
|
|
467
467
|
});
|
|
468
468
|
Object.defineProperty(exports, "createClient", {
|
|
469
469
|
enumerable: true,
|
|
470
|
-
get: function () { return
|
|
470
|
+
get: function () { return chunk3BHDGUNS_cjs.createClient; }
|
|
471
471
|
});
|
|
472
472
|
Object.defineProperty(exports, "default", {
|
|
473
473
|
enumerable: true,
|
|
474
|
-
get: function () { return
|
|
474
|
+
get: function () { return chunk3BHDGUNS_cjs.createClient; }
|
|
475
475
|
});
|
|
476
476
|
Object.defineProperty(exports, "isAssetEntry", {
|
|
477
477
|
enumerable: true,
|
|
478
|
-
get: function () { return
|
|
478
|
+
get: function () { return chunk3BHDGUNS_cjs.isAssetEntry; }
|
|
479
479
|
});
|
|
480
480
|
Object.defineProperty(exports, "isMissingEntry", {
|
|
481
481
|
enumerable: true,
|
|
482
|
-
get: function () { return
|
|
482
|
+
get: function () { return chunk3BHDGUNS_cjs.isMissingEntry; }
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(exports, "isPublishableKey", {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function () { return
|
|
486
|
+
get: function () { return chunk3BHDGUNS_cjs.isPublishableKey; }
|
|
487
487
|
});
|
|
488
488
|
Object.defineProperty(exports, "isResourceNotFound", {
|
|
489
489
|
enumerable: true,
|
|
490
|
-
get: function () { return
|
|
490
|
+
get: function () { return chunk3BHDGUNS_cjs.isResourceNotFound; }
|
|
491
491
|
});
|
|
492
492
|
Object.defineProperty(exports, "matchRoute", {
|
|
493
493
|
enumerable: true,
|
|
494
|
-
get: function () { return
|
|
494
|
+
get: function () { return chunk3BHDGUNS_cjs.matchRoute; }
|
|
495
495
|
});
|
|
496
496
|
Object.defineProperty(exports, "validateFile", {
|
|
497
497
|
enumerable: true,
|
|
498
|
-
get: function () { return
|
|
498
|
+
get: function () { return chunk3BHDGUNS_cjs.validateFile; }
|
|
499
499
|
});
|
|
500
500
|
Object.defineProperty(exports, "versionCheckOf", {
|
|
501
501
|
enumerable: true,
|
|
502
|
-
get: function () { return
|
|
502
|
+
get: function () { return chunk3BHDGUNS_cjs.versionCheckOf; }
|
|
503
503
|
});
|
|
504
504
|
Object.defineProperty(exports, "camelToSnake", {
|
|
505
505
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { i as ActiveSandbox,
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-F0UuHpRj.cjs';
|
|
2
|
+
export { i as ActiveSandbox, aI as AdhocQuery, aJ as AdhocRecord, aG as AggregateMetric, A as AnySchemaDefinition, m as ApiMethod, l as ApiPath, n as ApiSuccessBody, aR as AssetClient, a_ as AssetEntryResponse, aS as AssetFileBuilder, aY as AssetFileExtracted, b7 as AssetPlacement, aT as AssetUploadBuilder, aV as AssetVisibility, ai as AutocompleteOptions, ad as AutocompleteResponse, ac as AutocompleteSuggestion, ay as BatchBody, az as BatchCreate, aC as BatchDelete, aF as BatchDeleteTarget, at as BatchOperationResult, aB as BatchReplace, av as BatchResponse, aD as BatchSingletonWrite, au as BatchSummary, aE as BatchTarget, aA as BatchUpdate, aw as BatchWrite, ax as BatchWriteOptions, s as ChangesHeadOptions, t as ChangesOptions, U as ChildrenListOptions, Q as ChildrenOptions, e as ClientDefaults, f as ClientSchema, b2 as ConfirmInput, b3 as ConfirmResult, y as ContentClient, b6 as CreateAssetOptions, z as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, J as DocumentFields, V as DocumentReadOptions, K as DocumentVersion, N as DocumentVersionsOptions, O as DocumentWriteOptions, X as EntryList, E as EntryPlacement, B as EntryWriteOptions, F as FeedChange, Y as FieldKey, aX as FileBackend, bj as FileErrorCode, aW as FileStatus, aZ as FileStatusResult, bl as FileUploadError, bk as FileUploadErrorCode, bn as FileValidationConstraints, bm as FileValidationError, Z as FreshOption, _ as GetOptions, H as Health, j as HttpClient, u as LIVE_KEEPALIVE_INTERVAL_MS, w as LIVE_SOCKET_OPEN_TIMEOUT_MS, $ as ListAllOptions, a0 as ListOptions, x as LiveChangesOptions, L as LocaleCodeOf, a1 as LocaleOption, M as MatchRouteOptions, ba as MultipartCreateResult, bb as MultipartPart, bc as MultipartTarget, aK as NamedQueryOptions, aL as NamedQueryParams, a2 as Paging, a$ as PopulatedAssetReference, b0 as PresignInput, b1 as PresignResult, P as Project, aM as QueryAggregate, aN as QueryAnswer, aO as QueryCall, aH as QueryMetadata, aP as QueryName, aQ as QueryTypeName, a3 as ReadAs, q as ReadEntry, a4 as ReadLocale, R as Register, h as RegisteredSchema, b4 as ResolveUrlInput, b5 as ResolveUrlResult, bf as ResourceConflictError, bg as ResourceExpiredError, be as ResourceNotFoundError, r as RetryableWriteOptions, p as RouteMatch, S as SandboxState, ah as SearchEntry, aj as SearchFacet, ak as SearchFieldKey, al as SearchHighlight, aa as SearchHitMetadata, am as SearchOptions, an as SearchPage, ab as SearchResponse, a9 as SearchResultItem, ao as SearchScope, ap as SearchSelected, aq as SearchSortOption, ag as SearchTypeName, ar as SearchWhere, k as SendOptions, I as SettingsClient, as as SimilarOptions, af as SimilarResponse, ae as SimilarResult, G as SingletonClient, a5 as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b8 as UpdateAssetOptions, bd as UploadProgress, a6 as VersionOptions, b9 as WaitUntilReadyOptions, W as Wire, a7 as WrittenReadScope, a8 as WrittenSort, c as createClient, c as default, aU as isAssetEntry, bi as isMissingEntry, bh as isResourceNotFound, o as matchRoute, bo as validateFile, v as versionCheckOf } from './index-F0UuHpRj.cjs';
|
|
3
3
|
export { fields } from './schema/index.cjs';
|
|
4
|
-
import { cl as SDKError, aM as EntryMetadata } from './define-content-type-
|
|
5
|
-
export { aH as AnyDeclaredFieldset, cS as ApiResponse, cq as AssetFileBlock, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, cr as AssetUrls, cs as BaseContent, B as BaseFieldConfig, cu as BaseSettingsGroup, ct as BaseSingleton, cY as BaseValidationError, ai as BlockOf, cO as CacheConfig, cU as CacheStrategy, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, aG as DeclaredFieldset, cW as Environment, h as FieldDefinition, aJ as FieldMember, cJ as FieldOptions, i as FieldRule, ac as FieldSchemaContext, j as FieldType, cH as FieldTypeName, k as FieldUIConfig, ad as FieldValue, ae as FieldValues, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b3 as ImageKindConfig, ba as ImageSourceConfig, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aT as InferSingleton, c_ as InvalidPayloadError, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, aI as KeyedFieldsetConfig, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, co as LiveWebSocket, cp as LiveWebSocketConstructor, aO as LocalePublicationFields, r as LocalizationConfig, s as Localized, t as LocalizedDetails, cV as LogLevel, cN as PerformanceMetrics, aq as ReadWith, ap as Reading, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cn as RelyIOConfigUpdate, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, aW as SettingsGroupDefinition, ar as SettingsReading, aj as ShapeValue, cE as SingletonContent, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, cM as SubscriptionOptions, ag as UnresolvedEntry, at as UntypedReading, cD as UpdateInput, cZ as ValidationError, cI as ValidationRule, cX as ValidationViolation, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar, W as WidgetOptions, aZ as defineAssetType, aD as defineContentType, aU as defineSettingsGroup, aP as defineSingleton, aE as fieldset } from './define-content-type-
|
|
4
|
+
import { cl as SDKError, aM as EntryMetadata } from './define-content-type-B2gQZkTy.cjs';
|
|
5
|
+
export { aH as AnyDeclaredFieldset, cS as ApiResponse, cq as AssetFileBlock, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, cr as AssetUrls, cs as BaseContent, B as BaseFieldConfig, cu as BaseSettingsGroup, ct as BaseSingleton, cY as BaseValidationError, ai as BlockOf, cO as CacheConfig, cU as CacheStrategy, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, aG as DeclaredFieldset, cW as Environment, h as FieldDefinition, aJ as FieldMember, cJ as FieldOptions, i as FieldRule, ac as FieldSchemaContext, j as FieldType, cH as FieldTypeName, k as FieldUIConfig, ad as FieldValue, ae as FieldValues, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b3 as ImageKindConfig, ba as ImageSourceConfig, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aT as InferSingleton, c_ as InvalidPayloadError, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, aI as KeyedFieldsetConfig, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, co as LiveWebSocket, cp as LiveWebSocketConstructor, aO as LocalePublicationFields, r as LocalizationConfig, s as Localized, t as LocalizedDetails, cV as LogLevel, cN as PerformanceMetrics, aq as ReadWith, ap as Reading, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cn as RelyIOConfigUpdate, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, aW as SettingsGroupDefinition, ar as SettingsReading, aj as ShapeValue, cE as SingletonContent, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, cM as SubscriptionOptions, ag as UnresolvedEntry, at as UntypedReading, cD as UpdateInput, cZ as ValidationError, cI as ValidationRule, cX as ValidationViolation, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar, W as WidgetOptions, aZ as defineAssetType, aD as defineContentType, aU as defineSettingsGroup, aP as defineSingleton, aE as fieldset } from './define-content-type-B2gQZkTy.cjs';
|
|
6
6
|
import { VisitorRetry } from './live-visitor.js';
|
|
7
7
|
export { camelToSnake, createDeferred, debounce, deepClone, generateId, isBrowser, isNode, isPlainObject, isValidEmail, isValidUrl, mergeDeep, omit, pick, retry, sleep, snakeToCamel, throttle, toSafeString } from './utils/index.cjs';
|
|
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-
|
|
9
|
-
export { A as AggregateBlock, L as AnyQueryParameters, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, I as IncludeDefinition, J as InferQueryParams, G as InferQueryResponse, Q as QueryConfig, l as QueryDefinition, K as QueryParameterValue, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, W as WhereCondition, k as defineQuery, d as defineSchema } from './define-schema-
|
|
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-DY64WjZM.cjs';
|
|
9
|
+
export { A as AggregateBlock, L as AnyQueryParameters, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, I as IncludeDefinition, J as InferQueryParams, G as InferQueryResponse, Q as QueryConfig, l as QueryDefinition, K as QueryParameterValue, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, W as WhereCondition, k as defineQuery, d as defineSchema } from './define-schema-Cm_5y3ei.cjs';
|
|
10
10
|
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
11
|
import './dev-handshake/index.cjs';
|
|
12
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { i as ActiveSandbox,
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-DQ7eTUPQ.js';
|
|
2
|
+
export { i as ActiveSandbox, aI as AdhocQuery, aJ as AdhocRecord, aG as AggregateMetric, A as AnySchemaDefinition, m as ApiMethod, l as ApiPath, n as ApiSuccessBody, aR as AssetClient, a_ as AssetEntryResponse, aS as AssetFileBuilder, aY as AssetFileExtracted, b7 as AssetPlacement, aT as AssetUploadBuilder, aV as AssetVisibility, ai as AutocompleteOptions, ad as AutocompleteResponse, ac as AutocompleteSuggestion, ay as BatchBody, az as BatchCreate, aC as BatchDelete, aF as BatchDeleteTarget, at as BatchOperationResult, aB as BatchReplace, av as BatchResponse, aD as BatchSingletonWrite, au as BatchSummary, aE as BatchTarget, aA as BatchUpdate, aw as BatchWrite, ax as BatchWriteOptions, s as ChangesHeadOptions, t as ChangesOptions, U as ChildrenListOptions, Q as ChildrenOptions, e as ClientDefaults, f as ClientSchema, b2 as ConfirmInput, b3 as ConfirmResult, y as ContentClient, b6 as CreateAssetOptions, z as CreateEntryOptions, g as DeployedContentType, D as DeployedLocale, J as DocumentFields, V as DocumentReadOptions, K as DocumentVersion, N as DocumentVersionsOptions, O as DocumentWriteOptions, X as EntryList, E as EntryPlacement, B as EntryWriteOptions, F as FeedChange, Y as FieldKey, aX as FileBackend, bj as FileErrorCode, aW as FileStatus, aZ as FileStatusResult, bl as FileUploadError, bk as FileUploadErrorCode, bn as FileValidationConstraints, bm as FileValidationError, Z as FreshOption, _ as GetOptions, H as Health, j as HttpClient, u as LIVE_KEEPALIVE_INTERVAL_MS, w as LIVE_SOCKET_OPEN_TIMEOUT_MS, $ as ListAllOptions, a0 as ListOptions, x as LiveChangesOptions, L as LocaleCodeOf, a1 as LocaleOption, M as MatchRouteOptions, ba as MultipartCreateResult, bb as MultipartPart, bc as MultipartTarget, aK as NamedQueryOptions, aL as NamedQueryParams, a2 as Paging, a$ as PopulatedAssetReference, b0 as PresignInput, b1 as PresignResult, P as Project, aM as QueryAggregate, aN as QueryAnswer, aO as QueryCall, aH as QueryMetadata, aP as QueryName, aQ as QueryTypeName, a3 as ReadAs, q as ReadEntry, a4 as ReadLocale, R as Register, h as RegisteredSchema, b4 as ResolveUrlInput, b5 as ResolveUrlResult, bf as ResourceConflictError, bg as ResourceExpiredError, be as ResourceNotFoundError, r as RetryableWriteOptions, p as RouteMatch, S as SandboxState, ah as SearchEntry, aj as SearchFacet, ak as SearchFieldKey, al as SearchHighlight, aa as SearchHitMetadata, am as SearchOptions, an as SearchPage, ab as SearchResponse, a9 as SearchResultItem, ao as SearchScope, ap as SearchSelected, aq as SearchSortOption, ag as SearchTypeName, ar as SearchWhere, k as SendOptions, I as SettingsClient, as as SimilarOptions, af as SimilarResponse, ae as SimilarResult, G as SingletonClient, a5 as SortOption, d as TypedClientConfig, T as TypedRelyIOClient, b8 as UpdateAssetOptions, bd as UploadProgress, a6 as VersionOptions, b9 as WaitUntilReadyOptions, W as Wire, a7 as WrittenReadScope, a8 as WrittenSort, c as createClient, c as default, aU as isAssetEntry, bi as isMissingEntry, bh as isResourceNotFound, o as matchRoute, bo as validateFile, v as versionCheckOf } from './index-DQ7eTUPQ.js';
|
|
3
3
|
export { fields } from './schema/index.js';
|
|
4
|
-
import { cl as SDKError, aM as EntryMetadata } from './define-content-type-
|
|
5
|
-
export { aH as AnyDeclaredFieldset, cS as ApiResponse, cq as AssetFileBlock, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, cr as AssetUrls, cs as BaseContent, B as BaseFieldConfig, cu as BaseSettingsGroup, ct as BaseSingleton, cY as BaseValidationError, ai as BlockOf, cO as CacheConfig, cU as CacheStrategy, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, aG as DeclaredFieldset, cW as Environment, h as FieldDefinition, aJ as FieldMember, cJ as FieldOptions, i as FieldRule, ac as FieldSchemaContext, j as FieldType, cH as FieldTypeName, k as FieldUIConfig, ad as FieldValue, ae as FieldValues, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b3 as ImageKindConfig, ba as ImageSourceConfig, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aT as InferSingleton, c_ as InvalidPayloadError, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, aI as KeyedFieldsetConfig, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, co as LiveWebSocket, cp as LiveWebSocketConstructor, aO as LocalePublicationFields, r as LocalizationConfig, s as Localized, t as LocalizedDetails, cV as LogLevel, cN as PerformanceMetrics, aq as ReadWith, ap as Reading, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cn as RelyIOConfigUpdate, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, aW as SettingsGroupDefinition, ar as SettingsReading, aj as ShapeValue, cE as SingletonContent, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, cM as SubscriptionOptions, ag as UnresolvedEntry, at as UntypedReading, cD as UpdateInput, cZ as ValidationError, cI as ValidationRule, cX as ValidationViolation, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar, W as WidgetOptions, aZ as defineAssetType, aD as defineContentType, aU as defineSettingsGroup, aP as defineSingleton, aE as fieldset } from './define-content-type-
|
|
4
|
+
import { cl as SDKError, aM as EntryMetadata } from './define-content-type-Ds5rCAYl.js';
|
|
5
|
+
export { aH as AnyDeclaredFieldset, cS as ApiResponse, cq as AssetFileBlock, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, cr as AssetUrls, cs as BaseContent, B as BaseFieldConfig, cu as BaseSettingsGroup, ct as BaseSingleton, cY as BaseValidationError, ai as BlockOf, cO as CacheConfig, cU as CacheStrategy, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, aG as DeclaredFieldset, cW as Environment, h as FieldDefinition, aJ as FieldMember, cJ as FieldOptions, i as FieldRule, ac as FieldSchemaContext, j as FieldType, cH as FieldTypeName, k as FieldUIConfig, ad as FieldValue, ae as FieldValues, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b3 as ImageKindConfig, ba as ImageSourceConfig, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aT as InferSingleton, c_ as InvalidPayloadError, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, aI as KeyedFieldsetConfig, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, co as LiveWebSocket, cp as LiveWebSocketConstructor, aO as LocalePublicationFields, r as LocalizationConfig, s as Localized, t as LocalizedDetails, cV as LogLevel, cN as PerformanceMetrics, aq as ReadWith, ap as Reading, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cn as RelyIOConfigUpdate, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, aW as SettingsGroupDefinition, ar as SettingsReading, aj as ShapeValue, cE as SingletonContent, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, cM as SubscriptionOptions, ag as UnresolvedEntry, at as UntypedReading, cD as UpdateInput, cZ as ValidationError, cI as ValidationRule, cX as ValidationViolation, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar, W as WidgetOptions, aZ as defineAssetType, aD as defineContentType, aU as defineSettingsGroup, aP as defineSingleton, aE as fieldset } from './define-content-type-Ds5rCAYl.js';
|
|
6
6
|
import { VisitorRetry } from './live-visitor.js';
|
|
7
7
|
export { camelToSnake, createDeferred, debounce, deepClone, generateId, isBrowser, isNode, isPlainObject, isValidEmail, isValidUrl, mergeDeep, omit, pick, retry, sleep, snakeToCamel, throttle, toSafeString } from './utils/index.js';
|
|
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-
|
|
9
|
-
export { A as AggregateBlock, L as AnyQueryParameters, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, I as IncludeDefinition, J as InferQueryParams, G as InferQueryResponse, Q as QueryConfig, l as QueryDefinition, K as QueryParameterValue, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, W as WhereCondition, k as defineQuery, d as defineSchema } from './define-schema-
|
|
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-Db3_tmYf.js';
|
|
9
|
+
export { A as AggregateBlock, L as AnyQueryParameters, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, I as IncludeDefinition, J as InferQueryParams, G as InferQueryResponse, Q as QueryConfig, l as QueryDefinition, K as QueryParameterValue, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, W as WhereCondition, k as defineQuery, d as defineSchema } from './define-schema-CxpIYFFR.js';
|
|
10
10
|
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
11
|
import './dev-handshake/index.js';
|
|
12
12
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { defineAssetType, defineContentType, defineQuery, defineSchema, defineSettingsGroup, defineSingleton, fields, fieldset } from './chunk-PCFTJLEP.js';
|
|
2
|
-
import { LiveEdgeError, SDKError, serviceInstructedDelayMs, VISITOR_ADMISSION_RETRY_AFTER_SECONDS, isAborted, sleep } from './chunk-
|
|
3
|
-
export { AssetClient, AssetFileBuilder, AssetUploadBuilder, AuthorizationError, BaseValidationError, ChangesExpiredError, ConnectionError, ContentClient, ErrorMapper, FileUploadError, FileValidationError, HttpClient, InvalidApiKeyError, InvalidPayloadError, LIVE_KEEPALIVE_INTERVAL_MS, LIVE_SOCKET_OPEN_TIMEOUT_MS, LiveEdgeError, MethodNotAllowedError, MissingApiKeyError, NetworkError, PUBLISHABLE_KEY_PREFIX, PayloadTooLargeError, PlanFeatureUnavailableError, RateLimitError, ReadOnlyKeyError, ResourceConflictError, ResourceExpiredError, ResourceNotFoundError, SDKError, ServerError, ServiceIndeterminateError, SettingsClient, SingletonClient, TimeoutError, TransactionRolledBackError, TypedRelyIOClient, UnknownContractError, UsageQuotaExceededError, ValidationError, createClient, createClient as default, isAssetEntry, isMissingEntry, isPublishableKey, isResourceNotFound, matchRoute, validateFile, versionCheckOf } from './chunk-
|
|
2
|
+
import { LiveEdgeError, SDKError, serviceInstructedDelayMs, VISITOR_ADMISSION_RETRY_AFTER_SECONDS, isAborted, sleep } from './chunk-PXA5ONIU.js';
|
|
3
|
+
export { AssetClient, AssetFileBuilder, AssetUploadBuilder, AuthorizationError, BaseValidationError, ChangesExpiredError, ConnectionError, ContentClient, ErrorMapper, FileUploadError, FileValidationError, HttpClient, InvalidApiKeyError, InvalidPayloadError, LIVE_KEEPALIVE_INTERVAL_MS, LIVE_SOCKET_OPEN_TIMEOUT_MS, LiveEdgeError, MethodNotAllowedError, MissingApiKeyError, NetworkError, PUBLISHABLE_KEY_PREFIX, PayloadTooLargeError, PlanFeatureUnavailableError, RateLimitError, ReadOnlyKeyError, ResourceConflictError, ResourceExpiredError, ResourceNotFoundError, SDKError, ServerError, ServiceIndeterminateError, SettingsClient, SingletonClient, TimeoutError, TransactionRolledBackError, TypedRelyIOClient, UnknownContractError, UsageQuotaExceededError, ValidationError, createClient, createClient as default, isAssetEntry, isMissingEntry, isPublishableKey, isResourceNotFound, matchRoute, validateFile, versionCheckOf } from './chunk-PXA5ONIU.js';
|
|
4
4
|
import './chunk-BBUB7C2Z.js';
|
|
5
5
|
import './chunk-IY5LSKXU.js';
|
|
6
6
|
export { camelToSnake, createDeferred, debounce, deepClone, generateId, isBrowser, isNode, isPlainObject, isValidEmail, isValidUrl, mergeDeep, omit, pick, retry, sleep, snakeToCamel, throttle, toSafeString } from './chunk-H6IBQSMM.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { n as RICH_TEXT_VOID_TAGS, 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, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from '../index-
|
|
1
|
+
export { n as RICH_TEXT_VOID_TAGS, 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, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from '../index-DY64WjZM.cjs';
|
|
2
2
|
import '../rich-text.d-BWc-5gX1.cjs';
|
|
3
|
-
import '../define-content-type-
|
|
3
|
+
import '../define-content-type-B2gQZkTy.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { n as RICH_TEXT_VOID_TAGS, 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, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from '../index-
|
|
1
|
+
export { n as RICH_TEXT_VOID_TAGS, 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, p as renderRichText, d as richTextHeadingAnchors, f as richTextHeadingSlug, h as richTextToHtml, i as richTextToMarkdown, s as safeRichTextHref } from '../index-Db3_tmYf.js';
|
|
2
2
|
import '../rich-text.d-BWc-5gX1.js';
|
|
3
|
-
import '../define-content-type-
|
|
3
|
+
import '../define-content-type-Ds5rCAYl.js';
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-
|
|
2
|
-
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-
|
|
3
|
-
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-
|
|
1
|
+
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-Cm_5y3ei.cjs';
|
|
2
|
+
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-B2gQZkTy.cjs';
|
|
3
|
+
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-B2gQZkTy.cjs';
|
|
4
4
|
import '../rich-text.d-BWc-5gX1.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-
|
|
2
|
-
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-
|
|
3
|
-
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-
|
|
1
|
+
export { A as AggregateBlock, L as AnyQueryParameters, C as CachePolicy, x as CachePolicyObject, M as DeclaredParameters, n as FetchBlock, w as FilterDefinition, F as FullTextSearch, H as HavingOperator, I as IncludeDefinition, u as IncludeRelationship, z as IncludeSubQueries, y as IncludeSubQuery, J as InferQueryParams, G as InferQueryResponse, P as Parameterizable, E as QueryCardinality, Q as QueryConfig, l as QueryDefinition, B as QueryParameter, D as QueryParameterType, K as QueryParameterValue, r as QueryScalar, m as QueryType, R as RolesAsList, h as SchemaAssetTypeNames, S as SchemaConfig, b as SchemaContentTypeNames, a as SchemaDefinition, i as SchemaEntry, j as SchemaEntryOf, f as SchemaLocaleCodes, e as SchemaQueryNames, g as SchemaSettingsGroupNames, c as SchemaSingletonNames, o as SearchBlock, v as SelectMapping, s as SortCondition, t as SortDirection, V as ViewsAsList, W as WhereCondition, q as WhereOperator, p as WhereValue, k as defineQuery, d as defineSchema } from '../define-schema-CxpIYFFR.js';
|
|
2
|
+
import { A as AIConfig, a as AnyFieldDefinition, b as AnyKeyedField, c as AssetAIConfig, B as BaseFieldConfig, d as BooleanConfig, C as CodeConfig, D as DateConfig, e as DateTimeConfig, f as DecimalConfig, E as EmailConfig, g as EnumConfig, F as FieldAIConfig, h as FieldDefinition, i as FieldRule, j as FieldType, k as FieldUIConfig, I as IntegerConfig, J as JsonConfig, K as KeyedEnumConfig, l as KeyedField, m as KeyedFieldOptions, n as KeyedFields, o as KeyedFieldsOf, p as KeyedMembers, q as KeyedMembersOf, L as ListConfig, r as LocalizationConfig, s as Localized, t as LocalizedDetails, u as LongTextConfig, O as ObjectConfig, R as ReadOnlyRule, v as ReferenceConfig, w as RequirementRule, x as RichTextConfig, y as RichTextLinks, z as RuleCondition, G as RuleConditions, S as ShortTextConfig, H as SlugConfig, T as TableConfig, M as TagsConfig, U as UrlConfig, V as ValidationRule, N as VisibilityRule, W as WidgetOptions, P as boolean, Q as code, X as date, Y as dateTime, Z as decimal, _ as email, $ as enumField, a0 as integer, a1 as json, a2 as list, a3 as longText, a4 as object, a5 as reference, a6 as richText, a7 as shortText, a8 as slug, a9 as table, aa as tags, ab as url } from '../define-content-type-Ds5rCAYl.js';
|
|
3
|
+
export { b_ as AllScopeConfig, aH as AnyDeclaredFieldset, ak as AssetReading, b2 as AssetServedBlocks, a$ as AssetTypeDefinition, bo as BUILT_IN_ROLES, bq as BUILT_IN_ROLE_ACTIONS, ai as BlockOf, br as BuiltInRole, am as CheckInclude, al as CheckedIncludes, an as ContentReading, aL as ContentTypeDefinition, bX as ContentTypeScopeConfig, bQ as ContentTypeWorkflowConfig, bY as ContentTypesScopeConfig, af as DeclaredFields, aG as DeclaredFieldset, aM as EntryMetadata, bZ as EntryTypeScopeConfig, aJ as FieldMember, ac as FieldSchemaContext, ad as FieldValue, ae as FieldValues, bu as FieldVisibility, aF as Fieldset, b5 as FileKindConfig, bj as FileScanConfig, bi as FileUploadConfig, bb as ImageExifConfig, b7 as ImageFitMode, b3 as ImageKindConfig, b8 as ImageOutputFormat, ba as ImageSourceConfig, b6 as ImageTransform, b9 as ImageUploadConfig, ao as IncludablePaths, b1 as InferAssetEntry, b0 as InferAssetType, aN as InferContentType, ca as InferJsonSchema, aY as InferSettingsGroup, aT as InferSingleton, cb as JsonFieldValue, cc as JsonSchema, cd as JsonValue, ah as Keyed, a_ as KeyedAssetTypeConfig, aK as KeyedContentTypeConfig, aI as KeyedFieldsetConfig, bx as KeyedRoleConfig, by as KeyedRoleDefinition, bz as KeyedRoles, bA as KeyedRolesAsList, aV as KeyedSettingsGroupConfig, aQ as KeyedSingletonConfig, c6 as KeyedViewConfig, c7 as KeyedViewDefinition, c8 as KeyedViews, c9 as KeyedViewsAsList, bR as KeyedWorkflowConfig, bS as KeyedWorkflowStageConfig, bT as KeyedWorkflowStageDefinition, bU as KeyedWorkflowStages, aC as LocaleDefinition, aB as LocaleOptions, aO as LocalePublicationFields, bp as ROLE_ACTIONS, aq as ReadWith, ap as Reading, bt as ResourcePermission, bs as RoleAction, bv as RoleConfig, bw as RoleDefinition, aW as SettingsGroupDefinition, aX as SettingsGroupMetadata, ar as SettingsReading, aj as ShapeValue, aR as SingletonContentTypeDefinition, aS as SingletonMetadata, as as SingletonReading, aA as TextDirection, ag as UnresolvedEntry, at as UntypedReading, bc as VariantDefinition, bf as VideoCaptionsConfig, bg as VideoDownloadConfig, b4 as VideoKindConfig, be as VideoPosterConfig, bd as VideoUploadConfig, bh as VideoWatermarkConfig, c4 as ViewConfig, c5 as ViewDefinition, c3 as ViewFilter, c2 as ViewFilterCondition, b$ as ViewFilterOperator, c1 as ViewFilterRelativeDate, c0 as ViewFilterValue, bW as ViewScopeConfig, bM as WorkflowAutoAssign, bP as WorkflowDefinition, bL as WorkflowEscalation, bN as WorkflowStageConfig, bO as WorkflowStageDefinition, az as buildFallbackChain, aZ as defineAssetType, aD as defineContentType, bD as defineContentTypeWorkflow, au as defineLocale, bk as defineRole, aU as defineSettingsGroup, aP as defineSingleton, bV as defineView, bB as defineWorkflow, bC as defineWorkflowStage, aE as fieldset, ax as findDefaultLocale, bH as findWorkflowStage, ay as getActiveLocales, bn as getBuiltInRoleActions, bJ as getFirstWorkflowStage, aw as getLocaleCodes, bI as getNextWorkflowStage, bG as getWorkflowStageIds, bm as isBuiltInRole, bK as isFinalWorkflowStage, av as isLocaleDefinition, bl as isRoleDefinition, bE as isWorkflowDefinition, bF as isWorkflowStageDefinition } from '../define-content-type-Ds5rCAYl.js';
|
|
4
4
|
import '../rich-text.d-BWc-5gX1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cO as CacheConfig, cU as CacheStrategy, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cJ as FieldOptions, cH as FieldTypeName, cV as LogLevel, cN as PerformanceMetrics, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cE as SingletonContent, cM as SubscriptionOptions, cD as UpdateInput, cI as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-
|
|
1
|
+
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cO as CacheConfig, cU as CacheStrategy, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cJ as FieldOptions, cH as FieldTypeName, cV as LogLevel, cN as PerformanceMetrics, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cE as SingletonContent, cM as SubscriptionOptions, cD as UpdateInput, cI as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-B2gQZkTy.cjs';
|
|
2
2
|
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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cO as CacheConfig, cU as CacheStrategy, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cJ as FieldOptions, cH as FieldTypeName, cV as LogLevel, cN as PerformanceMetrics, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cE as SingletonContent, cM as SubscriptionOptions, cD as UpdateInput, cI as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-
|
|
1
|
+
export { cS as ApiResponse, cs as BaseContent, cu as BaseSettingsGroup, ct as BaseSingleton, cO as CacheConfig, cU as CacheStrategy, cG as ContentTypeSchema, cA as CreateInput, cF as CustomQuery, cz as DateOnlyOperator, cQ as DebugConfig, cW as Environment, d4 as FieldDefinition, cJ as FieldOptions, cH as FieldTypeName, cV as LogLevel, cN as PerformanceMetrics, cP as RealtimeConfig, cL as RealtimeEvent, cK as RealtimeEventType, cm as RelyIOConfig, cR as RequestConfig, cC as RestoredContent, cT as RetryConfig, cB as RevisedContent, cE as SingletonContent, cM as SubscriptionOptions, cD as UpdateInput, cI as ValidationRule, cX as ValidationViolation, cx as WhereClause, cw as WhereFieldCondition, cy as WhereOperator, cv as WhereScalar } from '../define-content-type-Ds5rCAYl.js';
|
|
2
2
|
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';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relyio/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "RelyIO is coming soon — this package is not ready for general use yet.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"relyio"
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"typedoc": "^0.28.20",
|
|
96
96
|
"typescript": "npm:@typescript/typescript6@6.0.2",
|
|
97
97
|
"vitest": "4.1.11",
|
|
98
|
+
"@relyio/api-contract": "0.1.0",
|
|
98
99
|
"@relyio/eslint-config": "0.0.0",
|
|
99
100
|
"@relyio/schema": "0.0.1",
|
|
100
|
-
"@relyio/api-contract": "0.1.0",
|
|
101
101
|
"@relyio/rich-text-markdown": "0.0.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|