@relyio/sdk 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -0
- package/dist/{chunk-3DRDHXLY.js → chunk-3NPPMGB6.js} +435 -23
- package/dist/{chunk-FRJEUAAF.js → chunk-6NGJXLOR.js} +22 -11
- package/dist/{chunk-DXCVO6M5.cjs → chunk-DEDIJKHY.cjs} +22 -11
- package/dist/{chunk-POEEDYFM.js → chunk-EW23SZPX.js} +7 -2
- package/dist/{chunk-3MSFWXQL.cjs → chunk-FOSM4LMM.cjs} +7 -2
- package/dist/{chunk-FI5VIF4M.cjs → chunk-Z6GLWSSD.cjs} +442 -22
- package/dist/client/index.cjs +3 -3
- package/dist/client/index.d.cts +4 -5
- package/dist/client/index.d.ts +4 -5
- package/dist/client/index.js +1 -1
- package/dist/{define-schema-mrEZbY1h.d.ts → define-schema-UHViXKiv.d.ts} +2 -219
- package/dist/{define-schema-DgctHlI2.d.cts → define-schema-sWJ8Zn7C.d.cts} +2 -219
- package/dist/{include-paths-CL4gHv6I.d.cts → include-paths-Bs5FhNw2.d.cts} +2191 -108
- package/dist/{include-paths-CrJNTsMl.d.ts → include-paths-Cb7iPCW2.d.ts} +2191 -108
- package/dist/index--_u1nPHv.d.cts +507 -0
- package/dist/index-8DozAWsA.d.ts +507 -0
- package/dist/{index-BrvEg6-A.d.cts → index-BT0L8xJj.d.cts} +41 -53
- package/dist/{index-Pw0onkJe.d.ts → index-CPjJ25R4.d.ts} +41 -53
- package/dist/index.cjs +119 -112
- package/dist/index.d.cts +39 -70
- package/dist/index.d.ts +39 -70
- package/dist/index.js +5 -29
- package/dist/markdown/index.cjs +13750 -0
- package/dist/markdown/index.d.cts +111 -0
- package/dist/markdown/index.d.ts +111 -0
- package/dist/markdown/index.js +13742 -0
- package/dist/rich-text/index.cjs +26 -6
- package/dist/rich-text/index.d.cts +3 -148
- package/dist/rich-text/index.d.ts +3 -148
- package/dist/rich-text/index.js +1 -1
- package/dist/rich-text.d-BWc-5gX1.d.cts +326 -0
- package/dist/rich-text.d-BWc-5gX1.d.ts +326 -0
- package/dist/schema/index.cjs +34 -34
- package/dist/schema/index.d.cts +9 -178
- package/dist/schema/index.d.ts +9 -178
- package/dist/schema/index.js +1 -1
- package/dist/types/index.d.cts +2 -3
- package/dist/types/index.d.ts +2 -3
- package/package.json +14 -3
- package/dist/index-B9RfZVF1.d.ts +0 -861
- package/dist/index-b-AkfTUv.d.cts +0 -861
- package/dist/rich-text.d-rKmpgdGd.d.cts +0 -200
- package/dist/rich-text.d-rKmpgdGd.d.ts +0 -200
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { A as ActiveSandbox, a6 as AdhocAggregateBlock, a5 as AdhocFetchBlock, a4 as AdhocQueryBuilder, a3 as AdhocQueryClient, ab as AdhocQueryDefinition, ac as AdhocQueryOptions, ae as AdhocQueryResult, a8 as AdhocSearchBlock, a7 as AggregateMetric, af as AssetClient,
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-BT0L8xJj.cjs';
|
|
2
|
+
export { A as ActiveSandbox, a6 as AdhocAggregateBlock, a5 as AdhocFetchBlock, a4 as AdhocQueryBuilder, a3 as AdhocQueryClient, ab as AdhocQueryDefinition, ac as AdhocQueryOptions, ae as AdhocQueryResult, a8 as AdhocSearchBlock, a7 as AggregateMetric, af as AssetClient, ao as AssetEntryResponse, ag as AssetFileBuilder, am as AssetFileExtracted, ah as AssetUploadBuilder, aj as AssetVisibility, y as AutocompleteBuilder, K as AutocompleteResponse, J as AutocompleteSuggestion, Y as BatchBuilder, X as BatchClient, Z as BatchMethod, _ as BatchOperation, a0 as BatchOperationResult, $ as BatchOptions, a2 as BatchResponse, a1 as BatchSummary, k as ChangesHeadOptions, l as ChangesOptions, t as ChildrenOptions, e as ClientSchema, i as ConditionalWriteOptions, as as ConfirmInput, at as ConfirmResult, s as ContentByIdBuilder, o as ContentClient, r as ContentQueryBuilder, aw as CreateAssetOptions, E as ExtendedQueryResult, F as FeedChange, al as FileBackend, aG as FileErrorCode, ak as FileStatus, an as FileStatusResult, aI as FileUploadError, aH as FileUploadErrorCode, aK as FileValidationConstraints, aJ as FileValidationError, a9 as FilterValue, aa as FullTextConfig, H as HttpClient, L as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, n as LiveChangesOptions, ay as MultipartCreateResult, az as MultipartPart, aA as MultipartTarget, ap as PopulatedAssetReference, aq as PresignInput, ar as PresignResult, P as Project, ad as QueryMetadata, R as Register, f as RegisteredSchema, au as ResolveUrlInput, av as ResolveUrlResult, aD as ResourceConflictError, aE as ResourceExpiredError, aC as ResourceNotFoundError, j as RetryableWriteOptions, S as SandboxState, x as SearchBuilder, w as SearchClient, W as SearchEntry, Q as SearchFields, O as SearchFilter, G as SearchHitMetadata, B as SearchMode, I as SearchResponse, D as SearchResultItem, U as SearchSort, V as SearchTypeName, g as SendOptions, q as SettingsClient, v as SettingsFetchOptions, z as SimilarBuilder, N as SimilarResponse, M as SimilarResult, p as SingletonClient, u as SingletonFetchOptions, d as TypedClientConfig, T as TypedRelyIOClient, aB as UploadProgress, ax as WaitUntilReadyOptions, c as createClient, c as default, h as entityTagOf, ai as isAssetEntry, aF as isResourceNotFound, aL as validateFile } from './index-BT0L8xJj.cjs';
|
|
3
3
|
export { fields } from './schema/index.cjs';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
4
|
+
import { bx as SDKError, ap as EntryMetadata } from './include-paths-Bs5FhNw2.cjs';
|
|
5
|
+
export { bD as ApiMethod, bC as ApiPath, ca as ApiResponse, bE as ApiSuccessBody, bJ as AssetFileBlock, a9 as AssetReading, aJ as AssetServedBlocks, aF as AssetTypeConfig, aG as AssetTypeDefinition, bK as AssetUrls, bL as BaseContent, B as BaseFieldConfig, cg as BaseValidationError, a7 as BlockOf, c6 as CacheConfig, cc as CacheStrategy, ab as CheckInclude, aa as CheckedIncludes, bX as ContentQueryResult, ac as ContentReading, an as ContentTypeConfig, ao as ContentTypeDefinition, b_ as ContentTypeSchema, bT as CreateInput, bZ as CustomQuery, bQ as DateOnlyOperator, c8 as DebugConfig, ce as Environment, g as FieldDefinition, am as FieldMember, c1 as FieldOptions, h as FieldRule, a1 as FieldSchemaContext, i as FieldType, b$ as FieldTypeName, j as FieldUIConfig, a2 as FieldValue, a3 as FieldValues, al as Fieldset, aM as FileKindConfig, a_ as FileScanConfig, aZ as FileUploadConfig, aS as ImageExifConfig, aK as ImageKindConfig, aR as ImageSourceConfig, aQ as ImageUploadConfig, ad as IncludablePaths, aI as InferAssetEntry, aH as InferAssetType, aq as InferContentType, bt as InferJsonSchema, ay as InferSingleton, ax as InferSingletonContentType, ci as InvalidPayloadError, bu as JsonFieldValue, bv as JsonSchema, bw as JsonValue, a6 as Keyed, bA as LiveWebSocket, bB as LiveWebSocketConstructor, ar as LocalePublicationFields, k as LocalizationConfig, cd as LogLevel, bI as MatchRouteOptions, c5 as PerformanceMetrics, bS as QueryOptions, af as ReadWith, ae as Reading, c7 as RealtimeConfig, c3 as RealtimeEvent, c2 as RealtimeEventType, by as RelyIOConfig, bz as RelyIOConfigUpdate, c9 as RequestConfig, bV as RestoredContent, cb as RetryConfig, bU as RevisedContent, bH as RouteMatch, aA as SettingsGroupConfig, aB as SettingsGroupDefinition, ag as SettingsReading, a8 as ShapeValue, bY as SingletonContent, av as SingletonContentTypeDefinition, aw as SingletonMetadata, ah as SingletonReading, bR as SortOptions, c4 as SubscriptionOptions, a5 as UnresolvedEntry, ai as UntypedReading, bW as UpdateInput, ch as ValidationError, c0 as ValidationRule, cf as ValidationViolation, aT as VariantDefinition, aW as VideoCaptionsConfig, aX as VideoDownloadConfig, aL as VideoKindConfig, aV as VideoPosterConfig, aU as VideoUploadConfig, aY as VideoWatermarkConfig, bO as WhereClause, bN as WhereFieldCondition, bP as WhereOperator, bM as WhereScalar, bF as Wire, aE as defineAssetType, aj as defineContentType, az as defineSettingsGroup, at as defineSingleton, as as defineSingletonContentType, ak as fieldset, bG as matchRoute } from './include-paths-Bs5FhNw2.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
|
-
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { _ as AggregateBlock, Z as FetchBlock, aa as FilterDefinition, a7 as IncludeDefinition, ak as InferQueryParams, aj as InferQueryResponse, U as QueryConfig, W as QueryDefinition, 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, $ as SearchBlock, a9 as SelectMapping, a5 as SortCondition, a0 as WhereCondition, Q as defineQuery, d as defineSchema } from './define-schema-DgctHlI2.cjs';
|
|
12
|
-
export { R as RichTextBlock, a as RichTextCellAlignment, b as RichTextCodeBlock, c as RichTextCodeGroup, d as RichTextCodeLines, e as RichTextDivider, f as RichTextHeading, g as RichTextInline, h as RichTextLineBreak, i as RichTextLinkMark, j as RichTextList, k as RichTextListItem, l as RichTextListStyle, m as RichTextMark, n as RichTextMarkType, o as RichTextNode, p as RichTextParagraph, q as RichTextQuote, r as RichTextSpan, s as RichTextStructure, t as RichTextTable, u as RichTextTableCell, v as RichTextTableRow, w as RichTextValue } from './rich-text.d-rKmpgdGd.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--_u1nPHv.cjs';
|
|
9
|
+
export { I as AggregateBlock, H as FetchBlock, Z as FilterDefinition, V as IncludeDefinition, a7 as InferQueryParams, a6 as InferQueryResponse, Q as QueryConfig, D as QueryDefinition, 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, J as SearchBlock, Y as SelectMapping, P as SortCondition, W as WhereCondition, C as defineQuery, d as defineSchema } from './define-schema-sWJ8Zn7C.cjs';
|
|
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';
|
|
13
11
|
import './dev-handshake/index.cjs';
|
|
14
12
|
|
|
15
13
|
/**
|
|
@@ -816,70 +814,41 @@ declare const localeHelpers: {
|
|
|
816
814
|
};
|
|
817
815
|
|
|
818
816
|
/**
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
*
|
|
822
|
-
*
|
|
823
|
-
*
|
|
824
|
-
*
|
|
825
|
-
*
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
*
|
|
832
|
-
*
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
/** The version of the binding contract this helper emits. */
|
|
842
|
-
declare const BINDING_VERSION = "1";
|
|
843
|
-
/** The attributes `relyioField` returns — the whole of binding contract version 1. */
|
|
844
|
-
interface RelyIOFieldAttributes {
|
|
845
|
-
/** The entry's id (`_metadata.id`). */
|
|
846
|
-
readonly 'data-relyio-entry': string;
|
|
847
|
-
/** The entry's content type (`_metadata.type`); every customer read is keyed by it. */
|
|
848
|
-
readonly 'data-relyio-type': string;
|
|
849
|
-
/** The field the element renders. */
|
|
850
|
-
readonly 'data-relyio-field': string;
|
|
851
|
-
/** The locale the entry's field values were composed for (`_metadata.locale`). */
|
|
852
|
-
readonly 'data-relyio-locale': string;
|
|
853
|
-
/** The binding contract's version. */
|
|
854
|
-
readonly 'data-relyio-v': typeof BINDING_VERSION;
|
|
855
|
-
}
|
|
817
|
+
* A key path (REL-1814): where a value sits inside an entry, each item on the way named by its
|
|
818
|
+
* `_key` — `sections[_key=="f2k6ub9s"].heading`. A field by its id (`title`), a field of an object's
|
|
819
|
+
* value after the object's (`hero.title`), an item of a list by its key (`faq[_key=="k1"]`) and a
|
|
820
|
+
* field of that item after it (`faq[_key=="k1"].question`), to any depth. Inside a rich-text field a
|
|
821
|
+
* key names a declared Block or Inline element wherever it stands in the tree (`body[_key=="c1"]`):
|
|
822
|
+
* a key is unique within the field, nested trees included, so the path needs no step for the quote
|
|
823
|
+
* or the list item around it, and a field of the node follows it (`body[_key=="c1"].caption`).
|
|
824
|
+
*
|
|
825
|
+
* It is the spelling a validation error's path, a live binding, a comment's anchor and a filled
|
|
826
|
+
* field's path already use, so the address a page stamps is the one the Studio opens a field by,
|
|
827
|
+
* and it stays on its item when the list is reordered — which an index would not. The rule is
|
|
828
|
+
* `@relyio/schema`'s `formatItemPath` and `parseKeyedPath`, restated here because this package takes
|
|
829
|
+
* no runtime from that one (it is build-inlined for types only); `devtools/verification`'s
|
|
830
|
+
* `key-paths-sdk.test.ts` holds the two to one corpus.
|
|
831
|
+
*/
|
|
832
|
+
/** One step of a key path: a field by its id, or the item of the list (or rich text) before it. */
|
|
833
|
+
type KeyPathSegment = {
|
|
834
|
+
readonly field: string;
|
|
835
|
+
} | {
|
|
836
|
+
readonly key: string;
|
|
837
|
+
};
|
|
856
838
|
/**
|
|
857
|
-
* The
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
-
* un-generated client returns — has none to narrow to, and `keyof` of it is `never`; that would
|
|
862
|
-
* make the helper uncallable for every untyped customer, so it accepts any field name instead.
|
|
839
|
+
* The key path of an item of the list at `listPath` — `faq[_key=="k1"]` — or of a field inside it
|
|
840
|
+
* when `field` is given: `faq[_key=="k1"].question`. The key is written as a JSON string, so a quote
|
|
841
|
+
* in it stays inside it. `listPath` and `field` are key paths of their own (`sections[_key=="a"].links`,
|
|
842
|
+
* `link.label`).
|
|
863
843
|
*/
|
|
864
|
-
|
|
844
|
+
declare function formatKeyPath(listPath: string, key: string, field?: string): string;
|
|
865
845
|
/**
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
*
|
|
869
|
-
*
|
|
870
|
-
* import { relyioField } from '@relyio/sdk'
|
|
871
|
-
*
|
|
872
|
-
* <h1 {...relyioField(post, 'title')}>{post.title}</h1>
|
|
873
|
-
* // → data-relyio-entry="6710f…" data-relyio-type="post" data-relyio-field="title"
|
|
874
|
-
* // data-relyio-locale="en-US" data-relyio-v="1"
|
|
875
|
-
* ```
|
|
876
|
-
*
|
|
877
|
-
* @throws {TypeError} when the entry's `_metadata` lacks its id, content type or locale. Every
|
|
878
|
-
* entry the API returns carries all three, so this is reached only by a value that was not read
|
|
879
|
-
* from RelyIO. It throws rather than emitting a partial binding: a node stamped with no locale, or
|
|
880
|
-
* none at all, is a binding a surface would have to guess the rest of.
|
|
846
|
+
* A key path read back into its steps: `sections[_key=="a"].links[_key=="b"].label` → `sections`,
|
|
847
|
+
* `a`, `links`, `b`, `label`. A path with no item in it is its field ids (`hero.title` → `hero`,
|
|
848
|
+
* `title`). `null` for anything else — an index (`faq[0]`), an item of an item, an unterminated or
|
|
849
|
+
* empty key, an empty field id — which names no value by key.
|
|
881
850
|
*/
|
|
882
|
-
declare function
|
|
851
|
+
declare function parseKeyPath(path: string): KeyPathSegment[] | null;
|
|
883
852
|
|
|
884
853
|
/**
|
|
885
854
|
* The DOM event a preview surface dispatches when content on the page has changed, and the one
|
|
@@ -1010,4 +979,4 @@ declare function snapToLadder(value: number): number;
|
|
|
1010
979
|
|
|
1011
980
|
declare const VERSION = "__VERSION__";
|
|
1012
981
|
|
|
1013
|
-
export { AuthorizationError,
|
|
982
|
+
export { AuthorizationError, Change, type ChangeSource, type ChangeSourceOptions, ChangesExpiredError, ChangesExpiredReason, ConnectionError, EntryMetadata, ErrorMapper, FOLLOW_BACK_OFF_MAX_MS, FOLLOW_RETRY_BASE_MS, FOLLOW_RETRY_MAX_MS, type FollowEnd, type FollowOptions, type FollowResync, type FollowState, type FollowVerdict, IMAGE_LADDER, InvalidApiKeyError, type KeyPathSegment, type LanguageSwitcherOption, type LanguageSwitcherOptions, type LiveEdgeEnd, LiveEdgeError, type LocaleMetadata, type LocaleStatus, type LocalizedEntry, MethodNotAllowedError, MissingApiKeyError, NetworkError, PUBLISHABLE_KEY_PREFIX, PayloadTooLargeError, PlanFeatureUnavailableError, RELYIO_CHANGE_EVENT, RELYIO_RESYNC_EVENT, RateLimitError, ReadOnlyKeyError, type RelyIOChangeDetail, type RelyIOResyncDetail, SDKError, ServerError, ServiceIndeterminateError, TimeoutError, TransactionRolledBackError, type TranslationCompleteness, UnknownContractError, UsageQuotaExceededError, VERSION, buildLanguageSwitcher, classifyFollowFailure, estimateTranslationCompleteness, followChanges, formatKeyPath, getAllLocalizedValues, getAvailableLocaleCodes, getDefaultLocale, getFallbackFields, getFieldFallbackLocale, getLocalizedField, getPublishedLocaleCodes, getRequestedLocale, hasLocale, isFieldFallback, isPublishableKey, isPublishedInLocale, localeHelpers, needsTranslation, parseKeyPath, snapToLadder };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-
|
|
2
|
-
export { A as ActiveSandbox, a6 as AdhocAggregateBlock, a5 as AdhocFetchBlock, a4 as AdhocQueryBuilder, a3 as AdhocQueryClient, ab as AdhocQueryDefinition, ac as AdhocQueryOptions, ae as AdhocQueryResult, a8 as AdhocSearchBlock, a7 as AggregateMetric, af as AssetClient,
|
|
1
|
+
import { C as Change, a as ChangesExpiredError, b as ChangesExpiredReason } from './index-CPjJ25R4.js';
|
|
2
|
+
export { A as ActiveSandbox, a6 as AdhocAggregateBlock, a5 as AdhocFetchBlock, a4 as AdhocQueryBuilder, a3 as AdhocQueryClient, ab as AdhocQueryDefinition, ac as AdhocQueryOptions, ae as AdhocQueryResult, a8 as AdhocSearchBlock, a7 as AggregateMetric, af as AssetClient, ao as AssetEntryResponse, ag as AssetFileBuilder, am as AssetFileExtracted, ah as AssetUploadBuilder, aj as AssetVisibility, y as AutocompleteBuilder, K as AutocompleteResponse, J as AutocompleteSuggestion, Y as BatchBuilder, X as BatchClient, Z as BatchMethod, _ as BatchOperation, a0 as BatchOperationResult, $ as BatchOptions, a2 as BatchResponse, a1 as BatchSummary, k as ChangesHeadOptions, l as ChangesOptions, t as ChildrenOptions, e as ClientSchema, i as ConditionalWriteOptions, as as ConfirmInput, at as ConfirmResult, s as ContentByIdBuilder, o as ContentClient, r as ContentQueryBuilder, aw as CreateAssetOptions, E as ExtendedQueryResult, F as FeedChange, al as FileBackend, aG as FileErrorCode, ak as FileStatus, an as FileStatusResult, aI as FileUploadError, aH as FileUploadErrorCode, aK as FileValidationConstraints, aJ as FileValidationError, a9 as FilterValue, aa as FullTextConfig, H as HttpClient, L as LIVE_KEEPALIVE_INTERVAL_MS, m as LIVE_SOCKET_OPEN_TIMEOUT_MS, n as LiveChangesOptions, ay as MultipartCreateResult, az as MultipartPart, aA as MultipartTarget, ap as PopulatedAssetReference, aq as PresignInput, ar as PresignResult, P as Project, ad as QueryMetadata, R as Register, f as RegisteredSchema, au as ResolveUrlInput, av as ResolveUrlResult, aD as ResourceConflictError, aE as ResourceExpiredError, aC as ResourceNotFoundError, j as RetryableWriteOptions, S as SandboxState, x as SearchBuilder, w as SearchClient, W as SearchEntry, Q as SearchFields, O as SearchFilter, G as SearchHitMetadata, B as SearchMode, I as SearchResponse, D as SearchResultItem, U as SearchSort, V as SearchTypeName, g as SendOptions, q as SettingsClient, v as SettingsFetchOptions, z as SimilarBuilder, N as SimilarResponse, M as SimilarResult, p as SingletonClient, u as SingletonFetchOptions, d as TypedClientConfig, T as TypedRelyIOClient, aB as UploadProgress, ax as WaitUntilReadyOptions, c as createClient, c as default, h as entityTagOf, ai as isAssetEntry, aF as isResourceNotFound, aL as validateFile } from './index-CPjJ25R4.js';
|
|
3
3
|
export { fields } from './schema/index.js';
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
4
|
+
import { bx as SDKError, ap as EntryMetadata } from './include-paths-Cb7iPCW2.js';
|
|
5
|
+
export { bD as ApiMethod, bC as ApiPath, ca as ApiResponse, bE as ApiSuccessBody, bJ as AssetFileBlock, a9 as AssetReading, aJ as AssetServedBlocks, aF as AssetTypeConfig, aG as AssetTypeDefinition, bK as AssetUrls, bL as BaseContent, B as BaseFieldConfig, cg as BaseValidationError, a7 as BlockOf, c6 as CacheConfig, cc as CacheStrategy, ab as CheckInclude, aa as CheckedIncludes, bX as ContentQueryResult, ac as ContentReading, an as ContentTypeConfig, ao as ContentTypeDefinition, b_ as ContentTypeSchema, bT as CreateInput, bZ as CustomQuery, bQ as DateOnlyOperator, c8 as DebugConfig, ce as Environment, g as FieldDefinition, am as FieldMember, c1 as FieldOptions, h as FieldRule, a1 as FieldSchemaContext, i as FieldType, b$ as FieldTypeName, j as FieldUIConfig, a2 as FieldValue, a3 as FieldValues, al as Fieldset, aM as FileKindConfig, a_ as FileScanConfig, aZ as FileUploadConfig, aS as ImageExifConfig, aK as ImageKindConfig, aR as ImageSourceConfig, aQ as ImageUploadConfig, ad as IncludablePaths, aI as InferAssetEntry, aH as InferAssetType, aq as InferContentType, bt as InferJsonSchema, ay as InferSingleton, ax as InferSingletonContentType, ci as InvalidPayloadError, bu as JsonFieldValue, bv as JsonSchema, bw as JsonValue, a6 as Keyed, bA as LiveWebSocket, bB as LiveWebSocketConstructor, ar as LocalePublicationFields, k as LocalizationConfig, cd as LogLevel, bI as MatchRouteOptions, c5 as PerformanceMetrics, bS as QueryOptions, af as ReadWith, ae as Reading, c7 as RealtimeConfig, c3 as RealtimeEvent, c2 as RealtimeEventType, by as RelyIOConfig, bz as RelyIOConfigUpdate, c9 as RequestConfig, bV as RestoredContent, cb as RetryConfig, bU as RevisedContent, bH as RouteMatch, aA as SettingsGroupConfig, aB as SettingsGroupDefinition, ag as SettingsReading, a8 as ShapeValue, bY as SingletonContent, av as SingletonContentTypeDefinition, aw as SingletonMetadata, ah as SingletonReading, bR as SortOptions, c4 as SubscriptionOptions, a5 as UnresolvedEntry, ai as UntypedReading, bW as UpdateInput, ch as ValidationError, c0 as ValidationRule, cf as ValidationViolation, aT as VariantDefinition, aW as VideoCaptionsConfig, aX as VideoDownloadConfig, aL as VideoKindConfig, aV as VideoPosterConfig, aU as VideoUploadConfig, aY as VideoWatermarkConfig, bO as WhereClause, bN as WhereFieldCondition, bP as WhereOperator, bM as WhereScalar, bF as Wire, aE as defineAssetType, aj as defineContentType, az as defineSettingsGroup, at as defineSingleton, as as defineSingletonContentType, ak as fieldset, bG as matchRoute } from './include-paths-Cb7iPCW2.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
|
-
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { _ as AggregateBlock, Z as FetchBlock, aa as FilterDefinition, a7 as IncludeDefinition, ak as InferQueryParams, aj as InferQueryResponse, U as QueryConfig, W as QueryDefinition, 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, $ as SearchBlock, a9 as SelectMapping, a5 as SortCondition, a0 as WhereCondition, Q as defineQuery, d as defineSchema } from './define-schema-mrEZbY1h.js';
|
|
12
|
-
export { R as RichTextBlock, a as RichTextCellAlignment, b as RichTextCodeBlock, c as RichTextCodeGroup, d as RichTextCodeLines, e as RichTextDivider, f as RichTextHeading, g as RichTextInline, h as RichTextLineBreak, i as RichTextLinkMark, j as RichTextList, k as RichTextListItem, l as RichTextListStyle, m as RichTextMark, n as RichTextMarkType, o as RichTextNode, p as RichTextParagraph, q as RichTextQuote, r as RichTextSpan, s as RichTextStructure, t as RichTextTable, u as RichTextTableCell, v as RichTextTableRow, w as RichTextValue } from './rich-text.d-rKmpgdGd.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-8DozAWsA.js';
|
|
9
|
+
export { I as AggregateBlock, H as FetchBlock, Z as FilterDefinition, V as IncludeDefinition, a7 as InferQueryParams, a6 as InferQueryResponse, Q as QueryConfig, D as QueryDefinition, 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, J as SearchBlock, Y as SelectMapping, P as SortCondition, W as WhereCondition, C as defineQuery, d as defineSchema } from './define-schema-UHViXKiv.js';
|
|
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';
|
|
13
11
|
import './dev-handshake/index.js';
|
|
14
12
|
|
|
15
13
|
/**
|
|
@@ -816,70 +814,41 @@ declare const localeHelpers: {
|
|
|
816
814
|
};
|
|
817
815
|
|
|
818
816
|
/**
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
*
|
|
822
|
-
*
|
|
823
|
-
*
|
|
824
|
-
*
|
|
825
|
-
*
|
|
826
|
-
*
|
|
827
|
-
*
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
*
|
|
832
|
-
*
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
/** The version of the binding contract this helper emits. */
|
|
842
|
-
declare const BINDING_VERSION = "1";
|
|
843
|
-
/** The attributes `relyioField` returns — the whole of binding contract version 1. */
|
|
844
|
-
interface RelyIOFieldAttributes {
|
|
845
|
-
/** The entry's id (`_metadata.id`). */
|
|
846
|
-
readonly 'data-relyio-entry': string;
|
|
847
|
-
/** The entry's content type (`_metadata.type`); every customer read is keyed by it. */
|
|
848
|
-
readonly 'data-relyio-type': string;
|
|
849
|
-
/** The field the element renders. */
|
|
850
|
-
readonly 'data-relyio-field': string;
|
|
851
|
-
/** The locale the entry's field values were composed for (`_metadata.locale`). */
|
|
852
|
-
readonly 'data-relyio-locale': string;
|
|
853
|
-
/** The binding contract's version. */
|
|
854
|
-
readonly 'data-relyio-v': typeof BINDING_VERSION;
|
|
855
|
-
}
|
|
817
|
+
* A key path (REL-1814): where a value sits inside an entry, each item on the way named by its
|
|
818
|
+
* `_key` — `sections[_key=="f2k6ub9s"].heading`. A field by its id (`title`), a field of an object's
|
|
819
|
+
* value after the object's (`hero.title`), an item of a list by its key (`faq[_key=="k1"]`) and a
|
|
820
|
+
* field of that item after it (`faq[_key=="k1"].question`), to any depth. Inside a rich-text field a
|
|
821
|
+
* key names a declared Block or Inline element wherever it stands in the tree (`body[_key=="c1"]`):
|
|
822
|
+
* a key is unique within the field, nested trees included, so the path needs no step for the quote
|
|
823
|
+
* or the list item around it, and a field of the node follows it (`body[_key=="c1"].caption`).
|
|
824
|
+
*
|
|
825
|
+
* It is the spelling a validation error's path, a live binding, a comment's anchor and a filled
|
|
826
|
+
* field's path already use, so the address a page stamps is the one the Studio opens a field by,
|
|
827
|
+
* and it stays on its item when the list is reordered — which an index would not. The rule is
|
|
828
|
+
* `@relyio/schema`'s `formatItemPath` and `parseKeyedPath`, restated here because this package takes
|
|
829
|
+
* no runtime from that one (it is build-inlined for types only); `devtools/verification`'s
|
|
830
|
+
* `key-paths-sdk.test.ts` holds the two to one corpus.
|
|
831
|
+
*/
|
|
832
|
+
/** One step of a key path: a field by its id, or the item of the list (or rich text) before it. */
|
|
833
|
+
type KeyPathSegment = {
|
|
834
|
+
readonly field: string;
|
|
835
|
+
} | {
|
|
836
|
+
readonly key: string;
|
|
837
|
+
};
|
|
856
838
|
/**
|
|
857
|
-
* The
|
|
858
|
-
*
|
|
859
|
-
*
|
|
860
|
-
*
|
|
861
|
-
* un-generated client returns — has none to narrow to, and `keyof` of it is `never`; that would
|
|
862
|
-
* make the helper uncallable for every untyped customer, so it accepts any field name instead.
|
|
839
|
+
* The key path of an item of the list at `listPath` — `faq[_key=="k1"]` — or of a field inside it
|
|
840
|
+
* when `field` is given: `faq[_key=="k1"].question`. The key is written as a JSON string, so a quote
|
|
841
|
+
* in it stays inside it. `listPath` and `field` are key paths of their own (`sections[_key=="a"].links`,
|
|
842
|
+
* `link.label`).
|
|
863
843
|
*/
|
|
864
|
-
|
|
844
|
+
declare function formatKeyPath(listPath: string, key: string, field?: string): string;
|
|
865
845
|
/**
|
|
866
|
-
*
|
|
867
|
-
*
|
|
868
|
-
*
|
|
869
|
-
*
|
|
870
|
-
* import { relyioField } from '@relyio/sdk'
|
|
871
|
-
*
|
|
872
|
-
* <h1 {...relyioField(post, 'title')}>{post.title}</h1>
|
|
873
|
-
* // → data-relyio-entry="6710f…" data-relyio-type="post" data-relyio-field="title"
|
|
874
|
-
* // data-relyio-locale="en-US" data-relyio-v="1"
|
|
875
|
-
* ```
|
|
876
|
-
*
|
|
877
|
-
* @throws {TypeError} when the entry's `_metadata` lacks its id, content type or locale. Every
|
|
878
|
-
* entry the API returns carries all three, so this is reached only by a value that was not read
|
|
879
|
-
* from RelyIO. It throws rather than emitting a partial binding: a node stamped with no locale, or
|
|
880
|
-
* none at all, is a binding a surface would have to guess the rest of.
|
|
846
|
+
* A key path read back into its steps: `sections[_key=="a"].links[_key=="b"].label` → `sections`,
|
|
847
|
+
* `a`, `links`, `b`, `label`. A path with no item in it is its field ids (`hero.title` → `hero`,
|
|
848
|
+
* `title`). `null` for anything else — an index (`faq[0]`), an item of an item, an unterminated or
|
|
849
|
+
* empty key, an empty field id — which names no value by key.
|
|
881
850
|
*/
|
|
882
|
-
declare function
|
|
851
|
+
declare function parseKeyPath(path: string): KeyPathSegment[] | null;
|
|
883
852
|
|
|
884
853
|
/**
|
|
885
854
|
* The DOM event a preview surface dispatches when content on the page has changed, and the one
|
|
@@ -1010,4 +979,4 @@ declare function snapToLadder(value: number): number;
|
|
|
1010
979
|
|
|
1011
980
|
declare const VERSION = "__VERSION__";
|
|
1012
981
|
|
|
1013
|
-
export { AuthorizationError,
|
|
982
|
+
export { AuthorizationError, Change, type ChangeSource, type ChangeSourceOptions, ChangesExpiredError, ChangesExpiredReason, ConnectionError, EntryMetadata, ErrorMapper, FOLLOW_BACK_OFF_MAX_MS, FOLLOW_RETRY_BASE_MS, FOLLOW_RETRY_MAX_MS, type FollowEnd, type FollowOptions, type FollowResync, type FollowState, type FollowVerdict, IMAGE_LADDER, InvalidApiKeyError, type KeyPathSegment, type LanguageSwitcherOption, type LanguageSwitcherOptions, type LiveEdgeEnd, LiveEdgeError, type LocaleMetadata, type LocaleStatus, type LocalizedEntry, MethodNotAllowedError, MissingApiKeyError, NetworkError, PUBLISHABLE_KEY_PREFIX, PayloadTooLargeError, PlanFeatureUnavailableError, RELYIO_CHANGE_EVENT, RELYIO_RESYNC_EVENT, RateLimitError, ReadOnlyKeyError, type RelyIOChangeDetail, type RelyIOResyncDetail, SDKError, ServerError, ServiceIndeterminateError, TimeoutError, TransactionRolledBackError, type TranslationCompleteness, UnknownContractError, UsageQuotaExceededError, VERSION, buildLanguageSwitcher, classifyFollowFailure, estimateTranslationCompleteness, followChanges, formatKeyPath, getAllLocalizedValues, getAvailableLocaleCodes, getDefaultLocale, getFallbackFields, getFieldFallbackLocale, getLocalizedField, getPublishedLocaleCodes, getRequestedLocale, hasLocale, isFieldFallback, isPublishableKey, isPublishedInLocale, localeHelpers, needsTranslation, parseKeyPath, snapToLadder };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { defineAssetType, defineContentType, defineQuery, defineSchema, defineSettingsGroup, defineSingleton, defineSingletonContentType, fields, fieldset } from './chunk-
|
|
2
|
-
import { LiveEdgeError, SDKError, serviceInstructedDelayMs, VISITOR_ADMISSION_RETRY_AFTER_SECONDS, isAborted, sleep } from './chunk-
|
|
3
|
-
export { AdhocQueryBuilder, AdhocQueryClient, AssetClient, AssetFileBuilder, AssetUploadBuilder, AuthorizationError, AutocompleteBuilder, BaseValidationError, BatchBuilder, BatchClient, ChangesExpiredError, ConnectionError, ContentByIdBuilder, ContentClient, ContentQueryBuilder, 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, SearchBuilder, SearchClient, ServerError, ServiceIndeterminateError, SettingsClient, SimilarBuilder, SingletonClient, TimeoutError, TransactionRolledBackError, TypedRelyIOClient, UnknownContractError, UsageQuotaExceededError, ValidationError, createClient, createClient as default, entityTagOf, isAssetEntry, isPublishableKey, isResourceNotFound, matchRoute, validateFile } from './chunk-
|
|
1
|
+
export { defineAssetType, defineContentType, defineQuery, defineSchema, defineSettingsGroup, defineSingleton, defineSingletonContentType, fields, fieldset } from './chunk-EW23SZPX.js';
|
|
2
|
+
import { LiveEdgeError, SDKError, serviceInstructedDelayMs, VISITOR_ADMISSION_RETRY_AFTER_SECONDS, isAborted, sleep } from './chunk-6NGJXLOR.js';
|
|
3
|
+
export { AdhocQueryBuilder, AdhocQueryClient, AssetClient, AssetFileBuilder, AssetUploadBuilder, AuthorizationError, AutocompleteBuilder, BaseValidationError, BatchBuilder, BatchClient, ChangesExpiredError, ConnectionError, ContentByIdBuilder, ContentClient, ContentQueryBuilder, 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, SearchBuilder, SearchClient, ServerError, ServiceIndeterminateError, SettingsClient, SimilarBuilder, SingletonClient, TimeoutError, TransactionRolledBackError, TypedRelyIOClient, UnknownContractError, UsageQuotaExceededError, ValidationError, createClient, createClient as default, entityTagOf, isAssetEntry, isPublishableKey, isResourceNotFound, matchRoute, validateFile } from './chunk-6NGJXLOR.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';
|
|
7
|
-
export { RICH_TEXT_VOID_TAGS, renderRichText, richTextToHtml, richTextToMarkdown, safeRichTextHref } from './chunk-
|
|
7
|
+
export { RICH_TEXT_VOID_TAGS, entryHeadingAnchors, escapeHtml, formatKeyPath, isDeclaredRichTextNode, parseKeyPath, relyioField, renderRichText, richTextHeadingAnchors, richTextHeadingSlug, richTextToHtml, richTextToMarkdown, safeRichTextHref } from './chunk-3NPPMGB6.js';
|
|
8
8
|
import { __name } from './chunk-XQ4QHWZE.js';
|
|
9
9
|
|
|
10
10
|
/* RelyIO SDK - Built with ❤️ by the RelyIO Team */
|
|
@@ -253,30 +253,6 @@ var localeHelpers = {
|
|
|
253
253
|
getAllLocalizedValues
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
// src/binding/relyio-field.ts
|
|
257
|
-
var BINDING_VERSION = "1";
|
|
258
|
-
function relyioField(entry, field) {
|
|
259
|
-
const metadata = entry._metadata;
|
|
260
|
-
return {
|
|
261
|
-
"data-relyio-entry": requireMetadata(metadata, "id", field),
|
|
262
|
-
"data-relyio-type": requireMetadata(metadata, "type", field),
|
|
263
|
-
"data-relyio-field": field,
|
|
264
|
-
"data-relyio-locale": requireMetadata(metadata, "locale", field),
|
|
265
|
-
"data-relyio-v": BINDING_VERSION
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
__name(relyioField, "relyioField");
|
|
269
|
-
function requireMetadata(metadata, key, field) {
|
|
270
|
-
const value = metadata?.[key];
|
|
271
|
-
if (typeof value !== "string" || value.length === 0) {
|
|
272
|
-
throw new TypeError(
|
|
273
|
-
`relyioField(entry, '${field}'): the entry has no _metadata.${key}, so the field cannot be bound. Pass an entry as the RelyIO API returned it.`
|
|
274
|
-
);
|
|
275
|
-
}
|
|
276
|
-
return value;
|
|
277
|
-
}
|
|
278
|
-
__name(requireMetadata, "requireMetadata");
|
|
279
|
-
|
|
280
256
|
// src/binding/change-event.ts
|
|
281
257
|
var RELYIO_CHANGE_EVENT = "relyio:change";
|
|
282
258
|
var RELYIO_RESYNC_EVENT = "relyio:resync";
|
|
@@ -298,6 +274,6 @@ __name(snapToLadder, "snapToLadder");
|
|
|
298
274
|
// src/index.ts
|
|
299
275
|
var VERSION = "__VERSION__";
|
|
300
276
|
|
|
301
|
-
export { FOLLOW_BACK_OFF_MAX_MS, FOLLOW_RETRY_BASE_MS, FOLLOW_RETRY_MAX_MS, IMAGE_LADDER, RELYIO_CHANGE_EVENT, RELYIO_RESYNC_EVENT, VERSION, buildLanguageSwitcher, classifyFollowFailure, estimateTranslationCompleteness, followChanges, getAllLocalizedValues, getAvailableLocaleCodes, getDefaultLocale, getFallbackFields, getFieldFallbackLocale, getLocalizedField, getPublishedLocaleCodes, getRequestedLocale, hasLocale, isFieldFallback, isPublishedInLocale, localeHelpers, needsTranslation,
|
|
277
|
+
export { FOLLOW_BACK_OFF_MAX_MS, FOLLOW_RETRY_BASE_MS, FOLLOW_RETRY_MAX_MS, IMAGE_LADDER, RELYIO_CHANGE_EVENT, RELYIO_RESYNC_EVENT, VERSION, buildLanguageSwitcher, classifyFollowFailure, estimateTranslationCompleteness, followChanges, getAllLocalizedValues, getAvailableLocaleCodes, getDefaultLocale, getFallbackFields, getFieldFallbackLocale, getLocalizedField, getPublishedLocaleCodes, getRequestedLocale, hasLocale, isFieldFallback, isPublishedInLocale, localeHelpers, needsTranslation, snapToLadder };
|
|
302
278
|
//# sourceMappingURL=index.js.map
|
|
303
279
|
//# sourceMappingURL=index.js.map
|