@scoutflo/topology-contracts 0.7.27 → 0.8.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.
@@ -1,11 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.nestedTopologyNodeSchema = exports.nestedTopologyChildSchema = exports.nestedTopologyTruncationSchema = exports.nestedTopologyStatsSchema = exports.nestedTopologyLimitsSchema = exports.nestedTopologyRelationshipSchema = exports.nestedTopologyEvidenceSchema = exports.nestedTopologyTruncationReasonSchema = exports.diagnosticCriticalitySchema = exports.GATEWAY_TOPOLOGY_CONTEXT_VERSION = void 0;
3
+ exports.gatewayTopologyContextSchema = exports.gatewayTopologyDiagnosticsSchema = exports.DEFAULT_TOPOLOGY_PROJECTION_COMPATIBILITY = exports.topologyProjectionCompatibilitySchema = exports.topologyBindingHintsSchema = exports.topologyBindingHintSchema = exports.topologyInvestigationContextSchema = exports.relatedServiceInfoSchema = exports.investigationResourceSchema = exports.targetServiceInfoSchema = exports.topologyInitializationStateSchema = exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema = exports.topologyReasonCodeSchema = exports.nestedTopologyResponseSchema = exports.nestedTopologyTruncationSchema = exports.nestedTopologyStatsSchema = exports.nestedTopologyLimitsSchema = exports.nestedTopologyRelationshipSchema = exports.nestedTopologyEvidenceSchema = exports.nestedTopologyTruncationReasonSchema = exports.diagnosticCriticalitySchema = exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS = exports.GATEWAY_TOPOLOGY_CONTEXT_VERSION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const correlation_core_1 = require("@scoutflo/correlation-core");
6
6
  const providers_1 = require("../providers");
7
7
  const common_1 = require("../source-sync/common");
8
8
  exports.GATEWAY_TOPOLOGY_CONTEXT_VERSION = 'topology.gateway-context.v1';
9
+ exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS = {
10
+ string: 2048,
11
+ userMessage: 4096,
12
+ reasonCodes: 32,
13
+ candidateTargets: 25,
14
+ candidateEvidence: 25,
15
+ bindingHints: 50,
16
+ investigationResources: 100,
17
+ relatedServicesPerDirection: 100,
18
+ nestedChildrenPerNode: 100,
19
+ nestedEvidencePerRelationship: 25,
20
+ preferredBindingSpecialists: 25,
21
+ mapKey: 128,
22
+ maxDepth: 12,
23
+ maxNodes: 1000,
24
+ aggregateBytes: 1048576,
25
+ };
26
+ const boundedStringSchema = zod_1.z.string().min(1).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.string);
27
+ const reasonCodesSchema = zod_1.z.array(boundedStringSchema)
28
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.reasonCodes);
9
29
  exports.diagnosticCriticalitySchema = zod_1.z.enum([
10
30
  'blocking',
11
31
  'degrading',
@@ -17,22 +37,74 @@ exports.nestedTopologyTruncationReasonSchema = zod_1.z.enum([
17
37
  'max_edges',
18
38
  'max_children_per_node',
19
39
  ]);
20
- exports.nestedTopologyEvidenceSchema = correlation_core_1.correlationEvidenceSchema;
40
+ exports.nestedTopologyEvidenceSchema = correlation_core_1.correlationEvidenceSchema.extend({
41
+ type: boundedStringSchema,
42
+ ref: boundedStringSchema,
43
+ summary: boundedStringSchema.optional(),
44
+ sourcePath: boundedStringSchema.optional(),
45
+ facts: zod_1.z.array(correlation_core_1.correlationEvidenceSchema.shape.facts.unwrap().element).max(50).optional(),
46
+ provider: boundedStringSchema.optional(),
47
+ });
48
+ const PREFLIGHT_REJECTED = Symbol('gateway-topology-context-preflight-rejected');
49
+ function withinStructuralBudget(value) {
50
+ const stack = [{ value, depth: 0 }];
51
+ const seen = new WeakSet();
52
+ let nodes = 0;
53
+ let bytes = 0;
54
+ while (stack.length > 0) {
55
+ const current = stack.pop();
56
+ if (!current)
57
+ break;
58
+ if (current.depth > exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.maxDepth)
59
+ return false;
60
+ const item = current.value;
61
+ if (typeof item === 'string') {
62
+ bytes += Buffer.byteLength(item, 'utf8');
63
+ }
64
+ else if (item && typeof item === 'object') {
65
+ // JSON transport cannot contain cycles or repeated object identities. Reject both
66
+ // before recursive Zod evaluation rather than allowing a cycle to reach z.lazy().
67
+ if (seen.has(item))
68
+ return false;
69
+ seen.add(item);
70
+ nodes += 1;
71
+ if (nodes > exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.maxNodes)
72
+ return false;
73
+ for (const [key, child] of Object.entries(item)) {
74
+ if (key.length > exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.mapKey)
75
+ return false;
76
+ bytes += Buffer.byteLength(key, 'utf8');
77
+ stack.push({ value: child, depth: current.depth + 1 });
78
+ }
79
+ }
80
+ else {
81
+ bytes += Buffer.byteLength(String(item ?? ''), 'utf8');
82
+ }
83
+ if (bytes > exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.aggregateBytes)
84
+ return false;
85
+ }
86
+ return true;
87
+ }
88
+ function structuralPreflight(value) {
89
+ return withinStructuralBudget(value) ? value : PREFLIGHT_REJECTED;
90
+ }
21
91
  exports.nestedTopologyRelationshipSchema = zod_1.z.object({
22
- id: common_1.nonEmptyStringSchema,
23
- relation: common_1.nonEmptyStringSchema,
24
- relation_class: common_1.nonEmptyStringSchema.optional(),
92
+ id: boundedStringSchema,
93
+ relation: boundedStringSchema,
94
+ relation_class: boundedStringSchema.optional(),
25
95
  diagnostic_criticality: exports.diagnosticCriticalitySchema.optional(),
26
- attribute_schema_key: common_1.nonEmptyStringSchema.optional(),
96
+ attribute_schema_key: boundedStringSchema.optional(),
27
97
  attributes: common_1.recordSchema.optional(),
28
- evidence: zod_1.z.array(exports.nestedTopologyEvidenceSchema).optional(),
98
+ evidence: zod_1.z.array(exports.nestedTopologyEvidenceSchema)
99
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.nestedEvidencePerRelationship)
100
+ .optional(),
29
101
  }).passthrough();
30
102
  const nestedTopologyNodeBaseSchema = zod_1.z.object({
31
103
  entity_type: common_1.entityKindSchema,
32
- id: common_1.nonEmptyStringSchema,
104
+ id: boundedStringSchema,
33
105
  entity: common_1.recordSchema.optional(),
34
- root_refs: zod_1.z.record(common_1.nonEmptyStringSchema).optional(),
35
- is_hierarchy_root_types: zod_1.z.array(common_1.nonEmptyStringSchema).optional(),
106
+ root_refs: zod_1.z.record(zod_1.z.string().min(1).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.mapKey), boundedStringSchema).optional(),
107
+ is_hierarchy_root_types: zod_1.z.array(boundedStringSchema).max(50).optional(),
36
108
  already_visited: zod_1.z.boolean().optional(),
37
109
  children_truncated: zod_1.z.boolean().optional(),
38
110
  children_omitted: zod_1.z.number().int().min(0).optional(),
@@ -61,26 +133,34 @@ exports.nestedTopologyTruncationSchema = zod_1.z.object({
61
133
  edges_omitted: zod_1.z.number().int().min(0).optional(),
62
134
  max_depth_reached: zod_1.z.number().int().min(0).optional(),
63
135
  }).passthrough();
64
- exports.nestedTopologyChildSchema = zod_1.z.lazy(() => nestedTopologyNodeBaseSchema.extend({
136
+ const nestedTopologyChildSchema = zod_1.z.lazy(() => nestedTopologyNodeBaseSchema.extend({
65
137
  relationship: exports.nestedTopologyRelationshipSchema,
66
- children: zod_1.z.array(exports.nestedTopologyChildSchema),
138
+ children: zod_1.z.array(nestedTopologyChildSchema)
139
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.nestedChildrenPerNode),
67
140
  }).passthrough());
68
- exports.nestedTopologyNodeSchema = nestedTopologyNodeBaseSchema.extend({
69
- children: zod_1.z.array(exports.nestedTopologyChildSchema),
141
+ const nestedTopologyNodeSchema = nestedTopologyNodeBaseSchema.extend({
142
+ children: zod_1.z.array(nestedTopologyChildSchema)
143
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.nestedChildrenPerNode),
70
144
  }).passthrough();
71
- exports.nestedTopologyResponseSchema = zod_1.z.object({
145
+ const nestedTopologyResponseBaseSchema = zod_1.z.object({
72
146
  status: zod_1.z.union([zod_1.z.literal('success'), zod_1.z.number()]),
73
- topology: exports.nestedTopologyNodeSchema,
147
+ topology: nestedTopologyNodeSchema,
74
148
  stats: exports.nestedTopologyStatsSchema.optional(),
75
149
  limits: exports.nestedTopologyLimitsSchema.optional(),
76
150
  truncation: exports.nestedTopologyTruncationSchema.optional(),
77
151
  }).passthrough();
78
- exports.topologyReasonCodeSchema = common_1.nonEmptyStringSchema;
152
+ exports.nestedTopologyResponseSchema = zod_1.z.preprocess(structuralPreflight, nestedTopologyResponseBaseSchema);
153
+ exports.topologyReasonCodeSchema = boundedStringSchema;
79
154
  exports.topologyCandidateTargetSchema = zod_1.z.object({
80
155
  entityType: common_1.entityKindSchema,
81
- id: common_1.nonEmptyStringSchema,
82
- displayName: common_1.nonEmptyStringSchema.optional(),
156
+ id: boundedStringSchema,
157
+ displayName: boundedStringSchema.optional(),
83
158
  confidence: zod_1.z.number().min(0).optional(),
159
+ normalizedConfidence: zod_1.z.number().min(0).max(1).optional(),
160
+ evidence: zod_1.z.array(exports.nestedTopologyEvidenceSchema)
161
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.candidateEvidence)
162
+ .optional(),
163
+ reasonCodes: reasonCodesSchema.optional(),
84
164
  }).passthrough();
85
165
  exports.topologyPrimaryAnchorSchema = exports.topologyCandidateTargetSchema;
86
166
  exports.topologyInitializationStateSchema = zod_1.z.object({
@@ -92,10 +172,11 @@ exports.topologyInitializationStateSchema = zod_1.z.object({
92
172
  'unresolved',
93
173
  'topology_temporarily_unavailable',
94
174
  ]),
95
- resolvedVia: common_1.nonEmptyStringSchema,
175
+ resolvedVia: boundedStringSchema,
96
176
  confidence: zod_1.z.number().min(0),
97
- reasonCodes: zod_1.z.array(exports.topologyReasonCodeSchema),
98
- candidateTargets: zod_1.z.array(exports.topologyCandidateTargetSchema),
177
+ reasonCodes: reasonCodesSchema,
178
+ candidateTargets: zod_1.z.array(exports.topologyCandidateTargetSchema)
179
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.candidateTargets),
99
180
  primaryAnchor: exports.topologyPrimaryAnchorSchema.nullable(),
100
181
  topologyScope: zod_1.z.enum([
101
182
  'narrow',
@@ -104,71 +185,153 @@ exports.topologyInitializationStateSchema = zod_1.z.object({
104
185
  'resource',
105
186
  'alert_only',
106
187
  ]),
107
- userMessage: common_1.nonEmptyStringSchema,
188
+ userMessage: zod_1.z.string().min(1).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.userMessage),
108
189
  topologyAvailable: zod_1.z.boolean(),
109
190
  }).passthrough();
110
191
  exports.targetServiceInfoSchema = zod_1.z.object({
111
- id: common_1.nonEmptyStringSchema,
112
- name: common_1.nonEmptyStringSchema,
113
- displayName: common_1.nonEmptyStringSchema,
114
- serviceType: common_1.nonEmptyStringSchema,
115
- criticality: common_1.nonEmptyStringSchema,
116
- environment: common_1.nonEmptyStringSchema,
192
+ id: boundedStringSchema,
193
+ name: boundedStringSchema,
194
+ displayName: boundedStringSchema,
195
+ serviceType: boundedStringSchema,
196
+ criticality: boundedStringSchema,
197
+ business_criticality: boundedStringSchema.optional(),
198
+ environment: boundedStringSchema,
117
199
  }).passthrough();
118
200
  exports.investigationResourceSchema = zod_1.z.object({
119
- id: common_1.nonEmptyStringSchema,
120
- name: common_1.nonEmptyStringSchema,
121
- type: common_1.nonEmptyStringSchema,
122
- provider: providers_1.topologyProviderInputSchema.or(common_1.nonEmptyStringSchema),
123
- relationship: common_1.nonEmptyStringSchema,
124
- investigationHint: common_1.nonEmptyStringSchema,
125
- attributeSchemaKey: common_1.nonEmptyStringSchema.optional(),
201
+ id: boundedStringSchema,
202
+ name: boundedStringSchema,
203
+ type: boundedStringSchema,
204
+ provider: providers_1.topologyProviderInputSchema.or(boundedStringSchema),
205
+ relationship: boundedStringSchema,
206
+ investigationHint: boundedStringSchema,
207
+ attributeSchemaKey: boundedStringSchema.optional(),
126
208
  attributes: common_1.recordSchema.optional(),
127
209
  }).passthrough();
128
210
  exports.relatedServiceInfoSchema = zod_1.z.object({
129
- name: common_1.nonEmptyStringSchema,
130
- displayName: common_1.nonEmptyStringSchema,
131
- relation: common_1.nonEmptyStringSchema,
132
- criticality: common_1.nonEmptyStringSchema,
211
+ name: boundedStringSchema,
212
+ displayName: boundedStringSchema,
213
+ relation: boundedStringSchema,
214
+ criticality: boundedStringSchema,
215
+ business_criticality: boundedStringSchema.optional(),
216
+ environment: boundedStringSchema.optional(),
133
217
  }).passthrough();
134
218
  exports.topologyInvestigationContextSchema = zod_1.z.object({
135
219
  topologyAvailable: zod_1.z.boolean(),
136
220
  targetService: exports.targetServiceInfoSchema.nullable(),
137
- investigationResources: zod_1.z.array(exports.investigationResourceSchema),
221
+ investigationResources: zod_1.z.array(exports.investigationResourceSchema)
222
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.investigationResources),
138
223
  relatedServices: zod_1.z.object({
139
- upstream: zod_1.z.array(exports.relatedServiceInfoSchema),
140
- downstream: zod_1.z.array(exports.relatedServiceInfoSchema),
224
+ upstream: zod_1.z.array(exports.relatedServiceInfoSchema)
225
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.relatedServicesPerDirection),
226
+ downstream: zod_1.z.array(exports.relatedServiceInfoSchema)
227
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.relatedServicesPerDirection),
141
228
  }),
142
- naturalLanguageSummary: common_1.nonEmptyStringSchema,
229
+ naturalLanguageSummary: zod_1.z.string().min(1).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.userMessage),
143
230
  inferenceMetadata: common_1.recordSchema.optional(),
144
231
  }).passthrough();
145
232
  exports.topologyBindingHintSchema = zod_1.z.object({
146
- provider: providers_1.topologyProviderInputSchema.or(common_1.nonEmptyStringSchema),
147
- resourceId: common_1.nonEmptyStringSchema.optional(),
148
- externalId: common_1.nonEmptyStringSchema.optional(),
149
- sourceCollection: common_1.nonEmptyStringSchema.optional(),
150
- resourceType: common_1.nonEmptyStringSchema.optional(),
151
- serviceId: common_1.nonEmptyStringSchema.optional(),
233
+ provider: providers_1.topologyProviderInputSchema.or(boundedStringSchema),
234
+ resourceId: boundedStringSchema.optional(),
235
+ externalId: boundedStringSchema.optional(),
236
+ sourceCollection: boundedStringSchema.optional(),
237
+ resourceType: boundedStringSchema.optional(),
238
+ serviceId: boundedStringSchema.optional(),
152
239
  confidence: zod_1.z.number().min(0).optional(),
153
- relation: common_1.nonEmptyStringSchema.optional(),
240
+ relation: boundedStringSchema.optional(),
154
241
  origin: zod_1.z.enum(['source', 'topology', 'source_and_topology']).optional(),
155
242
  }).passthrough();
156
243
  exports.topologyBindingHintsSchema = zod_1.z.object({
157
244
  sourceIntegrationHint: zod_1.z.object({
158
- provider: providers_1.topologyProviderInputSchema.or(common_1.nonEmptyStringSchema).optional(),
159
- integrationId: common_1.nonEmptyStringSchema.optional(),
245
+ provider: providers_1.topologyProviderInputSchema.or(boundedStringSchema).optional(),
246
+ integrationId: boundedStringSchema.optional(),
247
+ }).optional(),
248
+ candidateBindings: zod_1.z.array(exports.topologyBindingHintSchema)
249
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.bindingHints),
250
+ preferredBindingsBySpecialist: zod_1.z.record(zod_1.z.string().min(1).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.mapKey), zod_1.z.array(exports.topologyBindingHintSchema).max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.bindingHints)).superRefine((bindings, ctx) => {
251
+ if (Object.keys(bindings).length > exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.preferredBindingSpecialists) {
252
+ ctx.addIssue({
253
+ code: zod_1.z.ZodIssueCode.too_big,
254
+ type: 'array',
255
+ maximum: exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.preferredBindingSpecialists,
256
+ inclusive: true,
257
+ message: 'too many preferred binding specialist keys',
258
+ });
259
+ }
160
260
  }).optional(),
161
- candidateBindings: zod_1.z.array(exports.topologyBindingHintSchema),
162
- preferredBindingsBySpecialist: zod_1.z.record(zod_1.z.array(exports.topologyBindingHintSchema)).optional(),
163
261
  }).passthrough();
164
- exports.gatewayTopologyContextSchema = zod_1.z.object({
262
+ exports.topologyProjectionCompatibilitySchema = zod_1.z.object({
263
+ canonicalAuthority: zod_1.z.literal('topologySlice_when_present'),
264
+ fallbackAuthority: zod_1.z.literal('legacy_projection_when_topologySlice_absent'),
265
+ legacyProjection: zod_1.z.object({
266
+ fields: zod_1.z.tuple([
267
+ zod_1.z.literal('investigationContext.investigationResources'),
268
+ zod_1.z.literal('investigationContext.relatedServices'),
269
+ ]),
270
+ status: zod_1.z.literal('deprecated'),
271
+ semantics: zod_1.z.literal('derived_projection'),
272
+ }).strict(),
273
+ }).strict();
274
+ exports.DEFAULT_TOPOLOGY_PROJECTION_COMPATIBILITY = {
275
+ canonicalAuthority: 'topologySlice_when_present',
276
+ fallbackAuthority: 'legacy_projection_when_topologySlice_absent',
277
+ legacyProjection: {
278
+ fields: [
279
+ 'investigationContext.investigationResources',
280
+ 'investigationContext.relatedServices',
281
+ ],
282
+ status: 'deprecated',
283
+ semantics: 'derived_projection',
284
+ },
285
+ };
286
+ exports.gatewayTopologyDiagnosticsSchema = zod_1.z.object({
287
+ providerDetail: zod_1.z.object({
288
+ fetched: zod_1.z.boolean(),
289
+ truncated: zod_1.z.boolean().nullable(),
290
+ omittedBytes: zod_1.z.number().int().min(0).optional(),
291
+ }).strict().optional(),
292
+ storedEvidencePreview: zod_1.z.object({
293
+ available: zod_1.z.boolean(),
294
+ truncated: zod_1.z.boolean(),
295
+ omittedBytes: zod_1.z.number().int().min(0).optional(),
296
+ }).strict().optional(),
297
+ topologySlice: zod_1.z.object({
298
+ status: zod_1.z.enum(['not_requested', 'available', 'unavailable']),
299
+ requested: zod_1.z.boolean(),
300
+ available: zod_1.z.boolean(),
301
+ truncated: zod_1.z.boolean(),
302
+ reasons: zod_1.z.array(exports.nestedTopologyTruncationReasonSchema)
303
+ .max(exports.GATEWAY_TOPOLOGY_CONTEXT_LIMITS.reasonCodes),
304
+ }).strict().optional(),
305
+ }).passthrough().superRefine((diagnostics, ctx) => {
306
+ if (diagnostics.topologySlice?.truncated && !diagnostics.topologySlice.reasons.length) {
307
+ ctx.addIssue({
308
+ code: zod_1.z.ZodIssueCode.custom,
309
+ path: ['topologySlice', 'reasons'],
310
+ message: 'reasons is required when topologySlice.truncated is true',
311
+ });
312
+ }
313
+ const slice = diagnostics.topologySlice;
314
+ if (slice && ((slice.status === 'not_requested' && slice.requested)
315
+ || (slice.status === 'available' && (!slice.requested || !slice.available))
316
+ || (slice.status === 'unavailable' && (!slice.requested || slice.available)))) {
317
+ ctx.addIssue({
318
+ code: zod_1.z.ZodIssueCode.custom,
319
+ path: ['topologySlice', 'status'],
320
+ message: 'topologySlice status must agree with requested and available',
321
+ });
322
+ }
323
+ });
324
+ const gatewayTopologyContextBaseSchema = zod_1.z.object({
165
325
  version: zod_1.z.literal(exports.GATEWAY_TOPOLOGY_CONTEXT_VERSION),
166
326
  initialization: exports.topologyInitializationStateSchema,
167
327
  investigationContext: exports.topologyInvestigationContextSchema,
168
328
  bindingHints: exports.topologyBindingHintsSchema,
169
- reasonCodes: zod_1.z.array(exports.topologyReasonCodeSchema).optional(),
329
+ reasonCodes: reasonCodesSchema.optional(),
170
330
  selectedTarget: correlation_core_1.correlationEntityRefSchema.optional(),
171
331
  topologySlice: exports.nestedTopologyResponseSchema.nullable().optional(),
172
- diagnostics: common_1.recordSchema.optional(),
332
+ compatibility: exports.topologyProjectionCompatibilitySchema
333
+ .default(exports.DEFAULT_TOPOLOGY_PROJECTION_COMPATIBILITY),
334
+ diagnostics: exports.gatewayTopologyDiagnosticsSchema.optional(),
173
335
  }).passthrough();
336
+ exports.gatewayTopologyContextSchema = zod_1.z.preprocess(structuralPreflight, gatewayTopologyContextBaseSchema);
174
337
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/investigation/context.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,iEAGoC;AACpC,4CAA2D;AAC3D,kDAI+B;AAElB,QAAA,gCAAgC,GAAG,6BAA6B,CAAC;AAEjE,QAAA,2BAA2B,GAAG,OAAC,CAAC,IAAI,CAAC;IAChD,UAAU;IACV,WAAW;IACX,UAAU;CACX,CAAC,CAAC;AAEU,QAAA,oCAAoC,GAAG,OAAC,CAAC,IAAI,CAAC;IACzD,WAAW;IACX,WAAW;IACX,WAAW;IACX,uBAAuB;CACxB,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,4CAAyB,CAAC;AAEzD,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,EAAE,EAAE,6BAAoB;IACxB,QAAQ,EAAE,6BAAoB;IAC9B,cAAc,EAAE,6BAAoB,CAAC,QAAQ,EAAE;IAC/C,sBAAsB,EAAE,mCAA2B,CAAC,QAAQ,EAAE;IAC9D,oBAAoB,EAAE,6BAAoB,CAAC,QAAQ,EAAE;IACrD,UAAU,EAAE,qBAAY,CAAC,QAAQ,EAAE;IACnC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,oCAA4B,CAAC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC,WAAW,EAAE,CAAC;AAuBjB,MAAM,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,WAAW,EAAE,yBAAgB;IAC7B,EAAE,EAAE,6BAAoB;IACxB,MAAM,EAAE,qBAAY,CAAC,QAAQ,EAAE;IAC/B,SAAS,EAAE,O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E;IACrD,aAAa,EAAE,oCAA4B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACjE,aAAa,EAAE,6CAAqC;SACjD,OAAO,CAAC,iDAAyC,CAAC;IACrD,WAAW,EAAE,wCAAgC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,WAAW,EAAE,CAAC;AAEJ,QAAA,4BAA4B,GAAG,OAAC,CAAC,UAAU,CACtD,mBAAmB,EACnB,gCAAgC,CACjC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './runtimeContainer';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./runtimeContainer"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/provenance/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}