@cat-factory/contracts 0.154.0 → 0.154.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/dist/notifications.d.ts +69 -2
- package/dist/notifications.d.ts.map +1 -1
- package/dist/notifications.js +35 -0
- package/dist/notifications.js.map +1 -1
- package/dist/public-api.d.ts +8 -1
- package/dist/public-api.d.ts.map +1 -1
- package/dist/routes/notifications.d.ts +24 -3
- package/dist/routes/notifications.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +24 -3
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/slack.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +16 -2
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/slack.d.ts +2 -2
- package/dist/snapshot.d.ts +8 -1
- package/dist/snapshot.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/notifications.d.ts
CHANGED
|
@@ -4,8 +4,31 @@ import * as v from 'valibot';
|
|
|
4
4
|
* the frontend can switch on it to render the right action; extending it is a
|
|
5
5
|
* one-line change here plus a handler in the worker's `act` route.
|
|
6
6
|
*/
|
|
7
|
-
export declare const notificationTypeSchema: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
7
|
+
export declare const notificationTypeSchema: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
8
8
|
export type NotificationType = v.InferOutput<typeof notificationTypeSchema>;
|
|
9
|
+
/**
|
|
10
|
+
* One credential the ENCRYPTION_KEY-drift sweep (ADR 0026 D6.2) could not decrypt, carried on a
|
|
11
|
+
* `key_drift` notification. NEVER carries the secret value — only its non-secret identity (source
|
|
12
|
+
* table, row id, a human label) plus WHY it failed, so the surfaced issue is legible and the
|
|
13
|
+
* operator's drop/re-seal action (D6.3) can target a specific one.
|
|
14
|
+
*/
|
|
15
|
+
export declare const keyDriftAffectedSchema: v.ObjectSchema<{
|
|
16
|
+
/** The store the secret lives in, e.g. `'environment_connection'` / `'observability_connection'`. */
|
|
17
|
+
readonly source: v.StringSchema<undefined>;
|
|
18
|
+
/** The owning row's id — the target of the drop action. */
|
|
19
|
+
readonly id: v.StringSchema<undefined>;
|
|
20
|
+
/** A human label (connection type / provider) for the card. */
|
|
21
|
+
readonly label: v.StringSchema<undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Why it failed: `key-mismatch` (sealed under a different ENCRYPTION_KEY — unrecoverable without
|
|
24
|
+
* it) or `corrupt` (malformed/foreign envelope — a separate fault). Only `key-mismatch` is true
|
|
25
|
+
* key drift; both are surfaced so a corrupt row isn't misread as a key change.
|
|
26
|
+
*/
|
|
27
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
28
|
+
/** Epoch ms the secret was sealed, when known — helps an operator correlate a key change. */
|
|
29
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
export type KeyDriftAffected = v.InferOutput<typeof keyDriftAffectedSchema>;
|
|
9
32
|
/**
|
|
10
33
|
* Lifecycle of a notification: `open` until a human engages, terminal `acted`
|
|
11
34
|
* once its action ran (merged, confirmed, retried…), or `dismissed` when waved
|
|
@@ -91,12 +114,34 @@ export declare const notificationPayloadSchema: v.ObjectSchema<{
|
|
|
91
114
|
* card links to); the reason set + window are enough to convey "what's wrong, go look".
|
|
92
115
|
*/
|
|
93
116
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* On a `key_drift` notification: the stored credentials the drift sweep could not decrypt
|
|
119
|
+
* (never their values). This is the card's dedup identity — the sweep re-raises the SAME card
|
|
120
|
+
* each run but only re-delivers when this set changes — AND the list the drop/re-seal action
|
|
121
|
+
* (D6.3) targets. Sorted by `(source, id)` so the identity is stable across sweeps.
|
|
122
|
+
*/
|
|
123
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
124
|
+
/** The store the secret lives in, e.g. `'environment_connection'` / `'observability_connection'`. */
|
|
125
|
+
readonly source: v.StringSchema<undefined>;
|
|
126
|
+
/** The owning row's id — the target of the drop action. */
|
|
127
|
+
readonly id: v.StringSchema<undefined>;
|
|
128
|
+
/** A human label (connection type / provider) for the card. */
|
|
129
|
+
readonly label: v.StringSchema<undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* Why it failed: `key-mismatch` (sealed under a different ENCRYPTION_KEY — unrecoverable without
|
|
132
|
+
* it) or `corrupt` (malformed/foreign envelope — a separate fault). Only `key-mismatch` is true
|
|
133
|
+
* key drift; both are surfaced so a corrupt row isn't misread as a key change.
|
|
134
|
+
*/
|
|
135
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
136
|
+
/** Epoch ms the secret was sealed, when known — helps an operator correlate a key change. */
|
|
137
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
138
|
+
}, undefined>, undefined>, undefined>;
|
|
94
139
|
}, undefined>;
|
|
95
140
|
export type NotificationPayload = v.InferOutput<typeof notificationPayloadSchema>;
|
|
96
141
|
/** A human-actionable item surfaced on the board. */
|
|
97
142
|
export declare const notificationSchema: v.ObjectSchema<{
|
|
98
143
|
readonly id: v.StringSchema<undefined>;
|
|
99
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
144
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
100
145
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
101
146
|
/**
|
|
102
147
|
* Render urgency (see {@link notificationSeveritySchema}). Absent ⇒ `normal`. Flipped
|
|
@@ -174,6 +219,28 @@ export declare const notificationSchema: v.ObjectSchema<{
|
|
|
174
219
|
* card links to); the reason set + window are enough to convey "what's wrong, go look".
|
|
175
220
|
*/
|
|
176
221
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
222
|
+
/**
|
|
223
|
+
* On a `key_drift` notification: the stored credentials the drift sweep could not decrypt
|
|
224
|
+
* (never their values). This is the card's dedup identity — the sweep re-raises the SAME card
|
|
225
|
+
* each run but only re-delivers when this set changes — AND the list the drop/re-seal action
|
|
226
|
+
* (D6.3) targets. Sorted by `(source, id)` so the identity is stable across sweeps.
|
|
227
|
+
*/
|
|
228
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
229
|
+
/** The store the secret lives in, e.g. `'environment_connection'` / `'observability_connection'`. */
|
|
230
|
+
readonly source: v.StringSchema<undefined>;
|
|
231
|
+
/** The owning row's id — the target of the drop action. */
|
|
232
|
+
readonly id: v.StringSchema<undefined>;
|
|
233
|
+
/** A human label (connection type / provider) for the card. */
|
|
234
|
+
readonly label: v.StringSchema<undefined>;
|
|
235
|
+
/**
|
|
236
|
+
* Why it failed: `key-mismatch` (sealed under a different ENCRYPTION_KEY — unrecoverable without
|
|
237
|
+
* it) or `corrupt` (malformed/foreign envelope — a separate fault). Only `key-mismatch` is true
|
|
238
|
+
* key drift; both are surfaced so a corrupt row isn't misread as a key change.
|
|
239
|
+
*/
|
|
240
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
241
|
+
/** Epoch ms the secret was sealed, when known — helps an operator correlate a key change. */
|
|
242
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
243
|
+
}, undefined>, undefined>, undefined>;
|
|
177
244
|
}, undefined>, undefined>, undefined>;
|
|
178
245
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
179
246
|
/** When it left `open` (acted/dismissed); null while open. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyE5B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyE5B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,mXAmBjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;IACjC,qGAAqG;;IAErG,2DAA2D;;IAE3D,+DAA+D;;IAE/D;;;;OAIG;;IAEH,6FAA6F;;aAE7F,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,6DAA6C,CAAA;AAClF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CA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AAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAInE,yDAAyD;AACzD,eAAO,MAAM,+BAA+B,iDAAiC,CAAA;AAC7E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
|
package/dist/notifications.js
CHANGED
|
@@ -92,7 +92,30 @@ export const notificationTypeSchema = v.picklist([
|
|
|
92
92
|
'initiative',
|
|
93
93
|
'platform_health',
|
|
94
94
|
'budget_paused',
|
|
95
|
+
'key_drift',
|
|
95
96
|
]);
|
|
97
|
+
/**
|
|
98
|
+
* One credential the ENCRYPTION_KEY-drift sweep (ADR 0026 D6.2) could not decrypt, carried on a
|
|
99
|
+
* `key_drift` notification. NEVER carries the secret value — only its non-secret identity (source
|
|
100
|
+
* table, row id, a human label) plus WHY it failed, so the surfaced issue is legible and the
|
|
101
|
+
* operator's drop/re-seal action (D6.3) can target a specific one.
|
|
102
|
+
*/
|
|
103
|
+
export const keyDriftAffectedSchema = v.object({
|
|
104
|
+
/** The store the secret lives in, e.g. `'environment_connection'` / `'observability_connection'`. */
|
|
105
|
+
source: v.string(),
|
|
106
|
+
/** The owning row's id — the target of the drop action. */
|
|
107
|
+
id: v.string(),
|
|
108
|
+
/** A human label (connection type / provider) for the card. */
|
|
109
|
+
label: v.string(),
|
|
110
|
+
/**
|
|
111
|
+
* Why it failed: `key-mismatch` (sealed under a different ENCRYPTION_KEY — unrecoverable without
|
|
112
|
+
* it) or `corrupt` (malformed/foreign envelope — a separate fault). Only `key-mismatch` is true
|
|
113
|
+
* key drift; both are surfaced so a corrupt row isn't misread as a key change.
|
|
114
|
+
*/
|
|
115
|
+
reason: v.picklist(['key-mismatch', 'corrupt']),
|
|
116
|
+
/** Epoch ms the secret was sealed, when known — helps an operator correlate a key change. */
|
|
117
|
+
sealedAt: v.nullable(v.number()),
|
|
118
|
+
});
|
|
96
119
|
/**
|
|
97
120
|
* Lifecycle of a notification: `open` until a human engages, terminal `acted`
|
|
98
121
|
* once its action ran (merged, confirmed, retried…), or `dismissed` when waved
|
|
@@ -160,6 +183,13 @@ export const notificationPayloadSchema = v.object({
|
|
|
160
183
|
* card links to); the reason set + window are enough to convey "what's wrong, go look".
|
|
161
184
|
*/
|
|
162
185
|
platformAlerts: v.optional(v.array(platformAlertReasonSchema)),
|
|
186
|
+
/**
|
|
187
|
+
* On a `key_drift` notification: the stored credentials the drift sweep could not decrypt
|
|
188
|
+
* (never their values). This is the card's dedup identity — the sweep re-raises the SAME card
|
|
189
|
+
* each run but only re-delivers when this set changes — AND the list the drop/re-seal action
|
|
190
|
+
* (D6.3) targets. Sorted by `(source, id)` so the identity is stable across sweeps.
|
|
191
|
+
*/
|
|
192
|
+
driftAffected: v.optional(v.array(keyDriftAffectedSchema)),
|
|
163
193
|
});
|
|
164
194
|
/** A human-actionable item surfaced on the board. */
|
|
165
195
|
export const notificationSchema = v.object({
|
|
@@ -188,4 +218,9 @@ export const notificationSchema = v.object({
|
|
|
188
218
|
// ---- Request bodies -------------------------------------------------------
|
|
189
219
|
/** How a human resolved a notification from its card. */
|
|
190
220
|
export const resolveNotificationActionSchema = v.picklist(['act', 'dismiss']);
|
|
221
|
+
// Remediation of a drifted sealed credential (ADR 0026 D6.3) is explicit + per-secret but has NO
|
|
222
|
+
// HTTP contract: the in-app `key_drift` card action drops every credential it lists (batch), and
|
|
223
|
+
// the `key-drift:drop` operator CLI drops a single `(source, id)`. Neither takes a wire body, so
|
|
224
|
+
// there is deliberately no `dropKeyDriftSecret*` schema here — add one only if a per-secret HTTP
|
|
225
|
+
// drop endpoint is introduced.
|
|
191
226
|
//# sourceMappingURL=notifications.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,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C,cAAc;IACd,mBAAmB;IACnB,WAAW;IACX,aAAa;IACb,oBAAoB;IACpB,gBAAgB;IAChB,oBAAoB;IACpB,mBAAmB;IACnB,kBAAkB;IAClB,2BAA2B;IAC3B,cAAc;IACd,kBAAkB;IAClB,uBAAuB;IACvB,iBAAiB;IACjB,YAAY;IACZ,iBAAiB;IACjB,eAAe;
|
|
1
|
+
{"version":3,"file":"notifications.js","sourceRoot":"","sources":["../src/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAA;AACjG,OAAO,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAE1E,8EAA8E;AAC9E,iFAAiF;AACjF,wEAAwE;AACxE,8EAA8E;AAC9E,iEAAiE;AACjE,2EAA2E;AAC3E,oFAAoF;AACpF,8EAA8E;AAC9E,8EAA8E;AAC9E,iFAAiF;AACjF,gEAAgE;AAChE,oFAAoF;AACpF,qFAAqF;AACrF,+DAA+D;AAC/D,kFAAkF;AAClF,iFAAiF;AACjF,+EAA+E;AAC/E,kFAAkF;AAClF,iFAAiF;AACjF,uFAAuF;AACvF,4FAA4F;AAC5F,wFAAwF;AACxF,yFAAyF;AACzF,4FAA4F;AAC5F,0FAA0F;AAC1F,0FAA0F;AAC1F,4FAA4F;AAC5F,2FAA2F;AAC3F,6FAA6F;AAC7F,sFAAsF;AACtF,sFAAsF;AACtF,4FAA4F;AAC5F,gGAAgG;AAChG,6FAA6F;AAC7F,qFAAqF;AACrF,+FAA+F;AAC/F,gGAAgG;AAChG,+FAA+F;AAC/F,kGAAkG;AAClG,2FAA2F;AAC3F,6FAA6F;AAC7F,8FAA8F;AAC9F,0FAA0F;AAC1F,uFAAuF;AACvF,wFAAwF;AACxF,uFAAuF;AACvF,wFAAwF;A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DAA8D;IAC9D,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACnC,CAAC,CAAA;AAGF,8EAA8E;AAE9E,yDAAyD;AACzD,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAA;AAG7E,iGAAiG;AACjG,iGAAiG;AACjG,iGAAiG;AACjG,iGAAiG;AACjG,+BAA+B"}
|
package/dist/public-api.d.ts
CHANGED
|
@@ -269,7 +269,7 @@ export type PublicPipelineList = v.InferOutput<typeof publicPipelineListSchema>;
|
|
|
269
269
|
export declare const publicNotificationListSchema: v.ObjectSchema<{
|
|
270
270
|
readonly notifications: v.ArraySchema<v.ObjectSchema<{
|
|
271
271
|
readonly id: v.StringSchema<undefined>;
|
|
272
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
272
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
273
273
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
274
274
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
275
275
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -308,6 +308,13 @@ export declare const publicNotificationListSchema: v.ObjectSchema<{
|
|
|
308
308
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
309
309
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
310
310
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
311
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
312
|
+
readonly source: v.StringSchema<undefined>;
|
|
313
|
+
readonly id: v.StringSchema<undefined>;
|
|
314
|
+
readonly label: v.StringSchema<undefined>;
|
|
315
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
316
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
317
|
+
}, undefined>, undefined>, undefined>;
|
|
311
318
|
}, undefined>, undefined>, undefined>;
|
|
312
319
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
313
320
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
package/dist/public-api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../src/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,+BAA+B;AAC/B,eAAO,MAAM,yBAAyB;IACpC,wEAAwE;;IAExE,iEAAiE;;IAEjE,kFAAkF;;aAElF,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEtF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,iEAAiD,CAAA;AACnF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,2EAA2E;AAC3E,eAAO,MAAM,qBAAqB;IAChC,kDAAkD;;IAElD,iFAAiF;;aAEjF,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAA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const listNotificationsContract: {
|
|
|
28
28
|
}, undefined>;
|
|
29
29
|
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
30
30
|
readonly id: v.StringSchema<undefined>;
|
|
31
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
31
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
32
32
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
33
33
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
34
34
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -67,6 +67,13 @@ export declare const listNotificationsContract: {
|
|
|
67
67
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
68
68
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
69
69
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
70
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
71
|
+
readonly source: v.StringSchema<undefined>;
|
|
72
|
+
readonly id: v.StringSchema<undefined>;
|
|
73
|
+
readonly label: v.StringSchema<undefined>;
|
|
74
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
75
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
76
|
+
}, undefined>, undefined>, undefined>;
|
|
70
77
|
}, undefined>, undefined>, undefined>;
|
|
71
78
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
72
79
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -107,7 +114,7 @@ export declare const actNotificationContract: {
|
|
|
107
114
|
}, undefined>;
|
|
108
115
|
readonly 200: v.ObjectSchema<{
|
|
109
116
|
readonly id: v.StringSchema<undefined>;
|
|
110
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
117
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
111
118
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
112
119
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
113
120
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -146,6 +153,13 @@ export declare const actNotificationContract: {
|
|
|
146
153
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
147
154
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
148
155
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
156
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
157
|
+
readonly source: v.StringSchema<undefined>;
|
|
158
|
+
readonly id: v.StringSchema<undefined>;
|
|
159
|
+
readonly label: v.StringSchema<undefined>;
|
|
160
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
161
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
162
|
+
}, undefined>, undefined>, undefined>;
|
|
149
163
|
}, undefined>, undefined>, undefined>;
|
|
150
164
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
151
165
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -186,7 +200,7 @@ export declare const dismissNotificationContract: {
|
|
|
186
200
|
}, undefined>;
|
|
187
201
|
readonly 200: v.ObjectSchema<{
|
|
188
202
|
readonly id: v.StringSchema<undefined>;
|
|
189
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
203
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
190
204
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
191
205
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
192
206
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -225,6 +239,13 @@ export declare const dismissNotificationContract: {
|
|
|
225
239
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
226
240
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
227
241
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
242
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
243
|
+
readonly source: v.StringSchema<undefined>;
|
|
244
|
+
readonly id: v.StringSchema<undefined>;
|
|
245
|
+
readonly label: v.StringSchema<undefined>;
|
|
246
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
247
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
248
|
+
}, undefined>, undefined>, undefined>;
|
|
228
249
|
}, undefined>, undefined>, undefined>;
|
|
229
250
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
230
251
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/routes/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA"}
|
|
@@ -739,7 +739,7 @@ export declare const listPublicNotificationsContract: {
|
|
|
739
739
|
readonly 200: import("valibot").ObjectSchema<{
|
|
740
740
|
readonly notifications: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
741
741
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
742
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
742
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
743
743
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
744
744
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
745
745
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -778,6 +778,13 @@ export declare const listPublicNotificationsContract: {
|
|
|
778
778
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
779
779
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
780
780
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
781
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
782
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
783
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
784
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
785
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
786
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
787
|
+
}, undefined>, undefined>, undefined>;
|
|
781
788
|
}, undefined>, undefined>, undefined>;
|
|
782
789
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
783
790
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -820,7 +827,7 @@ export declare const actPublicNotificationContract: {
|
|
|
820
827
|
}, undefined>;
|
|
821
828
|
readonly 200: import("valibot").ObjectSchema<{
|
|
822
829
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
823
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
830
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
824
831
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
825
832
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
826
833
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -859,6 +866,13 @@ export declare const actPublicNotificationContract: {
|
|
|
859
866
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
860
867
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
861
868
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
869
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
870
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
871
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
872
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
873
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
874
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
875
|
+
}, undefined>, undefined>, undefined>;
|
|
862
876
|
}, undefined>, undefined>, undefined>;
|
|
863
877
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
864
878
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -900,7 +914,7 @@ export declare const dismissPublicNotificationContract: {
|
|
|
900
914
|
}, undefined>;
|
|
901
915
|
readonly 200: import("valibot").ObjectSchema<{
|
|
902
916
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
903
|
-
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
917
|
+
readonly type: import("valibot").PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
904
918
|
readonly status: import("valibot").PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
905
919
|
readonly severity: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
906
920
|
readonly blockId: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
@@ -939,6 +953,13 @@ export declare const dismissPublicNotificationContract: {
|
|
|
939
953
|
readonly unmergedRepos: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
940
954
|
readonly platformWindow: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
941
955
|
readonly platformAlerts: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
956
|
+
readonly driftAffected: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
957
|
+
readonly source: import("valibot").StringSchema<undefined>;
|
|
958
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
959
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
960
|
+
readonly reason: import("valibot").PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
961
|
+
readonly sealedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
962
|
+
}, undefined>, undefined>, undefined>;
|
|
942
963
|
}, undefined>, undefined>, undefined>;
|
|
943
964
|
readonly createdAt: import("valibot").NumberSchema<undefined>;
|
|
944
965
|
readonly resolvedAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../src/routes/public-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAyC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAIF,4DAA4D;AAC5D,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrC,CAAA;AAEF,qCAAqC;AACrC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMnC,CAAA;AAEF,0FAA0F;AAC1F,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAEF,2BAA2B;AAC3B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA;AAEF,0BAA0B;AAC1B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,yDAAyD;AACzD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI1C,CAAA;AAEF,mGAAmG;AACnG,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA;AAEF,mDAAmD;AACnD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA"}
|
package/dist/routes/slack.d.ts
CHANGED
|
@@ -200,7 +200,7 @@ export declare const getSlackSettingsContract: {
|
|
|
200
200
|
}, undefined>;
|
|
201
201
|
}, undefined>;
|
|
202
202
|
readonly 200: v.ObjectSchema<{
|
|
203
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
203
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
204
204
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
205
205
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
206
206
|
}, undefined>, undefined>;
|
|
@@ -213,7 +213,7 @@ export declare const updateSlackSettingsContract: {
|
|
|
213
213
|
readonly method: "put";
|
|
214
214
|
readonly pathResolver: () => string;
|
|
215
215
|
readonly requestBodySchema: v.ObjectSchema<{
|
|
216
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
216
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
217
217
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
218
218
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
219
219
|
}, undefined>, undefined>;
|
|
@@ -243,7 +243,7 @@ export declare const updateSlackSettingsContract: {
|
|
|
243
243
|
}, undefined>;
|
|
244
244
|
}, undefined>;
|
|
245
245
|
readonly 200: v.ObjectSchema<{
|
|
246
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
246
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
247
247
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
248
248
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
249
249
|
}, undefined>, undefined>;
|
|
@@ -1413,7 +1413,7 @@ export declare const createWorkspaceContract: {
|
|
|
1413
1413
|
}, undefined>, undefined>;
|
|
1414
1414
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1415
1415
|
readonly id: v.StringSchema<undefined>;
|
|
1416
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
1416
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
1417
1417
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1418
1418
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1419
1419
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1452,6 +1452,13 @@ export declare const createWorkspaceContract: {
|
|
|
1452
1452
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1453
1453
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
1454
1454
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
1455
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1456
|
+
readonly source: v.StringSchema<undefined>;
|
|
1457
|
+
readonly id: v.StringSchema<undefined>;
|
|
1458
|
+
readonly label: v.StringSchema<undefined>;
|
|
1459
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1460
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1461
|
+
}, undefined>, undefined>, undefined>;
|
|
1455
1462
|
}, undefined>, undefined>, undefined>;
|
|
1456
1463
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1457
1464
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -3683,7 +3690,7 @@ export declare const getWorkspaceContract: {
|
|
|
3683
3690
|
}, undefined>, undefined>;
|
|
3684
3691
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3685
3692
|
readonly id: v.StringSchema<undefined>;
|
|
3686
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
3693
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
3687
3694
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
3688
3695
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
3689
3696
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -3722,6 +3729,13 @@ export declare const getWorkspaceContract: {
|
|
|
3722
3729
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3723
3730
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
3724
3731
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
3732
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3733
|
+
readonly source: v.StringSchema<undefined>;
|
|
3734
|
+
readonly id: v.StringSchema<undefined>;
|
|
3735
|
+
readonly label: v.StringSchema<undefined>;
|
|
3736
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
3737
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
3738
|
+
}, undefined>, undefined>, undefined>;
|
|
3725
3739
|
}, undefined>, undefined>, undefined>;
|
|
3726
3740
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
3727
3741
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AA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disabled, or with an empty channel does not post.
|
|
31
31
|
*/
|
|
32
32
|
export declare const slackNotificationSettingsSchema: v.ObjectSchema<{
|
|
33
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
33
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
34
34
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
35
35
|
/** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
|
|
36
36
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
|
@@ -83,7 +83,7 @@ export declare const connectSlackByTokenSchema: v.ObjectSchema<{
|
|
|
83
83
|
export type ConnectSlackByTokenInput = v.InferOutput<typeof connectSlackByTokenSchema>;
|
|
84
84
|
/** Replace a workspace's Slack notification routing. */
|
|
85
85
|
export declare const updateSlackSettingsSchema: v.ObjectSchema<{
|
|
86
|
-
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>, v.ObjectSchema<{
|
|
86
|
+
readonly routes: v.RecordSchema<v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>, v.ObjectSchema<{
|
|
87
87
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
88
88
|
/** A channel id (`C0123…`) or name (`#general`); empty = unrouted. */
|
|
89
89
|
readonly channel: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1388,7 +1388,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1388
1388
|
*/
|
|
1389
1389
|
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1390
1390
|
readonly id: v.StringSchema<undefined>;
|
|
1391
|
-
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused"], undefined>;
|
|
1391
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "visual_confirmation_ready", "human_review", "followup_pending", "fork_decision_pending", "pr_review_ready", "initiative", "platform_health", "budget_paused", "key_drift"], undefined>;
|
|
1392
1392
|
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1393
1393
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1394
1394
|
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -1427,6 +1427,13 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1427
1427
|
readonly unmergedRepos: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1428
1428
|
readonly platformWindow: v.OptionalSchema<v.PicklistSchema<["1h", "24h", "7d"], undefined>, undefined>;
|
|
1429
1429
|
readonly platformAlerts: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["failure_rate_high", "duration_p99_high", "backlog_high"], undefined>, undefined>, undefined>;
|
|
1430
|
+
readonly driftAffected: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1431
|
+
readonly source: v.StringSchema<undefined>;
|
|
1432
|
+
readonly id: v.StringSchema<undefined>;
|
|
1433
|
+
readonly label: v.StringSchema<undefined>;
|
|
1434
|
+
readonly reason: v.PicklistSchema<["key-mismatch", "corrupt"], undefined>;
|
|
1435
|
+
readonly sealedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1436
|
+
}, undefined>, undefined>, undefined>;
|
|
1430
1437
|
}, undefined>, undefined>, undefined>;
|
|
1431
1438
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
1432
1439
|
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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