@maycombhq/sdk 2.0.0-beta.2 → 2.0.0-beta.22
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 +5890 -1210
- package/npm/core/audit.d.ts +165 -0
- package/npm/core/catalog.d.ts +220 -66
- package/npm/core/cite.d.ts +20 -4
- package/npm/core/contract-check.d.ts +261 -0
- package/npm/core/decision-batches.d.ts +29 -0
- package/npm/core/declared-links.d.ts +62 -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 +2 -0
- package/npm/core/facts-carry.d.ts +8 -2
- package/npm/core/facts-join-prototype.d.ts +66 -4
- package/npm/core/facts-join-vendor.d.ts +20 -2
- package/npm/core/facts-join.d.ts +325 -1
- package/npm/core/facts-terms.d.ts +108 -0
- package/npm/core/fs.d.ts +40 -4
- package/npm/core/glob.d.ts +14 -0
- package/npm/core/host-questions.d.ts +93 -1
- package/npm/core/identity.d.ts +28 -0
- package/npm/core/index.d.ts +24 -0
- package/npm/core/link-candidates.d.ts +103 -0
- package/npm/core/link-evidence.d.ts +212 -0
- package/npm/core/manifest-edit.d.ts +53 -4
- package/npm/core/merge.d.ts +28 -0
- package/npm/core/metarepo.d.ts +18 -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 +22 -6
- package/npm/core/orgpack-load.d.ts +19 -0
- package/npm/core/profile-migrate.d.ts +11 -0
- package/npm/core/question-order.d.ts +23 -0
- package/npm/core/question-owners.d.ts +53 -0
- package/npm/core/question-proposals.d.ts +77 -0
- package/npm/core/question-roles.d.ts +24 -0
- package/npm/core/questions.d.ts +90 -6
- package/npm/core/repo-files.d.ts +60 -0
- package/npm/core/repo-reads.d.ts +44 -0
- package/npm/core/roles-migrate.d.ts +9 -0
- package/npm/core/runtime-migrate.d.ts +18 -0
- package/npm/core/schema/ai.d.ts +57 -9
- 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/fact-corrections.d.ts +105 -2
- package/npm/core/schema/facts.d.ts +410 -1
- package/npm/core/schema/kinds.d.ts +230 -66
- package/npm/core/schema/orgpack.d.ts +159 -19
- package/npm/core/schema/question.d.ts +228 -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 +7 -7
- package/npm/core/schema/scan-verify.d.ts +87 -45
- package/npm/core/schema/version.d.ts +4 -1
- package/npm/core/schema/workspace.d.ts +29 -11
- package/npm/core/shared-maps.d.ts +146 -0
- package/npm/core/stack-helpers.d.ts +32 -0
- package/npm/fs-repo.d.ts +2 -1
- package/npm/index.js +6194 -2542
- package/npm/listing.d.ts +14 -0
- 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"];
|
|
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,20 @@ 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
|
+
*/
|
|
426
|
+
export declare const FACTS_SCHEMA_VERSION: 4;
|
|
365
427
|
export declare const SETTING_KINDS: readonly ["timeout", "retry", "circuit-breaker", "rate-limit", "pool", "cache-ttl", "feature-flag", "config", "schedule"];
|
|
428
|
+
/**
|
|
429
|
+
* Whether a key and its value look like a secret: the key's last part ends in a secret word,
|
|
430
|
+
* and the value is neither a reference to where the secret lives nor a flag or a mode.
|
|
431
|
+
*/
|
|
432
|
+
export declare function looksLikeSecret(key: string, value: string | undefined): boolean;
|
|
366
433
|
export declare const ConfigFact: z.ZodObject<{
|
|
367
434
|
settingKind: z.ZodDefault<z.ZodEnum<{
|
|
368
435
|
config: "config";
|
|
@@ -459,6 +526,73 @@ export declare const FrameworkFact: z.ZodObject<{
|
|
|
459
526
|
}>>;
|
|
460
527
|
kind: z.ZodLiteral<"framework">;
|
|
461
528
|
}, z.core.$strict>;
|
|
529
|
+
/**
|
|
530
|
+
* What a term the organisation uses says about the repo that writes it (ADR 0163): `owner`, the
|
|
531
|
+
* value names this repo's own system (an owner block, an `appId` of its own); `consumer`, it names
|
|
532
|
+
* a system let in or served (an entry of a `consumers` list); `none`, it names neither (a
|
|
533
|
+
* cost centre, a support group); `unknown`, nothing says yet, which becomes a question.
|
|
534
|
+
*/
|
|
535
|
+
export declare const TERM_ROLES: readonly ["owner", "consumer", "none", "unknown"];
|
|
536
|
+
export type TermRole = (typeof TERM_ROLES)[number];
|
|
537
|
+
/**
|
|
538
|
+
* A term of the organisation's, as a repo writes it (ADR 0163): an identifier such as an
|
|
539
|
+
* application id in an access list, a CMDB id, a cost centre. Atticus knows no term itself: what
|
|
540
|
+
* one means comes from the notes the organisation writes on a repo type (or org-wide), in its own
|
|
541
|
+
* words, which the reader is handed; with no note, the reader records the identifiers it meets
|
|
542
|
+
* with `role: unknown`, and they are asked about once per term and repo type.
|
|
543
|
+
*
|
|
544
|
+
* `cite` is the value's line (the verifier looks for `value` there). `meaning` is the line that
|
|
545
|
+
* gives it its role (the `"consumers": [` line, an owner block's key), in the same file, at or
|
|
546
|
+
* above the value's line; an owner or consumer needs one. A kind of its own: its subject is an
|
|
547
|
+
* identifier no other kind holds, and the joins read it across repos.
|
|
548
|
+
*/
|
|
549
|
+
export declare const TermFact: z.ZodObject<{
|
|
550
|
+
term: z.ZodString;
|
|
551
|
+
value: z.ZodString;
|
|
552
|
+
role: z.ZodEnum<{
|
|
553
|
+
unknown: "unknown";
|
|
554
|
+
owner: "owner";
|
|
555
|
+
none: "none";
|
|
556
|
+
consumer: "consumer";
|
|
557
|
+
}>;
|
|
558
|
+
note: z.ZodOptional<z.ZodString>;
|
|
559
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
file: z.ZodString;
|
|
561
|
+
line: z.ZodNumber;
|
|
562
|
+
value: z.ZodString;
|
|
563
|
+
}, z.core.$strict>>;
|
|
564
|
+
id: z.ZodString;
|
|
565
|
+
repo: z.ZodString;
|
|
566
|
+
commit: z.ZodString;
|
|
567
|
+
component: z.ZodOptional<z.ZodString>;
|
|
568
|
+
cite: z.ZodObject<{
|
|
569
|
+
file: z.ZodString;
|
|
570
|
+
line: z.ZodNumber;
|
|
571
|
+
value: z.ZodString;
|
|
572
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
573
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
574
|
+
file: z.ZodString;
|
|
575
|
+
line: z.ZodNumber;
|
|
576
|
+
value: z.ZodString;
|
|
577
|
+
}, z.core.$strict>>>;
|
|
578
|
+
}, z.core.$strict>;
|
|
579
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
580
|
+
line: "line";
|
|
581
|
+
none: "none";
|
|
582
|
+
person: "person";
|
|
583
|
+
sample: "sample";
|
|
584
|
+
}>>;
|
|
585
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
586
|
+
person: "person";
|
|
587
|
+
assistant: "assistant";
|
|
588
|
+
reader: "reader";
|
|
589
|
+
}>>;
|
|
590
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
591
|
+
inferred: "inferred";
|
|
592
|
+
declared: "declared";
|
|
593
|
+
}>>;
|
|
594
|
+
kind: z.ZodLiteral<"term">;
|
|
595
|
+
}, z.core.$strict>;
|
|
462
596
|
export declare const FlowFactStep: z.ZodObject<{
|
|
463
597
|
kind: z.ZodEnum<{
|
|
464
598
|
transform: "transform";
|
|
@@ -585,6 +719,49 @@ export declare const FlowFact: z.ZodObject<{
|
|
|
585
719
|
}>>;
|
|
586
720
|
kind: z.ZodLiteral<"flow">;
|
|
587
721
|
}, z.core.$strict>;
|
|
722
|
+
/**
|
|
723
|
+
* What a component is (ADR 0180): its type, from the organisation's component types (the set
|
|
724
|
+
* `atticus map <repo> --estimate` lists, data) or Atticus's own. `cite` is the line that shows the
|
|
725
|
+
* signal the type rests on (the annotation, the dependency, the file's first line); `value` is
|
|
726
|
+
* the signal as written there. `type` is the type's id; one the set doesn't have is kept as
|
|
727
|
+
* written and flagged at verify, so a person adds the type or corrects the fact. One per
|
|
728
|
+
* component; a second is refused at verify.
|
|
729
|
+
*/
|
|
730
|
+
export declare const ComponentFact: z.ZodObject<{
|
|
731
|
+
type: z.ZodString;
|
|
732
|
+
why: z.ZodOptional<z.ZodString>;
|
|
733
|
+
id: z.ZodString;
|
|
734
|
+
repo: z.ZodString;
|
|
735
|
+
commit: z.ZodString;
|
|
736
|
+
component: z.ZodOptional<z.ZodString>;
|
|
737
|
+
cite: z.ZodObject<{
|
|
738
|
+
file: z.ZodString;
|
|
739
|
+
line: z.ZodNumber;
|
|
740
|
+
value: z.ZodString;
|
|
741
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
742
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
743
|
+
file: z.ZodString;
|
|
744
|
+
line: z.ZodNumber;
|
|
745
|
+
value: z.ZodString;
|
|
746
|
+
}, z.core.$strict>>>;
|
|
747
|
+
}, z.core.$strict>;
|
|
748
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
749
|
+
line: "line";
|
|
750
|
+
none: "none";
|
|
751
|
+
person: "person";
|
|
752
|
+
sample: "sample";
|
|
753
|
+
}>>;
|
|
754
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
755
|
+
person: "person";
|
|
756
|
+
assistant: "assistant";
|
|
757
|
+
reader: "reader";
|
|
758
|
+
}>>;
|
|
759
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
760
|
+
inferred: "inferred";
|
|
761
|
+
declared: "declared";
|
|
762
|
+
}>>;
|
|
763
|
+
kind: z.ZodLiteral<"component">;
|
|
764
|
+
}, z.core.$strict>;
|
|
588
765
|
export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
589
766
|
entryType: z.ZodEnum<{
|
|
590
767
|
function: "function";
|
|
@@ -698,6 +875,39 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
698
875
|
sync: "sync";
|
|
699
876
|
async: "async";
|
|
700
877
|
}>>;
|
|
878
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
879
|
+
none: "none";
|
|
880
|
+
oauth2: "oauth2";
|
|
881
|
+
mtls: "mtls";
|
|
882
|
+
"api-key": "api-key";
|
|
883
|
+
basic: "basic";
|
|
884
|
+
other: "other";
|
|
885
|
+
}>>;
|
|
886
|
+
authCite: z.ZodOptional<z.ZodObject<{
|
|
887
|
+
file: z.ZodString;
|
|
888
|
+
line: z.ZodNumber;
|
|
889
|
+
value: z.ZodString;
|
|
890
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
891
|
+
file: z.ZodString;
|
|
892
|
+
line: z.ZodNumber;
|
|
893
|
+
value: z.ZodString;
|
|
894
|
+
}, z.core.$strict>>>;
|
|
895
|
+
}, z.core.$strict>>;
|
|
896
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
897
|
+
none: "none";
|
|
898
|
+
mtls: "mtls";
|
|
899
|
+
tls: "tls";
|
|
900
|
+
}>>;
|
|
901
|
+
tlsCite: z.ZodOptional<z.ZodObject<{
|
|
902
|
+
file: z.ZodString;
|
|
903
|
+
line: z.ZodNumber;
|
|
904
|
+
value: z.ZodString;
|
|
905
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
906
|
+
file: z.ZodString;
|
|
907
|
+
line: z.ZodNumber;
|
|
908
|
+
value: z.ZodString;
|
|
909
|
+
}, z.core.$strict>>>;
|
|
910
|
+
}, z.core.$strict>>;
|
|
701
911
|
id: z.ZodString;
|
|
702
912
|
repo: z.ZodString;
|
|
703
913
|
commit: z.ZodString;
|
|
@@ -833,6 +1043,9 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
833
1043
|
region: z.ZodOptional<z.ZodString>;
|
|
834
1044
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
835
1045
|
replicas: z.ZodOptional<z.ZodNumber>;
|
|
1046
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
exposes: z.ZodOptional<z.ZodString>;
|
|
836
1049
|
id: z.ZodString;
|
|
837
1050
|
repo: z.ZodString;
|
|
838
1051
|
commit: z.ZodString;
|
|
@@ -1026,6 +1239,86 @@ export declare const Fact: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1026
1239
|
declared: "declared";
|
|
1027
1240
|
}>>;
|
|
1028
1241
|
kind: z.ZodLiteral<"flow">;
|
|
1242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1243
|
+
term: z.ZodString;
|
|
1244
|
+
value: z.ZodString;
|
|
1245
|
+
role: z.ZodEnum<{
|
|
1246
|
+
unknown: "unknown";
|
|
1247
|
+
owner: "owner";
|
|
1248
|
+
none: "none";
|
|
1249
|
+
consumer: "consumer";
|
|
1250
|
+
}>;
|
|
1251
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
1253
|
+
file: z.ZodString;
|
|
1254
|
+
line: z.ZodNumber;
|
|
1255
|
+
value: z.ZodString;
|
|
1256
|
+
}, z.core.$strict>>;
|
|
1257
|
+
id: z.ZodString;
|
|
1258
|
+
repo: z.ZodString;
|
|
1259
|
+
commit: z.ZodString;
|
|
1260
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
cite: z.ZodObject<{
|
|
1262
|
+
file: z.ZodString;
|
|
1263
|
+
line: z.ZodNumber;
|
|
1264
|
+
value: z.ZodString;
|
|
1265
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1267
|
+
file: z.ZodString;
|
|
1268
|
+
line: z.ZodNumber;
|
|
1269
|
+
value: z.ZodString;
|
|
1270
|
+
}, z.core.$strict>>>;
|
|
1271
|
+
}, z.core.$strict>;
|
|
1272
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1273
|
+
line: "line";
|
|
1274
|
+
none: "none";
|
|
1275
|
+
person: "person";
|
|
1276
|
+
sample: "sample";
|
|
1277
|
+
}>>;
|
|
1278
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1279
|
+
person: "person";
|
|
1280
|
+
assistant: "assistant";
|
|
1281
|
+
reader: "reader";
|
|
1282
|
+
}>>;
|
|
1283
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1284
|
+
inferred: "inferred";
|
|
1285
|
+
declared: "declared";
|
|
1286
|
+
}>>;
|
|
1287
|
+
kind: z.ZodLiteral<"term">;
|
|
1288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1289
|
+
type: z.ZodString;
|
|
1290
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
id: z.ZodString;
|
|
1292
|
+
repo: z.ZodString;
|
|
1293
|
+
commit: z.ZodString;
|
|
1294
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
cite: z.ZodObject<{
|
|
1296
|
+
file: z.ZodString;
|
|
1297
|
+
line: z.ZodNumber;
|
|
1298
|
+
value: z.ZodString;
|
|
1299
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1301
|
+
file: z.ZodString;
|
|
1302
|
+
line: z.ZodNumber;
|
|
1303
|
+
value: z.ZodString;
|
|
1304
|
+
}, z.core.$strict>>>;
|
|
1305
|
+
}, z.core.$strict>;
|
|
1306
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1307
|
+
line: "line";
|
|
1308
|
+
none: "none";
|
|
1309
|
+
person: "person";
|
|
1310
|
+
sample: "sample";
|
|
1311
|
+
}>>;
|
|
1312
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1313
|
+
person: "person";
|
|
1314
|
+
assistant: "assistant";
|
|
1315
|
+
reader: "reader";
|
|
1316
|
+
}>>;
|
|
1317
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1318
|
+
inferred: "inferred";
|
|
1319
|
+
declared: "declared";
|
|
1320
|
+
}>>;
|
|
1321
|
+
kind: z.ZodLiteral<"component">;
|
|
1029
1322
|
}, z.core.$strict>], "kind">;
|
|
1030
1323
|
export type Fact = z.infer<typeof Fact>;
|
|
1031
1324
|
export type FactOf<K extends FactKind> = Extract<Fact, {
|
|
@@ -1145,6 +1438,39 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1145
1438
|
sync: "sync";
|
|
1146
1439
|
async: "async";
|
|
1147
1440
|
}>>;
|
|
1441
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
1442
|
+
none: "none";
|
|
1443
|
+
oauth2: "oauth2";
|
|
1444
|
+
mtls: "mtls";
|
|
1445
|
+
"api-key": "api-key";
|
|
1446
|
+
basic: "basic";
|
|
1447
|
+
other: "other";
|
|
1448
|
+
}>>;
|
|
1449
|
+
authCite: z.ZodOptional<z.ZodObject<{
|
|
1450
|
+
file: z.ZodString;
|
|
1451
|
+
line: z.ZodNumber;
|
|
1452
|
+
value: z.ZodString;
|
|
1453
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1454
|
+
file: z.ZodString;
|
|
1455
|
+
line: z.ZodNumber;
|
|
1456
|
+
value: z.ZodString;
|
|
1457
|
+
}, z.core.$strict>>>;
|
|
1458
|
+
}, z.core.$strict>>;
|
|
1459
|
+
tls: z.ZodOptional<z.ZodEnum<{
|
|
1460
|
+
none: "none";
|
|
1461
|
+
mtls: "mtls";
|
|
1462
|
+
tls: "tls";
|
|
1463
|
+
}>>;
|
|
1464
|
+
tlsCite: z.ZodOptional<z.ZodObject<{
|
|
1465
|
+
file: z.ZodString;
|
|
1466
|
+
line: z.ZodNumber;
|
|
1467
|
+
value: z.ZodString;
|
|
1468
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1469
|
+
file: z.ZodString;
|
|
1470
|
+
line: z.ZodNumber;
|
|
1471
|
+
value: z.ZodString;
|
|
1472
|
+
}, z.core.$strict>>>;
|
|
1473
|
+
}, z.core.$strict>>;
|
|
1148
1474
|
id: z.ZodString;
|
|
1149
1475
|
repo: z.ZodString;
|
|
1150
1476
|
commit: z.ZodString;
|
|
@@ -1280,6 +1606,9 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1280
1606
|
region: z.ZodOptional<z.ZodString>;
|
|
1281
1607
|
pipeline: z.ZodOptional<z.ZodString>;
|
|
1282
1608
|
replicas: z.ZodOptional<z.ZodNumber>;
|
|
1609
|
+
host: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
basePath: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
exposes: z.ZodOptional<z.ZodString>;
|
|
1283
1612
|
id: z.ZodString;
|
|
1284
1613
|
repo: z.ZodString;
|
|
1285
1614
|
commit: z.ZodString;
|
|
@@ -1473,4 +1802,84 @@ export declare const FactsFile: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
1473
1802
|
declared: "declared";
|
|
1474
1803
|
}>>;
|
|
1475
1804
|
kind: z.ZodLiteral<"flow">;
|
|
1805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1806
|
+
term: z.ZodString;
|
|
1807
|
+
value: z.ZodString;
|
|
1808
|
+
role: z.ZodEnum<{
|
|
1809
|
+
unknown: "unknown";
|
|
1810
|
+
owner: "owner";
|
|
1811
|
+
none: "none";
|
|
1812
|
+
consumer: "consumer";
|
|
1813
|
+
}>;
|
|
1814
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1815
|
+
meaning: z.ZodOptional<z.ZodObject<{
|
|
1816
|
+
file: z.ZodString;
|
|
1817
|
+
line: z.ZodNumber;
|
|
1818
|
+
value: z.ZodString;
|
|
1819
|
+
}, z.core.$strict>>;
|
|
1820
|
+
id: z.ZodString;
|
|
1821
|
+
repo: z.ZodString;
|
|
1822
|
+
commit: z.ZodString;
|
|
1823
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1824
|
+
cite: z.ZodObject<{
|
|
1825
|
+
file: z.ZodString;
|
|
1826
|
+
line: z.ZodNumber;
|
|
1827
|
+
value: z.ZodString;
|
|
1828
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1829
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1830
|
+
file: z.ZodString;
|
|
1831
|
+
line: z.ZodNumber;
|
|
1832
|
+
value: z.ZodString;
|
|
1833
|
+
}, z.core.$strict>>>;
|
|
1834
|
+
}, z.core.$strict>;
|
|
1835
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1836
|
+
line: "line";
|
|
1837
|
+
none: "none";
|
|
1838
|
+
person: "person";
|
|
1839
|
+
sample: "sample";
|
|
1840
|
+
}>>;
|
|
1841
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1842
|
+
person: "person";
|
|
1843
|
+
assistant: "assistant";
|
|
1844
|
+
reader: "reader";
|
|
1845
|
+
}>>;
|
|
1846
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1847
|
+
inferred: "inferred";
|
|
1848
|
+
declared: "declared";
|
|
1849
|
+
}>>;
|
|
1850
|
+
kind: z.ZodLiteral<"term">;
|
|
1851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1852
|
+
type: z.ZodString;
|
|
1853
|
+
why: z.ZodOptional<z.ZodString>;
|
|
1854
|
+
id: z.ZodString;
|
|
1855
|
+
repo: z.ZodString;
|
|
1856
|
+
commit: z.ZodString;
|
|
1857
|
+
component: z.ZodOptional<z.ZodString>;
|
|
1858
|
+
cite: z.ZodObject<{
|
|
1859
|
+
file: z.ZodString;
|
|
1860
|
+
line: z.ZodNumber;
|
|
1861
|
+
value: z.ZodString;
|
|
1862
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1863
|
+
with: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1864
|
+
file: z.ZodString;
|
|
1865
|
+
line: z.ZodNumber;
|
|
1866
|
+
value: z.ZodString;
|
|
1867
|
+
}, z.core.$strict>>>;
|
|
1868
|
+
}, z.core.$strict>;
|
|
1869
|
+
verified: z.ZodDefault<z.ZodEnum<{
|
|
1870
|
+
line: "line";
|
|
1871
|
+
none: "none";
|
|
1872
|
+
person: "person";
|
|
1873
|
+
sample: "sample";
|
|
1874
|
+
}>>;
|
|
1875
|
+
by: z.ZodDefault<z.ZodEnum<{
|
|
1876
|
+
person: "person";
|
|
1877
|
+
assistant: "assistant";
|
|
1878
|
+
reader: "reader";
|
|
1879
|
+
}>>;
|
|
1880
|
+
conf: z.ZodDefault<z.ZodEnum<{
|
|
1881
|
+
inferred: "inferred";
|
|
1882
|
+
declared: "declared";
|
|
1883
|
+
}>>;
|
|
1884
|
+
kind: z.ZodLiteral<"component">;
|
|
1476
1885
|
}, z.core.$strict>], "kind">>;
|