@conloca/content-api 0.1.15 → 0.2.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/asset-constraints.d.ts +16 -0
- package/dist/asset-constraints.d.ts.map +1 -0
- package/dist/asset-constraints.js +29 -0
- package/dist/asset-constraints.js.map +1 -0
- package/dist/asset-metadata-store.d.ts +60 -0
- package/dist/asset-metadata-store.d.ts.map +1 -0
- package/dist/asset-metadata-store.js +335 -0
- package/dist/asset-metadata-store.js.map +1 -0
- package/dist/asset-operations.d.ts +164 -0
- package/dist/asset-operations.d.ts.map +1 -0
- package/dist/asset-operations.js +784 -0
- package/dist/asset-operations.js.map +1 -0
- package/dist/asset-types.d.ts +72 -0
- package/dist/asset-types.d.ts.map +1 -0
- package/dist/asset-types.js +13 -0
- package/dist/asset-types.js.map +1 -0
- package/dist/asset-usage.d.ts +10 -0
- package/dist/asset-usage.d.ts.map +1 -0
- package/dist/asset-usage.js +49 -0
- package/dist/asset-usage.js.map +1 -0
- package/dist/base-content-index.d.ts +63 -0
- package/dist/base-content-index.d.ts.map +1 -0
- package/dist/base-content-index.js +200 -0
- package/dist/base-content-index.js.map +1 -0
- package/dist/cf-access.d.ts +31 -0
- package/dist/cf-access.d.ts.map +1 -0
- package/dist/cf-access.js +67 -0
- package/dist/cf-access.js.map +1 -0
- package/dist/component-registry.d.ts +50 -0
- package/dist/component-registry.d.ts.map +1 -0
- package/dist/component-registry.js +121 -0
- package/dist/component-registry.js.map +1 -0
- package/dist/component-registry.types.d.ts +11 -0
- package/dist/component-registry.types.d.ts.map +1 -0
- package/dist/component-registry.types.js +2 -0
- package/dist/component-registry.types.js.map +1 -0
- package/dist/component-vocabulary.d.ts +33 -0
- package/dist/component-vocabulary.d.ts.map +1 -0
- package/dist/component-vocabulary.js +105 -0
- package/dist/component-vocabulary.js.map +1 -0
- package/dist/content-api.interface.d.ts +64 -0
- package/dist/content-api.interface.d.ts.map +1 -0
- package/dist/content-api.interface.js +2 -0
- package/dist/content-api.interface.js.map +1 -0
- package/dist/content-filters.d.ts +31 -0
- package/dist/content-filters.d.ts.map +1 -0
- package/dist/content-filters.js +247 -0
- package/dist/content-filters.js.map +1 -0
- package/dist/content-index.d.ts +184 -0
- package/dist/content-index.d.ts.map +1 -0
- package/dist/content-index.js +546 -0
- package/dist/content-index.js.map +1 -0
- package/dist/content-operations.d.ts +157 -0
- package/dist/content-operations.d.ts.map +1 -0
- package/dist/content-operations.js +359 -0
- package/dist/content-operations.js.map +1 -0
- package/dist/content-path.d.ts +59 -0
- package/dist/content-path.d.ts.map +1 -0
- package/dist/content-path.js +88 -0
- package/dist/content-path.js.map +1 -0
- package/dist/content-reader.d.ts +10 -0
- package/dist/content-reader.d.ts.map +1 -0
- package/dist/content-reader.js +14 -0
- package/dist/content-reader.js.map +1 -0
- package/dist/content-utils.d.ts +175 -0
- package/dist/content-utils.d.ts.map +1 -0
- package/dist/content-utils.js +421 -0
- package/dist/content-utils.js.map +1 -0
- package/dist/content-watcher.d.ts +43 -0
- package/dist/content-watcher.d.ts.map +1 -0
- package/dist/content-watcher.js +86 -0
- package/dist/content-watcher.js.map +1 -0
- package/dist/data-index.d.ts +8 -0
- package/dist/data-index.d.ts.map +1 -0
- package/dist/data-index.js +8 -0
- package/dist/data-index.js.map +1 -0
- package/dist/data.d.ts +35 -0
- package/dist/data.d.ts.map +1 -0
- package/dist/data.js +104 -0
- package/dist/data.js.map +1 -0
- package/dist/editor-data-bindings.d.ts +10 -0
- package/dist/editor-data-bindings.d.ts.map +1 -0
- package/dist/editor-data-bindings.js +67 -0
- package/dist/editor-data-bindings.js.map +1 -0
- package/dist/etag-utils.d.ts +77 -0
- package/dist/etag-utils.d.ts.map +1 -0
- package/dist/etag-utils.js +161 -0
- package/dist/etag-utils.js.map +1 -0
- package/dist/filesystem-content-api.d.ts +162 -0
- package/dist/filesystem-content-api.d.ts.map +1 -0
- package/dist/filesystem-content-api.js +2307 -0
- package/dist/filesystem-content-api.js.map +1 -0
- package/dist/filesystem-reader-backend.d.ts +46 -0
- package/dist/filesystem-reader-backend.d.ts.map +1 -0
- package/dist/filesystem-reader-backend.js +119 -0
- package/dist/filesystem-reader-backend.js.map +1 -0
- package/dist/fragment-index.d.ts +8 -0
- package/dist/fragment-index.d.ts.map +1 -0
- package/dist/fragment-index.js +8 -0
- package/dist/fragment-index.js.map +1 -0
- package/dist/fragments.d.ts +16 -0
- package/dist/fragments.d.ts.map +1 -0
- package/dist/fragments.js +104 -0
- package/dist/fragments.js.map +1 -0
- package/dist/git-operations.d.ts +49 -0
- package/dist/git-operations.d.ts.map +1 -0
- package/dist/git-operations.js +256 -0
- package/dist/git-operations.js.map +1 -0
- package/dist/header-parser.d.ts +37 -0
- package/dist/header-parser.d.ts.map +1 -0
- package/dist/header-parser.js +233 -0
- package/dist/header-parser.js.map +1 -0
- package/dist/in-memory-content-api.d.ts +35 -0
- package/dist/in-memory-content-api.d.ts.map +1 -0
- package/dist/in-memory-content-api.js +609 -0
- package/dist/in-memory-content-api.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/indexing.d.ts +5 -0
- package/dist/indexing.d.ts.map +1 -0
- package/dist/indexing.js +8 -0
- package/dist/indexing.js.map +1 -0
- package/dist/json-whitespace-view.d.ts +32 -0
- package/dist/json-whitespace-view.d.ts.map +1 -0
- package/dist/json-whitespace-view.js +153 -0
- package/dist/json-whitespace-view.js.map +1 -0
- package/dist/middleware.d.ts +20 -0
- package/dist/middleware.d.ts.map +1 -0
- package/dist/middleware.js +1082 -0
- package/dist/middleware.js.map +1 -0
- package/dist/node.d.ts +32 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +27 -0
- package/dist/node.js.map +1 -0
- package/dist/page-references.d.ts +21 -0
- package/dist/page-references.d.ts.map +1 -0
- package/dist/page-references.js +50 -0
- package/dist/page-references.js.map +1 -0
- package/dist/read-date.d.ts +3 -0
- package/dist/read-date.d.ts.map +1 -0
- package/dist/read-date.js +9 -0
- package/dist/read-date.js.map +1 -0
- package/dist/reader-backend.d.ts +54 -0
- package/dist/reader-backend.d.ts.map +1 -0
- package/dist/reader-backend.js +2 -0
- package/dist/reader-backend.js.map +1 -0
- package/dist/reader.d.ts +15 -0
- package/dist/reader.d.ts.map +1 -0
- package/dist/reader.js +14 -0
- package/dist/reader.js.map +1 -0
- package/dist/schemas/index.d.ts +102 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +88 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/site-index.d.ts +60 -0
- package/dist/site-index.d.ts.map +1 -0
- package/dist/site-index.js +291 -0
- package/dist/site-index.js.map +1 -0
- package/dist/site.d.ts +23 -0
- package/dist/site.d.ts.map +1 -0
- package/dist/site.js +180 -0
- package/dist/site.js.map +1 -0
- package/dist/types.d.ts +641 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +45 -0
- package/dist/types.js.map +1 -0
- package/dist/url-safe-base64.d.ts +12 -0
- package/dist/url-safe-base64.d.ts.map +1 -0
- package/dist/url-safe-base64.js +41 -0
- package/dist/url-safe-base64.js.map +1 -0
- package/dist/url-validation.d.ts +28 -0
- package/dist/url-validation.d.ts.map +1 -0
- package/dist/url-validation.js +123 -0
- package/dist/url-validation.js.map +1 -0
- package/dist/utils/atomic-write.d.ts +6 -0
- package/dist/utils/atomic-write.d.ts.map +1 -0
- package/dist/utils/atomic-write.js +21 -0
- package/dist/utils/atomic-write.js.map +1 -0
- package/dist/utils.d.ts +46 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +71 -0
- package/dist/utils.js.map +1 -0
- package/dist/vite-plugin.d.ts +12 -0
- package/dist/vite-plugin.d.ts.map +1 -0
- package/dist/vite-plugin.js +30 -0
- package/dist/vite-plugin.js.map +1 -0
- package/dist/vxjson-serialize.d.ts +13 -0
- package/dist/vxjson-serialize.d.ts.map +1 -0
- package/dist/vxjson-serialize.js +53 -0
- package/dist/vxjson-serialize.js.map +1 -0
- package/dist/vxjson.d.ts +113 -0
- package/dist/vxjson.d.ts.map +1 -0
- package/dist/vxjson.js +381 -0
- package/dist/vxjson.js.map +1 -0
- package/dist/xxhash.d.ts +10 -0
- package/dist/xxhash.d.ts.map +1 -0
- package/dist/xxhash.js +35 -0
- package/dist/xxhash.js.map +1 -0
- package/package.json +132 -34
- package/src/asset-constraints.ts +33 -0
- package/src/asset-metadata-store.ts +401 -0
- package/src/asset-operations.ts +914 -0
- package/src/asset-types.ts +74 -0
- package/src/asset-usage.ts +47 -0
- package/src/base-content-index.ts +227 -0
- package/src/cf-access.ts +85 -0
- package/src/component-registry.ts +145 -0
- package/src/component-registry.types.ts +12 -0
- package/src/component-vocabulary.ts +87 -0
- package/src/content-api.interface.ts +94 -0
- package/src/content-filters.ts +278 -0
- package/src/content-index.ts +642 -0
- package/src/content-operations.ts +497 -0
- package/src/content-path.ts +113 -0
- package/src/content-reader.ts +18 -0
- package/src/content-utils.ts +474 -0
- package/src/content-watcher.ts +122 -0
- package/src/data-index.ts +7 -0
- package/src/data.ts +134 -0
- package/src/editor-data-bindings.ts +66 -0
- package/src/etag-utils.ts +204 -0
- package/src/filesystem-content-api.ts +2685 -0
- package/src/filesystem-reader-backend.ts +135 -0
- package/src/fragment-index.ts +7 -0
- package/src/fragments.ts +113 -0
- package/src/git-operations.ts +340 -0
- package/src/header-parser.ts +272 -0
- package/src/in-memory-content-api.ts +760 -0
- package/src/index.ts +45 -0
- package/src/indexing.ts +8 -0
- package/src/json-whitespace-view.ts +155 -0
- package/src/middleware.ts +1341 -0
- package/src/node.ts +40 -0
- package/src/page-references.ts +76 -0
- package/src/read-date.ts +7 -0
- package/src/reader-backend.ts +54 -0
- package/src/reader.ts +15 -0
- package/src/schemas/index.ts +113 -0
- package/src/site-index.ts +330 -0
- package/src/site.ts +198 -0
- package/src/types.ts +759 -0
- package/src/url-safe-base64.ts +38 -0
- package/src/url-validation.ts +121 -0
- package/src/utils/atomic-write.ts +20 -0
- package/src/utils.ts +84 -0
- package/src/vite-plugin.ts +45 -0
- package/src/vxjson-serialize.ts +66 -0
- package/src/vxjson.ts +442 -0
- package/src/xxhash.ts +43 -0
- package/dist/component-registry.types-CBGONnYn.d.mts +0 -71
- package/dist/component-registry.types-CBGONnYn.d.mts.map +0 -1
- package/dist/content-operations-Dv67amz3.d.mts +0 -852
- package/dist/content-operations-Dv67amz3.d.mts.map +0 -1
- package/dist/data-Db1Iv9T0.mjs +0 -60
- package/dist/data-Db1Iv9T0.mjs.map +0 -1
- package/dist/filesystem-content-api-C1TM0GLo.d.mts +0 -119
- package/dist/filesystem-content-api-C1TM0GLo.d.mts.map +0 -1
- package/dist/filesystem-content-api-kxKY5IUw.mjs +0 -2678
- package/dist/filesystem-content-api-kxKY5IUw.mjs.map +0 -1
- package/dist/index.d.mts +0 -79
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -47
- package/dist/index.mjs.map +0 -1
- package/dist/node.d.mts +0 -378
- package/dist/node.d.mts.map +0 -1
- package/dist/node.mjs +0 -2618
- package/dist/node.mjs.map +0 -1
- package/dist/reader.d.mts +0 -18
- package/dist/reader.d.mts.map +0 -1
- package/dist/reader.mjs +0 -22
- package/dist/reader.mjs.map +0 -1
- package/dist/schemas/index.d.mts +0 -90
- package/dist/schemas/index.d.mts.map +0 -1
- package/dist/schemas/index.mjs +0 -70
- package/dist/schemas/index.mjs.map +0 -1
- package/dist/site-vNtJ5jCh.mjs +0 -538
- package/dist/site-vNtJ5jCh.mjs.map +0 -1
- package/dist/types-DWt912tu.mjs +0 -33
- package/dist/types-DWt912tu.mjs.map +0 -1
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
export interface ContentAPIOptions {
|
|
2
|
+
contentRoot: string;
|
|
3
|
+
canvasDir?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Optional override for the mdx-type pages path. The canonical home for
|
|
6
|
+
* this value is the resolved site's `mdxPages` field in `sites.json`.
|
|
7
|
+
* This option, when present, wins over the sites.json value — useful
|
|
8
|
+
* for tests and programmatic content-api setups that don't want to
|
|
9
|
+
* round-trip through a sites.json file on disk.
|
|
10
|
+
*
|
|
11
|
+
* Decouples the storage location of mdx pages from Conloca's main content
|
|
12
|
+
* tree so projects can host them wherever their renderer expects to read
|
|
13
|
+
* from. The rendering pipeline is the project's own choice — Conloca only
|
|
14
|
+
* owns CRUD on the file bytes.
|
|
15
|
+
*
|
|
16
|
+
* When omitted AND no site in sites.json has `mdxPages`, .mdx files
|
|
17
|
+
* fall back to living alongside Puck pages at
|
|
18
|
+
* `{contentRoot}/{site}/pages/`.
|
|
19
|
+
*/
|
|
20
|
+
mdxPagesRoot?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Default locale for mdx pages. The default locale's files live at
|
|
23
|
+
* `{mdxPagesRoot}/{slug}.mdx` (no locale prefix); other locales live at
|
|
24
|
+
* `{mdxPagesRoot}/{locale}/{slug}.mdx`.
|
|
25
|
+
*
|
|
26
|
+
* If omitted, falls back to the first site's `defaultLocale`, or `'en'`.
|
|
27
|
+
*/
|
|
28
|
+
mdxPagesDefaultLocale?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Site name to associate mdx pages with for pathname collision checking.
|
|
31
|
+
* mdx pages share the URL space with that site's puck pages, so two
|
|
32
|
+
* pages — regardless of type — cannot share a pathname.
|
|
33
|
+
*
|
|
34
|
+
* If omitted, falls back to the first site name in sites.json (or
|
|
35
|
+
* `'default'` when no sites are configured).
|
|
36
|
+
*/
|
|
37
|
+
mdxPagesSite?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The site's supported locales. When provided, this wins over the
|
|
40
|
+
* `globalLocales` field in sites.json. The locale-detection parsers
|
|
41
|
+
* use this list to decide whether a folder or filename suffix that
|
|
42
|
+
* looks locale-shaped (e.g. `de`, `en-US`) is actually a locale or
|
|
43
|
+
* just a folder that happens to match the pattern.
|
|
44
|
+
*
|
|
45
|
+
* Omit to fall back to sites.json (current behavior).
|
|
46
|
+
*/
|
|
47
|
+
availableLocales?: string[];
|
|
48
|
+
/**
|
|
49
|
+
* The site's default locale. Wins over both `mdxPagesDefaultLocale`
|
|
50
|
+
* and the per-site `defaultLocale` in sites.json when provided.
|
|
51
|
+
*/
|
|
52
|
+
defaultLocale?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface APIError {
|
|
55
|
+
error: {
|
|
56
|
+
code: string;
|
|
57
|
+
message: string;
|
|
58
|
+
details?: any;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export interface MDXCompileResponse {
|
|
62
|
+
code: string;
|
|
63
|
+
metadata: Record<string, unknown>;
|
|
64
|
+
/**
|
|
65
|
+
* The content's headings, in document order, carrying the ids the compiled
|
|
66
|
+
* markup puts on them. Editing surfaces render the body inside a sandbox
|
|
67
|
+
* they cannot read, so the outline rides the compile they already request
|
|
68
|
+
* rather than being scraped back off the frame.
|
|
69
|
+
*/
|
|
70
|
+
outline: readonly MDXHeading[];
|
|
71
|
+
}
|
|
72
|
+
/** One heading of compiled MDX: the anchor target and the text to label it with. */
|
|
73
|
+
export interface MDXHeading {
|
|
74
|
+
/** Heading level as authored: 2 for `##`, 3 for `###`. */
|
|
75
|
+
depth: number;
|
|
76
|
+
id: string;
|
|
77
|
+
text: string;
|
|
78
|
+
}
|
|
79
|
+
export declare const ErrorCodes: {
|
|
80
|
+
readonly CONTENT_NOT_FOUND: 'CONTENT_NOT_FOUND';
|
|
81
|
+
readonly LOCALE_NOT_FOUND: 'LOCALE_NOT_FOUND';
|
|
82
|
+
readonly COLLECTION_NOT_FOUND: 'COLLECTION_NOT_FOUND';
|
|
83
|
+
readonly SITE_NOT_FOUND: 'SITE_NOT_FOUND';
|
|
84
|
+
readonly STALE_WRITE: 'STALE_WRITE';
|
|
85
|
+
readonly ALREADY_EXISTS: 'ALREADY_EXISTS';
|
|
86
|
+
readonly PATHNAME_TAKEN: 'PATHNAME_TAKEN';
|
|
87
|
+
readonly INVALID_PATHNAME: 'INVALID_PATHNAME';
|
|
88
|
+
readonly NAME_TAKEN: 'NAME_TAKEN';
|
|
89
|
+
readonly METADATA_TOO_LARGE: 'METADATA_TOO_LARGE';
|
|
90
|
+
readonly WRITE_ERROR: 'WRITE_ERROR';
|
|
91
|
+
readonly MISSING_REQUIRED_FIELD: 'MISSING_REQUIRED_FIELD';
|
|
92
|
+
readonly INVALID_LOCALE: 'INVALID_LOCALE';
|
|
93
|
+
readonly INVALID_CONTENT_TYPE: 'INVALID_CONTENT_TYPE';
|
|
94
|
+
readonly INVALID_REQUEST: 'INVALID_REQUEST';
|
|
95
|
+
readonly MDX_COMPILE_FAILED: 'MDX_COMPILE_FAILED';
|
|
96
|
+
/** A write another website sent through the developer's browser. */
|
|
97
|
+
readonly FORBIDDEN: 'FORBIDDEN';
|
|
98
|
+
readonly INTERNAL_ERROR: 'INTERNAL_ERROR';
|
|
99
|
+
readonly FETCH_ERROR: 'FETCH_ERROR';
|
|
100
|
+
readonly GIT_NOT_REPO: 'GIT_NOT_REPO';
|
|
101
|
+
readonly GIT_COMMIT_FAILED: 'GIT_COMMIT_FAILED';
|
|
102
|
+
readonly GIT_PUSH_FAILED: 'GIT_PUSH_FAILED';
|
|
103
|
+
readonly GIT_PULL_FAILED: 'GIT_PULL_FAILED';
|
|
104
|
+
readonly GIT_STATUS_FAILED: 'GIT_STATUS_FAILED';
|
|
105
|
+
readonly ASSET_NOT_FOUND: 'ASSET_NOT_FOUND';
|
|
106
|
+
readonly ASSET_INVALID_FORMAT: 'ASSET_INVALID_FORMAT';
|
|
107
|
+
readonly ASSET_TOO_LARGE: 'ASSET_TOO_LARGE';
|
|
108
|
+
readonly ASSET_UPLOAD_FAILED: 'ASSET_UPLOAD_FAILED';
|
|
109
|
+
/** The target site is not serving the preview endpoint, so a generated
|
|
110
|
+
* preview URL would 404 there. This describes the target deployment, not a
|
|
111
|
+
* failure of the request — callers must not render it as an error. */
|
|
112
|
+
readonly PREVIEW_NOT_DEPLOYED: 'PREVIEW_NOT_DEPLOYED';
|
|
113
|
+
};
|
|
114
|
+
export type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];
|
|
115
|
+
export type ContentType = 'puck' | 'mdx' | 'json';
|
|
116
|
+
export interface ContentData {
|
|
117
|
+
puckData?: any;
|
|
118
|
+
mdx?: string;
|
|
119
|
+
data?: Record<string, unknown>;
|
|
120
|
+
}
|
|
121
|
+
export interface ContentProp {
|
|
122
|
+
content: ContentData;
|
|
123
|
+
}
|
|
124
|
+
export interface ContentIdentity {
|
|
125
|
+
id: string;
|
|
126
|
+
type: ContentType;
|
|
127
|
+
kind: 'fragment' | 'page' | 'data';
|
|
128
|
+
site?: string;
|
|
129
|
+
collection: string;
|
|
130
|
+
}
|
|
131
|
+
export interface LocalePathData {
|
|
132
|
+
locale: string;
|
|
133
|
+
pathname?: string;
|
|
134
|
+
name?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface LocaleVersion extends LocalePathData {
|
|
137
|
+
etag: string;
|
|
138
|
+
created: string;
|
|
139
|
+
modified: string;
|
|
140
|
+
publishAt?: string;
|
|
141
|
+
unpublishAt?: string;
|
|
142
|
+
previousPathnames?: Record<string, string>;
|
|
143
|
+
meta: ContentMeta;
|
|
144
|
+
/**
|
|
145
|
+
* Path of the file backing this locale, as the hydrating backend knows it.
|
|
146
|
+
* Set during filesystem hydration; absent on backends that do not read
|
|
147
|
+
* files and on manifests built in-memory before the first rescan. Diagnostic only — it exists so an error about this locale can
|
|
148
|
+
* name a file a human can open instead of the opaque content id.
|
|
149
|
+
*/
|
|
150
|
+
sourcePath?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface ContentManifest extends ContentIdentity {
|
|
153
|
+
locales: Record<string, LocaleVersion | undefined>;
|
|
154
|
+
}
|
|
155
|
+
export interface LocalizedManifest extends ContentIdentity {
|
|
156
|
+
localized: LocaleVersion;
|
|
157
|
+
}
|
|
158
|
+
export interface LocalizedEntry extends ContentIdentity {
|
|
159
|
+
localized: LocaleVersion & ContentProp;
|
|
160
|
+
}
|
|
161
|
+
export interface ContentEntry extends ContentManifest {
|
|
162
|
+
locales: Record<string, LocaleVersion & ContentProp>;
|
|
163
|
+
}
|
|
164
|
+
export interface UpdateResult {
|
|
165
|
+
success: boolean;
|
|
166
|
+
etag?: string;
|
|
167
|
+
modified?: Date;
|
|
168
|
+
/**
|
|
169
|
+
* The `invalid_pathname`, `pathname_taken` and `pathname_in_redirects`
|
|
170
|
+
* refusals of a page's new path, and the `invalid_name` and `name_taken`
|
|
171
|
+
* refusals of a fragment or data entry's new name, mean what they mean for a
|
|
172
|
+
* create; a backend that does not tell them apart reports `write_error`.
|
|
173
|
+
*/
|
|
174
|
+
reason?: 'not_found' | 'stale_write' | 'write_error' | 'invalid_pathname' | 'pathname_taken' | 'pathname_in_redirects' | 'invalid_name' | 'name_taken';
|
|
175
|
+
error?: Error;
|
|
176
|
+
currentEtag?: string;
|
|
177
|
+
conflictDetails?: {
|
|
178
|
+
metaChanged: boolean;
|
|
179
|
+
contentChanged: boolean;
|
|
180
|
+
currentMeta?: ContentMeta;
|
|
181
|
+
currentContent?: ContentData;
|
|
182
|
+
localContent?: ContentData;
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
export interface MoveResult {
|
|
186
|
+
moved: boolean;
|
|
187
|
+
previousPathname?: string;
|
|
188
|
+
files?: string[];
|
|
189
|
+
/** `already_exists` also covers a path another page redirects from; `invalid_pathname` is a malformed path. */
|
|
190
|
+
reason?: 'not_found' | 'already_exists' | 'stale_write' | 'write_error' | 'invalid_pathname';
|
|
191
|
+
error?: Error;
|
|
192
|
+
etag?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface ContentListResult {
|
|
195
|
+
items: ContentManifest[];
|
|
196
|
+
total: number;
|
|
197
|
+
hasMore?: boolean;
|
|
198
|
+
}
|
|
199
|
+
export interface GlobalFilters {
|
|
200
|
+
site?: string;
|
|
201
|
+
collection?: string;
|
|
202
|
+
locales?: string[];
|
|
203
|
+
type?: 'puck' | 'mdx' | 'json';
|
|
204
|
+
published?: boolean;
|
|
205
|
+
kind?: 'fragment' | 'page' | 'data';
|
|
206
|
+
localization?: 'complete' | 'partial' | 'one';
|
|
207
|
+
missingLocales?: string[];
|
|
208
|
+
}
|
|
209
|
+
export interface SiteFilters {
|
|
210
|
+
collection?: string;
|
|
211
|
+
locales?: string[];
|
|
212
|
+
type?: 'puck' | 'mdx';
|
|
213
|
+
published?: boolean;
|
|
214
|
+
}
|
|
215
|
+
export interface FragmentFilters {
|
|
216
|
+
collection?: string;
|
|
217
|
+
locales?: string[];
|
|
218
|
+
}
|
|
219
|
+
export interface FindOptions {
|
|
220
|
+
excludeSites?: string[];
|
|
221
|
+
includeUnpublished?: boolean;
|
|
222
|
+
}
|
|
223
|
+
export interface CreateContentInput {
|
|
224
|
+
kind: 'fragment' | 'page' | 'data';
|
|
225
|
+
site?: string;
|
|
226
|
+
collection: string;
|
|
227
|
+
type: ContentType;
|
|
228
|
+
created?: string;
|
|
229
|
+
name?: string;
|
|
230
|
+
meta?: Partial<ContentMeta>;
|
|
231
|
+
locales: {
|
|
232
|
+
[locale: string]: {
|
|
233
|
+
pathname?: string;
|
|
234
|
+
publishAt?: string | null | false;
|
|
235
|
+
unpublishAt?: string | null | false;
|
|
236
|
+
meta?: Partial<ContentMeta>;
|
|
237
|
+
} & ContentProp;
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
export interface CreatePageInput {
|
|
241
|
+
collection: string;
|
|
242
|
+
locales: {
|
|
243
|
+
[locale: string]: {
|
|
244
|
+
pathname: string;
|
|
245
|
+
publishAt?: string | null | false;
|
|
246
|
+
unpublishAt?: string | null | false;
|
|
247
|
+
meta: ContentMeta;
|
|
248
|
+
content: {
|
|
249
|
+
puckData: any;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
export interface CreateFragmentInput {
|
|
255
|
+
collection: string;
|
|
256
|
+
type: 'mdx';
|
|
257
|
+
name: string;
|
|
258
|
+
meta?: Partial<ContentMeta>;
|
|
259
|
+
locales: {
|
|
260
|
+
[locale: string]: {
|
|
261
|
+
publishAt?: string | null | false;
|
|
262
|
+
unpublishAt?: string | null | false;
|
|
263
|
+
meta?: Partial<ContentMeta>;
|
|
264
|
+
content: {
|
|
265
|
+
mdx: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
export interface UpdateLocaleInput {
|
|
271
|
+
id: string;
|
|
272
|
+
locale: string;
|
|
273
|
+
data: LocaleUpdateData;
|
|
274
|
+
etag: string;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* A metadata update as a dialog sends it: absent keys are left alone, null
|
|
278
|
+
* clears the stored field. "Cleared" used to travel as undefined, which
|
|
279
|
+
* JSON.stringify drops, so the server's shallow merge silently kept the old
|
|
280
|
+
* value — the dialog reported success and the field reappeared on refresh.
|
|
281
|
+
*/
|
|
282
|
+
export type ContentMetaPatch = {
|
|
283
|
+
[K in keyof ContentMeta]?: ContentMeta[K] | null;
|
|
284
|
+
};
|
|
285
|
+
export interface LocaleUpdateData {
|
|
286
|
+
pathname?: string;
|
|
287
|
+
name?: string;
|
|
288
|
+
publishAt?: string | null | false;
|
|
289
|
+
unpublishAt?: string | null | false;
|
|
290
|
+
modified?: string;
|
|
291
|
+
meta?: ContentMetaPatch;
|
|
292
|
+
content?: ContentData;
|
|
293
|
+
}
|
|
294
|
+
export interface DeleteLocaleInput {
|
|
295
|
+
id: string;
|
|
296
|
+
locale: string;
|
|
297
|
+
etag: string;
|
|
298
|
+
}
|
|
299
|
+
export interface SitesConfig {
|
|
300
|
+
sites: {
|
|
301
|
+
[siteName: string]: {
|
|
302
|
+
locales: string[];
|
|
303
|
+
defaultLocale: string;
|
|
304
|
+
domains?: {
|
|
305
|
+
[locale: string]: string;
|
|
306
|
+
};
|
|
307
|
+
/**
|
|
308
|
+
* Optional filesystem path for this site's mdx-type pages.
|
|
309
|
+
* When set, .mdx files under this path are surfaced in the CMS
|
|
310
|
+
* as `kind: 'page'` + `type: 'mdx'` content owned by this site.
|
|
311
|
+
*
|
|
312
|
+
* Path is interpreted relative to the project root (the same
|
|
313
|
+
* cwd Astro uses), not the content root, so it can live anywhere
|
|
314
|
+
* the renderer expects (e.g. `./src/content/docs` for Starlight).
|
|
315
|
+
*
|
|
316
|
+
* When omitted, .mdx files for this site are expected to live
|
|
317
|
+
* alongside Puck (`.vxjson`) pages at `{contentRoot}/{site}/pages/`
|
|
318
|
+
* — the file extension determines the page type.
|
|
319
|
+
*/
|
|
320
|
+
mdxPages?: string;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
globalLocales: string[];
|
|
324
|
+
}
|
|
325
|
+
export interface BatchResult {
|
|
326
|
+
operations: BatchOperationResult[];
|
|
327
|
+
success: boolean;
|
|
328
|
+
failed: number;
|
|
329
|
+
updated: number;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Any value that survives a JSON round trip.
|
|
333
|
+
*
|
|
334
|
+
* Content metadata is serialised into `.vxjson` files on disk, so JSON is the
|
|
335
|
+
* real ceiling on what a meta field can hold. Saying that concretely — rather
|
|
336
|
+
* than `unknown` — keeps the type honest in both directions: readers still
|
|
337
|
+
* have to narrow before using a value, and the structure stays visible to
|
|
338
|
+
* anything that has to prove the type is serialisable in order to carry it.
|
|
339
|
+
*/
|
|
340
|
+
export type JsonValue = string | number | boolean | null | JsonArray | JsonObject;
|
|
341
|
+
/**
|
|
342
|
+
* The array arm of {@link JsonValue}. An interface for the same reason as
|
|
343
|
+
* {@link JsonObject}; `Array<JsonValue>` rather than `JsonValue[]` only
|
|
344
|
+
* because `extends` has no shorthand-array form to use here.
|
|
345
|
+
*/
|
|
346
|
+
export interface JsonArray extends Array<JsonValue> {
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* The object arm of {@link JsonValue}, kept as an interface rather than an
|
|
350
|
+
* inline type so the recursion terminates: a structural checker walking this
|
|
351
|
+
* type can defer the interface instead of re-expanding it at every level.
|
|
352
|
+
*/
|
|
353
|
+
export interface JsonObject {
|
|
354
|
+
[key: string]: JsonValue;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Host-declared page-meta fields. Sites augment this from their `pageSchemas`
|
|
358
|
+
* so listing components see `excerpt` / `featuredImage` as real keys instead
|
|
359
|
+
* of an open bag. Empty until a host writes `declare module '@conloca/content-api'`.
|
|
360
|
+
*/
|
|
361
|
+
export interface HostPageMeta {
|
|
362
|
+
}
|
|
363
|
+
export interface ContentMeta extends HostPageMeta {
|
|
364
|
+
title: string;
|
|
365
|
+
description?: string;
|
|
366
|
+
author?: string;
|
|
367
|
+
tags?: string[];
|
|
368
|
+
keywords?: string[];
|
|
369
|
+
ogTitle?: string;
|
|
370
|
+
ogDescription?: string;
|
|
371
|
+
ogImage?: string;
|
|
372
|
+
[key: string]: JsonValue | undefined;
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* VXJSON (Variant JSON) File Format
|
|
376
|
+
*
|
|
377
|
+
* VXJSON is a specialized JSON format that guarantees:
|
|
378
|
+
* 1. The root is always an object (never an array or primitive)
|
|
379
|
+
* 2. The "content" field always comes last in the object
|
|
380
|
+
* 3. Field order is deterministic for consistent ETag calculation
|
|
381
|
+
*
|
|
382
|
+
* This format enables efficient streaming ETag calculation where metadata
|
|
383
|
+
* can be hashed separately from content, supporting partial updates and
|
|
384
|
+
* conflict resolution in CMS scenarios.
|
|
385
|
+
*
|
|
386
|
+
* Files using this format have the extension .vxjson
|
|
387
|
+
*/
|
|
388
|
+
export interface VXJSONFile {
|
|
389
|
+
id: string;
|
|
390
|
+
type: ContentType;
|
|
391
|
+
created: string;
|
|
392
|
+
modified: string;
|
|
393
|
+
publishAt?: string;
|
|
394
|
+
unpublishAt?: string;
|
|
395
|
+
previousPathnames?: Record<string, string>;
|
|
396
|
+
meta: ContentMeta;
|
|
397
|
+
content: ContentData;
|
|
398
|
+
}
|
|
399
|
+
export interface MDXFrontmatter {
|
|
400
|
+
id: string;
|
|
401
|
+
type: 'mdx';
|
|
402
|
+
created: string;
|
|
403
|
+
modified: string;
|
|
404
|
+
publishAt?: string;
|
|
405
|
+
unpublishAt?: string;
|
|
406
|
+
meta: ContentMeta;
|
|
407
|
+
}
|
|
408
|
+
export type WriteResult = {
|
|
409
|
+
success: true;
|
|
410
|
+
etag: string;
|
|
411
|
+
modified?: Date;
|
|
412
|
+
reason?: undefined;
|
|
413
|
+
error?: undefined;
|
|
414
|
+
currentEtag?: undefined;
|
|
415
|
+
} | {
|
|
416
|
+
success: false;
|
|
417
|
+
etag?: undefined;
|
|
418
|
+
modified?: undefined;
|
|
419
|
+
reason: 'stale_write';
|
|
420
|
+
error?: undefined;
|
|
421
|
+
currentEtag: string;
|
|
422
|
+
} | {
|
|
423
|
+
success: false;
|
|
424
|
+
etag?: undefined;
|
|
425
|
+
modified?: undefined;
|
|
426
|
+
reason: 'already_exists';
|
|
427
|
+
error?: undefined;
|
|
428
|
+
currentEtag: string;
|
|
429
|
+
} | {
|
|
430
|
+
success: false;
|
|
431
|
+
etag?: undefined;
|
|
432
|
+
modified?: undefined;
|
|
433
|
+
reason: 'write_error';
|
|
434
|
+
error: Error;
|
|
435
|
+
currentEtag?: string;
|
|
436
|
+
};
|
|
437
|
+
export interface DeleteResult {
|
|
438
|
+
success: boolean;
|
|
439
|
+
error?: Error;
|
|
440
|
+
reason?: 'stale_write' | 'not_found' | 'delete_error';
|
|
441
|
+
currentEtag?: string;
|
|
442
|
+
}
|
|
443
|
+
export interface CreateResult {
|
|
444
|
+
success: boolean;
|
|
445
|
+
id?: string;
|
|
446
|
+
etag?: string;
|
|
447
|
+
created?: Date;
|
|
448
|
+
reason?: 'already_exists' | 'write_error' | 'invalid_name' | 'invalid_pathname' | 'name_taken' | 'pathname_taken' | 'pathname_in_redirects' | 'invalid_collection' | 'invalid_locale' | 'metadata_too_large' | 'missing_field' | 'unknown_site' | 'no_sites_configured';
|
|
449
|
+
error?: Error;
|
|
450
|
+
existingId?: string;
|
|
451
|
+
/** The input field a caller has to change, when the failure points at one. */
|
|
452
|
+
field?: string;
|
|
453
|
+
}
|
|
454
|
+
export interface BatchOperationResult {
|
|
455
|
+
id: string;
|
|
456
|
+
locale: string;
|
|
457
|
+
updated: boolean;
|
|
458
|
+
error?: Error;
|
|
459
|
+
etag?: string;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Minimal page reference for listing/navigation in data context.
|
|
463
|
+
*
|
|
464
|
+
* Used in dataBindings.pages for blog listing components
|
|
465
|
+
* and getStaticPaths() to enumerate available pages.
|
|
466
|
+
*/
|
|
467
|
+
export interface PageReference {
|
|
468
|
+
/** Page identifier. */
|
|
469
|
+
id: string;
|
|
470
|
+
/** URL pathname. */
|
|
471
|
+
pathname: string;
|
|
472
|
+
/** Page title (if available without full load). */
|
|
473
|
+
title?: string;
|
|
474
|
+
/** Content collection. */
|
|
475
|
+
collection: string;
|
|
476
|
+
/** Page metadata from content. */
|
|
477
|
+
meta?: ContentMeta;
|
|
478
|
+
/** Page timestamps for sorting and display. */
|
|
479
|
+
timestamps?: {
|
|
480
|
+
/** When the page was created. */
|
|
481
|
+
created?: Date;
|
|
482
|
+
/** When the page was last saved. Page lists never order by it, so an edit does not move a page. */
|
|
483
|
+
modified?: Date;
|
|
484
|
+
/**
|
|
485
|
+
* When the page went or goes live: its publish time (`publishAt`), or its
|
|
486
|
+
* creation time when it has none. Page lists order by it.
|
|
487
|
+
*/
|
|
488
|
+
published?: Date;
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* A single entry from a data collection.
|
|
493
|
+
*
|
|
494
|
+
* Simplified representation of collection data for use in component resolvers.
|
|
495
|
+
*/
|
|
496
|
+
export interface DataCollectionEntry {
|
|
497
|
+
/** Unique identifier for the entry. */
|
|
498
|
+
id: string;
|
|
499
|
+
/** Human-readable name of the entry. */
|
|
500
|
+
name: string;
|
|
501
|
+
/** The entry's data content. */
|
|
502
|
+
data: Record<string, unknown>;
|
|
503
|
+
/** Optional metadata for the entry. */
|
|
504
|
+
meta?: Record<string, unknown>;
|
|
505
|
+
}
|
|
506
|
+
/**
|
|
507
|
+
* Context Puck hands every block of a page as its metadata: to `resolveData`
|
|
508
|
+
* as `metadata` and to `render` as `puck.metadata`.
|
|
509
|
+
*
|
|
510
|
+
* Contains the page being rendered, the data its route binds and contextual
|
|
511
|
+
* information for data-driven component rendering.
|
|
512
|
+
*/
|
|
513
|
+
export interface DataContext {
|
|
514
|
+
/** The page being rendered, with its settings. */
|
|
515
|
+
page: PageReference;
|
|
516
|
+
/** Collection data keyed by collection name. */
|
|
517
|
+
collections: Record<string, DataCollectionEntry[]>;
|
|
518
|
+
/** Pages matching the dataBindings.pages filter. */
|
|
519
|
+
pages?: PageReference[];
|
|
520
|
+
/** Current locale used for data fetching. */
|
|
521
|
+
locale: string;
|
|
522
|
+
/** Site name from routing configuration. */
|
|
523
|
+
siteName: string;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Configuration for automatic data collection injection into Puck components.
|
|
527
|
+
*
|
|
528
|
+
* Allows components to declare data dependencies on Conloca data collections,
|
|
529
|
+
* which are automatically fetched and injected via Puck's metadata system.
|
|
530
|
+
*
|
|
531
|
+
* @example Route with data bindings
|
|
532
|
+
* ```typescript
|
|
533
|
+
* conlocaCMS({
|
|
534
|
+
* routing: {
|
|
535
|
+
* routes: {
|
|
536
|
+
* pages: {
|
|
537
|
+
* pattern: '/[...slug]',
|
|
538
|
+
* dataBindings: {
|
|
539
|
+
* collections: ['team', 'testimonials'],
|
|
540
|
+
* },
|
|
541
|
+
* },
|
|
542
|
+
* },
|
|
543
|
+
* },
|
|
544
|
+
* });
|
|
545
|
+
* ```
|
|
546
|
+
*/
|
|
547
|
+
export interface DataBindingConfig {
|
|
548
|
+
/**
|
|
549
|
+
* Collections to fetch and inject into component resolvers.
|
|
550
|
+
*
|
|
551
|
+
* Each collection name must match a data collection in the content directory.
|
|
552
|
+
* The fetched data will be available in `metadata.collections[collectionName]`
|
|
553
|
+
* within Puck component resolvers.
|
|
554
|
+
*
|
|
555
|
+
* @example ['team', 'testimonials', 'products']
|
|
556
|
+
*/
|
|
557
|
+
collections?: string[];
|
|
558
|
+
/**
|
|
559
|
+
* Locale override for data fetching.
|
|
560
|
+
*
|
|
561
|
+
* Defaults to the route's locale setting (from routing.locale).
|
|
562
|
+
* Use this to fetch data in a specific locale regardless of route config.
|
|
563
|
+
*/
|
|
564
|
+
locale?: string;
|
|
565
|
+
/**
|
|
566
|
+
* Page discovery configuration for listing pages by path prefix.
|
|
567
|
+
*
|
|
568
|
+
* Enables components to access lists of pages matching a URL pattern,
|
|
569
|
+
* useful for blog listings, category pages, and site navigation.
|
|
570
|
+
*
|
|
571
|
+
* @example Blog listing page
|
|
572
|
+
* ```typescript
|
|
573
|
+
* {
|
|
574
|
+
* pattern: '/blog',
|
|
575
|
+
* dataBindings: {
|
|
576
|
+
* pages: {
|
|
577
|
+
* prefix: '/blog/',
|
|
578
|
+
* sort: 'date-desc',
|
|
579
|
+
* limit: 10,
|
|
580
|
+
* },
|
|
581
|
+
* },
|
|
582
|
+
* }
|
|
583
|
+
* ```
|
|
584
|
+
*/
|
|
585
|
+
pages?: {
|
|
586
|
+
/**
|
|
587
|
+
* Path prefix to filter pages.
|
|
588
|
+
*
|
|
589
|
+
* Only pages whose pathname starts with this prefix are included.
|
|
590
|
+
* The listing page itself is excluded.
|
|
591
|
+
*
|
|
592
|
+
* @example '/blog/' matches '/blog/post-1', '/blog/post-2'
|
|
593
|
+
*/
|
|
594
|
+
prefix: string;
|
|
595
|
+
/**
|
|
596
|
+
* Maximum number of pages to return.
|
|
597
|
+
*
|
|
598
|
+
* Useful for showing "latest N posts" on a homepage or sidebar.
|
|
599
|
+
*/
|
|
600
|
+
limit?: number;
|
|
601
|
+
/**
|
|
602
|
+
* Sort order for returned pages.
|
|
603
|
+
*
|
|
604
|
+
* - 'date-desc': Newest first by `timestamps.published`, so editing a page never moves it
|
|
605
|
+
* - 'date-asc': Oldest first
|
|
606
|
+
* - 'title': Alphabetical by title
|
|
607
|
+
*
|
|
608
|
+
* Pages that tie are listed by pathname, then id, so every surface shows one order.
|
|
609
|
+
*
|
|
610
|
+
* @default 'date-desc'
|
|
611
|
+
*/
|
|
612
|
+
sort?: 'date-desc' | 'date-asc' | 'title';
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* What an editor needs to build a page's {@link DataContext} the way the
|
|
617
|
+
* published page gets it: the site and locale the routes read under, and every
|
|
618
|
+
* page collection a route serves, keyed by collection, with that route's
|
|
619
|
+
* bindings. The first route wins when two share a collection.
|
|
620
|
+
*/
|
|
621
|
+
export interface EditorDataBindings {
|
|
622
|
+
siteName: string;
|
|
623
|
+
locale: string;
|
|
624
|
+
routes: Record<string, DataBindingConfig>;
|
|
625
|
+
}
|
|
626
|
+
export interface LocaleFileData {
|
|
627
|
+
locale: string;
|
|
628
|
+
etag: string;
|
|
629
|
+
created: string;
|
|
630
|
+
modified: string;
|
|
631
|
+
publishAt?: string;
|
|
632
|
+
unpublishAt?: string;
|
|
633
|
+
previousPathnames?: Record<string, string>;
|
|
634
|
+
meta: ContentMeta;
|
|
635
|
+
content: {
|
|
636
|
+
puckData?: any;
|
|
637
|
+
mdx?: string;
|
|
638
|
+
data?: Record<string, unknown>;
|
|
639
|
+
};
|
|
640
|
+
}
|
|
641
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;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