@neat.is/types 0.9.12-dev.20260831 → 0.9.13-dev.20260901
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/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +240 -0
- package/dist/index.d.ts +240 -0
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -450,6 +450,15 @@ var ServiceNodeSchema = import_zod3.z.object({
|
|
|
450
450
|
discoveredVia: DiscoveredViaSchema.optional(),
|
|
451
451
|
version: import_zod3.z.string().optional(),
|
|
452
452
|
dbConnectionTarget: import_zod3.z.string().optional(),
|
|
453
|
+
// Declared k8s deploy state, read from a workload manifest (the k8s substrate
|
|
454
|
+
// extractor, `extract/infra/k8s.ts`): the desired container image and replica
|
|
455
|
+
// count. Fused on this same `service:<name>` node against the observed cluster's
|
|
456
|
+
// running image / ready replicas (stamped by the k8s observed reader) to name a
|
|
457
|
+
// declared-vs-running deploy divergence — the stuck rollout that mints no incident
|
|
458
|
+
// because the service is still up on the old image. Optional growth (ADR-031),
|
|
459
|
+
// absent on a non-k8s service. See docs/contracts/schema.md.
|
|
460
|
+
declaredImage: import_zod3.z.string().optional(),
|
|
461
|
+
declaredReplicas: import_zod3.z.number().optional(),
|
|
453
462
|
repoPath: import_zod3.z.string().optional(),
|
|
454
463
|
owner: import_zod3.z.string().optional(),
|
|
455
464
|
dependencies: import_zod3.z.record(import_zod3.z.string(), import_zod3.z.string()).optional(),
|
|
@@ -553,7 +562,18 @@ var InfraNodeSchema = import_zod3.z.object({
|
|
|
553
562
|
// ⇒ the collection's guard is indeterminate ⇒ the check stays silent. Optional
|
|
554
563
|
// growth (ADR-031); no version step — it only appears on nodes a post-ADR-169
|
|
555
564
|
// pass folds it onto.
|
|
556
|
-
guardedFields: import_zod3.z.array(import_zod3.z.string()).optional()
|
|
565
|
+
guardedFields: import_zod3.z.array(import_zod3.z.string()).optional(),
|
|
566
|
+
// Declared deploy state on a k8s workload InfraNode (`k8s-deployment`,
|
|
567
|
+
// `k8s-statefulset`, ...): the desired container image + replica count read from
|
|
568
|
+
// the manifest, and the workload's namespace (carried as an attribute since the
|
|
569
|
+
// node is keyed name-only — the only key the manifest and the live cluster can
|
|
570
|
+
// both produce when a manifest omits `metadata.namespace`). Absent on a non-workload
|
|
571
|
+
// InfraNode. Optional growth (ADR-031); no version step. The declared-vs-running
|
|
572
|
+
// deploy compare lives on the ServiceNode (`declaredImage`/`declaredReplicas`); these
|
|
573
|
+
// carry the same declared facts on the topology node for traversal/blast-radius.
|
|
574
|
+
image: import_zod3.z.string().optional(),
|
|
575
|
+
replicas: import_zod3.z.number().optional(),
|
|
576
|
+
namespace: import_zod3.z.string().optional()
|
|
557
577
|
});
|
|
558
578
|
var FrontierNodeSchema = import_zod3.z.object({
|
|
559
579
|
id: import_zod3.z.string(),
|