@monoflake/sdk 0.0.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/LICENSE +22 -0
- package/dist/artifacts/src/anchors.d.ts +34 -0
- package/dist/artifacts/src/anchors.js +64 -0
- package/dist/artifacts/src/api.d.ts +14 -0
- package/dist/artifacts/src/api.js +20 -0
- package/dist/artifacts/src/batch.d.ts +105 -0
- package/dist/artifacts/src/batch.js +81 -0
- package/dist/artifacts/src/engagement.d.ts +61 -0
- package/dist/artifacts/src/engagement.js +67 -0
- package/dist/artifacts/src/feed.d.ts +42 -0
- package/dist/artifacts/src/feed.js +89 -0
- package/dist/artifacts/src/index.d.ts +4224 -0
- package/dist/artifacts/src/index.js +219 -0
- package/dist/artifacts/src/picture.d.ts +116 -0
- package/dist/artifacts/src/picture.js +161 -0
- package/dist/artifacts/src/resource.d.ts +1391 -0
- package/dist/artifacts/src/resource.js +477 -0
- package/dist/artifacts/src/schema.d.ts +5 -0
- package/dist/artifacts/src/schema.js +18 -0
- package/dist/artifacts/src/types.d.ts +396 -0
- package/dist/artifacts/src/types.js +0 -0
- package/dist/cache/src/index.d.ts +67 -0
- package/dist/cache/src/index.js +58 -0
- package/dist/imgsrc/src/index.d.ts +16 -0
- package/dist/imgsrc/src/index.js +89 -0
- package/dist/limits/src/bucket.d.ts +28 -0
- package/dist/limits/src/bucket.js +23 -0
- package/dist/limits/src/index.d.ts +29 -0
- package/dist/limits/src/index.js +62 -0
- package/dist/limits/src/key.d.ts +37 -0
- package/dist/limits/src/key.js +64 -0
- package/dist/robots/src/index.d.ts +98 -0
- package/dist/robots/src/index.js +196 -0
- package/dist/security/src/agents.d.ts +10 -0
- package/dist/security/src/agents.js +95 -0
- package/dist/security/src/index.d.ts +12 -0
- package/dist/security/src/index.js +37 -0
- package/dist/src/index.d.ts +218 -0
- package/dist/src/index.js +219 -0
- package/dist/store/src/index.d.ts +92 -0
- package/dist/store/src/index.js +264 -0
- package/dist/symlink/src/index.d.ts +24 -0
- package/dist/symlink/src/index.js +89 -0
- package/package.json +85 -0
|
@@ -0,0 +1,4224 @@
|
|
|
1
|
+
import { Alternate, Article, ArticleMeta, ArticleNote, ArticleReference, ArticleSummary, ArticleView, Block, CaptionKind, CardAlign, CargoView, Compiled, CompiledPage, CrateDep, CrateRecord, InlineSegment, Page, PageBlock, PageView, QuadrantDirection, QuadrantItem, QuadrantPosition, RepoRecord, TocEntry, TokeiView, TweetRecord, VideoRung, VideoTrack } from "./types.js";
|
|
2
|
+
import { ApiError, ApiResponse, ApiSuccess, unwrap, unwrapAs } from "./api.js";
|
|
3
|
+
import { FeedBases, blockFeedHtml, escapeHtml, feedHtml } from "./feed.js";
|
|
4
|
+
import { CancelAnswer, CancelAnswerSchema, LikeAnswer, LikeAnswerSchema, LikedAnswer, LikedAnswerSchema, NewsletterAnswer, NewsletterAnswerSchema, ReadAnswer, ReadAnswerSchema, ReadsAnswer, ReadsAnswerSchema, StatsAnswer, StatsAnswerSchema } from "./engagement.js";
|
|
5
|
+
import { ArticlesRequestSchema, BatchAnswer, BatchAnswerOf, BatchRequest, BatchRequestSchema, BatchType, BatchedArticle, RESOURCES_PER_QUESTION, ReadsRequestSchema, ResourcesRequestSchema, resourceQuestions } from "./batch.js";
|
|
6
|
+
import { ArticleLayer, ArticleLayerSchema, CANONICAL_PATTERN, ClipLayer, ClipLayerSchema, DocumentLayer, DocumentLayerSchema, FrameLayer, FrameLayerSchema, IconLayer, IconLayerSchema, ImageLayer, ImageLayerSchema, ImageVariant, ImageVariantSchema, LAYERS, LayerName, LayerOf, MarkLayer, MarkLayerSchema, MediaLayer, MediaLayerSchema, NoticeLayer, NoticeLayerSchema, ParsedResource, PhotoLayer, PhotoLayerSchema, RESOURCE_PATTERN, RESOURCE_VERSION, Resource, ResourceId, ResourceSchema, SCALABLE_MIMES, ScreenshotLayer, ScreenshotLayerSchema, TONES, Tone, VideoLayer, VideoLayerSchema, expandCanonical, isLayerName, isResourceId, parseResource, parseType, requireSegment } from "./resource.js";
|
|
7
|
+
import { ICON_EXTENSION, Picture, VARIANT_EXTENSION, aspect, best, enough, height, namedResources, objectUrl, pictured, resolution, rungs, scalable, toned, width } from "./picture.js";
|
|
8
|
+
import { HASH_PATTERN } from "./schema.js";
|
|
9
|
+
import * as v from "valibot";
|
|
10
|
+
import { LocaleCode } from "@canmi/me/locales";
|
|
11
|
+
//#region artifacts/src/index.d.ts
|
|
12
|
+
/**
|
|
13
|
+
* The shape every published object declares.
|
|
14
|
+
*
|
|
15
|
+
* Bumped when a producer and a consumer can no longer read each other. They deploy separately
|
|
16
|
+
* now, so this is the only thing that tells a Worker it is holding bytes it does not understand.
|
|
17
|
+
*/
|
|
18
|
+
export declare const ARTIFACT_VERSION = 2;
|
|
19
|
+
export declare const ARTIFACT_TYPES: readonly ['content', 'page', 'markdown'];
|
|
20
|
+
export type ArtifactType = (typeof ARTIFACT_TYPES)[number];
|
|
21
|
+
/** What each corpus artifact is spelled with, in the address and in the bucket alike. */
|
|
22
|
+
export declare const ARTIFACT_EXTENSIONS: {
|
|
23
|
+
readonly content: 'json';
|
|
24
|
+
readonly page: 'json';
|
|
25
|
+
readonly markdown: 'md';
|
|
26
|
+
};
|
|
27
|
+
/** The one object in the bucket whose name outlives its bytes. */
|
|
28
|
+
export declare const ROOT_KEY = "state/index.json";
|
|
29
|
+
/**
|
|
30
|
+
* The address a published object is served at.
|
|
31
|
+
*
|
|
32
|
+
* `object/{hash}.{ext}` -- not where it is stored, and no longer naming what kind of thing it is
|
|
33
|
+
* either. The type survives as the one thing that decides the extension: a caller asks for a
|
|
34
|
+
* `content` object and the table below says that is spelled `json`.
|
|
35
|
+
*/
|
|
36
|
+
export declare function artifactAddress(type: ArtifactType, hash: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* Where an object lives: its content id, fanned out, and nothing else.
|
|
39
|
+
*
|
|
40
|
+
* **The bucket's layout is not the CDN's URL.** A URL says `/object/{cid}.{ext}`; the bucket stores
|
|
41
|
+
* `{ab}/{cd}/{cid}.{ext}`, because the id already identifies it and a type directory would be a
|
|
42
|
+
* second place to write the same fact. The fan-out is for listing, and the extension is kept so a
|
|
43
|
+
* bucket downloaded whole is still files that open. See web's spec/architecture/data.md, "The
|
|
44
|
+
* bucket stores content ids, and so does the address".
|
|
45
|
+
*/
|
|
46
|
+
export declare function storageKey(cid: string, extension: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Where a resource's record lives, which is in the other bucket entirely.
|
|
49
|
+
*
|
|
50
|
+
* **Keyed by the rid and never by a cid.** A key ending in a hash reads as content-addressed,
|
|
51
|
+
* and the cache policy read the shape and granted a year -- to a record rewritten whenever its
|
|
52
|
+
* asset is re-derived. That is the confusion spec/architecture/resource.md exists to end. See
|
|
53
|
+
* also web's spec/architecture/data.md, "One bucket holds records and the other holds bytes".
|
|
54
|
+
*/
|
|
55
|
+
export declare function recordKey(resource: string): string;
|
|
56
|
+
/**
|
|
57
|
+
* The classifier the cache policy is derived from, rather than a table of key prefixes.
|
|
58
|
+
*
|
|
59
|
+
* A key that parses is content-addressed and may be held forever; one that does not is not, and
|
|
60
|
+
* gets the short life. That is the whole rule, so a new type costs no cache decision.
|
|
61
|
+
*/
|
|
62
|
+
export declare function parseArtifactKey(key: string): {
|
|
63
|
+
type: ArtifactType;
|
|
64
|
+
hash: string;
|
|
65
|
+
ext: string;
|
|
66
|
+
} | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* What an article says it is: the copy a page renders in its own right.
|
|
69
|
+
*
|
|
70
|
+
* `short` is the pair a phone card shows where the row clips, and it is a pair rather than two
|
|
71
|
+
* keys because it is one decision -- see web's spec/i18n/prose.md.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ViewMetaSchema: v.ObjectSchema<{
|
|
74
|
+
readonly title: v.StringSchema<undefined>;
|
|
75
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
76
|
+
readonly description: v.StringSchema<undefined>;
|
|
77
|
+
readonly short: v.ObjectSchema<{
|
|
78
|
+
readonly title: v.StringSchema<undefined>;
|
|
79
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
80
|
+
}, undefined>;
|
|
81
|
+
}, undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* One locale's view, grouped by what each group answers rather than laid out flat.
|
|
84
|
+
*
|
|
85
|
+
* Flat, this was thirteen keys where `title` sat beside `content` and `words` beside
|
|
86
|
+
* `language_tag`, and a reader had to know the whole list to find anything. Each group below
|
|
87
|
+
* answers one question: which objects carry it, which language it is, what it says, when it was
|
|
88
|
+
* written, how big it is, and what a listing shows of it.
|
|
89
|
+
*/
|
|
90
|
+
export declare const RootViewSchema: v.ObjectSchema<{
|
|
91
|
+
readonly objects: v.ObjectSchema<{
|
|
92
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
93
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
94
|
+
}, undefined>;
|
|
95
|
+
readonly locale: v.ObjectSchema<{
|
|
96
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
97
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
98
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
99
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
100
|
+
}, undefined>;
|
|
101
|
+
readonly meta: v.ObjectSchema<{
|
|
102
|
+
readonly title: v.StringSchema<undefined>;
|
|
103
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
104
|
+
readonly description: v.StringSchema<undefined>;
|
|
105
|
+
readonly short: v.ObjectSchema<{
|
|
106
|
+
readonly title: v.StringSchema<undefined>;
|
|
107
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
108
|
+
}, undefined>;
|
|
109
|
+
}, undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
112
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
113
|
+
*
|
|
114
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
115
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
116
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
117
|
+
*/
|
|
118
|
+
readonly dates: v.ObjectSchema<{
|
|
119
|
+
readonly created: v.StringSchema<undefined>;
|
|
120
|
+
readonly published: v.StringSchema<undefined>;
|
|
121
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
readonly metrics: v.ObjectSchema<{
|
|
124
|
+
readonly words: v.NumberSchema<undefined>;
|
|
125
|
+
}, undefined>;
|
|
126
|
+
readonly preview: v.ObjectSchema<{
|
|
127
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
128
|
+
}, undefined>;
|
|
129
|
+
}, undefined>;
|
|
130
|
+
export declare const RootArticleSchema: v.ObjectSchema<{
|
|
131
|
+
/** The identity: unique across the corpus, and what every question asks with. */
|
|
132
|
+
readonly slug: v.StringSchema<undefined>;
|
|
133
|
+
/** The address: where it currently lives, which is the only half that can change. */
|
|
134
|
+
readonly path: v.StringSchema<undefined>;
|
|
135
|
+
readonly url: v.StringSchema<undefined>;
|
|
136
|
+
readonly markdown: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
137
|
+
readonly alternates: v.ArraySchema<v.ObjectSchema<{
|
|
138
|
+
readonly code: v.PicklistSchema<("de" | "en" | "es" | "fr" | "ja" | "ko" | "tw" | "x-default" | "zh")[], undefined>;
|
|
139
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
140
|
+
readonly href: v.StringSchema<undefined>;
|
|
141
|
+
}, undefined>, undefined>;
|
|
142
|
+
readonly canonical_urls: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
143
|
+
readonly views: Omit<v.ObjectSchema<Record<"de" | "en" | "es" | "fr" | "ja" | "ko" | "mw" | "tw" | "zh", v.ObjectSchema<{
|
|
144
|
+
readonly objects: v.ObjectSchema<{
|
|
145
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
146
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
147
|
+
}, undefined>;
|
|
148
|
+
readonly locale: v.ObjectSchema<{
|
|
149
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
150
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
151
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
152
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
153
|
+
}, undefined>;
|
|
154
|
+
readonly meta: v.ObjectSchema<{
|
|
155
|
+
readonly title: v.StringSchema<undefined>;
|
|
156
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
157
|
+
readonly description: v.StringSchema<undefined>;
|
|
158
|
+
readonly short: v.ObjectSchema<{
|
|
159
|
+
readonly title: v.StringSchema<undefined>;
|
|
160
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
161
|
+
}, undefined>;
|
|
162
|
+
}, undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
165
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
166
|
+
*
|
|
167
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
168
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
169
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
170
|
+
*/
|
|
171
|
+
readonly dates: v.ObjectSchema<{
|
|
172
|
+
readonly created: v.StringSchema<undefined>;
|
|
173
|
+
readonly published: v.StringSchema<undefined>;
|
|
174
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
175
|
+
}, undefined>;
|
|
176
|
+
readonly metrics: v.ObjectSchema<{
|
|
177
|
+
readonly words: v.NumberSchema<undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
readonly preview: v.ObjectSchema<{
|
|
180
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
181
|
+
}, undefined>;
|
|
182
|
+
}, undefined>>, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
183
|
+
readonly entries: {
|
|
184
|
+
de: v.OptionalSchema<v.ObjectSchema<{
|
|
185
|
+
readonly objects: v.ObjectSchema<{
|
|
186
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
187
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
188
|
+
}, undefined>;
|
|
189
|
+
readonly locale: v.ObjectSchema<{
|
|
190
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
191
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
192
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
193
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
194
|
+
}, undefined>;
|
|
195
|
+
readonly meta: v.ObjectSchema<{
|
|
196
|
+
readonly title: v.StringSchema<undefined>;
|
|
197
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
198
|
+
readonly description: v.StringSchema<undefined>;
|
|
199
|
+
readonly short: v.ObjectSchema<{
|
|
200
|
+
readonly title: v.StringSchema<undefined>;
|
|
201
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
202
|
+
}, undefined>;
|
|
203
|
+
}, undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
206
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
207
|
+
*
|
|
208
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
209
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
210
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
211
|
+
*/
|
|
212
|
+
readonly dates: v.ObjectSchema<{
|
|
213
|
+
readonly created: v.StringSchema<undefined>;
|
|
214
|
+
readonly published: v.StringSchema<undefined>;
|
|
215
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
216
|
+
}, undefined>;
|
|
217
|
+
readonly metrics: v.ObjectSchema<{
|
|
218
|
+
readonly words: v.NumberSchema<undefined>;
|
|
219
|
+
}, undefined>;
|
|
220
|
+
readonly preview: v.ObjectSchema<{
|
|
221
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
222
|
+
}, undefined>;
|
|
223
|
+
}, undefined>, undefined>;
|
|
224
|
+
en: v.OptionalSchema<v.ObjectSchema<{
|
|
225
|
+
readonly objects: v.ObjectSchema<{
|
|
226
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
227
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
228
|
+
}, undefined>;
|
|
229
|
+
readonly locale: v.ObjectSchema<{
|
|
230
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
231
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
232
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
233
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
234
|
+
}, undefined>;
|
|
235
|
+
readonly meta: v.ObjectSchema<{
|
|
236
|
+
readonly title: v.StringSchema<undefined>;
|
|
237
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
238
|
+
readonly description: v.StringSchema<undefined>;
|
|
239
|
+
readonly short: v.ObjectSchema<{
|
|
240
|
+
readonly title: v.StringSchema<undefined>;
|
|
241
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
242
|
+
}, undefined>;
|
|
243
|
+
}, undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
246
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
247
|
+
*
|
|
248
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
249
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
250
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
251
|
+
*/
|
|
252
|
+
readonly dates: v.ObjectSchema<{
|
|
253
|
+
readonly created: v.StringSchema<undefined>;
|
|
254
|
+
readonly published: v.StringSchema<undefined>;
|
|
255
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
256
|
+
}, undefined>;
|
|
257
|
+
readonly metrics: v.ObjectSchema<{
|
|
258
|
+
readonly words: v.NumberSchema<undefined>;
|
|
259
|
+
}, undefined>;
|
|
260
|
+
readonly preview: v.ObjectSchema<{
|
|
261
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
262
|
+
}, undefined>;
|
|
263
|
+
}, undefined>, undefined>;
|
|
264
|
+
es: v.OptionalSchema<v.ObjectSchema<{
|
|
265
|
+
readonly objects: v.ObjectSchema<{
|
|
266
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
267
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
268
|
+
}, undefined>;
|
|
269
|
+
readonly locale: v.ObjectSchema<{
|
|
270
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
271
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
272
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
273
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
274
|
+
}, undefined>;
|
|
275
|
+
readonly meta: v.ObjectSchema<{
|
|
276
|
+
readonly title: v.StringSchema<undefined>;
|
|
277
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
278
|
+
readonly description: v.StringSchema<undefined>;
|
|
279
|
+
readonly short: v.ObjectSchema<{
|
|
280
|
+
readonly title: v.StringSchema<undefined>;
|
|
281
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
282
|
+
}, undefined>;
|
|
283
|
+
}, undefined>;
|
|
284
|
+
/**
|
|
285
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
286
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
287
|
+
*
|
|
288
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
289
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
290
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
291
|
+
*/
|
|
292
|
+
readonly dates: v.ObjectSchema<{
|
|
293
|
+
readonly created: v.StringSchema<undefined>;
|
|
294
|
+
readonly published: v.StringSchema<undefined>;
|
|
295
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
296
|
+
}, undefined>;
|
|
297
|
+
readonly metrics: v.ObjectSchema<{
|
|
298
|
+
readonly words: v.NumberSchema<undefined>;
|
|
299
|
+
}, undefined>;
|
|
300
|
+
readonly preview: v.ObjectSchema<{
|
|
301
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
302
|
+
}, undefined>;
|
|
303
|
+
}, undefined>, undefined>;
|
|
304
|
+
fr: v.OptionalSchema<v.ObjectSchema<{
|
|
305
|
+
readonly objects: v.ObjectSchema<{
|
|
306
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
307
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
308
|
+
}, undefined>;
|
|
309
|
+
readonly locale: v.ObjectSchema<{
|
|
310
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
311
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
312
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
313
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
314
|
+
}, undefined>;
|
|
315
|
+
readonly meta: v.ObjectSchema<{
|
|
316
|
+
readonly title: v.StringSchema<undefined>;
|
|
317
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
318
|
+
readonly description: v.StringSchema<undefined>;
|
|
319
|
+
readonly short: v.ObjectSchema<{
|
|
320
|
+
readonly title: v.StringSchema<undefined>;
|
|
321
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
322
|
+
}, undefined>;
|
|
323
|
+
}, undefined>;
|
|
324
|
+
/**
|
|
325
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
326
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
327
|
+
*
|
|
328
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
329
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
330
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
331
|
+
*/
|
|
332
|
+
readonly dates: v.ObjectSchema<{
|
|
333
|
+
readonly created: v.StringSchema<undefined>;
|
|
334
|
+
readonly published: v.StringSchema<undefined>;
|
|
335
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
336
|
+
}, undefined>;
|
|
337
|
+
readonly metrics: v.ObjectSchema<{
|
|
338
|
+
readonly words: v.NumberSchema<undefined>;
|
|
339
|
+
}, undefined>;
|
|
340
|
+
readonly preview: v.ObjectSchema<{
|
|
341
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
342
|
+
}, undefined>;
|
|
343
|
+
}, undefined>, undefined>;
|
|
344
|
+
ja: v.OptionalSchema<v.ObjectSchema<{
|
|
345
|
+
readonly objects: v.ObjectSchema<{
|
|
346
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
347
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
348
|
+
}, undefined>;
|
|
349
|
+
readonly locale: v.ObjectSchema<{
|
|
350
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
351
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
352
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
353
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
354
|
+
}, undefined>;
|
|
355
|
+
readonly meta: v.ObjectSchema<{
|
|
356
|
+
readonly title: v.StringSchema<undefined>;
|
|
357
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
358
|
+
readonly description: v.StringSchema<undefined>;
|
|
359
|
+
readonly short: v.ObjectSchema<{
|
|
360
|
+
readonly title: v.StringSchema<undefined>;
|
|
361
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
362
|
+
}, undefined>;
|
|
363
|
+
}, undefined>;
|
|
364
|
+
/**
|
|
365
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
366
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
367
|
+
*
|
|
368
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
369
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
370
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
371
|
+
*/
|
|
372
|
+
readonly dates: v.ObjectSchema<{
|
|
373
|
+
readonly created: v.StringSchema<undefined>;
|
|
374
|
+
readonly published: v.StringSchema<undefined>;
|
|
375
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
376
|
+
}, undefined>;
|
|
377
|
+
readonly metrics: v.ObjectSchema<{
|
|
378
|
+
readonly words: v.NumberSchema<undefined>;
|
|
379
|
+
}, undefined>;
|
|
380
|
+
readonly preview: v.ObjectSchema<{
|
|
381
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
382
|
+
}, undefined>;
|
|
383
|
+
}, undefined>, undefined>;
|
|
384
|
+
ko: v.OptionalSchema<v.ObjectSchema<{
|
|
385
|
+
readonly objects: v.ObjectSchema<{
|
|
386
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
387
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
388
|
+
}, undefined>;
|
|
389
|
+
readonly locale: v.ObjectSchema<{
|
|
390
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
391
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
392
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
393
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
394
|
+
}, undefined>;
|
|
395
|
+
readonly meta: v.ObjectSchema<{
|
|
396
|
+
readonly title: v.StringSchema<undefined>;
|
|
397
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
398
|
+
readonly description: v.StringSchema<undefined>;
|
|
399
|
+
readonly short: v.ObjectSchema<{
|
|
400
|
+
readonly title: v.StringSchema<undefined>;
|
|
401
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
402
|
+
}, undefined>;
|
|
403
|
+
}, undefined>;
|
|
404
|
+
/**
|
|
405
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
406
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
407
|
+
*
|
|
408
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
409
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
410
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
411
|
+
*/
|
|
412
|
+
readonly dates: v.ObjectSchema<{
|
|
413
|
+
readonly created: v.StringSchema<undefined>;
|
|
414
|
+
readonly published: v.StringSchema<undefined>;
|
|
415
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
416
|
+
}, undefined>;
|
|
417
|
+
readonly metrics: v.ObjectSchema<{
|
|
418
|
+
readonly words: v.NumberSchema<undefined>;
|
|
419
|
+
}, undefined>;
|
|
420
|
+
readonly preview: v.ObjectSchema<{
|
|
421
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
422
|
+
}, undefined>;
|
|
423
|
+
}, undefined>, undefined>;
|
|
424
|
+
mw: v.OptionalSchema<v.ObjectSchema<{
|
|
425
|
+
readonly objects: v.ObjectSchema<{
|
|
426
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
427
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
428
|
+
}, undefined>;
|
|
429
|
+
readonly locale: v.ObjectSchema<{
|
|
430
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
431
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
432
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
433
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
434
|
+
}, undefined>;
|
|
435
|
+
readonly meta: v.ObjectSchema<{
|
|
436
|
+
readonly title: v.StringSchema<undefined>;
|
|
437
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
438
|
+
readonly description: v.StringSchema<undefined>;
|
|
439
|
+
readonly short: v.ObjectSchema<{
|
|
440
|
+
readonly title: v.StringSchema<undefined>;
|
|
441
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
442
|
+
}, undefined>;
|
|
443
|
+
}, undefined>;
|
|
444
|
+
/**
|
|
445
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
446
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
447
|
+
*
|
|
448
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
449
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
450
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
451
|
+
*/
|
|
452
|
+
readonly dates: v.ObjectSchema<{
|
|
453
|
+
readonly created: v.StringSchema<undefined>;
|
|
454
|
+
readonly published: v.StringSchema<undefined>;
|
|
455
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
456
|
+
}, undefined>;
|
|
457
|
+
readonly metrics: v.ObjectSchema<{
|
|
458
|
+
readonly words: v.NumberSchema<undefined>;
|
|
459
|
+
}, undefined>;
|
|
460
|
+
readonly preview: v.ObjectSchema<{
|
|
461
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
462
|
+
}, undefined>;
|
|
463
|
+
}, undefined>, undefined>;
|
|
464
|
+
tw: v.OptionalSchema<v.ObjectSchema<{
|
|
465
|
+
readonly objects: v.ObjectSchema<{
|
|
466
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
467
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
readonly locale: v.ObjectSchema<{
|
|
470
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
471
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
472
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
473
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
474
|
+
}, undefined>;
|
|
475
|
+
readonly meta: v.ObjectSchema<{
|
|
476
|
+
readonly title: v.StringSchema<undefined>;
|
|
477
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
478
|
+
readonly description: v.StringSchema<undefined>;
|
|
479
|
+
readonly short: v.ObjectSchema<{
|
|
480
|
+
readonly title: v.StringSchema<undefined>;
|
|
481
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
482
|
+
}, undefined>;
|
|
483
|
+
}, undefined>;
|
|
484
|
+
/**
|
|
485
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
486
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
487
|
+
*
|
|
488
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
489
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
490
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
491
|
+
*/
|
|
492
|
+
readonly dates: v.ObjectSchema<{
|
|
493
|
+
readonly created: v.StringSchema<undefined>;
|
|
494
|
+
readonly published: v.StringSchema<undefined>;
|
|
495
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
496
|
+
}, undefined>;
|
|
497
|
+
readonly metrics: v.ObjectSchema<{
|
|
498
|
+
readonly words: v.NumberSchema<undefined>;
|
|
499
|
+
}, undefined>;
|
|
500
|
+
readonly preview: v.ObjectSchema<{
|
|
501
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
502
|
+
}, undefined>;
|
|
503
|
+
}, undefined>, undefined>;
|
|
504
|
+
zh: v.OptionalSchema<v.ObjectSchema<{
|
|
505
|
+
readonly objects: v.ObjectSchema<{
|
|
506
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
507
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
508
|
+
}, undefined>;
|
|
509
|
+
readonly locale: v.ObjectSchema<{
|
|
510
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
511
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
512
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
513
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
514
|
+
}, undefined>;
|
|
515
|
+
readonly meta: v.ObjectSchema<{
|
|
516
|
+
readonly title: v.StringSchema<undefined>;
|
|
517
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
518
|
+
readonly description: v.StringSchema<undefined>;
|
|
519
|
+
readonly short: v.ObjectSchema<{
|
|
520
|
+
readonly title: v.StringSchema<undefined>;
|
|
521
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
522
|
+
}, undefined>;
|
|
523
|
+
}, undefined>;
|
|
524
|
+
/**
|
|
525
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
526
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
527
|
+
*
|
|
528
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
529
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
530
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
531
|
+
*/
|
|
532
|
+
readonly dates: v.ObjectSchema<{
|
|
533
|
+
readonly created: v.StringSchema<undefined>;
|
|
534
|
+
readonly published: v.StringSchema<undefined>;
|
|
535
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
536
|
+
}, undefined>;
|
|
537
|
+
readonly metrics: v.ObjectSchema<{
|
|
538
|
+
readonly words: v.NumberSchema<undefined>;
|
|
539
|
+
}, undefined>;
|
|
540
|
+
readonly preview: v.ObjectSchema<{
|
|
541
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
542
|
+
}, undefined>;
|
|
543
|
+
}, undefined>, undefined>;
|
|
544
|
+
};
|
|
545
|
+
readonly "~standard": v.StandardProps<{
|
|
546
|
+
de?: {
|
|
547
|
+
objects: {
|
|
548
|
+
content: string;
|
|
549
|
+
card?: string | undefined;
|
|
550
|
+
};
|
|
551
|
+
locale: {
|
|
552
|
+
language_tag: string;
|
|
553
|
+
canonical: string;
|
|
554
|
+
translated: boolean;
|
|
555
|
+
};
|
|
556
|
+
meta: {
|
|
557
|
+
title: string;
|
|
558
|
+
subtitle: string;
|
|
559
|
+
description: string;
|
|
560
|
+
short: {
|
|
561
|
+
title: string;
|
|
562
|
+
subtitle: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
dates: {
|
|
566
|
+
created: string;
|
|
567
|
+
published: string;
|
|
568
|
+
lastmod: string;
|
|
569
|
+
};
|
|
570
|
+
metrics: {
|
|
571
|
+
words: number;
|
|
572
|
+
};
|
|
573
|
+
preview: {
|
|
574
|
+
paragraphs: string[];
|
|
575
|
+
};
|
|
576
|
+
} | undefined;
|
|
577
|
+
en?: {
|
|
578
|
+
objects: {
|
|
579
|
+
content: string;
|
|
580
|
+
card?: string | undefined;
|
|
581
|
+
};
|
|
582
|
+
locale: {
|
|
583
|
+
language_tag: string;
|
|
584
|
+
canonical: string;
|
|
585
|
+
translated: boolean;
|
|
586
|
+
};
|
|
587
|
+
meta: {
|
|
588
|
+
title: string;
|
|
589
|
+
subtitle: string;
|
|
590
|
+
description: string;
|
|
591
|
+
short: {
|
|
592
|
+
title: string;
|
|
593
|
+
subtitle: string;
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
dates: {
|
|
597
|
+
created: string;
|
|
598
|
+
published: string;
|
|
599
|
+
lastmod: string;
|
|
600
|
+
};
|
|
601
|
+
metrics: {
|
|
602
|
+
words: number;
|
|
603
|
+
};
|
|
604
|
+
preview: {
|
|
605
|
+
paragraphs: string[];
|
|
606
|
+
};
|
|
607
|
+
} | undefined;
|
|
608
|
+
es?: {
|
|
609
|
+
objects: {
|
|
610
|
+
content: string;
|
|
611
|
+
card?: string | undefined;
|
|
612
|
+
};
|
|
613
|
+
locale: {
|
|
614
|
+
language_tag: string;
|
|
615
|
+
canonical: string;
|
|
616
|
+
translated: boolean;
|
|
617
|
+
};
|
|
618
|
+
meta: {
|
|
619
|
+
title: string;
|
|
620
|
+
subtitle: string;
|
|
621
|
+
description: string;
|
|
622
|
+
short: {
|
|
623
|
+
title: string;
|
|
624
|
+
subtitle: string;
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
dates: {
|
|
628
|
+
created: string;
|
|
629
|
+
published: string;
|
|
630
|
+
lastmod: string;
|
|
631
|
+
};
|
|
632
|
+
metrics: {
|
|
633
|
+
words: number;
|
|
634
|
+
};
|
|
635
|
+
preview: {
|
|
636
|
+
paragraphs: string[];
|
|
637
|
+
};
|
|
638
|
+
} | undefined;
|
|
639
|
+
fr?: {
|
|
640
|
+
objects: {
|
|
641
|
+
content: string;
|
|
642
|
+
card?: string | undefined;
|
|
643
|
+
};
|
|
644
|
+
locale: {
|
|
645
|
+
language_tag: string;
|
|
646
|
+
canonical: string;
|
|
647
|
+
translated: boolean;
|
|
648
|
+
};
|
|
649
|
+
meta: {
|
|
650
|
+
title: string;
|
|
651
|
+
subtitle: string;
|
|
652
|
+
description: string;
|
|
653
|
+
short: {
|
|
654
|
+
title: string;
|
|
655
|
+
subtitle: string;
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
dates: {
|
|
659
|
+
created: string;
|
|
660
|
+
published: string;
|
|
661
|
+
lastmod: string;
|
|
662
|
+
};
|
|
663
|
+
metrics: {
|
|
664
|
+
words: number;
|
|
665
|
+
};
|
|
666
|
+
preview: {
|
|
667
|
+
paragraphs: string[];
|
|
668
|
+
};
|
|
669
|
+
} | undefined;
|
|
670
|
+
ja?: {
|
|
671
|
+
objects: {
|
|
672
|
+
content: string;
|
|
673
|
+
card?: string | undefined;
|
|
674
|
+
};
|
|
675
|
+
locale: {
|
|
676
|
+
language_tag: string;
|
|
677
|
+
canonical: string;
|
|
678
|
+
translated: boolean;
|
|
679
|
+
};
|
|
680
|
+
meta: {
|
|
681
|
+
title: string;
|
|
682
|
+
subtitle: string;
|
|
683
|
+
description: string;
|
|
684
|
+
short: {
|
|
685
|
+
title: string;
|
|
686
|
+
subtitle: string;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
dates: {
|
|
690
|
+
created: string;
|
|
691
|
+
published: string;
|
|
692
|
+
lastmod: string;
|
|
693
|
+
};
|
|
694
|
+
metrics: {
|
|
695
|
+
words: number;
|
|
696
|
+
};
|
|
697
|
+
preview: {
|
|
698
|
+
paragraphs: string[];
|
|
699
|
+
};
|
|
700
|
+
} | undefined;
|
|
701
|
+
ko?: {
|
|
702
|
+
objects: {
|
|
703
|
+
content: string;
|
|
704
|
+
card?: string | undefined;
|
|
705
|
+
};
|
|
706
|
+
locale: {
|
|
707
|
+
language_tag: string;
|
|
708
|
+
canonical: string;
|
|
709
|
+
translated: boolean;
|
|
710
|
+
};
|
|
711
|
+
meta: {
|
|
712
|
+
title: string;
|
|
713
|
+
subtitle: string;
|
|
714
|
+
description: string;
|
|
715
|
+
short: {
|
|
716
|
+
title: string;
|
|
717
|
+
subtitle: string;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
dates: {
|
|
721
|
+
created: string;
|
|
722
|
+
published: string;
|
|
723
|
+
lastmod: string;
|
|
724
|
+
};
|
|
725
|
+
metrics: {
|
|
726
|
+
words: number;
|
|
727
|
+
};
|
|
728
|
+
preview: {
|
|
729
|
+
paragraphs: string[];
|
|
730
|
+
};
|
|
731
|
+
} | undefined;
|
|
732
|
+
mw?: {
|
|
733
|
+
objects: {
|
|
734
|
+
content: string;
|
|
735
|
+
card?: string | undefined;
|
|
736
|
+
};
|
|
737
|
+
locale: {
|
|
738
|
+
language_tag: string;
|
|
739
|
+
canonical: string;
|
|
740
|
+
translated: boolean;
|
|
741
|
+
};
|
|
742
|
+
meta: {
|
|
743
|
+
title: string;
|
|
744
|
+
subtitle: string;
|
|
745
|
+
description: string;
|
|
746
|
+
short: {
|
|
747
|
+
title: string;
|
|
748
|
+
subtitle: string;
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
dates: {
|
|
752
|
+
created: string;
|
|
753
|
+
published: string;
|
|
754
|
+
lastmod: string;
|
|
755
|
+
};
|
|
756
|
+
metrics: {
|
|
757
|
+
words: number;
|
|
758
|
+
};
|
|
759
|
+
preview: {
|
|
760
|
+
paragraphs: string[];
|
|
761
|
+
};
|
|
762
|
+
} | undefined;
|
|
763
|
+
tw?: {
|
|
764
|
+
objects: {
|
|
765
|
+
content: string;
|
|
766
|
+
card?: string | undefined;
|
|
767
|
+
};
|
|
768
|
+
locale: {
|
|
769
|
+
language_tag: string;
|
|
770
|
+
canonical: string;
|
|
771
|
+
translated: boolean;
|
|
772
|
+
};
|
|
773
|
+
meta: {
|
|
774
|
+
title: string;
|
|
775
|
+
subtitle: string;
|
|
776
|
+
description: string;
|
|
777
|
+
short: {
|
|
778
|
+
title: string;
|
|
779
|
+
subtitle: string;
|
|
780
|
+
};
|
|
781
|
+
};
|
|
782
|
+
dates: {
|
|
783
|
+
created: string;
|
|
784
|
+
published: string;
|
|
785
|
+
lastmod: string;
|
|
786
|
+
};
|
|
787
|
+
metrics: {
|
|
788
|
+
words: number;
|
|
789
|
+
};
|
|
790
|
+
preview: {
|
|
791
|
+
paragraphs: string[];
|
|
792
|
+
};
|
|
793
|
+
} | undefined;
|
|
794
|
+
zh?: {
|
|
795
|
+
objects: {
|
|
796
|
+
content: string;
|
|
797
|
+
card?: string | undefined;
|
|
798
|
+
};
|
|
799
|
+
locale: {
|
|
800
|
+
language_tag: string;
|
|
801
|
+
canonical: string;
|
|
802
|
+
translated: boolean;
|
|
803
|
+
};
|
|
804
|
+
meta: {
|
|
805
|
+
title: string;
|
|
806
|
+
subtitle: string;
|
|
807
|
+
description: string;
|
|
808
|
+
short: {
|
|
809
|
+
title: string;
|
|
810
|
+
subtitle: string;
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
dates: {
|
|
814
|
+
created: string;
|
|
815
|
+
published: string;
|
|
816
|
+
lastmod: string;
|
|
817
|
+
};
|
|
818
|
+
metrics: {
|
|
819
|
+
words: number;
|
|
820
|
+
};
|
|
821
|
+
preview: {
|
|
822
|
+
paragraphs: string[];
|
|
823
|
+
};
|
|
824
|
+
} | undefined;
|
|
825
|
+
}, {
|
|
826
|
+
de?: {
|
|
827
|
+
objects: {
|
|
828
|
+
content: string;
|
|
829
|
+
card?: string | undefined;
|
|
830
|
+
};
|
|
831
|
+
locale: {
|
|
832
|
+
language_tag: string;
|
|
833
|
+
canonical: string;
|
|
834
|
+
translated: boolean;
|
|
835
|
+
};
|
|
836
|
+
meta: {
|
|
837
|
+
title: string;
|
|
838
|
+
subtitle: string;
|
|
839
|
+
description: string;
|
|
840
|
+
short: {
|
|
841
|
+
title: string;
|
|
842
|
+
subtitle: string;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
dates: {
|
|
846
|
+
created: string;
|
|
847
|
+
published: string;
|
|
848
|
+
lastmod: string;
|
|
849
|
+
};
|
|
850
|
+
metrics: {
|
|
851
|
+
words: number;
|
|
852
|
+
};
|
|
853
|
+
preview: {
|
|
854
|
+
paragraphs: string[];
|
|
855
|
+
};
|
|
856
|
+
} | undefined;
|
|
857
|
+
en?: {
|
|
858
|
+
objects: {
|
|
859
|
+
content: string;
|
|
860
|
+
card?: string | undefined;
|
|
861
|
+
};
|
|
862
|
+
locale: {
|
|
863
|
+
language_tag: string;
|
|
864
|
+
canonical: string;
|
|
865
|
+
translated: boolean;
|
|
866
|
+
};
|
|
867
|
+
meta: {
|
|
868
|
+
title: string;
|
|
869
|
+
subtitle: string;
|
|
870
|
+
description: string;
|
|
871
|
+
short: {
|
|
872
|
+
title: string;
|
|
873
|
+
subtitle: string;
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
dates: {
|
|
877
|
+
created: string;
|
|
878
|
+
published: string;
|
|
879
|
+
lastmod: string;
|
|
880
|
+
};
|
|
881
|
+
metrics: {
|
|
882
|
+
words: number;
|
|
883
|
+
};
|
|
884
|
+
preview: {
|
|
885
|
+
paragraphs: string[];
|
|
886
|
+
};
|
|
887
|
+
} | undefined;
|
|
888
|
+
es?: {
|
|
889
|
+
objects: {
|
|
890
|
+
content: string;
|
|
891
|
+
card?: string | undefined;
|
|
892
|
+
};
|
|
893
|
+
locale: {
|
|
894
|
+
language_tag: string;
|
|
895
|
+
canonical: string;
|
|
896
|
+
translated: boolean;
|
|
897
|
+
};
|
|
898
|
+
meta: {
|
|
899
|
+
title: string;
|
|
900
|
+
subtitle: string;
|
|
901
|
+
description: string;
|
|
902
|
+
short: {
|
|
903
|
+
title: string;
|
|
904
|
+
subtitle: string;
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
dates: {
|
|
908
|
+
created: string;
|
|
909
|
+
published: string;
|
|
910
|
+
lastmod: string;
|
|
911
|
+
};
|
|
912
|
+
metrics: {
|
|
913
|
+
words: number;
|
|
914
|
+
};
|
|
915
|
+
preview: {
|
|
916
|
+
paragraphs: string[];
|
|
917
|
+
};
|
|
918
|
+
} | undefined;
|
|
919
|
+
fr?: {
|
|
920
|
+
objects: {
|
|
921
|
+
content: string;
|
|
922
|
+
card?: string | undefined;
|
|
923
|
+
};
|
|
924
|
+
locale: {
|
|
925
|
+
language_tag: string;
|
|
926
|
+
canonical: string;
|
|
927
|
+
translated: boolean;
|
|
928
|
+
};
|
|
929
|
+
meta: {
|
|
930
|
+
title: string;
|
|
931
|
+
subtitle: string;
|
|
932
|
+
description: string;
|
|
933
|
+
short: {
|
|
934
|
+
title: string;
|
|
935
|
+
subtitle: string;
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
dates: {
|
|
939
|
+
created: string;
|
|
940
|
+
published: string;
|
|
941
|
+
lastmod: string;
|
|
942
|
+
};
|
|
943
|
+
metrics: {
|
|
944
|
+
words: number;
|
|
945
|
+
};
|
|
946
|
+
preview: {
|
|
947
|
+
paragraphs: string[];
|
|
948
|
+
};
|
|
949
|
+
} | undefined;
|
|
950
|
+
ja?: {
|
|
951
|
+
objects: {
|
|
952
|
+
content: string;
|
|
953
|
+
card?: string | undefined;
|
|
954
|
+
};
|
|
955
|
+
locale: {
|
|
956
|
+
language_tag: string;
|
|
957
|
+
canonical: string;
|
|
958
|
+
translated: boolean;
|
|
959
|
+
};
|
|
960
|
+
meta: {
|
|
961
|
+
title: string;
|
|
962
|
+
subtitle: string;
|
|
963
|
+
description: string;
|
|
964
|
+
short: {
|
|
965
|
+
title: string;
|
|
966
|
+
subtitle: string;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
dates: {
|
|
970
|
+
created: string;
|
|
971
|
+
published: string;
|
|
972
|
+
lastmod: string;
|
|
973
|
+
};
|
|
974
|
+
metrics: {
|
|
975
|
+
words: number;
|
|
976
|
+
};
|
|
977
|
+
preview: {
|
|
978
|
+
paragraphs: string[];
|
|
979
|
+
};
|
|
980
|
+
} | undefined;
|
|
981
|
+
ko?: {
|
|
982
|
+
objects: {
|
|
983
|
+
content: string;
|
|
984
|
+
card?: string | undefined;
|
|
985
|
+
};
|
|
986
|
+
locale: {
|
|
987
|
+
language_tag: string;
|
|
988
|
+
canonical: string;
|
|
989
|
+
translated: boolean;
|
|
990
|
+
};
|
|
991
|
+
meta: {
|
|
992
|
+
title: string;
|
|
993
|
+
subtitle: string;
|
|
994
|
+
description: string;
|
|
995
|
+
short: {
|
|
996
|
+
title: string;
|
|
997
|
+
subtitle: string;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
dates: {
|
|
1001
|
+
created: string;
|
|
1002
|
+
published: string;
|
|
1003
|
+
lastmod: string;
|
|
1004
|
+
};
|
|
1005
|
+
metrics: {
|
|
1006
|
+
words: number;
|
|
1007
|
+
};
|
|
1008
|
+
preview: {
|
|
1009
|
+
paragraphs: string[];
|
|
1010
|
+
};
|
|
1011
|
+
} | undefined;
|
|
1012
|
+
mw?: {
|
|
1013
|
+
objects: {
|
|
1014
|
+
content: string;
|
|
1015
|
+
card?: string | undefined;
|
|
1016
|
+
};
|
|
1017
|
+
locale: {
|
|
1018
|
+
language_tag: string;
|
|
1019
|
+
canonical: string;
|
|
1020
|
+
translated: boolean;
|
|
1021
|
+
};
|
|
1022
|
+
meta: {
|
|
1023
|
+
title: string;
|
|
1024
|
+
subtitle: string;
|
|
1025
|
+
description: string;
|
|
1026
|
+
short: {
|
|
1027
|
+
title: string;
|
|
1028
|
+
subtitle: string;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
dates: {
|
|
1032
|
+
created: string;
|
|
1033
|
+
published: string;
|
|
1034
|
+
lastmod: string;
|
|
1035
|
+
};
|
|
1036
|
+
metrics: {
|
|
1037
|
+
words: number;
|
|
1038
|
+
};
|
|
1039
|
+
preview: {
|
|
1040
|
+
paragraphs: string[];
|
|
1041
|
+
};
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
tw?: {
|
|
1044
|
+
objects: {
|
|
1045
|
+
content: string;
|
|
1046
|
+
card?: string | undefined;
|
|
1047
|
+
};
|
|
1048
|
+
locale: {
|
|
1049
|
+
language_tag: string;
|
|
1050
|
+
canonical: string;
|
|
1051
|
+
translated: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
meta: {
|
|
1054
|
+
title: string;
|
|
1055
|
+
subtitle: string;
|
|
1056
|
+
description: string;
|
|
1057
|
+
short: {
|
|
1058
|
+
title: string;
|
|
1059
|
+
subtitle: string;
|
|
1060
|
+
};
|
|
1061
|
+
};
|
|
1062
|
+
dates: {
|
|
1063
|
+
created: string;
|
|
1064
|
+
published: string;
|
|
1065
|
+
lastmod: string;
|
|
1066
|
+
};
|
|
1067
|
+
metrics: {
|
|
1068
|
+
words: number;
|
|
1069
|
+
};
|
|
1070
|
+
preview: {
|
|
1071
|
+
paragraphs: string[];
|
|
1072
|
+
};
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
zh?: {
|
|
1075
|
+
objects: {
|
|
1076
|
+
content: string;
|
|
1077
|
+
card?: string | undefined;
|
|
1078
|
+
};
|
|
1079
|
+
locale: {
|
|
1080
|
+
language_tag: string;
|
|
1081
|
+
canonical: string;
|
|
1082
|
+
translated: boolean;
|
|
1083
|
+
};
|
|
1084
|
+
meta: {
|
|
1085
|
+
title: string;
|
|
1086
|
+
subtitle: string;
|
|
1087
|
+
description: string;
|
|
1088
|
+
short: {
|
|
1089
|
+
title: string;
|
|
1090
|
+
subtitle: string;
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
dates: {
|
|
1094
|
+
created: string;
|
|
1095
|
+
published: string;
|
|
1096
|
+
lastmod: string;
|
|
1097
|
+
};
|
|
1098
|
+
metrics: {
|
|
1099
|
+
words: number;
|
|
1100
|
+
};
|
|
1101
|
+
preview: {
|
|
1102
|
+
paragraphs: string[];
|
|
1103
|
+
};
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
}>;
|
|
1106
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
1107
|
+
de?: {
|
|
1108
|
+
objects: {
|
|
1109
|
+
content: string;
|
|
1110
|
+
card?: string | undefined;
|
|
1111
|
+
};
|
|
1112
|
+
locale: {
|
|
1113
|
+
language_tag: string;
|
|
1114
|
+
canonical: string;
|
|
1115
|
+
translated: boolean;
|
|
1116
|
+
};
|
|
1117
|
+
meta: {
|
|
1118
|
+
title: string;
|
|
1119
|
+
subtitle: string;
|
|
1120
|
+
description: string;
|
|
1121
|
+
short: {
|
|
1122
|
+
title: string;
|
|
1123
|
+
subtitle: string;
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
dates: {
|
|
1127
|
+
created: string;
|
|
1128
|
+
published: string;
|
|
1129
|
+
lastmod: string;
|
|
1130
|
+
};
|
|
1131
|
+
metrics: {
|
|
1132
|
+
words: number;
|
|
1133
|
+
};
|
|
1134
|
+
preview: {
|
|
1135
|
+
paragraphs: string[];
|
|
1136
|
+
};
|
|
1137
|
+
} | undefined;
|
|
1138
|
+
en?: {
|
|
1139
|
+
objects: {
|
|
1140
|
+
content: string;
|
|
1141
|
+
card?: string | undefined;
|
|
1142
|
+
};
|
|
1143
|
+
locale: {
|
|
1144
|
+
language_tag: string;
|
|
1145
|
+
canonical: string;
|
|
1146
|
+
translated: boolean;
|
|
1147
|
+
};
|
|
1148
|
+
meta: {
|
|
1149
|
+
title: string;
|
|
1150
|
+
subtitle: string;
|
|
1151
|
+
description: string;
|
|
1152
|
+
short: {
|
|
1153
|
+
title: string;
|
|
1154
|
+
subtitle: string;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
dates: {
|
|
1158
|
+
created: string;
|
|
1159
|
+
published: string;
|
|
1160
|
+
lastmod: string;
|
|
1161
|
+
};
|
|
1162
|
+
metrics: {
|
|
1163
|
+
words: number;
|
|
1164
|
+
};
|
|
1165
|
+
preview: {
|
|
1166
|
+
paragraphs: string[];
|
|
1167
|
+
};
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
es?: {
|
|
1170
|
+
objects: {
|
|
1171
|
+
content: string;
|
|
1172
|
+
card?: string | undefined;
|
|
1173
|
+
};
|
|
1174
|
+
locale: {
|
|
1175
|
+
language_tag: string;
|
|
1176
|
+
canonical: string;
|
|
1177
|
+
translated: boolean;
|
|
1178
|
+
};
|
|
1179
|
+
meta: {
|
|
1180
|
+
title: string;
|
|
1181
|
+
subtitle: string;
|
|
1182
|
+
description: string;
|
|
1183
|
+
short: {
|
|
1184
|
+
title: string;
|
|
1185
|
+
subtitle: string;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
dates: {
|
|
1189
|
+
created: string;
|
|
1190
|
+
published: string;
|
|
1191
|
+
lastmod: string;
|
|
1192
|
+
};
|
|
1193
|
+
metrics: {
|
|
1194
|
+
words: number;
|
|
1195
|
+
};
|
|
1196
|
+
preview: {
|
|
1197
|
+
paragraphs: string[];
|
|
1198
|
+
};
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
fr?: {
|
|
1201
|
+
objects: {
|
|
1202
|
+
content: string;
|
|
1203
|
+
card?: string | undefined;
|
|
1204
|
+
};
|
|
1205
|
+
locale: {
|
|
1206
|
+
language_tag: string;
|
|
1207
|
+
canonical: string;
|
|
1208
|
+
translated: boolean;
|
|
1209
|
+
};
|
|
1210
|
+
meta: {
|
|
1211
|
+
title: string;
|
|
1212
|
+
subtitle: string;
|
|
1213
|
+
description: string;
|
|
1214
|
+
short: {
|
|
1215
|
+
title: string;
|
|
1216
|
+
subtitle: string;
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
dates: {
|
|
1220
|
+
created: string;
|
|
1221
|
+
published: string;
|
|
1222
|
+
lastmod: string;
|
|
1223
|
+
};
|
|
1224
|
+
metrics: {
|
|
1225
|
+
words: number;
|
|
1226
|
+
};
|
|
1227
|
+
preview: {
|
|
1228
|
+
paragraphs: string[];
|
|
1229
|
+
};
|
|
1230
|
+
} | undefined;
|
|
1231
|
+
ja?: {
|
|
1232
|
+
objects: {
|
|
1233
|
+
content: string;
|
|
1234
|
+
card?: string | undefined;
|
|
1235
|
+
};
|
|
1236
|
+
locale: {
|
|
1237
|
+
language_tag: string;
|
|
1238
|
+
canonical: string;
|
|
1239
|
+
translated: boolean;
|
|
1240
|
+
};
|
|
1241
|
+
meta: {
|
|
1242
|
+
title: string;
|
|
1243
|
+
subtitle: string;
|
|
1244
|
+
description: string;
|
|
1245
|
+
short: {
|
|
1246
|
+
title: string;
|
|
1247
|
+
subtitle: string;
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
dates: {
|
|
1251
|
+
created: string;
|
|
1252
|
+
published: string;
|
|
1253
|
+
lastmod: string;
|
|
1254
|
+
};
|
|
1255
|
+
metrics: {
|
|
1256
|
+
words: number;
|
|
1257
|
+
};
|
|
1258
|
+
preview: {
|
|
1259
|
+
paragraphs: string[];
|
|
1260
|
+
};
|
|
1261
|
+
} | undefined;
|
|
1262
|
+
ko?: {
|
|
1263
|
+
objects: {
|
|
1264
|
+
content: string;
|
|
1265
|
+
card?: string | undefined;
|
|
1266
|
+
};
|
|
1267
|
+
locale: {
|
|
1268
|
+
language_tag: string;
|
|
1269
|
+
canonical: string;
|
|
1270
|
+
translated: boolean;
|
|
1271
|
+
};
|
|
1272
|
+
meta: {
|
|
1273
|
+
title: string;
|
|
1274
|
+
subtitle: string;
|
|
1275
|
+
description: string;
|
|
1276
|
+
short: {
|
|
1277
|
+
title: string;
|
|
1278
|
+
subtitle: string;
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
dates: {
|
|
1282
|
+
created: string;
|
|
1283
|
+
published: string;
|
|
1284
|
+
lastmod: string;
|
|
1285
|
+
};
|
|
1286
|
+
metrics: {
|
|
1287
|
+
words: number;
|
|
1288
|
+
};
|
|
1289
|
+
preview: {
|
|
1290
|
+
paragraphs: string[];
|
|
1291
|
+
};
|
|
1292
|
+
} | undefined;
|
|
1293
|
+
mw?: {
|
|
1294
|
+
objects: {
|
|
1295
|
+
content: string;
|
|
1296
|
+
card?: string | undefined;
|
|
1297
|
+
};
|
|
1298
|
+
locale: {
|
|
1299
|
+
language_tag: string;
|
|
1300
|
+
canonical: string;
|
|
1301
|
+
translated: boolean;
|
|
1302
|
+
};
|
|
1303
|
+
meta: {
|
|
1304
|
+
title: string;
|
|
1305
|
+
subtitle: string;
|
|
1306
|
+
description: string;
|
|
1307
|
+
short: {
|
|
1308
|
+
title: string;
|
|
1309
|
+
subtitle: string;
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
dates: {
|
|
1313
|
+
created: string;
|
|
1314
|
+
published: string;
|
|
1315
|
+
lastmod: string;
|
|
1316
|
+
};
|
|
1317
|
+
metrics: {
|
|
1318
|
+
words: number;
|
|
1319
|
+
};
|
|
1320
|
+
preview: {
|
|
1321
|
+
paragraphs: string[];
|
|
1322
|
+
};
|
|
1323
|
+
} | undefined;
|
|
1324
|
+
tw?: {
|
|
1325
|
+
objects: {
|
|
1326
|
+
content: string;
|
|
1327
|
+
card?: string | undefined;
|
|
1328
|
+
};
|
|
1329
|
+
locale: {
|
|
1330
|
+
language_tag: string;
|
|
1331
|
+
canonical: string;
|
|
1332
|
+
translated: boolean;
|
|
1333
|
+
};
|
|
1334
|
+
meta: {
|
|
1335
|
+
title: string;
|
|
1336
|
+
subtitle: string;
|
|
1337
|
+
description: string;
|
|
1338
|
+
short: {
|
|
1339
|
+
title: string;
|
|
1340
|
+
subtitle: string;
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1343
|
+
dates: {
|
|
1344
|
+
created: string;
|
|
1345
|
+
published: string;
|
|
1346
|
+
lastmod: string;
|
|
1347
|
+
};
|
|
1348
|
+
metrics: {
|
|
1349
|
+
words: number;
|
|
1350
|
+
};
|
|
1351
|
+
preview: {
|
|
1352
|
+
paragraphs: string[];
|
|
1353
|
+
};
|
|
1354
|
+
} | undefined;
|
|
1355
|
+
zh?: {
|
|
1356
|
+
objects: {
|
|
1357
|
+
content: string;
|
|
1358
|
+
card?: string | undefined;
|
|
1359
|
+
};
|
|
1360
|
+
locale: {
|
|
1361
|
+
language_tag: string;
|
|
1362
|
+
canonical: string;
|
|
1363
|
+
translated: boolean;
|
|
1364
|
+
};
|
|
1365
|
+
meta: {
|
|
1366
|
+
title: string;
|
|
1367
|
+
subtitle: string;
|
|
1368
|
+
description: string;
|
|
1369
|
+
short: {
|
|
1370
|
+
title: string;
|
|
1371
|
+
subtitle: string;
|
|
1372
|
+
};
|
|
1373
|
+
};
|
|
1374
|
+
dates: {
|
|
1375
|
+
created: string;
|
|
1376
|
+
published: string;
|
|
1377
|
+
lastmod: string;
|
|
1378
|
+
};
|
|
1379
|
+
metrics: {
|
|
1380
|
+
words: number;
|
|
1381
|
+
};
|
|
1382
|
+
preview: {
|
|
1383
|
+
paragraphs: string[];
|
|
1384
|
+
};
|
|
1385
|
+
} | undefined;
|
|
1386
|
+
}, v.ArrayIssue | v.BooleanIssue | v.NumberIssue | v.ObjectIssue | v.RegexIssue<string> | v.StringIssue>;
|
|
1387
|
+
readonly "~types"?: {
|
|
1388
|
+
readonly input: {
|
|
1389
|
+
de?: {
|
|
1390
|
+
objects: {
|
|
1391
|
+
content: string;
|
|
1392
|
+
card?: string | undefined;
|
|
1393
|
+
};
|
|
1394
|
+
locale: {
|
|
1395
|
+
language_tag: string;
|
|
1396
|
+
canonical: string;
|
|
1397
|
+
translated: boolean;
|
|
1398
|
+
};
|
|
1399
|
+
meta: {
|
|
1400
|
+
title: string;
|
|
1401
|
+
subtitle: string;
|
|
1402
|
+
description: string;
|
|
1403
|
+
short: {
|
|
1404
|
+
title: string;
|
|
1405
|
+
subtitle: string;
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
dates: {
|
|
1409
|
+
created: string;
|
|
1410
|
+
published: string;
|
|
1411
|
+
lastmod: string;
|
|
1412
|
+
};
|
|
1413
|
+
metrics: {
|
|
1414
|
+
words: number;
|
|
1415
|
+
};
|
|
1416
|
+
preview: {
|
|
1417
|
+
paragraphs: string[];
|
|
1418
|
+
};
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
en?: {
|
|
1421
|
+
objects: {
|
|
1422
|
+
content: string;
|
|
1423
|
+
card?: string | undefined;
|
|
1424
|
+
};
|
|
1425
|
+
locale: {
|
|
1426
|
+
language_tag: string;
|
|
1427
|
+
canonical: string;
|
|
1428
|
+
translated: boolean;
|
|
1429
|
+
};
|
|
1430
|
+
meta: {
|
|
1431
|
+
title: string;
|
|
1432
|
+
subtitle: string;
|
|
1433
|
+
description: string;
|
|
1434
|
+
short: {
|
|
1435
|
+
title: string;
|
|
1436
|
+
subtitle: string;
|
|
1437
|
+
};
|
|
1438
|
+
};
|
|
1439
|
+
dates: {
|
|
1440
|
+
created: string;
|
|
1441
|
+
published: string;
|
|
1442
|
+
lastmod: string;
|
|
1443
|
+
};
|
|
1444
|
+
metrics: {
|
|
1445
|
+
words: number;
|
|
1446
|
+
};
|
|
1447
|
+
preview: {
|
|
1448
|
+
paragraphs: string[];
|
|
1449
|
+
};
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
es?: {
|
|
1452
|
+
objects: {
|
|
1453
|
+
content: string;
|
|
1454
|
+
card?: string | undefined;
|
|
1455
|
+
};
|
|
1456
|
+
locale: {
|
|
1457
|
+
language_tag: string;
|
|
1458
|
+
canonical: string;
|
|
1459
|
+
translated: boolean;
|
|
1460
|
+
};
|
|
1461
|
+
meta: {
|
|
1462
|
+
title: string;
|
|
1463
|
+
subtitle: string;
|
|
1464
|
+
description: string;
|
|
1465
|
+
short: {
|
|
1466
|
+
title: string;
|
|
1467
|
+
subtitle: string;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
dates: {
|
|
1471
|
+
created: string;
|
|
1472
|
+
published: string;
|
|
1473
|
+
lastmod: string;
|
|
1474
|
+
};
|
|
1475
|
+
metrics: {
|
|
1476
|
+
words: number;
|
|
1477
|
+
};
|
|
1478
|
+
preview: {
|
|
1479
|
+
paragraphs: string[];
|
|
1480
|
+
};
|
|
1481
|
+
} | undefined;
|
|
1482
|
+
fr?: {
|
|
1483
|
+
objects: {
|
|
1484
|
+
content: string;
|
|
1485
|
+
card?: string | undefined;
|
|
1486
|
+
};
|
|
1487
|
+
locale: {
|
|
1488
|
+
language_tag: string;
|
|
1489
|
+
canonical: string;
|
|
1490
|
+
translated: boolean;
|
|
1491
|
+
};
|
|
1492
|
+
meta: {
|
|
1493
|
+
title: string;
|
|
1494
|
+
subtitle: string;
|
|
1495
|
+
description: string;
|
|
1496
|
+
short: {
|
|
1497
|
+
title: string;
|
|
1498
|
+
subtitle: string;
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
dates: {
|
|
1502
|
+
created: string;
|
|
1503
|
+
published: string;
|
|
1504
|
+
lastmod: string;
|
|
1505
|
+
};
|
|
1506
|
+
metrics: {
|
|
1507
|
+
words: number;
|
|
1508
|
+
};
|
|
1509
|
+
preview: {
|
|
1510
|
+
paragraphs: string[];
|
|
1511
|
+
};
|
|
1512
|
+
} | undefined;
|
|
1513
|
+
ja?: {
|
|
1514
|
+
objects: {
|
|
1515
|
+
content: string;
|
|
1516
|
+
card?: string | undefined;
|
|
1517
|
+
};
|
|
1518
|
+
locale: {
|
|
1519
|
+
language_tag: string;
|
|
1520
|
+
canonical: string;
|
|
1521
|
+
translated: boolean;
|
|
1522
|
+
};
|
|
1523
|
+
meta: {
|
|
1524
|
+
title: string;
|
|
1525
|
+
subtitle: string;
|
|
1526
|
+
description: string;
|
|
1527
|
+
short: {
|
|
1528
|
+
title: string;
|
|
1529
|
+
subtitle: string;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
dates: {
|
|
1533
|
+
created: string;
|
|
1534
|
+
published: string;
|
|
1535
|
+
lastmod: string;
|
|
1536
|
+
};
|
|
1537
|
+
metrics: {
|
|
1538
|
+
words: number;
|
|
1539
|
+
};
|
|
1540
|
+
preview: {
|
|
1541
|
+
paragraphs: string[];
|
|
1542
|
+
};
|
|
1543
|
+
} | undefined;
|
|
1544
|
+
ko?: {
|
|
1545
|
+
objects: {
|
|
1546
|
+
content: string;
|
|
1547
|
+
card?: string | undefined;
|
|
1548
|
+
};
|
|
1549
|
+
locale: {
|
|
1550
|
+
language_tag: string;
|
|
1551
|
+
canonical: string;
|
|
1552
|
+
translated: boolean;
|
|
1553
|
+
};
|
|
1554
|
+
meta: {
|
|
1555
|
+
title: string;
|
|
1556
|
+
subtitle: string;
|
|
1557
|
+
description: string;
|
|
1558
|
+
short: {
|
|
1559
|
+
title: string;
|
|
1560
|
+
subtitle: string;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
dates: {
|
|
1564
|
+
created: string;
|
|
1565
|
+
published: string;
|
|
1566
|
+
lastmod: string;
|
|
1567
|
+
};
|
|
1568
|
+
metrics: {
|
|
1569
|
+
words: number;
|
|
1570
|
+
};
|
|
1571
|
+
preview: {
|
|
1572
|
+
paragraphs: string[];
|
|
1573
|
+
};
|
|
1574
|
+
} | undefined;
|
|
1575
|
+
mw?: {
|
|
1576
|
+
objects: {
|
|
1577
|
+
content: string;
|
|
1578
|
+
card?: string | undefined;
|
|
1579
|
+
};
|
|
1580
|
+
locale: {
|
|
1581
|
+
language_tag: string;
|
|
1582
|
+
canonical: string;
|
|
1583
|
+
translated: boolean;
|
|
1584
|
+
};
|
|
1585
|
+
meta: {
|
|
1586
|
+
title: string;
|
|
1587
|
+
subtitle: string;
|
|
1588
|
+
description: string;
|
|
1589
|
+
short: {
|
|
1590
|
+
title: string;
|
|
1591
|
+
subtitle: string;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
dates: {
|
|
1595
|
+
created: string;
|
|
1596
|
+
published: string;
|
|
1597
|
+
lastmod: string;
|
|
1598
|
+
};
|
|
1599
|
+
metrics: {
|
|
1600
|
+
words: number;
|
|
1601
|
+
};
|
|
1602
|
+
preview: {
|
|
1603
|
+
paragraphs: string[];
|
|
1604
|
+
};
|
|
1605
|
+
} | undefined;
|
|
1606
|
+
tw?: {
|
|
1607
|
+
objects: {
|
|
1608
|
+
content: string;
|
|
1609
|
+
card?: string | undefined;
|
|
1610
|
+
};
|
|
1611
|
+
locale: {
|
|
1612
|
+
language_tag: string;
|
|
1613
|
+
canonical: string;
|
|
1614
|
+
translated: boolean;
|
|
1615
|
+
};
|
|
1616
|
+
meta: {
|
|
1617
|
+
title: string;
|
|
1618
|
+
subtitle: string;
|
|
1619
|
+
description: string;
|
|
1620
|
+
short: {
|
|
1621
|
+
title: string;
|
|
1622
|
+
subtitle: string;
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
dates: {
|
|
1626
|
+
created: string;
|
|
1627
|
+
published: string;
|
|
1628
|
+
lastmod: string;
|
|
1629
|
+
};
|
|
1630
|
+
metrics: {
|
|
1631
|
+
words: number;
|
|
1632
|
+
};
|
|
1633
|
+
preview: {
|
|
1634
|
+
paragraphs: string[];
|
|
1635
|
+
};
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
zh?: {
|
|
1638
|
+
objects: {
|
|
1639
|
+
content: string;
|
|
1640
|
+
card?: string | undefined;
|
|
1641
|
+
};
|
|
1642
|
+
locale: {
|
|
1643
|
+
language_tag: string;
|
|
1644
|
+
canonical: string;
|
|
1645
|
+
translated: boolean;
|
|
1646
|
+
};
|
|
1647
|
+
meta: {
|
|
1648
|
+
title: string;
|
|
1649
|
+
subtitle: string;
|
|
1650
|
+
description: string;
|
|
1651
|
+
short: {
|
|
1652
|
+
title: string;
|
|
1653
|
+
subtitle: string;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
dates: {
|
|
1657
|
+
created: string;
|
|
1658
|
+
published: string;
|
|
1659
|
+
lastmod: string;
|
|
1660
|
+
};
|
|
1661
|
+
metrics: {
|
|
1662
|
+
words: number;
|
|
1663
|
+
};
|
|
1664
|
+
preview: {
|
|
1665
|
+
paragraphs: string[];
|
|
1666
|
+
};
|
|
1667
|
+
} | undefined;
|
|
1668
|
+
};
|
|
1669
|
+
readonly output: {
|
|
1670
|
+
de?: {
|
|
1671
|
+
objects: {
|
|
1672
|
+
content: string;
|
|
1673
|
+
card?: string | undefined;
|
|
1674
|
+
};
|
|
1675
|
+
locale: {
|
|
1676
|
+
language_tag: string;
|
|
1677
|
+
canonical: string;
|
|
1678
|
+
translated: boolean;
|
|
1679
|
+
};
|
|
1680
|
+
meta: {
|
|
1681
|
+
title: string;
|
|
1682
|
+
subtitle: string;
|
|
1683
|
+
description: string;
|
|
1684
|
+
short: {
|
|
1685
|
+
title: string;
|
|
1686
|
+
subtitle: string;
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
dates: {
|
|
1690
|
+
created: string;
|
|
1691
|
+
published: string;
|
|
1692
|
+
lastmod: string;
|
|
1693
|
+
};
|
|
1694
|
+
metrics: {
|
|
1695
|
+
words: number;
|
|
1696
|
+
};
|
|
1697
|
+
preview: {
|
|
1698
|
+
paragraphs: string[];
|
|
1699
|
+
};
|
|
1700
|
+
} | undefined;
|
|
1701
|
+
en?: {
|
|
1702
|
+
objects: {
|
|
1703
|
+
content: string;
|
|
1704
|
+
card?: string | undefined;
|
|
1705
|
+
};
|
|
1706
|
+
locale: {
|
|
1707
|
+
language_tag: string;
|
|
1708
|
+
canonical: string;
|
|
1709
|
+
translated: boolean;
|
|
1710
|
+
};
|
|
1711
|
+
meta: {
|
|
1712
|
+
title: string;
|
|
1713
|
+
subtitle: string;
|
|
1714
|
+
description: string;
|
|
1715
|
+
short: {
|
|
1716
|
+
title: string;
|
|
1717
|
+
subtitle: string;
|
|
1718
|
+
};
|
|
1719
|
+
};
|
|
1720
|
+
dates: {
|
|
1721
|
+
created: string;
|
|
1722
|
+
published: string;
|
|
1723
|
+
lastmod: string;
|
|
1724
|
+
};
|
|
1725
|
+
metrics: {
|
|
1726
|
+
words: number;
|
|
1727
|
+
};
|
|
1728
|
+
preview: {
|
|
1729
|
+
paragraphs: string[];
|
|
1730
|
+
};
|
|
1731
|
+
} | undefined;
|
|
1732
|
+
es?: {
|
|
1733
|
+
objects: {
|
|
1734
|
+
content: string;
|
|
1735
|
+
card?: string | undefined;
|
|
1736
|
+
};
|
|
1737
|
+
locale: {
|
|
1738
|
+
language_tag: string;
|
|
1739
|
+
canonical: string;
|
|
1740
|
+
translated: boolean;
|
|
1741
|
+
};
|
|
1742
|
+
meta: {
|
|
1743
|
+
title: string;
|
|
1744
|
+
subtitle: string;
|
|
1745
|
+
description: string;
|
|
1746
|
+
short: {
|
|
1747
|
+
title: string;
|
|
1748
|
+
subtitle: string;
|
|
1749
|
+
};
|
|
1750
|
+
};
|
|
1751
|
+
dates: {
|
|
1752
|
+
created: string;
|
|
1753
|
+
published: string;
|
|
1754
|
+
lastmod: string;
|
|
1755
|
+
};
|
|
1756
|
+
metrics: {
|
|
1757
|
+
words: number;
|
|
1758
|
+
};
|
|
1759
|
+
preview: {
|
|
1760
|
+
paragraphs: string[];
|
|
1761
|
+
};
|
|
1762
|
+
} | undefined;
|
|
1763
|
+
fr?: {
|
|
1764
|
+
objects: {
|
|
1765
|
+
content: string;
|
|
1766
|
+
card?: string | undefined;
|
|
1767
|
+
};
|
|
1768
|
+
locale: {
|
|
1769
|
+
language_tag: string;
|
|
1770
|
+
canonical: string;
|
|
1771
|
+
translated: boolean;
|
|
1772
|
+
};
|
|
1773
|
+
meta: {
|
|
1774
|
+
title: string;
|
|
1775
|
+
subtitle: string;
|
|
1776
|
+
description: string;
|
|
1777
|
+
short: {
|
|
1778
|
+
title: string;
|
|
1779
|
+
subtitle: string;
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
dates: {
|
|
1783
|
+
created: string;
|
|
1784
|
+
published: string;
|
|
1785
|
+
lastmod: string;
|
|
1786
|
+
};
|
|
1787
|
+
metrics: {
|
|
1788
|
+
words: number;
|
|
1789
|
+
};
|
|
1790
|
+
preview: {
|
|
1791
|
+
paragraphs: string[];
|
|
1792
|
+
};
|
|
1793
|
+
} | undefined;
|
|
1794
|
+
ja?: {
|
|
1795
|
+
objects: {
|
|
1796
|
+
content: string;
|
|
1797
|
+
card?: string | undefined;
|
|
1798
|
+
};
|
|
1799
|
+
locale: {
|
|
1800
|
+
language_tag: string;
|
|
1801
|
+
canonical: string;
|
|
1802
|
+
translated: boolean;
|
|
1803
|
+
};
|
|
1804
|
+
meta: {
|
|
1805
|
+
title: string;
|
|
1806
|
+
subtitle: string;
|
|
1807
|
+
description: string;
|
|
1808
|
+
short: {
|
|
1809
|
+
title: string;
|
|
1810
|
+
subtitle: string;
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
dates: {
|
|
1814
|
+
created: string;
|
|
1815
|
+
published: string;
|
|
1816
|
+
lastmod: string;
|
|
1817
|
+
};
|
|
1818
|
+
metrics: {
|
|
1819
|
+
words: number;
|
|
1820
|
+
};
|
|
1821
|
+
preview: {
|
|
1822
|
+
paragraphs: string[];
|
|
1823
|
+
};
|
|
1824
|
+
} | undefined;
|
|
1825
|
+
ko?: {
|
|
1826
|
+
objects: {
|
|
1827
|
+
content: string;
|
|
1828
|
+
card?: string | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
locale: {
|
|
1831
|
+
language_tag: string;
|
|
1832
|
+
canonical: string;
|
|
1833
|
+
translated: boolean;
|
|
1834
|
+
};
|
|
1835
|
+
meta: {
|
|
1836
|
+
title: string;
|
|
1837
|
+
subtitle: string;
|
|
1838
|
+
description: string;
|
|
1839
|
+
short: {
|
|
1840
|
+
title: string;
|
|
1841
|
+
subtitle: string;
|
|
1842
|
+
};
|
|
1843
|
+
};
|
|
1844
|
+
dates: {
|
|
1845
|
+
created: string;
|
|
1846
|
+
published: string;
|
|
1847
|
+
lastmod: string;
|
|
1848
|
+
};
|
|
1849
|
+
metrics: {
|
|
1850
|
+
words: number;
|
|
1851
|
+
};
|
|
1852
|
+
preview: {
|
|
1853
|
+
paragraphs: string[];
|
|
1854
|
+
};
|
|
1855
|
+
} | undefined;
|
|
1856
|
+
mw?: {
|
|
1857
|
+
objects: {
|
|
1858
|
+
content: string;
|
|
1859
|
+
card?: string | undefined;
|
|
1860
|
+
};
|
|
1861
|
+
locale: {
|
|
1862
|
+
language_tag: string;
|
|
1863
|
+
canonical: string;
|
|
1864
|
+
translated: boolean;
|
|
1865
|
+
};
|
|
1866
|
+
meta: {
|
|
1867
|
+
title: string;
|
|
1868
|
+
subtitle: string;
|
|
1869
|
+
description: string;
|
|
1870
|
+
short: {
|
|
1871
|
+
title: string;
|
|
1872
|
+
subtitle: string;
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
dates: {
|
|
1876
|
+
created: string;
|
|
1877
|
+
published: string;
|
|
1878
|
+
lastmod: string;
|
|
1879
|
+
};
|
|
1880
|
+
metrics: {
|
|
1881
|
+
words: number;
|
|
1882
|
+
};
|
|
1883
|
+
preview: {
|
|
1884
|
+
paragraphs: string[];
|
|
1885
|
+
};
|
|
1886
|
+
} | undefined;
|
|
1887
|
+
tw?: {
|
|
1888
|
+
objects: {
|
|
1889
|
+
content: string;
|
|
1890
|
+
card?: string | undefined;
|
|
1891
|
+
};
|
|
1892
|
+
locale: {
|
|
1893
|
+
language_tag: string;
|
|
1894
|
+
canonical: string;
|
|
1895
|
+
translated: boolean;
|
|
1896
|
+
};
|
|
1897
|
+
meta: {
|
|
1898
|
+
title: string;
|
|
1899
|
+
subtitle: string;
|
|
1900
|
+
description: string;
|
|
1901
|
+
short: {
|
|
1902
|
+
title: string;
|
|
1903
|
+
subtitle: string;
|
|
1904
|
+
};
|
|
1905
|
+
};
|
|
1906
|
+
dates: {
|
|
1907
|
+
created: string;
|
|
1908
|
+
published: string;
|
|
1909
|
+
lastmod: string;
|
|
1910
|
+
};
|
|
1911
|
+
metrics: {
|
|
1912
|
+
words: number;
|
|
1913
|
+
};
|
|
1914
|
+
preview: {
|
|
1915
|
+
paragraphs: string[];
|
|
1916
|
+
};
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
zh?: {
|
|
1919
|
+
objects: {
|
|
1920
|
+
content: string;
|
|
1921
|
+
card?: string | undefined;
|
|
1922
|
+
};
|
|
1923
|
+
locale: {
|
|
1924
|
+
language_tag: string;
|
|
1925
|
+
canonical: string;
|
|
1926
|
+
translated: boolean;
|
|
1927
|
+
};
|
|
1928
|
+
meta: {
|
|
1929
|
+
title: string;
|
|
1930
|
+
subtitle: string;
|
|
1931
|
+
description: string;
|
|
1932
|
+
short: {
|
|
1933
|
+
title: string;
|
|
1934
|
+
subtitle: string;
|
|
1935
|
+
};
|
|
1936
|
+
};
|
|
1937
|
+
dates: {
|
|
1938
|
+
created: string;
|
|
1939
|
+
published: string;
|
|
1940
|
+
lastmod: string;
|
|
1941
|
+
};
|
|
1942
|
+
metrics: {
|
|
1943
|
+
words: number;
|
|
1944
|
+
};
|
|
1945
|
+
preview: {
|
|
1946
|
+
paragraphs: string[];
|
|
1947
|
+
};
|
|
1948
|
+
} | undefined;
|
|
1949
|
+
};
|
|
1950
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.NumberIssue | v.ObjectIssue | v.RegexIssue<string> | v.StringIssue;
|
|
1951
|
+
} | undefined;
|
|
1952
|
+
};
|
|
1953
|
+
}, undefined>;
|
|
1954
|
+
/**
|
|
1955
|
+
* A fixed name, and the object it currently means.
|
|
1956
|
+
*
|
|
1957
|
+
* The site's own marks -- its icons, its BIMI mark -- are published like anything else, addressed
|
|
1958
|
+
* by their content and cached for a year. What a reader or a mail client asks for is the name, so
|
|
1959
|
+
* something has to turn one into the other, and this is what it reads. See
|
|
1960
|
+
* spec/architecture/delivery.md, "A name is resolved, never stored".
|
|
1961
|
+
*/
|
|
1962
|
+
export declare const RootAssetSchema: v.ObjectSchema<{
|
|
1963
|
+
readonly cid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1964
|
+
readonly extension: v.StringSchema<undefined>;
|
|
1965
|
+
}, undefined>;
|
|
1966
|
+
export type RootAsset = v.InferOutput<typeof RootAssetSchema>;
|
|
1967
|
+
export declare const RootSchema: v.ObjectSchema<{
|
|
1968
|
+
readonly version: v.LiteralSchema<2, undefined>;
|
|
1969
|
+
readonly generated: v.StringSchema<undefined>;
|
|
1970
|
+
/** Fixed names the alias layer resolves, keyed by the name as it is asked for. */
|
|
1971
|
+
readonly assets: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
1972
|
+
readonly cid: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1973
|
+
readonly extension: v.StringSchema<undefined>;
|
|
1974
|
+
}, undefined>, undefined>;
|
|
1975
|
+
readonly articles: v.ArraySchema<v.ObjectSchema<{
|
|
1976
|
+
/** The identity: unique across the corpus, and what every question asks with. */
|
|
1977
|
+
readonly slug: v.StringSchema<undefined>;
|
|
1978
|
+
/** The address: where it currently lives, which is the only half that can change. */
|
|
1979
|
+
readonly path: v.StringSchema<undefined>;
|
|
1980
|
+
readonly url: v.StringSchema<undefined>;
|
|
1981
|
+
readonly markdown: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1982
|
+
readonly alternates: v.ArraySchema<v.ObjectSchema<{
|
|
1983
|
+
readonly code: v.PicklistSchema<("de" | "en" | "es" | "fr" | "ja" | "ko" | "tw" | "x-default" | "zh")[], undefined>;
|
|
1984
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
1985
|
+
readonly href: v.StringSchema<undefined>;
|
|
1986
|
+
}, undefined>, undefined>;
|
|
1987
|
+
readonly canonical_urls: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1988
|
+
readonly views: Omit<v.ObjectSchema<Record<"de" | "en" | "es" | "fr" | "ja" | "ko" | "mw" | "tw" | "zh", v.ObjectSchema<{
|
|
1989
|
+
readonly objects: v.ObjectSchema<{
|
|
1990
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
1991
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1992
|
+
}, undefined>;
|
|
1993
|
+
readonly locale: v.ObjectSchema<{
|
|
1994
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
1995
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
1996
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
1997
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
1998
|
+
}, undefined>;
|
|
1999
|
+
readonly meta: v.ObjectSchema<{
|
|
2000
|
+
readonly title: v.StringSchema<undefined>;
|
|
2001
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2002
|
+
readonly description: v.StringSchema<undefined>;
|
|
2003
|
+
readonly short: v.ObjectSchema<{
|
|
2004
|
+
readonly title: v.StringSchema<undefined>;
|
|
2005
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2006
|
+
}, undefined>;
|
|
2007
|
+
}, undefined>;
|
|
2008
|
+
/**
|
|
2009
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2010
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2011
|
+
*
|
|
2012
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2013
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2014
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2015
|
+
*/
|
|
2016
|
+
readonly dates: v.ObjectSchema<{
|
|
2017
|
+
readonly created: v.StringSchema<undefined>;
|
|
2018
|
+
readonly published: v.StringSchema<undefined>;
|
|
2019
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2020
|
+
}, undefined>;
|
|
2021
|
+
readonly metrics: v.ObjectSchema<{
|
|
2022
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2023
|
+
}, undefined>;
|
|
2024
|
+
readonly preview: v.ObjectSchema<{
|
|
2025
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2026
|
+
}, undefined>;
|
|
2027
|
+
}, undefined>>, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2028
|
+
readonly entries: {
|
|
2029
|
+
de: v.OptionalSchema<v.ObjectSchema<{
|
|
2030
|
+
readonly objects: v.ObjectSchema<{
|
|
2031
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2032
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2033
|
+
}, undefined>;
|
|
2034
|
+
readonly locale: v.ObjectSchema<{
|
|
2035
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2036
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2037
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2038
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2039
|
+
}, undefined>;
|
|
2040
|
+
readonly meta: v.ObjectSchema<{
|
|
2041
|
+
readonly title: v.StringSchema<undefined>;
|
|
2042
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2043
|
+
readonly description: v.StringSchema<undefined>;
|
|
2044
|
+
readonly short: v.ObjectSchema<{
|
|
2045
|
+
readonly title: v.StringSchema<undefined>;
|
|
2046
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2047
|
+
}, undefined>;
|
|
2048
|
+
}, undefined>;
|
|
2049
|
+
/**
|
|
2050
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2051
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2052
|
+
*
|
|
2053
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2054
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2055
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2056
|
+
*/
|
|
2057
|
+
readonly dates: v.ObjectSchema<{
|
|
2058
|
+
readonly created: v.StringSchema<undefined>;
|
|
2059
|
+
readonly published: v.StringSchema<undefined>;
|
|
2060
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2061
|
+
}, undefined>;
|
|
2062
|
+
readonly metrics: v.ObjectSchema<{
|
|
2063
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2064
|
+
}, undefined>;
|
|
2065
|
+
readonly preview: v.ObjectSchema<{
|
|
2066
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2067
|
+
}, undefined>;
|
|
2068
|
+
}, undefined>, undefined>;
|
|
2069
|
+
en: v.OptionalSchema<v.ObjectSchema<{
|
|
2070
|
+
readonly objects: v.ObjectSchema<{
|
|
2071
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2072
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2073
|
+
}, undefined>;
|
|
2074
|
+
readonly locale: v.ObjectSchema<{
|
|
2075
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2076
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2077
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2078
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2079
|
+
}, undefined>;
|
|
2080
|
+
readonly meta: v.ObjectSchema<{
|
|
2081
|
+
readonly title: v.StringSchema<undefined>;
|
|
2082
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2083
|
+
readonly description: v.StringSchema<undefined>;
|
|
2084
|
+
readonly short: v.ObjectSchema<{
|
|
2085
|
+
readonly title: v.StringSchema<undefined>;
|
|
2086
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2087
|
+
}, undefined>;
|
|
2088
|
+
}, undefined>;
|
|
2089
|
+
/**
|
|
2090
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2091
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2092
|
+
*
|
|
2093
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2094
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2095
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2096
|
+
*/
|
|
2097
|
+
readonly dates: v.ObjectSchema<{
|
|
2098
|
+
readonly created: v.StringSchema<undefined>;
|
|
2099
|
+
readonly published: v.StringSchema<undefined>;
|
|
2100
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2101
|
+
}, undefined>;
|
|
2102
|
+
readonly metrics: v.ObjectSchema<{
|
|
2103
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2104
|
+
}, undefined>;
|
|
2105
|
+
readonly preview: v.ObjectSchema<{
|
|
2106
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2107
|
+
}, undefined>;
|
|
2108
|
+
}, undefined>, undefined>;
|
|
2109
|
+
es: v.OptionalSchema<v.ObjectSchema<{
|
|
2110
|
+
readonly objects: v.ObjectSchema<{
|
|
2111
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2112
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2113
|
+
}, undefined>;
|
|
2114
|
+
readonly locale: v.ObjectSchema<{
|
|
2115
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2116
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2117
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2118
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2119
|
+
}, undefined>;
|
|
2120
|
+
readonly meta: v.ObjectSchema<{
|
|
2121
|
+
readonly title: v.StringSchema<undefined>;
|
|
2122
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2123
|
+
readonly description: v.StringSchema<undefined>;
|
|
2124
|
+
readonly short: v.ObjectSchema<{
|
|
2125
|
+
readonly title: v.StringSchema<undefined>;
|
|
2126
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2127
|
+
}, undefined>;
|
|
2128
|
+
}, undefined>;
|
|
2129
|
+
/**
|
|
2130
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2131
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2132
|
+
*
|
|
2133
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2134
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2135
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2136
|
+
*/
|
|
2137
|
+
readonly dates: v.ObjectSchema<{
|
|
2138
|
+
readonly created: v.StringSchema<undefined>;
|
|
2139
|
+
readonly published: v.StringSchema<undefined>;
|
|
2140
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2141
|
+
}, undefined>;
|
|
2142
|
+
readonly metrics: v.ObjectSchema<{
|
|
2143
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2144
|
+
}, undefined>;
|
|
2145
|
+
readonly preview: v.ObjectSchema<{
|
|
2146
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2147
|
+
}, undefined>;
|
|
2148
|
+
}, undefined>, undefined>;
|
|
2149
|
+
fr: v.OptionalSchema<v.ObjectSchema<{
|
|
2150
|
+
readonly objects: v.ObjectSchema<{
|
|
2151
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2152
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2153
|
+
}, undefined>;
|
|
2154
|
+
readonly locale: v.ObjectSchema<{
|
|
2155
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2156
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2157
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2158
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2159
|
+
}, undefined>;
|
|
2160
|
+
readonly meta: v.ObjectSchema<{
|
|
2161
|
+
readonly title: v.StringSchema<undefined>;
|
|
2162
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2163
|
+
readonly description: v.StringSchema<undefined>;
|
|
2164
|
+
readonly short: v.ObjectSchema<{
|
|
2165
|
+
readonly title: v.StringSchema<undefined>;
|
|
2166
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2167
|
+
}, undefined>;
|
|
2168
|
+
}, undefined>;
|
|
2169
|
+
/**
|
|
2170
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2171
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2172
|
+
*
|
|
2173
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2174
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2175
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2176
|
+
*/
|
|
2177
|
+
readonly dates: v.ObjectSchema<{
|
|
2178
|
+
readonly created: v.StringSchema<undefined>;
|
|
2179
|
+
readonly published: v.StringSchema<undefined>;
|
|
2180
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2181
|
+
}, undefined>;
|
|
2182
|
+
readonly metrics: v.ObjectSchema<{
|
|
2183
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2184
|
+
}, undefined>;
|
|
2185
|
+
readonly preview: v.ObjectSchema<{
|
|
2186
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2187
|
+
}, undefined>;
|
|
2188
|
+
}, undefined>, undefined>;
|
|
2189
|
+
ja: v.OptionalSchema<v.ObjectSchema<{
|
|
2190
|
+
readonly objects: v.ObjectSchema<{
|
|
2191
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2192
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2193
|
+
}, undefined>;
|
|
2194
|
+
readonly locale: v.ObjectSchema<{
|
|
2195
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2196
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2197
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2198
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2199
|
+
}, undefined>;
|
|
2200
|
+
readonly meta: v.ObjectSchema<{
|
|
2201
|
+
readonly title: v.StringSchema<undefined>;
|
|
2202
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2203
|
+
readonly description: v.StringSchema<undefined>;
|
|
2204
|
+
readonly short: v.ObjectSchema<{
|
|
2205
|
+
readonly title: v.StringSchema<undefined>;
|
|
2206
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2207
|
+
}, undefined>;
|
|
2208
|
+
}, undefined>;
|
|
2209
|
+
/**
|
|
2210
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2211
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2212
|
+
*
|
|
2213
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2214
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2215
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2216
|
+
*/
|
|
2217
|
+
readonly dates: v.ObjectSchema<{
|
|
2218
|
+
readonly created: v.StringSchema<undefined>;
|
|
2219
|
+
readonly published: v.StringSchema<undefined>;
|
|
2220
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2221
|
+
}, undefined>;
|
|
2222
|
+
readonly metrics: v.ObjectSchema<{
|
|
2223
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2224
|
+
}, undefined>;
|
|
2225
|
+
readonly preview: v.ObjectSchema<{
|
|
2226
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2227
|
+
}, undefined>;
|
|
2228
|
+
}, undefined>, undefined>;
|
|
2229
|
+
ko: v.OptionalSchema<v.ObjectSchema<{
|
|
2230
|
+
readonly objects: v.ObjectSchema<{
|
|
2231
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2232
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2233
|
+
}, undefined>;
|
|
2234
|
+
readonly locale: v.ObjectSchema<{
|
|
2235
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2236
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2237
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2238
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2239
|
+
}, undefined>;
|
|
2240
|
+
readonly meta: v.ObjectSchema<{
|
|
2241
|
+
readonly title: v.StringSchema<undefined>;
|
|
2242
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2243
|
+
readonly description: v.StringSchema<undefined>;
|
|
2244
|
+
readonly short: v.ObjectSchema<{
|
|
2245
|
+
readonly title: v.StringSchema<undefined>;
|
|
2246
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2247
|
+
}, undefined>;
|
|
2248
|
+
}, undefined>;
|
|
2249
|
+
/**
|
|
2250
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2251
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2252
|
+
*
|
|
2253
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2254
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2255
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2256
|
+
*/
|
|
2257
|
+
readonly dates: v.ObjectSchema<{
|
|
2258
|
+
readonly created: v.StringSchema<undefined>;
|
|
2259
|
+
readonly published: v.StringSchema<undefined>;
|
|
2260
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2261
|
+
}, undefined>;
|
|
2262
|
+
readonly metrics: v.ObjectSchema<{
|
|
2263
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2264
|
+
}, undefined>;
|
|
2265
|
+
readonly preview: v.ObjectSchema<{
|
|
2266
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2267
|
+
}, undefined>;
|
|
2268
|
+
}, undefined>, undefined>;
|
|
2269
|
+
mw: v.OptionalSchema<v.ObjectSchema<{
|
|
2270
|
+
readonly objects: v.ObjectSchema<{
|
|
2271
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2272
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2273
|
+
}, undefined>;
|
|
2274
|
+
readonly locale: v.ObjectSchema<{
|
|
2275
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2276
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2277
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2278
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2279
|
+
}, undefined>;
|
|
2280
|
+
readonly meta: v.ObjectSchema<{
|
|
2281
|
+
readonly title: v.StringSchema<undefined>;
|
|
2282
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2283
|
+
readonly description: v.StringSchema<undefined>;
|
|
2284
|
+
readonly short: v.ObjectSchema<{
|
|
2285
|
+
readonly title: v.StringSchema<undefined>;
|
|
2286
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2287
|
+
}, undefined>;
|
|
2288
|
+
}, undefined>;
|
|
2289
|
+
/**
|
|
2290
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2291
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2292
|
+
*
|
|
2293
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2294
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2295
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2296
|
+
*/
|
|
2297
|
+
readonly dates: v.ObjectSchema<{
|
|
2298
|
+
readonly created: v.StringSchema<undefined>;
|
|
2299
|
+
readonly published: v.StringSchema<undefined>;
|
|
2300
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2301
|
+
}, undefined>;
|
|
2302
|
+
readonly metrics: v.ObjectSchema<{
|
|
2303
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2304
|
+
}, undefined>;
|
|
2305
|
+
readonly preview: v.ObjectSchema<{
|
|
2306
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2307
|
+
}, undefined>;
|
|
2308
|
+
}, undefined>, undefined>;
|
|
2309
|
+
tw: v.OptionalSchema<v.ObjectSchema<{
|
|
2310
|
+
readonly objects: v.ObjectSchema<{
|
|
2311
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2312
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2313
|
+
}, undefined>;
|
|
2314
|
+
readonly locale: v.ObjectSchema<{
|
|
2315
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2316
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2317
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2318
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2319
|
+
}, undefined>;
|
|
2320
|
+
readonly meta: v.ObjectSchema<{
|
|
2321
|
+
readonly title: v.StringSchema<undefined>;
|
|
2322
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2323
|
+
readonly description: v.StringSchema<undefined>;
|
|
2324
|
+
readonly short: v.ObjectSchema<{
|
|
2325
|
+
readonly title: v.StringSchema<undefined>;
|
|
2326
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2327
|
+
}, undefined>;
|
|
2328
|
+
}, undefined>;
|
|
2329
|
+
/**
|
|
2330
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2331
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2332
|
+
*
|
|
2333
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2334
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2335
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2336
|
+
*/
|
|
2337
|
+
readonly dates: v.ObjectSchema<{
|
|
2338
|
+
readonly created: v.StringSchema<undefined>;
|
|
2339
|
+
readonly published: v.StringSchema<undefined>;
|
|
2340
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2341
|
+
}, undefined>;
|
|
2342
|
+
readonly metrics: v.ObjectSchema<{
|
|
2343
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2344
|
+
}, undefined>;
|
|
2345
|
+
readonly preview: v.ObjectSchema<{
|
|
2346
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2347
|
+
}, undefined>;
|
|
2348
|
+
}, undefined>, undefined>;
|
|
2349
|
+
zh: v.OptionalSchema<v.ObjectSchema<{
|
|
2350
|
+
readonly objects: v.ObjectSchema<{
|
|
2351
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
2352
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2353
|
+
}, undefined>;
|
|
2354
|
+
readonly locale: v.ObjectSchema<{
|
|
2355
|
+
readonly language_tag: v.StringSchema<undefined>;
|
|
2356
|
+
readonly canonical: v.StringSchema<undefined>;
|
|
2357
|
+
/** False when this locale is showing the source article as a safe fallback. */
|
|
2358
|
+
readonly translated: v.BooleanSchema<undefined>;
|
|
2359
|
+
}, undefined>;
|
|
2360
|
+
readonly meta: v.ObjectSchema<{
|
|
2361
|
+
readonly title: v.StringSchema<undefined>;
|
|
2362
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2363
|
+
readonly description: v.StringSchema<undefined>;
|
|
2364
|
+
readonly short: v.ObjectSchema<{
|
|
2365
|
+
readonly title: v.StringSchema<undefined>;
|
|
2366
|
+
readonly subtitle: v.StringSchema<undefined>;
|
|
2367
|
+
}, undefined>;
|
|
2368
|
+
}, undefined>;
|
|
2369
|
+
/**
|
|
2370
|
+
* When the file came into being, when the article went public, and when it last changed.
|
|
2371
|
+
* `published` is the author's to edit and the one a reader is shown.
|
|
2372
|
+
*
|
|
2373
|
+
* **A `v.object` drops a key it does not declare rather than refusing it**, so a producer
|
|
2374
|
+
* that writes a fourth date without adding it here hands every consumer `undefined` and
|
|
2375
|
+
* nothing reports it. `index.test.ts` pins this key set for that reason.
|
|
2376
|
+
*/
|
|
2377
|
+
readonly dates: v.ObjectSchema<{
|
|
2378
|
+
readonly created: v.StringSchema<undefined>;
|
|
2379
|
+
readonly published: v.StringSchema<undefined>;
|
|
2380
|
+
readonly lastmod: v.StringSchema<undefined>;
|
|
2381
|
+
}, undefined>;
|
|
2382
|
+
readonly metrics: v.ObjectSchema<{
|
|
2383
|
+
readonly words: v.NumberSchema<undefined>;
|
|
2384
|
+
}, undefined>;
|
|
2385
|
+
readonly preview: v.ObjectSchema<{
|
|
2386
|
+
readonly paragraphs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
2387
|
+
}, undefined>;
|
|
2388
|
+
}, undefined>, undefined>;
|
|
2389
|
+
};
|
|
2390
|
+
readonly "~standard": v.StandardProps<{
|
|
2391
|
+
de?: {
|
|
2392
|
+
objects: {
|
|
2393
|
+
content: string;
|
|
2394
|
+
card?: string | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
locale: {
|
|
2397
|
+
language_tag: string;
|
|
2398
|
+
canonical: string;
|
|
2399
|
+
translated: boolean;
|
|
2400
|
+
};
|
|
2401
|
+
meta: {
|
|
2402
|
+
title: string;
|
|
2403
|
+
subtitle: string;
|
|
2404
|
+
description: string;
|
|
2405
|
+
short: {
|
|
2406
|
+
title: string;
|
|
2407
|
+
subtitle: string;
|
|
2408
|
+
};
|
|
2409
|
+
};
|
|
2410
|
+
dates: {
|
|
2411
|
+
created: string;
|
|
2412
|
+
published: string;
|
|
2413
|
+
lastmod: string;
|
|
2414
|
+
};
|
|
2415
|
+
metrics: {
|
|
2416
|
+
words: number;
|
|
2417
|
+
};
|
|
2418
|
+
preview: {
|
|
2419
|
+
paragraphs: string[];
|
|
2420
|
+
};
|
|
2421
|
+
} | undefined;
|
|
2422
|
+
en?: {
|
|
2423
|
+
objects: {
|
|
2424
|
+
content: string;
|
|
2425
|
+
card?: string | undefined;
|
|
2426
|
+
};
|
|
2427
|
+
locale: {
|
|
2428
|
+
language_tag: string;
|
|
2429
|
+
canonical: string;
|
|
2430
|
+
translated: boolean;
|
|
2431
|
+
};
|
|
2432
|
+
meta: {
|
|
2433
|
+
title: string;
|
|
2434
|
+
subtitle: string;
|
|
2435
|
+
description: string;
|
|
2436
|
+
short: {
|
|
2437
|
+
title: string;
|
|
2438
|
+
subtitle: string;
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
dates: {
|
|
2442
|
+
created: string;
|
|
2443
|
+
published: string;
|
|
2444
|
+
lastmod: string;
|
|
2445
|
+
};
|
|
2446
|
+
metrics: {
|
|
2447
|
+
words: number;
|
|
2448
|
+
};
|
|
2449
|
+
preview: {
|
|
2450
|
+
paragraphs: string[];
|
|
2451
|
+
};
|
|
2452
|
+
} | undefined;
|
|
2453
|
+
es?: {
|
|
2454
|
+
objects: {
|
|
2455
|
+
content: string;
|
|
2456
|
+
card?: string | undefined;
|
|
2457
|
+
};
|
|
2458
|
+
locale: {
|
|
2459
|
+
language_tag: string;
|
|
2460
|
+
canonical: string;
|
|
2461
|
+
translated: boolean;
|
|
2462
|
+
};
|
|
2463
|
+
meta: {
|
|
2464
|
+
title: string;
|
|
2465
|
+
subtitle: string;
|
|
2466
|
+
description: string;
|
|
2467
|
+
short: {
|
|
2468
|
+
title: string;
|
|
2469
|
+
subtitle: string;
|
|
2470
|
+
};
|
|
2471
|
+
};
|
|
2472
|
+
dates: {
|
|
2473
|
+
created: string;
|
|
2474
|
+
published: string;
|
|
2475
|
+
lastmod: string;
|
|
2476
|
+
};
|
|
2477
|
+
metrics: {
|
|
2478
|
+
words: number;
|
|
2479
|
+
};
|
|
2480
|
+
preview: {
|
|
2481
|
+
paragraphs: string[];
|
|
2482
|
+
};
|
|
2483
|
+
} | undefined;
|
|
2484
|
+
fr?: {
|
|
2485
|
+
objects: {
|
|
2486
|
+
content: string;
|
|
2487
|
+
card?: string | undefined;
|
|
2488
|
+
};
|
|
2489
|
+
locale: {
|
|
2490
|
+
language_tag: string;
|
|
2491
|
+
canonical: string;
|
|
2492
|
+
translated: boolean;
|
|
2493
|
+
};
|
|
2494
|
+
meta: {
|
|
2495
|
+
title: string;
|
|
2496
|
+
subtitle: string;
|
|
2497
|
+
description: string;
|
|
2498
|
+
short: {
|
|
2499
|
+
title: string;
|
|
2500
|
+
subtitle: string;
|
|
2501
|
+
};
|
|
2502
|
+
};
|
|
2503
|
+
dates: {
|
|
2504
|
+
created: string;
|
|
2505
|
+
published: string;
|
|
2506
|
+
lastmod: string;
|
|
2507
|
+
};
|
|
2508
|
+
metrics: {
|
|
2509
|
+
words: number;
|
|
2510
|
+
};
|
|
2511
|
+
preview: {
|
|
2512
|
+
paragraphs: string[];
|
|
2513
|
+
};
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
ja?: {
|
|
2516
|
+
objects: {
|
|
2517
|
+
content: string;
|
|
2518
|
+
card?: string | undefined;
|
|
2519
|
+
};
|
|
2520
|
+
locale: {
|
|
2521
|
+
language_tag: string;
|
|
2522
|
+
canonical: string;
|
|
2523
|
+
translated: boolean;
|
|
2524
|
+
};
|
|
2525
|
+
meta: {
|
|
2526
|
+
title: string;
|
|
2527
|
+
subtitle: string;
|
|
2528
|
+
description: string;
|
|
2529
|
+
short: {
|
|
2530
|
+
title: string;
|
|
2531
|
+
subtitle: string;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
dates: {
|
|
2535
|
+
created: string;
|
|
2536
|
+
published: string;
|
|
2537
|
+
lastmod: string;
|
|
2538
|
+
};
|
|
2539
|
+
metrics: {
|
|
2540
|
+
words: number;
|
|
2541
|
+
};
|
|
2542
|
+
preview: {
|
|
2543
|
+
paragraphs: string[];
|
|
2544
|
+
};
|
|
2545
|
+
} | undefined;
|
|
2546
|
+
ko?: {
|
|
2547
|
+
objects: {
|
|
2548
|
+
content: string;
|
|
2549
|
+
card?: string | undefined;
|
|
2550
|
+
};
|
|
2551
|
+
locale: {
|
|
2552
|
+
language_tag: string;
|
|
2553
|
+
canonical: string;
|
|
2554
|
+
translated: boolean;
|
|
2555
|
+
};
|
|
2556
|
+
meta: {
|
|
2557
|
+
title: string;
|
|
2558
|
+
subtitle: string;
|
|
2559
|
+
description: string;
|
|
2560
|
+
short: {
|
|
2561
|
+
title: string;
|
|
2562
|
+
subtitle: string;
|
|
2563
|
+
};
|
|
2564
|
+
};
|
|
2565
|
+
dates: {
|
|
2566
|
+
created: string;
|
|
2567
|
+
published: string;
|
|
2568
|
+
lastmod: string;
|
|
2569
|
+
};
|
|
2570
|
+
metrics: {
|
|
2571
|
+
words: number;
|
|
2572
|
+
};
|
|
2573
|
+
preview: {
|
|
2574
|
+
paragraphs: string[];
|
|
2575
|
+
};
|
|
2576
|
+
} | undefined;
|
|
2577
|
+
mw?: {
|
|
2578
|
+
objects: {
|
|
2579
|
+
content: string;
|
|
2580
|
+
card?: string | undefined;
|
|
2581
|
+
};
|
|
2582
|
+
locale: {
|
|
2583
|
+
language_tag: string;
|
|
2584
|
+
canonical: string;
|
|
2585
|
+
translated: boolean;
|
|
2586
|
+
};
|
|
2587
|
+
meta: {
|
|
2588
|
+
title: string;
|
|
2589
|
+
subtitle: string;
|
|
2590
|
+
description: string;
|
|
2591
|
+
short: {
|
|
2592
|
+
title: string;
|
|
2593
|
+
subtitle: string;
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
dates: {
|
|
2597
|
+
created: string;
|
|
2598
|
+
published: string;
|
|
2599
|
+
lastmod: string;
|
|
2600
|
+
};
|
|
2601
|
+
metrics: {
|
|
2602
|
+
words: number;
|
|
2603
|
+
};
|
|
2604
|
+
preview: {
|
|
2605
|
+
paragraphs: string[];
|
|
2606
|
+
};
|
|
2607
|
+
} | undefined;
|
|
2608
|
+
tw?: {
|
|
2609
|
+
objects: {
|
|
2610
|
+
content: string;
|
|
2611
|
+
card?: string | undefined;
|
|
2612
|
+
};
|
|
2613
|
+
locale: {
|
|
2614
|
+
language_tag: string;
|
|
2615
|
+
canonical: string;
|
|
2616
|
+
translated: boolean;
|
|
2617
|
+
};
|
|
2618
|
+
meta: {
|
|
2619
|
+
title: string;
|
|
2620
|
+
subtitle: string;
|
|
2621
|
+
description: string;
|
|
2622
|
+
short: {
|
|
2623
|
+
title: string;
|
|
2624
|
+
subtitle: string;
|
|
2625
|
+
};
|
|
2626
|
+
};
|
|
2627
|
+
dates: {
|
|
2628
|
+
created: string;
|
|
2629
|
+
published: string;
|
|
2630
|
+
lastmod: string;
|
|
2631
|
+
};
|
|
2632
|
+
metrics: {
|
|
2633
|
+
words: number;
|
|
2634
|
+
};
|
|
2635
|
+
preview: {
|
|
2636
|
+
paragraphs: string[];
|
|
2637
|
+
};
|
|
2638
|
+
} | undefined;
|
|
2639
|
+
zh?: {
|
|
2640
|
+
objects: {
|
|
2641
|
+
content: string;
|
|
2642
|
+
card?: string | undefined;
|
|
2643
|
+
};
|
|
2644
|
+
locale: {
|
|
2645
|
+
language_tag: string;
|
|
2646
|
+
canonical: string;
|
|
2647
|
+
translated: boolean;
|
|
2648
|
+
};
|
|
2649
|
+
meta: {
|
|
2650
|
+
title: string;
|
|
2651
|
+
subtitle: string;
|
|
2652
|
+
description: string;
|
|
2653
|
+
short: {
|
|
2654
|
+
title: string;
|
|
2655
|
+
subtitle: string;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
dates: {
|
|
2659
|
+
created: string;
|
|
2660
|
+
published: string;
|
|
2661
|
+
lastmod: string;
|
|
2662
|
+
};
|
|
2663
|
+
metrics: {
|
|
2664
|
+
words: number;
|
|
2665
|
+
};
|
|
2666
|
+
preview: {
|
|
2667
|
+
paragraphs: string[];
|
|
2668
|
+
};
|
|
2669
|
+
} | undefined;
|
|
2670
|
+
}, {
|
|
2671
|
+
de?: {
|
|
2672
|
+
objects: {
|
|
2673
|
+
content: string;
|
|
2674
|
+
card?: string | undefined;
|
|
2675
|
+
};
|
|
2676
|
+
locale: {
|
|
2677
|
+
language_tag: string;
|
|
2678
|
+
canonical: string;
|
|
2679
|
+
translated: boolean;
|
|
2680
|
+
};
|
|
2681
|
+
meta: {
|
|
2682
|
+
title: string;
|
|
2683
|
+
subtitle: string;
|
|
2684
|
+
description: string;
|
|
2685
|
+
short: {
|
|
2686
|
+
title: string;
|
|
2687
|
+
subtitle: string;
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2690
|
+
dates: {
|
|
2691
|
+
created: string;
|
|
2692
|
+
published: string;
|
|
2693
|
+
lastmod: string;
|
|
2694
|
+
};
|
|
2695
|
+
metrics: {
|
|
2696
|
+
words: number;
|
|
2697
|
+
};
|
|
2698
|
+
preview: {
|
|
2699
|
+
paragraphs: string[];
|
|
2700
|
+
};
|
|
2701
|
+
} | undefined;
|
|
2702
|
+
en?: {
|
|
2703
|
+
objects: {
|
|
2704
|
+
content: string;
|
|
2705
|
+
card?: string | undefined;
|
|
2706
|
+
};
|
|
2707
|
+
locale: {
|
|
2708
|
+
language_tag: string;
|
|
2709
|
+
canonical: string;
|
|
2710
|
+
translated: boolean;
|
|
2711
|
+
};
|
|
2712
|
+
meta: {
|
|
2713
|
+
title: string;
|
|
2714
|
+
subtitle: string;
|
|
2715
|
+
description: string;
|
|
2716
|
+
short: {
|
|
2717
|
+
title: string;
|
|
2718
|
+
subtitle: string;
|
|
2719
|
+
};
|
|
2720
|
+
};
|
|
2721
|
+
dates: {
|
|
2722
|
+
created: string;
|
|
2723
|
+
published: string;
|
|
2724
|
+
lastmod: string;
|
|
2725
|
+
};
|
|
2726
|
+
metrics: {
|
|
2727
|
+
words: number;
|
|
2728
|
+
};
|
|
2729
|
+
preview: {
|
|
2730
|
+
paragraphs: string[];
|
|
2731
|
+
};
|
|
2732
|
+
} | undefined;
|
|
2733
|
+
es?: {
|
|
2734
|
+
objects: {
|
|
2735
|
+
content: string;
|
|
2736
|
+
card?: string | undefined;
|
|
2737
|
+
};
|
|
2738
|
+
locale: {
|
|
2739
|
+
language_tag: string;
|
|
2740
|
+
canonical: string;
|
|
2741
|
+
translated: boolean;
|
|
2742
|
+
};
|
|
2743
|
+
meta: {
|
|
2744
|
+
title: string;
|
|
2745
|
+
subtitle: string;
|
|
2746
|
+
description: string;
|
|
2747
|
+
short: {
|
|
2748
|
+
title: string;
|
|
2749
|
+
subtitle: string;
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
dates: {
|
|
2753
|
+
created: string;
|
|
2754
|
+
published: string;
|
|
2755
|
+
lastmod: string;
|
|
2756
|
+
};
|
|
2757
|
+
metrics: {
|
|
2758
|
+
words: number;
|
|
2759
|
+
};
|
|
2760
|
+
preview: {
|
|
2761
|
+
paragraphs: string[];
|
|
2762
|
+
};
|
|
2763
|
+
} | undefined;
|
|
2764
|
+
fr?: {
|
|
2765
|
+
objects: {
|
|
2766
|
+
content: string;
|
|
2767
|
+
card?: string | undefined;
|
|
2768
|
+
};
|
|
2769
|
+
locale: {
|
|
2770
|
+
language_tag: string;
|
|
2771
|
+
canonical: string;
|
|
2772
|
+
translated: boolean;
|
|
2773
|
+
};
|
|
2774
|
+
meta: {
|
|
2775
|
+
title: string;
|
|
2776
|
+
subtitle: string;
|
|
2777
|
+
description: string;
|
|
2778
|
+
short: {
|
|
2779
|
+
title: string;
|
|
2780
|
+
subtitle: string;
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
dates: {
|
|
2784
|
+
created: string;
|
|
2785
|
+
published: string;
|
|
2786
|
+
lastmod: string;
|
|
2787
|
+
};
|
|
2788
|
+
metrics: {
|
|
2789
|
+
words: number;
|
|
2790
|
+
};
|
|
2791
|
+
preview: {
|
|
2792
|
+
paragraphs: string[];
|
|
2793
|
+
};
|
|
2794
|
+
} | undefined;
|
|
2795
|
+
ja?: {
|
|
2796
|
+
objects: {
|
|
2797
|
+
content: string;
|
|
2798
|
+
card?: string | undefined;
|
|
2799
|
+
};
|
|
2800
|
+
locale: {
|
|
2801
|
+
language_tag: string;
|
|
2802
|
+
canonical: string;
|
|
2803
|
+
translated: boolean;
|
|
2804
|
+
};
|
|
2805
|
+
meta: {
|
|
2806
|
+
title: string;
|
|
2807
|
+
subtitle: string;
|
|
2808
|
+
description: string;
|
|
2809
|
+
short: {
|
|
2810
|
+
title: string;
|
|
2811
|
+
subtitle: string;
|
|
2812
|
+
};
|
|
2813
|
+
};
|
|
2814
|
+
dates: {
|
|
2815
|
+
created: string;
|
|
2816
|
+
published: string;
|
|
2817
|
+
lastmod: string;
|
|
2818
|
+
};
|
|
2819
|
+
metrics: {
|
|
2820
|
+
words: number;
|
|
2821
|
+
};
|
|
2822
|
+
preview: {
|
|
2823
|
+
paragraphs: string[];
|
|
2824
|
+
};
|
|
2825
|
+
} | undefined;
|
|
2826
|
+
ko?: {
|
|
2827
|
+
objects: {
|
|
2828
|
+
content: string;
|
|
2829
|
+
card?: string | undefined;
|
|
2830
|
+
};
|
|
2831
|
+
locale: {
|
|
2832
|
+
language_tag: string;
|
|
2833
|
+
canonical: string;
|
|
2834
|
+
translated: boolean;
|
|
2835
|
+
};
|
|
2836
|
+
meta: {
|
|
2837
|
+
title: string;
|
|
2838
|
+
subtitle: string;
|
|
2839
|
+
description: string;
|
|
2840
|
+
short: {
|
|
2841
|
+
title: string;
|
|
2842
|
+
subtitle: string;
|
|
2843
|
+
};
|
|
2844
|
+
};
|
|
2845
|
+
dates: {
|
|
2846
|
+
created: string;
|
|
2847
|
+
published: string;
|
|
2848
|
+
lastmod: string;
|
|
2849
|
+
};
|
|
2850
|
+
metrics: {
|
|
2851
|
+
words: number;
|
|
2852
|
+
};
|
|
2853
|
+
preview: {
|
|
2854
|
+
paragraphs: string[];
|
|
2855
|
+
};
|
|
2856
|
+
} | undefined;
|
|
2857
|
+
mw?: {
|
|
2858
|
+
objects: {
|
|
2859
|
+
content: string;
|
|
2860
|
+
card?: string | undefined;
|
|
2861
|
+
};
|
|
2862
|
+
locale: {
|
|
2863
|
+
language_tag: string;
|
|
2864
|
+
canonical: string;
|
|
2865
|
+
translated: boolean;
|
|
2866
|
+
};
|
|
2867
|
+
meta: {
|
|
2868
|
+
title: string;
|
|
2869
|
+
subtitle: string;
|
|
2870
|
+
description: string;
|
|
2871
|
+
short: {
|
|
2872
|
+
title: string;
|
|
2873
|
+
subtitle: string;
|
|
2874
|
+
};
|
|
2875
|
+
};
|
|
2876
|
+
dates: {
|
|
2877
|
+
created: string;
|
|
2878
|
+
published: string;
|
|
2879
|
+
lastmod: string;
|
|
2880
|
+
};
|
|
2881
|
+
metrics: {
|
|
2882
|
+
words: number;
|
|
2883
|
+
};
|
|
2884
|
+
preview: {
|
|
2885
|
+
paragraphs: string[];
|
|
2886
|
+
};
|
|
2887
|
+
} | undefined;
|
|
2888
|
+
tw?: {
|
|
2889
|
+
objects: {
|
|
2890
|
+
content: string;
|
|
2891
|
+
card?: string | undefined;
|
|
2892
|
+
};
|
|
2893
|
+
locale: {
|
|
2894
|
+
language_tag: string;
|
|
2895
|
+
canonical: string;
|
|
2896
|
+
translated: boolean;
|
|
2897
|
+
};
|
|
2898
|
+
meta: {
|
|
2899
|
+
title: string;
|
|
2900
|
+
subtitle: string;
|
|
2901
|
+
description: string;
|
|
2902
|
+
short: {
|
|
2903
|
+
title: string;
|
|
2904
|
+
subtitle: string;
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
dates: {
|
|
2908
|
+
created: string;
|
|
2909
|
+
published: string;
|
|
2910
|
+
lastmod: string;
|
|
2911
|
+
};
|
|
2912
|
+
metrics: {
|
|
2913
|
+
words: number;
|
|
2914
|
+
};
|
|
2915
|
+
preview: {
|
|
2916
|
+
paragraphs: string[];
|
|
2917
|
+
};
|
|
2918
|
+
} | undefined;
|
|
2919
|
+
zh?: {
|
|
2920
|
+
objects: {
|
|
2921
|
+
content: string;
|
|
2922
|
+
card?: string | undefined;
|
|
2923
|
+
};
|
|
2924
|
+
locale: {
|
|
2925
|
+
language_tag: string;
|
|
2926
|
+
canonical: string;
|
|
2927
|
+
translated: boolean;
|
|
2928
|
+
};
|
|
2929
|
+
meta: {
|
|
2930
|
+
title: string;
|
|
2931
|
+
subtitle: string;
|
|
2932
|
+
description: string;
|
|
2933
|
+
short: {
|
|
2934
|
+
title: string;
|
|
2935
|
+
subtitle: string;
|
|
2936
|
+
};
|
|
2937
|
+
};
|
|
2938
|
+
dates: {
|
|
2939
|
+
created: string;
|
|
2940
|
+
published: string;
|
|
2941
|
+
lastmod: string;
|
|
2942
|
+
};
|
|
2943
|
+
metrics: {
|
|
2944
|
+
words: number;
|
|
2945
|
+
};
|
|
2946
|
+
preview: {
|
|
2947
|
+
paragraphs: string[];
|
|
2948
|
+
};
|
|
2949
|
+
} | undefined;
|
|
2950
|
+
}>;
|
|
2951
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
2952
|
+
de?: {
|
|
2953
|
+
objects: {
|
|
2954
|
+
content: string;
|
|
2955
|
+
card?: string | undefined;
|
|
2956
|
+
};
|
|
2957
|
+
locale: {
|
|
2958
|
+
language_tag: string;
|
|
2959
|
+
canonical: string;
|
|
2960
|
+
translated: boolean;
|
|
2961
|
+
};
|
|
2962
|
+
meta: {
|
|
2963
|
+
title: string;
|
|
2964
|
+
subtitle: string;
|
|
2965
|
+
description: string;
|
|
2966
|
+
short: {
|
|
2967
|
+
title: string;
|
|
2968
|
+
subtitle: string;
|
|
2969
|
+
};
|
|
2970
|
+
};
|
|
2971
|
+
dates: {
|
|
2972
|
+
created: string;
|
|
2973
|
+
published: string;
|
|
2974
|
+
lastmod: string;
|
|
2975
|
+
};
|
|
2976
|
+
metrics: {
|
|
2977
|
+
words: number;
|
|
2978
|
+
};
|
|
2979
|
+
preview: {
|
|
2980
|
+
paragraphs: string[];
|
|
2981
|
+
};
|
|
2982
|
+
} | undefined;
|
|
2983
|
+
en?: {
|
|
2984
|
+
objects: {
|
|
2985
|
+
content: string;
|
|
2986
|
+
card?: string | undefined;
|
|
2987
|
+
};
|
|
2988
|
+
locale: {
|
|
2989
|
+
language_tag: string;
|
|
2990
|
+
canonical: string;
|
|
2991
|
+
translated: boolean;
|
|
2992
|
+
};
|
|
2993
|
+
meta: {
|
|
2994
|
+
title: string;
|
|
2995
|
+
subtitle: string;
|
|
2996
|
+
description: string;
|
|
2997
|
+
short: {
|
|
2998
|
+
title: string;
|
|
2999
|
+
subtitle: string;
|
|
3000
|
+
};
|
|
3001
|
+
};
|
|
3002
|
+
dates: {
|
|
3003
|
+
created: string;
|
|
3004
|
+
published: string;
|
|
3005
|
+
lastmod: string;
|
|
3006
|
+
};
|
|
3007
|
+
metrics: {
|
|
3008
|
+
words: number;
|
|
3009
|
+
};
|
|
3010
|
+
preview: {
|
|
3011
|
+
paragraphs: string[];
|
|
3012
|
+
};
|
|
3013
|
+
} | undefined;
|
|
3014
|
+
es?: {
|
|
3015
|
+
objects: {
|
|
3016
|
+
content: string;
|
|
3017
|
+
card?: string | undefined;
|
|
3018
|
+
};
|
|
3019
|
+
locale: {
|
|
3020
|
+
language_tag: string;
|
|
3021
|
+
canonical: string;
|
|
3022
|
+
translated: boolean;
|
|
3023
|
+
};
|
|
3024
|
+
meta: {
|
|
3025
|
+
title: string;
|
|
3026
|
+
subtitle: string;
|
|
3027
|
+
description: string;
|
|
3028
|
+
short: {
|
|
3029
|
+
title: string;
|
|
3030
|
+
subtitle: string;
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
dates: {
|
|
3034
|
+
created: string;
|
|
3035
|
+
published: string;
|
|
3036
|
+
lastmod: string;
|
|
3037
|
+
};
|
|
3038
|
+
metrics: {
|
|
3039
|
+
words: number;
|
|
3040
|
+
};
|
|
3041
|
+
preview: {
|
|
3042
|
+
paragraphs: string[];
|
|
3043
|
+
};
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
fr?: {
|
|
3046
|
+
objects: {
|
|
3047
|
+
content: string;
|
|
3048
|
+
card?: string | undefined;
|
|
3049
|
+
};
|
|
3050
|
+
locale: {
|
|
3051
|
+
language_tag: string;
|
|
3052
|
+
canonical: string;
|
|
3053
|
+
translated: boolean;
|
|
3054
|
+
};
|
|
3055
|
+
meta: {
|
|
3056
|
+
title: string;
|
|
3057
|
+
subtitle: string;
|
|
3058
|
+
description: string;
|
|
3059
|
+
short: {
|
|
3060
|
+
title: string;
|
|
3061
|
+
subtitle: string;
|
|
3062
|
+
};
|
|
3063
|
+
};
|
|
3064
|
+
dates: {
|
|
3065
|
+
created: string;
|
|
3066
|
+
published: string;
|
|
3067
|
+
lastmod: string;
|
|
3068
|
+
};
|
|
3069
|
+
metrics: {
|
|
3070
|
+
words: number;
|
|
3071
|
+
};
|
|
3072
|
+
preview: {
|
|
3073
|
+
paragraphs: string[];
|
|
3074
|
+
};
|
|
3075
|
+
} | undefined;
|
|
3076
|
+
ja?: {
|
|
3077
|
+
objects: {
|
|
3078
|
+
content: string;
|
|
3079
|
+
card?: string | undefined;
|
|
3080
|
+
};
|
|
3081
|
+
locale: {
|
|
3082
|
+
language_tag: string;
|
|
3083
|
+
canonical: string;
|
|
3084
|
+
translated: boolean;
|
|
3085
|
+
};
|
|
3086
|
+
meta: {
|
|
3087
|
+
title: string;
|
|
3088
|
+
subtitle: string;
|
|
3089
|
+
description: string;
|
|
3090
|
+
short: {
|
|
3091
|
+
title: string;
|
|
3092
|
+
subtitle: string;
|
|
3093
|
+
};
|
|
3094
|
+
};
|
|
3095
|
+
dates: {
|
|
3096
|
+
created: string;
|
|
3097
|
+
published: string;
|
|
3098
|
+
lastmod: string;
|
|
3099
|
+
};
|
|
3100
|
+
metrics: {
|
|
3101
|
+
words: number;
|
|
3102
|
+
};
|
|
3103
|
+
preview: {
|
|
3104
|
+
paragraphs: string[];
|
|
3105
|
+
};
|
|
3106
|
+
} | undefined;
|
|
3107
|
+
ko?: {
|
|
3108
|
+
objects: {
|
|
3109
|
+
content: string;
|
|
3110
|
+
card?: string | undefined;
|
|
3111
|
+
};
|
|
3112
|
+
locale: {
|
|
3113
|
+
language_tag: string;
|
|
3114
|
+
canonical: string;
|
|
3115
|
+
translated: boolean;
|
|
3116
|
+
};
|
|
3117
|
+
meta: {
|
|
3118
|
+
title: string;
|
|
3119
|
+
subtitle: string;
|
|
3120
|
+
description: string;
|
|
3121
|
+
short: {
|
|
3122
|
+
title: string;
|
|
3123
|
+
subtitle: string;
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
3126
|
+
dates: {
|
|
3127
|
+
created: string;
|
|
3128
|
+
published: string;
|
|
3129
|
+
lastmod: string;
|
|
3130
|
+
};
|
|
3131
|
+
metrics: {
|
|
3132
|
+
words: number;
|
|
3133
|
+
};
|
|
3134
|
+
preview: {
|
|
3135
|
+
paragraphs: string[];
|
|
3136
|
+
};
|
|
3137
|
+
} | undefined;
|
|
3138
|
+
mw?: {
|
|
3139
|
+
objects: {
|
|
3140
|
+
content: string;
|
|
3141
|
+
card?: string | undefined;
|
|
3142
|
+
};
|
|
3143
|
+
locale: {
|
|
3144
|
+
language_tag: string;
|
|
3145
|
+
canonical: string;
|
|
3146
|
+
translated: boolean;
|
|
3147
|
+
};
|
|
3148
|
+
meta: {
|
|
3149
|
+
title: string;
|
|
3150
|
+
subtitle: string;
|
|
3151
|
+
description: string;
|
|
3152
|
+
short: {
|
|
3153
|
+
title: string;
|
|
3154
|
+
subtitle: string;
|
|
3155
|
+
};
|
|
3156
|
+
};
|
|
3157
|
+
dates: {
|
|
3158
|
+
created: string;
|
|
3159
|
+
published: string;
|
|
3160
|
+
lastmod: string;
|
|
3161
|
+
};
|
|
3162
|
+
metrics: {
|
|
3163
|
+
words: number;
|
|
3164
|
+
};
|
|
3165
|
+
preview: {
|
|
3166
|
+
paragraphs: string[];
|
|
3167
|
+
};
|
|
3168
|
+
} | undefined;
|
|
3169
|
+
tw?: {
|
|
3170
|
+
objects: {
|
|
3171
|
+
content: string;
|
|
3172
|
+
card?: string | undefined;
|
|
3173
|
+
};
|
|
3174
|
+
locale: {
|
|
3175
|
+
language_tag: string;
|
|
3176
|
+
canonical: string;
|
|
3177
|
+
translated: boolean;
|
|
3178
|
+
};
|
|
3179
|
+
meta: {
|
|
3180
|
+
title: string;
|
|
3181
|
+
subtitle: string;
|
|
3182
|
+
description: string;
|
|
3183
|
+
short: {
|
|
3184
|
+
title: string;
|
|
3185
|
+
subtitle: string;
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
dates: {
|
|
3189
|
+
created: string;
|
|
3190
|
+
published: string;
|
|
3191
|
+
lastmod: string;
|
|
3192
|
+
};
|
|
3193
|
+
metrics: {
|
|
3194
|
+
words: number;
|
|
3195
|
+
};
|
|
3196
|
+
preview: {
|
|
3197
|
+
paragraphs: string[];
|
|
3198
|
+
};
|
|
3199
|
+
} | undefined;
|
|
3200
|
+
zh?: {
|
|
3201
|
+
objects: {
|
|
3202
|
+
content: string;
|
|
3203
|
+
card?: string | undefined;
|
|
3204
|
+
};
|
|
3205
|
+
locale: {
|
|
3206
|
+
language_tag: string;
|
|
3207
|
+
canonical: string;
|
|
3208
|
+
translated: boolean;
|
|
3209
|
+
};
|
|
3210
|
+
meta: {
|
|
3211
|
+
title: string;
|
|
3212
|
+
subtitle: string;
|
|
3213
|
+
description: string;
|
|
3214
|
+
short: {
|
|
3215
|
+
title: string;
|
|
3216
|
+
subtitle: string;
|
|
3217
|
+
};
|
|
3218
|
+
};
|
|
3219
|
+
dates: {
|
|
3220
|
+
created: string;
|
|
3221
|
+
published: string;
|
|
3222
|
+
lastmod: string;
|
|
3223
|
+
};
|
|
3224
|
+
metrics: {
|
|
3225
|
+
words: number;
|
|
3226
|
+
};
|
|
3227
|
+
preview: {
|
|
3228
|
+
paragraphs: string[];
|
|
3229
|
+
};
|
|
3230
|
+
} | undefined;
|
|
3231
|
+
}, v.ArrayIssue | v.BooleanIssue | v.NumberIssue | v.ObjectIssue | v.RegexIssue<string> | v.StringIssue>;
|
|
3232
|
+
readonly "~types"?: {
|
|
3233
|
+
readonly input: {
|
|
3234
|
+
de?: {
|
|
3235
|
+
objects: {
|
|
3236
|
+
content: string;
|
|
3237
|
+
card?: string | undefined;
|
|
3238
|
+
};
|
|
3239
|
+
locale: {
|
|
3240
|
+
language_tag: string;
|
|
3241
|
+
canonical: string;
|
|
3242
|
+
translated: boolean;
|
|
3243
|
+
};
|
|
3244
|
+
meta: {
|
|
3245
|
+
title: string;
|
|
3246
|
+
subtitle: string;
|
|
3247
|
+
description: string;
|
|
3248
|
+
short: {
|
|
3249
|
+
title: string;
|
|
3250
|
+
subtitle: string;
|
|
3251
|
+
};
|
|
3252
|
+
};
|
|
3253
|
+
dates: {
|
|
3254
|
+
created: string;
|
|
3255
|
+
published: string;
|
|
3256
|
+
lastmod: string;
|
|
3257
|
+
};
|
|
3258
|
+
metrics: {
|
|
3259
|
+
words: number;
|
|
3260
|
+
};
|
|
3261
|
+
preview: {
|
|
3262
|
+
paragraphs: string[];
|
|
3263
|
+
};
|
|
3264
|
+
} | undefined;
|
|
3265
|
+
en?: {
|
|
3266
|
+
objects: {
|
|
3267
|
+
content: string;
|
|
3268
|
+
card?: string | undefined;
|
|
3269
|
+
};
|
|
3270
|
+
locale: {
|
|
3271
|
+
language_tag: string;
|
|
3272
|
+
canonical: string;
|
|
3273
|
+
translated: boolean;
|
|
3274
|
+
};
|
|
3275
|
+
meta: {
|
|
3276
|
+
title: string;
|
|
3277
|
+
subtitle: string;
|
|
3278
|
+
description: string;
|
|
3279
|
+
short: {
|
|
3280
|
+
title: string;
|
|
3281
|
+
subtitle: string;
|
|
3282
|
+
};
|
|
3283
|
+
};
|
|
3284
|
+
dates: {
|
|
3285
|
+
created: string;
|
|
3286
|
+
published: string;
|
|
3287
|
+
lastmod: string;
|
|
3288
|
+
};
|
|
3289
|
+
metrics: {
|
|
3290
|
+
words: number;
|
|
3291
|
+
};
|
|
3292
|
+
preview: {
|
|
3293
|
+
paragraphs: string[];
|
|
3294
|
+
};
|
|
3295
|
+
} | undefined;
|
|
3296
|
+
es?: {
|
|
3297
|
+
objects: {
|
|
3298
|
+
content: string;
|
|
3299
|
+
card?: string | undefined;
|
|
3300
|
+
};
|
|
3301
|
+
locale: {
|
|
3302
|
+
language_tag: string;
|
|
3303
|
+
canonical: string;
|
|
3304
|
+
translated: boolean;
|
|
3305
|
+
};
|
|
3306
|
+
meta: {
|
|
3307
|
+
title: string;
|
|
3308
|
+
subtitle: string;
|
|
3309
|
+
description: string;
|
|
3310
|
+
short: {
|
|
3311
|
+
title: string;
|
|
3312
|
+
subtitle: string;
|
|
3313
|
+
};
|
|
3314
|
+
};
|
|
3315
|
+
dates: {
|
|
3316
|
+
created: string;
|
|
3317
|
+
published: string;
|
|
3318
|
+
lastmod: string;
|
|
3319
|
+
};
|
|
3320
|
+
metrics: {
|
|
3321
|
+
words: number;
|
|
3322
|
+
};
|
|
3323
|
+
preview: {
|
|
3324
|
+
paragraphs: string[];
|
|
3325
|
+
};
|
|
3326
|
+
} | undefined;
|
|
3327
|
+
fr?: {
|
|
3328
|
+
objects: {
|
|
3329
|
+
content: string;
|
|
3330
|
+
card?: string | undefined;
|
|
3331
|
+
};
|
|
3332
|
+
locale: {
|
|
3333
|
+
language_tag: string;
|
|
3334
|
+
canonical: string;
|
|
3335
|
+
translated: boolean;
|
|
3336
|
+
};
|
|
3337
|
+
meta: {
|
|
3338
|
+
title: string;
|
|
3339
|
+
subtitle: string;
|
|
3340
|
+
description: string;
|
|
3341
|
+
short: {
|
|
3342
|
+
title: string;
|
|
3343
|
+
subtitle: string;
|
|
3344
|
+
};
|
|
3345
|
+
};
|
|
3346
|
+
dates: {
|
|
3347
|
+
created: string;
|
|
3348
|
+
published: string;
|
|
3349
|
+
lastmod: string;
|
|
3350
|
+
};
|
|
3351
|
+
metrics: {
|
|
3352
|
+
words: number;
|
|
3353
|
+
};
|
|
3354
|
+
preview: {
|
|
3355
|
+
paragraphs: string[];
|
|
3356
|
+
};
|
|
3357
|
+
} | undefined;
|
|
3358
|
+
ja?: {
|
|
3359
|
+
objects: {
|
|
3360
|
+
content: string;
|
|
3361
|
+
card?: string | undefined;
|
|
3362
|
+
};
|
|
3363
|
+
locale: {
|
|
3364
|
+
language_tag: string;
|
|
3365
|
+
canonical: string;
|
|
3366
|
+
translated: boolean;
|
|
3367
|
+
};
|
|
3368
|
+
meta: {
|
|
3369
|
+
title: string;
|
|
3370
|
+
subtitle: string;
|
|
3371
|
+
description: string;
|
|
3372
|
+
short: {
|
|
3373
|
+
title: string;
|
|
3374
|
+
subtitle: string;
|
|
3375
|
+
};
|
|
3376
|
+
};
|
|
3377
|
+
dates: {
|
|
3378
|
+
created: string;
|
|
3379
|
+
published: string;
|
|
3380
|
+
lastmod: string;
|
|
3381
|
+
};
|
|
3382
|
+
metrics: {
|
|
3383
|
+
words: number;
|
|
3384
|
+
};
|
|
3385
|
+
preview: {
|
|
3386
|
+
paragraphs: string[];
|
|
3387
|
+
};
|
|
3388
|
+
} | undefined;
|
|
3389
|
+
ko?: {
|
|
3390
|
+
objects: {
|
|
3391
|
+
content: string;
|
|
3392
|
+
card?: string | undefined;
|
|
3393
|
+
};
|
|
3394
|
+
locale: {
|
|
3395
|
+
language_tag: string;
|
|
3396
|
+
canonical: string;
|
|
3397
|
+
translated: boolean;
|
|
3398
|
+
};
|
|
3399
|
+
meta: {
|
|
3400
|
+
title: string;
|
|
3401
|
+
subtitle: string;
|
|
3402
|
+
description: string;
|
|
3403
|
+
short: {
|
|
3404
|
+
title: string;
|
|
3405
|
+
subtitle: string;
|
|
3406
|
+
};
|
|
3407
|
+
};
|
|
3408
|
+
dates: {
|
|
3409
|
+
created: string;
|
|
3410
|
+
published: string;
|
|
3411
|
+
lastmod: string;
|
|
3412
|
+
};
|
|
3413
|
+
metrics: {
|
|
3414
|
+
words: number;
|
|
3415
|
+
};
|
|
3416
|
+
preview: {
|
|
3417
|
+
paragraphs: string[];
|
|
3418
|
+
};
|
|
3419
|
+
} | undefined;
|
|
3420
|
+
mw?: {
|
|
3421
|
+
objects: {
|
|
3422
|
+
content: string;
|
|
3423
|
+
card?: string | undefined;
|
|
3424
|
+
};
|
|
3425
|
+
locale: {
|
|
3426
|
+
language_tag: string;
|
|
3427
|
+
canonical: string;
|
|
3428
|
+
translated: boolean;
|
|
3429
|
+
};
|
|
3430
|
+
meta: {
|
|
3431
|
+
title: string;
|
|
3432
|
+
subtitle: string;
|
|
3433
|
+
description: string;
|
|
3434
|
+
short: {
|
|
3435
|
+
title: string;
|
|
3436
|
+
subtitle: string;
|
|
3437
|
+
};
|
|
3438
|
+
};
|
|
3439
|
+
dates: {
|
|
3440
|
+
created: string;
|
|
3441
|
+
published: string;
|
|
3442
|
+
lastmod: string;
|
|
3443
|
+
};
|
|
3444
|
+
metrics: {
|
|
3445
|
+
words: number;
|
|
3446
|
+
};
|
|
3447
|
+
preview: {
|
|
3448
|
+
paragraphs: string[];
|
|
3449
|
+
};
|
|
3450
|
+
} | undefined;
|
|
3451
|
+
tw?: {
|
|
3452
|
+
objects: {
|
|
3453
|
+
content: string;
|
|
3454
|
+
card?: string | undefined;
|
|
3455
|
+
};
|
|
3456
|
+
locale: {
|
|
3457
|
+
language_tag: string;
|
|
3458
|
+
canonical: string;
|
|
3459
|
+
translated: boolean;
|
|
3460
|
+
};
|
|
3461
|
+
meta: {
|
|
3462
|
+
title: string;
|
|
3463
|
+
subtitle: string;
|
|
3464
|
+
description: string;
|
|
3465
|
+
short: {
|
|
3466
|
+
title: string;
|
|
3467
|
+
subtitle: string;
|
|
3468
|
+
};
|
|
3469
|
+
};
|
|
3470
|
+
dates: {
|
|
3471
|
+
created: string;
|
|
3472
|
+
published: string;
|
|
3473
|
+
lastmod: string;
|
|
3474
|
+
};
|
|
3475
|
+
metrics: {
|
|
3476
|
+
words: number;
|
|
3477
|
+
};
|
|
3478
|
+
preview: {
|
|
3479
|
+
paragraphs: string[];
|
|
3480
|
+
};
|
|
3481
|
+
} | undefined;
|
|
3482
|
+
zh?: {
|
|
3483
|
+
objects: {
|
|
3484
|
+
content: string;
|
|
3485
|
+
card?: string | undefined;
|
|
3486
|
+
};
|
|
3487
|
+
locale: {
|
|
3488
|
+
language_tag: string;
|
|
3489
|
+
canonical: string;
|
|
3490
|
+
translated: boolean;
|
|
3491
|
+
};
|
|
3492
|
+
meta: {
|
|
3493
|
+
title: string;
|
|
3494
|
+
subtitle: string;
|
|
3495
|
+
description: string;
|
|
3496
|
+
short: {
|
|
3497
|
+
title: string;
|
|
3498
|
+
subtitle: string;
|
|
3499
|
+
};
|
|
3500
|
+
};
|
|
3501
|
+
dates: {
|
|
3502
|
+
created: string;
|
|
3503
|
+
published: string;
|
|
3504
|
+
lastmod: string;
|
|
3505
|
+
};
|
|
3506
|
+
metrics: {
|
|
3507
|
+
words: number;
|
|
3508
|
+
};
|
|
3509
|
+
preview: {
|
|
3510
|
+
paragraphs: string[];
|
|
3511
|
+
};
|
|
3512
|
+
} | undefined;
|
|
3513
|
+
};
|
|
3514
|
+
readonly output: {
|
|
3515
|
+
de?: {
|
|
3516
|
+
objects: {
|
|
3517
|
+
content: string;
|
|
3518
|
+
card?: string | undefined;
|
|
3519
|
+
};
|
|
3520
|
+
locale: {
|
|
3521
|
+
language_tag: string;
|
|
3522
|
+
canonical: string;
|
|
3523
|
+
translated: boolean;
|
|
3524
|
+
};
|
|
3525
|
+
meta: {
|
|
3526
|
+
title: string;
|
|
3527
|
+
subtitle: string;
|
|
3528
|
+
description: string;
|
|
3529
|
+
short: {
|
|
3530
|
+
title: string;
|
|
3531
|
+
subtitle: string;
|
|
3532
|
+
};
|
|
3533
|
+
};
|
|
3534
|
+
dates: {
|
|
3535
|
+
created: string;
|
|
3536
|
+
published: string;
|
|
3537
|
+
lastmod: string;
|
|
3538
|
+
};
|
|
3539
|
+
metrics: {
|
|
3540
|
+
words: number;
|
|
3541
|
+
};
|
|
3542
|
+
preview: {
|
|
3543
|
+
paragraphs: string[];
|
|
3544
|
+
};
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
en?: {
|
|
3547
|
+
objects: {
|
|
3548
|
+
content: string;
|
|
3549
|
+
card?: string | undefined;
|
|
3550
|
+
};
|
|
3551
|
+
locale: {
|
|
3552
|
+
language_tag: string;
|
|
3553
|
+
canonical: string;
|
|
3554
|
+
translated: boolean;
|
|
3555
|
+
};
|
|
3556
|
+
meta: {
|
|
3557
|
+
title: string;
|
|
3558
|
+
subtitle: string;
|
|
3559
|
+
description: string;
|
|
3560
|
+
short: {
|
|
3561
|
+
title: string;
|
|
3562
|
+
subtitle: string;
|
|
3563
|
+
};
|
|
3564
|
+
};
|
|
3565
|
+
dates: {
|
|
3566
|
+
created: string;
|
|
3567
|
+
published: string;
|
|
3568
|
+
lastmod: string;
|
|
3569
|
+
};
|
|
3570
|
+
metrics: {
|
|
3571
|
+
words: number;
|
|
3572
|
+
};
|
|
3573
|
+
preview: {
|
|
3574
|
+
paragraphs: string[];
|
|
3575
|
+
};
|
|
3576
|
+
} | undefined;
|
|
3577
|
+
es?: {
|
|
3578
|
+
objects: {
|
|
3579
|
+
content: string;
|
|
3580
|
+
card?: string | undefined;
|
|
3581
|
+
};
|
|
3582
|
+
locale: {
|
|
3583
|
+
language_tag: string;
|
|
3584
|
+
canonical: string;
|
|
3585
|
+
translated: boolean;
|
|
3586
|
+
};
|
|
3587
|
+
meta: {
|
|
3588
|
+
title: string;
|
|
3589
|
+
subtitle: string;
|
|
3590
|
+
description: string;
|
|
3591
|
+
short: {
|
|
3592
|
+
title: string;
|
|
3593
|
+
subtitle: string;
|
|
3594
|
+
};
|
|
3595
|
+
};
|
|
3596
|
+
dates: {
|
|
3597
|
+
created: string;
|
|
3598
|
+
published: string;
|
|
3599
|
+
lastmod: string;
|
|
3600
|
+
};
|
|
3601
|
+
metrics: {
|
|
3602
|
+
words: number;
|
|
3603
|
+
};
|
|
3604
|
+
preview: {
|
|
3605
|
+
paragraphs: string[];
|
|
3606
|
+
};
|
|
3607
|
+
} | undefined;
|
|
3608
|
+
fr?: {
|
|
3609
|
+
objects: {
|
|
3610
|
+
content: string;
|
|
3611
|
+
card?: string | undefined;
|
|
3612
|
+
};
|
|
3613
|
+
locale: {
|
|
3614
|
+
language_tag: string;
|
|
3615
|
+
canonical: string;
|
|
3616
|
+
translated: boolean;
|
|
3617
|
+
};
|
|
3618
|
+
meta: {
|
|
3619
|
+
title: string;
|
|
3620
|
+
subtitle: string;
|
|
3621
|
+
description: string;
|
|
3622
|
+
short: {
|
|
3623
|
+
title: string;
|
|
3624
|
+
subtitle: string;
|
|
3625
|
+
};
|
|
3626
|
+
};
|
|
3627
|
+
dates: {
|
|
3628
|
+
created: string;
|
|
3629
|
+
published: string;
|
|
3630
|
+
lastmod: string;
|
|
3631
|
+
};
|
|
3632
|
+
metrics: {
|
|
3633
|
+
words: number;
|
|
3634
|
+
};
|
|
3635
|
+
preview: {
|
|
3636
|
+
paragraphs: string[];
|
|
3637
|
+
};
|
|
3638
|
+
} | undefined;
|
|
3639
|
+
ja?: {
|
|
3640
|
+
objects: {
|
|
3641
|
+
content: string;
|
|
3642
|
+
card?: string | undefined;
|
|
3643
|
+
};
|
|
3644
|
+
locale: {
|
|
3645
|
+
language_tag: string;
|
|
3646
|
+
canonical: string;
|
|
3647
|
+
translated: boolean;
|
|
3648
|
+
};
|
|
3649
|
+
meta: {
|
|
3650
|
+
title: string;
|
|
3651
|
+
subtitle: string;
|
|
3652
|
+
description: string;
|
|
3653
|
+
short: {
|
|
3654
|
+
title: string;
|
|
3655
|
+
subtitle: string;
|
|
3656
|
+
};
|
|
3657
|
+
};
|
|
3658
|
+
dates: {
|
|
3659
|
+
created: string;
|
|
3660
|
+
published: string;
|
|
3661
|
+
lastmod: string;
|
|
3662
|
+
};
|
|
3663
|
+
metrics: {
|
|
3664
|
+
words: number;
|
|
3665
|
+
};
|
|
3666
|
+
preview: {
|
|
3667
|
+
paragraphs: string[];
|
|
3668
|
+
};
|
|
3669
|
+
} | undefined;
|
|
3670
|
+
ko?: {
|
|
3671
|
+
objects: {
|
|
3672
|
+
content: string;
|
|
3673
|
+
card?: string | undefined;
|
|
3674
|
+
};
|
|
3675
|
+
locale: {
|
|
3676
|
+
language_tag: string;
|
|
3677
|
+
canonical: string;
|
|
3678
|
+
translated: boolean;
|
|
3679
|
+
};
|
|
3680
|
+
meta: {
|
|
3681
|
+
title: string;
|
|
3682
|
+
subtitle: string;
|
|
3683
|
+
description: string;
|
|
3684
|
+
short: {
|
|
3685
|
+
title: string;
|
|
3686
|
+
subtitle: string;
|
|
3687
|
+
};
|
|
3688
|
+
};
|
|
3689
|
+
dates: {
|
|
3690
|
+
created: string;
|
|
3691
|
+
published: string;
|
|
3692
|
+
lastmod: string;
|
|
3693
|
+
};
|
|
3694
|
+
metrics: {
|
|
3695
|
+
words: number;
|
|
3696
|
+
};
|
|
3697
|
+
preview: {
|
|
3698
|
+
paragraphs: string[];
|
|
3699
|
+
};
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
mw?: {
|
|
3702
|
+
objects: {
|
|
3703
|
+
content: string;
|
|
3704
|
+
card?: string | undefined;
|
|
3705
|
+
};
|
|
3706
|
+
locale: {
|
|
3707
|
+
language_tag: string;
|
|
3708
|
+
canonical: string;
|
|
3709
|
+
translated: boolean;
|
|
3710
|
+
};
|
|
3711
|
+
meta: {
|
|
3712
|
+
title: string;
|
|
3713
|
+
subtitle: string;
|
|
3714
|
+
description: string;
|
|
3715
|
+
short: {
|
|
3716
|
+
title: string;
|
|
3717
|
+
subtitle: string;
|
|
3718
|
+
};
|
|
3719
|
+
};
|
|
3720
|
+
dates: {
|
|
3721
|
+
created: string;
|
|
3722
|
+
published: string;
|
|
3723
|
+
lastmod: string;
|
|
3724
|
+
};
|
|
3725
|
+
metrics: {
|
|
3726
|
+
words: number;
|
|
3727
|
+
};
|
|
3728
|
+
preview: {
|
|
3729
|
+
paragraphs: string[];
|
|
3730
|
+
};
|
|
3731
|
+
} | undefined;
|
|
3732
|
+
tw?: {
|
|
3733
|
+
objects: {
|
|
3734
|
+
content: string;
|
|
3735
|
+
card?: string | undefined;
|
|
3736
|
+
};
|
|
3737
|
+
locale: {
|
|
3738
|
+
language_tag: string;
|
|
3739
|
+
canonical: string;
|
|
3740
|
+
translated: boolean;
|
|
3741
|
+
};
|
|
3742
|
+
meta: {
|
|
3743
|
+
title: string;
|
|
3744
|
+
subtitle: string;
|
|
3745
|
+
description: string;
|
|
3746
|
+
short: {
|
|
3747
|
+
title: string;
|
|
3748
|
+
subtitle: string;
|
|
3749
|
+
};
|
|
3750
|
+
};
|
|
3751
|
+
dates: {
|
|
3752
|
+
created: string;
|
|
3753
|
+
published: string;
|
|
3754
|
+
lastmod: string;
|
|
3755
|
+
};
|
|
3756
|
+
metrics: {
|
|
3757
|
+
words: number;
|
|
3758
|
+
};
|
|
3759
|
+
preview: {
|
|
3760
|
+
paragraphs: string[];
|
|
3761
|
+
};
|
|
3762
|
+
} | undefined;
|
|
3763
|
+
zh?: {
|
|
3764
|
+
objects: {
|
|
3765
|
+
content: string;
|
|
3766
|
+
card?: string | undefined;
|
|
3767
|
+
};
|
|
3768
|
+
locale: {
|
|
3769
|
+
language_tag: string;
|
|
3770
|
+
canonical: string;
|
|
3771
|
+
translated: boolean;
|
|
3772
|
+
};
|
|
3773
|
+
meta: {
|
|
3774
|
+
title: string;
|
|
3775
|
+
subtitle: string;
|
|
3776
|
+
description: string;
|
|
3777
|
+
short: {
|
|
3778
|
+
title: string;
|
|
3779
|
+
subtitle: string;
|
|
3780
|
+
};
|
|
3781
|
+
};
|
|
3782
|
+
dates: {
|
|
3783
|
+
created: string;
|
|
3784
|
+
published: string;
|
|
3785
|
+
lastmod: string;
|
|
3786
|
+
};
|
|
3787
|
+
metrics: {
|
|
3788
|
+
words: number;
|
|
3789
|
+
};
|
|
3790
|
+
preview: {
|
|
3791
|
+
paragraphs: string[];
|
|
3792
|
+
};
|
|
3793
|
+
} | undefined;
|
|
3794
|
+
};
|
|
3795
|
+
readonly issue: v.ArrayIssue | v.BooleanIssue | v.NumberIssue | v.ObjectIssue | v.RegexIssue<string> | v.StringIssue;
|
|
3796
|
+
} | undefined;
|
|
3797
|
+
};
|
|
3798
|
+
}, undefined>, undefined>;
|
|
3799
|
+
readonly pages: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
3800
|
+
readonly markdown: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3801
|
+
readonly views: Omit<v.ObjectSchema<Record<"de" | "en" | "es" | "fr" | "ja" | "ko" | "mw" | "tw" | "zh", v.ObjectSchema<{
|
|
3802
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3803
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3804
|
+
}, undefined>>, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
3805
|
+
readonly entries: {
|
|
3806
|
+
de: v.OptionalSchema<v.ObjectSchema<{
|
|
3807
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3808
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3809
|
+
}, undefined>, undefined>;
|
|
3810
|
+
en: v.OptionalSchema<v.ObjectSchema<{
|
|
3811
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3812
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3813
|
+
}, undefined>, undefined>;
|
|
3814
|
+
es: v.OptionalSchema<v.ObjectSchema<{
|
|
3815
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3816
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3817
|
+
}, undefined>, undefined>;
|
|
3818
|
+
fr: v.OptionalSchema<v.ObjectSchema<{
|
|
3819
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3820
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3821
|
+
}, undefined>, undefined>;
|
|
3822
|
+
ja: v.OptionalSchema<v.ObjectSchema<{
|
|
3823
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3824
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3825
|
+
}, undefined>, undefined>;
|
|
3826
|
+
ko: v.OptionalSchema<v.ObjectSchema<{
|
|
3827
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3828
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3829
|
+
}, undefined>, undefined>;
|
|
3830
|
+
mw: v.OptionalSchema<v.ObjectSchema<{
|
|
3831
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3832
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3833
|
+
}, undefined>, undefined>;
|
|
3834
|
+
tw: v.OptionalSchema<v.ObjectSchema<{
|
|
3835
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3836
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3837
|
+
}, undefined>, undefined>;
|
|
3838
|
+
zh: v.OptionalSchema<v.ObjectSchema<{
|
|
3839
|
+
readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>;
|
|
3840
|
+
readonly card: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3841
|
+
}, undefined>, undefined>;
|
|
3842
|
+
};
|
|
3843
|
+
readonly "~standard": v.StandardProps<{
|
|
3844
|
+
de?: {
|
|
3845
|
+
content: string;
|
|
3846
|
+
card?: string | undefined;
|
|
3847
|
+
} | undefined;
|
|
3848
|
+
en?: {
|
|
3849
|
+
content: string;
|
|
3850
|
+
card?: string | undefined;
|
|
3851
|
+
} | undefined;
|
|
3852
|
+
es?: {
|
|
3853
|
+
content: string;
|
|
3854
|
+
card?: string | undefined;
|
|
3855
|
+
} | undefined;
|
|
3856
|
+
fr?: {
|
|
3857
|
+
content: string;
|
|
3858
|
+
card?: string | undefined;
|
|
3859
|
+
} | undefined;
|
|
3860
|
+
ja?: {
|
|
3861
|
+
content: string;
|
|
3862
|
+
card?: string | undefined;
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
ko?: {
|
|
3865
|
+
content: string;
|
|
3866
|
+
card?: string | undefined;
|
|
3867
|
+
} | undefined;
|
|
3868
|
+
mw?: {
|
|
3869
|
+
content: string;
|
|
3870
|
+
card?: string | undefined;
|
|
3871
|
+
} | undefined;
|
|
3872
|
+
tw?: {
|
|
3873
|
+
content: string;
|
|
3874
|
+
card?: string | undefined;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
zh?: {
|
|
3877
|
+
content: string;
|
|
3878
|
+
card?: string | undefined;
|
|
3879
|
+
} | undefined;
|
|
3880
|
+
}, {
|
|
3881
|
+
de?: {
|
|
3882
|
+
content: string;
|
|
3883
|
+
card?: string | undefined;
|
|
3884
|
+
} | undefined;
|
|
3885
|
+
en?: {
|
|
3886
|
+
content: string;
|
|
3887
|
+
card?: string | undefined;
|
|
3888
|
+
} | undefined;
|
|
3889
|
+
es?: {
|
|
3890
|
+
content: string;
|
|
3891
|
+
card?: string | undefined;
|
|
3892
|
+
} | undefined;
|
|
3893
|
+
fr?: {
|
|
3894
|
+
content: string;
|
|
3895
|
+
card?: string | undefined;
|
|
3896
|
+
} | undefined;
|
|
3897
|
+
ja?: {
|
|
3898
|
+
content: string;
|
|
3899
|
+
card?: string | undefined;
|
|
3900
|
+
} | undefined;
|
|
3901
|
+
ko?: {
|
|
3902
|
+
content: string;
|
|
3903
|
+
card?: string | undefined;
|
|
3904
|
+
} | undefined;
|
|
3905
|
+
mw?: {
|
|
3906
|
+
content: string;
|
|
3907
|
+
card?: string | undefined;
|
|
3908
|
+
} | undefined;
|
|
3909
|
+
tw?: {
|
|
3910
|
+
content: string;
|
|
3911
|
+
card?: string | undefined;
|
|
3912
|
+
} | undefined;
|
|
3913
|
+
zh?: {
|
|
3914
|
+
content: string;
|
|
3915
|
+
card?: string | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
}>;
|
|
3918
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
3919
|
+
de?: {
|
|
3920
|
+
content: string;
|
|
3921
|
+
card?: string | undefined;
|
|
3922
|
+
} | undefined;
|
|
3923
|
+
en?: {
|
|
3924
|
+
content: string;
|
|
3925
|
+
card?: string | undefined;
|
|
3926
|
+
} | undefined;
|
|
3927
|
+
es?: {
|
|
3928
|
+
content: string;
|
|
3929
|
+
card?: string | undefined;
|
|
3930
|
+
} | undefined;
|
|
3931
|
+
fr?: {
|
|
3932
|
+
content: string;
|
|
3933
|
+
card?: string | undefined;
|
|
3934
|
+
} | undefined;
|
|
3935
|
+
ja?: {
|
|
3936
|
+
content: string;
|
|
3937
|
+
card?: string | undefined;
|
|
3938
|
+
} | undefined;
|
|
3939
|
+
ko?: {
|
|
3940
|
+
content: string;
|
|
3941
|
+
card?: string | undefined;
|
|
3942
|
+
} | undefined;
|
|
3943
|
+
mw?: {
|
|
3944
|
+
content: string;
|
|
3945
|
+
card?: string | undefined;
|
|
3946
|
+
} | undefined;
|
|
3947
|
+
tw?: {
|
|
3948
|
+
content: string;
|
|
3949
|
+
card?: string | undefined;
|
|
3950
|
+
} | undefined;
|
|
3951
|
+
zh?: {
|
|
3952
|
+
content: string;
|
|
3953
|
+
card?: string | undefined;
|
|
3954
|
+
} | undefined;
|
|
3955
|
+
}, v.ObjectIssue | v.RegexIssue<string> | v.StringIssue>;
|
|
3956
|
+
readonly "~types"?: {
|
|
3957
|
+
readonly input: {
|
|
3958
|
+
de?: {
|
|
3959
|
+
content: string;
|
|
3960
|
+
card?: string | undefined;
|
|
3961
|
+
} | undefined;
|
|
3962
|
+
en?: {
|
|
3963
|
+
content: string;
|
|
3964
|
+
card?: string | undefined;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
es?: {
|
|
3967
|
+
content: string;
|
|
3968
|
+
card?: string | undefined;
|
|
3969
|
+
} | undefined;
|
|
3970
|
+
fr?: {
|
|
3971
|
+
content: string;
|
|
3972
|
+
card?: string | undefined;
|
|
3973
|
+
} | undefined;
|
|
3974
|
+
ja?: {
|
|
3975
|
+
content: string;
|
|
3976
|
+
card?: string | undefined;
|
|
3977
|
+
} | undefined;
|
|
3978
|
+
ko?: {
|
|
3979
|
+
content: string;
|
|
3980
|
+
card?: string | undefined;
|
|
3981
|
+
} | undefined;
|
|
3982
|
+
mw?: {
|
|
3983
|
+
content: string;
|
|
3984
|
+
card?: string | undefined;
|
|
3985
|
+
} | undefined;
|
|
3986
|
+
tw?: {
|
|
3987
|
+
content: string;
|
|
3988
|
+
card?: string | undefined;
|
|
3989
|
+
} | undefined;
|
|
3990
|
+
zh?: {
|
|
3991
|
+
content: string;
|
|
3992
|
+
card?: string | undefined;
|
|
3993
|
+
} | undefined;
|
|
3994
|
+
};
|
|
3995
|
+
readonly output: {
|
|
3996
|
+
de?: {
|
|
3997
|
+
content: string;
|
|
3998
|
+
card?: string | undefined;
|
|
3999
|
+
} | undefined;
|
|
4000
|
+
en?: {
|
|
4001
|
+
content: string;
|
|
4002
|
+
card?: string | undefined;
|
|
4003
|
+
} | undefined;
|
|
4004
|
+
es?: {
|
|
4005
|
+
content: string;
|
|
4006
|
+
card?: string | undefined;
|
|
4007
|
+
} | undefined;
|
|
4008
|
+
fr?: {
|
|
4009
|
+
content: string;
|
|
4010
|
+
card?: string | undefined;
|
|
4011
|
+
} | undefined;
|
|
4012
|
+
ja?: {
|
|
4013
|
+
content: string;
|
|
4014
|
+
card?: string | undefined;
|
|
4015
|
+
} | undefined;
|
|
4016
|
+
ko?: {
|
|
4017
|
+
content: string;
|
|
4018
|
+
card?: string | undefined;
|
|
4019
|
+
} | undefined;
|
|
4020
|
+
mw?: {
|
|
4021
|
+
content: string;
|
|
4022
|
+
card?: string | undefined;
|
|
4023
|
+
} | undefined;
|
|
4024
|
+
tw?: {
|
|
4025
|
+
content: string;
|
|
4026
|
+
card?: string | undefined;
|
|
4027
|
+
} | undefined;
|
|
4028
|
+
zh?: {
|
|
4029
|
+
content: string;
|
|
4030
|
+
card?: string | undefined;
|
|
4031
|
+
} | undefined;
|
|
4032
|
+
};
|
|
4033
|
+
readonly issue: v.ObjectIssue | v.RegexIssue<string> | v.StringIssue;
|
|
4034
|
+
} | undefined;
|
|
4035
|
+
};
|
|
4036
|
+
}, undefined>, undefined>;
|
|
4037
|
+
}, undefined>;
|
|
4038
|
+
export type ViewMeta = v.InferOutput<typeof ViewMetaSchema>;
|
|
4039
|
+
export type Root = v.InferOutput<typeof RootSchema>;
|
|
4040
|
+
export type RootArticle = v.InferOutput<typeof RootArticleSchema>;
|
|
4041
|
+
export type RootView = v.InferOutput<typeof RootViewSchema>;
|
|
4042
|
+
/**
|
|
4043
|
+
* What each API route answers, shared by the Worker that writes one and the site that reads it.
|
|
4044
|
+
*
|
|
4045
|
+
* Types rather than schemas: they are checked where both sides compile, not parsed at an edge,
|
|
4046
|
+
* which is the line spec/architecture/artifacts.md draws under "Validation is heavy where it is
|
|
4047
|
+
* free". Two hand-written spellings of these disagreed six times in one afternoon, silently.
|
|
4048
|
+
*/
|
|
4049
|
+
/**
|
|
4050
|
+
* One article, as the API answers for it.
|
|
4051
|
+
*
|
|
4052
|
+
* The root's view grouped as it is stored, plus the two things only a request can supply: which
|
|
4053
|
+
* article was asked for. No read count: a counter is written by every visitor and a view is not,
|
|
4054
|
+
* so carrying it here gave one number nine cached copies of itself. See
|
|
4055
|
+
* spec/architecture/artifacts.md, "A read count is not here at all".
|
|
4056
|
+
*/
|
|
4057
|
+
export type ViewAnswer = Omit<RootView, 'locale'> & {
|
|
4058
|
+
/** What was asked for: the identity, which is the only thing `?slug=` takes. */
|
|
4059
|
+
slug: string;
|
|
4060
|
+
/**
|
|
4061
|
+
* Where it lives, which the answer supplies because the question deliberately does not.
|
|
4062
|
+
*
|
|
4063
|
+
* This is what lets the site tell a canonical address from one that merely reaches the
|
|
4064
|
+
* article: `/{wrong}/{slug}` and `/{slug}` both resolve, and both are redirected here. See
|
|
4065
|
+
* spec/architecture/artifacts.md, "Reaching an article by name".
|
|
4066
|
+
*/
|
|
4067
|
+
path: string;
|
|
4068
|
+
url: string;
|
|
4069
|
+
locale: RootView['locale'] & {
|
|
4070
|
+
code: LocaleCode;
|
|
4071
|
+
};
|
|
4072
|
+
};
|
|
4073
|
+
/**
|
|
4074
|
+
* The homepage: the articles it lists, and the compiled page its own copy comes from.
|
|
4075
|
+
*
|
|
4076
|
+
* The locale is named once at the top rather than on every row, because one request answers in
|
|
4077
|
+
* one language and repeating it per article is the same fact N times.
|
|
4078
|
+
*/
|
|
4079
|
+
export type HomeAnswer = {
|
|
4080
|
+
locale: {
|
|
4081
|
+
code: LocaleCode;
|
|
4082
|
+
language_tag: string;
|
|
4083
|
+
};
|
|
4084
|
+
page: {
|
|
4085
|
+
objects: {
|
|
4086
|
+
content: string;
|
|
4087
|
+
card?: string;
|
|
4088
|
+
};
|
|
4089
|
+
} | null;
|
|
4090
|
+
articles: (Omit<RootView, 'locale'> & {
|
|
4091
|
+
slug: string;
|
|
4092
|
+
path: string;
|
|
4093
|
+
url: string;
|
|
4094
|
+
})[];
|
|
4095
|
+
};
|
|
4096
|
+
/**
|
|
4097
|
+
* What a feed is built out of: metadata and a hash per entry, never the document.
|
|
4098
|
+
*
|
|
4099
|
+
* `locale` stays per entry rather than moving to the top the way the homepage's does, because an
|
|
4100
|
+
* untranslated article is served as the source view and carries the source's language tag --
|
|
4101
|
+
* which is what decides whether the feed declares one language or `mul`. See
|
|
4102
|
+
* spec/architecture/artifacts.md, "Which objects exist".
|
|
4103
|
+
*/
|
|
4104
|
+
export type FeedAnswer = {
|
|
4105
|
+
locale: {
|
|
4106
|
+
code: LocaleCode;
|
|
4107
|
+
};
|
|
4108
|
+
entries: {
|
|
4109
|
+
slug: string;
|
|
4110
|
+
url: string;
|
|
4111
|
+
objects: {
|
|
4112
|
+
content: string;
|
|
4113
|
+
};
|
|
4114
|
+
locale: RootView['locale'];
|
|
4115
|
+
meta: {
|
|
4116
|
+
title: string;
|
|
4117
|
+
description: string;
|
|
4118
|
+
};
|
|
4119
|
+
dates: {
|
|
4120
|
+
created: string;
|
|
4121
|
+
published: string;
|
|
4122
|
+
lastmod: string;
|
|
4123
|
+
};
|
|
4124
|
+
}[];
|
|
4125
|
+
};
|
|
4126
|
+
/**
|
|
4127
|
+
* `/asset?name=`: which object a fixed name stands for right now.
|
|
4128
|
+
*
|
|
4129
|
+
* The name is echoed so an answer can be read without remembering what was asked, which is what
|
|
4130
|
+
* lets the alias layer pass one straight through to a redirect.
|
|
4131
|
+
*/
|
|
4132
|
+
export type AssetAnswer = RootAsset & {
|
|
4133
|
+
name: string;
|
|
4134
|
+
};
|
|
4135
|
+
export type SitemapAnswer = {
|
|
4136
|
+
/** When the root was written, which is the lastmod for a route carrying no date of its own. */
|
|
4137
|
+
generated: string;
|
|
4138
|
+
views: {
|
|
4139
|
+
loc: string;
|
|
4140
|
+
lastmod: string;
|
|
4141
|
+
alternates: Alternate[];
|
|
4142
|
+
}[];
|
|
4143
|
+
};
|
|
4144
|
+
/**
|
|
4145
|
+
* `/source`: which object holds the written source, and where the thing it belongs to lives.
|
|
4146
|
+
*
|
|
4147
|
+
* The path is here for the same reason `ViewAnswer` carries one -- the question asked by identity,
|
|
4148
|
+
* so only the answer can say whether the address it was asked at is the real one.
|
|
4149
|
+
*/
|
|
4150
|
+
export type DocumentAnswer = {
|
|
4151
|
+
hash: string;
|
|
4152
|
+
path: string;
|
|
4153
|
+
};
|
|
4154
|
+
/**
|
|
4155
|
+
* What a consumer checks before trusting an object's body.
|
|
4156
|
+
*
|
|
4157
|
+
* Version, slug and locale only -- the slug being the identity, never the path, because an object
|
|
4158
|
+
* outlives the directory it was published from. The body is not revalidated at an edge: the
|
|
4159
|
+
* producer is trusted and what this catches is version skew. See spec/architecture/artifacts.md,
|
|
4160
|
+
* "Validation is heavy where it is free and light where it is not".
|
|
4161
|
+
*/
|
|
4162
|
+
export declare const EnvelopeSchema: v.ObjectSchema<{
|
|
4163
|
+
readonly version: v.LiteralSchema<2, undefined>;
|
|
4164
|
+
readonly slug: v.StringSchema<undefined>;
|
|
4165
|
+
readonly locale: v.PicklistSchema<readonly ["mw", "de", "en", "es", "fr", "ja", "ko", "zh", "tw"], undefined>;
|
|
4166
|
+
}, undefined>;
|
|
4167
|
+
/**
|
|
4168
|
+
* The same check for a page, which has no locale to check.
|
|
4169
|
+
*
|
|
4170
|
+
* A page is compiled once and filed under every locale -- see the builder, and web's
|
|
4171
|
+
* spec/i18n/copy.md for why identity copy is not translated. Giving its envelope a locale made nine
|
|
4172
|
+
* objects that differed in one field, which is de-duplication defeated by a field that meant
|
|
4173
|
+
* nothing.
|
|
4174
|
+
*/
|
|
4175
|
+
export declare const PageEnvelopeSchema: v.ObjectSchema<{
|
|
4176
|
+
readonly version: v.LiteralSchema<2, undefined>;
|
|
4177
|
+
readonly slug: v.StringSchema<undefined>;
|
|
4178
|
+
}, undefined>;
|
|
4179
|
+
export declare function readPageEnvelope(value: unknown, slug: string): void;
|
|
4180
|
+
export declare function readEnvelope(value: unknown, slug: string, locale: LocaleCode): void;
|
|
4181
|
+
/** One article view, as published. The load data the page renders from, and nothing besides. */
|
|
4182
|
+
export type PublishedView = {
|
|
4183
|
+
version: typeof ARTIFACT_VERSION;
|
|
4184
|
+
/** The identity, matching the envelope. Where the article lives is the root's to say. */
|
|
4185
|
+
slug: string;
|
|
4186
|
+
locale: LocaleCode;
|
|
4187
|
+
/** The frontmatter, which already carries this article's dates and source language. */
|
|
4188
|
+
meta: ArticleMeta;
|
|
4189
|
+
/** How this view is addressed and whether it is a translation at all. */
|
|
4190
|
+
language: {
|
|
4191
|
+
tag: string;
|
|
4192
|
+
canonical: string;
|
|
4193
|
+
translated: boolean;
|
|
4194
|
+
alternates: Alternate[];
|
|
4195
|
+
};
|
|
4196
|
+
/**
|
|
4197
|
+
* What the page draws. `phone_title` is display, decided at build; see web's
|
|
4198
|
+
* spec/styling/phone.md.
|
|
4199
|
+
*/
|
|
4200
|
+
body: {
|
|
4201
|
+
phone_title: string;
|
|
4202
|
+
toc: TocEntry[];
|
|
4203
|
+
blocks: Block[];
|
|
4204
|
+
summary?: ArticleSummary;
|
|
4205
|
+
};
|
|
4206
|
+
metrics: {
|
|
4207
|
+
words: number;
|
|
4208
|
+
};
|
|
4209
|
+
};
|
|
4210
|
+
/**
|
|
4211
|
+
* One standalone page view, as published. `homepage` is the only one today.
|
|
4212
|
+
*
|
|
4213
|
+
* `meta` is the raw frontmatter rather than an `ArticleMeta`: a page has no `lang`, `created` or
|
|
4214
|
+
* `lastmod`, and typing it as an article's metadata made a required field out of something no
|
|
4215
|
+
* page carries. It carries no locale either, for the reason `readPageEnvelope` gives.
|
|
4216
|
+
*/
|
|
4217
|
+
export type PublishedPage = {
|
|
4218
|
+
version: typeof ARTIFACT_VERSION;
|
|
4219
|
+
slug: string;
|
|
4220
|
+
meta: PageView['meta'];
|
|
4221
|
+
blocks: PageBlock[];
|
|
4222
|
+
};
|
|
4223
|
+
//#endregion
|
|
4224
|
+
export { type Alternate, type ApiError, type ApiResponse, type ApiSuccess, type Article, ArticleLayer, ArticleLayerSchema, type ArticleMeta, type ArticleNote, type ArticleReference, type ArticleSummary, type ArticleView, ArticlesRequestSchema, BatchAnswer, BatchAnswerOf, BatchRequest, BatchRequestSchema, BatchType, BatchedArticle, type Block, CANONICAL_PATTERN, CancelAnswer, CancelAnswerSchema, type CaptionKind, type CardAlign, type CargoView, ClipLayer, ClipLayerSchema, type Compiled, type CompiledPage, type CrateDep, type CrateRecord, DocumentLayer, DocumentLayerSchema, FeedBases, FrameLayer, FrameLayerSchema, HASH_PATTERN, ICON_EXTENSION, IconLayer, IconLayerSchema, ImageLayer, ImageLayerSchema, ImageVariant, ImageVariantSchema, type InlineSegment, LAYERS, LayerName, LayerOf, LikeAnswer, LikeAnswerSchema, LikedAnswer, LikedAnswerSchema, MarkLayer, MarkLayerSchema, MediaLayer, MediaLayerSchema, NewsletterAnswer, NewsletterAnswerSchema, NoticeLayer, NoticeLayerSchema, type Page, type PageBlock, type PageView, ParsedResource, PhotoLayer, PhotoLayerSchema, Picture, type QuadrantDirection, type QuadrantItem, type QuadrantPosition, RESOURCES_PER_QUESTION, RESOURCE_PATTERN, RESOURCE_VERSION, ReadAnswer, ReadAnswerSchema, ReadsAnswer, ReadsAnswerSchema, ReadsRequestSchema, type RepoRecord, Resource, ResourceId, ResourceSchema, ResourcesRequestSchema, SCALABLE_MIMES, ScreenshotLayer, ScreenshotLayerSchema, StatsAnswer, StatsAnswerSchema, TONES, type TocEntry, type TokeiView, Tone, type TweetRecord, VARIANT_EXTENSION, VideoLayer, VideoLayerSchema, type VideoRung, type VideoTrack, aspect, best, blockFeedHtml, enough, escapeHtml, expandCanonical, feedHtml, height, isLayerName, isResourceId, namedResources, objectUrl, parseResource, parseType, pictured, requireSegment, resolution, resourceQuestions, rungs, scalable, toned, unwrap, unwrapAs, width };
|