@cat-factory/contracts 0.229.0 → 0.231.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/dist/entities.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +9 -2
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +11 -2
- package/dist/execution.js.map +1 -1
- package/dist/form-fields.d.ts +203 -0
- package/dist/form-fields.d.ts.map +1 -0
- package/dist/form-fields.js +315 -0
- package/dist/form-fields.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative-preset.d.ts +34 -93
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/initiative-preset.js +30 -182
- package/dist/initiative-preset.js.map +1 -1
- package/dist/initiative.d.ts +14 -9
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +15 -15
- package/dist/initiative.js.map +1 -1
- package/dist/input-gate.js +1 -1
- package/dist/input-gate.js.map +1 -1
- package/dist/merge.d.ts +374 -344
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +50 -4
- package/dist/merge.js.map +1 -1
- package/dist/primitives.d.ts +10 -5
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +11 -5
- package/dist/primitives.js.map +1 -1
- package/dist/public-decisions.d.ts +2 -2
- package/dist/public-decisions.js +3 -3
- package/dist/public-decisions.js.map +1 -1
- package/dist/requests.d.ts +1 -1
- package/dist/routes/board.d.ts +14 -14
- package/dist/routes/bug-hunt.d.ts +2 -2
- package/dist/routes/execution.d.ts +2 -2
- package/dist/routes/initiative.d.ts +17 -17
- package/dist/routes/input-gate.js +2 -2
- package/dist/routes/input-gate.js.map +1 -1
- package/dist/routes/merge.d.ts +504 -504
- package/dist/routes/public-decisions.d.ts +1 -1
- package/dist/routes/public-decisions.js +2 -2
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/tasks.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +210 -194
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +105 -97
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/task-types.d.ts +42 -28
- package/dist/task-types.d.ts.map +1 -1
- package/dist/task-types.js +30 -25
- package/dist/task-types.js.map +1 -1
- package/dist/workspace-settings.d.ts +1 -1
- package/dist/workspace-settings.js +1 -1
- package/package.json +1 -1
package/dist/merge.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
+
import { type WorkspaceRole } from './workspace-members.js';
|
|
2
3
|
/**
|
|
3
4
|
* A `merger` agent's structured assessment of a pull request. Each axis is scored
|
|
4
5
|
* 0..1 (higher = more complex / riskier / higher blast-radius); `rationale` is the
|
|
@@ -21,7 +22,8 @@ export declare const REQUIREMENT_CONCERN_RANK: Record<RequirementConcernLevel, n
|
|
|
21
22
|
* - `always` — auto-merge regardless of the scores.
|
|
22
23
|
* - `never` — always route to a human, regardless of the scores.
|
|
23
24
|
*/
|
|
24
|
-
export declare const
|
|
25
|
+
export declare const MERGE_CLASS_RULES: readonly ['thresholds', 'always', 'never'];
|
|
26
|
+
export declare const mergeClassRuleSchema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
25
27
|
export type MergeClassRule = v.InferOutput<typeof mergeClassRuleSchema>;
|
|
26
28
|
/**
|
|
27
29
|
* A preset's per-class rules: a PARTIAL map from change class to its rule. An absent class
|
|
@@ -32,20 +34,20 @@ export type MergeClassRule = v.InferOutput<typeof mergeClassRuleSchema>;
|
|
|
32
34
|
* adopt a widened policy. See `RULEABLE_CHANGE_CLASSES`.
|
|
33
35
|
*/
|
|
34
36
|
export declare const mergeClassRulesSchema: Omit<v.StrictObjectSchema<{
|
|
35
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
36
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
37
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
38
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
39
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
40
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
37
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
38
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
39
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
40
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
41
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
42
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
41
43
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
42
44
|
readonly entries: {
|
|
43
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
44
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
45
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
46
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
47
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
48
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
45
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
46
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
47
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
48
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
49
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
50
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
49
51
|
};
|
|
50
52
|
readonly "~standard": v.StandardProps<{
|
|
51
53
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -97,9 +99,9 @@ export type MergeClassRules = v.InferOutput<typeof mergeClassRulesSchema>;
|
|
|
97
99
|
* A partial map from {@link workspaceRoleSchema} to that role's own {@link mergeClassRulesSchema}.
|
|
98
100
|
* The base `classRules` say what the WORK may do; this says what a given tier of person may do
|
|
99
101
|
* with it, so a workspace can widen `dependency` to `always` for everyone and still hold a
|
|
100
|
-
* non-
|
|
102
|
+
* non-developer's runs to review on `source`.
|
|
101
103
|
*
|
|
102
|
-
* Composition is NARROW-ONLY (
|
|
104
|
+
* Composition is NARROW-ONLY ({@link narrowMergeClassRule}): a role entry may only make a
|
|
103
105
|
* class MORE restrictive than the base rule, never less. That is the whole safety property — an
|
|
104
106
|
* allowlist authored per role can subtract capability but can never hand a role something the
|
|
105
107
|
* preset itself withholds, so a role entry can be reviewed on its own without re-reading the base
|
|
@@ -112,20 +114,20 @@ export type MergeClassRules = v.InferOutput<typeof mergeClassRulesSchema>;
|
|
|
112
114
|
*/
|
|
113
115
|
export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
114
116
|
admin: Omit<v.StrictObjectSchema<{
|
|
115
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
116
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
117
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
118
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
119
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
120
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
117
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
118
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
119
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
120
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
121
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
122
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
121
123
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
122
124
|
readonly entries: {
|
|
123
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
124
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
125
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
126
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
127
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
128
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
125
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
126
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
127
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
128
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
129
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
130
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
129
131
|
};
|
|
130
132
|
readonly "~standard": v.StandardProps<{
|
|
131
133
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -171,20 +173,20 @@ export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
|
171
173
|
} | undefined;
|
|
172
174
|
};
|
|
173
175
|
member: Omit<v.StrictObjectSchema<{
|
|
174
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
175
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
176
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
177
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
178
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
179
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
176
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
177
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
178
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
179
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
180
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
181
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
180
182
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
181
183
|
readonly entries: {
|
|
182
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
183
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
184
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
185
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
186
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
187
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
184
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
185
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
186
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
187
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
188
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
189
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
188
190
|
};
|
|
189
191
|
readonly "~standard": v.StandardProps<{
|
|
190
192
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -230,20 +232,20 @@ export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
|
230
232
|
} | undefined;
|
|
231
233
|
};
|
|
232
234
|
viewer: Omit<v.StrictObjectSchema<{
|
|
233
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
234
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
235
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
236
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
237
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
238
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
235
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
236
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
237
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
238
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
239
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
240
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
239
241
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
240
242
|
readonly entries: {
|
|
241
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
242
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
243
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
244
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
245
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
246
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
243
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
244
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
245
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
246
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
247
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
248
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
247
249
|
};
|
|
248
250
|
readonly "~standard": v.StandardProps<{
|
|
249
251
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -291,20 +293,20 @@ export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
|
291
293
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
292
294
|
readonly entries: {
|
|
293
295
|
admin: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
294
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
295
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
296
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
297
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
298
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
299
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
296
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
297
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
298
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
299
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
300
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
301
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
300
302
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
301
303
|
readonly entries: {
|
|
302
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
303
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
304
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
305
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
306
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
307
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
304
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
305
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
306
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
307
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
308
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
309
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
308
310
|
};
|
|
309
311
|
readonly "~standard": v.StandardProps<{
|
|
310
312
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -350,20 +352,20 @@ export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
|
350
352
|
} | undefined;
|
|
351
353
|
}, undefined>;
|
|
352
354
|
member: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
353
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
354
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
355
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
356
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
357
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
358
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
355
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
356
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
357
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
358
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
359
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
360
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
359
361
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
360
362
|
readonly entries: {
|
|
361
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
362
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
363
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
364
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
365
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
366
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
363
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
364
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
365
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
366
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
367
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
368
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
367
369
|
};
|
|
368
370
|
readonly "~standard": v.StandardProps<{
|
|
369
371
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -409,20 +411,20 @@ export declare const classRulesByRoleSchema: Omit<v.StrictObjectSchema<{
|
|
|
409
411
|
} | undefined;
|
|
410
412
|
}, undefined>;
|
|
411
413
|
viewer: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
412
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
413
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
414
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
415
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
416
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
417
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
414
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
415
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
416
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
417
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
418
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
419
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
418
420
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
419
421
|
readonly entries: {
|
|
420
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
421
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
422
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
423
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
424
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
425
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
422
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
423
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
424
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
425
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
426
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
427
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
426
428
|
};
|
|
427
429
|
readonly "~standard": v.StandardProps<{
|
|
428
430
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -607,7 +609,7 @@ export type ClassRulesByRole = v.InferOutput<typeof classRulesByRoleSchema>;
|
|
|
607
609
|
* such a role starts does the work and opens its PR, but nothing merges — not automatically, and
|
|
608
610
|
* not through the manual merge endpoint either.
|
|
609
611
|
*
|
|
610
|
-
* This is the "sandboxed run for a non-
|
|
612
|
+
* This is the "sandboxed run for a non-developer" setting. It is expressed on the preset rather
|
|
611
613
|
* than on the role catalog because it is a POLICY about a body of work (this service's tasks),
|
|
612
614
|
* not a capability of the person: the same product manager may be trusted to land copy changes on
|
|
613
615
|
* one service and nothing at all on another, and the preset is already what a task selects.
|
|
@@ -616,6 +618,34 @@ export type ClassRulesByRole = v.InferOutput<typeof classRulesByRoleSchema>;
|
|
|
616
618
|
* cannot start runs at all (`viewer`, which holds no `runs.execute`) may be listed without effect.
|
|
617
619
|
*/
|
|
618
620
|
export declare const dryRunRolesSchema: v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>;
|
|
621
|
+
export type DryRunRoles = v.InferOutput<typeof dryRunRolesSchema>;
|
|
622
|
+
/**
|
|
623
|
+
* Compose a base rule with a ROLE's rule, taking the STRICTER of the two.
|
|
624
|
+
*
|
|
625
|
+
* Narrow-only is the whole safety property of role-scoped rules, and it is enforced here rather
|
|
626
|
+
* than trusted to whoever authors a preset: a role entry can subtract capability but can never add
|
|
627
|
+
* it, so `{ source: 'always' }` under `viewer` on a preset whose base holds `source` at
|
|
628
|
+
* `thresholds` grants a viewer nothing. It reads as a mistake and behaves as a no-op, instead of
|
|
629
|
+
* quietly becoming the widest rule in the preset for its least-trusted tier.
|
|
630
|
+
*
|
|
631
|
+
* The consequence worth stating: a role entry is REVIEWABLE ON ITS OWN. Reading one tells you what
|
|
632
|
+
* that role at most may do, with no need to hold the base map in your head at the same time.
|
|
633
|
+
*
|
|
634
|
+
* It lives in contracts rather than in kernel because the SPA's preset editor has to agree with the
|
|
635
|
+
* engine about it: an authoring surface that offered a role a rule the engine will discard would be
|
|
636
|
+
* telling an operator they had written a policy that does nothing.
|
|
637
|
+
*/
|
|
638
|
+
export declare function narrowMergeClassRule(base: MergeClassRule, role: MergeClassRule): MergeClassRule;
|
|
639
|
+
/**
|
|
640
|
+
* Whether a preset's {@link dryRunRolesSchema} sandboxes a run started under `role`.
|
|
641
|
+
*
|
|
642
|
+
* The rule worth naming is the null case: an unattributed run (a schedule fire, a public-API start,
|
|
643
|
+
* auth-disabled dev) pins no role, cannot match an entry, and is therefore never force-sandboxed.
|
|
644
|
+
* Shared with the SPA so a start control can say "your runs on this task are sandboxed" using the
|
|
645
|
+
* same reading the engine makes at admission, rather than a restated `includes` that would have to
|
|
646
|
+
* re-decide what an absent role means.
|
|
647
|
+
*/
|
|
648
|
+
export declare function dryRunForcedForRole(dryRunRoles: readonly WorkspaceRole[] | null | undefined, role: WorkspaceRole | null | undefined): boolean;
|
|
619
649
|
export declare const mergeAssessmentSchema: v.ObjectSchema<{
|
|
620
650
|
/** How intricate the change is (size, coupling, subtlety). */
|
|
621
651
|
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
@@ -728,20 +758,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
728
758
|
* A rule NEVER overrides `autoMergeEnabled: false`: that master switch wins first.
|
|
729
759
|
*/
|
|
730
760
|
readonly classRules: Omit<v.StrictObjectSchema<{
|
|
731
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
732
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
733
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
734
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
735
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
736
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
761
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
762
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
763
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
764
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
765
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
766
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
737
767
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
738
768
|
readonly entries: {
|
|
739
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
740
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
741
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
742
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
743
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
744
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
769
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
770
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
771
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
772
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
773
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
774
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
745
775
|
};
|
|
746
776
|
readonly "~standard": v.StandardProps<{
|
|
747
777
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -793,20 +823,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
793
823
|
*/
|
|
794
824
|
readonly classRulesByRole: Omit<v.StrictObjectSchema<{
|
|
795
825
|
admin: Omit<v.StrictObjectSchema<{
|
|
796
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
797
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
798
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
799
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
800
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
801
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
826
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
827
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
828
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
829
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
830
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
831
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
802
832
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
803
833
|
readonly entries: {
|
|
804
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
805
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
806
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
807
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
808
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
809
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
834
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
835
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
836
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
837
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
838
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
839
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
810
840
|
};
|
|
811
841
|
readonly "~standard": v.StandardProps<{
|
|
812
842
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -852,20 +882,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
852
882
|
} | undefined;
|
|
853
883
|
};
|
|
854
884
|
member: Omit<v.StrictObjectSchema<{
|
|
855
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
856
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
857
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
858
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
859
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
860
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
885
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
886
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
887
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
888
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
889
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
890
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
861
891
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
862
892
|
readonly entries: {
|
|
863
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
864
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
865
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
866
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
867
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
868
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
893
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
894
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
895
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
896
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
897
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
898
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
869
899
|
};
|
|
870
900
|
readonly "~standard": v.StandardProps<{
|
|
871
901
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -911,20 +941,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
911
941
|
} | undefined;
|
|
912
942
|
};
|
|
913
943
|
viewer: Omit<v.StrictObjectSchema<{
|
|
914
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
915
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
916
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
917
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
918
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
919
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
944
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
945
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
946
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
947
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
948
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
949
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
920
950
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
921
951
|
readonly entries: {
|
|
922
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
923
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
924
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
925
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
926
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
927
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
952
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
953
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
954
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
955
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
956
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
957
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
928
958
|
};
|
|
929
959
|
readonly "~standard": v.StandardProps<{
|
|
930
960
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -972,20 +1002,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
972
1002
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
973
1003
|
readonly entries: {
|
|
974
1004
|
admin: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
975
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
976
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
977
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
978
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
979
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
980
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1005
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1006
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1007
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1008
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1009
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1010
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
981
1011
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
982
1012
|
readonly entries: {
|
|
983
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
984
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
985
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
986
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
987
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
988
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1013
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1014
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1015
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1016
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1017
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1018
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
989
1019
|
};
|
|
990
1020
|
readonly "~standard": v.StandardProps<{
|
|
991
1021
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1031,20 +1061,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
1031
1061
|
} | undefined;
|
|
1032
1062
|
}, undefined>;
|
|
1033
1063
|
member: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1034
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1035
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1036
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1037
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1038
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1039
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1064
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1065
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1066
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1067
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1068
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1069
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1040
1070
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1041
1071
|
readonly entries: {
|
|
1042
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1043
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1044
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1045
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1046
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1047
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1072
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1073
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1074
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1075
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1076
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1077
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1048
1078
|
};
|
|
1049
1079
|
readonly "~standard": v.StandardProps<{
|
|
1050
1080
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1090,20 +1120,20 @@ export declare const riskPolicySchema: v.ObjectSchema<{
|
|
|
1090
1120
|
} | undefined;
|
|
1091
1121
|
}, undefined>;
|
|
1092
1122
|
viewer: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1093
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1094
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1095
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1096
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1097
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1098
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1123
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1124
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1125
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1126
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1127
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1128
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1099
1129
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1100
1130
|
readonly entries: {
|
|
1101
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1102
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1103
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1104
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1105
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1106
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1131
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1132
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1133
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1134
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1135
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1136
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1107
1137
|
};
|
|
1108
1138
|
readonly "~standard": v.StandardProps<{
|
|
1109
1139
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1326,20 +1356,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1326
1356
|
}, undefined>, undefined>, undefined>;
|
|
1327
1357
|
/** Per-change-class auto-merge rules; absent ⇒ every class uses the score ceilings. */
|
|
1328
1358
|
readonly classRules: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1329
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1330
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1331
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1332
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1333
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1334
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1359
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1360
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1361
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1362
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1363
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1364
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1335
1365
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1336
1366
|
readonly entries: {
|
|
1337
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1338
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1339
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1340
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1341
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1342
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1367
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1368
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1369
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1370
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1371
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1372
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1343
1373
|
};
|
|
1344
1374
|
readonly "~standard": v.StandardProps<{
|
|
1345
1375
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1387,20 +1417,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1387
1417
|
/** Per-role narrowing of `classRules`; absent ⇒ every role uses the rules above unchanged. */
|
|
1388
1418
|
readonly classRulesByRole: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1389
1419
|
admin: Omit<v.StrictObjectSchema<{
|
|
1390
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1391
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1392
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1393
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1394
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1395
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1420
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1421
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1422
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1423
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1424
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1425
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1396
1426
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1397
1427
|
readonly entries: {
|
|
1398
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1399
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1400
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1401
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1402
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1403
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1428
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1429
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1430
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1431
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1432
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1433
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1404
1434
|
};
|
|
1405
1435
|
readonly "~standard": v.StandardProps<{
|
|
1406
1436
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1446,20 +1476,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1446
1476
|
} | undefined;
|
|
1447
1477
|
};
|
|
1448
1478
|
member: Omit<v.StrictObjectSchema<{
|
|
1449
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1450
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1451
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1452
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1453
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1454
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1479
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1480
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1481
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1482
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1483
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1484
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1455
1485
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1456
1486
|
readonly entries: {
|
|
1457
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1458
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1459
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1460
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1461
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1462
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1487
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1488
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1489
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1490
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1491
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1492
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1463
1493
|
};
|
|
1464
1494
|
readonly "~standard": v.StandardProps<{
|
|
1465
1495
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1505,20 +1535,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1505
1535
|
} | undefined;
|
|
1506
1536
|
};
|
|
1507
1537
|
viewer: Omit<v.StrictObjectSchema<{
|
|
1508
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1509
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1510
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1511
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1512
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1513
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1538
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1539
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1540
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1541
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1542
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1543
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1514
1544
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1515
1545
|
readonly entries: {
|
|
1516
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1517
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1518
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1519
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1520
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1521
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1546
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1547
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1548
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1549
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1550
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1551
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1522
1552
|
};
|
|
1523
1553
|
readonly "~standard": v.StandardProps<{
|
|
1524
1554
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1566,20 +1596,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1566
1596
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1567
1597
|
readonly entries: {
|
|
1568
1598
|
admin: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1569
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1570
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1571
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1572
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1573
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1574
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1599
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1600
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1601
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1602
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1603
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1604
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1575
1605
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1576
1606
|
readonly entries: {
|
|
1577
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1578
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1579
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1580
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1581
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1582
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1607
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1608
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1609
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1610
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1611
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1612
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1583
1613
|
};
|
|
1584
1614
|
readonly "~standard": v.StandardProps<{
|
|
1585
1615
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1625,20 +1655,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1625
1655
|
} | undefined;
|
|
1626
1656
|
}, undefined>;
|
|
1627
1657
|
member: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1628
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1629
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1630
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1631
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1632
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1633
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1658
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1659
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1660
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1661
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1662
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1663
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1634
1664
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1635
1665
|
readonly entries: {
|
|
1636
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1637
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1638
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1639
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1640
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1641
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1666
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1667
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1668
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1669
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1670
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1671
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1642
1672
|
};
|
|
1643
1673
|
readonly "~standard": v.StandardProps<{
|
|
1644
1674
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1684,20 +1714,20 @@ export declare const createRiskPolicySchema: v.ObjectSchema<{
|
|
|
1684
1714
|
} | undefined;
|
|
1685
1715
|
}, undefined>;
|
|
1686
1716
|
viewer: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1687
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1688
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1689
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1690
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1691
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1692
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1717
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1718
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1719
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1720
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1721
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1722
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1693
1723
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1694
1724
|
readonly entries: {
|
|
1695
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1696
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1697
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1698
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1699
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1700
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1725
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1726
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1727
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1728
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1729
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1730
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1701
1731
|
};
|
|
1702
1732
|
readonly "~standard": v.StandardProps<{
|
|
1703
1733
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1907,20 +1937,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
1907
1937
|
}, undefined>, undefined>, undefined>;
|
|
1908
1938
|
/** Replaces the whole rule map (not merged), so clearing a class is a plain omission. */
|
|
1909
1939
|
readonly classRules: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1910
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1911
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1912
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1913
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1914
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1915
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1940
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1941
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1942
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1943
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1944
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1945
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1916
1946
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1917
1947
|
readonly entries: {
|
|
1918
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1919
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1920
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1921
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1922
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1923
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1948
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1949
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1950
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1951
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1952
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1953
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1924
1954
|
};
|
|
1925
1955
|
readonly "~standard": v.StandardProps<{
|
|
1926
1956
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -1968,20 +1998,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
1968
1998
|
/** Replaces the whole per-role map (not merged), so clearing a role is a plain omission. */
|
|
1969
1999
|
readonly classRulesByRole: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
1970
2000
|
admin: Omit<v.StrictObjectSchema<{
|
|
1971
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1972
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1973
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1974
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1975
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
1976
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2001
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2002
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2003
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2004
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2005
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2006
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
1977
2007
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
1978
2008
|
readonly entries: {
|
|
1979
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1980
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1981
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1982
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1983
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
1984
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2009
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2010
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2011
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2012
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2013
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2014
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
1985
2015
|
};
|
|
1986
2016
|
readonly "~standard": v.StandardProps<{
|
|
1987
2017
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2027,20 +2057,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
2027
2057
|
} | undefined;
|
|
2028
2058
|
};
|
|
2029
2059
|
member: Omit<v.StrictObjectSchema<{
|
|
2030
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2031
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2032
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2033
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2034
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2035
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2060
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2061
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2062
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2063
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2064
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2065
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2036
2066
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2037
2067
|
readonly entries: {
|
|
2038
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2039
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2040
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2041
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2042
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2043
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2068
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2069
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2070
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2071
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2072
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2073
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2044
2074
|
};
|
|
2045
2075
|
readonly "~standard": v.StandardProps<{
|
|
2046
2076
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2086,20 +2116,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
2086
2116
|
} | undefined;
|
|
2087
2117
|
};
|
|
2088
2118
|
viewer: Omit<v.StrictObjectSchema<{
|
|
2089
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2090
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2091
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2092
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2093
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2094
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2119
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2120
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2121
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2122
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2123
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2124
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2095
2125
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2096
2126
|
readonly entries: {
|
|
2097
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2098
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2099
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2100
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2101
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2102
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2127
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2128
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2129
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2130
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2131
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2132
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2103
2133
|
};
|
|
2104
2134
|
readonly "~standard": v.StandardProps<{
|
|
2105
2135
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2147,20 +2177,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
2147
2177
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2148
2178
|
readonly entries: {
|
|
2149
2179
|
admin: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
2150
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2151
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2152
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2153
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2154
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2155
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2180
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2181
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2182
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2183
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2184
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2185
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2156
2186
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2157
2187
|
readonly entries: {
|
|
2158
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2159
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2160
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2161
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2162
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2163
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2188
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2189
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2190
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2191
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2192
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2193
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2164
2194
|
};
|
|
2165
2195
|
readonly "~standard": v.StandardProps<{
|
|
2166
2196
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2206,20 +2236,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
2206
2236
|
} | undefined;
|
|
2207
2237
|
}, undefined>;
|
|
2208
2238
|
member: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
2209
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2210
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2211
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2212
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2213
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2214
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2239
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2240
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2241
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2242
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2243
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2244
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2215
2245
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2216
2246
|
readonly entries: {
|
|
2217
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2218
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2219
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2220
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2221
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2222
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2247
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2248
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2249
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2250
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2251
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2252
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2223
2253
|
};
|
|
2224
2254
|
readonly "~standard": v.StandardProps<{
|
|
2225
2255
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2265,20 +2295,20 @@ export declare const updateRiskPolicySchema: v.ObjectSchema<{
|
|
|
2265
2295
|
} | undefined;
|
|
2266
2296
|
}, undefined>;
|
|
2267
2297
|
viewer: v.OptionalSchema<Omit<v.StrictObjectSchema<{
|
|
2268
|
-
config: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2269
|
-
dependency: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2270
|
-
docs: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2271
|
-
schema: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2272
|
-
source: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2273
|
-
test: v.PicklistSchema<["thresholds", "always", "never"], undefined>;
|
|
2298
|
+
config: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2299
|
+
dependency: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2300
|
+
docs: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2301
|
+
schema: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2302
|
+
source: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2303
|
+
test: v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>;
|
|
2274
2304
|
}, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
|
|
2275
2305
|
readonly entries: {
|
|
2276
|
-
config: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2277
|
-
dependency: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2278
|
-
docs: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2279
|
-
schema: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2280
|
-
source: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2281
|
-
test: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2306
|
+
config: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2307
|
+
dependency: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2308
|
+
docs: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2309
|
+
schema: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2310
|
+
source: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2311
|
+
test: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2282
2312
|
};
|
|
2283
2313
|
readonly "~standard": v.StandardProps<{
|
|
2284
2314
|
config?: "always" | "never" | "thresholds" | undefined;
|
|
@@ -2481,7 +2511,7 @@ export declare const mergeDecisionThresholdsSchema: v.ObjectSchema<{
|
|
|
2481
2511
|
* dependency bumps" rather than implying the scores did it. Absent when the class was
|
|
2482
2512
|
* `unknown` (rules never match it) or the preset left the class on `thresholds`.
|
|
2483
2513
|
*/
|
|
2484
|
-
readonly classRule: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2514
|
+
readonly classRule: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2485
2515
|
/**
|
|
2486
2516
|
* The workspace role the run's initiator held when the run was ADMITTED, when one was pinned.
|
|
2487
2517
|
* Absent for an unattributed run (a schedule fire, a public-API start, auth-disabled dev), which
|
|
@@ -2496,7 +2526,7 @@ export declare const mergeDecisionThresholdsSchema: v.ObjectSchema<{
|
|
|
2496
2526
|
* the class alone, so its presence always means "this decision would have gone differently for
|
|
2497
2527
|
* someone else".
|
|
2498
2528
|
*/
|
|
2499
|
-
readonly roleRule: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2529
|
+
readonly roleRule: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2500
2530
|
}, undefined>;
|
|
2501
2531
|
export type MergeDecisionThresholds = v.InferOutput<typeof mergeDecisionThresholdsSchema>;
|
|
2502
2532
|
export declare const mergeDecisionSchema: v.ObjectSchema<{
|
|
@@ -2555,7 +2585,7 @@ export declare const mergeDecisionSchema: v.ObjectSchema<{
|
|
|
2555
2585
|
* dependency bumps" rather than implying the scores did it. Absent when the class was
|
|
2556
2586
|
* `unknown` (rules never match it) or the preset left the class on `thresholds`.
|
|
2557
2587
|
*/
|
|
2558
|
-
readonly classRule: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2588
|
+
readonly classRule: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2559
2589
|
/**
|
|
2560
2590
|
* The workspace role the run's initiator held when the run was ADMITTED, when one was pinned.
|
|
2561
2591
|
* Absent for an unattributed run (a schedule fire, a public-API start, auth-disabled dev), which
|
|
@@ -2570,7 +2600,7 @@ export declare const mergeDecisionSchema: v.ObjectSchema<{
|
|
|
2570
2600
|
* the class alone, so its presence always means "this decision would have gone differently for
|
|
2571
2601
|
* someone else".
|
|
2572
2602
|
*/
|
|
2573
|
-
readonly roleRule: v.OptionalSchema<v.PicklistSchema<["thresholds", "always", "never"], undefined>, undefined>;
|
|
2603
|
+
readonly roleRule: v.OptionalSchema<v.PicklistSchema<readonly ["thresholds", "always", "never"], undefined>, undefined>;
|
|
2574
2604
|
}, undefined>;
|
|
2575
2605
|
/** The axes that exceeded their ceiling (empty unless `reason` is `exceeded_thresholds`). */
|
|
2576
2606
|
readonly exceededAxes: v.ArraySchema<v.PicklistSchema<["complexity", "risk", "impact"], undefined>, undefined>;
|