@murumets-ee/content-api 0.90.0 → 0.92.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 +178 -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 {
|
|
@@ -648,6 +675,17 @@ interface ResolveBlocksOptions {
|
|
|
648
675
|
* built, and its columns cross the wire as the handler already projected them.
|
|
649
676
|
*/
|
|
650
677
|
boundValues?: Readonly<Record<string, unknown>> | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* The tree is a STORED DETAIL TEMPLATE drawn for `boundValues` (block-library
|
|
680
|
+
* D009), not that row's own document. The provider must then project the
|
|
681
|
+
* row's detail and NOTHING else of it: in particular it must not walk the
|
|
682
|
+
* row's columns for links on the say-so of a bound block in the tree, since
|
|
683
|
+
* the tree is editor-authored and the row is not the editor's to expose.
|
|
684
|
+
*
|
|
685
|
+
* ⚠️ A contract the provider has to honour: this package cannot enforce it.
|
|
686
|
+
* `@murumets-ee/content`'s resolver does; a host-supplied one must too.
|
|
687
|
+
*/
|
|
688
|
+
rowIsForeign?: boolean | undefined;
|
|
651
689
|
}
|
|
652
690
|
/**
|
|
653
691
|
* Is `value` a {@link ResolvedBlockTree}?
|
|
@@ -677,6 +715,44 @@ interface ResolveBlocksOptions {
|
|
|
677
715
|
*/
|
|
678
716
|
declare function isResolvedBlockTree(value: unknown): value is ResolvedBlockTree;
|
|
679
717
|
//#endregion
|
|
718
|
+
//#region src/detail-template.d.ts
|
|
719
|
+
/**
|
|
720
|
+
* The key the resolved template crosses under. Underscore-led so it cannot be
|
|
721
|
+
* mistaken for a column, and stable: a frontend lists it beside its own body
|
|
722
|
+
* block fields.
|
|
723
|
+
*/
|
|
724
|
+
declare const DETAIL_TEMPLATE_FIELD = "_template";
|
|
725
|
+
/**
|
|
726
|
+
* The detail-template provider. Injected, not imported, so this package stays a
|
|
727
|
+
* leaf — `@murumets-ee/content`'s `createDetailTemplateProvider` is the
|
|
728
|
+
* reference implementation, and its header states what each method may reach.
|
|
729
|
+
*/
|
|
730
|
+
interface ContentApiDetailTemplates {
|
|
731
|
+
/** The entity templates are stored in — named on the response's cache tags. */
|
|
732
|
+
readonly entity: string;
|
|
733
|
+
/**
|
|
734
|
+
* The PUBLISHED template for rows of `entity` at `locale`, or `null`.
|
|
735
|
+
* Implementations must apply the publish filter themselves: this package
|
|
736
|
+
* serves whatever comes back.
|
|
737
|
+
*/
|
|
738
|
+
readTemplate(opts: {
|
|
739
|
+
entity: string;
|
|
740
|
+
locale: string;
|
|
741
|
+
}): Promise<{
|
|
742
|
+
readonly id: string;
|
|
743
|
+
readonly blocks: unknown[];
|
|
744
|
+
} | null>;
|
|
745
|
+
/**
|
|
746
|
+
* The row's public name and summary. Only string `title` and `description`
|
|
747
|
+
* are read from the answer; anything else it returns is dropped here.
|
|
748
|
+
*/
|
|
749
|
+
publicRow(opts: {
|
|
750
|
+
entity: string;
|
|
751
|
+
row: Readonly<Record<string, unknown>>;
|
|
752
|
+
locale: string;
|
|
753
|
+
}): Promise<Record<string, unknown>>;
|
|
754
|
+
}
|
|
755
|
+
//#endregion
|
|
680
756
|
//#region src/limits.d.ts
|
|
681
757
|
interface ContentApiLimits {
|
|
682
758
|
/**
|
|
@@ -1361,6 +1437,62 @@ interface ContentApiPrincipal {
|
|
|
1361
1437
|
* because `id` is server-verified.
|
|
1362
1438
|
*/
|
|
1363
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
|
+
}>;
|
|
1364
1496
|
}
|
|
1365
1497
|
/** Content API handler configuration. */
|
|
1366
1498
|
interface ContentApiConfig {
|
|
@@ -1664,6 +1796,39 @@ interface ContentApiConfig {
|
|
|
1664
1796
|
* map is not one of them.
|
|
1665
1797
|
*/
|
|
1666
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>>;
|
|
1821
|
+
/**
|
|
1822
|
+
* Detail-template provider (block-library D009). An entity that declares
|
|
1823
|
+
* `frontend: { drawnBy: 'template' }` is served by `GET /:entity/:id` only,
|
|
1824
|
+
* NARROWED to its id plus what this provider projects, with the entity type's
|
|
1825
|
+
* published template resolved against the row under `_template`.
|
|
1826
|
+
*
|
|
1827
|
+
* Omit it and such a row crosses as `{ id }` — deny by default, never the
|
|
1828
|
+
* row's columns. Injected (not imported) so this stays a leaf package; see
|
|
1829
|
+
* {@link ContentApiDetailTemplates}.
|
|
1830
|
+
*/
|
|
1831
|
+
detailTemplates?: ContentApiDetailTemplates;
|
|
1667
1832
|
/**
|
|
1668
1833
|
* The MONITORING seam — attach an error tracker or a metrics counter here.
|
|
1669
1834
|
*
|
|
@@ -1760,6 +1925,17 @@ interface SchemaCacheTags {
|
|
|
1760
1925
|
* a write to entity `E` purges `lumi:E` and `lumi:E:<id>` together.
|
|
1761
1926
|
*/
|
|
1762
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;
|
|
1763
1939
|
/** Per-tag character ceiling; a longer tag is dropped, never truncated. */
|
|
1764
1940
|
maxTagLength: number;
|
|
1765
1941
|
/**
|
|
@@ -1860,7 +2036,7 @@ interface SchemaCacheTags {
|
|
|
1860
2036
|
declare const API_VERSION = "v1";
|
|
1861
2037
|
declare function createContentApiHandler(config: ContentApiConfig): {
|
|
1862
2038
|
GET: (req: Request, ctx: RouteContext) => Promise<Response>;
|
|
1863
|
-
OPTIONS: (req: Request) => Response
|
|
2039
|
+
OPTIONS: (req: Request) => Promise<Response>;
|
|
1864
2040
|
/**
|
|
1865
2041
|
* Invalidate the cached permission checker. Call this from the
|
|
1866
2042
|
* role-management code path (after a role is created/edited/deleted)
|
|
@@ -1870,5 +2046,5 @@ declare function createContentApiHandler(config: ContentApiConfig): {
|
|
|
1870
2046
|
invalidatePermissionCache: () => void;
|
|
1871
2047
|
};
|
|
1872
2048
|
//#endregion
|
|
1873
|
-
export { API_VERSION, type BlockTreeRef, CACHE_TAG_NAMESPACE, type CacheTagsConfig, type ContentApiChrome, type ContentApiChromeRegion, type ContentApiChromeRegions, type ContentApiConfig, type ContentApiErrorCode, type ContentApiErrorReport, type ContentApiMenus, type ContentApiPrincipal, type ContentApiResolution, type ContentApiResolvedMenu, type ContentApiResolvedMenuItem, type ContentPathEntry, type ContentResolveResult, 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 };
|
|
1874
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/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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