@ebitex/content-sdk 0.20.90 → 0.20.92

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 (124) hide show
  1. package/README.md +2 -0
  2. package/dist/cli/codegen.d.ts +5 -6
  3. package/dist/cli/codegen.d.ts.map +1 -1
  4. package/dist/cli/codegen.js.map +1 -1
  5. package/dist/cli/emitTypes.d.ts +8 -10
  6. package/dist/cli/emitTypes.d.ts.map +1 -1
  7. package/dist/cli/emitTypes.js +15 -19
  8. package/dist/cli/emitTypes.js.map +1 -1
  9. package/dist/content/addressing.d.ts +9 -9
  10. package/dist/content/addressing.d.ts.map +1 -1
  11. package/dist/content/addressing.js +1 -1
  12. package/dist/content/addressing.js.map +1 -1
  13. package/dist/content/cache.d.ts +16 -16
  14. package/dist/content/cache.js +11 -11
  15. package/dist/content/client.d.ts +47 -52
  16. package/dist/content/client.d.ts.map +1 -1
  17. package/dist/content/client.js +68 -78
  18. package/dist/content/client.js.map +1 -1
  19. package/dist/content/locale.d.ts +4 -4
  20. package/dist/content/locale.js +4 -4
  21. package/dist/content/navigation.d.ts +3 -3
  22. package/dist/content/overlay.d.ts +8 -10
  23. package/dist/content/overlay.d.ts.map +1 -1
  24. package/dist/content/overlay.js +8 -10
  25. package/dist/content/overlay.js.map +1 -1
  26. package/dist/content/paths.d.ts +5 -6
  27. package/dist/content/paths.d.ts.map +1 -1
  28. package/dist/content/paths.js +5 -6
  29. package/dist/content/paths.js.map +1 -1
  30. package/dist/content/persistence.d.ts +16 -18
  31. package/dist/content/persistence.d.ts.map +1 -1
  32. package/dist/content/persistence.js +8 -9
  33. package/dist/content/persistence.js.map +1 -1
  34. package/dist/content/shared.d.ts +1 -1
  35. package/dist/content/shared.d.ts.map +1 -1
  36. package/dist/content/shared.js +12 -13
  37. package/dist/content/shared.js.map +1 -1
  38. package/dist/content/site.d.ts +7 -7
  39. package/dist/content/site.js +7 -7
  40. package/dist/content/strategy.d.ts +10 -13
  41. package/dist/content/strategy.d.ts.map +1 -1
  42. package/dist/content/strategy.js +2 -2
  43. package/dist/content/strategy.js.map +1 -1
  44. package/dist/content/walk.d.ts +9 -9
  45. package/dist/content/walk.js +9 -9
  46. package/dist/delivery/client.d.ts +43 -44
  47. package/dist/delivery/client.d.ts.map +1 -1
  48. package/dist/delivery/client.js +1 -1
  49. package/dist/delivery/client.js.map +1 -1
  50. package/dist/errors.d.ts +6 -6
  51. package/dist/errors.d.ts.map +1 -1
  52. package/dist/errors.js +4 -4
  53. package/dist/guards.d.ts +15 -14
  54. package/dist/guards.d.ts.map +1 -1
  55. package/dist/guards.js +15 -14
  56. package/dist/guards.js.map +1 -1
  57. package/dist/marker.d.ts +9 -11
  58. package/dist/marker.d.ts.map +1 -1
  59. package/dist/marker.js +9 -11
  60. package/dist/marker.js.map +1 -1
  61. package/dist/preview/index.d.ts +3 -3
  62. package/dist/preview/index.js +3 -3
  63. package/dist/preview/protocol.d.ts +15 -19
  64. package/dist/preview/protocol.d.ts.map +1 -1
  65. package/dist/preview/protocol.js +4 -5
  66. package/dist/preview/protocol.js.map +1 -1
  67. package/dist/react/ContentProvider.d.ts +1 -1
  68. package/dist/react/ContentProvider.d.ts.map +1 -1
  69. package/dist/react/EditorEntryCta.d.ts +7 -12
  70. package/dist/react/EditorEntryCta.d.ts.map +1 -1
  71. package/dist/react/EditorEntryCta.js +7 -12
  72. package/dist/react/EditorEntryCta.js.map +1 -1
  73. package/dist/react/Experience.d.ts +8 -8
  74. package/dist/react/Experience.js +1 -1
  75. package/dist/react/Experience.js.map +1 -1
  76. package/dist/react/PresentationList.d.ts +1 -1
  77. package/dist/react/PresentationList.d.ts.map +1 -1
  78. package/dist/react/PreviewBridge.d.ts +11 -12
  79. package/dist/react/PreviewBridge.d.ts.map +1 -1
  80. package/dist/react/PreviewBridge.js +6 -6
  81. package/dist/react/PreviewBridge.js.map +1 -1
  82. package/dist/react/PreviewOverlay.d.ts +4 -4
  83. package/dist/react/PreviewOverlay.js +5 -5
  84. package/dist/react/PreviewOverlay.js.map +1 -1
  85. package/dist/react/RenderPresentation.d.ts +5 -5
  86. package/dist/react/RenderPresentation.js +5 -5
  87. package/dist/react/Resolve.d.ts +9 -10
  88. package/dist/react/Resolve.d.ts.map +1 -1
  89. package/dist/react/Resolve.js +9 -10
  90. package/dist/react/Resolve.js.map +1 -1
  91. package/dist/react/RichText.d.ts +4 -4
  92. package/dist/react/RichText.js +4 -4
  93. package/dist/react/StandaloneComponent.d.ts +8 -9
  94. package/dist/react/StandaloneComponent.d.ts.map +1 -1
  95. package/dist/react/StandaloneComponent.js +8 -9
  96. package/dist/react/StandaloneComponent.js.map +1 -1
  97. package/dist/react/ownerContext.d.ts +8 -8
  98. package/dist/react/ownerContext.js +8 -8
  99. package/dist/react/panels.d.ts +2 -2
  100. package/dist/react/panels.d.ts.map +1 -1
  101. package/dist/react/previewContext.d.ts +17 -18
  102. package/dist/react/previewContext.d.ts.map +1 -1
  103. package/dist/react/previewContext.js +3 -3
  104. package/dist/react/previewContext.js.map +1 -1
  105. package/dist/react/useNavigation.d.ts +4 -5
  106. package/dist/react/useNavigation.d.ts.map +1 -1
  107. package/dist/react/useNavigation.js +4 -5
  108. package/dist/react/useNavigation.js.map +1 -1
  109. package/dist/sitemap/documents.d.ts +4 -4
  110. package/dist/sitemap/documents.js +0 -0
  111. package/dist/sitemap/documents.js.map +1 -1
  112. package/dist/sitemap/index.d.ts +7 -9
  113. package/dist/sitemap/index.d.ts.map +1 -1
  114. package/dist/sitemap/index.js +7 -9
  115. package/dist/sitemap/index.js.map +1 -1
  116. package/dist/sitemap/xml.d.ts +12 -13
  117. package/dist/sitemap/xml.d.ts.map +1 -1
  118. package/dist/sitemap/xml.js +6 -8
  119. package/dist/sitemap/xml.js.map +1 -1
  120. package/dist/types.d.ts +88 -95
  121. package/dist/types.d.ts.map +1 -1
  122. package/dist/types.js +1 -2
  123. package/dist/types.js.map +1 -1
  124. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -1,13 +1,12 @@
1
1
  /**
2
- * The Content Delivery API's **delivered vocabulary** (docs/content-delivery-api.md §3–§9, spec
3
- * 351-delivery-template-content-shape-unification), transcribed. Every shape here is what the API
2
+ * The Content Delivery API's **delivered vocabulary**, transcribed. Every shape here is what the API
4
3
  * returns — never a client-side invention — so a value can always be mapped back to what was
5
4
  * authored. Field-value documents are `Record<string, unknown>` by default; narrow them with the
6
5
  * generic parameters (`PresentationEnvelope<HeroContent, HeroSettings>`) in your own renderers.
7
6
  */
8
7
  import type { PreviewSource } from './preview/protocol.js';
9
8
  export type { PreviewSource };
10
- /** `{ id, externalId, version }` — how a Contract or Template is identified everywhere in a response (§3b). `version` is `null` only for a row published before spec 351 that hasn't been republished since. */
9
+ /** `{ id, externalId, version }` — how a Contract or Template is identified everywhere in a response. `version` is `null` only for content published by an older server and not republished since. */
11
10
  export interface EntityDescriptor {
12
11
  id: string;
13
12
  externalId: string | null;
@@ -21,26 +20,25 @@ export interface SiteSummary {
21
20
  /** Mapped hostnames (no port). Empty for a site with no host mapping. */
22
21
  hosts: string[];
23
22
  /**
24
- * Spec 416-sites-locales-edge-cache: the delivery environment this key resolves to — additive,
25
- * so it's absent against a not-yet-upgraded origin. Once a live response reveals it,
26
- * `createContentClient` sends it back as `env=` on every later `/sites`/`/locales` call in the
27
- * session, letting the edge serve those requests without reaching origin at all.
23
+ * The delivery environment this key resolves to — absent against an older server. Once a live
24
+ * response reveals it, `createContentClient` sends it back as `env=` on every later
25
+ * `/sites`/`/locales` call in the session, letting the edge serve those requests without reaching
26
+ * origin at all.
28
27
  */
29
28
  deliveryEnvironmentId?: string;
30
29
  /**
31
- * Spec 712-locale-addressing: how this site puts a locale into an address. Absent means
32
- * `invariant` — the locale is a separate `locale=` parameter and addresses carry none, which is
33
- * every site configured before this member existed and every site configured nothing since.
30
+ * How this site puts a locale into an address. Absent means `invariant` — the locale is a separate
31
+ * `locale=` parameter and addresses carry none.
34
32
  *
35
33
  * `createContentClient` reads it to decide how to address `GET /path` and `GET /nodes`; see
36
- * {@link SiteAddressing}. Additive, so a pre-712 SDK ignores it and still matches the site by
37
- * `hosts` — and then sends `locale=` to a site that refuses it (`400 locale_not_addressable`),
38
- * which is why flipping a site off `invariant` is a coordinated deploy with the SDK version.
34
+ * {@link SiteAddressing}. An older SDK that does not read this member still matches the site by
35
+ * `hosts` — and then sends `locale=` to a site that refuses it (`400 locale_not_addressable`), so
36
+ * move a site off `invariant` only once its consumers run an SDK that reads it.
39
37
  */
40
38
  addressing?: SiteAddressing;
41
39
  }
42
40
  /**
43
- * Spec 712-locale-addressing: a site's locale addressing strategy, as `GET /sites` reports it.
41
+ * A site's locale addressing strategy, as `GET /sites` reports it.
44
42
  *
45
43
  * - `pathPrefix` — the locale is the address's leading segment (`/fr/cafes`). With
46
44
  * `prefixDefaultLocale: false` the default locale is bare (`/cafes`); with `true` it is prefixed
@@ -112,13 +110,13 @@ export interface SitemapLocalePath {
112
110
  locale: string;
113
111
  /**
114
112
  * Site-relative, in the site's own URL space: exactly as published under an `invariant` site, and
115
- * already carrying its locale prefix under a `pathPrefix` one (spec 712).
113
+ * already carrying its locale prefix under a `pathPrefix` one.
116
114
  */
117
115
  path: string;
118
116
  /**
119
- * Spec 712: the absolute address of this locale's version, present under a `localeHost` site —
120
- * where a path alone cannot say which host serves it. `buildSitemapXml` prefers it over
121
- * `origin + path` whenever it is present.
117
+ * The absolute address of this locale's version, present under a `localeHost` site — where a path
118
+ * alone cannot say which host serves it. `buildSitemapXml` prefers it over `origin + path`
119
+ * whenever it is present.
122
120
  */
123
121
  url?: string;
124
122
  }
@@ -131,14 +129,14 @@ export interface SitemapNode {
131
129
  nodeId: string;
132
130
  /**
133
131
  * Site-relative, in the default locale slot — and in the site's URL space, so prefixed under a
134
- * `pathPrefix` site with `prefixDefaultLocale` (spec 712). Never null — a node with no default
135
- * path is omitted rather than listed.
132
+ * `pathPrefix` site with `prefixDefaultLocale`. Never null — a node with no default path is
133
+ * omitted rather than listed.
136
134
  */
137
135
  path: string;
138
136
  /**
139
- * Spec 712: the absolute address of the default-locale version, present under a `localeHost`
140
- * site. `buildSitemapXml` prefers it over `origin + path` whenever it is present — one `origin`
141
- * cannot express a site whose locales live on different hosts.
137
+ * The absolute address of the default-locale version, present under a `localeHost` site.
138
+ * `buildSitemapXml` prefers it over `origin + path` whenever it is present — one `origin` cannot
139
+ * express a site whose locales live on different hosts.
142
140
  */
143
141
  url?: string;
144
142
  /**
@@ -154,13 +152,13 @@ export interface SitemapNode {
154
152
  */
155
153
  localeSlots: SitemapLocalePath[];
156
154
  /**
157
- * When this page's content last actually changed, ISO-8601 UTC — the `<lastmod>` source (spec 545).
155
+ * When this page's content last actually changed, ISO-8601 UTC — the `<lastmod>` source.
158
156
  *
159
157
  * Not a publish timestamp: a republish that changes nothing leaves it alone, which is what makes it
160
158
  * safe to advertise. It is the later of the page's own change date and that of the Component bound
161
159
  * directly to it; a Component nested one level deeper does not move it, so the value can be older
162
- * than the truth but never newer. `null` when the page has never been republished since the field
163
- * existed — emit no `<lastmod>` at all rather than inventing one.
160
+ * than the truth but never newer. `null` when no change date is known (content last published by
161
+ * an older server) — emit no `<lastmod>` at all rather than inventing one.
164
162
  */
165
163
  lastmod?: string | null;
166
164
  }
@@ -176,27 +174,25 @@ export interface SitemapResult {
176
174
  nodes: SitemapNode[];
177
175
  }
178
176
  /**
179
- * One JSON Schema (draft 2020-12) document as compiled by `Content.Api.Delivery.DeliveredSchemaCompiler`
180
- * — loosely typed since JSON Schema itself is open-ended; `cli/emitTypes.ts` narrows into the
181
- * specific shapes that compiler actually produces rather than implementing a general JSON-Schema-to-
182
- * TypeScript translator.
177
+ * One JSON Schema (draft 2020-12) document as the Delivery API compiles it — loosely typed since
178
+ * JSON Schema itself is open-ended; the codegen CLI narrows into the specific shapes the server
179
+ * actually produces rather than implementing a general JSON-Schema-to-TypeScript translator.
183
180
  */
184
181
  export type JsonSchemaNode = Record<string, unknown>;
185
182
  /**
186
- * `GET /schemas` (docs/content-delivery-api.md's schema bundle section) — one self-contained
187
- * document describing the delivered shape of every Contract reachable in the calling key's
188
- * environment, keyed `{contractId}@{version}` under `$defs`, `$ref`-resolvable only within this same
189
- * document (never a separate fetch per Contract).
183
+ * `GET /schemas` — one self-contained document describing the delivered shape of every Contract
184
+ * reachable in the calling key's environment, keyed `{contractId}@{version}` under `$defs`,
185
+ * `$ref`-resolvable only within this same document (never a separate fetch per Contract).
190
186
  */
191
187
  export interface SchemaBundle {
192
188
  readonly $id: string;
193
189
  readonly $defs: Record<string, JsonSchemaNode>;
194
190
  /**
195
- * Which delivery mode these schemas describe (issue #585). `'server-resolve'` — the only value a
196
- * server sends today — means every field is the shape a request carrying a `ctx` bag and no `raw`
197
- * receives. A **client-resolve** request (no `ctx`) instead gets the unresolved variant-set
198
- * envelope for each field the bundle marks `x-personalizable`, and `raw=true` the locale envelope
199
- * for each `x-localizable` one; neither is described here.
191
+ * Which delivery mode these schemas describe. `'server-resolve'` — the only value a server sends
192
+ * today — means every field is the shape a request carrying a `ctx` bag and no `raw` receives. A
193
+ * **client-resolve** request (no `ctx`) instead gets the unresolved variant-set envelope for each
194
+ * field the bundle marks `x-personalizable`, and `raw=true` the locale envelope for each
195
+ * `x-localizable` one; neither is described here.
200
196
  *
201
197
  * Optional because a server older than the annotation sends none — consumers should treat its
202
198
  * absence as "unstated" rather than assuming a mode.
@@ -206,7 +202,7 @@ export interface SchemaBundle {
206
202
  export type BagValue = string | number | boolean | null;
207
203
  export type BagPropertyValue = BagValue | BagValue[];
208
204
  /**
209
- * The personalization context (§8): reserved `audiences` (consumer-computed trait names) plus any
205
+ * The personalization context: reserved `audiences` (consumer-computed trait names) plus any
210
206
  * flat, org-defined scalar/string-list properties. `locale` is reserved too, but the server always
211
207
  * overwrites it with the request's own `?locale=`, so the SDK never sets it.
212
208
  */
@@ -215,7 +211,7 @@ export interface ContextBag {
215
211
  [property: string]: BagPropertyValue | undefined;
216
212
  }
217
213
  /**
218
- * Which Adapter mapped a binding (§5b): a named one (`id`/`externalId`) or an inline, unnamed one.
214
+ * Which Adapter mapped a binding: a named one (`id`/`externalId`) or an inline, unnamed one.
219
215
  * The frozen descriptor also carries the mapping's own `rules` and `outputContract`; they are
220
216
  * opaque here — there is no client-side mapping engine, by design.
221
217
  */
@@ -238,18 +234,18 @@ interface ReferenceBase {
238
234
  contextualValues?: ContentDocument;
239
235
  adapter?: AdapterDescriptor;
240
236
  /**
241
- * Where the referenced Component lives, when the read asked for it (`referencePaths: true`, spec
242
- * 565-reference-paths) — one `{siteRootNodeId, path}` per live published node whose root
243
- * Presentation payload binds it, exactly the rule and value `listComponents({ paths: true })`
244
- * reports for an *item*. `[]` means the target is bound at no live node (a fragment, or a page
245
- * not yet placed); the member being **absent** means the read did not ask. Relative paths — pick
246
- * one for your site with `pathForSite`.
237
+ * Where the referenced Component lives, when the read asked for it (`referencePaths: true`) — one
238
+ * `{siteRootNodeId, path}` per live published node whose root Presentation payload binds it,
239
+ * exactly the rule and value `listComponents({ paths: true })` reports for an *item*. `[]` means
240
+ * the target is bound at no live node (a fragment, or a page not yet placed); the member being
241
+ * **absent** means the read did not ask. Relative paths — pick one for your site with
242
+ * `pathForSite`.
247
243
  *
248
244
  * Present on an unexpanded descriptor too, which is what lets a `resolve: 0` read build
249
245
  * navigation. Always absent on a category descriptor, whose own `path` means something else.
250
246
  */
251
247
  paths?: ComponentPathEntry[];
252
- /** Live preview only (spec 342): the authoring entity behind this value. Never present on a delivery response. */
248
+ /** Live preview only: the authoring entity behind this value. Never present on a delivery response. */
253
249
  preview?: PreviewSource;
254
250
  }
255
251
  /** A reference not resolved in this response: fetch it (`resolveReference`) or request a deeper `resolve`. */
@@ -263,7 +259,7 @@ export interface ExpandedReference<TContent = ContentDocument> extends Reference
263
259
  adapterWarnings?: AdapterWarning[];
264
260
  unresolvable?: undefined;
265
261
  }
266
- /** A reference the server attempted and could not resolve (§5) — it never says why. */
262
+ /** A reference the server attempted and could not resolve — it never says why. */
267
263
  export interface UnresolvableReference extends ReferenceBase {
268
264
  unresolvable: true;
269
265
  content?: undefined;
@@ -278,16 +274,15 @@ export interface InlineValue<TContent = ContentDocument> {
278
274
  unresolvable?: undefined;
279
275
  /**
280
276
  * Never present: an inline value is authored in place, so there is no entity for a node to bind
281
- * and nothing to address (spec 565-reference-paths). Declared rather than merely absent, the same
282
- * way `provider`/`key` are above — without it, the natural
283
- * `isResolved(value) ? value.paths : undefined` does not typecheck on the narrowed union, which
284
- * is the one line every consumer of this feature writes.
277
+ * and nothing to address. Declared rather than merely absent, the same way `provider`/`key` are
278
+ * above — without it, the natural `isResolved(value) ? value.paths : undefined` does not typecheck
279
+ * on the narrowed union.
285
280
  */
286
281
  paths?: undefined;
287
- /** Live preview only (spec 342). */
282
+ /** Live preview only. */
288
283
  preview?: PreviewSource;
289
284
  }
290
- /** Every row of docs/content-delivery-api.md §3b's table, decidable from the value alone (see `guards.ts`). */
285
+ /** Every shape a component value can take, each decidable from the value alone with the exported guards (`isResolved` and its siblings). */
291
286
  export type ComponentValue<TContent = ContentDocument> = UnexpandedReference | ExpandedReference<TContent> | UnresolvableReference | InlineValue<TContent>;
292
287
  /** A component value a renderer can render right now — `content` is present. */
293
288
  export type RenderableComponentValue<TContent = ContentDocument> = ExpandedReference<TContent> | InlineValue<TContent>;
@@ -296,7 +291,7 @@ export interface PresentationEnvelope<TContent = ContentDocument, TSettings = Co
296
291
  template: EntityDescriptor;
297
292
  settings: TSettings;
298
293
  component: ComponentValue<TContent>;
299
- /** Live preview only (spec 342): the field this Presentation value sits in. Never present on a delivery response. */
294
+ /** Live preview only: the field this Presentation value sits in. Never present on a delivery response. */
300
295
  preview?: PreviewSource;
301
296
  }
302
297
  export interface PresentationPathResult {
@@ -304,28 +299,28 @@ export interface PresentationPathResult {
304
299
  nodeId: string;
305
300
  path: string;
306
301
  /**
307
- * Spec 693 — the title the CMS computed for this *address*: the node's own contextual override
308
- * where there is one, the bound component's frozen title otherwise, and the node's internal editor
309
- * label as the floor, so a server never sees an empty one. `titleSource` says which answered.
302
+ * The title the CMS computed for this *address*: the node's own contextual override where there is
303
+ * one, the bound component's frozen title otherwise, and the node's internal editor label as the
304
+ * floor, so a server never sees an empty one. `titleSource` says which answered.
310
305
  *
311
- * Optional because the value can genuinely be absent on this side of the wire even though the
312
- * server always sends one: against an origin predating spec 693, and on a result constructed
313
- * locally rather than fetched (a live-preview draft has no frozen title). Write
306
+ * Optional because the value can genuinely be absent on this side of the wire even though a
307
+ * current server always sends one: against an older server, and on a result constructed locally
308
+ * rather than fetched (a live-preview draft has no frozen title). Write
314
309
  * `result.title ?? 'Your fallback'`.
315
310
  */
316
311
  title?: string;
317
312
  /** `content` = from the bound content, whether the address overrode it or not; `name` = the node's internal label, meaning no Contract in the chain declares a title field. */
318
313
  titleSource?: 'content' | 'name';
319
314
  /**
320
- * Spec 712-locale-addressing: the locale this address resolved to — what a root layout sets
321
- * `<html lang>` from. Sent for a site with a locale addressing strategy (the address carries the
322
- * locale, so the server is the one that knows it); absent against an `invariant` site and against
323
- * an origin predating spec 712. `null` when the organization has no locale tree to name one from.
315
+ * The locale this address resolved to — what a root layout sets `<html lang>` from. Sent for a
316
+ * site with a locale addressing strategy (the address carries the locale, so the server is the one
317
+ * that knows it); absent against an `invariant` site and against an older server. `null` when the
318
+ * organization has no locale tree to name one from.
324
319
  */
325
320
  locale?: string | null;
326
321
  /**
327
- * Spec 712: the locale slot the path was found in. Usually the locale's own code, but `default`
328
- * when that locale has no materialized slot yet and the page was found by its default path.
322
+ * The locale slot the path was found in. Usually the locale's own code, but `default` when that
323
+ * locale has no materialized slot yet and the page was found by its default path.
329
324
  */
330
325
  localeSlot?: string;
331
326
  presentation: PresentationEnvelope;
@@ -337,17 +332,16 @@ export interface RedirectPathResult {
337
332
  targetNodeId: string | null;
338
333
  }
339
334
  export type PathResult = PresentationPathResult | RedirectPathResult;
340
- /** One published address of a listed component — spec 513. `path` is site-relative; the site's hosts come from `listSites`. */
335
+ /** One published address of a listed component. `path` is site-relative; the site's hosts come from `listSites`. */
341
336
  export interface ComponentPathEntry {
342
337
  siteRootNodeId: string;
343
- /** Site-relative, in the *target* site's URL space — prefixed under a `pathPrefix` site (spec 712). */
338
+ /** Site-relative, in the *target* site's URL space — prefixed under a `pathPrefix` site. */
344
339
  path: string;
345
340
  /**
346
- * Spec 712: the absolute address, present when this entry is in a **different** site from the
347
- * request's own (the `site` you passed; the high-level client passes its own). A bare relative
348
- * path plus a `siteRootNodeId` is not a usable link into another site, and under a `localeHost`
349
- * site would be a different, wrong page — so link with this whenever it is present.
350
- * `pathForSite` does.
341
+ * The absolute address, present when this entry is in a **different** site from the request's own
342
+ * (the `site` you passed; the high-level client passes its own). A bare relative path plus a
343
+ * `siteRootNodeId` is not a usable link into another site, and under a `localeHost` site would be
344
+ * a different, wrong page — so link with this whenever it is present. `pathForSite` does.
351
345
  */
352
346
  url?: string;
353
347
  }
@@ -358,21 +352,21 @@ export interface ComponentListItem {
358
352
  /**
359
353
  * Present iff the query asked for the content projection (`content: true`) — the item's
360
354
  * resolved document, shaped exactly like `getComponent`'s own `content` for the same read
361
- * options (spec 512).
355
+ * options.
362
356
  */
363
357
  content?: ContentDocument;
364
358
  /**
365
359
  * Present iff the query asked for published addresses (`paths: true`) — every live published
366
- * node whose root Presentation payload binds this component (spec 513). Empty for a component
367
- * published but bound at no node (a fragment, or a page not yet placed).
360
+ * node whose root Presentation payload binds this component. Empty for a component published but
361
+ * bound at no node (a fragment, or a page not yet placed).
368
362
  */
369
363
  paths?: ComponentPathEntry[];
370
364
  /**
371
- * Spec 532-delivery-navigation-queries: the human title of this component — the value at its
372
- * Contract chain's declared title field, frozen at publish and locale-resolved per request.
373
- * `null` when no Contract in the chain declares one, or when the declaration doesn't resolve.
374
- * Always the *component's own* title, even when a stream projects the item through an Adapter;
375
- * a node's contextually overridden title for one address comes from `listNodes` instead.
365
+ * The human title of this component — the value at its Contract chain's declared title field,
366
+ * frozen at publish and locale-resolved per request. `null` when no Contract in the chain declares
367
+ * one, or when the declaration doesn't resolve. Always the *component's own* title, even when a
368
+ * stream projects the item through an Adapter; a node's contextually overridden title for one
369
+ * address comes from `listNodes` instead.
376
370
  */
377
371
  title?: string | null;
378
372
  }
@@ -382,9 +376,9 @@ export interface ComponentPage {
382
376
  nextCursor: string | null;
383
377
  }
384
378
  /**
385
- * One page of a stream (spec 519-content-streams) — items always carry `content` (projected
386
- * through the stream's Adapter when one is attached) and `paths`; what a stream delivers is its
387
- * authored definition's decision, so there are no `include`/`resolve` caller knobs.
379
+ * One page of a stream — items always carry `content` (projected through the stream's Adapter when
380
+ * one is attached) and `paths`; what a stream delivers is its authored definition's decision, so
381
+ * there are no `include`/`resolve` caller knobs.
388
382
  */
389
383
  export interface StreamPage {
390
384
  stream: {
@@ -395,10 +389,9 @@ export interface StreamPage {
395
389
  nextCursor: string | null;
396
390
  }
397
391
  /**
398
- * One value of a stream facet (spec 531-blog-index-search-facets) — `GET
399
- * /streams/{stream}/facets?field=<key>`. `path` is present for a `category`-kind declared filter
400
- * only; `label` is present for `category`/`reference`, `null` for `string`/`date` (self-descriptive
401
- * text / a bucket string needing no label).
392
+ * One value of a stream facet — `GET /streams/{stream}/facets?field=<key>`. `path` is present for
393
+ * a `category`-kind declared filter only; `label` is present for `category`/`reference`, `null` for
394
+ * `string`/`date` (self-descriptive text / a bucket string needing no label).
402
395
  */
403
396
  export interface StreamFacetValue {
404
397
  value: string;
@@ -419,7 +412,7 @@ export interface PresentationFragment {
419
412
  kind: 'presentation';
420
413
  presentation: PresentationEnvelope;
421
414
  }
422
- /** Deprecated as an embed kind since spec 233, still delivered when authored. */
415
+ /** Deprecated as an embed kind; still delivered when authored. */
423
416
  export interface ReferenceFragment {
424
417
  kind: 'reference';
425
418
  reference: ComponentValue;
@@ -456,7 +449,7 @@ export interface ExternalLink {
456
449
  url: string;
457
450
  query?: string | null;
458
451
  anchor?: string | null;
459
- /** Always `true` (absent only on a delivery older than spec 359's server fix). */
452
+ /** Always `true` (absent only from an older server). */
460
453
  resolved?: true;
461
454
  }
462
455
  export type LinkValue = ExperienceLink | ExternalLink;
@@ -474,14 +467,14 @@ export interface BlobValue {
474
467
  * everything below `key` is written by delivery at request time, which is why renaming a category in
475
468
  * Settings renames it on every page at once with nothing republished.
476
469
  *
477
- * **Only `provider` and `key` are guaranteed** (spec 574-delivered-type-fidelity, closing #570):
470
+ * **Only `provider` and `key` are guaranteed:**
478
471
  *
479
472
  * - `path`, `value` and `groupExternalId` are written only when the category still exists. A
480
473
  * category deleted since publish delivers `resolved: false` and none of the three — rendering
481
474
  * nothing is the honest response, and a dangling id is not.
482
475
  * - `resolved` is itself optional, because enrichment only reaches a descriptor carrying the `kind`
483
- * stamp, and content frozen before that stamp existed is left alone until its next republish. So
484
- * `resolved === undefined` means "published before the stamp", distinct from `false`.
476
+ * stamp, and content published before that stamp existed is left alone until its next republish.
477
+ * So `resolved === undefined` means "published before the stamp", distinct from `false`.
485
478
  */
486
479
  export interface CategoryDescriptor {
487
480
  provider: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAE1D,YAAY,EAAE,aAAa,EAAE,CAAA;AAE7B,gNAAgN;AAChN,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB;AAED,yEAAyE;AACzE,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAIrD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,yEAAyE;IACzE,KAAK,EAAE,MAAM,EAAE,CAAA;IACf;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,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AAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,sEAAsE;IACtE,GAAG,EAAE,MAAM,CAAA;CACZ;AAID;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,gFAAgF;IAChF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,sHAAsH;IACtH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
package/dist/types.js CHANGED
@@ -1,6 +1,5 @@
1
1
  /**
2
- * The Content Delivery API's **delivered vocabulary** (docs/content-delivery-api.md §3–§9, spec
3
- * 351-delivery-template-content-shape-unification), transcribed. Every shape here is what the API
2
+ * The Content Delivery API's **delivered vocabulary**, transcribed. Every shape here is what the API
4
3
  * returns — never a client-side invention — so a value can always be mapped back to what was
5
4
  * authored. Field-value documents are `Record<string, unknown>` by default; narrow them with the
6
5
  * generic parameters (`PresentationEnvelope<HeroContent, HeroSettings>`) in your own renderers.
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@ebitex/content-sdk",
3
- "version": "0.20.90",
3
+ "version": "0.20.92",
4
4
  "description": "Consume published ebitex Content from your own site: a typed Delivery API client and React rendering utilities.",
5
5
  "license": "Apache-2.0",
6
- "homepage": "https://github.com/ebitex-io/samples",
6
+ "homepage": "https://developers.ebitex.io/reference/content-sdk/",
7
7
  "type": "module",
8
8
  "sideEffects": false,
9
9
  "files": [