@relyio/sdk 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chunk-RLLZUFDB.cjs → chunk-6E22GYPB.cjs} +55 -53
  3. package/dist/{chunk-7BZW6XYJ.cjs → chunk-6PTRZP5U.cjs} +2 -2
  4. package/dist/{chunk-CQHEG7QA.js → chunk-OVMIHAYK.js} +2 -2
  5. package/dist/{chunk-NIUOPIIB.js → chunk-VS2DEUTN.js} +16 -14
  6. package/dist/client/index.cjs +4 -4
  7. package/dist/client/index.d.cts +3 -3
  8. package/dist/client/index.d.ts +3 -3
  9. package/dist/client/index.js +2 -2
  10. package/dist/{define-content-type-LkI0rS2W.d.cts → define-content-type-AuL9-oz6.d.cts} +142 -8
  11. package/dist/{define-content-type-CAWSlgn0.d.ts → define-content-type-BGoQxqLf.d.ts} +142 -8
  12. package/dist/{define-schema-Dxu3RoHV.d.ts → define-schema-DgCX9YB7.d.ts} +1 -1
  13. package/dist/{define-schema-wlsJOrnY.d.cts → define-schema-DkXwpp0I.d.cts} +1 -1
  14. package/dist/{index-BH8JksfG.d.ts → index-BBp8_tn9.d.ts} +22 -16
  15. package/dist/{index-CcHmRALk.d.cts → index-Bp4AiNT3.d.cts} +1 -1
  16. package/dist/{index-CGtYxUuh.d.ts → index-DaMZ4FQ_.d.ts} +1 -1
  17. package/dist/{index-D80MXUkf.d.cts → index-DxRmKPrR.d.cts} +22 -16
  18. package/dist/index.cjs +68 -68
  19. package/dist/index.d.cts +6 -6
  20. package/dist/index.d.ts +6 -6
  21. package/dist/index.js +3 -3
  22. package/dist/preview/index.cjs +6 -6
  23. package/dist/preview/index.js +1 -1
  24. package/dist/rich-text/index.d.cts +2 -2
  25. package/dist/rich-text/index.d.ts +2 -2
  26. package/dist/schema/index.d.cts +3 -3
  27. package/dist/schema/index.d.ts +3 -3
  28. package/dist/types/index.d.cts +1 -1
  29. package/dist/types/index.d.ts +1 -1
  30. package/package.json +4 -4
@@ -1085,6 +1085,90 @@ interface components {
1085
1085
  /** @description Opaque. The cursor of the ledger row this change came from; changes from one row share it. */
1086
1086
  cursor: string;
1087
1087
  };
1088
+ /** @description The entry a create published: its fields at the top level and `_metadata`, which also lists the warnings the publish landed with. */
1089
+ CreatedEntry: {
1090
+ _metadata: components['schemas']['CreatedEntryMetadata'];
1091
+ } & {
1092
+ [key: string]: unknown;
1093
+ };
1094
+ /** @description What this service reports about an entry beside its fields, and the warnings the create that published it landed with. */
1095
+ CreatedEntryMetadata: {
1096
+ id: string;
1097
+ /** @description The content type. */
1098
+ type: string;
1099
+ /** @enum {string} */
1100
+ entryType: 'asset' | 'content' | 'settings' | 'singleton';
1101
+ /** @description The slug field’s value at `locale`, or null when the type declares none. */
1102
+ slug: string | null;
1103
+ /**
1104
+ * @description Container lifecycle only. Publication is per locale: `localeStatus`.
1105
+ * @enum {string}
1106
+ */
1107
+ status: 'active' | 'archived' | 'proposed';
1108
+ /** @description The reported locale’s own version counter — not the entry’s shared-field counter. `0` when that locale has no content of its own; a write checked at `0` goes through only while that is still so. With `id`, `locale` and `sharedVersion`, it is what `X-Entity-Tag` is minted from. */
1109
+ version: number;
1110
+ /** @description The shared (non-localized) fields’ version counter, the same in every locale. A write checked against it is refused once it has moved only when the write changes a shared field. */
1111
+ sharedVersion: number;
1112
+ /** @description The locale the fields beside this object were composed for. */
1113
+ locale: string;
1114
+ /** @description How many versions `locale` has. Sent on a single-entry read; a list leaves it out. */
1115
+ versionCount?: number;
1116
+ /** @description `locale`’s version numbers, newest first, at most 25. Sent on a single-entry read; a list leaves it out. */
1117
+ versions?: number[];
1118
+ /**
1119
+ * @description Publication state of `locale`. Absent when that locale has no content of its own: what is visible in it is inherited through the fallback chain.
1120
+ * @enum {string}
1121
+ */
1122
+ localeStatus?: 'archived' | 'draft' | 'published';
1123
+ /** @description Whether `locale` has unpublished changes of its own. */
1124
+ localeHasDraft: boolean;
1125
+ /** @description Every locale holding unpublished content of its own, sorted. A shared-field draft is not listed: it is `hasDraft`. */
1126
+ draftLocales: string[];
1127
+ /** @description Whether the shared (non-localized) fields have unpublished changes. Publishing any locale makes them live, so they are unpublished work in every locale. */
1128
+ hasDraft: boolean;
1129
+ /** @description The locale the request named, when it named one other than the default. On `?locales=a,b,c` it is always sent: the primary, or `*` when the list names as many locales as the entry has — as on `?locale=*`. */
1130
+ requestedLocale?: string;
1131
+ /** @description The schema’s default locale. */
1132
+ defaultLocale: string;
1133
+ /** @description Each field whose value came from another locale, mapped to that locale. Absent when none did. */
1134
+ localeFallbacksApplied?: {
1135
+ [key: string]: string;
1136
+ };
1137
+ /** @description Each required field the entry holds no value for, which this read filled with its kind’s empty value — `""` for text, the tree holding nothing (`{ _type: "richText", version: 1, children: [] }`) for rich text, `[]` for a list, `false` for a boolean — so a required field is always present. A draft may leave these empty; publishing refuses it. Each is a value path, a list item named by its key: `title`, `seo.title`, `faq[_key=="k1"].question` — the spelling a validation error’s path uses, so a path still finds its item after a reorder. Absent when none was filled. */
1138
+ emptyRequiredFields?: string[];
1139
+ /** @description Every locale the entry has content in, the default first. */
1140
+ availableLocales: components['schemas']['EntryLocale'][];
1141
+ /** @description The fields of every other locale asked for, keyed by locale. Present on every `?locale=*` or `?locales=` read — `{}` when no other locale has visible fields — and absent on a single-locale read. A locale with no visible fields is left out. */
1142
+ localizations?: {
1143
+ [key: string]: {
1144
+ [key: string]: unknown;
1145
+ };
1146
+ };
1147
+ /**
1148
+ * Format: date-time
1149
+ * @description When the entry was created.
1150
+ */
1151
+ createdAt: string;
1152
+ /**
1153
+ * Format: date-time
1154
+ * @description When the entry was last written.
1155
+ */
1156
+ updatedAt: string;
1157
+ /**
1158
+ * Format: date-time
1159
+ * @description When the entry was last published. Absent until it is.
1160
+ */
1161
+ publishedAt?: string;
1162
+ /**
1163
+ * Format: date-time
1164
+ * @description When the entry was first published. Absent until it is.
1165
+ */
1166
+ firstPublishedAt?: string;
1167
+ /** @description The entry’s outgoing references, across every locale, each once. */
1168
+ refs: components['schemas']['EntryRef'][];
1169
+ /** @description Each reference the content type declares `weak` that this create made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the create under the same `Idempotency-Key` answers the warnings the create did. */
1170
+ warnings: components['schemas']['WriteWarning'][];
1171
+ };
1088
1172
  CursorPage: {
1089
1173
  nextCursor: string | null;
1090
1174
  hasMore: boolean;
@@ -1949,14 +2033,16 @@ interface components {
1949
2033
  refs: components['schemas']['EntryRef'][];
1950
2034
  /** @description Each entry link another entry publishes whose `anchor` names a heading this revision took away from the content its reader lands on — in the link’s locale, or the first locale of its fallback chain this entry publishes. The revision is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Only what this revision took away is listed, and empty when it took none. A replay of the revision under the same `Idempotency-Key` answers the list the revision did. */
1951
2035
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2036
+ /** @description Each reference the content type declares `weak` that this revision made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the revision under the same `Idempotency-Key` answers the warnings the revision did. */
2037
+ warnings?: components['schemas']['WriteWarning'][];
1952
2038
  };
1953
- /** @description The settings group after a write or a reset: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere. */
2039
+ /** @description The settings group after a write or a reset: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere and the warnings it landed with. */
1954
2040
  RevisedSettingsGroup: {
1955
2041
  _metadata: components['schemas']['RevisedSettingsGroupMetadata'];
1956
2042
  } & {
1957
2043
  [key: string]: unknown;
1958
2044
  };
1959
- /** @description What this service reports about a settings group beside its fields, and the links a write left pointing nowhere. */
2045
+ /** @description What this service reports about a settings group beside its fields, the links a write left pointing nowhere, and the warnings it landed with. */
1960
2046
  RevisedSettingsGroupMetadata: {
1961
2047
  id: string;
1962
2048
  /** @description The settings group. */
@@ -1989,14 +2075,16 @@ interface components {
1989
2075
  updatedAt: string;
1990
2076
  /** @description Each entry link another entry publishes whose `anchor` names a heading this write took away from the settings group’s content, as an entry revision lists them. The write is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Empty when it took none away. A replay of the write under the same `Idempotency-Key` answers the list the write did. */
1991
2077
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2078
+ /** @description Each reference the settings group’s type declares `weak` that this write made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place, as an entry revision lists them. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the write under the same `Idempotency-Key` answers the warnings the write did. */
2079
+ warnings: components['schemas']['WriteWarning'][];
1992
2080
  };
1993
- /** @description The singleton after a write: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere. */
2081
+ /** @description The singleton after a write: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere and the warnings it landed with. */
1994
2082
  RevisedSingleton: {
1995
2083
  _metadata: components['schemas']['RevisedSingletonMetadata'];
1996
2084
  } & {
1997
2085
  [key: string]: unknown;
1998
2086
  };
1999
- /** @description What this service reports about a singleton beside its fields, and the links a write left pointing nowhere. */
2087
+ /** @description What this service reports about a singleton beside its fields, the links a write left pointing nowhere, and the warnings it landed with. */
2000
2088
  RevisedSingletonMetadata: {
2001
2089
  id: string;
2002
2090
  /** @description The singleton type. */
@@ -2051,6 +2139,8 @@ interface components {
2051
2139
  emptyRequiredFields?: string[];
2052
2140
  /** @description Each entry link another entry publishes whose `anchor` names a heading this write took away from the singleton’s content, as an entry revision lists them. The write is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Empty when it took none away. A replay of the write under the same `Idempotency-Key` answers the list the write did. */
2053
2141
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2142
+ /** @description Each reference the singleton’s type declares `weak` that this write made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place, as an entry revision lists them. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the write under the same `Idempotency-Key` answers the warnings the write did. */
2143
+ warnings: components['schemas']['WriteWarning'][];
2054
2144
  };
2055
2145
  /** @description How a hit’s relevance was reached. Sent on a search that asked for `explain`. */
2056
2146
  ScoreBreakdown: {
@@ -2338,6 +2428,18 @@ interface components {
2338
2428
  /** @description The written entry, when the batch asked for it. */
2339
2429
  data?: unknown;
2340
2430
  };
2431
+ /** @description Something a write landed with and was not refused for, named as a refusal names an issue: where it stands, what it is, and a sentence. */
2432
+ WriteWarning: {
2433
+ /** @description Where it stands, as a value path naming a list item by its key: `related`, `cards[_key=="k1"].link`. */
2434
+ path: string;
2435
+ /**
2436
+ * @description `REFERENCE_NOT_PUBLISHED`: a reference the content type declares `weak` points at an entry that is not published, so a reader is served a reference it cannot follow yet.
2437
+ * @enum {string}
2438
+ */
2439
+ code: 'REFERENCE_NOT_PUBLISHED';
2440
+ /** @description The warning, for a person. */
2441
+ message: string;
2442
+ };
2341
2443
  };
2342
2444
  responses: never;
2343
2445
  parameters: never;
@@ -3193,7 +3295,7 @@ interface operations {
3193
3295
  };
3194
3296
  content: {
3195
3297
  'application/json': {
3196
- data: components['schemas']['Entry'];
3298
+ data: components['schemas']['CreatedEntry'];
3197
3299
  };
3198
3300
  };
3199
3301
  };
@@ -10896,14 +10998,46 @@ type CreateInput<T extends BaseContent> = WriteFields<T> & {
10896
10998
  locale?: string;
10897
10999
  };
10898
11000
  };
11001
+ /**
11002
+ * What a create answers: the entry, its `_metadata` also listing the warnings the publish landed
11003
+ * with — each reference the content type declares `weak` that it made live while the entry it
11004
+ * points at is unpublished (`REFERENCE_NOT_PUBLISHED`) — the document's `CreatedEntryMetadata`
11005
+ * (REL-3097). Always present, empty when there are none; the write is never refused for them.
11006
+ */
11007
+ type CreatedContent<T extends BaseContent> = Omit<T, '_metadata'> & {
11008
+ _metadata: T['_metadata'] & Pick<components['schemas']['CreatedEntryMetadata'], 'warnings'>;
11009
+ };
10899
11010
  /**
10900
11011
  * What a revision answers: the entry, its `_metadata` also listing the entry links other entries
10901
11012
  * publish that the revision left pointing nowhere — the document's `RevisedEntryMetadata`
10902
- * (REL-2110, REL-2130). The write is never refused for them; the linking entry's next publish is.
11013
+ * (REL-2110, REL-2130) — and the warnings the revision landed with, as a create's (REL-3097). The
11014
+ * write is never refused for either; the linking entry's next publish is.
10903
11015
  */
10904
11016
  type RevisedContent<T extends BaseContent> = Omit<T, '_metadata'> & {
10905
- _metadata: T['_metadata'] & Pick<components['schemas']['RevisedEntryMetadata'], 'brokenLinks'>;
11017
+ _metadata: T['_metadata'] & Pick<components['schemas']['RevisedEntryMetadata'], 'brokenLinks' | 'warnings'>;
11018
+ };
11019
+ /**
11020
+ * What a singleton write answers (`update`): the singleton, its `_metadata` also listing the entry
11021
+ * links other entries publish that the write left pointing nowhere and the warnings it landed with —
11022
+ * each reference declared `weak` that it made live while the entry it points at is unpublished
11023
+ * (`REFERENCE_NOT_PUBLISHED`) — the document's `RevisedSingletonMetadata` (REL-2130, REL-3097).
11024
+ * `warnings` is always present, empty when there are none; the write is never refused for either.
11025
+ */
11026
+ type WrittenSingleton<T> = Omit<T, '_metadata'> & {
11027
+ _metadata: MetadataOf<T> & Pick<components['schemas']['RevisedSingletonMetadata'], 'brokenLinks' | 'warnings'>;
11028
+ };
11029
+ /**
11030
+ * What a settings group write answers (`update`, `reset`): the group, its `_metadata` also listing
11031
+ * what the write left pointing nowhere and the warnings it landed with — the document's
11032
+ * `RevisedSettingsGroupMetadata` (REL-2130, REL-3097), as a singleton write's.
11033
+ */
11034
+ type WrittenSettingsGroup<T> = Omit<T, '_metadata'> & {
11035
+ _metadata: MetadataOf<T> & Pick<components['schemas']['RevisedSettingsGroupMetadata'], 'brokenLinks' | 'warnings'>;
10906
11036
  };
11037
+ /** A document's `_metadata`, or nothing for a type that declares none. */
11038
+ type MetadataOf<T> = T extends {
11039
+ _metadata: infer M;
11040
+ } ? M : unknown;
10907
11041
  /**
10908
11042
  * What a version restore answers: the entry, its `_metadata` also listing what the restore left out
10909
11043
  * and the links it left pointing nowhere — the document's `RestoredEntryMetadata` (REL-1793,
@@ -12401,4 +12535,4 @@ type InferContentType<T extends AnyContentTypeDefinition, S extends FieldSchemaC
12401
12535
  _metadata: EntryMetadata;
12402
12536
  };
12403
12537
 
12404
- export { enumField as $, type AIConfig as A, type BaseFieldConfig as B, type CodeConfig as C, type DateConfig as D, type EmailConfig as E, type FieldAIConfig as F, type RuleConditions as G, type SlugConfig as H, type IntegerConfig as I, type JsonConfig as J, type KeyedEnumConfig as K, type ListConfig as L, type TagsConfig as M, type VisibilityRule as N, type ObjectConfig as O, boolean as P, code as Q, type ReadOnlyRule as R, type ShortTextConfig as S, type TableConfig as T, type UrlConfig as U, type ValidationRule$1 as V, type WidgetOptions as W, date as X, dateTime as Y, decimal as Z, email as _, type AnyFieldDefinition as a, type AssetTypeDefinition as a$, integer as a0, json as a1, list as a2, longText as a3, object as a4, reference as a5, richText as a6, shortText as a7, slug as a8, table as a9, type TextDirection as aA, type LocaleOptions as aB, type LocaleDefinition as aC, defineContentType as aD, fieldset as aE, type Fieldset as aF, type DeclaredFieldset as aG, type AnyDeclaredFieldset as aH, type KeyedFieldsetConfig as aI, type FieldMember as aJ, type KeyedContentTypeConfig as aK, type ContentTypeDefinition as aL, type EntryMetadata as aM, type InferContentType as aN, type LocalePublicationFields as aO, defineSingleton as aP, type KeyedSingletonConfig as aQ, type SingletonContentTypeDefinition as aR, type SingletonMetadata as aS, type InferSingleton as aT, defineSettingsGroup as aU, type KeyedSettingsGroupConfig as aV, type SettingsGroupDefinition as aW, type SettingsGroupMetadata as aX, type InferSettingsGroup as aY, defineAssetType as aZ, type KeyedAssetTypeConfig as a_, tags as aa, url as ab, type FieldSchemaContext as ac, type FieldValue as ad, type FieldValues as ae, type DeclaredFields as af, type UnresolvedEntry as ag, type Keyed as ah, type BlockOf as ai, type ShapeValue as aj, type AssetReading as ak, type CheckedIncludes as al, type CheckInclude as am, type ContentReading as an, type IncludablePaths as ao, type Reading as ap, type ReadWith as aq, type SettingsReading as ar, type SingletonReading as as, type UntypedReading as at, defineLocale as au, isLocaleDefinition as av, getLocaleCodes as aw, findDefaultLocale as ax, getActiveLocales as ay, buildFallbackChain as az, type AnyKeyedField as b, type ViewFilterOperator as b$, type InferAssetType as b0, type InferAssetEntry as b1, type AssetServedBlocks as b2, type ImageKindConfig as b3, type VideoKindConfig as b4, type FileKindConfig as b5, type ImageTransform as b6, type ImageFitMode as b7, type ImageOutputFormat as b8, type ImageUploadConfig as b9, type KeyedRolesAsList as bA, defineWorkflow as bB, defineWorkflowStage as bC, defineContentTypeWorkflow as bD, isWorkflowDefinition as bE, isWorkflowStageDefinition as bF, getWorkflowStageIds as bG, findWorkflowStage as bH, getNextWorkflowStage as bI, getFirstWorkflowStage as bJ, isFinalWorkflowStage as bK, type WorkflowEscalation as bL, type WorkflowAutoAssign as bM, type WorkflowStageConfig as bN, type WorkflowStageDefinition as bO, type WorkflowDefinition as bP, type ContentTypeWorkflowConfig as bQ, type KeyedWorkflowConfig as bR, type KeyedWorkflowStageConfig as bS, type KeyedWorkflowStageDefinition as bT, type KeyedWorkflowStages as bU, defineView as bV, type ViewScopeConfig as bW, type ContentTypeScopeConfig as bX, type ContentTypesScopeConfig as bY, type EntryTypeScopeConfig as bZ, type AllScopeConfig as b_, type ImageSourceConfig as ba, type ImageExifConfig as bb, type VariantDefinition as bc, type VideoUploadConfig as bd, type VideoPosterConfig as be, type VideoCaptionsConfig as bf, type VideoDownloadConfig as bg, type VideoWatermarkConfig as bh, type FileUploadConfig as bi, type FileScanConfig as bj, defineRole as bk, isRoleDefinition as bl, isBuiltInRole as bm, getBuiltInRoleActions as bn, BUILT_IN_ROLES as bo, ROLE_ACTIONS as bp, BUILT_IN_ROLE_ACTIONS as bq, type BuiltInRole as br, type RoleAction as bs, type ResourcePermission as bt, type FieldVisibility as bu, type RoleConfig as bv, type RoleDefinition as bw, type KeyedRoleConfig as bx, type KeyedRoleDefinition as by, type KeyedRoles as bz, type AssetAIConfig as c, type paths as c$, type ViewFilterValue as c0, type ViewFilterRelativeDate as c1, type ViewFilterCondition as c2, type ViewFilter as c3, type ViewConfig as c4, type ViewDefinition as c5, type KeyedViewConfig as c6, type KeyedViewDefinition as c7, type KeyedViews as c8, type KeyedViewsAsList as c9, type CreateInput as cA, type RevisedContent as cB, type RestoredContent as cC, type ContentVersion as cD, type ContentVersionRow as cE, type UpdateInput as cF, type SingletonContent as cG, type CustomQuery as cH, type ContentTypeSchema as cI, type ValidationRule as cJ, type FieldOptions as cK, type RealtimeEventType as cL, type RealtimeEvent as cM, type SubscriptionOptions as cN, type PerformanceMetrics as cO, type CacheConfig as cP, type DebugConfig as cQ, type RequestConfig as cR, type ApiResponse as cS, type RetryConfig as cT, type CacheStrategy as cU, type LogLevel as cV, type Environment as cW, type ValidationViolation as cX, BaseValidationError as cY, ValidationError as cZ, InvalidPayloadError as c_, type InferJsonSchema as ca, type JsonFieldValue as cb, type JsonSchema as cc, type JsonValue as cd, type CheckedLocales as ce, type CheckedRoles as cf, type CheckedWorkflow as cg, type CheckedSection as ch, type KeysDeclared as ci, type LocaleCodesOf as cj, type StagesDeclared as ck, SDKError as cl, type RelyIOConfig as cm, type RelyIOConfigUpdate as cn, type LiveWebSocket as co, type LiveWebSocketConstructor as cp, type AssetFileBlock as cq, type AssetUrls as cr, type BaseContent as cs, type BaseSingleton as ct, type BaseSettingsGroup as cu, type WhereScalar as cv, type WhereFieldCondition as cw, type WhereClause as cx, type WhereOperator as cy, type DateOnlyOperator as cz, type BooleanConfig as d, type MergedRelyIOConfig as d0, type ReadWhere as d1, type components as d2, type CheckedInclude as d3, type FieldDefinition as d4, type DateTimeConfig as e, type DecimalConfig as f, type EnumConfig as g, type FieldDefinition$1 as h, type FieldRule as i, type FieldType as j, type FieldUIConfig as k, type KeyedField as l, type KeyedFieldOptions as m, type KeyedFields as n, type KeyedFieldsOf as o, type KeyedMembers as p, type KeyedMembersOf as q, type LocalizationConfig as r, type Localized as s, type LocalizedDetails as t, type LongTextConfig as u, type ReferenceConfig as v, type RequirementRule as w, type RichTextConfig as x, type RichTextLinks as y, type RuleCondition as z };
12538
+ export { enumField as $, type AIConfig as A, type BaseFieldConfig as B, type CodeConfig as C, type DateConfig as D, type EmailConfig as E, type FieldAIConfig as F, type RuleConditions as G, type SlugConfig as H, type IntegerConfig as I, type JsonConfig as J, type KeyedEnumConfig as K, type ListConfig as L, type TagsConfig as M, type VisibilityRule as N, type ObjectConfig as O, boolean as P, code as Q, type ReadOnlyRule as R, type ShortTextConfig as S, type TableConfig as T, type UrlConfig as U, type ValidationRule$1 as V, type WidgetOptions as W, date as X, dateTime as Y, decimal as Z, email as _, type AnyFieldDefinition as a, type AssetTypeDefinition as a$, integer as a0, json as a1, list as a2, longText as a3, object as a4, reference as a5, richText as a6, shortText as a7, slug as a8, table as a9, type TextDirection as aA, type LocaleOptions as aB, type LocaleDefinition as aC, defineContentType as aD, fieldset as aE, type Fieldset as aF, type DeclaredFieldset as aG, type AnyDeclaredFieldset as aH, type KeyedFieldsetConfig as aI, type FieldMember as aJ, type KeyedContentTypeConfig as aK, type ContentTypeDefinition as aL, type EntryMetadata as aM, type InferContentType as aN, type LocalePublicationFields as aO, defineSingleton as aP, type KeyedSingletonConfig as aQ, type SingletonContentTypeDefinition as aR, type SingletonMetadata as aS, type InferSingleton as aT, defineSettingsGroup as aU, type KeyedSettingsGroupConfig as aV, type SettingsGroupDefinition as aW, type SettingsGroupMetadata as aX, type InferSettingsGroup as aY, defineAssetType as aZ, type KeyedAssetTypeConfig as a_, tags as aa, url as ab, type FieldSchemaContext as ac, type FieldValue as ad, type FieldValues as ae, type DeclaredFields as af, type UnresolvedEntry as ag, type Keyed as ah, type BlockOf as ai, type ShapeValue as aj, type AssetReading as ak, type CheckedIncludes as al, type CheckInclude as am, type ContentReading as an, type IncludablePaths as ao, type Reading as ap, type ReadWith as aq, type SettingsReading as ar, type SingletonReading as as, type UntypedReading as at, defineLocale as au, isLocaleDefinition as av, getLocaleCodes as aw, findDefaultLocale as ax, getActiveLocales as ay, buildFallbackChain as az, type AnyKeyedField as b, type ViewFilterOperator as b$, type InferAssetType as b0, type InferAssetEntry as b1, type AssetServedBlocks as b2, type ImageKindConfig as b3, type VideoKindConfig as b4, type FileKindConfig as b5, type ImageTransform as b6, type ImageFitMode as b7, type ImageOutputFormat as b8, type ImageUploadConfig as b9, type KeyedRolesAsList as bA, defineWorkflow as bB, defineWorkflowStage as bC, defineContentTypeWorkflow as bD, isWorkflowDefinition as bE, isWorkflowStageDefinition as bF, getWorkflowStageIds as bG, findWorkflowStage as bH, getNextWorkflowStage as bI, getFirstWorkflowStage as bJ, isFinalWorkflowStage as bK, type WorkflowEscalation as bL, type WorkflowAutoAssign as bM, type WorkflowStageConfig as bN, type WorkflowStageDefinition as bO, type WorkflowDefinition as bP, type ContentTypeWorkflowConfig as bQ, type KeyedWorkflowConfig as bR, type KeyedWorkflowStageConfig as bS, type KeyedWorkflowStageDefinition as bT, type KeyedWorkflowStages as bU, defineView as bV, type ViewScopeConfig as bW, type ContentTypeScopeConfig as bX, type ContentTypesScopeConfig as bY, type EntryTypeScopeConfig as bZ, type AllScopeConfig as b_, type ImageSourceConfig as ba, type ImageExifConfig as bb, type VariantDefinition as bc, type VideoUploadConfig as bd, type VideoPosterConfig as be, type VideoCaptionsConfig as bf, type VideoDownloadConfig as bg, type VideoWatermarkConfig as bh, type FileUploadConfig as bi, type FileScanConfig as bj, defineRole as bk, isRoleDefinition as bl, isBuiltInRole as bm, getBuiltInRoleActions as bn, BUILT_IN_ROLES as bo, ROLE_ACTIONS as bp, BUILT_IN_ROLE_ACTIONS as bq, type BuiltInRole as br, type RoleAction as bs, type ResourcePermission as bt, type FieldVisibility as bu, type RoleConfig as bv, type RoleDefinition as bw, type KeyedRoleConfig as bx, type KeyedRoleDefinition as by, type KeyedRoles as bz, type AssetAIConfig as c, BaseValidationError as c$, type ViewFilterValue as c0, type ViewFilterRelativeDate as c1, type ViewFilterCondition as c2, type ViewFilter as c3, type ViewConfig as c4, type ViewDefinition as c5, type KeyedViewConfig as c6, type KeyedViewDefinition as c7, type KeyedViews as c8, type KeyedViewsAsList as c9, type CreateInput as cA, type CreatedContent as cB, type RevisedContent as cC, type WrittenSingleton as cD, type WrittenSettingsGroup as cE, type RestoredContent as cF, type ContentVersion as cG, type ContentVersionRow as cH, type UpdateInput as cI, type SingletonContent as cJ, type CustomQuery as cK, type ContentTypeSchema as cL, type ValidationRule as cM, type FieldOptions as cN, type RealtimeEventType as cO, type RealtimeEvent as cP, type SubscriptionOptions as cQ, type PerformanceMetrics as cR, type CacheConfig as cS, type DebugConfig as cT, type RequestConfig as cU, type ApiResponse as cV, type RetryConfig as cW, type CacheStrategy as cX, type LogLevel as cY, type Environment as cZ, type ValidationViolation as c_, type InferJsonSchema as ca, type JsonFieldValue as cb, type JsonSchema as cc, type JsonValue as cd, type CheckedLocales as ce, type CheckedRoles as cf, type CheckedWorkflow as cg, type CheckedSection as ch, type KeysDeclared as ci, type LocaleCodesOf as cj, type StagesDeclared as ck, SDKError as cl, type RelyIOConfig as cm, type RelyIOConfigUpdate as cn, type LiveWebSocket as co, type LiveWebSocketConstructor as cp, type AssetFileBlock as cq, type AssetUrls as cr, type BaseContent as cs, type BaseSingleton as ct, type BaseSettingsGroup as cu, type WhereScalar as cv, type WhereFieldCondition as cw, type WhereClause as cx, type WhereOperator as cy, type DateOnlyOperator as cz, type BooleanConfig as d, ValidationError as d0, InvalidPayloadError as d1, type paths as d2, type MergedRelyIOConfig as d3, type ReadWhere as d4, type components as d5, type CheckedInclude as d6, type FieldDefinition as d7, type DateTimeConfig as e, type DecimalConfig as f, type EnumConfig as g, type FieldDefinition$1 as h, type FieldRule as i, type FieldType as j, type FieldUIConfig as k, type KeyedField as l, type KeyedFieldOptions as m, type KeyedFields as n, type KeyedFieldsOf as o, type KeyedMembers as p, type KeyedMembersOf as q, type LocalizationConfig as r, type Localized as s, type LocalizedDetails as t, type LongTextConfig as u, type ReferenceConfig as v, type RequirementRule as w, type RichTextConfig as x, type RichTextLinks as y, type RuleCondition as z };
@@ -1085,6 +1085,90 @@ interface components {
1085
1085
  /** @description Opaque. The cursor of the ledger row this change came from; changes from one row share it. */
1086
1086
  cursor: string;
1087
1087
  };
1088
+ /** @description The entry a create published: its fields at the top level and `_metadata`, which also lists the warnings the publish landed with. */
1089
+ CreatedEntry: {
1090
+ _metadata: components['schemas']['CreatedEntryMetadata'];
1091
+ } & {
1092
+ [key: string]: unknown;
1093
+ };
1094
+ /** @description What this service reports about an entry beside its fields, and the warnings the create that published it landed with. */
1095
+ CreatedEntryMetadata: {
1096
+ id: string;
1097
+ /** @description The content type. */
1098
+ type: string;
1099
+ /** @enum {string} */
1100
+ entryType: 'asset' | 'content' | 'settings' | 'singleton';
1101
+ /** @description The slug field’s value at `locale`, or null when the type declares none. */
1102
+ slug: string | null;
1103
+ /**
1104
+ * @description Container lifecycle only. Publication is per locale: `localeStatus`.
1105
+ * @enum {string}
1106
+ */
1107
+ status: 'active' | 'archived' | 'proposed';
1108
+ /** @description The reported locale’s own version counter — not the entry’s shared-field counter. `0` when that locale has no content of its own; a write checked at `0` goes through only while that is still so. With `id`, `locale` and `sharedVersion`, it is what `X-Entity-Tag` is minted from. */
1109
+ version: number;
1110
+ /** @description The shared (non-localized) fields’ version counter, the same in every locale. A write checked against it is refused once it has moved only when the write changes a shared field. */
1111
+ sharedVersion: number;
1112
+ /** @description The locale the fields beside this object were composed for. */
1113
+ locale: string;
1114
+ /** @description How many versions `locale` has. Sent on a single-entry read; a list leaves it out. */
1115
+ versionCount?: number;
1116
+ /** @description `locale`’s version numbers, newest first, at most 25. Sent on a single-entry read; a list leaves it out. */
1117
+ versions?: number[];
1118
+ /**
1119
+ * @description Publication state of `locale`. Absent when that locale has no content of its own: what is visible in it is inherited through the fallback chain.
1120
+ * @enum {string}
1121
+ */
1122
+ localeStatus?: 'archived' | 'draft' | 'published';
1123
+ /** @description Whether `locale` has unpublished changes of its own. */
1124
+ localeHasDraft: boolean;
1125
+ /** @description Every locale holding unpublished content of its own, sorted. A shared-field draft is not listed: it is `hasDraft`. */
1126
+ draftLocales: string[];
1127
+ /** @description Whether the shared (non-localized) fields have unpublished changes. Publishing any locale makes them live, so they are unpublished work in every locale. */
1128
+ hasDraft: boolean;
1129
+ /** @description The locale the request named, when it named one other than the default. On `?locales=a,b,c` it is always sent: the primary, or `*` when the list names as many locales as the entry has — as on `?locale=*`. */
1130
+ requestedLocale?: string;
1131
+ /** @description The schema’s default locale. */
1132
+ defaultLocale: string;
1133
+ /** @description Each field whose value came from another locale, mapped to that locale. Absent when none did. */
1134
+ localeFallbacksApplied?: {
1135
+ [key: string]: string;
1136
+ };
1137
+ /** @description Each required field the entry holds no value for, which this read filled with its kind’s empty value — `""` for text, the tree holding nothing (`{ _type: "richText", version: 1, children: [] }`) for rich text, `[]` for a list, `false` for a boolean — so a required field is always present. A draft may leave these empty; publishing refuses it. Each is a value path, a list item named by its key: `title`, `seo.title`, `faq[_key=="k1"].question` — the spelling a validation error’s path uses, so a path still finds its item after a reorder. Absent when none was filled. */
1138
+ emptyRequiredFields?: string[];
1139
+ /** @description Every locale the entry has content in, the default first. */
1140
+ availableLocales: components['schemas']['EntryLocale'][];
1141
+ /** @description The fields of every other locale asked for, keyed by locale. Present on every `?locale=*` or `?locales=` read — `{}` when no other locale has visible fields — and absent on a single-locale read. A locale with no visible fields is left out. */
1142
+ localizations?: {
1143
+ [key: string]: {
1144
+ [key: string]: unknown;
1145
+ };
1146
+ };
1147
+ /**
1148
+ * Format: date-time
1149
+ * @description When the entry was created.
1150
+ */
1151
+ createdAt: string;
1152
+ /**
1153
+ * Format: date-time
1154
+ * @description When the entry was last written.
1155
+ */
1156
+ updatedAt: string;
1157
+ /**
1158
+ * Format: date-time
1159
+ * @description When the entry was last published. Absent until it is.
1160
+ */
1161
+ publishedAt?: string;
1162
+ /**
1163
+ * Format: date-time
1164
+ * @description When the entry was first published. Absent until it is.
1165
+ */
1166
+ firstPublishedAt?: string;
1167
+ /** @description The entry’s outgoing references, across every locale, each once. */
1168
+ refs: components['schemas']['EntryRef'][];
1169
+ /** @description Each reference the content type declares `weak` that this create made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the create under the same `Idempotency-Key` answers the warnings the create did. */
1170
+ warnings: components['schemas']['WriteWarning'][];
1171
+ };
1088
1172
  CursorPage: {
1089
1173
  nextCursor: string | null;
1090
1174
  hasMore: boolean;
@@ -1949,14 +2033,16 @@ interface components {
1949
2033
  refs: components['schemas']['EntryRef'][];
1950
2034
  /** @description Each entry link another entry publishes whose `anchor` names a heading this revision took away from the content its reader lands on — in the link’s locale, or the first locale of its fallback chain this entry publishes. The revision is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Only what this revision took away is listed, and empty when it took none. A replay of the revision under the same `Idempotency-Key` answers the list the revision did. */
1951
2035
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2036
+ /** @description Each reference the content type declares `weak` that this revision made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the revision under the same `Idempotency-Key` answers the warnings the revision did. */
2037
+ warnings?: components['schemas']['WriteWarning'][];
1952
2038
  };
1953
- /** @description The settings group after a write or a reset: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere. */
2039
+ /** @description The settings group after a write or a reset: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere and the warnings it landed with. */
1954
2040
  RevisedSettingsGroup: {
1955
2041
  _metadata: components['schemas']['RevisedSettingsGroupMetadata'];
1956
2042
  } & {
1957
2043
  [key: string]: unknown;
1958
2044
  };
1959
- /** @description What this service reports about a settings group beside its fields, and the links a write left pointing nowhere. */
2045
+ /** @description What this service reports about a settings group beside its fields, the links a write left pointing nowhere, and the warnings it landed with. */
1960
2046
  RevisedSettingsGroupMetadata: {
1961
2047
  id: string;
1962
2048
  /** @description The settings group. */
@@ -1989,14 +2075,16 @@ interface components {
1989
2075
  updatedAt: string;
1990
2076
  /** @description Each entry link another entry publishes whose `anchor` names a heading this write took away from the settings group’s content, as an entry revision lists them. The write is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Empty when it took none away. A replay of the write under the same `Idempotency-Key` answers the list the write did. */
1991
2077
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2078
+ /** @description Each reference the settings group’s type declares `weak` that this write made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place, as an entry revision lists them. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the write under the same `Idempotency-Key` answers the warnings the write did. */
2079
+ warnings: components['schemas']['WriteWarning'][];
1992
2080
  };
1993
- /** @description The singleton after a write: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere. */
2081
+ /** @description The singleton after a write: its fields at the top level and `_metadata`, which also lists the links other entries publish that the write left pointing nowhere and the warnings it landed with. */
1994
2082
  RevisedSingleton: {
1995
2083
  _metadata: components['schemas']['RevisedSingletonMetadata'];
1996
2084
  } & {
1997
2085
  [key: string]: unknown;
1998
2086
  };
1999
- /** @description What this service reports about a singleton beside its fields, and the links a write left pointing nowhere. */
2087
+ /** @description What this service reports about a singleton beside its fields, the links a write left pointing nowhere, and the warnings it landed with. */
2000
2088
  RevisedSingletonMetadata: {
2001
2089
  id: string;
2002
2090
  /** @description The singleton type. */
@@ -2051,6 +2139,8 @@ interface components {
2051
2139
  emptyRequiredFields?: string[];
2052
2140
  /** @description Each entry link another entry publishes whose `anchor` names a heading this write took away from the singleton’s content, as an entry revision lists them. The write is never refused for them; the linking entry’s own next publish is (`ENTRY_LINK_ANCHOR_NOT_FOUND`). Empty when it took none away. A replay of the write under the same `Idempotency-Key` answers the list the write did. */
2053
2141
  brokenLinks?: components['schemas']['BrokenEntryLink'][];
2142
+ /** @description Each reference the singleton’s type declares `weak` that this write made live while the entry it points at is not published, as a `REFERENCE_NOT_PUBLISHED` warning at its place, as an entry revision lists them. The write is never refused for them; a strong reference to an unpublished entry is refused instead. Empty when there are none, and when the write made nothing live. A replay of the write under the same `Idempotency-Key` answers the warnings the write did. */
2143
+ warnings: components['schemas']['WriteWarning'][];
2054
2144
  };
2055
2145
  /** @description How a hit’s relevance was reached. Sent on a search that asked for `explain`. */
2056
2146
  ScoreBreakdown: {
@@ -2338,6 +2428,18 @@ interface components {
2338
2428
  /** @description The written entry, when the batch asked for it. */
2339
2429
  data?: unknown;
2340
2430
  };
2431
+ /** @description Something a write landed with and was not refused for, named as a refusal names an issue: where it stands, what it is, and a sentence. */
2432
+ WriteWarning: {
2433
+ /** @description Where it stands, as a value path naming a list item by its key: `related`, `cards[_key=="k1"].link`. */
2434
+ path: string;
2435
+ /**
2436
+ * @description `REFERENCE_NOT_PUBLISHED`: a reference the content type declares `weak` points at an entry that is not published, so a reader is served a reference it cannot follow yet.
2437
+ * @enum {string}
2438
+ */
2439
+ code: 'REFERENCE_NOT_PUBLISHED';
2440
+ /** @description The warning, for a person. */
2441
+ message: string;
2442
+ };
2341
2443
  };
2342
2444
  responses: never;
2343
2445
  parameters: never;
@@ -3193,7 +3295,7 @@ interface operations {
3193
3295
  };
3194
3296
  content: {
3195
3297
  'application/json': {
3196
- data: components['schemas']['Entry'];
3298
+ data: components['schemas']['CreatedEntry'];
3197
3299
  };
3198
3300
  };
3199
3301
  };
@@ -10896,14 +10998,46 @@ type CreateInput<T extends BaseContent> = WriteFields<T> & {
10896
10998
  locale?: string;
10897
10999
  };
10898
11000
  };
11001
+ /**
11002
+ * What a create answers: the entry, its `_metadata` also listing the warnings the publish landed
11003
+ * with — each reference the content type declares `weak` that it made live while the entry it
11004
+ * points at is unpublished (`REFERENCE_NOT_PUBLISHED`) — the document's `CreatedEntryMetadata`
11005
+ * (REL-3097). Always present, empty when there are none; the write is never refused for them.
11006
+ */
11007
+ type CreatedContent<T extends BaseContent> = Omit<T, '_metadata'> & {
11008
+ _metadata: T['_metadata'] & Pick<components['schemas']['CreatedEntryMetadata'], 'warnings'>;
11009
+ };
10899
11010
  /**
10900
11011
  * What a revision answers: the entry, its `_metadata` also listing the entry links other entries
10901
11012
  * publish that the revision left pointing nowhere — the document's `RevisedEntryMetadata`
10902
- * (REL-2110, REL-2130). The write is never refused for them; the linking entry's next publish is.
11013
+ * (REL-2110, REL-2130) — and the warnings the revision landed with, as a create's (REL-3097). The
11014
+ * write is never refused for either; the linking entry's next publish is.
10903
11015
  */
10904
11016
  type RevisedContent<T extends BaseContent> = Omit<T, '_metadata'> & {
10905
- _metadata: T['_metadata'] & Pick<components['schemas']['RevisedEntryMetadata'], 'brokenLinks'>;
11017
+ _metadata: T['_metadata'] & Pick<components['schemas']['RevisedEntryMetadata'], 'brokenLinks' | 'warnings'>;
11018
+ };
11019
+ /**
11020
+ * What a singleton write answers (`update`): the singleton, its `_metadata` also listing the entry
11021
+ * links other entries publish that the write left pointing nowhere and the warnings it landed with —
11022
+ * each reference declared `weak` that it made live while the entry it points at is unpublished
11023
+ * (`REFERENCE_NOT_PUBLISHED`) — the document's `RevisedSingletonMetadata` (REL-2130, REL-3097).
11024
+ * `warnings` is always present, empty when there are none; the write is never refused for either.
11025
+ */
11026
+ type WrittenSingleton<T> = Omit<T, '_metadata'> & {
11027
+ _metadata: MetadataOf<T> & Pick<components['schemas']['RevisedSingletonMetadata'], 'brokenLinks' | 'warnings'>;
11028
+ };
11029
+ /**
11030
+ * What a settings group write answers (`update`, `reset`): the group, its `_metadata` also listing
11031
+ * what the write left pointing nowhere and the warnings it landed with — the document's
11032
+ * `RevisedSettingsGroupMetadata` (REL-2130, REL-3097), as a singleton write's.
11033
+ */
11034
+ type WrittenSettingsGroup<T> = Omit<T, '_metadata'> & {
11035
+ _metadata: MetadataOf<T> & Pick<components['schemas']['RevisedSettingsGroupMetadata'], 'brokenLinks' | 'warnings'>;
10906
11036
  };
11037
+ /** A document's `_metadata`, or nothing for a type that declares none. */
11038
+ type MetadataOf<T> = T extends {
11039
+ _metadata: infer M;
11040
+ } ? M : unknown;
10907
11041
  /**
10908
11042
  * What a version restore answers: the entry, its `_metadata` also listing what the restore left out
10909
11043
  * and the links it left pointing nowhere — the document's `RestoredEntryMetadata` (REL-1793,
@@ -12401,4 +12535,4 @@ type InferContentType<T extends AnyContentTypeDefinition, S extends FieldSchemaC
12401
12535
  _metadata: EntryMetadata;
12402
12536
  };
12403
12537
 
12404
- export { enumField as $, type AIConfig as A, type BaseFieldConfig as B, type CodeConfig as C, type DateConfig as D, type EmailConfig as E, type FieldAIConfig as F, type RuleConditions as G, type SlugConfig as H, type IntegerConfig as I, type JsonConfig as J, type KeyedEnumConfig as K, type ListConfig as L, type TagsConfig as M, type VisibilityRule as N, type ObjectConfig as O, boolean as P, code as Q, type ReadOnlyRule as R, type ShortTextConfig as S, type TableConfig as T, type UrlConfig as U, type ValidationRule$1 as V, type WidgetOptions as W, date as X, dateTime as Y, decimal as Z, email as _, type AnyFieldDefinition as a, type AssetTypeDefinition as a$, integer as a0, json as a1, list as a2, longText as a3, object as a4, reference as a5, richText as a6, shortText as a7, slug as a8, table as a9, type TextDirection as aA, type LocaleOptions as aB, type LocaleDefinition as aC, defineContentType as aD, fieldset as aE, type Fieldset as aF, type DeclaredFieldset as aG, type AnyDeclaredFieldset as aH, type KeyedFieldsetConfig as aI, type FieldMember as aJ, type KeyedContentTypeConfig as aK, type ContentTypeDefinition as aL, type EntryMetadata as aM, type InferContentType as aN, type LocalePublicationFields as aO, defineSingleton as aP, type KeyedSingletonConfig as aQ, type SingletonContentTypeDefinition as aR, type SingletonMetadata as aS, type InferSingleton as aT, defineSettingsGroup as aU, type KeyedSettingsGroupConfig as aV, type SettingsGroupDefinition as aW, type SettingsGroupMetadata as aX, type InferSettingsGroup as aY, defineAssetType as aZ, type KeyedAssetTypeConfig as a_, tags as aa, url as ab, type FieldSchemaContext as ac, type FieldValue as ad, type FieldValues as ae, type DeclaredFields as af, type UnresolvedEntry as ag, type Keyed as ah, type BlockOf as ai, type ShapeValue as aj, type AssetReading as ak, type CheckedIncludes as al, type CheckInclude as am, type ContentReading as an, type IncludablePaths as ao, type Reading as ap, type ReadWith as aq, type SettingsReading as ar, type SingletonReading as as, type UntypedReading as at, defineLocale as au, isLocaleDefinition as av, getLocaleCodes as aw, findDefaultLocale as ax, getActiveLocales as ay, buildFallbackChain as az, type AnyKeyedField as b, type ViewFilterOperator as b$, type InferAssetType as b0, type InferAssetEntry as b1, type AssetServedBlocks as b2, type ImageKindConfig as b3, type VideoKindConfig as b4, type FileKindConfig as b5, type ImageTransform as b6, type ImageFitMode as b7, type ImageOutputFormat as b8, type ImageUploadConfig as b9, type KeyedRolesAsList as bA, defineWorkflow as bB, defineWorkflowStage as bC, defineContentTypeWorkflow as bD, isWorkflowDefinition as bE, isWorkflowStageDefinition as bF, getWorkflowStageIds as bG, findWorkflowStage as bH, getNextWorkflowStage as bI, getFirstWorkflowStage as bJ, isFinalWorkflowStage as bK, type WorkflowEscalation as bL, type WorkflowAutoAssign as bM, type WorkflowStageConfig as bN, type WorkflowStageDefinition as bO, type WorkflowDefinition as bP, type ContentTypeWorkflowConfig as bQ, type KeyedWorkflowConfig as bR, type KeyedWorkflowStageConfig as bS, type KeyedWorkflowStageDefinition as bT, type KeyedWorkflowStages as bU, defineView as bV, type ViewScopeConfig as bW, type ContentTypeScopeConfig as bX, type ContentTypesScopeConfig as bY, type EntryTypeScopeConfig as bZ, type AllScopeConfig as b_, type ImageSourceConfig as ba, type ImageExifConfig as bb, type VariantDefinition as bc, type VideoUploadConfig as bd, type VideoPosterConfig as be, type VideoCaptionsConfig as bf, type VideoDownloadConfig as bg, type VideoWatermarkConfig as bh, type FileUploadConfig as bi, type FileScanConfig as bj, defineRole as bk, isRoleDefinition as bl, isBuiltInRole as bm, getBuiltInRoleActions as bn, BUILT_IN_ROLES as bo, ROLE_ACTIONS as bp, BUILT_IN_ROLE_ACTIONS as bq, type BuiltInRole as br, type RoleAction as bs, type ResourcePermission as bt, type FieldVisibility as bu, type RoleConfig as bv, type RoleDefinition as bw, type KeyedRoleConfig as bx, type KeyedRoleDefinition as by, type KeyedRoles as bz, type AssetAIConfig as c, type paths as c$, type ViewFilterValue as c0, type ViewFilterRelativeDate as c1, type ViewFilterCondition as c2, type ViewFilter as c3, type ViewConfig as c4, type ViewDefinition as c5, type KeyedViewConfig as c6, type KeyedViewDefinition as c7, type KeyedViews as c8, type KeyedViewsAsList as c9, type CreateInput as cA, type RevisedContent as cB, type RestoredContent as cC, type ContentVersion as cD, type ContentVersionRow as cE, type UpdateInput as cF, type SingletonContent as cG, type CustomQuery as cH, type ContentTypeSchema as cI, type ValidationRule as cJ, type FieldOptions as cK, type RealtimeEventType as cL, type RealtimeEvent as cM, type SubscriptionOptions as cN, type PerformanceMetrics as cO, type CacheConfig as cP, type DebugConfig as cQ, type RequestConfig as cR, type ApiResponse as cS, type RetryConfig as cT, type CacheStrategy as cU, type LogLevel as cV, type Environment as cW, type ValidationViolation as cX, BaseValidationError as cY, ValidationError as cZ, InvalidPayloadError as c_, type InferJsonSchema as ca, type JsonFieldValue as cb, type JsonSchema as cc, type JsonValue as cd, type CheckedLocales as ce, type CheckedRoles as cf, type CheckedWorkflow as cg, type CheckedSection as ch, type KeysDeclared as ci, type LocaleCodesOf as cj, type StagesDeclared as ck, SDKError as cl, type RelyIOConfig as cm, type RelyIOConfigUpdate as cn, type LiveWebSocket as co, type LiveWebSocketConstructor as cp, type AssetFileBlock as cq, type AssetUrls as cr, type BaseContent as cs, type BaseSingleton as ct, type BaseSettingsGroup as cu, type WhereScalar as cv, type WhereFieldCondition as cw, type WhereClause as cx, type WhereOperator as cy, type DateOnlyOperator as cz, type BooleanConfig as d, type MergedRelyIOConfig as d0, type ReadWhere as d1, type components as d2, type CheckedInclude as d3, type FieldDefinition as d4, type DateTimeConfig as e, type DecimalConfig as f, type EnumConfig as g, type FieldDefinition$1 as h, type FieldRule as i, type FieldType as j, type FieldUIConfig as k, type KeyedField as l, type KeyedFieldOptions as m, type KeyedFields as n, type KeyedFieldsOf as o, type KeyedMembers as p, type KeyedMembersOf as q, type LocalizationConfig as r, type Localized as s, type LocalizedDetails as t, type LongTextConfig as u, type ReferenceConfig as v, type RequirementRule as w, type RichTextConfig as x, type RichTextLinks as y, type RuleCondition as z };
12538
+ export { enumField as $, type AIConfig as A, type BaseFieldConfig as B, type CodeConfig as C, type DateConfig as D, type EmailConfig as E, type FieldAIConfig as F, type RuleConditions as G, type SlugConfig as H, type IntegerConfig as I, type JsonConfig as J, type KeyedEnumConfig as K, type ListConfig as L, type TagsConfig as M, type VisibilityRule as N, type ObjectConfig as O, boolean as P, code as Q, type ReadOnlyRule as R, type ShortTextConfig as S, type TableConfig as T, type UrlConfig as U, type ValidationRule$1 as V, type WidgetOptions as W, date as X, dateTime as Y, decimal as Z, email as _, type AnyFieldDefinition as a, type AssetTypeDefinition as a$, integer as a0, json as a1, list as a2, longText as a3, object as a4, reference as a5, richText as a6, shortText as a7, slug as a8, table as a9, type TextDirection as aA, type LocaleOptions as aB, type LocaleDefinition as aC, defineContentType as aD, fieldset as aE, type Fieldset as aF, type DeclaredFieldset as aG, type AnyDeclaredFieldset as aH, type KeyedFieldsetConfig as aI, type FieldMember as aJ, type KeyedContentTypeConfig as aK, type ContentTypeDefinition as aL, type EntryMetadata as aM, type InferContentType as aN, type LocalePublicationFields as aO, defineSingleton as aP, type KeyedSingletonConfig as aQ, type SingletonContentTypeDefinition as aR, type SingletonMetadata as aS, type InferSingleton as aT, defineSettingsGroup as aU, type KeyedSettingsGroupConfig as aV, type SettingsGroupDefinition as aW, type SettingsGroupMetadata as aX, type InferSettingsGroup as aY, defineAssetType as aZ, type KeyedAssetTypeConfig as a_, tags as aa, url as ab, type FieldSchemaContext as ac, type FieldValue as ad, type FieldValues as ae, type DeclaredFields as af, type UnresolvedEntry as ag, type Keyed as ah, type BlockOf as ai, type ShapeValue as aj, type AssetReading as ak, type CheckedIncludes as al, type CheckInclude as am, type ContentReading as an, type IncludablePaths as ao, type Reading as ap, type ReadWith as aq, type SettingsReading as ar, type SingletonReading as as, type UntypedReading as at, defineLocale as au, isLocaleDefinition as av, getLocaleCodes as aw, findDefaultLocale as ax, getActiveLocales as ay, buildFallbackChain as az, type AnyKeyedField as b, type ViewFilterOperator as b$, type InferAssetType as b0, type InferAssetEntry as b1, type AssetServedBlocks as b2, type ImageKindConfig as b3, type VideoKindConfig as b4, type FileKindConfig as b5, type ImageTransform as b6, type ImageFitMode as b7, type ImageOutputFormat as b8, type ImageUploadConfig as b9, type KeyedRolesAsList as bA, defineWorkflow as bB, defineWorkflowStage as bC, defineContentTypeWorkflow as bD, isWorkflowDefinition as bE, isWorkflowStageDefinition as bF, getWorkflowStageIds as bG, findWorkflowStage as bH, getNextWorkflowStage as bI, getFirstWorkflowStage as bJ, isFinalWorkflowStage as bK, type WorkflowEscalation as bL, type WorkflowAutoAssign as bM, type WorkflowStageConfig as bN, type WorkflowStageDefinition as bO, type WorkflowDefinition as bP, type ContentTypeWorkflowConfig as bQ, type KeyedWorkflowConfig as bR, type KeyedWorkflowStageConfig as bS, type KeyedWorkflowStageDefinition as bT, type KeyedWorkflowStages as bU, defineView as bV, type ViewScopeConfig as bW, type ContentTypeScopeConfig as bX, type ContentTypesScopeConfig as bY, type EntryTypeScopeConfig as bZ, type AllScopeConfig as b_, type ImageSourceConfig as ba, type ImageExifConfig as bb, type VariantDefinition as bc, type VideoUploadConfig as bd, type VideoPosterConfig as be, type VideoCaptionsConfig as bf, type VideoDownloadConfig as bg, type VideoWatermarkConfig as bh, type FileUploadConfig as bi, type FileScanConfig as bj, defineRole as bk, isRoleDefinition as bl, isBuiltInRole as bm, getBuiltInRoleActions as bn, BUILT_IN_ROLES as bo, ROLE_ACTIONS as bp, BUILT_IN_ROLE_ACTIONS as bq, type BuiltInRole as br, type RoleAction as bs, type ResourcePermission as bt, type FieldVisibility as bu, type RoleConfig as bv, type RoleDefinition as bw, type KeyedRoleConfig as bx, type KeyedRoleDefinition as by, type KeyedRoles as bz, type AssetAIConfig as c, BaseValidationError as c$, type ViewFilterValue as c0, type ViewFilterRelativeDate as c1, type ViewFilterCondition as c2, type ViewFilter as c3, type ViewConfig as c4, type ViewDefinition as c5, type KeyedViewConfig as c6, type KeyedViewDefinition as c7, type KeyedViews as c8, type KeyedViewsAsList as c9, type CreateInput as cA, type CreatedContent as cB, type RevisedContent as cC, type WrittenSingleton as cD, type WrittenSettingsGroup as cE, type RestoredContent as cF, type ContentVersion as cG, type ContentVersionRow as cH, type UpdateInput as cI, type SingletonContent as cJ, type CustomQuery as cK, type ContentTypeSchema as cL, type ValidationRule as cM, type FieldOptions as cN, type RealtimeEventType as cO, type RealtimeEvent as cP, type SubscriptionOptions as cQ, type PerformanceMetrics as cR, type CacheConfig as cS, type DebugConfig as cT, type RequestConfig as cU, type ApiResponse as cV, type RetryConfig as cW, type CacheStrategy as cX, type LogLevel as cY, type Environment as cZ, type ValidationViolation as c_, type InferJsonSchema as ca, type JsonFieldValue as cb, type JsonSchema as cc, type JsonValue as cd, type CheckedLocales as ce, type CheckedRoles as cf, type CheckedWorkflow as cg, type CheckedSection as ch, type KeysDeclared as ci, type LocaleCodesOf as cj, type StagesDeclared as ck, SDKError as cl, type RelyIOConfig as cm, type RelyIOConfigUpdate as cn, type LiveWebSocket as co, type LiveWebSocketConstructor as cp, type AssetFileBlock as cq, type AssetUrls as cr, type BaseContent as cs, type BaseSingleton as ct, type BaseSettingsGroup as cu, type WhereScalar as cv, type WhereFieldCondition as cw, type WhereClause as cx, type WhereOperator as cy, type DateOnlyOperator as cz, type BooleanConfig as d, ValidationError as d0, InvalidPayloadError as d1, type paths as d2, type MergedRelyIOConfig as d3, type ReadWhere as d4, type components as d5, type CheckedInclude as d6, type FieldDefinition as d7, type DateTimeConfig as e, type DecimalConfig as f, type EnumConfig as g, type FieldDefinition$1 as h, type FieldRule as i, type FieldType as j, type FieldUIConfig as k, type KeyedField as l, type KeyedFieldOptions as m, type KeyedFields as n, type KeyedFieldsOf as o, type KeyedMembers as p, type KeyedMembersOf as q, type LocalizationConfig as r, type Localized as s, type LocalizedDetails as t, type LongTextConfig as u, type ReferenceConfig as v, type RequirementRule as w, type RichTextConfig as x, type RichTextLinks as y, type RuleCondition as z };
@@ -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-CAWSlgn0.js';
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-BGoQxqLf.js';
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-LkI0rS2W.cjs';
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-AuL9-oz6.cjs';
2
2
 
3
3
  /**
4
4
  * Query definition matching @relyio/schema QueryDefinitionSchema