@murumets-ee/content-api 0.91.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +118 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +0 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -156,6 +156,21 @@ declare const MAX_CACHE_TAG_HEADER_BYTES = 3072;
|
|
|
156
156
|
* would reach for.
|
|
157
157
|
*/
|
|
158
158
|
declare const MEDIA_TAG_ENTITY = "media";
|
|
159
|
+
/**
|
|
160
|
+
* What fills the SITE slot of a tag for a row that belongs to no site — a
|
|
161
|
+
* shared entity (media) on an app serving several sites (plan `multisite`
|
|
162
|
+
* D008): `lumi:_:media:<id>`.
|
|
163
|
+
*
|
|
164
|
+
* A slot rather than an omission, for the reason {@link CACHE_TAG_CHARSET}
|
|
165
|
+
* gives: the two tag kinds are told apart by SEGMENT COUNT. Were shared rows
|
|
166
|
+
* to skip the site segment, a shared DOCUMENT tag (`lumi:media:<id>`) and a
|
|
167
|
+
* site COLLECTION tag (`lumi:kulli:page`) would both have three segments. With
|
|
168
|
+
* the slot always present, a multi-site deployment's document tags have four
|
|
169
|
+
* and its collection tags three.
|
|
170
|
+
*
|
|
171
|
+
* `_` cannot be a site: a handle starts with a letter.
|
|
172
|
+
*/
|
|
173
|
+
declare const SHARED_SITE_TAG_SEGMENT = "_";
|
|
159
174
|
/**
|
|
160
175
|
* Host configuration for cache-tag emission. Every field is optional; omitting
|
|
161
176
|
* the whole object emits `Cache-Tag`, comma-separated.
|
|
@@ -538,6 +553,10 @@ interface ResolvedDetail {
|
|
|
538
553
|
interface ResolvedLiveSourceMeta {
|
|
539
554
|
readonly label: string;
|
|
540
555
|
readonly labelKey?: string;
|
|
556
|
+
/** The library fields the site granted this source, as `'<block>.<field>'`. */
|
|
557
|
+
readonly fields?: readonly string[];
|
|
558
|
+
/** What the source's values are — absent means `'price'` (block-library PR18). */
|
|
559
|
+
readonly kind?: 'price' | 'text' | 'list';
|
|
541
560
|
}
|
|
542
561
|
/** One resolved live value — structural mirror of `@murumets-ee/blocks`' `LiveValue`. */
|
|
543
562
|
interface ResolvedLiveValue {
|
|
@@ -552,6 +571,14 @@ interface ResolvedLiveValue {
|
|
|
552
571
|
readonly amount?: number;
|
|
553
572
|
readonly compareAt?: number;
|
|
554
573
|
readonly unit?: string;
|
|
574
|
+
/**
|
|
575
|
+
* A live TEXT (block-library PR18) — one line of plain text a render draws
|
|
576
|
+
* inside authored text. Text only: a consumer escapes it like any text and
|
|
577
|
+
* never puts it in markup, a URL or an attribute.
|
|
578
|
+
*/
|
|
579
|
+
readonly text?: string;
|
|
580
|
+
/** A live LIST (block-library PR18) — a few lines of plain text. */
|
|
581
|
+
readonly items?: readonly string[];
|
|
555
582
|
}
|
|
556
583
|
/** What a document's live-bound Price fields resolved to. See {@link ResolvedBlockTree.live}. */
|
|
557
584
|
interface ResolvedLiveValues {
|
|
@@ -1410,6 +1437,62 @@ interface ContentApiPrincipal {
|
|
|
1410
1437
|
* because `id` is server-verified.
|
|
1411
1438
|
*/
|
|
1412
1439
|
rateBudgetPerInstance?: number;
|
|
1440
|
+
/**
|
|
1441
|
+
* The ONE site this credential reads (plan `multisite` D008) — a site
|
|
1442
|
+
* handle. Every endpoint then answers for that site only: its documents,
|
|
1443
|
+
* paths, menus and chrome, its origins for CORS, its segment in cache tags.
|
|
1444
|
+
*
|
|
1445
|
+
* **This is the only way a request gets a site on an app serving several**
|
|
1446
|
+
* (short of an ambient `runInSite` or the opt-in
|
|
1447
|
+
* {@link ContentApiConfig.siteForHost}). There is no `site` query parameter
|
|
1448
|
+
* and there will not be one — it is refused with a 400 on every route.
|
|
1449
|
+
*
|
|
1450
|
+
* The hook must take it from the VERIFIED credential (where it was written
|
|
1451
|
+
* at mint), never from the request. `@murumets-ee/auth`'s
|
|
1452
|
+
* `createContentApiAuthenticator` does. A value that is not a handle
|
|
1453
|
+
* collapses the whole principal to anonymous.
|
|
1454
|
+
*
|
|
1455
|
+
* A site-bound frontend key should be returned as `{ role: publicRole, site }`
|
|
1456
|
+
* with NO `id`: it then reads what an anonymous visitor of that site reads.
|
|
1457
|
+
* Its responses are cacheable by the HOLDER of the key only — they are sent
|
|
1458
|
+
* `Cache-Control: private` (and `Vary` on the declared
|
|
1459
|
+
* {@link ContentApiConfig.credentialHeaders}), so a cache shared between two
|
|
1460
|
+
* sites never stores them. Do not expect CDN hits in front of this API for
|
|
1461
|
+
* site-keyed traffic; the site's own frontend is where they are cached.
|
|
1462
|
+
*/
|
|
1463
|
+
site?: string;
|
|
1464
|
+
}
|
|
1465
|
+
/** The body of `GET /_site` — see {@link ContentApiConfig.site}. */
|
|
1466
|
+
interface ContentApiSite {
|
|
1467
|
+
/** The site's handle — stable, the key everything per-site is filed under. */
|
|
1468
|
+
handle: string;
|
|
1469
|
+
/** Display name. */
|
|
1470
|
+
name: string;
|
|
1471
|
+
/** Locale codes this site serves. Never empty. */
|
|
1472
|
+
locales: string[];
|
|
1473
|
+
/** The locale an unprefixed / unlocalised request reads. One of `locales`. */
|
|
1474
|
+
defaultLocale: string;
|
|
1475
|
+
/** How locales appear in URLs: `prefix-all`, `no-prefix-default` or `cookie`. */
|
|
1476
|
+
routingStrategy: string;
|
|
1477
|
+
/** The site's public origins (`URL.origin` strings). */
|
|
1478
|
+
origins: string[];
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* Host-supplied i18n answer for `GET /_site` (plan `multisite` D007). Injected
|
|
1482
|
+
* (not imported) so this stays a leaf package: the enabled-locale registry and
|
|
1483
|
+
* the single-site install's i18n setting live in `@murumets-ee/content`, which
|
|
1484
|
+
* wires this from `resolveSiteI18n`.
|
|
1485
|
+
*/
|
|
1486
|
+
interface ContentApiSiteProvider {
|
|
1487
|
+
/**
|
|
1488
|
+
* The locales `site` serves, its default and its URL strategy. Called with
|
|
1489
|
+
* the handle the HANDLER resolved — never a caller-supplied one.
|
|
1490
|
+
*/
|
|
1491
|
+
getI18n: (site: string) => Promise<{
|
|
1492
|
+
locales: readonly string[];
|
|
1493
|
+
defaultLocale: string;
|
|
1494
|
+
routingStrategy: string;
|
|
1495
|
+
}>;
|
|
1413
1496
|
}
|
|
1414
1497
|
/** Content API handler configuration. */
|
|
1415
1498
|
interface ContentApiConfig {
|
|
@@ -1713,6 +1796,28 @@ interface ContentApiConfig {
|
|
|
1713
1796
|
* map is not one of them.
|
|
1714
1797
|
*/
|
|
1715
1798
|
chrome?: ContentApiChrome;
|
|
1799
|
+
/**
|
|
1800
|
+
* i18n resolver for `GET /_site` (plan `multisite` D007). Optional: without
|
|
1801
|
+
* it the endpoint answers from the site's registry row and this mount's
|
|
1802
|
+
* `defaultLocale`. See {@link ContentApiSiteProvider}.
|
|
1803
|
+
*/
|
|
1804
|
+
site?: ContentApiSiteProvider;
|
|
1805
|
+
/**
|
|
1806
|
+
* OPT-IN: the site an ANONYMOUS request reads, by the `Host` it was sent to
|
|
1807
|
+
* (plan `multisite` D008) — for a frontend that fetches from the browser and
|
|
1808
|
+
* so cannot hold a key. Keys are host names (`kulli.ee`, with a port if the
|
|
1809
|
+
* API is reached on one), values are site handles.
|
|
1810
|
+
*
|
|
1811
|
+
* Omitted — the default — a request with no site-bound credential has no
|
|
1812
|
+
* site on an app serving several, and every site-bound read answers 404.
|
|
1813
|
+
*
|
|
1814
|
+
* **Listing a host here publishes that site to anyone who can send that
|
|
1815
|
+
* `Host`.** That is the same audience its frontend already serves; it is not
|
|
1816
|
+
* a way to keep a site private. A credential's site always wins over it, and
|
|
1817
|
+
* the mapped site is still checked against the registry (a disabled site is
|
|
1818
|
+
* not served). A value that is not a site handle throws at construction.
|
|
1819
|
+
*/
|
|
1820
|
+
siteForHost?: Readonly<Record<string, string>>;
|
|
1716
1821
|
/**
|
|
1717
1822
|
* Detail-template provider (block-library D009). An entity that declares
|
|
1718
1823
|
* `frontend: { drawnBy: 'template' }` is served by `GET /:entity/:id` only,
|
|
@@ -1820,6 +1925,17 @@ interface SchemaCacheTags {
|
|
|
1820
1925
|
* a write to entity `E` purges `lumi:E` and `lumi:E:<id>` together.
|
|
1821
1926
|
*/
|
|
1822
1927
|
collection: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* What fills `{site}` for a row that belongs to NO site — a shared entity
|
|
1930
|
+
* such as media — on an app serving several sites (plan `multisite` D008);
|
|
1931
|
+
* `null` on a single-site install, whose templates have no `{site}` at all.
|
|
1932
|
+
*
|
|
1933
|
+
* A row of a site-bound entity carries the handle of the site the response
|
|
1934
|
+
* was served for. So a write to a bound row purges that site's tags only,
|
|
1935
|
+
* and a write to a shared row purges ONE tag that every site's responses
|
|
1936
|
+
* carry.
|
|
1937
|
+
*/
|
|
1938
|
+
sharedSite: string | null;
|
|
1823
1939
|
/** Per-tag character ceiling; a longer tag is dropped, never truncated. */
|
|
1824
1940
|
maxTagLength: number;
|
|
1825
1941
|
/**
|
|
@@ -1920,7 +2036,7 @@ interface SchemaCacheTags {
|
|
|
1920
2036
|
declare const API_VERSION = "v1";
|
|
1921
2037
|
declare function createContentApiHandler(config: ContentApiConfig): {
|
|
1922
2038
|
GET: (req: Request, ctx: RouteContext) => Promise<Response>;
|
|
1923
|
-
OPTIONS: (req: Request) => Response
|
|
2039
|
+
OPTIONS: (req: Request) => Promise<Response>;
|
|
1924
2040
|
/**
|
|
1925
2041
|
* Invalidate the cached permission checker. Call this from the
|
|
1926
2042
|
* role-management code path (after a role is created/edited/deleted)
|
|
@@ -1930,5 +2046,5 @@ declare function createContentApiHandler(config: ContentApiConfig): {
|
|
|
1930
2046
|
invalidatePermissionCache: () => void;
|
|
1931
2047
|
};
|
|
1932
2048
|
//#endregion
|
|
1933
|
-
export { API_VERSION, type BlockTreeRef, CACHE_TAG_NAMESPACE, type CacheTagsConfig, type ContentApiChrome, type ContentApiChromeRegion, type ContentApiChromeRegions, type ContentApiConfig, type ContentApiDetailTemplates, type ContentApiErrorCode, type ContentApiErrorReport, type ContentApiMenus, type ContentApiPrincipal, type ContentApiResolution, type ContentApiResolvedMenu, type ContentApiResolvedMenuItem, type ContentPathEntry, type ContentResolveResult, DETAIL_TEMPLATE_FIELD, ERROR_CODES, MAX_CACHE_TAGS_PER_RESPONSE, MAX_CACHE_TAG_HEADER_BYTES, MAX_CACHE_TAG_LENGTH, MAX_RESOLUTIONS_PER_DOCUMENT, MEDIA_TAG_ENTITY, type MediaProjection, type MediaSource, type ReferenceProjection, type ResolutionBudget, type ResolutionKind, type ResolveBlocks, type ResolveEntityHref, type ResolveMedia, type ResolvedBlockTree, type SchemaCacheTags, type UnresolvedBlockRef, createContentApiHandler, isResolvedBlockTree };
|
|
2049
|
+
export { API_VERSION, type BlockTreeRef, CACHE_TAG_NAMESPACE, type CacheTagsConfig, type ContentApiChrome, type ContentApiChromeRegion, type ContentApiChromeRegions, type ContentApiConfig, type ContentApiDetailTemplates, type ContentApiErrorCode, type ContentApiErrorReport, type ContentApiMenus, type ContentApiPrincipal, type ContentApiResolution, type ContentApiResolvedMenu, type ContentApiResolvedMenuItem, type ContentApiSite, type ContentApiSiteProvider, type ContentPathEntry, type ContentResolveResult, DETAIL_TEMPLATE_FIELD, ERROR_CODES, MAX_CACHE_TAGS_PER_RESPONSE, MAX_CACHE_TAG_HEADER_BYTES, MAX_CACHE_TAG_LENGTH, MAX_RESOLUTIONS_PER_DOCUMENT, MEDIA_TAG_ENTITY, type MediaProjection, type MediaSource, type ReferenceProjection, type ResolutionBudget, type ResolutionKind, type ResolveBlocks, type ResolveEntityHref, type ResolveMedia, type ResolvedBlockTree, SHARED_SITE_TAG_SEGMENT, type SchemaCacheTags, type UnresolvedBlockRef, createContentApiHandler, isResolvedBlockTree };
|
|
1934
2050
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/cache-tags.ts","../src/resolution-budget.ts","../src/blocks.ts","../src/detail-template.ts","../src/limits.ts","../src/media.ts","../src/references.ts","../src/response.ts","../src/types.ts","../src/handler.ts"],"mappings":";;;;;;;;;;AA8FA;;;;AAAgC;AAOhC;;;;AAAiC;AAOjC;;;;AAAwC;AAqCxC;;;;AAAuC;AAYvC;;;;AAA6B;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/cache-tags.ts","../src/resolution-budget.ts","../src/blocks.ts","../src/detail-template.ts","../src/limits.ts","../src/media.ts","../src/references.ts","../src/response.ts","../src/types.ts","../src/handler.ts"],"mappings":";;;;;;;;;;AA8FA;;;;AAAgC;AAOhC;;;;AAAiC;AAOjC;;;;AAAwC;AAqCxC;;;;AAAuC;AAYvC;;;;AAA6B;AAyC7B;;;;AAAoC;AAMpC;;;;;;;;AAmCW;;;;;;;;ACtMkE;AAE7E;;;;AAAqD;AA0BrD;;;;AAAyC;AAUzC;;;;;;;;;;;;;;;;;;;;;;AAuBkB;;;;AC1ClB;;;;;cFkCa,mBAAA;;;AEpBI;AAyEjB;;cF9Ca,oBAAA;;AEgDA;AAGb;;;cF5Ca,2BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AEwIqB;AAIlC;;;;;cFvGa,0BAAA;;;;AE2GI;AAIjB;;;;;;cFnGa,gBAAA;;;;;;;;;;;;;;;cAyCA,uBAAA;AEuEqD;AAsElE;;;AAtEkE,UFjEjD,eAAA;EEwIN;;;;;AAKI;AAIf;;;;;;EFpIE,OAAA;EEqJS;;;AAEK;AAIhB;;;;;;;;EF9IE,MAAA;EEgJ0B;;;;;;;;EFvI1B,SAAA;AAAA;;;;;;;;AAjJF;;;;AAAgC;AAOhC;;;;AAAiC;AAOjC;;;;AAAwC;AAqCxC;;;;AAAuC;AAYvC;;;;AAA6B;AAyC7B;;;;AAAoC;AAMpC;;;;;AANA,cC7JM,gBAAA;AAAA,KAEM,cAAA,WAAyB,gBAAgB;;ADoM1C;;;;;;;;ACtMkE;AAE7E;;;;AAAq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