@maycombhq/sdk 2.0.0-beta.3 → 2.0.0-beta.30
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/npm/core/ai-decisions.d.ts +373 -0
- package/npm/core/api.d.ts +15888 -3797
- package/npm/core/app-memory.d.ts +69 -0
- package/npm/core/assistant-actor.d.ts +28 -7
- package/npm/core/audit.d.ts +174 -0
- package/npm/core/canary.d.ts +369 -0
- package/npm/core/cancel.d.ts +20 -0
- package/npm/core/catalog.d.ts +220 -66
- package/npm/core/change-types-migrate.d.ts +14 -0
- package/npm/core/cite.d.ts +88 -6
- package/npm/core/contract-check.d.ts +276 -0
- package/npm/core/curated.d.ts +10 -0
- package/npm/core/decision-batches.d.ts +29 -0
- package/npm/core/declarable-routes.d.ts +52 -0
- package/npm/core/declared-links.d.ts +210 -0
- package/npm/core/eol.d.ts +5 -0
- package/npm/core/fact-paths.d.ts +14 -0
- package/npm/core/facts-callers.d.ts +23 -1
- package/npm/core/facts-carry.d.ts +8 -2
- package/npm/core/facts-deps.d.ts +85 -0
- package/npm/core/facts-join-prototype.d.ts +66 -4
- package/npm/core/facts-join-vendor.d.ts +67 -7
- package/npm/core/facts-join.d.ts +476 -2
- package/npm/core/facts-terms.d.ts +108 -0
- package/npm/core/facts.d.ts +155 -1
- package/npm/core/field-places.d.ts +109 -0
- package/npm/core/file-pool.d.ts +84 -0
- package/npm/core/fs.d.ts +205 -7
- package/npm/core/glob-plain.d.ts +34 -0
- package/npm/core/glob.d.ts +14 -0
- package/npm/core/hash-cache.d.ts +53 -0
- package/npm/core/host-questions.d.ts +273 -1
- package/npm/core/identity.d.ts +20 -8
- package/npm/core/index.d.ts +38 -0
- package/npm/core/initialisms.d.ts +62 -0
- package/npm/core/kept-files.d.ts +17 -0
- package/npm/core/light.d.ts +5 -0
- package/npm/core/link-candidates.d.ts +224 -0
- package/npm/core/link-evidence.d.ts +212 -0
- package/npm/core/log.d.ts +2 -0
- package/npm/core/manifest-edit.d.ts +83 -6
- package/npm/core/merge.d.ts +28 -0
- package/npm/core/metarepo.d.ts +26 -1
- package/npm/core/migrate.d.ts +3 -2
- package/npm/core/org-notes.d.ts +180 -0
- package/npm/core/orgpack-defaults.d.ts +30 -6
- package/npm/core/orgpack-load.d.ts +24 -0
- package/npm/core/paths.d.ts +23 -0
- package/npm/core/printer.d.ts +18 -0
- package/npm/core/process-trees.d.ts +109 -0
- package/npm/core/profile-migrate.d.ts +13 -0
- package/npm/core/question-order.d.ts +23 -0
- package/npm/core/question-owners.d.ts +57 -0
- package/npm/core/question-proposals.d.ts +77 -0
- package/npm/core/question-roles.d.ts +84 -0
- package/npm/core/questions.d.ts +123 -6
- package/npm/core/record-cache.d.ts +122 -2
- package/npm/core/repo-files.d.ts +66 -0
- package/npm/core/repo-reads.d.ts +44 -0
- package/npm/core/roles-migrate.d.ts +10 -0
- package/npm/core/run-log.d.ts +341 -0
- package/npm/core/runtime-migrate.d.ts +18 -0
- package/npm/core/schema/ai.d.ts +61 -13
- package/npm/core/schema/common.d.ts +32 -8
- package/npm/core/schema/component-type.d.ts +193 -0
- package/npm/core/schema/conventions.d.ts +80 -0
- package/npm/core/schema/dialect.d.ts +12 -12
- package/npm/core/schema/fact-corrections.d.ts +112 -2
- package/npm/core/schema/facts.d.ts +743 -23
- package/npm/core/schema/frameworks.d.ts +12 -12
- package/npm/core/schema/kinds.d.ts +230 -66
- package/npm/core/schema/orgpack.d.ts +248 -24
- package/npm/core/schema/question.d.ts +281 -5
- package/npm/core/schema/reading-rules.d.ts +51 -0
- package/npm/core/schema/repo-type.d.ts +20 -2
- package/npm/core/schema/review.d.ts +30 -9
- package/npm/core/schema/scan-verify.d.ts +77 -0
- package/npm/core/schema/version.d.ts +4 -1
- package/npm/core/schema/workspace.d.ts +29 -11
- package/npm/core/setup-edit.d.ts +107 -0
- package/npm/core/shared-maps.d.ts +146 -0
- package/npm/core/stack-helpers.d.ts +32 -0
- package/npm/core/version-order.d.ts +14 -0
- package/npm/fs-repo.d.ts +2 -1
- package/npm/index.js +14248 -6710
- package/npm/listing.d.ts +14 -0
- package/npm/sandbox.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const FACT_KINDS: readonly ["entry", "call", "store", "field", "deploy", "config", "framework", "flow"];
|
|
2
|
+
export declare const FACT_KINDS: readonly ["entry", "call", "store", "field", "deploy", "config", "framework", "flow", "term", "component", "artifact", "dependency"];
|
|
3
3
|
export type FactKind = (typeof FACT_KINDS)[number];
|
|
4
4
|
/** A fact's id: any slug the assistant chooses; the projection makes catalog ids from the claim. */
|
|
5
5
|
export declare const FactId: z.ZodString;
|
|
@@ -13,6 +13,21 @@ export declare const CitePart: z.ZodObject<{
|
|
|
13
13
|
line: z.ZodNumber;
|
|
14
14
|
value: z.ZodString;
|
|
15
15
|
}, z.core.$strict>;
|
|
16
|
+
/**
|
|
17
|
+
* The line a call's `auth` or `tls` rests on (ADR 0163), with the other lines it is set from
|
|
18
|
+
* (`with`, as a claim's): the line that builds the client certificate's context the cited line
|
|
19
|
+
* passes. Each part names its own value, as a `cite.with` part does.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SecurityCite: z.ZodObject<{
|
|
22
|
+
file: z.ZodString;
|
|
23
|
+
line: z.ZodNumber;
|
|
24
|
+
value: z.ZodString;
|
|
25
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
file: z.ZodString;
|
|
27
|
+
line: z.ZodNumber;
|
|
28
|
+
value: z.ZodString;
|
|
29
|
+
}, z.core.$strict>>>;
|
|
30
|
+
}, z.core.$strict>;
|
|
16
31
|
/**
|
|
17
32
|
* Where a fact rests. `value` is what the verifier looks for on the line (the route, the topic,
|
|
18
33
|
* the table, the field, the host or the key); `quote` is the line's text, or enough of it, as a
|
|
@@ -171,6 +186,9 @@ export declare const EntryFact: z.ZodObject<{
|
|
|
171
186
|
kind: z.ZodLiteral<"entry">;
|
|
172
187
|
}, z.core.$strict>;
|
|
173
188
|
export declare const CALL_TYPES: readonly ["rest", "grpc", "soap", "graphql", "event-topic", "mq-queue", "sftp", "webhook"];
|
|
189
|
+
/** A call's transport security (ADR 0163). */
|
|
190
|
+
export declare const CALL_TLS: readonly ["mtls", "tls", "none"];
|
|
191
|
+
export type CallTls = (typeof CALL_TLS)[number];
|
|
174
192
|
export declare const CallFact: z.ZodObject<{
|
|
175
193
|
callType: z.ZodEnum<{
|
|
176
194
|
rest: "rest";
|
|
@@ -192,6 +210,39 @@ export declare const CallFact: z.ZodObject<{
|
|
|
192
210
|
sync: "sync";
|
|
193
211
|
async: "async";
|
|
194
212
|
}>>;
|
|
213
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
214
|
+
none: "none";
|
|
215
|
+
oauth2: "oauth2";
|
|
216
|
+
mtls: "mtls";
|
|
217
|
+
"api-key": "api-key";
|
|
218
|
+
basic: "basic";
|
|
219
|
+
other: "other";
|
|
220
|
+
}>>;
|
|
221
|
+
authCite: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
file: z.ZodString;
|
|
223
|
+
line: z.ZodNumber;
|
|
224
|
+
value: z.ZodString;
|
|
225
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
226
|
+
file: z.ZodString;
|
|
227
|
+
line: z.ZodNumber;
|
|
228
|
+
value: z.ZodString;
|
|
229
|
+
}, z.core.$strict>>>;
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
none: "none";
|
|
233
|
+
mtls: "mtls";
|
|
234
|
+
tls: "tls";
|
|
235
|
+
}>>;
|
|
236
|
+
tlsCite: z.ZodOptional<z.ZodObject<{
|
|
237
|
+
file: z.ZodString;
|
|
238
|
+
line: z.ZodNumber;
|
|
239
|
+
value: z.ZodString;
|
|
240
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
|
+
file: z.ZodString;
|
|
242
|
+
line: z.ZodNumber;
|
|
243
|
+
value: z.ZodString;
|
|
244
|
+
}, z.core.$strict>>>;
|
|
245
|
+
}, z.core.$strict>>;
|
|
195
246
|
id: z.ZodString;
|
|
196
247
|
repo: z.ZodString;
|
|
197
248
|
commit: z.ZodString;
|
|
@@ -330,6 +381,9 @@ export declare const DeployFact: z.ZodObject<{
|
|
|
330
381
|
region: z.ZodOptional<z.ZodString>;
|
|
331
382
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
332
383
|
replicas: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
host: z.ZodOptional<z.ZodString>;
|
|
385
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
386
|
+
exposes: z.ZodOptional<z.ZodString>;
|
|
333
387
|
id: z.ZodString;
|
|
334
388
|
repo: z.ZodString;
|
|
335
389
|
commit: z.ZodString;
|
|
@@ -362,7 +416,66 @@ export declare const DeployFact: z.ZodObject<{
|
|
|
362
416
|
}>>;
|
|
363
417
|
kind: z.ZodLiteral<"deploy">;
|
|
364
418
|
}, z.core.$strict>;
|
|
419
|
+
/**
|
|
420
|
+
* The facts file's shape version (ADR 0143). No line carries it: a file written before has no
|
|
421
|
+
* number, reads as version 1 and parses unchanged, every field added since being optional.
|
|
422
|
+
* 1: the shapes of ADR 0124 and its addenda. 2: a deploy fact's `host`, `basePath` and `exposes`.
|
|
423
|
+
* 3 (ADR 0163): the `term` kind, and a call's `auth`, `authCite`, `tls` and `tlsCite`.
|
|
424
|
+
* 4 (ADR 0180): the `component` kind, what a component is.
|
|
425
|
+
* 5 (ADR 0192): the `artifact` and `dependency` kinds, a component's build coordinates and what
|
|
426
|
+
* it builds on. A version-4 file reads unchanged: both are new kinds, nothing else moved.
|
|
427
|
+
*
|
|
428
|
+
* ADR 0192 addendum (beta.25), no version change: a pom's `<scope>system</scope>` is recorded as
|
|
429
|
+
* `provided` (it is drawn so), so 2.0.0-beta.25 reads every file 2.0.0-beta.25 writes. A reader of
|
|
430
|
+
* beta.25 or later leaves out, one fact at a time, a fact a newer Atticus wrote (a kind it doesn't
|
|
431
|
+
* know, or a known kind with a value or a field it doesn't), said as such (`parseFacts`' `newer`),
|
|
432
|
+
* rather than refusing the whole file, and `atticus verify --write` keeps that line as written.
|
|
433
|
+
*/
|
|
434
|
+
export declare const FACTS_SCHEMA_VERSION: 5;
|
|
365
435
|
export declare const SETTING_KINDS: readonly ["timeout", "retry", "circuit-breaker", "rate-limit", "pool", "cache-ttl", "feature-flag", "config", "schedule"];
|
|
436
|
+
/**
|
|
437
|
+
* Whether a key and its value look like a secret: a name the key gives (its last part, a
|
|
438
|
+
* bracketed name) ends in a secret word, and the value is neither a reference to where the
|
|
439
|
+
* secret lives nor a flag or a mode.
|
|
440
|
+
*/
|
|
441
|
+
export declare function looksLikeSecret(key: string, value: string | undefined): boolean;
|
|
442
|
+
/**
|
|
443
|
+
* Whether a literal under a secret's key reads as a credential (`configSecretField`): token-like,
|
|
444
|
+
* no name as people write them (`NAME_LIKE`), and strong enough (`credentialStrength`).
|
|
445
|
+
*/
|
|
446
|
+
export declare function credentialLike(t: string): boolean;
|
|
447
|
+
/**
|
|
448
|
+
* Beta.25 review: where a config fact carries its setting's secret, the field that does
|
|
449
|
+
* (`value`, `source` or `cite.with`), or undefined. The verifier refuses such a fact
|
|
450
|
+
* (`secret-value`); the schema keeps only beta.24's value check, as released, so a facts file
|
|
451
|
+
* read before is read the same (ADR 0124 addendum A-gateway-outside-2).
|
|
452
|
+
*
|
|
453
|
+
* A value is one when its key names a secret (`looksLikeSecret`) or it is shaped like one
|
|
454
|
+
* (`hasSecretShape`, a Basic token too). A source or a part is one when it is shaped like a
|
|
455
|
+
* secret whatever the key. Under a key that names a secret, a value, a source or a part with a
|
|
456
|
+
* placeholder whose default is a literal (`${DB_PASSWORD:hunter22}`) is one; a source is one
|
|
457
|
+
* when it is no reference (`isReference`), no name as code writes one (`identifierName`) and no
|
|
458
|
+
* name of the fact's own, however weak (`hunter22`, `Summer2024!`); and a part is one when it
|
|
459
|
+
* is a literal that reads as a credential (`credentialLike`) or a password by its marks
|
|
460
|
+
* (`Summer2024!`; a weak word with digits, `hunter22`, is shaped as a hash or a version is, so
|
|
461
|
+
* a part like it is not refused here, and the verifier's messages never quote it) and is no
|
|
462
|
+
* name of the fact's own:
|
|
463
|
+
* its key or a name in it, its target with or without its extension, its env, or a name its
|
|
464
|
+
* source gives (the part `northwind-oauth2` of `secretKeyRef:northwind-oauth2/client-secret`).
|
|
465
|
+
* A quote is the verifier's to redact, as it always was. The answer never repeats the value.
|
|
466
|
+
*/
|
|
467
|
+
export declare function configSecretField(c: {
|
|
468
|
+
key: string;
|
|
469
|
+
value?: string | undefined;
|
|
470
|
+
source?: string | undefined;
|
|
471
|
+
target?: string | undefined;
|
|
472
|
+
env?: string | undefined;
|
|
473
|
+
cite: {
|
|
474
|
+
with?: readonly {
|
|
475
|
+
value: string;
|
|
476
|
+
}[] | undefined;
|
|
477
|
+
};
|
|
478
|
+
}): "value" | "source" | "cite.with" | undefined;
|
|
366
479
|
export declare const ConfigFact: z.ZodObject<{
|
|
367
480
|
settingKind: z.ZodDefault<z.ZodEnum<{
|
|
368
481
|
config: "config";
|
|
@@ -459,6 +572,73 @@ export declare const FrameworkFact: z.ZodObject<{
|
|
|
459
572
|
}>>;
|
|
460
573
|
kind: z.ZodLiteral<"framework">;
|
|
461
574
|
}, z.core.$strict>;
|
|
575
|
+
/**
|
|
576
|
+
* What a term the organisation uses says about the repo that writes it (ADR 0163): `owner`, the
|
|
577
|
+
* value names this repo's own system (an owner block, an `appId` of its own); `consumer`, it names
|
|
578
|
+
* a system let in or served (an entry of a `consumers` list); `none`, it names neither (a
|
|
579
|
+
* cost centre, a support group); `unknown`, nothing says yet, which becomes a question.
|
|
580
|
+
*/
|
|
581
|
+
export declare const TERM_ROLES: readonly ["owner", "consumer", "none", "unknown"];
|
|
582
|
+
export type TermRole = (typeof TERM_ROLES)[number];
|
|
583
|
+
/**
|
|
584
|
+
* A term of the organisation's, as a repo writes it (ADR 0163): an identifier such as an
|
|
585
|
+
* application id in an access list, a CMDB id, a cost centre. Atticus knows no term itself: what
|
|
586
|
+
* one means comes from the notes the organisation writes on a repo type (or org-wide), in its own
|
|
587
|
+
* words, which the reader is handed; with no note, the reader records the identifiers it meets
|
|
588
|
+
* with `role: unknown`, and they are asked about once per term and repo type.
|
|
589
|
+
*
|
|
590
|
+
* `cite` is the value's line (the verifier looks for `value` there). `meaning` is the line that
|
|
591
|
+
* gives it its role (the `"consumers": [` line, an owner block's key), in the same file, at or
|
|
592
|
+
* above the value's line; an owner or consumer needs one. A kind of its own: its subject is an
|
|
593
|
+
* identifier no other kind holds, and the joins read it across repos.
|
|
594
|
+
*/
|
|
595
|
+
export declare const TermFact: z.ZodObject<{
|
|
596
|
+
term: z.ZodString;
|
|
597
|
+
value: z.ZodString;
|
|
598
|
+
role: z.ZodEnum<{
|
|
599
|
+
unknown: "unknown";
|
|
600
|
+
owner: "owner";
|
|
601
|
+
none: "none";
|
|
602
|
+
consumer: "consumer";
|
|
603
|
+
}>;
|
|
604
|
+
note: z.ZodOptional<z.ZodString>;
|
|
605
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
606
|
+
file: z.ZodString;
|
|
607
|
+
line: z.ZodNumber;
|
|
608
|
+
value: z.ZodString;
|
|
609
|
+
}, z.core.$strict>>;
|
|
610
|
+
id: z.ZodString;
|
|
611
|
+
repo: z.ZodString;
|
|
612
|
+
commit: z.ZodString;
|
|
613
|
+
component: z.ZodOptional<z.ZodString>;
|
|
614
|
+
cite: z.ZodObject<{
|
|
615
|
+
file: z.ZodString;
|
|
616
|
+
line: z.ZodNumber;
|
|
617
|
+
value: z.ZodString;
|
|
618
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
619
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
620
|
+
file: z.ZodString;
|
|
621
|
+
line: z.ZodNumber;
|
|
622
|
+
value: z.ZodString;
|
|
623
|
+
}, z.core.$strict>>>;
|
|
624
|
+
}, z.core.$strict>;
|
|
625
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
626
|
+
line: "line";
|
|
627
|
+
none: "none";
|
|
628
|
+
person: "person";
|
|
629
|
+
sample: "sample";
|
|
630
|
+
}>>;
|
|
631
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
632
|
+
person: "person";
|
|
633
|
+
assistant: "assistant";
|
|
634
|
+
reader: "reader";
|
|
635
|
+
}>>;
|
|
636
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
637
|
+
inferred: "inferred";
|
|
638
|
+
declared: "declared";
|
|
639
|
+
}>>;
|
|
640
|
+
kind: z.ZodLiteral<"term">;
|
|
641
|
+
}, z.core.$strict>;
|
|
462
642
|
export declare const FlowFactStep: z.ZodObject<{
|
|
463
643
|
kind: z.ZodEnum<{
|
|
464
644
|
transform: "transform";
|
|
@@ -585,6 +765,160 @@ export declare const FlowFact: z.ZodObject<{
|
|
|
585
765
|
}>>;
|
|
586
766
|
kind: z.ZodLiteral<"flow">;
|
|
587
767
|
}, z.core.$strict>;
|
|
768
|
+
/**
|
|
769
|
+
* What a component is (ADR 0180): its type, from the organisation's component types (the set
|
|
770
|
+
* `atticus map <repo> --estimate` lists, data) or Atticus's own. `cite` is the line that shows the
|
|
771
|
+
* signal the type rests on (the annotation, the dependency, the file's first line); `value` is
|
|
772
|
+
* the signal as written there. `type` is the type's id; one the set doesn't have is kept as
|
|
773
|
+
* written and flagged at verify, so a person adds the type or corrects the fact. One per
|
|
774
|
+
* component; a second is refused at verify.
|
|
775
|
+
*/
|
|
776
|
+
export declare const ComponentFact: z.ZodObject<{
|
|
777
|
+
type: z.ZodString;
|
|
778
|
+
why: z.ZodOptional<z.ZodString>;
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
repo: z.ZodString;
|
|
781
|
+
commit: z.ZodString;
|
|
782
|
+
component: z.ZodOptional<z.ZodString>;
|
|
783
|
+
cite: z.ZodObject<{
|
|
784
|
+
file: z.ZodString;
|
|
785
|
+
line: z.ZodNumber;
|
|
786
|
+
value: z.ZodString;
|
|
787
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
788
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
789
|
+
file: z.ZodString;
|
|
790
|
+
line: z.ZodNumber;
|
|
791
|
+
value: z.ZodString;
|
|
792
|
+
}, z.core.$strict>>>;
|
|
793
|
+
}, z.core.$strict>;
|
|
794
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
795
|
+
line: "line";
|
|
796
|
+
none: "none";
|
|
797
|
+
person: "person";
|
|
798
|
+
sample: "sample";
|
|
799
|
+
}>>;
|
|
800
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
801
|
+
person: "person";
|
|
802
|
+
assistant: "assistant";
|
|
803
|
+
reader: "reader";
|
|
804
|
+
}>>;
|
|
805
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
806
|
+
inferred: "inferred";
|
|
807
|
+
declared: "declared";
|
|
808
|
+
}>>;
|
|
809
|
+
kind: z.ZodLiteral<"component">;
|
|
810
|
+
}, z.core.$strict>;
|
|
811
|
+
/**
|
|
812
|
+
* What a component's build publishes (ADR 0192): its own coordinates, `group` and `name` (a
|
|
813
|
+
* pom's project `<groupId>` and `<artifactId>`, a Gradle project's `group` and name). `cite` is the
|
|
814
|
+
* line that writes the name (the project's own `<artifactId>`, `rootProject.name`); the line that
|
|
815
|
+
* writes the group, when it is another (the project's `<groupId>`, the `<parent>`'s when the
|
|
816
|
+
* project inherits it, `group = '...'` in build.gradle), goes in `cite.with`, as does the
|
|
817
|
+
* version's. The verifier reads the build file to check each is what that line says, and that
|
|
818
|
+
* the name is the project's own, never a dependency's or a parent's.
|
|
819
|
+
*
|
|
820
|
+
* Nothing is projected into catalog C1 from it, as with a framework fact: the views read it, and
|
|
821
|
+
* the estate's dependency join (`joinDependencies`) pairs it with the `dependency` facts that name
|
|
822
|
+
* the same coordinates.
|
|
823
|
+
*/
|
|
824
|
+
export declare const ArtifactFact: z.ZodObject<{
|
|
825
|
+
group: z.ZodString;
|
|
826
|
+
name: z.ZodString;
|
|
827
|
+
version: z.ZodOptional<z.ZodString>;
|
|
828
|
+
id: z.ZodString;
|
|
829
|
+
repo: z.ZodString;
|
|
830
|
+
commit: z.ZodString;
|
|
831
|
+
component: z.ZodOptional<z.ZodString>;
|
|
832
|
+
cite: z.ZodObject<{
|
|
833
|
+
file: z.ZodString;
|
|
834
|
+
line: z.ZodNumber;
|
|
835
|
+
value: z.ZodString;
|
|
836
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
837
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
838
|
+
file: z.ZodString;
|
|
839
|
+
line: z.ZodNumber;
|
|
840
|
+
value: z.ZodString;
|
|
841
|
+
}, z.core.$strict>>>;
|
|
842
|
+
}, z.core.$strict>;
|
|
843
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
844
|
+
line: "line";
|
|
845
|
+
none: "none";
|
|
846
|
+
person: "person";
|
|
847
|
+
sample: "sample";
|
|
848
|
+
}>>;
|
|
849
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
850
|
+
person: "person";
|
|
851
|
+
assistant: "assistant";
|
|
852
|
+
reader: "reader";
|
|
853
|
+
}>>;
|
|
854
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
855
|
+
inferred: "inferred";
|
|
856
|
+
declared: "declared";
|
|
857
|
+
}>>;
|
|
858
|
+
kind: z.ZodLiteral<"artifact">;
|
|
859
|
+
}, z.core.$strict>;
|
|
860
|
+
/**
|
|
861
|
+
* A dependency's scope (ADR 0192): Maven's, or what a Gradle configuration means. A pom's
|
|
862
|
+
* `<scope>system</scope>` (a jar from a path on the machine) is recorded as `provided`, which is
|
|
863
|
+
* how it is drawn (ADR 0192 addendum).
|
|
864
|
+
*/
|
|
865
|
+
export declare const DEPENDENCY_SCOPES: readonly ["compile", "runtime", "provided", "test", "import"];
|
|
866
|
+
export type DependencyScope = (typeof DEPENDENCY_SCOPES)[number];
|
|
867
|
+
/**
|
|
868
|
+
* A build dependency a component declares (ADR 0192): the `group` and `name` of what it builds
|
|
869
|
+
* on, as the build file declares it in its dependencies (not a dependency-management block, a
|
|
870
|
+
* plugin or an exclusion). `cite` is the line that writes the name (the dependency's
|
|
871
|
+
* `<artifactId>`, a Gradle `implementation 'g:a:v'` line); the dependency's `<groupId>` line, when
|
|
872
|
+
* it is another, goes in `cite.with`. `scope` is the declared scope, left out for the default
|
|
873
|
+
* (compile). The dependency belongs to the component whose build file cites it: a module's pom
|
|
874
|
+
* is its module's.
|
|
875
|
+
*
|
|
876
|
+
* Every dependency is recorded, the organisation's own or not: which one is the estate's own is
|
|
877
|
+
* the dependency join's to say, from the coordinates the estate's `artifact` facts publish.
|
|
878
|
+
*/
|
|
879
|
+
export declare const DependencyFact: z.ZodObject<{
|
|
880
|
+
group: z.ZodString;
|
|
881
|
+
name: z.ZodString;
|
|
882
|
+
version: z.ZodOptional<z.ZodString>;
|
|
883
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
884
|
+
runtime: "runtime";
|
|
885
|
+
compile: "compile";
|
|
886
|
+
provided: "provided";
|
|
887
|
+
test: "test";
|
|
888
|
+
import: "import";
|
|
889
|
+
}>>;
|
|
890
|
+
id: z.ZodString;
|
|
891
|
+
repo: z.ZodString;
|
|
892
|
+
commit: z.ZodString;
|
|
893
|
+
component: z.ZodOptional<z.ZodString>;
|
|
894
|
+
cite: z.ZodObject<{
|
|
895
|
+
file: z.ZodString;
|
|
896
|
+
line: z.ZodNumber;
|
|
897
|
+
value: z.ZodString;
|
|
898
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
899
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
900
|
+
file: z.ZodString;
|
|
901
|
+
line: z.ZodNumber;
|
|
902
|
+
value: z.ZodString;
|
|
903
|
+
}, z.core.$strict>>>;
|
|
904
|
+
}, z.core.$strict>;
|
|
905
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
906
|
+
line: "line";
|
|
907
|
+
none: "none";
|
|
908
|
+
person: "person";
|
|
909
|
+
sample: "sample";
|
|
910
|
+
}>>;
|
|
911
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
912
|
+
person: "person";
|
|
913
|
+
assistant: "assistant";
|
|
914
|
+
reader: "reader";
|
|
915
|
+
}>>;
|
|
916
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
917
|
+
inferred: "inferred";
|
|
918
|
+
declared: "declared";
|
|
919
|
+
}>>;
|
|
920
|
+
kind: z.ZodLiteral<"dependency">;
|
|
921
|
+
}, z.core.$strict>;
|
|
588
922
|
export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
923
|
entryType: z.ZodEnum<{
|
|
590
924
|
function: "function";
|
|
@@ -698,6 +1032,39 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
698
1032
|
sync: "sync";
|
|
699
1033
|
async: "async";
|
|
700
1034
|
}>>;
|
|
1035
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
1036
|
+
none: "none";
|
|
1037
|
+
oauth2: "oauth2";
|
|
1038
|
+
mtls: "mtls";
|
|
1039
|
+
"api-key": "api-key";
|
|
1040
|
+
basic: "basic";
|
|
1041
|
+
other: "other";
|
|
1042
|
+
}>>;
|
|
1043
|
+
authCite: z.ZodOptional<z.ZodObject<{
|
|
1044
|
+
file: z.ZodString;
|
|
1045
|
+
line: z.ZodNumber;
|
|
1046
|
+
value: z.ZodString;
|
|
1047
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1048
|
+
file: z.ZodString;
|
|
1049
|
+
line: z.ZodNumber;
|
|
1050
|
+
value: z.ZodString;
|
|
1051
|
+
}, z.core.$strict>>>;
|
|
1052
|
+
}, z.core.$strict>>;
|
|
1053
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
1054
|
+
none: "none";
|
|
1055
|
+
mtls: "mtls";
|
|
1056
|
+
tls: "tls";
|
|
1057
|
+
}>>;
|
|
1058
|
+
tlsCite: z.ZodOptional<z.ZodObject<{
|
|
1059
|
+
file: z.ZodString;
|
|
1060
|
+
line: z.ZodNumber;
|
|
1061
|
+
value: z.ZodString;
|
|
1062
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1063
|
+
file: z.ZodString;
|
|
1064
|
+
line: z.ZodNumber;
|
|
1065
|
+
value: z.ZodString;
|
|
1066
|
+
}, z.core.$strict>>>;
|
|
1067
|
+
}, z.core.$strict>>;
|
|
701
1068
|
id: z.ZodString;
|
|
702
1069
|
repo: z.ZodString;
|
|
703
1070
|
commit: z.ZodString;
|
|
@@ -833,6 +1200,9 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
833
1200
|
region: z.ZodOptional<z.ZodString>;
|
|
834
1201
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
835
1202
|
replicas: z.ZodOptional<z.ZodNumber>;
|
|
1203
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
1205
|
+
exposes: z.ZodOptional<z.ZodString>;
|
|
836
1206
|
id: z.ZodString;
|
|
837
1207
|
repo: z.ZodString;
|
|
838
1208
|
commit: z.ZodString;
|
|
@@ -1026,28 +1396,185 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1026
1396
|
declared: "declared";
|
|
1027
1397
|
}>>;
|
|
1028
1398
|
kind: z.ZodLiteral<"flow">;
|
|
1029
|
-
}, z.core.$strict
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1399
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1400
|
+
term: z.ZodString;
|
|
1401
|
+
value: z.ZodString;
|
|
1402
|
+
role: z.ZodEnum<{
|
|
1403
|
+
unknown: "unknown";
|
|
1404
|
+
owner: "owner";
|
|
1405
|
+
none: "none";
|
|
1406
|
+
consumer: "consumer";
|
|
1407
|
+
}>;
|
|
1408
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1409
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
1410
|
+
file: z.ZodString;
|
|
1411
|
+
line: z.ZodNumber;
|
|
1412
|
+
value: z.ZodString;
|
|
1413
|
+
}, z.core.$strict>>;
|
|
1414
|
+
id: z.ZodString;
|
|
1415
|
+
repo: z.ZodString;
|
|
1416
|
+
commit: z.ZodString;
|
|
1417
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
cite: z.ZodObject<{
|
|
1419
|
+
file: z.ZodString;
|
|
1420
|
+
line: z.ZodNumber;
|
|
1421
|
+
value: z.ZodString;
|
|
1422
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1424
|
+
file: z.ZodString;
|
|
1425
|
+
line: z.ZodNumber;
|
|
1426
|
+
value: z.ZodString;
|
|
1427
|
+
}, z.core.$strict>>>;
|
|
1428
|
+
}, z.core.$strict>;
|
|
1429
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1430
|
+
line: "line";
|
|
1431
|
+
none: "none";
|
|
1432
|
+
person: "person";
|
|
1433
|
+
sample: "sample";
|
|
1434
|
+
}>>;
|
|
1435
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1436
|
+
person: "person";
|
|
1437
|
+
assistant: "assistant";
|
|
1438
|
+
reader: "reader";
|
|
1439
|
+
}>>;
|
|
1440
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1441
|
+
inferred: "inferred";
|
|
1442
|
+
declared: "declared";
|
|
1443
|
+
}>>;
|
|
1444
|
+
kind: z.ZodLiteral<"term">;
|
|
1445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1446
|
+
type: z.ZodString;
|
|
1447
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
id: z.ZodString;
|
|
1449
|
+
repo: z.ZodString;
|
|
1450
|
+
commit: z.ZodString;
|
|
1451
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
cite: z.ZodObject<{
|
|
1453
|
+
file: z.ZodString;
|
|
1454
|
+
line: z.ZodNumber;
|
|
1455
|
+
value: z.ZodString;
|
|
1456
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1458
|
+
file: z.ZodString;
|
|
1459
|
+
line: z.ZodNumber;
|
|
1460
|
+
value: z.ZodString;
|
|
1461
|
+
}, z.core.$strict>>>;
|
|
1462
|
+
}, z.core.$strict>;
|
|
1463
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1464
|
+
line: "line";
|
|
1465
|
+
none: "none";
|
|
1466
|
+
person: "person";
|
|
1467
|
+
sample: "sample";
|
|
1468
|
+
}>>;
|
|
1469
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1470
|
+
person: "person";
|
|
1471
|
+
assistant: "assistant";
|
|
1472
|
+
reader: "reader";
|
|
1473
|
+
}>>;
|
|
1474
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1475
|
+
inferred: "inferred";
|
|
1476
|
+
declared: "declared";
|
|
1477
|
+
}>>;
|
|
1478
|
+
kind: z.ZodLiteral<"component">;
|
|
1479
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1480
|
+
group: z.ZodString;
|
|
1481
|
+
name: z.ZodString;
|
|
1482
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
id: z.ZodString;
|
|
1484
|
+
repo: z.ZodString;
|
|
1485
|
+
commit: z.ZodString;
|
|
1486
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1487
|
+
cite: z.ZodObject<{
|
|
1488
|
+
file: z.ZodString;
|
|
1489
|
+
line: z.ZodNumber;
|
|
1490
|
+
value: z.ZodString;
|
|
1491
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1493
|
+
file: z.ZodString;
|
|
1494
|
+
line: z.ZodNumber;
|
|
1495
|
+
value: z.ZodString;
|
|
1496
|
+
}, z.core.$strict>>>;
|
|
1497
|
+
}, z.core.$strict>;
|
|
1498
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1499
|
+
line: "line";
|
|
1500
|
+
none: "none";
|
|
1501
|
+
person: "person";
|
|
1502
|
+
sample: "sample";
|
|
1503
|
+
}>>;
|
|
1504
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1505
|
+
person: "person";
|
|
1506
|
+
assistant: "assistant";
|
|
1507
|
+
reader: "reader";
|
|
1508
|
+
}>>;
|
|
1509
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1510
|
+
inferred: "inferred";
|
|
1511
|
+
declared: "declared";
|
|
1512
|
+
}>>;
|
|
1513
|
+
kind: z.ZodLiteral<"artifact">;
|
|
1514
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1515
|
+
group: z.ZodString;
|
|
1516
|
+
name: z.ZodString;
|
|
1517
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1519
|
+
runtime: "runtime";
|
|
1520
|
+
compile: "compile";
|
|
1521
|
+
provided: "provided";
|
|
1522
|
+
test: "test";
|
|
1523
|
+
import: "import";
|
|
1524
|
+
}>>;
|
|
1525
|
+
id: z.ZodString;
|
|
1526
|
+
repo: z.ZodString;
|
|
1527
|
+
commit: z.ZodString;
|
|
1528
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
cite: z.ZodObject<{
|
|
1530
|
+
file: z.ZodString;
|
|
1531
|
+
line: z.ZodNumber;
|
|
1532
|
+
value: z.ZodString;
|
|
1533
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1534
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1535
|
+
file: z.ZodString;
|
|
1536
|
+
line: z.ZodNumber;
|
|
1537
|
+
value: z.ZodString;
|
|
1538
|
+
}, z.core.$strict>>>;
|
|
1539
|
+
}, z.core.$strict>;
|
|
1540
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1541
|
+
line: "line";
|
|
1542
|
+
none: "none";
|
|
1543
|
+
person: "person";
|
|
1544
|
+
sample: "sample";
|
|
1545
|
+
}>>;
|
|
1546
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1547
|
+
person: "person";
|
|
1548
|
+
assistant: "assistant";
|
|
1549
|
+
reader: "reader";
|
|
1550
|
+
}>>;
|
|
1551
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1552
|
+
inferred: "inferred";
|
|
1553
|
+
declared: "declared";
|
|
1554
|
+
}>>;
|
|
1555
|
+
kind: z.ZodLiteral<"dependency">;
|
|
1556
|
+
}, z.core.$strict>], "kind">;
|
|
1557
|
+
export type Fact = z.infer<typeof Fact>;
|
|
1558
|
+
export type FactOf<K extends FactKind> = Extract<Fact, {
|
|
1559
|
+
kind: K;
|
|
1560
|
+
}>;
|
|
1561
|
+
/** A whole facts file, as an array (the JSONL form is one `Fact` per line). */
|
|
1562
|
+
export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1563
|
+
entryType: z.ZodEnum<{
|
|
1564
|
+
function: "function";
|
|
1565
|
+
"batch-job": "batch-job";
|
|
1566
|
+
rest: "rest";
|
|
1567
|
+
grpc: "grpc";
|
|
1568
|
+
soap: "soap";
|
|
1569
|
+
"event-topic": "event-topic";
|
|
1570
|
+
"file-drop": "file-drop";
|
|
1571
|
+
"mq-queue": "mq-queue";
|
|
1572
|
+
graphql: "graphql";
|
|
1573
|
+
websocket: "websocket";
|
|
1574
|
+
sse: "sse";
|
|
1575
|
+
webhook: "webhook";
|
|
1576
|
+
transaction: "transaction";
|
|
1577
|
+
screen: "screen";
|
|
1051
1578
|
}>;
|
|
1052
1579
|
method: z.ZodOptional<z.ZodString>;
|
|
1053
1580
|
path: z.ZodString;
|
|
@@ -1145,6 +1672,39 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1145
1672
|
sync: "sync";
|
|
1146
1673
|
async: "async";
|
|
1147
1674
|
}>>;
|
|
1675
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
1676
|
+
none: "none";
|
|
1677
|
+
oauth2: "oauth2";
|
|
1678
|
+
mtls: "mtls";
|
|
1679
|
+
"api-key": "api-key";
|
|
1680
|
+
basic: "basic";
|
|
1681
|
+
other: "other";
|
|
1682
|
+
}>>;
|
|
1683
|
+
authCite: z.ZodOptional<z.ZodObject<{
|
|
1684
|
+
file: z.ZodString;
|
|
1685
|
+
line: z.ZodNumber;
|
|
1686
|
+
value: z.ZodString;
|
|
1687
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1688
|
+
file: z.ZodString;
|
|
1689
|
+
line: z.ZodNumber;
|
|
1690
|
+
value: z.ZodString;
|
|
1691
|
+
}, z.core.$strict>>>;
|
|
1692
|
+
}, z.core.$strict>>;
|
|
1693
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
1694
|
+
none: "none";
|
|
1695
|
+
mtls: "mtls";
|
|
1696
|
+
tls: "tls";
|
|
1697
|
+
}>>;
|
|
1698
|
+
tlsCite: z.ZodOptional<z.ZodObject<{
|
|
1699
|
+
file: z.ZodString;
|
|
1700
|
+
line: z.ZodNumber;
|
|
1701
|
+
value: z.ZodString;
|
|
1702
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1703
|
+
file: z.ZodString;
|
|
1704
|
+
line: z.ZodNumber;
|
|
1705
|
+
value: z.ZodString;
|
|
1706
|
+
}, z.core.$strict>>>;
|
|
1707
|
+
}, z.core.$strict>>;
|
|
1148
1708
|
id: z.ZodString;
|
|
1149
1709
|
repo: z.ZodString;
|
|
1150
1710
|
commit: z.ZodString;
|
|
@@ -1280,6 +1840,9 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1280
1840
|
region: z.ZodOptional<z.ZodString>;
|
|
1281
1841
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
1282
1842
|
replicas: z.ZodOptional<z.ZodNumber>;
|
|
1843
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1844
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
exposes: z.ZodOptional<z.ZodString>;
|
|
1283
1846
|
id: z.ZodString;
|
|
1284
1847
|
repo: z.ZodString;
|
|
1285
1848
|
commit: z.ZodString;
|
|
@@ -1473,4 +2036,161 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1473
2036
|
declared: "declared";
|
|
1474
2037
|
}>>;
|
|
1475
2038
|
kind: z.ZodLiteral<"flow">;
|
|
2039
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2040
|
+
term: z.ZodString;
|
|
2041
|
+
value: z.ZodString;
|
|
2042
|
+
role: z.ZodEnum<{
|
|
2043
|
+
unknown: "unknown";
|
|
2044
|
+
owner: "owner";
|
|
2045
|
+
none: "none";
|
|
2046
|
+
consumer: "consumer";
|
|
2047
|
+
}>;
|
|
2048
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2049
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
2050
|
+
file: z.ZodString;
|
|
2051
|
+
line: z.ZodNumber;
|
|
2052
|
+
value: z.ZodString;
|
|
2053
|
+
}, z.core.$strict>>;
|
|
2054
|
+
id: z.ZodString;
|
|
2055
|
+
repo: z.ZodString;
|
|
2056
|
+
commit: z.ZodString;
|
|
2057
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
cite: z.ZodObject<{
|
|
2059
|
+
file: z.ZodString;
|
|
2060
|
+
line: z.ZodNumber;
|
|
2061
|
+
value: z.ZodString;
|
|
2062
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2064
|
+
file: z.ZodString;
|
|
2065
|
+
line: z.ZodNumber;
|
|
2066
|
+
value: z.ZodString;
|
|
2067
|
+
}, z.core.$strict>>>;
|
|
2068
|
+
}, z.core.$strict>;
|
|
2069
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
2070
|
+
line: "line";
|
|
2071
|
+
none: "none";
|
|
2072
|
+
person: "person";
|
|
2073
|
+
sample: "sample";
|
|
2074
|
+
}>>;
|
|
2075
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
2076
|
+
person: "person";
|
|
2077
|
+
assistant: "assistant";
|
|
2078
|
+
reader: "reader";
|
|
2079
|
+
}>>;
|
|
2080
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
2081
|
+
inferred: "inferred";
|
|
2082
|
+
declared: "declared";
|
|
2083
|
+
}>>;
|
|
2084
|
+
kind: z.ZodLiteral<"term">;
|
|
2085
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2086
|
+
type: z.ZodString;
|
|
2087
|
+
why: z.ZodOptional<z.ZodString>;
|
|
2088
|
+
id: z.ZodString;
|
|
2089
|
+
repo: z.ZodString;
|
|
2090
|
+
commit: z.ZodString;
|
|
2091
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2092
|
+
cite: z.ZodObject<{
|
|
2093
|
+
file: z.ZodString;
|
|
2094
|
+
line: z.ZodNumber;
|
|
2095
|
+
value: z.ZodString;
|
|
2096
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
2097
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2098
|
+
file: z.ZodString;
|
|
2099
|
+
line: z.ZodNumber;
|
|
2100
|
+
value: z.ZodString;
|
|
2101
|
+
}, z.core.$strict>>>;
|
|
2102
|
+
}, z.core.$strict>;
|
|
2103
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
2104
|
+
line: "line";
|
|
2105
|
+
none: "none";
|
|
2106
|
+
person: "person";
|
|
2107
|
+
sample: "sample";
|
|
2108
|
+
}>>;
|
|
2109
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
2110
|
+
person: "person";
|
|
2111
|
+
assistant: "assistant";
|
|
2112
|
+
reader: "reader";
|
|
2113
|
+
}>>;
|
|
2114
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
2115
|
+
inferred: "inferred";
|
|
2116
|
+
declared: "declared";
|
|
2117
|
+
}>>;
|
|
2118
|
+
kind: z.ZodLiteral<"component">;
|
|
2119
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2120
|
+
group: z.ZodString;
|
|
2121
|
+
name: z.ZodString;
|
|
2122
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
id: z.ZodString;
|
|
2124
|
+
repo: z.ZodString;
|
|
2125
|
+
commit: z.ZodString;
|
|
2126
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
cite: z.ZodObject<{
|
|
2128
|
+
file: z.ZodString;
|
|
2129
|
+
line: z.ZodNumber;
|
|
2130
|
+
value: z.ZodString;
|
|
2131
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2133
|
+
file: z.ZodString;
|
|
2134
|
+
line: z.ZodNumber;
|
|
2135
|
+
value: z.ZodString;
|
|
2136
|
+
}, z.core.$strict>>>;
|
|
2137
|
+
}, z.core.$strict>;
|
|
2138
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
2139
|
+
line: "line";
|
|
2140
|
+
none: "none";
|
|
2141
|
+
person: "person";
|
|
2142
|
+
sample: "sample";
|
|
2143
|
+
}>>;
|
|
2144
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
2145
|
+
person: "person";
|
|
2146
|
+
assistant: "assistant";
|
|
2147
|
+
reader: "reader";
|
|
2148
|
+
}>>;
|
|
2149
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
2150
|
+
inferred: "inferred";
|
|
2151
|
+
declared: "declared";
|
|
2152
|
+
}>>;
|
|
2153
|
+
kind: z.ZodLiteral<"artifact">;
|
|
2154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2155
|
+
group: z.ZodString;
|
|
2156
|
+
name: z.ZodString;
|
|
2157
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
2159
|
+
runtime: "runtime";
|
|
2160
|
+
compile: "compile";
|
|
2161
|
+
provided: "provided";
|
|
2162
|
+
test: "test";
|
|
2163
|
+
import: "import";
|
|
2164
|
+
}>>;
|
|
2165
|
+
id: z.ZodString;
|
|
2166
|
+
repo: z.ZodString;
|
|
2167
|
+
commit: z.ZodString;
|
|
2168
|
+
component: z.ZodOptional<z.ZodString>;
|
|
2169
|
+
cite: z.ZodObject<{
|
|
2170
|
+
file: z.ZodString;
|
|
2171
|
+
line: z.ZodNumber;
|
|
2172
|
+
value: z.ZodString;
|
|
2173
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2175
|
+
file: z.ZodString;
|
|
2176
|
+
line: z.ZodNumber;
|
|
2177
|
+
value: z.ZodString;
|
|
2178
|
+
}, z.core.$strict>>>;
|
|
2179
|
+
}, z.core.$strict>;
|
|
2180
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
2181
|
+
line: "line";
|
|
2182
|
+
none: "none";
|
|
2183
|
+
person: "person";
|
|
2184
|
+
sample: "sample";
|
|
2185
|
+
}>>;
|
|
2186
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
2187
|
+
person: "person";
|
|
2188
|
+
assistant: "assistant";
|
|
2189
|
+
reader: "reader";
|
|
2190
|
+
}>>;
|
|
2191
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
2192
|
+
inferred: "inferred";
|
|
2193
|
+
declared: "declared";
|
|
2194
|
+
}>>;
|
|
2195
|
+
kind: z.ZodLiteral<"dependency">;
|
|
1476
2196
|
}, z.core.$strict>], "kind">>;
|