@company-semantics/contracts 85.0.0 → 85.1.0
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/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = '90f648ff0c6c' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '90f648ff0c6cb1f68e7ffaaa08a4e2606b111519803a5fe0346970679dda43ba' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -60,9 +60,19 @@ export const SourceSyncFindingsResponseSchema = z.object({
|
|
|
60
60
|
findings: z.array(SourceSyncFindingSchema).max(500),
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Dismiss one finding. Who dismissed it is the authenticated caller.
|
|
65
|
+
* `expectedFingerprint` is the finding's fingerprint as the caller rendered it:
|
|
66
|
+
* when present, a finding that moved since is refused as changed. Optional
|
|
67
|
+
* during the expand step of the backend decision
|
|
68
|
+
* `findings-lifecycle-is-domain-agnostic`; required once dismissal becomes
|
|
69
|
+
* compare-and-set.
|
|
70
|
+
*/
|
|
64
71
|
export const SourceSyncDismissFindingRequestSchema = z
|
|
65
|
-
.object({
|
|
72
|
+
.object({
|
|
73
|
+
note: z.string().max(500).optional(),
|
|
74
|
+
expectedFingerprint: z.string().length(32).optional(),
|
|
75
|
+
})
|
|
66
76
|
.strict();
|
|
67
77
|
|
|
68
78
|
/**
|