@scoutflo/topology-contracts 0.6.1 → 0.7.1
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/README.md +1 -0
- package/dist/src/correlation/candidate.d.ts +126 -0
- package/dist/src/correlation/contractVocabulary.d.ts +52 -0
- package/dist/src/correlation/contractVocabulary.js +44 -0
- package/dist/src/correlation/contractVocabulary.js.map +1 -0
- package/dist/src/correlation/index.d.ts +1 -0
- package/dist/src/correlation/index.js +1 -0
- package/dist/src/correlation/index.js.map +1 -1
- package/dist/src/schemas/index.d.ts +1 -1
- package/dist/src/schemas/index.js +8 -2
- package/dist/src/schemas/index.js.map +1 -1
- package/dist/src/source-sync/candidate.d.ts +126 -0
- package/dist/test/contracts.test.js +27 -0
- package/dist/test/contracts.test.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ This package owns:
|
|
|
9
9
|
- GitHub account source-sync source-type constants;
|
|
10
10
|
- source-sync capability, intent, scope, completeness, warning, and candidate DTO schemas;
|
|
11
11
|
- topology correlation rule metadata and candidate DTO schemas;
|
|
12
|
+
- topology correlation contract endpoint, relation-class, family, and contract-key vocabulary;
|
|
12
13
|
- Gateway/Mongo-aligned topology resource and relation vocabulary constants useful at contract boundaries.
|
|
13
14
|
|
|
14
15
|
Canonical topology resource and relation constants mirror stable persisted Scoutflo ontology values. Source-sync family constants remain separate and may use provider/source-specific family names such as AWS scan families.
|
|
@@ -48,23 +48,47 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
48
48
|
sourcePath: z.ZodString;
|
|
49
49
|
confidence: z.ZodNumber;
|
|
50
50
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
51
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
52
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
53
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
54
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
55
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
56
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
51
57
|
}, "strip", z.ZodTypeAny, {
|
|
52
58
|
value: string;
|
|
53
59
|
key: string;
|
|
54
60
|
sourcePath: string;
|
|
55
61
|
confidence: number;
|
|
56
62
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
63
|
+
rawValue?: unknown;
|
|
64
|
+
normalizedValue?: string | undefined;
|
|
65
|
+
namespace?: string | undefined;
|
|
66
|
+
provider?: string | undefined;
|
|
67
|
+
observedAt?: string | undefined;
|
|
68
|
+
schemaVersion?: string | undefined;
|
|
57
69
|
}, {
|
|
58
70
|
value: string;
|
|
59
71
|
key: string;
|
|
60
72
|
sourcePath: string;
|
|
61
73
|
confidence: number;
|
|
62
74
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
75
|
+
rawValue?: unknown;
|
|
76
|
+
normalizedValue?: string | undefined;
|
|
77
|
+
namespace?: string | undefined;
|
|
78
|
+
provider?: string | undefined;
|
|
79
|
+
observedAt?: string | undefined;
|
|
80
|
+
schemaVersion?: string | undefined;
|
|
63
81
|
}>, "many">>;
|
|
82
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
83
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
84
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
85
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
64
86
|
}, "strip", z.ZodTypeAny, {
|
|
65
87
|
type: string;
|
|
66
88
|
ref: string;
|
|
67
89
|
sourcePath?: string | undefined;
|
|
90
|
+
provider?: string | undefined;
|
|
91
|
+
observedAt?: string | undefined;
|
|
68
92
|
summary?: string | undefined;
|
|
69
93
|
facts?: {
|
|
70
94
|
value: string;
|
|
@@ -72,11 +96,21 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
72
96
|
sourcePath: string;
|
|
73
97
|
confidence: number;
|
|
74
98
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
99
|
+
rawValue?: unknown;
|
|
100
|
+
normalizedValue?: string | undefined;
|
|
101
|
+
namespace?: string | undefined;
|
|
102
|
+
provider?: string | undefined;
|
|
103
|
+
observedAt?: string | undefined;
|
|
104
|
+
schemaVersion?: string | undefined;
|
|
75
105
|
}[] | undefined;
|
|
106
|
+
occurredAt?: string | undefined;
|
|
107
|
+
capturedAt?: string | undefined;
|
|
76
108
|
}, {
|
|
77
109
|
type: string;
|
|
78
110
|
ref: string;
|
|
79
111
|
sourcePath?: string | undefined;
|
|
112
|
+
provider?: string | undefined;
|
|
113
|
+
observedAt?: string | undefined;
|
|
80
114
|
summary?: string | undefined;
|
|
81
115
|
facts?: {
|
|
82
116
|
value: string;
|
|
@@ -84,7 +118,15 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
84
118
|
sourcePath: string;
|
|
85
119
|
confidence: number;
|
|
86
120
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
121
|
+
rawValue?: unknown;
|
|
122
|
+
normalizedValue?: string | undefined;
|
|
123
|
+
namespace?: string | undefined;
|
|
124
|
+
provider?: string | undefined;
|
|
125
|
+
observedAt?: string | undefined;
|
|
126
|
+
schemaVersion?: string | undefined;
|
|
87
127
|
}[] | undefined;
|
|
128
|
+
occurredAt?: string | undefined;
|
|
129
|
+
capturedAt?: string | undefined;
|
|
88
130
|
}>, "many">;
|
|
89
131
|
decision: z.ZodEnum<["ready", "warning_only", "ambiguous", "blocked", "degraded", "unresolved"]>;
|
|
90
132
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -150,23 +192,47 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
150
192
|
sourcePath: z.ZodString;
|
|
151
193
|
confidence: z.ZodNumber;
|
|
152
194
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
195
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
196
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
197
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
198
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
199
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
200
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
153
201
|
}, "strip", z.ZodTypeAny, {
|
|
154
202
|
value: string;
|
|
155
203
|
key: string;
|
|
156
204
|
sourcePath: string;
|
|
157
205
|
confidence: number;
|
|
158
206
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
207
|
+
rawValue?: unknown;
|
|
208
|
+
normalizedValue?: string | undefined;
|
|
209
|
+
namespace?: string | undefined;
|
|
210
|
+
provider?: string | undefined;
|
|
211
|
+
observedAt?: string | undefined;
|
|
212
|
+
schemaVersion?: string | undefined;
|
|
159
213
|
}, {
|
|
160
214
|
value: string;
|
|
161
215
|
key: string;
|
|
162
216
|
sourcePath: string;
|
|
163
217
|
confidence: number;
|
|
164
218
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
219
|
+
rawValue?: unknown;
|
|
220
|
+
normalizedValue?: string | undefined;
|
|
221
|
+
namespace?: string | undefined;
|
|
222
|
+
provider?: string | undefined;
|
|
223
|
+
observedAt?: string | undefined;
|
|
224
|
+
schemaVersion?: string | undefined;
|
|
165
225
|
}>, "many">>;
|
|
226
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
227
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
228
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
229
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
166
230
|
}, "strip", z.ZodTypeAny, {
|
|
167
231
|
type: string;
|
|
168
232
|
ref: string;
|
|
169
233
|
sourcePath?: string | undefined;
|
|
234
|
+
provider?: string | undefined;
|
|
235
|
+
observedAt?: string | undefined;
|
|
170
236
|
summary?: string | undefined;
|
|
171
237
|
facts?: {
|
|
172
238
|
value: string;
|
|
@@ -174,11 +240,21 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
174
240
|
sourcePath: string;
|
|
175
241
|
confidence: number;
|
|
176
242
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
243
|
+
rawValue?: unknown;
|
|
244
|
+
normalizedValue?: string | undefined;
|
|
245
|
+
namespace?: string | undefined;
|
|
246
|
+
provider?: string | undefined;
|
|
247
|
+
observedAt?: string | undefined;
|
|
248
|
+
schemaVersion?: string | undefined;
|
|
177
249
|
}[] | undefined;
|
|
250
|
+
occurredAt?: string | undefined;
|
|
251
|
+
capturedAt?: string | undefined;
|
|
178
252
|
}, {
|
|
179
253
|
type: string;
|
|
180
254
|
ref: string;
|
|
181
255
|
sourcePath?: string | undefined;
|
|
256
|
+
provider?: string | undefined;
|
|
257
|
+
observedAt?: string | undefined;
|
|
182
258
|
summary?: string | undefined;
|
|
183
259
|
facts?: {
|
|
184
260
|
value: string;
|
|
@@ -186,7 +262,15 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
186
262
|
sourcePath: string;
|
|
187
263
|
confidence: number;
|
|
188
264
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
265
|
+
rawValue?: unknown;
|
|
266
|
+
normalizedValue?: string | undefined;
|
|
267
|
+
namespace?: string | undefined;
|
|
268
|
+
provider?: string | undefined;
|
|
269
|
+
observedAt?: string | undefined;
|
|
270
|
+
schemaVersion?: string | undefined;
|
|
189
271
|
}[] | undefined;
|
|
272
|
+
occurredAt?: string | undefined;
|
|
273
|
+
capturedAt?: string | undefined;
|
|
190
274
|
}>, "many">;
|
|
191
275
|
decision: z.ZodEnum<["ready", "warning_only", "ambiguous", "blocked", "degraded", "unresolved"]>;
|
|
192
276
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -252,23 +336,47 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
252
336
|
sourcePath: z.ZodString;
|
|
253
337
|
confidence: z.ZodNumber;
|
|
254
338
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
339
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
340
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
341
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
342
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
343
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
344
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
255
345
|
}, "strip", z.ZodTypeAny, {
|
|
256
346
|
value: string;
|
|
257
347
|
key: string;
|
|
258
348
|
sourcePath: string;
|
|
259
349
|
confidence: number;
|
|
260
350
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
351
|
+
rawValue?: unknown;
|
|
352
|
+
normalizedValue?: string | undefined;
|
|
353
|
+
namespace?: string | undefined;
|
|
354
|
+
provider?: string | undefined;
|
|
355
|
+
observedAt?: string | undefined;
|
|
356
|
+
schemaVersion?: string | undefined;
|
|
261
357
|
}, {
|
|
262
358
|
value: string;
|
|
263
359
|
key: string;
|
|
264
360
|
sourcePath: string;
|
|
265
361
|
confidence: number;
|
|
266
362
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
363
|
+
rawValue?: unknown;
|
|
364
|
+
normalizedValue?: string | undefined;
|
|
365
|
+
namespace?: string | undefined;
|
|
366
|
+
provider?: string | undefined;
|
|
367
|
+
observedAt?: string | undefined;
|
|
368
|
+
schemaVersion?: string | undefined;
|
|
267
369
|
}>, "many">>;
|
|
370
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
371
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
372
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
373
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
268
374
|
}, "strip", z.ZodTypeAny, {
|
|
269
375
|
type: string;
|
|
270
376
|
ref: string;
|
|
271
377
|
sourcePath?: string | undefined;
|
|
378
|
+
provider?: string | undefined;
|
|
379
|
+
observedAt?: string | undefined;
|
|
272
380
|
summary?: string | undefined;
|
|
273
381
|
facts?: {
|
|
274
382
|
value: string;
|
|
@@ -276,11 +384,21 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
276
384
|
sourcePath: string;
|
|
277
385
|
confidence: number;
|
|
278
386
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
387
|
+
rawValue?: unknown;
|
|
388
|
+
normalizedValue?: string | undefined;
|
|
389
|
+
namespace?: string | undefined;
|
|
390
|
+
provider?: string | undefined;
|
|
391
|
+
observedAt?: string | undefined;
|
|
392
|
+
schemaVersion?: string | undefined;
|
|
279
393
|
}[] | undefined;
|
|
394
|
+
occurredAt?: string | undefined;
|
|
395
|
+
capturedAt?: string | undefined;
|
|
280
396
|
}, {
|
|
281
397
|
type: string;
|
|
282
398
|
ref: string;
|
|
283
399
|
sourcePath?: string | undefined;
|
|
400
|
+
provider?: string | undefined;
|
|
401
|
+
observedAt?: string | undefined;
|
|
284
402
|
summary?: string | undefined;
|
|
285
403
|
facts?: {
|
|
286
404
|
value: string;
|
|
@@ -288,7 +406,15 @@ export declare const topologyCorrelationCandidateSchema: z.ZodObject<{
|
|
|
288
406
|
sourcePath: string;
|
|
289
407
|
confidence: number;
|
|
290
408
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
409
|
+
rawValue?: unknown;
|
|
410
|
+
normalizedValue?: string | undefined;
|
|
411
|
+
namespace?: string | undefined;
|
|
412
|
+
provider?: string | undefined;
|
|
413
|
+
observedAt?: string | undefined;
|
|
414
|
+
schemaVersion?: string | undefined;
|
|
291
415
|
}[] | undefined;
|
|
416
|
+
occurredAt?: string | undefined;
|
|
417
|
+
capturedAt?: string | undefined;
|
|
292
418
|
}>, "many">;
|
|
293
419
|
decision: z.ZodEnum<["ready", "warning_only", "ambiguous", "blocked", "degraded", "unresolved"]>;
|
|
294
420
|
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TOPOLOGY_CORRELATION_CONTRACT_FIELD: {
|
|
3
|
+
readonly KEY: "correlation_contract_key";
|
|
4
|
+
readonly VERSION: "correlation_contract_version";
|
|
5
|
+
};
|
|
6
|
+
export declare const TOPOLOGY_CORRELATION_RELATION_CLASS: {
|
|
7
|
+
readonly STRUCTURAL: "structural";
|
|
8
|
+
readonly ASSOCIATIVE: "associative";
|
|
9
|
+
};
|
|
10
|
+
export declare const TOPOLOGY_CORRELATION_RELATION_CLASS_VALUES: readonly ["structural", "associative"];
|
|
11
|
+
export declare const TOPOLOGY_CORRELATION_CONTRACT_FAMILY: {
|
|
12
|
+
readonly OBSERVABILITY_METRICS: "observability.metrics";
|
|
13
|
+
readonly OBSERVABILITY_ERRORS: "observability.errors";
|
|
14
|
+
readonly KUBERNETES_STRUCTURAL: "kubernetes.structural";
|
|
15
|
+
};
|
|
16
|
+
export declare const TOPOLOGY_CORRELATION_CONTRACT_FAMILY_VALUES: readonly ["observability.metrics", "observability.errors", "kubernetes.structural"];
|
|
17
|
+
export declare const topologyCorrelationContractKeySchema: z.ZodString;
|
|
18
|
+
export declare const topologyCorrelationContractVersionSchema: z.ZodString;
|
|
19
|
+
export declare const topologyCorrelationRelationClassSchema: z.ZodEnum<["structural", "associative"]>;
|
|
20
|
+
export declare const topologyCorrelationContractFamilySchema: z.ZodEnum<["observability.metrics", "observability.errors", "kubernetes.structural"]>;
|
|
21
|
+
export declare const topologyCorrelationEndpointSpecSchema: z.ZodObject<{
|
|
22
|
+
entity_type: z.ZodEnum<["service", "resource"]>;
|
|
23
|
+
resource_type: z.ZodOptional<z.ZodEnum<["aws_account", "vpc", "subnet", "compute_instance", "serverless_function", "load_balancer", "dns_zone", "dns_record", "log_group", "alarm", "container_registry", "kubernetes_cluster", "kubernetes_namespace", "kubernetes_deployment", "kubernetes_stateful_set", "kubernetes_daemon_set", "kubernetes_job", "kubernetes_cron_job", "kubernetes_service", "database", "cache", "message_queue", "object_storage", "vcs", "ci_cd", "alerting", "monitoring", "infrastructure_management", "secrets_manager", "network", "web_application_firewall", "cdn", "saas_vendor", "custom"]>>;
|
|
24
|
+
family: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["account", "vpc", "subnet", "ec2_instance", "rds_instance", "s3_bucket", "eks_cluster"]>, z.ZodEnum<["cluster", "namespace", "deployment", "statefulset", "daemonset", "job", "cronjob", "service"]>, z.ZodEnum<["integration_resource"]>, z.ZodEnum<["account"]>]>>;
|
|
25
|
+
role: z.ZodOptional<z.ZodString>;
|
|
26
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
27
|
+
entity_type: z.ZodEnum<["service", "resource"]>;
|
|
28
|
+
resource_type: z.ZodOptional<z.ZodEnum<["aws_account", "vpc", "subnet", "compute_instance", "serverless_function", "load_balancer", "dns_zone", "dns_record", "log_group", "alarm", "container_registry", "kubernetes_cluster", "kubernetes_namespace", "kubernetes_deployment", "kubernetes_stateful_set", "kubernetes_daemon_set", "kubernetes_job", "kubernetes_cron_job", "kubernetes_service", "database", "cache", "message_queue", "object_storage", "vcs", "ci_cd", "alerting", "monitoring", "infrastructure_management", "secrets_manager", "network", "web_application_firewall", "cdn", "saas_vendor", "custom"]>>;
|
|
29
|
+
family: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["account", "vpc", "subnet", "ec2_instance", "rds_instance", "s3_bucket", "eks_cluster"]>, z.ZodEnum<["cluster", "namespace", "deployment", "statefulset", "daemonset", "job", "cronjob", "service"]>, z.ZodEnum<["integration_resource"]>, z.ZodEnum<["account"]>]>>;
|
|
30
|
+
role: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
32
|
+
entity_type: z.ZodEnum<["service", "resource"]>;
|
|
33
|
+
resource_type: z.ZodOptional<z.ZodEnum<["aws_account", "vpc", "subnet", "compute_instance", "serverless_function", "load_balancer", "dns_zone", "dns_record", "log_group", "alarm", "container_registry", "kubernetes_cluster", "kubernetes_namespace", "kubernetes_deployment", "kubernetes_stateful_set", "kubernetes_daemon_set", "kubernetes_job", "kubernetes_cron_job", "kubernetes_service", "database", "cache", "message_queue", "object_storage", "vcs", "ci_cd", "alerting", "monitoring", "infrastructure_management", "secrets_manager", "network", "web_application_firewall", "cdn", "saas_vendor", "custom"]>>;
|
|
34
|
+
family: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["account", "vpc", "subnet", "ec2_instance", "rds_instance", "s3_bucket", "eks_cluster"]>, z.ZodEnum<["cluster", "namespace", "deployment", "statefulset", "daemonset", "job", "cronjob", "service"]>, z.ZodEnum<["integration_resource"]>, z.ZodEnum<["account"]>]>>;
|
|
35
|
+
role: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
37
|
+
export declare const topologyCorrelationContractRefSchema: z.ZodObject<{
|
|
38
|
+
correlation_contract_key: z.ZodString;
|
|
39
|
+
correlation_contract_version: z.ZodString;
|
|
40
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
41
|
+
correlation_contract_key: z.ZodString;
|
|
42
|
+
correlation_contract_version: z.ZodString;
|
|
43
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
44
|
+
correlation_contract_key: z.ZodString;
|
|
45
|
+
correlation_contract_version: z.ZodString;
|
|
46
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
47
|
+
export type TopologyCorrelationContractKey = z.infer<typeof topologyCorrelationContractKeySchema>;
|
|
48
|
+
export type TopologyCorrelationContractVersion = z.infer<typeof topologyCorrelationContractVersionSchema>;
|
|
49
|
+
export type TopologyCorrelationRelationClass = z.infer<typeof topologyCorrelationRelationClassSchema>;
|
|
50
|
+
export type TopologyCorrelationContractFamily = z.infer<typeof topologyCorrelationContractFamilySchema>;
|
|
51
|
+
export type TopologyCorrelationEndpointSpec = z.infer<typeof topologyCorrelationEndpointSpecSchema>;
|
|
52
|
+
export type TopologyCorrelationContractRef = z.infer<typeof topologyCorrelationContractRefSchema>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.topologyCorrelationContractRefSchema = exports.topologyCorrelationEndpointSpecSchema = exports.topologyCorrelationContractFamilySchema = exports.topologyCorrelationRelationClassSchema = exports.topologyCorrelationContractVersionSchema = exports.topologyCorrelationContractKeySchema = exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY_VALUES = exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY = exports.TOPOLOGY_CORRELATION_RELATION_CLASS_VALUES = exports.TOPOLOGY_CORRELATION_RELATION_CLASS = exports.TOPOLOGY_CORRELATION_CONTRACT_FIELD = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const families_1 = require("../families");
|
|
6
|
+
const common_1 = require("../source-sync/common");
|
|
7
|
+
const topology_1 = require("../topology");
|
|
8
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FIELD = {
|
|
9
|
+
KEY: 'correlation_contract_key',
|
|
10
|
+
VERSION: 'correlation_contract_version',
|
|
11
|
+
};
|
|
12
|
+
exports.TOPOLOGY_CORRELATION_RELATION_CLASS = {
|
|
13
|
+
STRUCTURAL: 'structural',
|
|
14
|
+
ASSOCIATIVE: 'associative',
|
|
15
|
+
};
|
|
16
|
+
exports.TOPOLOGY_CORRELATION_RELATION_CLASS_VALUES = [
|
|
17
|
+
exports.TOPOLOGY_CORRELATION_RELATION_CLASS.STRUCTURAL,
|
|
18
|
+
exports.TOPOLOGY_CORRELATION_RELATION_CLASS.ASSOCIATIVE,
|
|
19
|
+
];
|
|
20
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY = {
|
|
21
|
+
OBSERVABILITY_METRICS: 'observability.metrics',
|
|
22
|
+
OBSERVABILITY_ERRORS: 'observability.errors',
|
|
23
|
+
KUBERNETES_STRUCTURAL: 'kubernetes.structural',
|
|
24
|
+
};
|
|
25
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY_VALUES = [
|
|
26
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY.OBSERVABILITY_METRICS,
|
|
27
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY.OBSERVABILITY_ERRORS,
|
|
28
|
+
exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY.KUBERNETES_STRUCTURAL,
|
|
29
|
+
];
|
|
30
|
+
exports.topologyCorrelationContractKeySchema = common_1.nonEmptyStringSchema;
|
|
31
|
+
exports.topologyCorrelationContractVersionSchema = common_1.nonEmptyStringSchema;
|
|
32
|
+
exports.topologyCorrelationRelationClassSchema = zod_1.z.enum(exports.TOPOLOGY_CORRELATION_RELATION_CLASS_VALUES);
|
|
33
|
+
exports.topologyCorrelationContractFamilySchema = zod_1.z.enum(exports.TOPOLOGY_CORRELATION_CONTRACT_FAMILY_VALUES);
|
|
34
|
+
exports.topologyCorrelationEndpointSpecSchema = zod_1.z.object({
|
|
35
|
+
entity_type: common_1.entityKindSchema,
|
|
36
|
+
resource_type: topology_1.topologyResourceTypeSchema.optional(),
|
|
37
|
+
family: families_1.topologyFamilySchema.optional(),
|
|
38
|
+
role: common_1.nonEmptyStringSchema.optional(),
|
|
39
|
+
}).passthrough();
|
|
40
|
+
exports.topologyCorrelationContractRefSchema = zod_1.z.object({
|
|
41
|
+
correlation_contract_key: exports.topologyCorrelationContractKeySchema,
|
|
42
|
+
correlation_contract_version: exports.topologyCorrelationContractVersionSchema,
|
|
43
|
+
}).passthrough();
|
|
44
|
+
//# sourceMappingURL=contractVocabulary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contractVocabulary.js","sourceRoot":"","sources":["../../../src/correlation/contractVocabulary.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,0CAAmD;AACnD,kDAA+E;AAC/E,0CAAyD;AAE5C,QAAA,mCAAmC,GAAG;IACjD,GAAG,EAAE,0BAA0B;IAC/B,OAAO,EAAE,8BAA8B;CAC/B,CAAC;AAEE,QAAA,mCAAmC,GAAG;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;CAClB,CAAC;AAEE,QAAA,0CAA0C,GAAG;IACxD,2CAAmC,CAAC,UAAU;IAC9C,2CAAmC,CAAC,WAAW;CACvC,CAAC;AAEE,QAAA,oCAAoC,GAAG;IAClD,qBAAqB,EAAE,uBAAuB;IAC9C,oBAAoB,EAAE,sBAAsB;IAC5C,qBAAqB,EAAE,uBAAuB;CACtC,CAAC;AAEE,QAAA,2CAA2C,GAAG;IACzD,4CAAoC,CAAC,qBAAqB;IAC1D,4CAAoC,CAAC,oBAAoB;IACzD,4CAAoC,CAAC,qBAAqB;CAClD,CAAC;AAEE,QAAA,oCAAoC,GAAG,6BAAoB,CAAC;AAC5D,QAAA,wCAAwC,GAAG,6BAAoB,CAAC;AAEhE,QAAA,sCAAsC,GAAG,OAAC,CAAC,IAAI,CAC1D,kDAA0C,CAC3C,CAAC;AAEW,QAAA,uCAAuC,GAAG,OAAC,CAAC,IAAI,CAC3D,mDAA2C,CAC5C,CAAC;AAEW,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,WAAW,EAAE,yBAAgB;IAC7B,aAAa,EAAE,qCAA0B,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,+BAAoB,CAAC,QAAQ,EAAE;IACvC,IAAI,EAAE,6BAAoB,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,WAAW,EAAE,CAAC;AAEJ,QAAA,oCAAoC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,wBAAwB,EAAE,4CAAoC;IAC9D,4BAA4B,EAAE,gDAAwC;CACvE,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./rule"), exports);
|
|
18
18
|
__exportStar(require("./candidate"), exports);
|
|
19
19
|
__exportStar(require("./lifecycle"), exports);
|
|
20
|
+
__exportStar(require("./contractVocabulary"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/correlation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/correlation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,uDAAqC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { topologyProviderSchema, topologyProviderInputSchema, } from '../providers';
|
|
2
2
|
export { awsTopologyFamilySchema, kubernetesTopologyFamilySchema, integrationTopologyFamilySchema, topologyFamilySchema, } from '../families';
|
|
3
3
|
export { sourceSyncCapabilitySchema, sourceSyncPartialScopeApplySchema, topologySourceIntentIncludeSchema, topologySourceIntentSchema, topologySyncIntentOptionsSchema, topologySyncIntentSchema, topologySyncScopeSchema, topologySyncCompletenessStatusSchema, topologySyncCompletenessSchema, topologySyncWarningSeveritySchema, topologySyncWarningSchema, topologySourceRefStatusSchema, topologyEntitySourceRefCandidateSchema, topologyAccessRefCandidateSchema, topologySourceNodeCandidateSchema, topologyExistingEntityRefSchema, topologySourceRelationshipCandidateSchema, sourceSyncUnitStatusSchema, sourceSyncCapabilitiesResponseSchema, sourceSyncRecordSchema, sourceSyncJobSchema, sourceSyncSourceSummarySchema, sourceSyncDryRunSourceResultSchema, sourceSyncErrorSchema, sourceSyncDuplicateSchema, sourceSyncDryRunResponseSchema, sourceSyncApplySelectionSchema, sourceSyncApplyRequestSchema, sourceSyncApplyResponseSchema, sourceSyncBatchResponseSchema, sourceSyncBatchUnitsResponseSchema, } from '../source-sync';
|
|
4
|
-
export { topologyCorrelationApplyPolicySchema, topologyCorrelationRequiredEndpointSchema, topologyCorrelationRuleMetadataSchema, topologyCorrelationDecisionSchema, topologyCorrelationCandidateSchema, topologyCorrelationSyncVersionSchema, topologyCorrelationApiDecisionSchema, topologyCorrelationApiWarningSchema, topologyCorrelationApiEvidenceRefSchema, topologyCorrelationApiEndpointSchema, topologyCorrelationApiCandidateSchema, topologyCorrelationApiFindingSchema, topologyCorrelationApiRefreshSchema, topologyCorrelationApiDiffSummarySchema, topologyCorrelationApiDiffSchema, topologyCorrelationApiInputScopeSchema, topologyCorrelationApiUnitSpecSchema, topologyCorrelationApiUnitResultSchema, topologyCorrelationDryRunUnitSchema, topologyCorrelationDryRunOptionsSchema, topologyCorrelationDryRunRequestSchema, topologyCorrelationDryRunSummarySchema, topologyCorrelationDryRunResponseSchema, topologyCorrelationApplyRequestSchema, topologyCorrelationApplyUnitSchema, topologyCorrelationApplySummarySchema, topologyCorrelationApplyResponseSchema, } from '../correlation';
|
|
4
|
+
export { topologyCorrelationApplyPolicySchema, topologyCorrelationContractFamilySchema, topologyCorrelationContractKeySchema, topologyCorrelationContractRefSchema, topologyCorrelationContractVersionSchema, topologyCorrelationEndpointSpecSchema, topologyCorrelationRelationClassSchema, topologyCorrelationRequiredEndpointSchema, topologyCorrelationRuleMetadataSchema, topologyCorrelationDecisionSchema, topologyCorrelationCandidateSchema, topologyCorrelationSyncVersionSchema, topologyCorrelationApiDecisionSchema, topologyCorrelationApiWarningSchema, topologyCorrelationApiEvidenceRefSchema, topologyCorrelationApiEndpointSchema, topologyCorrelationApiCandidateSchema, topologyCorrelationApiFindingSchema, topologyCorrelationApiRefreshSchema, topologyCorrelationApiDiffSummarySchema, topologyCorrelationApiDiffSchema, topologyCorrelationApiInputScopeSchema, topologyCorrelationApiUnitSpecSchema, topologyCorrelationApiUnitResultSchema, topologyCorrelationDryRunUnitSchema, topologyCorrelationDryRunOptionsSchema, topologyCorrelationDryRunRequestSchema, topologyCorrelationDryRunSummarySchema, topologyCorrelationDryRunResponseSchema, topologyCorrelationApplyRequestSchema, topologyCorrelationApplyUnitSchema, topologyCorrelationApplySummarySchema, topologyCorrelationApplyResponseSchema, } from '../correlation';
|
|
5
5
|
export { topologyResourceTypeSchema, topologyRelationTypeSchema, } from '../topology';
|
|
6
6
|
export { credentialSourceEntityTypeSchema, credentialResolutionModeSchema, credentialSourceExternalRefSchema, credentialSourceResultItemSchema, credentialSourceSingleResponseSchema, credentialSourceBulkRequestSchema, credentialSourceBulkResponseSchema, topologyApiErrorCodeSchema, topologyApiErrorEnvelopeSchema, } from '../credential-source';
|
|
7
7
|
export { diagnosticCriticalitySchema, nestedTopologyRelationshipSchema, nestedTopologyNodeSchema, nestedTopologyChildSchema, nestedTopologyResponseSchema, topologyReasonCodeSchema, topologyCandidateTargetSchema, topologyPrimaryAnchorSchema, topologyInitializationStateSchema, targetServiceInfoSchema, investigationResourceSchema, relatedServiceInfoSchema, topologyInvestigationContextSchema, topologyBindingHintSchema, topologyBindingHintsSchema, gatewayTopologyContextSchema, } from '../investigation';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.gatewayTopologyContextSchema = exports.topologyBindingHintsSchema = exports.topologyBindingHintSchema = exports.topologyInvestigationContextSchema = exports.relatedServiceInfoSchema = exports.investigationResourceSchema = exports.targetServiceInfoSchema = exports.topologyInitializationStateSchema = exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema = exports.topologyReasonCodeSchema = exports.nestedTopologyResponseSchema = exports.nestedTopologyChildSchema = exports.nestedTopologyNodeSchema = exports.nestedTopologyRelationshipSchema = exports.diagnosticCriticalitySchema = exports.topologyApiErrorEnvelopeSchema = exports.topologyApiErrorCodeSchema = exports.credentialSourceBulkResponseSchema = exports.credentialSourceBulkRequestSchema = exports.credentialSourceSingleResponseSchema = exports.credentialSourceResultItemSchema = exports.credentialSourceExternalRefSchema = exports.credentialResolutionModeSchema = exports.credentialSourceEntityTypeSchema = exports.topologyRelationTypeSchema = exports.topologyResourceTypeSchema = exports.topologyCorrelationApplyResponseSchema = exports.topologyCorrelationApplySummarySchema = exports.topologyCorrelationApplyUnitSchema = exports.topologyCorrelationApplyRequestSchema = exports.topologyCorrelationDryRunResponseSchema = exports.topologyCorrelationDryRunSummarySchema = exports.topologyCorrelationDryRunRequestSchema = exports.topologyCorrelationDryRunOptionsSchema = exports.topologyCorrelationDryRunUnitSchema = exports.topologyCorrelationApiUnitResultSchema = exports.topologyCorrelationApiUnitSpecSchema = exports.topologyCorrelationApiInputScopeSchema = exports.topologyCorrelationApiDiffSchema = exports.topologyCorrelationApiDiffSummarySchema = void 0;
|
|
3
|
+
exports.topologyCorrelationApiDecisionSchema = exports.topologyCorrelationSyncVersionSchema = exports.topologyCorrelationCandidateSchema = exports.topologyCorrelationDecisionSchema = exports.topologyCorrelationRuleMetadataSchema = exports.topologyCorrelationRequiredEndpointSchema = exports.topologyCorrelationRelationClassSchema = exports.topologyCorrelationEndpointSpecSchema = exports.topologyCorrelationContractVersionSchema = exports.topologyCorrelationContractRefSchema = exports.topologyCorrelationContractKeySchema = exports.topologyCorrelationContractFamilySchema = exports.topologyCorrelationApplyPolicySchema = exports.sourceSyncBatchUnitsResponseSchema = exports.sourceSyncBatchResponseSchema = exports.sourceSyncApplyResponseSchema = exports.sourceSyncApplyRequestSchema = exports.sourceSyncApplySelectionSchema = exports.sourceSyncDryRunResponseSchema = exports.sourceSyncDuplicateSchema = exports.sourceSyncErrorSchema = exports.sourceSyncDryRunSourceResultSchema = exports.sourceSyncSourceSummarySchema = exports.sourceSyncJobSchema = exports.sourceSyncRecordSchema = exports.sourceSyncCapabilitiesResponseSchema = exports.sourceSyncUnitStatusSchema = exports.topologySourceRelationshipCandidateSchema = exports.topologyExistingEntityRefSchema = exports.topologySourceNodeCandidateSchema = exports.topologyAccessRefCandidateSchema = exports.topologyEntitySourceRefCandidateSchema = exports.topologySourceRefStatusSchema = exports.topologySyncWarningSchema = exports.topologySyncWarningSeveritySchema = exports.topologySyncCompletenessSchema = exports.topologySyncCompletenessStatusSchema = exports.topologySyncScopeSchema = exports.topologySyncIntentSchema = exports.topologySyncIntentOptionsSchema = exports.topologySourceIntentSchema = exports.topologySourceIntentIncludeSchema = exports.sourceSyncPartialScopeApplySchema = exports.sourceSyncCapabilitySchema = exports.topologyFamilySchema = exports.integrationTopologyFamilySchema = exports.kubernetesTopologyFamilySchema = exports.awsTopologyFamilySchema = exports.topologyProviderInputSchema = exports.topologyProviderSchema = void 0;
|
|
4
|
+
exports.gatewayTopologyContextSchema = exports.topologyBindingHintsSchema = exports.topologyBindingHintSchema = exports.topologyInvestigationContextSchema = exports.relatedServiceInfoSchema = exports.investigationResourceSchema = exports.targetServiceInfoSchema = exports.topologyInitializationStateSchema = exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema = exports.topologyReasonCodeSchema = exports.nestedTopologyResponseSchema = exports.nestedTopologyChildSchema = exports.nestedTopologyNodeSchema = exports.nestedTopologyRelationshipSchema = exports.diagnosticCriticalitySchema = exports.topologyApiErrorEnvelopeSchema = exports.topologyApiErrorCodeSchema = exports.credentialSourceBulkResponseSchema = exports.credentialSourceBulkRequestSchema = exports.credentialSourceSingleResponseSchema = exports.credentialSourceResultItemSchema = exports.credentialSourceExternalRefSchema = exports.credentialResolutionModeSchema = exports.credentialSourceEntityTypeSchema = exports.topologyRelationTypeSchema = exports.topologyResourceTypeSchema = exports.topologyCorrelationApplyResponseSchema = exports.topologyCorrelationApplySummarySchema = exports.topologyCorrelationApplyUnitSchema = exports.topologyCorrelationApplyRequestSchema = exports.topologyCorrelationDryRunResponseSchema = exports.topologyCorrelationDryRunSummarySchema = exports.topologyCorrelationDryRunRequestSchema = exports.topologyCorrelationDryRunOptionsSchema = exports.topologyCorrelationDryRunUnitSchema = exports.topologyCorrelationApiUnitResultSchema = exports.topologyCorrelationApiUnitSpecSchema = exports.topologyCorrelationApiInputScopeSchema = exports.topologyCorrelationApiDiffSchema = exports.topologyCorrelationApiDiffSummarySchema = exports.topologyCorrelationApiRefreshSchema = exports.topologyCorrelationApiFindingSchema = exports.topologyCorrelationApiCandidateSchema = exports.topologyCorrelationApiEndpointSchema = exports.topologyCorrelationApiEvidenceRefSchema = exports.topologyCorrelationApiWarningSchema = void 0;
|
|
5
5
|
var providers_1 = require("../providers");
|
|
6
6
|
Object.defineProperty(exports, "topologyProviderSchema", { enumerable: true, get: function () { return providers_1.topologyProviderSchema; } });
|
|
7
7
|
Object.defineProperty(exports, "topologyProviderInputSchema", { enumerable: true, get: function () { return providers_1.topologyProviderInputSchema; } });
|
|
@@ -44,6 +44,12 @@ Object.defineProperty(exports, "sourceSyncBatchResponseSchema", { enumerable: tr
|
|
|
44
44
|
Object.defineProperty(exports, "sourceSyncBatchUnitsResponseSchema", { enumerable: true, get: function () { return source_sync_1.sourceSyncBatchUnitsResponseSchema; } });
|
|
45
45
|
var correlation_1 = require("../correlation");
|
|
46
46
|
Object.defineProperty(exports, "topologyCorrelationApplyPolicySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationApplyPolicySchema; } });
|
|
47
|
+
Object.defineProperty(exports, "topologyCorrelationContractFamilySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationContractFamilySchema; } });
|
|
48
|
+
Object.defineProperty(exports, "topologyCorrelationContractKeySchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationContractKeySchema; } });
|
|
49
|
+
Object.defineProperty(exports, "topologyCorrelationContractRefSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationContractRefSchema; } });
|
|
50
|
+
Object.defineProperty(exports, "topologyCorrelationContractVersionSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationContractVersionSchema; } });
|
|
51
|
+
Object.defineProperty(exports, "topologyCorrelationEndpointSpecSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationEndpointSpecSchema; } });
|
|
52
|
+
Object.defineProperty(exports, "topologyCorrelationRelationClassSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationRelationClassSchema; } });
|
|
47
53
|
Object.defineProperty(exports, "topologyCorrelationRequiredEndpointSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationRequiredEndpointSchema; } });
|
|
48
54
|
Object.defineProperty(exports, "topologyCorrelationRuleMetadataSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationRuleMetadataSchema; } });
|
|
49
55
|
Object.defineProperty(exports, "topologyCorrelationDecisionSchema", { enumerable: true, get: function () { return correlation_1.topologyCorrelationDecisionSchema; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/index.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AAA;AACzB,6HAAA,4BAA4B,OAAA;AAC5B,yHAAA,wBAAwB,OAAA;AACxB,8HAAA,6BAA6B,OAAA;AAC7B,4HAAA,2BAA2B,OAAA;AAC3B,kIAAA,iCAAiC,OAAA;AACjC,wHAAA,uBAAuB,OAAA;AACvB,4HAAA,2BAA2B,OAAA;AAC3B,yHAAA,wBAAwB,OAAA;AACxB,mIAAA,kCAAkC,OAAA;AAClC,0HAAA,yBAAyB,OAAA;AACzB,2HAAA,0BAA0B,OAAA;AAC1B,6HAAA,4BAA4B,OAAA"}
|
|
@@ -580,23 +580,47 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
580
580
|
sourcePath: z.ZodString;
|
|
581
581
|
confidence: z.ZodNumber;
|
|
582
582
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
583
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
584
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
585
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
586
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
587
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
588
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
583
589
|
}, "strip", z.ZodTypeAny, {
|
|
584
590
|
value: string;
|
|
585
591
|
key: string;
|
|
586
592
|
sourcePath: string;
|
|
587
593
|
confidence: number;
|
|
588
594
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
595
|
+
rawValue?: unknown;
|
|
596
|
+
normalizedValue?: string | undefined;
|
|
597
|
+
namespace?: string | undefined;
|
|
598
|
+
provider?: string | undefined;
|
|
599
|
+
observedAt?: string | undefined;
|
|
600
|
+
schemaVersion?: string | undefined;
|
|
589
601
|
}, {
|
|
590
602
|
value: string;
|
|
591
603
|
key: string;
|
|
592
604
|
sourcePath: string;
|
|
593
605
|
confidence: number;
|
|
594
606
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
607
|
+
rawValue?: unknown;
|
|
608
|
+
normalizedValue?: string | undefined;
|
|
609
|
+
namespace?: string | undefined;
|
|
610
|
+
provider?: string | undefined;
|
|
611
|
+
observedAt?: string | undefined;
|
|
612
|
+
schemaVersion?: string | undefined;
|
|
595
613
|
}>, "many">>;
|
|
614
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
615
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
616
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
617
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
596
618
|
}, "strip", z.ZodTypeAny, {
|
|
597
619
|
type: string;
|
|
598
620
|
ref: string;
|
|
599
621
|
sourcePath?: string | undefined;
|
|
622
|
+
provider?: string | undefined;
|
|
623
|
+
observedAt?: string | undefined;
|
|
600
624
|
summary?: string | undefined;
|
|
601
625
|
facts?: {
|
|
602
626
|
value: string;
|
|
@@ -604,11 +628,21 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
604
628
|
sourcePath: string;
|
|
605
629
|
confidence: number;
|
|
606
630
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
631
|
+
rawValue?: unknown;
|
|
632
|
+
normalizedValue?: string | undefined;
|
|
633
|
+
namespace?: string | undefined;
|
|
634
|
+
provider?: string | undefined;
|
|
635
|
+
observedAt?: string | undefined;
|
|
636
|
+
schemaVersion?: string | undefined;
|
|
607
637
|
}[] | undefined;
|
|
638
|
+
occurredAt?: string | undefined;
|
|
639
|
+
capturedAt?: string | undefined;
|
|
608
640
|
}, {
|
|
609
641
|
type: string;
|
|
610
642
|
ref: string;
|
|
611
643
|
sourcePath?: string | undefined;
|
|
644
|
+
provider?: string | undefined;
|
|
645
|
+
observedAt?: string | undefined;
|
|
612
646
|
summary?: string | undefined;
|
|
613
647
|
facts?: {
|
|
614
648
|
value: string;
|
|
@@ -616,7 +650,15 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
616
650
|
sourcePath: string;
|
|
617
651
|
confidence: number;
|
|
618
652
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
653
|
+
rawValue?: unknown;
|
|
654
|
+
normalizedValue?: string | undefined;
|
|
655
|
+
namespace?: string | undefined;
|
|
656
|
+
provider?: string | undefined;
|
|
657
|
+
observedAt?: string | undefined;
|
|
658
|
+
schemaVersion?: string | undefined;
|
|
619
659
|
}[] | undefined;
|
|
660
|
+
occurredAt?: string | undefined;
|
|
661
|
+
capturedAt?: string | undefined;
|
|
620
662
|
}>, "many">>;
|
|
621
663
|
can_retire_absent: z.ZodBoolean;
|
|
622
664
|
observed_at: z.ZodString;
|
|
@@ -750,23 +792,47 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
750
792
|
sourcePath: z.ZodString;
|
|
751
793
|
confidence: z.ZodNumber;
|
|
752
794
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
795
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
796
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
797
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
798
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
799
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
800
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
753
801
|
}, "strip", z.ZodTypeAny, {
|
|
754
802
|
value: string;
|
|
755
803
|
key: string;
|
|
756
804
|
sourcePath: string;
|
|
757
805
|
confidence: number;
|
|
758
806
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
807
|
+
rawValue?: unknown;
|
|
808
|
+
normalizedValue?: string | undefined;
|
|
809
|
+
namespace?: string | undefined;
|
|
810
|
+
provider?: string | undefined;
|
|
811
|
+
observedAt?: string | undefined;
|
|
812
|
+
schemaVersion?: string | undefined;
|
|
759
813
|
}, {
|
|
760
814
|
value: string;
|
|
761
815
|
key: string;
|
|
762
816
|
sourcePath: string;
|
|
763
817
|
confidence: number;
|
|
764
818
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
819
|
+
rawValue?: unknown;
|
|
820
|
+
normalizedValue?: string | undefined;
|
|
821
|
+
namespace?: string | undefined;
|
|
822
|
+
provider?: string | undefined;
|
|
823
|
+
observedAt?: string | undefined;
|
|
824
|
+
schemaVersion?: string | undefined;
|
|
765
825
|
}>, "many">>;
|
|
826
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
827
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
828
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
829
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
766
830
|
}, "strip", z.ZodTypeAny, {
|
|
767
831
|
type: string;
|
|
768
832
|
ref: string;
|
|
769
833
|
sourcePath?: string | undefined;
|
|
834
|
+
provider?: string | undefined;
|
|
835
|
+
observedAt?: string | undefined;
|
|
770
836
|
summary?: string | undefined;
|
|
771
837
|
facts?: {
|
|
772
838
|
value: string;
|
|
@@ -774,11 +840,21 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
774
840
|
sourcePath: string;
|
|
775
841
|
confidence: number;
|
|
776
842
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
843
|
+
rawValue?: unknown;
|
|
844
|
+
normalizedValue?: string | undefined;
|
|
845
|
+
namespace?: string | undefined;
|
|
846
|
+
provider?: string | undefined;
|
|
847
|
+
observedAt?: string | undefined;
|
|
848
|
+
schemaVersion?: string | undefined;
|
|
777
849
|
}[] | undefined;
|
|
850
|
+
occurredAt?: string | undefined;
|
|
851
|
+
capturedAt?: string | undefined;
|
|
778
852
|
}, {
|
|
779
853
|
type: string;
|
|
780
854
|
ref: string;
|
|
781
855
|
sourcePath?: string | undefined;
|
|
856
|
+
provider?: string | undefined;
|
|
857
|
+
observedAt?: string | undefined;
|
|
782
858
|
summary?: string | undefined;
|
|
783
859
|
facts?: {
|
|
784
860
|
value: string;
|
|
@@ -786,7 +862,15 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
786
862
|
sourcePath: string;
|
|
787
863
|
confidence: number;
|
|
788
864
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
865
|
+
rawValue?: unknown;
|
|
866
|
+
normalizedValue?: string | undefined;
|
|
867
|
+
namespace?: string | undefined;
|
|
868
|
+
provider?: string | undefined;
|
|
869
|
+
observedAt?: string | undefined;
|
|
870
|
+
schemaVersion?: string | undefined;
|
|
789
871
|
}[] | undefined;
|
|
872
|
+
occurredAt?: string | undefined;
|
|
873
|
+
capturedAt?: string | undefined;
|
|
790
874
|
}>, "many">>;
|
|
791
875
|
can_retire_absent: z.ZodBoolean;
|
|
792
876
|
observed_at: z.ZodString;
|
|
@@ -920,23 +1004,47 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
920
1004
|
sourcePath: z.ZodString;
|
|
921
1005
|
confidence: z.ZodNumber;
|
|
922
1006
|
kind: z.ZodEnum<["label", "tag", "annotation", "provider_identity", "resource_hint", "text_derived", "time", "rule", "query", "trace", "metric", "log"]>;
|
|
1007
|
+
rawValue: z.ZodOptional<z.ZodUnknown>;
|
|
1008
|
+
normalizedValue: z.ZodOptional<z.ZodString>;
|
|
1009
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
1012
|
+
schemaVersion: z.ZodOptional<z.ZodString>;
|
|
923
1013
|
}, "strip", z.ZodTypeAny, {
|
|
924
1014
|
value: string;
|
|
925
1015
|
key: string;
|
|
926
1016
|
sourcePath: string;
|
|
927
1017
|
confidence: number;
|
|
928
1018
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
1019
|
+
rawValue?: unknown;
|
|
1020
|
+
normalizedValue?: string | undefined;
|
|
1021
|
+
namespace?: string | undefined;
|
|
1022
|
+
provider?: string | undefined;
|
|
1023
|
+
observedAt?: string | undefined;
|
|
1024
|
+
schemaVersion?: string | undefined;
|
|
929
1025
|
}, {
|
|
930
1026
|
value: string;
|
|
931
1027
|
key: string;
|
|
932
1028
|
sourcePath: string;
|
|
933
1029
|
confidence: number;
|
|
934
1030
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
1031
|
+
rawValue?: unknown;
|
|
1032
|
+
normalizedValue?: string | undefined;
|
|
1033
|
+
namespace?: string | undefined;
|
|
1034
|
+
provider?: string | undefined;
|
|
1035
|
+
observedAt?: string | undefined;
|
|
1036
|
+
schemaVersion?: string | undefined;
|
|
935
1037
|
}>, "many">>;
|
|
1038
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
observedAt: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
occurredAt: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
capturedAt: z.ZodOptional<z.ZodString>;
|
|
936
1042
|
}, "strip", z.ZodTypeAny, {
|
|
937
1043
|
type: string;
|
|
938
1044
|
ref: string;
|
|
939
1045
|
sourcePath?: string | undefined;
|
|
1046
|
+
provider?: string | undefined;
|
|
1047
|
+
observedAt?: string | undefined;
|
|
940
1048
|
summary?: string | undefined;
|
|
941
1049
|
facts?: {
|
|
942
1050
|
value: string;
|
|
@@ -944,11 +1052,21 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
944
1052
|
sourcePath: string;
|
|
945
1053
|
confidence: number;
|
|
946
1054
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
1055
|
+
rawValue?: unknown;
|
|
1056
|
+
normalizedValue?: string | undefined;
|
|
1057
|
+
namespace?: string | undefined;
|
|
1058
|
+
provider?: string | undefined;
|
|
1059
|
+
observedAt?: string | undefined;
|
|
1060
|
+
schemaVersion?: string | undefined;
|
|
947
1061
|
}[] | undefined;
|
|
1062
|
+
occurredAt?: string | undefined;
|
|
1063
|
+
capturedAt?: string | undefined;
|
|
948
1064
|
}, {
|
|
949
1065
|
type: string;
|
|
950
1066
|
ref: string;
|
|
951
1067
|
sourcePath?: string | undefined;
|
|
1068
|
+
provider?: string | undefined;
|
|
1069
|
+
observedAt?: string | undefined;
|
|
952
1070
|
summary?: string | undefined;
|
|
953
1071
|
facts?: {
|
|
954
1072
|
value: string;
|
|
@@ -956,7 +1074,15 @@ export declare const topologySourceRelationshipCandidateSchema: z.ZodObject<{
|
|
|
956
1074
|
sourcePath: string;
|
|
957
1075
|
confidence: number;
|
|
958
1076
|
kind: "label" | "tag" | "annotation" | "provider_identity" | "resource_hint" | "text_derived" | "time" | "rule" | "query" | "trace" | "metric" | "log";
|
|
1077
|
+
rawValue?: unknown;
|
|
1078
|
+
normalizedValue?: string | undefined;
|
|
1079
|
+
namespace?: string | undefined;
|
|
1080
|
+
provider?: string | undefined;
|
|
1081
|
+
observedAt?: string | undefined;
|
|
1082
|
+
schemaVersion?: string | undefined;
|
|
959
1083
|
}[] | undefined;
|
|
1084
|
+
occurredAt?: string | undefined;
|
|
1085
|
+
capturedAt?: string | undefined;
|
|
960
1086
|
}>, "many">>;
|
|
961
1087
|
can_retire_absent: z.ZodBoolean;
|
|
962
1088
|
observed_at: z.ZodString;
|
|
@@ -75,6 +75,33 @@ const src_1 = require("../src");
|
|
|
75
75
|
strict_1.default.equal(src_1.githubTopologySourceTypeSchema.parse('github_account'), 'github_account');
|
|
76
76
|
strict_1.default.throws(() => src_1.githubTopologySourceTypeSchema.parse('repository'));
|
|
77
77
|
});
|
|
78
|
+
(0, node_test_1.default)('exports shared correlation contract vocabulary without concrete contracts', () => {
|
|
79
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_CONTRACT_FIELD.KEY, 'correlation_contract_key');
|
|
80
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_CONTRACT_FIELD.VERSION, 'correlation_contract_version');
|
|
81
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_RELATION_CLASS.STRUCTURAL, 'structural');
|
|
82
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_RELATION_CLASS.ASSOCIATIVE, 'associative');
|
|
83
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_CONTRACT_FAMILY.OBSERVABILITY_METRICS, 'observability.metrics');
|
|
84
|
+
strict_1.default.equal(src_1.TOPOLOGY_CORRELATION_CONTRACT_FAMILY.KUBERNETES_STRUCTURAL, 'kubernetes.structural');
|
|
85
|
+
strict_1.default.deepEqual([...src_1.TOPOLOGY_CORRELATION_CONTRACT_FAMILY_VALUES], [
|
|
86
|
+
'observability.metrics',
|
|
87
|
+
'observability.errors',
|
|
88
|
+
'kubernetes.structural',
|
|
89
|
+
]);
|
|
90
|
+
const endpoint = src_1.topologyCorrelationEndpointSpecSchema.parse({
|
|
91
|
+
entity_type: 'resource',
|
|
92
|
+
resource_type: 'kubernetes_deployment',
|
|
93
|
+
family: 'deployment',
|
|
94
|
+
role: 'source',
|
|
95
|
+
});
|
|
96
|
+
const ref = src_1.topologyCorrelationContractRefSchema.parse({
|
|
97
|
+
correlation_contract_key: 'k8s_workload_monitored_by_prometheus_compatible',
|
|
98
|
+
correlation_contract_version: 'v1',
|
|
99
|
+
});
|
|
100
|
+
strict_1.default.equal(endpoint.resource_type, src_1.TOPOLOGY_RESOURCE_TYPE.KUBERNETES_DEPLOYMENT);
|
|
101
|
+
strict_1.default.equal(src_1.topologyCorrelationRelationClassSchema.parse('associative'), 'associative');
|
|
102
|
+
strict_1.default.equal(src_1.topologyCorrelationContractFamilySchema.parse('observability.metrics'), 'observability.metrics');
|
|
103
|
+
strict_1.default.equal(src_1.topologyCorrelationContractKeySchema.parse(ref.correlation_contract_key), 'k8s_workload_monitored_by_prometheus_compatible');
|
|
104
|
+
});
|
|
78
105
|
(0, node_test_1.default)('parses Gateway snake_case source-sync capabilities with extension keys', () => {
|
|
79
106
|
const parsed = src_1.sourceSyncCapabilitySchema.parse({
|
|
80
107
|
provider: 'k8s',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.test.js","sourceRoot":"","sources":["../../test/contracts.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,0DAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"contracts.test.js","sourceRoot":"","sources":["../../test/contracts.test.ts"],"names":[],"mappings":";;;;;AAAA,gEAAwC;AACxC,0DAA6B;AAC7B,gCAsCgB;AAEhB,IAAA,mBAAI,EAAC,wEAAwE,EAAE,GAAG,EAAE;IAClF,gBAAM,CAAC,KAAK,CAAC,gCAA0B,EAAE,8BAA8B,CAAC,CAAC;IACzE,gBAAM,CAAC,KAAK,CAAC,uBAAiB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IAC3C,gBAAM,CAAC,KAAK,CAAC,uBAAiB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACvD,gBAAM,CAAC,KAAK,CAAC,uBAAiB,CAAC,WAAW,EAAE,aAAa,CAAC,CAAC;IAC3D,gBAAM,CAAC,KAA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,EAAE,iDAAiD;QAChE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,iBAAiB,EAAE;QACjD,EAAE,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,oBAAoB,EAAE;QAClD,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,4DAA4D;QAC3E,YAAY,EAAE,+CAA+C;QAC7D,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAC9C,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,sDAAsD,EAAE,CAAC;QAC/F,QAAQ,EAAE,OAAO;QACjB,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,uCAAuC,EAAE,CAAC;KAC5F,CAAC,CAAC;IAEH,gBAAM,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAC5C,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scoutflo/topology-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Pure shared topology vocabulary and Zod schemas for Scoutflo topology workflows.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"author": "Scoutflo",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@scoutflo/correlation-core": "0.
|
|
23
|
+
"@scoutflo/correlation-core": "0.2.0",
|
|
24
24
|
"zod": "^3.23.8"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|