@ebitex/content-sdk 0.17.80 → 0.19.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/content/addressing.d.ts +58 -0
- package/dist/content/addressing.d.ts.map +1 -0
- package/dist/content/addressing.js +78 -0
- package/dist/content/addressing.js.map +1 -0
- package/dist/content/client.d.ts +29 -1
- package/dist/content/client.d.ts.map +1 -1
- package/dist/content/client.js +281 -45
- package/dist/content/client.js.map +1 -1
- package/dist/content/paths.d.ts +6 -0
- package/dist/content/paths.d.ts.map +1 -1
- package/dist/content/paths.js +8 -4
- package/dist/content/paths.js.map +1 -1
- package/dist/content/persistence.d.ts +8 -0
- package/dist/content/persistence.d.ts.map +1 -1
- package/dist/content/persistence.js +2 -0
- package/dist/content/persistence.js.map +1 -1
- package/dist/content/site.d.ts +10 -0
- package/dist/content/site.d.ts.map +1 -1
- package/dist/content/site.js +13 -0
- package/dist/content/site.js.map +1 -1
- package/dist/delivery/client.d.ts +25 -3
- package/dist/delivery/client.d.ts.map +1 -1
- package/dist/delivery/client.js +5 -0
- package/dist/delivery/client.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/sitemap/xml.d.ts +27 -1
- package/dist/sitemap/xml.d.ts.map +1 -1
- package/dist/sitemap/xml.js +68 -9
- package/dist/sitemap/xml.js.map +1 -1
- package/dist/types.d.ts +81 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/sitemap/xml.js
CHANGED
|
@@ -87,11 +87,31 @@ export function renderSelectedUrls(result, options) {
|
|
|
87
87
|
const withAlternates = options.localeUrl !== undefined;
|
|
88
88
|
return selectNodes(result.nodes, options).map((node) => {
|
|
89
89
|
if (!withAlternates) {
|
|
90
|
-
return { node, urls: [renderUrl(
|
|
90
|
+
return { node, urls: [renderUrl(nodeAddress(origin, node), [], undefined, node.lastmod)] };
|
|
91
91
|
}
|
|
92
|
-
// Every locale this node is reachable in
|
|
93
|
-
// carries the *complete* set — see `renderUrl`.
|
|
92
|
+
// Every locale this node is reachable in that the consumer says it has a version for, the
|
|
93
|
+
// default included, as one list. Each URL then carries the *complete* set — see `renderUrl`.
|
|
94
94
|
const alternates = buildAlternates(origin, node, result.defaultLocale, options);
|
|
95
|
+
// Fewer than two, and there is nothing to declare: the sole `xhtml:link` would point at the page
|
|
96
|
+
// itself and the `x-default` beside it at the same URL again. That is the shape a node with no
|
|
97
|
+
// localized paths has always had, and the one `localeUrl` returning `undefined` produces on
|
|
98
|
+
// purpose — answering "this page has no French version" by declaring it an alternate of itself
|
|
99
|
+
// would be a strange thing to emit. The page is still listed; only the links are dropped.
|
|
100
|
+
//
|
|
101
|
+
// Zero is reachable only by returning `undefined` for the default locale as well, and the node
|
|
102
|
+
// still belongs in the sitemap, so it falls back to its own address. A locale decision must
|
|
103
|
+
// never be able to remove a page.
|
|
104
|
+
//
|
|
105
|
+
// Spec 712 asked for this fallback to consult `localeUrl`, and there is nothing left to ask:
|
|
106
|
+
// zero means it was consulted for every locale this node has and declined each one. What the
|
|
107
|
+
// fallback *can* do is list the page at the address the server composed (`url`, under a
|
|
108
|
+
// `localeHost` site) instead of joining a bare path to `origin` — and a `pathPrefix` site's
|
|
109
|
+
// `path` already carries its prefix — so under server-side addressing the page is listed at a
|
|
110
|
+
// real address rather than one that redirects.
|
|
111
|
+
if (alternates.length < 2) {
|
|
112
|
+
const loc = alternates.length === 1 ? alternates[0].href : nodeAddress(origin, node);
|
|
113
|
+
return { node, urls: [renderUrl(loc, [], undefined, node.lastmod)] };
|
|
114
|
+
}
|
|
95
115
|
const xDefaultHref = resolveXDefault(alternates, options.xDefaultLocale);
|
|
96
116
|
return {
|
|
97
117
|
node,
|
|
@@ -152,16 +172,34 @@ function isExcluded(path, exclude) {
|
|
|
152
172
|
function buildAlternates(origin, node, defaultLocale, options) {
|
|
153
173
|
const localeUrl = options.localeUrl;
|
|
154
174
|
const alternates = [];
|
|
155
|
-
|
|
156
|
-
|
|
175
|
+
// Spec 712: the response's own root locale, else the one the caller names. Before 712 a response
|
|
176
|
+
// with no root skipped `localeUrl` outright for this entry, so a router that prefixes its default
|
|
177
|
+
// locale had the raw CMS path listed for every page — an address that redirects.
|
|
178
|
+
const defaultName = defaultLocale ?? options.xDefaultLocale;
|
|
179
|
+
if (defaultName !== undefined) {
|
|
180
|
+
// `undefined` here means the consumer offers no default-locale version of this page. Unusual,
|
|
181
|
+
// and legal: the node is then listed at whichever locale's URL does survive.
|
|
182
|
+
const href = localeUrl(node.path, defaultName, node);
|
|
183
|
+
if (href !== undefined) {
|
|
184
|
+
// Labelled only with a locale the organization declared. A name supplied by the caller for a
|
|
185
|
+
// root-less tree stays unlabelled: it was never declared, and a slot may carry the same code.
|
|
186
|
+
alternates.push({ locale: defaultLocale ?? '', href: node.url !== undefined ? serverAddress(node.url) : absolute(origin, href) });
|
|
187
|
+
}
|
|
157
188
|
}
|
|
158
189
|
else {
|
|
159
|
-
// No root locale
|
|
160
|
-
// hreflang of its own — better than labelling it with a locale the
|
|
161
|
-
|
|
190
|
+
// No root locale and none named, so there is no locale to ask `localeUrl` about. Still a real
|
|
191
|
+
// URL, carrying no hreflang of its own — better than labelling it with a locale the
|
|
192
|
+
// organization never declared.
|
|
193
|
+
alternates.push({ locale: '', href: nodeAddress(origin, node) });
|
|
162
194
|
}
|
|
163
195
|
for (const slot of node.localeSlots) {
|
|
164
|
-
|
|
196
|
+
const href = localeUrl(slot.path, slot.locale, node);
|
|
197
|
+
if (href === undefined) {
|
|
198
|
+
continue;
|
|
199
|
+
}
|
|
200
|
+
// Spec 712: a server-composed `url` is the address; `localeUrl`'s string is the fallback for a
|
|
201
|
+
// site configured nothing server-side. Its `undefined` above still decides whether to emit.
|
|
202
|
+
alternates.push({ locale: slot.locale, href: slot.url !== undefined ? serverAddress(slot.url) : absolute(origin, href) });
|
|
165
203
|
}
|
|
166
204
|
return alternates;
|
|
167
205
|
}
|
|
@@ -209,6 +247,27 @@ function renderUrl(loc, alternates, xDefaultHref, lastmod) {
|
|
|
209
247
|
lines.push(` </url>`);
|
|
210
248
|
return lines.join('\n');
|
|
211
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* A node's own address: the server's `url` when it sent one (a `localeHost` site, spec 712), else
|
|
252
|
+
* its `path` joined to `origin`. Byte-identical to the pre-712 `absolute(origin, node.path)` for
|
|
253
|
+
* every response that carries no `url`.
|
|
254
|
+
*/
|
|
255
|
+
function nodeAddress(origin, node) {
|
|
256
|
+
return node.url !== undefined ? serverAddress(node.url) : absolute(origin, node.path);
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* A server-composed absolute address, given the same path encoding a `path` gets. The server
|
|
260
|
+
* composes it as `https://{host}{path}` from the very path it would otherwise have sent, so it is
|
|
261
|
+
* exactly as raw as `path` is and needs exactly the same treatment — a consumer's own absolute
|
|
262
|
+
* `localeUrl` return, by contrast, is the consumer's to encode and passes through untouched.
|
|
263
|
+
*/
|
|
264
|
+
function serverAddress(url) {
|
|
265
|
+
const match = /^([a-z][a-z0-9+.-]*:\/\/[^/?#]*)(.*)$/i.exec(url);
|
|
266
|
+
if (match === null) {
|
|
267
|
+
return url;
|
|
268
|
+
}
|
|
269
|
+
return absolute(match[1], match[2] === '' ? '/' : match[2]);
|
|
270
|
+
}
|
|
212
271
|
/**
|
|
213
272
|
* Percent-encodes each path segment per RFC 3986 (the sitemap protocol requires it) and joins to the
|
|
214
273
|
* origin. The site root yields a trailing slash; every other path yields none.
|
package/dist/sitemap/xml.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml.js","sourceRoot":"","sources":["../../src/sitemap/xml.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAA;AAEtC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,UAAU,CAAA;AAE3C;;;;;GAKG;AACH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G,MAAM,GAAG,CAAA;IACrB,CAAC;IAED,MAAM,OAAO,GAAG,UAAU;SACvB,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;SACxC,IAAI,CAAC,GAAG,CAAC,CAAA;IAEZ,OAAO,GAAG,MAAM,GAAG,OAAO,EAAE,CAAA;AAC9B,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa,CAAC,OAAe;IACpC,OAAO,kBAAkB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,2BAA2B,EAAE,CAAC,KAAK,EAAE,EAAE,CAChF,kBAAkB,CAAC,KAAK,CAAC,CAC1B,CAAA;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,KAAa;IACrC,OAAO,KAAK;SACT,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC;SACvB,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAA;AAC5B,CAAC;AAED;;;;;;GAMG;AACH,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -22,12 +22,47 @@ export interface SiteSummary {
|
|
|
22
22
|
hosts: string[];
|
|
23
23
|
/**
|
|
24
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
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* without reaching origin at all.
|
|
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.
|
|
29
28
|
*/
|
|
30
29
|
deliveryEnvironmentId?: string;
|
|
30
|
+
/**
|
|
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.
|
|
34
|
+
*
|
|
35
|
+
* `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.
|
|
39
|
+
*/
|
|
40
|
+
addressing?: SiteAddressing;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Spec 712-locale-addressing: a site's locale addressing strategy, as `GET /sites` reports it.
|
|
44
|
+
*
|
|
45
|
+
* - `pathPrefix` — the locale is the address's leading segment (`/fr/cafes`). With
|
|
46
|
+
* `prefixDefaultLocale: false` the default locale is bare (`/cafes`); with `true` it is prefixed
|
|
47
|
+
* too, and a bare request redirects to its prefixed form.
|
|
48
|
+
* - `localeHost` — the locale is the host the page is served under: a subdomain
|
|
49
|
+
* (`fr.example.com`) or a whole per-locale domain, which are the same strategy with different
|
|
50
|
+
* host strings. `hosts` maps each host to the locale it serves.
|
|
51
|
+
* - `invariant` — accepted for completeness and treated exactly like an absent member.
|
|
52
|
+
*/
|
|
53
|
+
export type SiteAddressing = {
|
|
54
|
+
strategy: 'invariant';
|
|
55
|
+
} | {
|
|
56
|
+
strategy: 'pathPrefix';
|
|
57
|
+
prefixDefaultLocale: boolean;
|
|
58
|
+
} | {
|
|
59
|
+
strategy: 'localeHost';
|
|
60
|
+
hosts: SiteLocaleHost[];
|
|
61
|
+
};
|
|
62
|
+
/** One host of a `localeHost` site and the locale it serves. Hostnames carry no port. */
|
|
63
|
+
export interface SiteLocaleHost {
|
|
64
|
+
host: string;
|
|
65
|
+
locale: string;
|
|
31
66
|
}
|
|
32
67
|
/** Which nodes, relative to the anchor, a navigation query selects. Composable — the response is their de-duplicated union. */
|
|
33
68
|
export type NavigationInclude = 'ancestors' | 'self' | 'children' | 'siblings' | 'descendants';
|
|
@@ -75,8 +110,17 @@ export interface LocaleTreeNode {
|
|
|
75
110
|
/** The path one node materializes in one non-default locale slot. */
|
|
76
111
|
export interface SitemapLocalePath {
|
|
77
112
|
locale: string;
|
|
78
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* 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).
|
|
116
|
+
*/
|
|
79
117
|
path: string;
|
|
118
|
+
/**
|
|
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.
|
|
122
|
+
*/
|
|
123
|
+
url?: string;
|
|
80
124
|
}
|
|
81
125
|
/**
|
|
82
126
|
* One URL-worthy published node. Membership is decided server-side: `presentation` nodes with a
|
|
@@ -85,8 +129,18 @@ export interface SitemapLocalePath {
|
|
|
85
129
|
*/
|
|
86
130
|
export interface SitemapNode {
|
|
87
131
|
nodeId: string;
|
|
88
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* 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.
|
|
136
|
+
*/
|
|
89
137
|
path: string;
|
|
138
|
+
/**
|
|
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.
|
|
142
|
+
*/
|
|
143
|
+
url?: string;
|
|
90
144
|
/**
|
|
91
145
|
* The path this node materializes in each non-default locale slot the *site* has — including slots
|
|
92
146
|
* where that path is identical to `path`, which is the common case for a page under no localized
|
|
@@ -262,6 +316,18 @@ export interface PresentationPathResult {
|
|
|
262
316
|
title?: string;
|
|
263
317
|
/** `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. */
|
|
264
318
|
titleSource?: 'content' | 'name';
|
|
319
|
+
/**
|
|
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.
|
|
324
|
+
*/
|
|
325
|
+
locale?: string | null;
|
|
326
|
+
/**
|
|
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.
|
|
329
|
+
*/
|
|
330
|
+
localeSlot?: string;
|
|
265
331
|
presentation: PresentationEnvelope;
|
|
266
332
|
}
|
|
267
333
|
/** Follow it yourself — chains and cycles are already collapsed server-side. */
|
|
@@ -274,7 +340,16 @@ export type PathResult = PresentationPathResult | RedirectPathResult;
|
|
|
274
340
|
/** One published address of a listed component — spec 513. `path` is site-relative; the site's hosts come from `listSites`. */
|
|
275
341
|
export interface ComponentPathEntry {
|
|
276
342
|
siteRootNodeId: string;
|
|
343
|
+
/** Site-relative, in the *target* site's URL space — prefixed under a `pathPrefix` site (spec 712). */
|
|
277
344
|
path: string;
|
|
345
|
+
/**
|
|
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.
|
|
351
|
+
*/
|
|
352
|
+
url?: string;
|
|
278
353
|
}
|
|
279
354
|
export interface ComponentListItem {
|
|
280
355
|
provider: string;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -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
|
|
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,yEA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