@krak-stack/registry 0.1.18 → 0.1.20

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.
Files changed (54) hide show
  1. package/README.md +5 -0
  2. package/dist/components/ui/code-block.d.ts +1 -3
  3. package/dist/components/ui/code-block.js +32 -60
  4. package/dist/components/ui/data-table.d.ts +202 -273
  5. package/dist/components/ui/data-table.js +1810 -2115
  6. package/dist/components/ui/effect-form.js +169 -170
  7. package/dist/components/ui/form.js +112 -113
  8. package/dist/components/ui/icon-input.js +40 -43
  9. package/dist/components/ui/menubar.d.ts +29 -0
  10. package/dist/components/ui/pagination.js +2 -2
  11. package/dist/components/ui/sidebar-layout.js +67 -72
  12. package/dist/components/ui/theme-switcher.js +3 -3
  13. package/dist/components/ui/virtualized-combobox.js +31 -34
  14. package/dist/lib/{docs-core.d.ts → docs.d.ts} +135 -144
  15. package/dist/lib/{docs-core.js → docs.js} +597 -440
  16. package/dist/lib/documentation-toolkit.d.ts +19 -1
  17. package/dist/lib/documentation-toolkit.js +164 -66
  18. package/dist/lib/httpapi-cli.d.ts +5 -4
  19. package/dist/lib/httpapi-cli.js +256 -34
  20. package/dist/lib/httpapi-client.js +3 -3
  21. package/dist/lib/httpapi-helpers.d.ts +8 -6
  22. package/dist/lib/httpapi-helpers.js +12 -12
  23. package/dist/lib/httpapi-mcp.js +3 -3
  24. package/dist/lib/httpapi-toolkit.js +3 -3
  25. package/dist/lib/markdown/content.d.ts +13 -0
  26. package/dist/lib/markdown/server.d.ts +19 -0
  27. package/dist/lib/query.js +6 -6
  28. package/dist/lib/seo.js +2 -2
  29. package/dist/lib/webfetch-toolkit.js +6 -6
  30. package/dist/services/agent/client/atom.d.ts +7 -0
  31. package/dist/services/agent/client/index.js +481 -304
  32. package/dist/services/agent/index.d.ts +16 -0
  33. package/dist/services/agent/index.js +102 -1
  34. package/dist/services/agent/schema.d.ts +28 -0
  35. package/dist/services/agent/schema.js +15 -4
  36. package/dist/services/file-extraction/index.js +4 -4
  37. package/dist/services/file-extraction/schema.js +2 -2
  38. package/dist/services/health/api.builder.d.ts +66 -0
  39. package/dist/services/health/api.group.d.ts +58 -0
  40. package/dist/services/health/index.d.ts +253 -0
  41. package/dist/services/health/index.js +186 -0
  42. package/dist/services/health/schema.d.ts +50 -0
  43. package/dist/services/notification/channels/ses/index.js +2 -2
  44. package/dist/services/notification/channels/ses/schema.js +2 -2
  45. package/dist/services/notification/client/index.js +5 -5
  46. package/dist/services/notification/index.js +2 -2
  47. package/dist/services/notification/persistence/drizzle.js +2 -2
  48. package/dist/services/notification/persistence/index.js +15 -15
  49. package/dist/services/notification/persistence/schema.js +12 -12
  50. package/dist/services/notification/public.js +7 -7
  51. package/dist/services/notification/schema.js +2 -2
  52. package/dist/services/s3/index.js +2 -2
  53. package/dist/services/s3/schema.js +2 -2
  54. package/package.json +10 -38
@@ -1,5 +1,10 @@
1
1
  import { Schema } from "effect";
2
- import { type ReactNode } from "react";
2
+ import { type ComponentPropsWithoutRef, type ForwardRefExoticComponent, type RefAttributes, type ReactNode } from "react";
3
+ type DocsIconProps = ComponentPropsWithoutRef<"svg"> & {
4
+ absoluteStrokeWidth?: boolean;
5
+ size?: string | number;
6
+ };
7
+ export type DocsIcon = ForwardRefExoticComponent<DocsIconProps & RefAttributes<SVGSVGElement>>;
3
8
  export type DocsLocale = string;
4
9
  export declare const DocsSection: Schema.String;
5
10
  export type DocsSection = typeof DocsSection.Type;
@@ -18,6 +23,7 @@ export declare const DocsFrontmatter: Schema.Struct<{
18
23
  readonly createdAt: Schema.optional<Schema.String>;
19
24
  readonly updatedAt: Schema.optional<Schema.String>;
20
25
  readonly legacySlugs: Schema.optional<Schema.$Array<Schema.String>>;
26
+ readonly tags: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
21
27
  }>;
22
28
  export declare const DocsHeadingSchema: Schema.Struct<{
23
29
  readonly depth: Schema.Literals<readonly [2, 3]>;
@@ -25,6 +31,10 @@ export declare const DocsHeadingSchema: Schema.Struct<{
25
31
  readonly title: Schema.String;
26
32
  }>;
27
33
  export type DocsHeading = typeof DocsHeadingSchema.Type;
34
+ export declare const DocsCodeBlockSchema: Schema.Struct<{
35
+ readonly code: Schema.String;
36
+ readonly language: Schema.String;
37
+ }>;
28
38
  export declare const DocsPageSchema: Schema.Struct<{
29
39
  readonly slug: Schema.String;
30
40
  readonly path: Schema.String;
@@ -38,11 +48,17 @@ export declare const DocsPageSchema: Schema.Struct<{
38
48
  readonly createdAt: Schema.optional<Schema.String>;
39
49
  readonly updatedAt: Schema.optional<Schema.String>;
40
50
  readonly legacySlugs: Schema.optional<Schema.$Array<Schema.String>>;
51
+ readonly tags: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
52
+ readonly codeBlocks: Schema.$Array<Schema.Struct<{
53
+ readonly code: Schema.String;
54
+ readonly language: Schema.String;
55
+ }>>;
41
56
  readonly headings: Schema.$Array<Schema.Struct<{
42
57
  readonly depth: Schema.Literals<readonly [2, 3]>;
43
58
  readonly id: Schema.String;
44
59
  readonly title: Schema.String;
45
60
  }>>;
61
+ readonly html: Schema.String;
46
62
  readonly searchText: Schema.String;
47
63
  readonly sourceFile: Schema.String;
48
64
  readonly source: Schema.String;
@@ -57,9 +73,6 @@ type DocsSourceOptions = {
57
73
  export type DocsSourceConfig = DocsSourceOptions & {
58
74
  pages: ReadonlyArray<unknown>;
59
75
  };
60
- export type MdxDocsSourceConfig = DocsSourceOptions & {
61
- files: Readonly<Record<string, string>>;
62
- };
63
76
  export declare const createDocsSource: (config: DocsSourceConfig) => {
64
77
  locales: readonly string[];
65
78
  pages: readonly {
@@ -75,11 +88,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
75
88
  readonly createdAt?: string | undefined;
76
89
  readonly updatedAt?: string | undefined;
77
90
  readonly legacySlugs?: readonly string[] | undefined;
91
+ readonly tags?: readonly string[] | undefined;
92
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
93
+ readonly code: Schema.String;
94
+ readonly language: Schema.String;
95
+ }, "Type">[];
78
96
  readonly headings: readonly Schema.Struct.ReadonlySide<{
79
97
  readonly depth: Schema.Literals<readonly [2, 3]>;
80
98
  readonly id: Schema.String;
81
99
  readonly title: Schema.String;
82
100
  }, "Type">[];
101
+ readonly html: string;
83
102
  readonly searchText: string;
84
103
  readonly sourceFile: string;
85
104
  readonly source: string;
@@ -97,11 +116,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
97
116
  readonly createdAt?: string | undefined;
98
117
  readonly updatedAt?: string | undefined;
99
118
  readonly legacySlugs?: readonly string[] | undefined;
119
+ readonly tags?: readonly string[] | undefined;
120
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
121
+ readonly code: Schema.String;
122
+ readonly language: Schema.String;
123
+ }, "Type">[];
100
124
  readonly headings: readonly Schema.Struct.ReadonlySide<{
101
125
  readonly depth: Schema.Literals<readonly [2, 3]>;
102
126
  readonly id: Schema.String;
103
127
  readonly title: Schema.String;
104
128
  }, "Type">[];
129
+ readonly html: string;
105
130
  readonly searchText: string;
106
131
  readonly sourceFile: string;
107
132
  readonly source: string;
@@ -120,11 +145,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
120
145
  readonly createdAt?: string | undefined;
121
146
  readonly updatedAt?: string | undefined;
122
147
  readonly legacySlugs?: readonly string[] | undefined;
148
+ readonly tags?: readonly string[] | undefined;
149
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
150
+ readonly code: Schema.String;
151
+ readonly language: Schema.String;
152
+ }, "Type">[];
123
153
  readonly headings: readonly Schema.Struct.ReadonlySide<{
124
154
  readonly depth: Schema.Literals<readonly [2, 3]>;
125
155
  readonly id: Schema.String;
126
156
  readonly title: Schema.String;
127
157
  }, "Type">[];
158
+ readonly html: string;
128
159
  readonly searchText: string;
129
160
  readonly sourceFile: string;
130
161
  readonly source: string;
@@ -142,11 +173,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
142
173
  readonly createdAt?: string | undefined;
143
174
  readonly updatedAt?: string | undefined;
144
175
  readonly legacySlugs?: readonly string[] | undefined;
176
+ readonly tags?: readonly string[] | undefined;
177
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
178
+ readonly code: Schema.String;
179
+ readonly language: Schema.String;
180
+ }, "Type">[];
145
181
  readonly headings: readonly Schema.Struct.ReadonlySide<{
146
182
  readonly depth: Schema.Literals<readonly [2, 3]>;
147
183
  readonly id: Schema.String;
148
184
  readonly title: Schema.String;
149
185
  }, "Type">[];
186
+ readonly html: string;
150
187
  readonly searchText: string;
151
188
  readonly sourceFile: string;
152
189
  readonly source: string;
@@ -165,11 +202,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
165
202
  readonly createdAt?: string | undefined;
166
203
  readonly updatedAt?: string | undefined;
167
204
  readonly legacySlugs?: readonly string[] | undefined;
205
+ readonly tags?: readonly string[] | undefined;
206
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
207
+ readonly code: Schema.String;
208
+ readonly language: Schema.String;
209
+ }, "Type">[];
168
210
  readonly headings: readonly Schema.Struct.ReadonlySide<{
169
211
  readonly depth: Schema.Literals<readonly [2, 3]>;
170
212
  readonly id: Schema.String;
171
213
  readonly title: Schema.String;
172
214
  }, "Type">[];
215
+ readonly html: string;
173
216
  readonly searchText: string;
174
217
  readonly sourceFile: string;
175
218
  readonly source: string;
@@ -187,11 +230,17 @@ export declare const createDocsSource: (config: DocsSourceConfig) => {
187
230
  readonly createdAt?: string | undefined;
188
231
  readonly updatedAt?: string | undefined;
189
232
  readonly legacySlugs?: readonly string[] | undefined;
233
+ readonly tags?: readonly string[] | undefined;
234
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
235
+ readonly code: Schema.String;
236
+ readonly language: Schema.String;
237
+ }, "Type">[];
190
238
  readonly headings: readonly Schema.Struct.ReadonlySide<{
191
239
  readonly depth: Schema.Literals<readonly [2, 3]>;
192
240
  readonly id: Schema.String;
193
241
  readonly title: Schema.String;
194
242
  }, "Type">[];
243
+ readonly html: string;
195
244
  readonly searchText: string;
196
245
  readonly sourceFile: string;
197
246
  readonly source: string;
@@ -202,143 +251,6 @@ export type DocsSearchResult = {
202
251
  page: DocsPage;
203
252
  heading?: DocsHeading;
204
253
  };
205
- export declare const createMdxDocsSource: (config: MdxDocsSourceConfig) => {
206
- locales: readonly string[];
207
- pages: readonly {
208
- readonly slug: string;
209
- readonly path: string;
210
- readonly title: string;
211
- readonly description: string;
212
- readonly icon?: string | undefined;
213
- readonly order: number;
214
- readonly locale: string;
215
- readonly section: string;
216
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
217
- readonly createdAt?: string | undefined;
218
- readonly updatedAt?: string | undefined;
219
- readonly legacySlugs?: readonly string[] | undefined;
220
- readonly headings: readonly Schema.Struct.ReadonlySide<{
221
- readonly depth: Schema.Literals<readonly [2, 3]>;
222
- readonly id: Schema.String;
223
- readonly title: Schema.String;
224
- }, "Type">[];
225
- readonly searchText: string;
226
- readonly sourceFile: string;
227
- readonly source: string;
228
- }[];
229
- getPage: (slug: string, locale: DocsLocale) => {
230
- readonly slug: string;
231
- readonly path: string;
232
- readonly title: string;
233
- readonly description: string;
234
- readonly icon?: string | undefined;
235
- readonly order: number;
236
- readonly locale: string;
237
- readonly section: string;
238
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
239
- readonly createdAt?: string | undefined;
240
- readonly updatedAt?: string | undefined;
241
- readonly legacySlugs?: readonly string[] | undefined;
242
- readonly headings: readonly Schema.Struct.ReadonlySide<{
243
- readonly depth: Schema.Literals<readonly [2, 3]>;
244
- readonly id: Schema.String;
245
- readonly title: Schema.String;
246
- }, "Type">[];
247
- readonly searchText: string;
248
- readonly sourceFile: string;
249
- readonly source: string;
250
- } | undefined;
251
- getPageNeighbors: (slug: string, locale: DocsLocale) => {
252
- previous: {
253
- readonly slug: string;
254
- readonly path: string;
255
- readonly title: string;
256
- readonly description: string;
257
- readonly icon?: string | undefined;
258
- readonly order: number;
259
- readonly locale: string;
260
- readonly section: string;
261
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
262
- readonly createdAt?: string | undefined;
263
- readonly updatedAt?: string | undefined;
264
- readonly legacySlugs?: readonly string[] | undefined;
265
- readonly headings: readonly Schema.Struct.ReadonlySide<{
266
- readonly depth: Schema.Literals<readonly [2, 3]>;
267
- readonly id: Schema.String;
268
- readonly title: Schema.String;
269
- }, "Type">[];
270
- readonly searchText: string;
271
- readonly sourceFile: string;
272
- readonly source: string;
273
- } | undefined;
274
- next: {
275
- readonly slug: string;
276
- readonly path: string;
277
- readonly title: string;
278
- readonly description: string;
279
- readonly icon?: string | undefined;
280
- readonly order: number;
281
- readonly locale: string;
282
- readonly section: string;
283
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
284
- readonly createdAt?: string | undefined;
285
- readonly updatedAt?: string | undefined;
286
- readonly legacySlugs?: readonly string[] | undefined;
287
- readonly headings: readonly Schema.Struct.ReadonlySide<{
288
- readonly depth: Schema.Literals<readonly [2, 3]>;
289
- readonly id: Schema.String;
290
- readonly title: Schema.String;
291
- }, "Type">[];
292
- readonly searchText: string;
293
- readonly sourceFile: string;
294
- readonly source: string;
295
- } | undefined;
296
- };
297
- getPages: (locale: DocsLocale) => {
298
- readonly slug: string;
299
- readonly path: string;
300
- readonly title: string;
301
- readonly description: string;
302
- readonly icon?: string | undefined;
303
- readonly order: number;
304
- readonly locale: string;
305
- readonly section: string;
306
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
307
- readonly createdAt?: string | undefined;
308
- readonly updatedAt?: string | undefined;
309
- readonly legacySlugs?: readonly string[] | undefined;
310
- readonly headings: readonly Schema.Struct.ReadonlySide<{
311
- readonly depth: Schema.Literals<readonly [2, 3]>;
312
- readonly id: Schema.String;
313
- readonly title: Schema.String;
314
- }, "Type">[];
315
- readonly searchText: string;
316
- readonly sourceFile: string;
317
- readonly source: string;
318
- }[];
319
- resolvePage: (slug: string, locale: DocsLocale) => {
320
- readonly slug: string;
321
- readonly path: string;
322
- readonly title: string;
323
- readonly description: string;
324
- readonly icon?: string | undefined;
325
- readonly order: number;
326
- readonly locale: string;
327
- readonly section: string;
328
- readonly type: "concept" | "how-to" | "reference" | "runbook" | "tutorial";
329
- readonly createdAt?: string | undefined;
330
- readonly updatedAt?: string | undefined;
331
- readonly legacySlugs?: readonly string[] | undefined;
332
- readonly headings: readonly Schema.Struct.ReadonlySide<{
333
- readonly depth: Schema.Literals<readonly [2, 3]>;
334
- readonly id: Schema.String;
335
- readonly title: Schema.String;
336
- }, "Type">[];
337
- readonly searchText: string;
338
- readonly sourceFile: string;
339
- readonly source: string;
340
- } | undefined;
341
- };
342
254
  export type DocsConfig = {
343
255
  source: DocsSource;
344
256
  basePath: `/${string}`;
@@ -347,18 +259,25 @@ export type DocsConfig = {
347
259
  siteName: string;
348
260
  defaultLocale?: DocsLocale;
349
261
  messages?: (locale: DocsLocale) => DocsMessageOverrides;
262
+ icons?: Readonly<Record<string, DocsIcon>>;
263
+ navigate?: (href: string) => void;
350
264
  brand?: {
351
265
  label: string;
352
266
  subtitle: () => string;
353
- icon: string;
267
+ icon: DocsIcon;
354
268
  href: string;
355
269
  };
356
270
  resources?: {
357
271
  label: () => string;
358
272
  items: ReadonlyArray<DocsResource>;
359
273
  };
274
+ sidebarGroups?: ReadonlyArray<{
275
+ label: () => string;
276
+ items: ReadonlyArray<DocsResource>;
277
+ }>;
360
278
  githubLabel?: string;
361
279
  sectionOrder?: ReadonlyArray<DocsSection>;
280
+ navigation?: (page: DocsPage) => boolean;
362
281
  github?: {
363
282
  url: `https://${string}`;
364
283
  branch?: string;
@@ -370,13 +289,15 @@ export declare const makeDocs: (config: DocsConfig) => {
370
289
  brand: {
371
290
  label: string;
372
291
  subtitle: () => string;
373
- icon: string;
292
+ icon: DocsIcon;
374
293
  href: string;
375
294
  };
376
295
  defaultSlug: string;
377
296
  editUrl: (page: DocsPage) => string | undefined;
378
297
  githubUrl: string | undefined;
379
298
  githubLabel: string;
299
+ icons: Readonly<Record<string, DocsIcon>>;
300
+ navigate: (href: string) => void;
380
301
  getHead: ({ locale, page, }: {
381
302
  locale: DocsLocale;
382
303
  page?: DocsPage;
@@ -416,6 +337,10 @@ export declare const makeDocs: (config: DocsConfig) => {
416
337
  label: () => string;
417
338
  items: ReadonlyArray<DocsResource>;
418
339
  } | undefined;
340
+ sidebarGroups: readonly {
341
+ label: () => string;
342
+ items: ReadonlyArray<DocsResource>;
343
+ }[] | undefined;
419
344
  source: {
420
345
  locales: readonly string[];
421
346
  pages: readonly {
@@ -431,11 +356,17 @@ export declare const makeDocs: (config: DocsConfig) => {
431
356
  readonly createdAt?: string | undefined;
432
357
  readonly updatedAt?: string | undefined;
433
358
  readonly legacySlugs?: readonly string[] | undefined;
359
+ readonly tags?: readonly string[] | undefined;
360
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
361
+ readonly code: Schema.String;
362
+ readonly language: Schema.String;
363
+ }, "Type">[];
434
364
  readonly headings: readonly Schema.Struct.ReadonlySide<{
435
365
  readonly depth: Schema.Literals<readonly [2, 3]>;
436
366
  readonly id: Schema.String;
437
367
  readonly title: Schema.String;
438
368
  }, "Type">[];
369
+ readonly html: string;
439
370
  readonly searchText: string;
440
371
  readonly sourceFile: string;
441
372
  readonly source: string;
@@ -453,11 +384,17 @@ export declare const makeDocs: (config: DocsConfig) => {
453
384
  readonly createdAt?: string | undefined;
454
385
  readonly updatedAt?: string | undefined;
455
386
  readonly legacySlugs?: readonly string[] | undefined;
387
+ readonly tags?: readonly string[] | undefined;
388
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
389
+ readonly code: Schema.String;
390
+ readonly language: Schema.String;
391
+ }, "Type">[];
456
392
  readonly headings: readonly Schema.Struct.ReadonlySide<{
457
393
  readonly depth: Schema.Literals<readonly [2, 3]>;
458
394
  readonly id: Schema.String;
459
395
  readonly title: Schema.String;
460
396
  }, "Type">[];
397
+ readonly html: string;
461
398
  readonly searchText: string;
462
399
  readonly sourceFile: string;
463
400
  readonly source: string;
@@ -476,11 +413,17 @@ export declare const makeDocs: (config: DocsConfig) => {
476
413
  readonly createdAt?: string | undefined;
477
414
  readonly updatedAt?: string | undefined;
478
415
  readonly legacySlugs?: readonly string[] | undefined;
416
+ readonly tags?: readonly string[] | undefined;
417
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
418
+ readonly code: Schema.String;
419
+ readonly language: Schema.String;
420
+ }, "Type">[];
479
421
  readonly headings: readonly Schema.Struct.ReadonlySide<{
480
422
  readonly depth: Schema.Literals<readonly [2, 3]>;
481
423
  readonly id: Schema.String;
482
424
  readonly title: Schema.String;
483
425
  }, "Type">[];
426
+ readonly html: string;
484
427
  readonly searchText: string;
485
428
  readonly sourceFile: string;
486
429
  readonly source: string;
@@ -498,11 +441,17 @@ export declare const makeDocs: (config: DocsConfig) => {
498
441
  readonly createdAt?: string | undefined;
499
442
  readonly updatedAt?: string | undefined;
500
443
  readonly legacySlugs?: readonly string[] | undefined;
444
+ readonly tags?: readonly string[] | undefined;
445
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
446
+ readonly code: Schema.String;
447
+ readonly language: Schema.String;
448
+ }, "Type">[];
501
449
  readonly headings: readonly Schema.Struct.ReadonlySide<{
502
450
  readonly depth: Schema.Literals<readonly [2, 3]>;
503
451
  readonly id: Schema.String;
504
452
  readonly title: Schema.String;
505
453
  }, "Type">[];
454
+ readonly html: string;
506
455
  readonly searchText: string;
507
456
  readonly sourceFile: string;
508
457
  readonly source: string;
@@ -521,11 +470,17 @@ export declare const makeDocs: (config: DocsConfig) => {
521
470
  readonly createdAt?: string | undefined;
522
471
  readonly updatedAt?: string | undefined;
523
472
  readonly legacySlugs?: readonly string[] | undefined;
473
+ readonly tags?: readonly string[] | undefined;
474
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
475
+ readonly code: Schema.String;
476
+ readonly language: Schema.String;
477
+ }, "Type">[];
524
478
  readonly headings: readonly Schema.Struct.ReadonlySide<{
525
479
  readonly depth: Schema.Literals<readonly [2, 3]>;
526
480
  readonly id: Schema.String;
527
481
  readonly title: Schema.String;
528
482
  }, "Type">[];
483
+ readonly html: string;
529
484
  readonly searchText: string;
530
485
  readonly sourceFile: string;
531
486
  readonly source: string;
@@ -543,11 +498,17 @@ export declare const makeDocs: (config: DocsConfig) => {
543
498
  readonly createdAt?: string | undefined;
544
499
  readonly updatedAt?: string | undefined;
545
500
  readonly legacySlugs?: readonly string[] | undefined;
501
+ readonly tags?: readonly string[] | undefined;
502
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
503
+ readonly code: Schema.String;
504
+ readonly language: Schema.String;
505
+ }, "Type">[];
546
506
  readonly headings: readonly Schema.Struct.ReadonlySide<{
547
507
  readonly depth: Schema.Literals<readonly [2, 3]>;
548
508
  readonly id: Schema.String;
549
509
  readonly title: Schema.String;
550
510
  }, "Type">[];
511
+ readonly html: string;
551
512
  readonly searchText: string;
552
513
  readonly sourceFile: string;
553
514
  readonly source: string;
@@ -566,11 +527,17 @@ export declare const makeDocs: (config: DocsConfig) => {
566
527
  readonly createdAt?: string | undefined;
567
528
  readonly updatedAt?: string | undefined;
568
529
  readonly legacySlugs?: readonly string[] | undefined;
530
+ readonly tags?: readonly string[] | undefined;
531
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
532
+ readonly code: Schema.String;
533
+ readonly language: Schema.String;
534
+ }, "Type">[];
569
535
  readonly headings: readonly Schema.Struct.ReadonlySide<{
570
536
  readonly depth: Schema.Literals<readonly [2, 3]>;
571
537
  readonly id: Schema.String;
572
538
  readonly title: Schema.String;
573
539
  }, "Type">[];
540
+ readonly html: string;
574
541
  readonly searchText: string;
575
542
  readonly sourceFile: string;
576
543
  readonly source: string;
@@ -589,11 +556,17 @@ export declare const makeDocs: (config: DocsConfig) => {
589
556
  readonly createdAt?: string | undefined;
590
557
  readonly updatedAt?: string | undefined;
591
558
  readonly legacySlugs?: readonly string[] | undefined;
559
+ readonly tags?: readonly string[] | undefined;
560
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
561
+ readonly code: Schema.String;
562
+ readonly language: Schema.String;
563
+ }, "Type">[];
592
564
  readonly headings: readonly Schema.Struct.ReadonlySide<{
593
565
  readonly depth: Schema.Literals<readonly [2, 3]>;
594
566
  readonly id: Schema.String;
595
567
  readonly title: Schema.String;
596
568
  }, "Type">[];
569
+ readonly html: string;
597
570
  readonly searchText: string;
598
571
  readonly sourceFile: string;
599
572
  readonly source: string;
@@ -613,11 +586,17 @@ export declare const makeDocs: (config: DocsConfig) => {
613
586
  readonly createdAt?: string | undefined;
614
587
  readonly updatedAt?: string | undefined;
615
588
  readonly legacySlugs?: readonly string[] | undefined;
589
+ readonly tags?: readonly string[] | undefined;
590
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
591
+ readonly code: Schema.String;
592
+ readonly language: Schema.String;
593
+ }, "Type">[];
616
594
  readonly headings: readonly Schema.Struct.ReadonlySide<{
617
595
  readonly depth: Schema.Literals<readonly [2, 3]>;
618
596
  readonly id: Schema.String;
619
597
  readonly title: Schema.String;
620
598
  }, "Type">[];
599
+ readonly html: string;
621
600
  readonly searchText: string;
622
601
  readonly sourceFile: string;
623
602
  readonly source: string;
@@ -635,11 +614,17 @@ export declare const makeDocs: (config: DocsConfig) => {
635
614
  readonly createdAt?: string | undefined;
636
615
  readonly updatedAt?: string | undefined;
637
616
  readonly legacySlugs?: readonly string[] | undefined;
617
+ readonly tags?: readonly string[] | undefined;
618
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
619
+ readonly code: Schema.String;
620
+ readonly language: Schema.String;
621
+ }, "Type">[];
638
622
  readonly headings: readonly Schema.Struct.ReadonlySide<{
639
623
  readonly depth: Schema.Literals<readonly [2, 3]>;
640
624
  readonly id: Schema.String;
641
625
  readonly title: Schema.String;
642
626
  }, "Type">[];
627
+ readonly html: string;
643
628
  readonly searchText: string;
644
629
  readonly sourceFile: string;
645
630
  readonly source: string;
@@ -664,11 +649,17 @@ export declare const makeDocs: (config: DocsConfig) => {
664
649
  readonly createdAt?: string | undefined;
665
650
  readonly updatedAt?: string | undefined;
666
651
  readonly legacySlugs?: readonly string[] | undefined;
652
+ readonly tags?: readonly string[] | undefined;
653
+ readonly codeBlocks: readonly Schema.Struct.ReadonlySide<{
654
+ readonly code: Schema.String;
655
+ readonly language: Schema.String;
656
+ }, "Type">[];
667
657
  readonly headings: readonly Schema.Struct.ReadonlySide<{
668
658
  readonly depth: Schema.Literals<readonly [2, 3]>;
669
659
  readonly id: Schema.String;
670
660
  readonly title: Schema.String;
671
661
  }, "Type">[];
662
+ readonly html: string;
672
663
  readonly searchText: string;
673
664
  readonly sourceFile: string;
674
665
  readonly source: string;
@@ -708,9 +699,9 @@ export type DocsRouteMessages = {
708
699
  export type DocsMessageOverrides = Partial<DocsRouteMessages>;
709
700
  export declare const getDocsMessages: (locale: DocsLocale, overrides?: DocsMessageOverrides) => DocsRouteMessages;
710
701
  export type DocsResource = {
702
+ badge?: () => string;
711
703
  label: () => string;
712
704
  href: string;
713
- icon: string;
714
705
  external?: boolean;
715
706
  };
716
707
  export type DocsResolution = NonNullable<ReturnType<DocsCatalog["resolve"]>>;