@krantho/config 0.0.0-stage → 1.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.
Files changed (87) hide show
  1. package/LICENSE +21 -0
  2. package/dist/defaults.d.ts +15 -0
  3. package/dist/defaults.d.ts.map +1 -0
  4. package/dist/defaults.js +148 -0
  5. package/dist/defaults.js.map +1 -0
  6. package/dist/define.d.ts +11 -0
  7. package/dist/define.d.ts.map +1 -0
  8. package/dist/define.js +12 -0
  9. package/dist/define.js.map +1 -0
  10. package/dist/derive.d.ts +12 -0
  11. package/dist/derive.d.ts.map +1 -0
  12. package/dist/derive.js +90 -0
  13. package/dist/derive.js.map +1 -0
  14. package/dist/env.d.ts +19 -0
  15. package/dist/env.d.ts.map +1 -0
  16. package/dist/env.js +89 -0
  17. package/dist/env.js.map +1 -0
  18. package/dist/errors.d.ts +6 -0
  19. package/dist/errors.d.ts.map +1 -0
  20. package/dist/errors.js +11 -0
  21. package/dist/errors.js.map +1 -0
  22. package/dist/index.d.ts +17 -0
  23. package/dist/index.d.ts.map +1 -0
  24. package/dist/index.js +12 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/leaves.d.ts +34 -0
  27. package/dist/leaves.d.ts.map +1 -0
  28. package/dist/leaves.js +724 -0
  29. package/dist/leaves.js.map +1 -0
  30. package/dist/llm-providers.d.ts +25 -0
  31. package/dist/llm-providers.d.ts.map +1 -0
  32. package/dist/llm-providers.js +41 -0
  33. package/dist/llm-providers.js.map +1 -0
  34. package/dist/node/index.d.ts +9 -0
  35. package/dist/node/index.d.ts.map +1 -0
  36. package/dist/node/index.js +4 -0
  37. package/dist/node/index.js.map +1 -0
  38. package/dist/node/load.d.ts +20 -0
  39. package/dist/node/load.d.ts.map +1 -0
  40. package/dist/node/load.js +48 -0
  41. package/dist/node/load.js.map +1 -0
  42. package/dist/node/route-slug.d.ts +9 -0
  43. package/dist/node/route-slug.d.ts.map +1 -0
  44. package/dist/node/route-slug.js +23 -0
  45. package/dist/node/route-slug.js.map +1 -0
  46. package/dist/node/seo-definitions.d.ts +8 -0
  47. package/dist/node/seo-definitions.d.ts.map +1 -0
  48. package/dist/node/seo-definitions.js +124 -0
  49. package/dist/node/seo-definitions.js.map +1 -0
  50. package/dist/object-path.d.ts +17 -0
  51. package/dist/object-path.d.ts.map +1 -0
  52. package/dist/object-path.js +75 -0
  53. package/dist/object-path.js.map +1 -0
  54. package/dist/production.d.ts +9 -0
  55. package/dist/production.d.ts.map +1 -0
  56. package/dist/production.js +22 -0
  57. package/dist/production.js.map +1 -0
  58. package/dist/public.d.ts +61 -0
  59. package/dist/public.d.ts.map +1 -0
  60. package/dist/public.js +65 -0
  61. package/dist/public.js.map +1 -0
  62. package/dist/reference.d.ts +8 -0
  63. package/dist/reference.d.ts.map +1 -0
  64. package/dist/reference.js +117 -0
  65. package/dist/reference.js.map +1 -0
  66. package/dist/resolve.d.ts +27 -0
  67. package/dist/resolve.d.ts.map +1 -0
  68. package/dist/resolve.js +87 -0
  69. package/dist/resolve.js.map +1 -0
  70. package/dist/schema.d.ts +437 -0
  71. package/dist/schema.d.ts.map +1 -0
  72. package/dist/schema.js +420 -0
  73. package/dist/schema.js.map +1 -0
  74. package/dist/sources.d.ts +10 -0
  75. package/dist/sources.d.ts.map +1 -0
  76. package/dist/sources.js +17 -0
  77. package/dist/sources.js.map +1 -0
  78. package/dist/types.d.ts +413 -0
  79. package/dist/types.d.ts.map +1 -0
  80. package/dist/types.js +10 -0
  81. package/dist/types.js.map +1 -0
  82. package/dist/webhook-events.d.ts +3 -0
  83. package/dist/webhook-events.d.ts.map +1 -0
  84. package/dist/webhook-events.js +3 -0
  85. package/dist/webhook-events.js.map +1 -0
  86. package/package.json +47 -3
  87. package/README.md +0 -3
@@ -0,0 +1,437 @@
1
+ import { z } from 'zod';
2
+ export declare const seoScopeSchema: z.ZodObject<{
3
+ entities: z.ZodArray<z.ZodObject<{
4
+ '@type': z.ZodString;
5
+ '@id': z.ZodOptional<z.ZodString>;
6
+ role: z.ZodOptional<z.ZodString>;
7
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ }, z.core.$strict>>;
9
+ fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10
+ structure: z.ZodOptional<z.ZodObject<{
11
+ trail: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
+ name: z.ZodString;
13
+ url: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strict>>>;
15
+ kind: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strict>>;
17
+ }, z.core.$strict>;
18
+ declare const persistenceSchema: z.ZodObject<{
19
+ provider: z.ZodEnum<{
20
+ sqlite: "sqlite";
21
+ postgres: "postgres";
22
+ filesystem: "filesystem";
23
+ }>;
24
+ sqlite: z.ZodObject<{
25
+ path: z.ZodString;
26
+ busyTimeoutMs: z.ZodInt;
27
+ walRetries: z.ZodInt;
28
+ walRetryDelayMs: z.ZodInt;
29
+ }, z.core.$strict>;
30
+ postgres: z.ZodObject<{
31
+ url: z.ZodOptional<z.ZodString>;
32
+ maxConnections: z.ZodOptional<z.ZodInt>;
33
+ prepare: z.ZodOptional<z.ZodBoolean>;
34
+ idleTimeoutSec: z.ZodOptional<z.ZodInt>;
35
+ }, z.core.$strict>;
36
+ filesystem: z.ZodObject<{
37
+ contentPath: z.ZodString;
38
+ }, z.core.$strict>;
39
+ }, z.core.$strict>;
40
+ /** The slice of the tree a process that only opens the database needs */
41
+ export declare const persistenceTreeSchema: z.ZodObject<{
42
+ paths: z.ZodObject<{
43
+ dataDir: z.ZodString;
44
+ contentDir: z.ZodString;
45
+ seoGeneratedDir: z.ZodString;
46
+ }, z.core.$strict>;
47
+ persistence: z.ZodObject<{
48
+ provider: z.ZodEnum<{
49
+ sqlite: "sqlite";
50
+ postgres: "postgres";
51
+ filesystem: "filesystem";
52
+ }>;
53
+ sqlite: z.ZodObject<{
54
+ path: z.ZodString;
55
+ busyTimeoutMs: z.ZodInt;
56
+ walRetries: z.ZodInt;
57
+ walRetryDelayMs: z.ZodInt;
58
+ }, z.core.$strict>;
59
+ postgres: z.ZodObject<{
60
+ url: z.ZodOptional<z.ZodString>;
61
+ maxConnections: z.ZodOptional<z.ZodInt>;
62
+ prepare: z.ZodOptional<z.ZodBoolean>;
63
+ idleTimeoutSec: z.ZodOptional<z.ZodInt>;
64
+ }, z.core.$strict>;
65
+ filesystem: z.ZodObject<{
66
+ contentPath: z.ZodString;
67
+ }, z.core.$strict>;
68
+ }, z.core.$strict>;
69
+ }, z.core.$strict>;
70
+ export declare const kranthoConfigSchema: z.ZodObject<{
71
+ site: z.ZodObject<{
72
+ domain: z.ZodString;
73
+ name: z.ZodString;
74
+ language: z.ZodString;
75
+ baseUrl: z.ZodString;
76
+ supportedLocales: z.ZodArray<z.ZodString>;
77
+ defaultLocale: z.ZodString;
78
+ logo: z.ZodOptional<z.ZodString>;
79
+ description: z.ZodOptional<z.ZodString>;
80
+ alternateName: z.ZodOptional<z.ZodString>;
81
+ sameAs: z.ZodArray<z.ZodString>;
82
+ }, z.core.$strict>;
83
+ paths: z.ZodObject<{
84
+ dataDir: z.ZodString;
85
+ contentDir: z.ZodString;
86
+ seoGeneratedDir: z.ZodString;
87
+ }, z.core.$strict>;
88
+ persistence: z.ZodObject<{
89
+ provider: z.ZodEnum<{
90
+ sqlite: "sqlite";
91
+ postgres: "postgres";
92
+ filesystem: "filesystem";
93
+ }>;
94
+ sqlite: z.ZodObject<{
95
+ path: z.ZodString;
96
+ busyTimeoutMs: z.ZodInt;
97
+ walRetries: z.ZodInt;
98
+ walRetryDelayMs: z.ZodInt;
99
+ }, z.core.$strict>;
100
+ postgres: z.ZodObject<{
101
+ url: z.ZodOptional<z.ZodString>;
102
+ maxConnections: z.ZodOptional<z.ZodInt>;
103
+ prepare: z.ZodOptional<z.ZodBoolean>;
104
+ idleTimeoutSec: z.ZodOptional<z.ZodInt>;
105
+ }, z.core.$strict>;
106
+ filesystem: z.ZodObject<{
107
+ contentPath: z.ZodString;
108
+ }, z.core.$strict>;
109
+ }, z.core.$strict>;
110
+ content: z.ZodObject<{
111
+ cache: z.ZodObject<{
112
+ enabled: z.ZodBoolean;
113
+ ttlMs: z.ZodInt;
114
+ maxEntries: z.ZodInt;
115
+ }, z.core.$strict>;
116
+ atNotation: z.ZodBoolean;
117
+ watch: z.ZodBoolean;
118
+ defaultStatus: z.ZodObject<{
119
+ filesystem: z.ZodString;
120
+ }, z.core.$strict>;
121
+ list: z.ZodObject<{
122
+ maxLimit: z.ZodOptional<z.ZodInt>;
123
+ }, z.core.$strict>;
124
+ search: z.ZodObject<{
125
+ minQueryLength: z.ZodInt;
126
+ defaultLimit: z.ZodInt;
127
+ maxLimit: z.ZodInt;
128
+ }, z.core.$strict>;
129
+ versions: z.ZodObject<{
130
+ keep: z.ZodInt;
131
+ }, z.core.$strict>;
132
+ lock: z.ZodObject<{
133
+ leaseMs: z.ZodInt;
134
+ }, z.core.$strict>;
135
+ }, z.core.$strict>;
136
+ cache: z.ZodObject<{
137
+ pages: z.ZodEnum<{
138
+ none: "none";
139
+ "next-isr": "next-isr";
140
+ cdn: "cdn";
141
+ }>;
142
+ cdn: z.ZodObject<{
143
+ provider: z.ZodEnum<{
144
+ none: "none";
145
+ vercel: "vercel";
146
+ cloudfront: "cloudfront";
147
+ gcp: "gcp";
148
+ }>;
149
+ sMaxAgeSec: z.ZodInt;
150
+ staleWhileRevalidateSec: z.ZodInt;
151
+ tagHeader: z.ZodString;
152
+ cloudfront: z.ZodObject<{
153
+ distributionId: z.ZodOptional<z.ZodString>;
154
+ }, z.core.$strict>;
155
+ gcp: z.ZodObject<{
156
+ project: z.ZodOptional<z.ZodString>;
157
+ urlMap: z.ZodOptional<z.ZodString>;
158
+ accessToken: z.ZodOptional<z.ZodString>;
159
+ }, z.core.$strict>;
160
+ }, z.core.$strict>;
161
+ shared: z.ZodEnum<{
162
+ none: "none";
163
+ database: "database";
164
+ }>;
165
+ }, z.core.$strict>;
166
+ auth: z.ZodObject<{
167
+ mode: z.ZodEnum<{
168
+ none: "none";
169
+ token: "token";
170
+ oidc: "oidc";
171
+ }>;
172
+ requireAuthForReads: z.ZodBoolean;
173
+ token: z.ZodObject<{
174
+ secret: z.ZodOptional<z.ZodString>;
175
+ email: z.ZodString;
176
+ role: z.ZodString;
177
+ }, z.core.$strict>;
178
+ jwtSecret: z.ZodOptional<z.ZodString>;
179
+ oidc: z.ZodObject<{
180
+ issuer: z.ZodOptional<z.ZodString>;
181
+ clientId: z.ZodOptional<z.ZodString>;
182
+ clientSecret: z.ZodOptional<z.ZodString>;
183
+ redirectUri: z.ZodOptional<z.ZodString>;
184
+ postLogoutUri: z.ZodString;
185
+ scopes: z.ZodArray<z.ZodString>;
186
+ signup: z.ZodEnum<{
187
+ open: "open";
188
+ closed: "closed";
189
+ }>;
190
+ studioEntry: z.ZodEnum<{
191
+ login: "login";
192
+ redirect: "redirect";
193
+ }>;
194
+ adminEmails: z.ZodArray<z.ZodString>;
195
+ newUserRole: z.ZodString;
196
+ }, z.core.$strict>;
197
+ workload: z.ZodObject<{
198
+ issuer: z.ZodOptional<z.ZodString>;
199
+ audience: z.ZodOptional<z.ZodString>;
200
+ subjects: z.ZodArray<z.ZodString>;
201
+ }, z.core.$strict>;
202
+ session: z.ZodObject<{
203
+ accessTtlSec: z.ZodInt;
204
+ refreshTtlSec: z.ZodInt;
205
+ cookiePrefix: z.ZodString;
206
+ secure: z.ZodEnum<{
207
+ auto: "auto";
208
+ always: "always";
209
+ never: "never";
210
+ }>;
211
+ sameSite: z.ZodEnum<{
212
+ none: "none";
213
+ lax: "lax";
214
+ strict: "strict";
215
+ }>;
216
+ }, z.core.$strict>;
217
+ trustProxy: z.ZodBoolean;
218
+ }, z.core.$strict>;
219
+ secrets: z.ZodObject<{
220
+ provider: z.ZodEnum<{
221
+ local: "local";
222
+ }>;
223
+ local: z.ZodObject<{
224
+ key: z.ZodOptional<z.ZodString>;
225
+ }, z.core.$strict>;
226
+ }, z.core.$strict>;
227
+ media: z.ZodObject<{
228
+ provider: z.ZodOptional<z.ZodEnum<{
229
+ local: "local";
230
+ "vercel-blob": "vercel-blob";
231
+ s3: "s3";
232
+ gcs: "gcs";
233
+ }>>;
234
+ local: z.ZodObject<{
235
+ dir: z.ZodString;
236
+ urlPrefix: z.ZodString;
237
+ }, z.core.$strict>;
238
+ vercelBlob: z.ZodObject<{
239
+ token: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strict>;
241
+ s3: z.ZodObject<{
242
+ bucket: z.ZodOptional<z.ZodString>;
243
+ region: z.ZodOptional<z.ZodString>;
244
+ endpoint: z.ZodOptional<z.ZodString>;
245
+ forcePathStyle: z.ZodBoolean;
246
+ publicUrl: z.ZodOptional<z.ZodString>;
247
+ accessKeyId: z.ZodOptional<z.ZodString>;
248
+ secretAccessKey: z.ZodOptional<z.ZodString>;
249
+ }, z.core.$strict>;
250
+ gcs: z.ZodObject<{
251
+ bucket: z.ZodOptional<z.ZodString>;
252
+ publicUrl: z.ZodOptional<z.ZodString>;
253
+ credentials: z.ZodOptional<z.ZodString>;
254
+ }, z.core.$strict>;
255
+ maxFileSize: z.ZodInt;
256
+ allowedMimeTypes: z.ZodArray<z.ZodString>;
257
+ image: z.ZodObject<{
258
+ maxWidth: z.ZodInt;
259
+ quality: z.ZodObject<{
260
+ jpeg: z.ZodInt;
261
+ webp: z.ZodInt;
262
+ avif: z.ZodInt;
263
+ normalize: z.ZodInt;
264
+ }, z.core.$strict>;
265
+ presets: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodInt>>;
266
+ cache: z.ZodObject<{
267
+ maxEntries: z.ZodInt;
268
+ maxMb: z.ZodInt;
269
+ ttiSec: z.ZodInt;
270
+ }, z.core.$strict>;
271
+ }, z.core.$strict>;
272
+ }, z.core.$strict>;
273
+ llm: z.ZodObject<{
274
+ provider: z.ZodString;
275
+ model: z.ZodOptional<z.ZodString>;
276
+ baseUrl: z.ZodOptional<z.ZodString>;
277
+ anthropic: z.ZodObject<{
278
+ apiKey: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strict>;
280
+ openai: z.ZodObject<{
281
+ apiKey: z.ZodOptional<z.ZodString>;
282
+ }, z.core.$strict>;
283
+ gemini: z.ZodObject<{
284
+ apiKey: z.ZodOptional<z.ZodString>;
285
+ }, z.core.$strict>;
286
+ openrouter: z.ZodObject<{
287
+ apiKey: z.ZodOptional<z.ZodString>;
288
+ }, z.core.$strict>;
289
+ claudeCode: z.ZodObject<{
290
+ authToken: z.ZodOptional<z.ZodString>;
291
+ }, z.core.$strict>;
292
+ profiles: z.ZodRecord<z.ZodString, z.ZodObject<{
293
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
294
+ none: "none";
295
+ default: "default";
296
+ minimal: "minimal";
297
+ low: "low";
298
+ medium: "medium";
299
+ high: "high";
300
+ xhigh: "xhigh";
301
+ }>>;
302
+ reasoningHeadroom: z.ZodOptional<z.ZodInt>;
303
+ temperature: z.ZodOptional<z.ZodNumber>;
304
+ }, z.core.$strict>>;
305
+ }, z.core.$strict>;
306
+ assistant: z.ZodObject<{
307
+ enabled: z.ZodBoolean;
308
+ provider: z.ZodOptional<z.ZodEnum<{
309
+ anthropic: "anthropic";
310
+ "claude-code": "claude-code";
311
+ openai: "openai";
312
+ gemini: "gemini";
313
+ openrouter: "openrouter";
314
+ ollama: "ollama";
315
+ }>>;
316
+ model: z.ZodOptional<z.ZodString>;
317
+ role: z.ZodEnum<{
318
+ admin: "admin";
319
+ editor: "editor";
320
+ viewer: "viewer";
321
+ }>;
322
+ confirmTtlSec: z.ZodInt;
323
+ limits: z.ZodObject<{
324
+ maxTurns: z.ZodInt;
325
+ maxToolCalls: z.ZodInt;
326
+ maxTokens: z.ZodInt;
327
+ maxRequestTokens: z.ZodInt;
328
+ maxHistoryMessages: z.ZodInt;
329
+ maxInputChars: z.ZodInt;
330
+ toolResultChars: z.ZodInt;
331
+ }, z.core.$strict>;
332
+ }, z.core.$strict>;
333
+ seo: z.ZodObject<{
334
+ identity: z.ZodOptional<z.ZodString>;
335
+ collections: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
336
+ routes: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
337
+ site: z.ZodOptional<z.ZodObject<{
338
+ entities: z.ZodArray<z.ZodObject<{
339
+ '@type': z.ZodString;
340
+ '@id': z.ZodOptional<z.ZodString>;
341
+ role: z.ZodOptional<z.ZodString>;
342
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
343
+ }, z.core.$strict>>;
344
+ fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
345
+ structure: z.ZodOptional<z.ZodObject<{
346
+ trail: z.ZodOptional<z.ZodArray<z.ZodObject<{
347
+ name: z.ZodString;
348
+ url: z.ZodOptional<z.ZodString>;
349
+ }, z.core.$strict>>>;
350
+ kind: z.ZodOptional<z.ZodString>;
351
+ }, z.core.$strict>>;
352
+ }, z.core.$strict>>;
353
+ richCollections: z.ZodRecord<z.ZodString, z.ZodObject<{
354
+ entities: z.ZodArray<z.ZodObject<{
355
+ '@type': z.ZodString;
356
+ '@id': z.ZodOptional<z.ZodString>;
357
+ role: z.ZodOptional<z.ZodString>;
358
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
359
+ }, z.core.$strict>>;
360
+ fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
361
+ structure: z.ZodOptional<z.ZodObject<{
362
+ trail: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
+ name: z.ZodString;
364
+ url: z.ZodOptional<z.ZodString>;
365
+ }, z.core.$strict>>>;
366
+ kind: z.ZodOptional<z.ZodString>;
367
+ }, z.core.$strict>>;
368
+ }, z.core.$strict>>;
369
+ richRoutes: z.ZodRecord<z.ZodString, z.ZodObject<{
370
+ entities: z.ZodArray<z.ZodObject<{
371
+ '@type': z.ZodString;
372
+ '@id': z.ZodOptional<z.ZodString>;
373
+ role: z.ZodOptional<z.ZodString>;
374
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
375
+ }, z.core.$strict>>;
376
+ fieldMappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
377
+ structure: z.ZodOptional<z.ZodObject<{
378
+ trail: z.ZodOptional<z.ZodArray<z.ZodObject<{
379
+ name: z.ZodString;
380
+ url: z.ZodOptional<z.ZodString>;
381
+ }, z.core.$strict>>>;
382
+ kind: z.ZodOptional<z.ZodString>;
383
+ }, z.core.$strict>>;
384
+ }, z.core.$strict>>;
385
+ seedMode: z.ZodEnum<{
386
+ seed: "seed";
387
+ overwrite: "overwrite";
388
+ }>;
389
+ readers: z.ZodArray<z.ZodString>;
390
+ configDir: z.ZodOptional<z.ZodString>;
391
+ indexNow: z.ZodObject<{
392
+ key: z.ZodOptional<z.ZodString>;
393
+ }, z.core.$strict>;
394
+ enrichment: z.ZodObject<{
395
+ meta: z.ZodObject<{
396
+ minChars: z.ZodInt;
397
+ maxChars: z.ZodInt;
398
+ contentCap: z.ZodInt;
399
+ maxTokens: z.ZodInt;
400
+ }, z.core.$strict>;
401
+ title: z.ZodObject<{
402
+ maxChars: z.ZodInt;
403
+ }, z.core.$strict>;
404
+ archetype: z.ZodObject<{
405
+ contentCap: z.ZodInt;
406
+ maxTokens: z.ZodInt;
407
+ }, z.core.$strict>;
408
+ }, z.core.$strict>;
409
+ }, z.core.$strict>;
410
+ webhooks: z.ZodArray<z.ZodObject<{
411
+ url: z.ZodURL;
412
+ events: z.ZodArray<z.ZodEnum<{
413
+ create: "create";
414
+ update: "update";
415
+ publish: "publish";
416
+ delete: "delete";
417
+ }>>;
418
+ secret: z.ZodOptional<z.ZodString>;
419
+ }, z.core.$strict>>;
420
+ tools: z.ZodObject<{
421
+ concurrency: z.ZodInt;
422
+ enrich: z.ZodObject<{
423
+ serviceCap: z.ZodInt;
424
+ llmsDescriptionCap: z.ZodInt;
425
+ faqMinPerRoute: z.ZodInt;
426
+ skipFields: z.ZodArray<z.ZodString>;
427
+ }, z.core.$strict>;
428
+ }, z.core.$strict>;
429
+ }, z.core.$strict>;
430
+ type PersistenceTree = z.infer<typeof persistenceSchema>;
431
+ /** Rules spanning the persistence leaves */
432
+ export declare function persistenceIssues(persistence: PersistenceTree): string[];
433
+ type ResolvedTree = z.infer<typeof kranthoConfigSchema>;
434
+ /** Rules that span more than one leaf, checked after the shape validates */
435
+ export declare function crossFieldIssues(config: ResolvedTree): string[];
436
+ export {};
437
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4BvB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;kBAIzB,CAAA;AAiBF,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;kBAiBrB,CAAA;AAEF,yEAAyE;AACzE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGhC,CAAA;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoO9B,CAAA;AAEF,KAAK,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAGxD,4CAA4C;AAC5C,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,eAAe,GAAG,MAAM,EAAE,CAKxE;AA2BD,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAsFvD,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,EAAE,CAuD/D"}