github-settings-as-code 1.1.7 → 1.1.8
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/github/repository/constants.d.mts +102 -102
- package/dist/github/ruleset/constants.d.mts +258 -258
- package/package.json +4 -4
|
@@ -99,37 +99,37 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
99
99
|
}>;
|
|
100
100
|
readonly bypass_actors: t.OptionalPropertyType<Readonly<{
|
|
101
101
|
typeName: string;
|
|
102
|
-
defaultValue: readonly Readonly<
|
|
102
|
+
defaultValue: readonly MergeIntersection<Readonly<{
|
|
103
103
|
readonly actor_id?: number | null | undefined;
|
|
104
104
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
105
105
|
} & {
|
|
106
106
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
107
107
|
}>>[];
|
|
108
|
-
is: (a: unknown) => a is readonly Readonly<
|
|
108
|
+
is: (a: unknown) => a is readonly MergeIntersection<Readonly<{
|
|
109
109
|
readonly actor_id?: number | null | undefined;
|
|
110
110
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
111
111
|
} & {
|
|
112
112
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
113
113
|
}>>[];
|
|
114
|
-
assertIs: (a: unknown) => asserts a is readonly Readonly<
|
|
114
|
+
assertIs: (a: unknown) => asserts a is readonly MergeIntersection<Readonly<{
|
|
115
115
|
readonly actor_id?: number | null | undefined;
|
|
116
116
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
117
117
|
} & {
|
|
118
118
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
119
119
|
}>>[];
|
|
120
|
-
cast: (a: unknown) => readonly Readonly<
|
|
120
|
+
cast: (a: unknown) => readonly MergeIntersection<Readonly<{
|
|
121
121
|
readonly actor_id?: number | null | undefined;
|
|
122
122
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
123
123
|
} & {
|
|
124
124
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
125
125
|
}>>[];
|
|
126
|
-
fill: (a: unknown) => readonly Readonly<
|
|
126
|
+
fill: (a: unknown) => readonly MergeIntersection<Readonly<{
|
|
127
127
|
readonly actor_id?: number | null | undefined;
|
|
128
128
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
129
129
|
} & {
|
|
130
130
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
131
131
|
}>>[];
|
|
132
|
-
validate: (a: unknown) => Result<readonly Readonly<
|
|
132
|
+
validate: (a: unknown) => Result<readonly MergeIntersection<Readonly<{
|
|
133
133
|
readonly actor_id?: number | null | undefined;
|
|
134
134
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
135
135
|
} & {
|
|
@@ -196,22 +196,22 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
196
196
|
}, "strip">>;
|
|
197
197
|
readonly html: t.OptionalPropertyType<Readonly<{
|
|
198
198
|
typeName: string;
|
|
199
|
-
defaultValue: Readonly<
|
|
199
|
+
defaultValue: MergeIntersection<Readonly<{
|
|
200
200
|
readonly href?: string | undefined;
|
|
201
201
|
}>> | null;
|
|
202
|
-
is: (a: unknown) => a is Readonly<
|
|
202
|
+
is: (a: unknown) => a is MergeIntersection<Readonly<{
|
|
203
203
|
readonly href?: string | undefined;
|
|
204
204
|
}>> | null;
|
|
205
|
-
assertIs: (a: unknown) => asserts a is Readonly<
|
|
205
|
+
assertIs: (a: unknown) => asserts a is MergeIntersection<Readonly<{
|
|
206
206
|
readonly href?: string | undefined;
|
|
207
207
|
}>> | null;
|
|
208
|
-
cast: (a: unknown) => Readonly<
|
|
208
|
+
cast: (a: unknown) => MergeIntersection<Readonly<{
|
|
209
209
|
readonly href?: string | undefined;
|
|
210
210
|
}>> | null;
|
|
211
|
-
fill: (a: unknown) => Readonly<
|
|
211
|
+
fill: (a: unknown) => MergeIntersection<Readonly<{
|
|
212
212
|
readonly href?: string | undefined;
|
|
213
213
|
}>> | null;
|
|
214
|
-
validate: (a: unknown) => Result<Readonly<
|
|
214
|
+
validate: (a: unknown) => Result<MergeIntersection<Readonly<{
|
|
215
215
|
readonly href?: string | undefined;
|
|
216
216
|
}>> | null, readonly Readonly<{
|
|
217
217
|
path: readonly string[];
|
|
@@ -225,45 +225,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
225
225
|
}, "strip">>;
|
|
226
226
|
readonly conditions: t.OptionalPropertyType<Readonly<{
|
|
227
227
|
typeName: string;
|
|
228
|
-
defaultValue: Readonly<
|
|
229
|
-
readonly ref_name?: Readonly<
|
|
228
|
+
defaultValue: MergeIntersection<Readonly<{
|
|
229
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
230
230
|
readonly include?: readonly string[] | undefined;
|
|
231
231
|
readonly exclude?: readonly string[] | undefined;
|
|
232
232
|
}>> | undefined;
|
|
233
|
-
}>> | MergeIntersection<Readonly<
|
|
234
|
-
readonly ref_name?: Readonly<
|
|
233
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
234
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
235
235
|
readonly include?: readonly string[] | undefined;
|
|
236
236
|
readonly exclude?: readonly string[] | undefined;
|
|
237
237
|
}>> | undefined;
|
|
238
238
|
}>> & Readonly<{
|
|
239
|
-
repository_name: Readonly<
|
|
239
|
+
repository_name: MergeIntersection<Readonly<{
|
|
240
240
|
readonly include?: readonly string[] | undefined;
|
|
241
241
|
readonly exclude?: readonly string[] | undefined;
|
|
242
242
|
readonly protected?: boolean | undefined;
|
|
243
243
|
}>>;
|
|
244
|
-
}>> | MergeIntersection<Readonly<
|
|
245
|
-
readonly ref_name?: Readonly<
|
|
244
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
245
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
246
246
|
readonly include?: readonly string[] | undefined;
|
|
247
247
|
readonly exclude?: readonly string[] | undefined;
|
|
248
248
|
}>> | undefined;
|
|
249
249
|
}>> & Readonly<{
|
|
250
|
-
repository_id: Readonly<
|
|
250
|
+
repository_id: MergeIntersection<Readonly<{
|
|
251
251
|
readonly repository_ids?: readonly number[] | undefined;
|
|
252
252
|
}>>;
|
|
253
|
-
}>> | MergeIntersection<Readonly<
|
|
254
|
-
readonly ref_name?: Readonly<
|
|
253
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
254
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
255
255
|
readonly include?: readonly string[] | undefined;
|
|
256
256
|
readonly exclude?: readonly string[] | undefined;
|
|
257
257
|
}>> | undefined;
|
|
258
258
|
}>> & Readonly<{
|
|
259
|
-
repository_property: Readonly<
|
|
260
|
-
readonly include?: readonly Readonly<
|
|
259
|
+
repository_property: MergeIntersection<Readonly<{
|
|
260
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
261
261
|
readonly source?: "custom" | "system" | undefined;
|
|
262
262
|
} & {
|
|
263
263
|
name: string;
|
|
264
264
|
property_values: readonly string[];
|
|
265
265
|
}>>[] | undefined;
|
|
266
|
-
readonly exclude?: readonly Readonly<
|
|
266
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
267
267
|
readonly source?: "custom" | "system" | undefined;
|
|
268
268
|
} & {
|
|
269
269
|
name: string;
|
|
@@ -271,45 +271,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
271
271
|
}>>[] | undefined;
|
|
272
272
|
}>>;
|
|
273
273
|
}>> | null;
|
|
274
|
-
is: (a: unknown) => a is Readonly<
|
|
275
|
-
readonly ref_name?: Readonly<
|
|
274
|
+
is: (a: unknown) => a is MergeIntersection<Readonly<{
|
|
275
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
276
276
|
readonly include?: readonly string[] | undefined;
|
|
277
277
|
readonly exclude?: readonly string[] | undefined;
|
|
278
278
|
}>> | undefined;
|
|
279
|
-
}>> | MergeIntersection<Readonly<
|
|
280
|
-
readonly ref_name?: Readonly<
|
|
279
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
280
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
281
281
|
readonly include?: readonly string[] | undefined;
|
|
282
282
|
readonly exclude?: readonly string[] | undefined;
|
|
283
283
|
}>> | undefined;
|
|
284
284
|
}>> & Readonly<{
|
|
285
|
-
repository_name: Readonly<
|
|
285
|
+
repository_name: MergeIntersection<Readonly<{
|
|
286
286
|
readonly include?: readonly string[] | undefined;
|
|
287
287
|
readonly exclude?: readonly string[] | undefined;
|
|
288
288
|
readonly protected?: boolean | undefined;
|
|
289
289
|
}>>;
|
|
290
|
-
}>> | MergeIntersection<Readonly<
|
|
291
|
-
readonly ref_name?: Readonly<
|
|
290
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
291
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
292
292
|
readonly include?: readonly string[] | undefined;
|
|
293
293
|
readonly exclude?: readonly string[] | undefined;
|
|
294
294
|
}>> | undefined;
|
|
295
295
|
}>> & Readonly<{
|
|
296
|
-
repository_id: Readonly<
|
|
296
|
+
repository_id: MergeIntersection<Readonly<{
|
|
297
297
|
readonly repository_ids?: readonly number[] | undefined;
|
|
298
298
|
}>>;
|
|
299
|
-
}>> | MergeIntersection<Readonly<
|
|
300
|
-
readonly ref_name?: Readonly<
|
|
299
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
300
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
301
301
|
readonly include?: readonly string[] | undefined;
|
|
302
302
|
readonly exclude?: readonly string[] | undefined;
|
|
303
303
|
}>> | undefined;
|
|
304
304
|
}>> & Readonly<{
|
|
305
|
-
repository_property: Readonly<
|
|
306
|
-
readonly include?: readonly Readonly<
|
|
305
|
+
repository_property: MergeIntersection<Readonly<{
|
|
306
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
307
307
|
readonly source?: "custom" | "system" | undefined;
|
|
308
308
|
} & {
|
|
309
309
|
name: string;
|
|
310
310
|
property_values: readonly string[];
|
|
311
311
|
}>>[] | undefined;
|
|
312
|
-
readonly exclude?: readonly Readonly<
|
|
312
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
313
313
|
readonly source?: "custom" | "system" | undefined;
|
|
314
314
|
} & {
|
|
315
315
|
name: string;
|
|
@@ -317,45 +317,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
317
317
|
}>>[] | undefined;
|
|
318
318
|
}>>;
|
|
319
319
|
}>> | null;
|
|
320
|
-
assertIs: (a: unknown) => asserts a is Readonly<
|
|
321
|
-
readonly ref_name?: Readonly<
|
|
320
|
+
assertIs: (a: unknown) => asserts a is MergeIntersection<Readonly<{
|
|
321
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
322
322
|
readonly include?: readonly string[] | undefined;
|
|
323
323
|
readonly exclude?: readonly string[] | undefined;
|
|
324
324
|
}>> | undefined;
|
|
325
|
-
}>> | MergeIntersection<Readonly<
|
|
326
|
-
readonly ref_name?: Readonly<
|
|
325
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
326
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
327
327
|
readonly include?: readonly string[] | undefined;
|
|
328
328
|
readonly exclude?: readonly string[] | undefined;
|
|
329
329
|
}>> | undefined;
|
|
330
330
|
}>> & Readonly<{
|
|
331
|
-
repository_name: Readonly<
|
|
331
|
+
repository_name: MergeIntersection<Readonly<{
|
|
332
332
|
readonly include?: readonly string[] | undefined;
|
|
333
333
|
readonly exclude?: readonly string[] | undefined;
|
|
334
334
|
readonly protected?: boolean | undefined;
|
|
335
335
|
}>>;
|
|
336
|
-
}>> | MergeIntersection<Readonly<
|
|
337
|
-
readonly ref_name?: Readonly<
|
|
336
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
337
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
338
338
|
readonly include?: readonly string[] | undefined;
|
|
339
339
|
readonly exclude?: readonly string[] | undefined;
|
|
340
340
|
}>> | undefined;
|
|
341
341
|
}>> & Readonly<{
|
|
342
|
-
repository_id: Readonly<
|
|
342
|
+
repository_id: MergeIntersection<Readonly<{
|
|
343
343
|
readonly repository_ids?: readonly number[] | undefined;
|
|
344
344
|
}>>;
|
|
345
|
-
}>> | MergeIntersection<Readonly<
|
|
346
|
-
readonly ref_name?: Readonly<
|
|
345
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
346
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
347
347
|
readonly include?: readonly string[] | undefined;
|
|
348
348
|
readonly exclude?: readonly string[] | undefined;
|
|
349
349
|
}>> | undefined;
|
|
350
350
|
}>> & Readonly<{
|
|
351
|
-
repository_property: Readonly<
|
|
352
|
-
readonly include?: readonly Readonly<
|
|
351
|
+
repository_property: MergeIntersection<Readonly<{
|
|
352
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
353
353
|
readonly source?: "custom" | "system" | undefined;
|
|
354
354
|
} & {
|
|
355
355
|
name: string;
|
|
356
356
|
property_values: readonly string[];
|
|
357
357
|
}>>[] | undefined;
|
|
358
|
-
readonly exclude?: readonly Readonly<
|
|
358
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
359
359
|
readonly source?: "custom" | "system" | undefined;
|
|
360
360
|
} & {
|
|
361
361
|
name: string;
|
|
@@ -363,45 +363,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
363
363
|
}>>[] | undefined;
|
|
364
364
|
}>>;
|
|
365
365
|
}>> | null;
|
|
366
|
-
cast: (a: unknown) => Readonly<
|
|
367
|
-
readonly ref_name?: Readonly<
|
|
366
|
+
cast: (a: unknown) => MergeIntersection<Readonly<{
|
|
367
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
368
368
|
readonly include?: readonly string[] | undefined;
|
|
369
369
|
readonly exclude?: readonly string[] | undefined;
|
|
370
370
|
}>> | undefined;
|
|
371
|
-
}>> | MergeIntersection<Readonly<
|
|
372
|
-
readonly ref_name?: Readonly<
|
|
371
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
372
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
373
373
|
readonly include?: readonly string[] | undefined;
|
|
374
374
|
readonly exclude?: readonly string[] | undefined;
|
|
375
375
|
}>> | undefined;
|
|
376
376
|
}>> & Readonly<{
|
|
377
|
-
repository_name: Readonly<
|
|
377
|
+
repository_name: MergeIntersection<Readonly<{
|
|
378
378
|
readonly include?: readonly string[] | undefined;
|
|
379
379
|
readonly exclude?: readonly string[] | undefined;
|
|
380
380
|
readonly protected?: boolean | undefined;
|
|
381
381
|
}>>;
|
|
382
|
-
}>> | MergeIntersection<Readonly<
|
|
383
|
-
readonly ref_name?: Readonly<
|
|
382
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
383
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
384
384
|
readonly include?: readonly string[] | undefined;
|
|
385
385
|
readonly exclude?: readonly string[] | undefined;
|
|
386
386
|
}>> | undefined;
|
|
387
387
|
}>> & Readonly<{
|
|
388
|
-
repository_id: Readonly<
|
|
388
|
+
repository_id: MergeIntersection<Readonly<{
|
|
389
389
|
readonly repository_ids?: readonly number[] | undefined;
|
|
390
390
|
}>>;
|
|
391
|
-
}>> | MergeIntersection<Readonly<
|
|
392
|
-
readonly ref_name?: Readonly<
|
|
391
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
392
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
393
393
|
readonly include?: readonly string[] | undefined;
|
|
394
394
|
readonly exclude?: readonly string[] | undefined;
|
|
395
395
|
}>> | undefined;
|
|
396
396
|
}>> & Readonly<{
|
|
397
|
-
repository_property: Readonly<
|
|
398
|
-
readonly include?: readonly Readonly<
|
|
397
|
+
repository_property: MergeIntersection<Readonly<{
|
|
398
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
399
399
|
readonly source?: "custom" | "system" | undefined;
|
|
400
400
|
} & {
|
|
401
401
|
name: string;
|
|
402
402
|
property_values: readonly string[];
|
|
403
403
|
}>>[] | undefined;
|
|
404
|
-
readonly exclude?: readonly Readonly<
|
|
404
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
405
405
|
readonly source?: "custom" | "system" | undefined;
|
|
406
406
|
} & {
|
|
407
407
|
name: string;
|
|
@@ -409,45 +409,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
409
409
|
}>>[] | undefined;
|
|
410
410
|
}>>;
|
|
411
411
|
}>> | null;
|
|
412
|
-
fill: (a: unknown) => Readonly<
|
|
413
|
-
readonly ref_name?: Readonly<
|
|
412
|
+
fill: (a: unknown) => MergeIntersection<Readonly<{
|
|
413
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
414
414
|
readonly include?: readonly string[] | undefined;
|
|
415
415
|
readonly exclude?: readonly string[] | undefined;
|
|
416
416
|
}>> | undefined;
|
|
417
|
-
}>> | MergeIntersection<Readonly<
|
|
418
|
-
readonly ref_name?: Readonly<
|
|
417
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
418
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
419
419
|
readonly include?: readonly string[] | undefined;
|
|
420
420
|
readonly exclude?: readonly string[] | undefined;
|
|
421
421
|
}>> | undefined;
|
|
422
422
|
}>> & Readonly<{
|
|
423
|
-
repository_name: Readonly<
|
|
423
|
+
repository_name: MergeIntersection<Readonly<{
|
|
424
424
|
readonly include?: readonly string[] | undefined;
|
|
425
425
|
readonly exclude?: readonly string[] | undefined;
|
|
426
426
|
readonly protected?: boolean | undefined;
|
|
427
427
|
}>>;
|
|
428
|
-
}>> | MergeIntersection<Readonly<
|
|
429
|
-
readonly ref_name?: Readonly<
|
|
428
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
429
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
430
430
|
readonly include?: readonly string[] | undefined;
|
|
431
431
|
readonly exclude?: readonly string[] | undefined;
|
|
432
432
|
}>> | undefined;
|
|
433
433
|
}>> & Readonly<{
|
|
434
|
-
repository_id: Readonly<
|
|
434
|
+
repository_id: MergeIntersection<Readonly<{
|
|
435
435
|
readonly repository_ids?: readonly number[] | undefined;
|
|
436
436
|
}>>;
|
|
437
|
-
}>> | MergeIntersection<Readonly<
|
|
438
|
-
readonly ref_name?: Readonly<
|
|
437
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
438
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
439
439
|
readonly include?: readonly string[] | undefined;
|
|
440
440
|
readonly exclude?: readonly string[] | undefined;
|
|
441
441
|
}>> | undefined;
|
|
442
442
|
}>> & Readonly<{
|
|
443
|
-
repository_property: Readonly<
|
|
444
|
-
readonly include?: readonly Readonly<
|
|
443
|
+
repository_property: MergeIntersection<Readonly<{
|
|
444
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
445
445
|
readonly source?: "custom" | "system" | undefined;
|
|
446
446
|
} & {
|
|
447
447
|
name: string;
|
|
448
448
|
property_values: readonly string[];
|
|
449
449
|
}>>[] | undefined;
|
|
450
|
-
readonly exclude?: readonly Readonly<
|
|
450
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
451
451
|
readonly source?: "custom" | "system" | undefined;
|
|
452
452
|
} & {
|
|
453
453
|
name: string;
|
|
@@ -455,45 +455,45 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
455
455
|
}>>[] | undefined;
|
|
456
456
|
}>>;
|
|
457
457
|
}>> | null;
|
|
458
|
-
validate: (a: unknown) => Result<Readonly<
|
|
459
|
-
readonly ref_name?: Readonly<
|
|
458
|
+
validate: (a: unknown) => Result<MergeIntersection<Readonly<{
|
|
459
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
460
460
|
readonly include?: readonly string[] | undefined;
|
|
461
461
|
readonly exclude?: readonly string[] | undefined;
|
|
462
462
|
}>> | undefined;
|
|
463
|
-
}>> | MergeIntersection<Readonly<
|
|
464
|
-
readonly ref_name?: Readonly<
|
|
463
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
464
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
465
465
|
readonly include?: readonly string[] | undefined;
|
|
466
466
|
readonly exclude?: readonly string[] | undefined;
|
|
467
467
|
}>> | undefined;
|
|
468
468
|
}>> & Readonly<{
|
|
469
|
-
repository_name: Readonly<
|
|
469
|
+
repository_name: MergeIntersection<Readonly<{
|
|
470
470
|
readonly include?: readonly string[] | undefined;
|
|
471
471
|
readonly exclude?: readonly string[] | undefined;
|
|
472
472
|
readonly protected?: boolean | undefined;
|
|
473
473
|
}>>;
|
|
474
|
-
}>> | MergeIntersection<Readonly<
|
|
475
|
-
readonly ref_name?: Readonly<
|
|
474
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
475
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
476
476
|
readonly include?: readonly string[] | undefined;
|
|
477
477
|
readonly exclude?: readonly string[] | undefined;
|
|
478
478
|
}>> | undefined;
|
|
479
479
|
}>> & Readonly<{
|
|
480
|
-
repository_id: Readonly<
|
|
480
|
+
repository_id: MergeIntersection<Readonly<{
|
|
481
481
|
readonly repository_ids?: readonly number[] | undefined;
|
|
482
482
|
}>>;
|
|
483
|
-
}>> | MergeIntersection<Readonly<
|
|
484
|
-
readonly ref_name?: Readonly<
|
|
483
|
+
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
484
|
+
readonly ref_name?: MergeIntersection<Readonly<{
|
|
485
485
|
readonly include?: readonly string[] | undefined;
|
|
486
486
|
readonly exclude?: readonly string[] | undefined;
|
|
487
487
|
}>> | undefined;
|
|
488
488
|
}>> & Readonly<{
|
|
489
|
-
repository_property: Readonly<
|
|
490
|
-
readonly include?: readonly Readonly<
|
|
489
|
+
repository_property: MergeIntersection<Readonly<{
|
|
490
|
+
readonly include?: readonly MergeIntersection<Readonly<{
|
|
491
491
|
readonly source?: "custom" | "system" | undefined;
|
|
492
492
|
} & {
|
|
493
493
|
name: string;
|
|
494
494
|
property_values: readonly string[];
|
|
495
495
|
}>>[] | undefined;
|
|
496
|
-
readonly exclude?: readonly Readonly<
|
|
496
|
+
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
497
497
|
readonly source?: "custom" | "system" | undefined;
|
|
498
498
|
} & {
|
|
499
499
|
name: string;
|
|
@@ -513,7 +513,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
513
513
|
typeName: string;
|
|
514
514
|
defaultValue: readonly (Readonly<{
|
|
515
515
|
type: "creation";
|
|
516
|
-
}> | Readonly<
|
|
516
|
+
}> | MergeIntersection<Readonly<{
|
|
517
517
|
readonly parameters?: Readonly<{
|
|
518
518
|
update_allows_fetch_and_merge: boolean;
|
|
519
519
|
}> | undefined;
|
|
@@ -523,7 +523,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
523
523
|
type: "deletion";
|
|
524
524
|
}> | Readonly<{
|
|
525
525
|
type: "required_linear_history";
|
|
526
|
-
}> | Readonly<
|
|
526
|
+
}> | MergeIntersection<Readonly<{
|
|
527
527
|
readonly parameters?: Readonly<{
|
|
528
528
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
529
529
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -535,7 +535,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
535
535
|
}> | undefined;
|
|
536
536
|
} & {
|
|
537
537
|
type: "merge_queue";
|
|
538
|
-
}>> | Readonly<
|
|
538
|
+
}>> | MergeIntersection<Readonly<{
|
|
539
539
|
readonly parameters?: Readonly<{
|
|
540
540
|
required_deployment_environments: readonly string[];
|
|
541
541
|
}> | undefined;
|
|
@@ -543,8 +543,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
543
543
|
type: "required_deployments";
|
|
544
544
|
}>> | Readonly<{
|
|
545
545
|
type: "required_signatures";
|
|
546
|
-
}> | Readonly<
|
|
547
|
-
readonly parameters?: Readonly<
|
|
546
|
+
}> | MergeIntersection<Readonly<{
|
|
547
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
548
548
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
549
549
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
550
550
|
} & {
|
|
@@ -556,11 +556,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
556
556
|
}>> | undefined;
|
|
557
557
|
} & {
|
|
558
558
|
type: "pull_request";
|
|
559
|
-
}>> | Readonly<
|
|
560
|
-
readonly parameters?: Readonly<
|
|
559
|
+
}>> | MergeIntersection<Readonly<{
|
|
560
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
561
561
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
562
562
|
} & {
|
|
563
|
-
required_status_checks: readonly Readonly<
|
|
563
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
564
564
|
readonly integration_id?: number | undefined;
|
|
565
565
|
} & {
|
|
566
566
|
context: string;
|
|
@@ -571,8 +571,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
571
571
|
type: "required_status_checks";
|
|
572
572
|
}>> | Readonly<{
|
|
573
573
|
type: "non_fast_forward";
|
|
574
|
-
}> | Readonly<
|
|
575
|
-
readonly parameters?: Readonly<
|
|
574
|
+
}> | MergeIntersection<Readonly<{
|
|
575
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
576
576
|
readonly name?: string | undefined;
|
|
577
577
|
readonly negate?: boolean | undefined;
|
|
578
578
|
} & {
|
|
@@ -581,8 +581,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
581
581
|
}>> | undefined;
|
|
582
582
|
} & {
|
|
583
583
|
type: "commit_message_pattern";
|
|
584
|
-
}>> | Readonly<
|
|
585
|
-
readonly parameters?: Readonly<
|
|
584
|
+
}>> | MergeIntersection<Readonly<{
|
|
585
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
586
586
|
readonly name?: string | undefined;
|
|
587
587
|
readonly negate?: boolean | undefined;
|
|
588
588
|
} & {
|
|
@@ -591,8 +591,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
591
591
|
}>> | undefined;
|
|
592
592
|
} & {
|
|
593
593
|
type: "commit_author_email_pattern";
|
|
594
|
-
}>> | Readonly<
|
|
595
|
-
readonly parameters?: Readonly<
|
|
594
|
+
}>> | MergeIntersection<Readonly<{
|
|
595
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
596
596
|
readonly name?: string | undefined;
|
|
597
597
|
readonly negate?: boolean | undefined;
|
|
598
598
|
} & {
|
|
@@ -601,8 +601,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
601
601
|
}>> | undefined;
|
|
602
602
|
} & {
|
|
603
603
|
type: "committer_email_pattern";
|
|
604
|
-
}>> | Readonly<
|
|
605
|
-
readonly parameters?: Readonly<
|
|
604
|
+
}>> | MergeIntersection<Readonly<{
|
|
605
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
606
606
|
readonly name?: string | undefined;
|
|
607
607
|
readonly negate?: boolean | undefined;
|
|
608
608
|
} & {
|
|
@@ -611,8 +611,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
611
611
|
}>> | undefined;
|
|
612
612
|
} & {
|
|
613
613
|
type: "branch_name_pattern";
|
|
614
|
-
}>> | Readonly<
|
|
615
|
-
readonly parameters?: Readonly<
|
|
614
|
+
}>> | MergeIntersection<Readonly<{
|
|
615
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
616
616
|
readonly name?: string | undefined;
|
|
617
617
|
readonly negate?: boolean | undefined;
|
|
618
618
|
} & {
|
|
@@ -621,35 +621,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
621
621
|
}>> | undefined;
|
|
622
622
|
} & {
|
|
623
623
|
type: "tag_name_pattern";
|
|
624
|
-
}>> | Readonly<
|
|
624
|
+
}>> | MergeIntersection<Readonly<{
|
|
625
625
|
readonly parameters?: Readonly<{
|
|
626
626
|
restricted_file_paths: readonly string[];
|
|
627
627
|
}> | undefined;
|
|
628
628
|
} & {
|
|
629
629
|
type: "file_path_restriction";
|
|
630
|
-
}>> | Readonly<
|
|
630
|
+
}>> | MergeIntersection<Readonly<{
|
|
631
631
|
readonly parameters?: Readonly<{
|
|
632
632
|
max_file_path_length: number;
|
|
633
633
|
}> | undefined;
|
|
634
634
|
} & {
|
|
635
635
|
type: "max_file_path_length";
|
|
636
|
-
}>> | Readonly<
|
|
636
|
+
}>> | MergeIntersection<Readonly<{
|
|
637
637
|
readonly parameters?: Readonly<{
|
|
638
638
|
restricted_file_extensions: readonly string[];
|
|
639
639
|
}> | undefined;
|
|
640
640
|
} & {
|
|
641
641
|
type: "file_extension_restriction";
|
|
642
|
-
}>> | Readonly<
|
|
642
|
+
}>> | MergeIntersection<Readonly<{
|
|
643
643
|
readonly parameters?: Readonly<{
|
|
644
644
|
max_file_size: number;
|
|
645
645
|
}> | undefined;
|
|
646
646
|
} & {
|
|
647
647
|
type: "max_file_size";
|
|
648
|
-
}>> | Readonly<
|
|
649
|
-
readonly parameters?: Readonly<
|
|
648
|
+
}>> | MergeIntersection<Readonly<{
|
|
649
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
650
650
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
651
651
|
} & {
|
|
652
|
-
workflows: readonly Readonly<
|
|
652
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
653
653
|
readonly ref?: string | undefined;
|
|
654
654
|
readonly sha?: string | undefined;
|
|
655
655
|
} & {
|
|
@@ -659,7 +659,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
659
659
|
}>> | undefined;
|
|
660
660
|
} & {
|
|
661
661
|
type: "workflows";
|
|
662
|
-
}>> | Readonly<
|
|
662
|
+
}>> | MergeIntersection<Readonly<{
|
|
663
663
|
readonly parameters?: Readonly<{
|
|
664
664
|
code_scanning_tools: readonly Readonly<{
|
|
665
665
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -669,8 +669,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
669
669
|
}> | undefined;
|
|
670
670
|
} & {
|
|
671
671
|
type: "code_scanning";
|
|
672
|
-
}>> | Readonly<
|
|
673
|
-
readonly parameters?: Readonly<
|
|
672
|
+
}>> | MergeIntersection<Readonly<{
|
|
673
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
674
674
|
readonly review_on_push?: boolean | undefined;
|
|
675
675
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
676
676
|
}>> | undefined;
|
|
@@ -679,7 +679,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
679
679
|
}>>)[];
|
|
680
680
|
is: (a: unknown) => a is readonly (Readonly<{
|
|
681
681
|
type: "creation";
|
|
682
|
-
}> | Readonly<
|
|
682
|
+
}> | MergeIntersection<Readonly<{
|
|
683
683
|
readonly parameters?: Readonly<{
|
|
684
684
|
update_allows_fetch_and_merge: boolean;
|
|
685
685
|
}> | undefined;
|
|
@@ -689,7 +689,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
689
689
|
type: "deletion";
|
|
690
690
|
}> | Readonly<{
|
|
691
691
|
type: "required_linear_history";
|
|
692
|
-
}> | Readonly<
|
|
692
|
+
}> | MergeIntersection<Readonly<{
|
|
693
693
|
readonly parameters?: Readonly<{
|
|
694
694
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
695
695
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -701,7 +701,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
701
701
|
}> | undefined;
|
|
702
702
|
} & {
|
|
703
703
|
type: "merge_queue";
|
|
704
|
-
}>> | Readonly<
|
|
704
|
+
}>> | MergeIntersection<Readonly<{
|
|
705
705
|
readonly parameters?: Readonly<{
|
|
706
706
|
required_deployment_environments: readonly string[];
|
|
707
707
|
}> | undefined;
|
|
@@ -709,8 +709,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
709
709
|
type: "required_deployments";
|
|
710
710
|
}>> | Readonly<{
|
|
711
711
|
type: "required_signatures";
|
|
712
|
-
}> | Readonly<
|
|
713
|
-
readonly parameters?: Readonly<
|
|
712
|
+
}> | MergeIntersection<Readonly<{
|
|
713
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
714
714
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
715
715
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
716
716
|
} & {
|
|
@@ -722,11 +722,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
722
722
|
}>> | undefined;
|
|
723
723
|
} & {
|
|
724
724
|
type: "pull_request";
|
|
725
|
-
}>> | Readonly<
|
|
726
|
-
readonly parameters?: Readonly<
|
|
725
|
+
}>> | MergeIntersection<Readonly<{
|
|
726
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
727
727
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
728
728
|
} & {
|
|
729
|
-
required_status_checks: readonly Readonly<
|
|
729
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
730
730
|
readonly integration_id?: number | undefined;
|
|
731
731
|
} & {
|
|
732
732
|
context: string;
|
|
@@ -737,8 +737,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
737
737
|
type: "required_status_checks";
|
|
738
738
|
}>> | Readonly<{
|
|
739
739
|
type: "non_fast_forward";
|
|
740
|
-
}> | Readonly<
|
|
741
|
-
readonly parameters?: Readonly<
|
|
740
|
+
}> | MergeIntersection<Readonly<{
|
|
741
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
742
742
|
readonly name?: string | undefined;
|
|
743
743
|
readonly negate?: boolean | undefined;
|
|
744
744
|
} & {
|
|
@@ -747,8 +747,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
747
747
|
}>> | undefined;
|
|
748
748
|
} & {
|
|
749
749
|
type: "commit_message_pattern";
|
|
750
|
-
}>> | Readonly<
|
|
751
|
-
readonly parameters?: Readonly<
|
|
750
|
+
}>> | MergeIntersection<Readonly<{
|
|
751
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
752
752
|
readonly name?: string | undefined;
|
|
753
753
|
readonly negate?: boolean | undefined;
|
|
754
754
|
} & {
|
|
@@ -757,8 +757,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
757
757
|
}>> | undefined;
|
|
758
758
|
} & {
|
|
759
759
|
type: "commit_author_email_pattern";
|
|
760
|
-
}>> | Readonly<
|
|
761
|
-
readonly parameters?: Readonly<
|
|
760
|
+
}>> | MergeIntersection<Readonly<{
|
|
761
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
762
762
|
readonly name?: string | undefined;
|
|
763
763
|
readonly negate?: boolean | undefined;
|
|
764
764
|
} & {
|
|
@@ -767,8 +767,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
767
767
|
}>> | undefined;
|
|
768
768
|
} & {
|
|
769
769
|
type: "committer_email_pattern";
|
|
770
|
-
}>> | Readonly<
|
|
771
|
-
readonly parameters?: Readonly<
|
|
770
|
+
}>> | MergeIntersection<Readonly<{
|
|
771
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
772
772
|
readonly name?: string | undefined;
|
|
773
773
|
readonly negate?: boolean | undefined;
|
|
774
774
|
} & {
|
|
@@ -777,8 +777,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
777
777
|
}>> | undefined;
|
|
778
778
|
} & {
|
|
779
779
|
type: "branch_name_pattern";
|
|
780
|
-
}>> | Readonly<
|
|
781
|
-
readonly parameters?: Readonly<
|
|
780
|
+
}>> | MergeIntersection<Readonly<{
|
|
781
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
782
782
|
readonly name?: string | undefined;
|
|
783
783
|
readonly negate?: boolean | undefined;
|
|
784
784
|
} & {
|
|
@@ -787,35 +787,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
787
787
|
}>> | undefined;
|
|
788
788
|
} & {
|
|
789
789
|
type: "tag_name_pattern";
|
|
790
|
-
}>> | Readonly<
|
|
790
|
+
}>> | MergeIntersection<Readonly<{
|
|
791
791
|
readonly parameters?: Readonly<{
|
|
792
792
|
restricted_file_paths: readonly string[];
|
|
793
793
|
}> | undefined;
|
|
794
794
|
} & {
|
|
795
795
|
type: "file_path_restriction";
|
|
796
|
-
}>> | Readonly<
|
|
796
|
+
}>> | MergeIntersection<Readonly<{
|
|
797
797
|
readonly parameters?: Readonly<{
|
|
798
798
|
max_file_path_length: number;
|
|
799
799
|
}> | undefined;
|
|
800
800
|
} & {
|
|
801
801
|
type: "max_file_path_length";
|
|
802
|
-
}>> | Readonly<
|
|
802
|
+
}>> | MergeIntersection<Readonly<{
|
|
803
803
|
readonly parameters?: Readonly<{
|
|
804
804
|
restricted_file_extensions: readonly string[];
|
|
805
805
|
}> | undefined;
|
|
806
806
|
} & {
|
|
807
807
|
type: "file_extension_restriction";
|
|
808
|
-
}>> | Readonly<
|
|
808
|
+
}>> | MergeIntersection<Readonly<{
|
|
809
809
|
readonly parameters?: Readonly<{
|
|
810
810
|
max_file_size: number;
|
|
811
811
|
}> | undefined;
|
|
812
812
|
} & {
|
|
813
813
|
type: "max_file_size";
|
|
814
|
-
}>> | Readonly<
|
|
815
|
-
readonly parameters?: Readonly<
|
|
814
|
+
}>> | MergeIntersection<Readonly<{
|
|
815
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
816
816
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
817
817
|
} & {
|
|
818
|
-
workflows: readonly Readonly<
|
|
818
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
819
819
|
readonly ref?: string | undefined;
|
|
820
820
|
readonly sha?: string | undefined;
|
|
821
821
|
} & {
|
|
@@ -825,7 +825,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
825
825
|
}>> | undefined;
|
|
826
826
|
} & {
|
|
827
827
|
type: "workflows";
|
|
828
|
-
}>> | Readonly<
|
|
828
|
+
}>> | MergeIntersection<Readonly<{
|
|
829
829
|
readonly parameters?: Readonly<{
|
|
830
830
|
code_scanning_tools: readonly Readonly<{
|
|
831
831
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -835,8 +835,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
835
835
|
}> | undefined;
|
|
836
836
|
} & {
|
|
837
837
|
type: "code_scanning";
|
|
838
|
-
}>> | Readonly<
|
|
839
|
-
readonly parameters?: Readonly<
|
|
838
|
+
}>> | MergeIntersection<Readonly<{
|
|
839
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
840
840
|
readonly review_on_push?: boolean | undefined;
|
|
841
841
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
842
842
|
}>> | undefined;
|
|
@@ -845,7 +845,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
845
845
|
}>>)[];
|
|
846
846
|
assertIs: (a: unknown) => asserts a is readonly (Readonly<{
|
|
847
847
|
type: "creation";
|
|
848
|
-
}> | Readonly<
|
|
848
|
+
}> | MergeIntersection<Readonly<{
|
|
849
849
|
readonly parameters?: Readonly<{
|
|
850
850
|
update_allows_fetch_and_merge: boolean;
|
|
851
851
|
}> | undefined;
|
|
@@ -855,7 +855,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
855
855
|
type: "deletion";
|
|
856
856
|
}> | Readonly<{
|
|
857
857
|
type: "required_linear_history";
|
|
858
|
-
}> | Readonly<
|
|
858
|
+
}> | MergeIntersection<Readonly<{
|
|
859
859
|
readonly parameters?: Readonly<{
|
|
860
860
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
861
861
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -867,7 +867,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
867
867
|
}> | undefined;
|
|
868
868
|
} & {
|
|
869
869
|
type: "merge_queue";
|
|
870
|
-
}>> | Readonly<
|
|
870
|
+
}>> | MergeIntersection<Readonly<{
|
|
871
871
|
readonly parameters?: Readonly<{
|
|
872
872
|
required_deployment_environments: readonly string[];
|
|
873
873
|
}> | undefined;
|
|
@@ -875,8 +875,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
875
875
|
type: "required_deployments";
|
|
876
876
|
}>> | Readonly<{
|
|
877
877
|
type: "required_signatures";
|
|
878
|
-
}> | Readonly<
|
|
879
|
-
readonly parameters?: Readonly<
|
|
878
|
+
}> | MergeIntersection<Readonly<{
|
|
879
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
880
880
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
881
881
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
882
882
|
} & {
|
|
@@ -888,11 +888,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
888
888
|
}>> | undefined;
|
|
889
889
|
} & {
|
|
890
890
|
type: "pull_request";
|
|
891
|
-
}>> | Readonly<
|
|
892
|
-
readonly parameters?: Readonly<
|
|
891
|
+
}>> | MergeIntersection<Readonly<{
|
|
892
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
893
893
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
894
894
|
} & {
|
|
895
|
-
required_status_checks: readonly Readonly<
|
|
895
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
896
896
|
readonly integration_id?: number | undefined;
|
|
897
897
|
} & {
|
|
898
898
|
context: string;
|
|
@@ -903,8 +903,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
903
903
|
type: "required_status_checks";
|
|
904
904
|
}>> | Readonly<{
|
|
905
905
|
type: "non_fast_forward";
|
|
906
|
-
}> | Readonly<
|
|
907
|
-
readonly parameters?: Readonly<
|
|
906
|
+
}> | MergeIntersection<Readonly<{
|
|
907
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
908
908
|
readonly name?: string | undefined;
|
|
909
909
|
readonly negate?: boolean | undefined;
|
|
910
910
|
} & {
|
|
@@ -913,8 +913,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
913
913
|
}>> | undefined;
|
|
914
914
|
} & {
|
|
915
915
|
type: "commit_message_pattern";
|
|
916
|
-
}>> | Readonly<
|
|
917
|
-
readonly parameters?: Readonly<
|
|
916
|
+
}>> | MergeIntersection<Readonly<{
|
|
917
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
918
918
|
readonly name?: string | undefined;
|
|
919
919
|
readonly negate?: boolean | undefined;
|
|
920
920
|
} & {
|
|
@@ -923,8 +923,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
923
923
|
}>> | undefined;
|
|
924
924
|
} & {
|
|
925
925
|
type: "commit_author_email_pattern";
|
|
926
|
-
}>> | Readonly<
|
|
927
|
-
readonly parameters?: Readonly<
|
|
926
|
+
}>> | MergeIntersection<Readonly<{
|
|
927
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
928
928
|
readonly name?: string | undefined;
|
|
929
929
|
readonly negate?: boolean | undefined;
|
|
930
930
|
} & {
|
|
@@ -933,8 +933,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
933
933
|
}>> | undefined;
|
|
934
934
|
} & {
|
|
935
935
|
type: "committer_email_pattern";
|
|
936
|
-
}>> | Readonly<
|
|
937
|
-
readonly parameters?: Readonly<
|
|
936
|
+
}>> | MergeIntersection<Readonly<{
|
|
937
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
938
938
|
readonly name?: string | undefined;
|
|
939
939
|
readonly negate?: boolean | undefined;
|
|
940
940
|
} & {
|
|
@@ -943,8 +943,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
943
943
|
}>> | undefined;
|
|
944
944
|
} & {
|
|
945
945
|
type: "branch_name_pattern";
|
|
946
|
-
}>> | Readonly<
|
|
947
|
-
readonly parameters?: Readonly<
|
|
946
|
+
}>> | MergeIntersection<Readonly<{
|
|
947
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
948
948
|
readonly name?: string | undefined;
|
|
949
949
|
readonly negate?: boolean | undefined;
|
|
950
950
|
} & {
|
|
@@ -953,35 +953,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
953
953
|
}>> | undefined;
|
|
954
954
|
} & {
|
|
955
955
|
type: "tag_name_pattern";
|
|
956
|
-
}>> | Readonly<
|
|
956
|
+
}>> | MergeIntersection<Readonly<{
|
|
957
957
|
readonly parameters?: Readonly<{
|
|
958
958
|
restricted_file_paths: readonly string[];
|
|
959
959
|
}> | undefined;
|
|
960
960
|
} & {
|
|
961
961
|
type: "file_path_restriction";
|
|
962
|
-
}>> | Readonly<
|
|
962
|
+
}>> | MergeIntersection<Readonly<{
|
|
963
963
|
readonly parameters?: Readonly<{
|
|
964
964
|
max_file_path_length: number;
|
|
965
965
|
}> | undefined;
|
|
966
966
|
} & {
|
|
967
967
|
type: "max_file_path_length";
|
|
968
|
-
}>> | Readonly<
|
|
968
|
+
}>> | MergeIntersection<Readonly<{
|
|
969
969
|
readonly parameters?: Readonly<{
|
|
970
970
|
restricted_file_extensions: readonly string[];
|
|
971
971
|
}> | undefined;
|
|
972
972
|
} & {
|
|
973
973
|
type: "file_extension_restriction";
|
|
974
|
-
}>> | Readonly<
|
|
974
|
+
}>> | MergeIntersection<Readonly<{
|
|
975
975
|
readonly parameters?: Readonly<{
|
|
976
976
|
max_file_size: number;
|
|
977
977
|
}> | undefined;
|
|
978
978
|
} & {
|
|
979
979
|
type: "max_file_size";
|
|
980
|
-
}>> | Readonly<
|
|
981
|
-
readonly parameters?: Readonly<
|
|
980
|
+
}>> | MergeIntersection<Readonly<{
|
|
981
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
982
982
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
983
983
|
} & {
|
|
984
|
-
workflows: readonly Readonly<
|
|
984
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
985
985
|
readonly ref?: string | undefined;
|
|
986
986
|
readonly sha?: string | undefined;
|
|
987
987
|
} & {
|
|
@@ -991,7 +991,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
991
991
|
}>> | undefined;
|
|
992
992
|
} & {
|
|
993
993
|
type: "workflows";
|
|
994
|
-
}>> | Readonly<
|
|
994
|
+
}>> | MergeIntersection<Readonly<{
|
|
995
995
|
readonly parameters?: Readonly<{
|
|
996
996
|
code_scanning_tools: readonly Readonly<{
|
|
997
997
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1001,8 +1001,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1001
1001
|
}> | undefined;
|
|
1002
1002
|
} & {
|
|
1003
1003
|
type: "code_scanning";
|
|
1004
|
-
}>> | Readonly<
|
|
1005
|
-
readonly parameters?: Readonly<
|
|
1004
|
+
}>> | MergeIntersection<Readonly<{
|
|
1005
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1006
1006
|
readonly review_on_push?: boolean | undefined;
|
|
1007
1007
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
1008
1008
|
}>> | undefined;
|
|
@@ -1011,7 +1011,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1011
1011
|
}>>)[];
|
|
1012
1012
|
cast: (a: unknown) => readonly (Readonly<{
|
|
1013
1013
|
type: "creation";
|
|
1014
|
-
}> | Readonly<
|
|
1014
|
+
}> | MergeIntersection<Readonly<{
|
|
1015
1015
|
readonly parameters?: Readonly<{
|
|
1016
1016
|
update_allows_fetch_and_merge: boolean;
|
|
1017
1017
|
}> | undefined;
|
|
@@ -1021,7 +1021,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1021
1021
|
type: "deletion";
|
|
1022
1022
|
}> | Readonly<{
|
|
1023
1023
|
type: "required_linear_history";
|
|
1024
|
-
}> | Readonly<
|
|
1024
|
+
}> | MergeIntersection<Readonly<{
|
|
1025
1025
|
readonly parameters?: Readonly<{
|
|
1026
1026
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
1027
1027
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -1033,7 +1033,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1033
1033
|
}> | undefined;
|
|
1034
1034
|
} & {
|
|
1035
1035
|
type: "merge_queue";
|
|
1036
|
-
}>> | Readonly<
|
|
1036
|
+
}>> | MergeIntersection<Readonly<{
|
|
1037
1037
|
readonly parameters?: Readonly<{
|
|
1038
1038
|
required_deployment_environments: readonly string[];
|
|
1039
1039
|
}> | undefined;
|
|
@@ -1041,8 +1041,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1041
1041
|
type: "required_deployments";
|
|
1042
1042
|
}>> | Readonly<{
|
|
1043
1043
|
type: "required_signatures";
|
|
1044
|
-
}> | Readonly<
|
|
1045
|
-
readonly parameters?: Readonly<
|
|
1044
|
+
}> | MergeIntersection<Readonly<{
|
|
1045
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1046
1046
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
1047
1047
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
1048
1048
|
} & {
|
|
@@ -1054,11 +1054,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1054
1054
|
}>> | undefined;
|
|
1055
1055
|
} & {
|
|
1056
1056
|
type: "pull_request";
|
|
1057
|
-
}>> | Readonly<
|
|
1058
|
-
readonly parameters?: Readonly<
|
|
1057
|
+
}>> | MergeIntersection<Readonly<{
|
|
1058
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1059
1059
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1060
1060
|
} & {
|
|
1061
|
-
required_status_checks: readonly Readonly<
|
|
1061
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
1062
1062
|
readonly integration_id?: number | undefined;
|
|
1063
1063
|
} & {
|
|
1064
1064
|
context: string;
|
|
@@ -1069,8 +1069,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1069
1069
|
type: "required_status_checks";
|
|
1070
1070
|
}>> | Readonly<{
|
|
1071
1071
|
type: "non_fast_forward";
|
|
1072
|
-
}> | Readonly<
|
|
1073
|
-
readonly parameters?: Readonly<
|
|
1072
|
+
}> | MergeIntersection<Readonly<{
|
|
1073
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1074
1074
|
readonly name?: string | undefined;
|
|
1075
1075
|
readonly negate?: boolean | undefined;
|
|
1076
1076
|
} & {
|
|
@@ -1079,8 +1079,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1079
1079
|
}>> | undefined;
|
|
1080
1080
|
} & {
|
|
1081
1081
|
type: "commit_message_pattern";
|
|
1082
|
-
}>> | Readonly<
|
|
1083
|
-
readonly parameters?: Readonly<
|
|
1082
|
+
}>> | MergeIntersection<Readonly<{
|
|
1083
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1084
1084
|
readonly name?: string | undefined;
|
|
1085
1085
|
readonly negate?: boolean | undefined;
|
|
1086
1086
|
} & {
|
|
@@ -1089,8 +1089,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1089
1089
|
}>> | undefined;
|
|
1090
1090
|
} & {
|
|
1091
1091
|
type: "commit_author_email_pattern";
|
|
1092
|
-
}>> | Readonly<
|
|
1093
|
-
readonly parameters?: Readonly<
|
|
1092
|
+
}>> | MergeIntersection<Readonly<{
|
|
1093
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1094
1094
|
readonly name?: string | undefined;
|
|
1095
1095
|
readonly negate?: boolean | undefined;
|
|
1096
1096
|
} & {
|
|
@@ -1099,8 +1099,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1099
1099
|
}>> | undefined;
|
|
1100
1100
|
} & {
|
|
1101
1101
|
type: "committer_email_pattern";
|
|
1102
|
-
}>> | Readonly<
|
|
1103
|
-
readonly parameters?: Readonly<
|
|
1102
|
+
}>> | MergeIntersection<Readonly<{
|
|
1103
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1104
1104
|
readonly name?: string | undefined;
|
|
1105
1105
|
readonly negate?: boolean | undefined;
|
|
1106
1106
|
} & {
|
|
@@ -1109,8 +1109,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1109
1109
|
}>> | undefined;
|
|
1110
1110
|
} & {
|
|
1111
1111
|
type: "branch_name_pattern";
|
|
1112
|
-
}>> | Readonly<
|
|
1113
|
-
readonly parameters?: Readonly<
|
|
1112
|
+
}>> | MergeIntersection<Readonly<{
|
|
1113
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1114
1114
|
readonly name?: string | undefined;
|
|
1115
1115
|
readonly negate?: boolean | undefined;
|
|
1116
1116
|
} & {
|
|
@@ -1119,35 +1119,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1119
1119
|
}>> | undefined;
|
|
1120
1120
|
} & {
|
|
1121
1121
|
type: "tag_name_pattern";
|
|
1122
|
-
}>> | Readonly<
|
|
1122
|
+
}>> | MergeIntersection<Readonly<{
|
|
1123
1123
|
readonly parameters?: Readonly<{
|
|
1124
1124
|
restricted_file_paths: readonly string[];
|
|
1125
1125
|
}> | undefined;
|
|
1126
1126
|
} & {
|
|
1127
1127
|
type: "file_path_restriction";
|
|
1128
|
-
}>> | Readonly<
|
|
1128
|
+
}>> | MergeIntersection<Readonly<{
|
|
1129
1129
|
readonly parameters?: Readonly<{
|
|
1130
1130
|
max_file_path_length: number;
|
|
1131
1131
|
}> | undefined;
|
|
1132
1132
|
} & {
|
|
1133
1133
|
type: "max_file_path_length";
|
|
1134
|
-
}>> | Readonly<
|
|
1134
|
+
}>> | MergeIntersection<Readonly<{
|
|
1135
1135
|
readonly parameters?: Readonly<{
|
|
1136
1136
|
restricted_file_extensions: readonly string[];
|
|
1137
1137
|
}> | undefined;
|
|
1138
1138
|
} & {
|
|
1139
1139
|
type: "file_extension_restriction";
|
|
1140
|
-
}>> | Readonly<
|
|
1140
|
+
}>> | MergeIntersection<Readonly<{
|
|
1141
1141
|
readonly parameters?: Readonly<{
|
|
1142
1142
|
max_file_size: number;
|
|
1143
1143
|
}> | undefined;
|
|
1144
1144
|
} & {
|
|
1145
1145
|
type: "max_file_size";
|
|
1146
|
-
}>> | Readonly<
|
|
1147
|
-
readonly parameters?: Readonly<
|
|
1146
|
+
}>> | MergeIntersection<Readonly<{
|
|
1147
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1148
1148
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1149
1149
|
} & {
|
|
1150
|
-
workflows: readonly Readonly<
|
|
1150
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
1151
1151
|
readonly ref?: string | undefined;
|
|
1152
1152
|
readonly sha?: string | undefined;
|
|
1153
1153
|
} & {
|
|
@@ -1157,7 +1157,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1157
1157
|
}>> | undefined;
|
|
1158
1158
|
} & {
|
|
1159
1159
|
type: "workflows";
|
|
1160
|
-
}>> | Readonly<
|
|
1160
|
+
}>> | MergeIntersection<Readonly<{
|
|
1161
1161
|
readonly parameters?: Readonly<{
|
|
1162
1162
|
code_scanning_tools: readonly Readonly<{
|
|
1163
1163
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1167,8 +1167,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1167
1167
|
}> | undefined;
|
|
1168
1168
|
} & {
|
|
1169
1169
|
type: "code_scanning";
|
|
1170
|
-
}>> | Readonly<
|
|
1171
|
-
readonly parameters?: Readonly<
|
|
1170
|
+
}>> | MergeIntersection<Readonly<{
|
|
1171
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1172
1172
|
readonly review_on_push?: boolean | undefined;
|
|
1173
1173
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
1174
1174
|
}>> | undefined;
|
|
@@ -1177,7 +1177,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1177
1177
|
}>>)[];
|
|
1178
1178
|
fill: (a: unknown) => readonly (Readonly<{
|
|
1179
1179
|
type: "creation";
|
|
1180
|
-
}> | Readonly<
|
|
1180
|
+
}> | MergeIntersection<Readonly<{
|
|
1181
1181
|
readonly parameters?: Readonly<{
|
|
1182
1182
|
update_allows_fetch_and_merge: boolean;
|
|
1183
1183
|
}> | undefined;
|
|
@@ -1187,7 +1187,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1187
1187
|
type: "deletion";
|
|
1188
1188
|
}> | Readonly<{
|
|
1189
1189
|
type: "required_linear_history";
|
|
1190
|
-
}> | Readonly<
|
|
1190
|
+
}> | MergeIntersection<Readonly<{
|
|
1191
1191
|
readonly parameters?: Readonly<{
|
|
1192
1192
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
1193
1193
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -1199,7 +1199,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1199
1199
|
}> | undefined;
|
|
1200
1200
|
} & {
|
|
1201
1201
|
type: "merge_queue";
|
|
1202
|
-
}>> | Readonly<
|
|
1202
|
+
}>> | MergeIntersection<Readonly<{
|
|
1203
1203
|
readonly parameters?: Readonly<{
|
|
1204
1204
|
required_deployment_environments: readonly string[];
|
|
1205
1205
|
}> | undefined;
|
|
@@ -1207,8 +1207,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1207
1207
|
type: "required_deployments";
|
|
1208
1208
|
}>> | Readonly<{
|
|
1209
1209
|
type: "required_signatures";
|
|
1210
|
-
}> | Readonly<
|
|
1211
|
-
readonly parameters?: Readonly<
|
|
1210
|
+
}> | MergeIntersection<Readonly<{
|
|
1211
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1212
1212
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
1213
1213
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
1214
1214
|
} & {
|
|
@@ -1220,11 +1220,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1220
1220
|
}>> | undefined;
|
|
1221
1221
|
} & {
|
|
1222
1222
|
type: "pull_request";
|
|
1223
|
-
}>> | Readonly<
|
|
1224
|
-
readonly parameters?: Readonly<
|
|
1223
|
+
}>> | MergeIntersection<Readonly<{
|
|
1224
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1225
1225
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1226
1226
|
} & {
|
|
1227
|
-
required_status_checks: readonly Readonly<
|
|
1227
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
1228
1228
|
readonly integration_id?: number | undefined;
|
|
1229
1229
|
} & {
|
|
1230
1230
|
context: string;
|
|
@@ -1235,8 +1235,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1235
1235
|
type: "required_status_checks";
|
|
1236
1236
|
}>> | Readonly<{
|
|
1237
1237
|
type: "non_fast_forward";
|
|
1238
|
-
}> | Readonly<
|
|
1239
|
-
readonly parameters?: Readonly<
|
|
1238
|
+
}> | MergeIntersection<Readonly<{
|
|
1239
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1240
1240
|
readonly name?: string | undefined;
|
|
1241
1241
|
readonly negate?: boolean | undefined;
|
|
1242
1242
|
} & {
|
|
@@ -1245,8 +1245,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1245
1245
|
}>> | undefined;
|
|
1246
1246
|
} & {
|
|
1247
1247
|
type: "commit_message_pattern";
|
|
1248
|
-
}>> | Readonly<
|
|
1249
|
-
readonly parameters?: Readonly<
|
|
1248
|
+
}>> | MergeIntersection<Readonly<{
|
|
1249
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1250
1250
|
readonly name?: string | undefined;
|
|
1251
1251
|
readonly negate?: boolean | undefined;
|
|
1252
1252
|
} & {
|
|
@@ -1255,8 +1255,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1255
1255
|
}>> | undefined;
|
|
1256
1256
|
} & {
|
|
1257
1257
|
type: "commit_author_email_pattern";
|
|
1258
|
-
}>> | Readonly<
|
|
1259
|
-
readonly parameters?: Readonly<
|
|
1258
|
+
}>> | MergeIntersection<Readonly<{
|
|
1259
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1260
1260
|
readonly name?: string | undefined;
|
|
1261
1261
|
readonly negate?: boolean | undefined;
|
|
1262
1262
|
} & {
|
|
@@ -1265,8 +1265,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1265
1265
|
}>> | undefined;
|
|
1266
1266
|
} & {
|
|
1267
1267
|
type: "committer_email_pattern";
|
|
1268
|
-
}>> | Readonly<
|
|
1269
|
-
readonly parameters?: Readonly<
|
|
1268
|
+
}>> | MergeIntersection<Readonly<{
|
|
1269
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1270
1270
|
readonly name?: string | undefined;
|
|
1271
1271
|
readonly negate?: boolean | undefined;
|
|
1272
1272
|
} & {
|
|
@@ -1275,8 +1275,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1275
1275
|
}>> | undefined;
|
|
1276
1276
|
} & {
|
|
1277
1277
|
type: "branch_name_pattern";
|
|
1278
|
-
}>> | Readonly<
|
|
1279
|
-
readonly parameters?: Readonly<
|
|
1278
|
+
}>> | MergeIntersection<Readonly<{
|
|
1279
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1280
1280
|
readonly name?: string | undefined;
|
|
1281
1281
|
readonly negate?: boolean | undefined;
|
|
1282
1282
|
} & {
|
|
@@ -1285,35 +1285,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1285
1285
|
}>> | undefined;
|
|
1286
1286
|
} & {
|
|
1287
1287
|
type: "tag_name_pattern";
|
|
1288
|
-
}>> | Readonly<
|
|
1288
|
+
}>> | MergeIntersection<Readonly<{
|
|
1289
1289
|
readonly parameters?: Readonly<{
|
|
1290
1290
|
restricted_file_paths: readonly string[];
|
|
1291
1291
|
}> | undefined;
|
|
1292
1292
|
} & {
|
|
1293
1293
|
type: "file_path_restriction";
|
|
1294
|
-
}>> | Readonly<
|
|
1294
|
+
}>> | MergeIntersection<Readonly<{
|
|
1295
1295
|
readonly parameters?: Readonly<{
|
|
1296
1296
|
max_file_path_length: number;
|
|
1297
1297
|
}> | undefined;
|
|
1298
1298
|
} & {
|
|
1299
1299
|
type: "max_file_path_length";
|
|
1300
|
-
}>> | Readonly<
|
|
1300
|
+
}>> | MergeIntersection<Readonly<{
|
|
1301
1301
|
readonly parameters?: Readonly<{
|
|
1302
1302
|
restricted_file_extensions: readonly string[];
|
|
1303
1303
|
}> | undefined;
|
|
1304
1304
|
} & {
|
|
1305
1305
|
type: "file_extension_restriction";
|
|
1306
|
-
}>> | Readonly<
|
|
1306
|
+
}>> | MergeIntersection<Readonly<{
|
|
1307
1307
|
readonly parameters?: Readonly<{
|
|
1308
1308
|
max_file_size: number;
|
|
1309
1309
|
}> | undefined;
|
|
1310
1310
|
} & {
|
|
1311
1311
|
type: "max_file_size";
|
|
1312
|
-
}>> | Readonly<
|
|
1313
|
-
readonly parameters?: Readonly<
|
|
1312
|
+
}>> | MergeIntersection<Readonly<{
|
|
1313
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1314
1314
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1315
1315
|
} & {
|
|
1316
|
-
workflows: readonly Readonly<
|
|
1316
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
1317
1317
|
readonly ref?: string | undefined;
|
|
1318
1318
|
readonly sha?: string | undefined;
|
|
1319
1319
|
} & {
|
|
@@ -1323,7 +1323,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1323
1323
|
}>> | undefined;
|
|
1324
1324
|
} & {
|
|
1325
1325
|
type: "workflows";
|
|
1326
|
-
}>> | Readonly<
|
|
1326
|
+
}>> | MergeIntersection<Readonly<{
|
|
1327
1327
|
readonly parameters?: Readonly<{
|
|
1328
1328
|
code_scanning_tools: readonly Readonly<{
|
|
1329
1329
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1333,8 +1333,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1333
1333
|
}> | undefined;
|
|
1334
1334
|
} & {
|
|
1335
1335
|
type: "code_scanning";
|
|
1336
|
-
}>> | Readonly<
|
|
1337
|
-
readonly parameters?: Readonly<
|
|
1336
|
+
}>> | MergeIntersection<Readonly<{
|
|
1337
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1338
1338
|
readonly review_on_push?: boolean | undefined;
|
|
1339
1339
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
1340
1340
|
}>> | undefined;
|
|
@@ -1343,7 +1343,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1343
1343
|
}>>)[];
|
|
1344
1344
|
validate: (a: unknown) => Result<readonly (Readonly<{
|
|
1345
1345
|
type: "creation";
|
|
1346
|
-
}> | Readonly<
|
|
1346
|
+
}> | MergeIntersection<Readonly<{
|
|
1347
1347
|
readonly parameters?: Readonly<{
|
|
1348
1348
|
update_allows_fetch_and_merge: boolean;
|
|
1349
1349
|
}> | undefined;
|
|
@@ -1353,7 +1353,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1353
1353
|
type: "deletion";
|
|
1354
1354
|
}> | Readonly<{
|
|
1355
1355
|
type: "required_linear_history";
|
|
1356
|
-
}> | Readonly<
|
|
1356
|
+
}> | MergeIntersection<Readonly<{
|
|
1357
1357
|
readonly parameters?: Readonly<{
|
|
1358
1358
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
1359
1359
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -1365,7 +1365,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1365
1365
|
}> | undefined;
|
|
1366
1366
|
} & {
|
|
1367
1367
|
type: "merge_queue";
|
|
1368
|
-
}>> | Readonly<
|
|
1368
|
+
}>> | MergeIntersection<Readonly<{
|
|
1369
1369
|
readonly parameters?: Readonly<{
|
|
1370
1370
|
required_deployment_environments: readonly string[];
|
|
1371
1371
|
}> | undefined;
|
|
@@ -1373,8 +1373,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1373
1373
|
type: "required_deployments";
|
|
1374
1374
|
}>> | Readonly<{
|
|
1375
1375
|
type: "required_signatures";
|
|
1376
|
-
}> | Readonly<
|
|
1377
|
-
readonly parameters?: Readonly<
|
|
1376
|
+
}> | MergeIntersection<Readonly<{
|
|
1377
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1378
1378
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
1379
1379
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
1380
1380
|
} & {
|
|
@@ -1386,11 +1386,11 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1386
1386
|
}>> | undefined;
|
|
1387
1387
|
} & {
|
|
1388
1388
|
type: "pull_request";
|
|
1389
|
-
}>> | Readonly<
|
|
1390
|
-
readonly parameters?: Readonly<
|
|
1389
|
+
}>> | MergeIntersection<Readonly<{
|
|
1390
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1391
1391
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1392
1392
|
} & {
|
|
1393
|
-
required_status_checks: readonly Readonly<
|
|
1393
|
+
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
1394
1394
|
readonly integration_id?: number | undefined;
|
|
1395
1395
|
} & {
|
|
1396
1396
|
context: string;
|
|
@@ -1401,8 +1401,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1401
1401
|
type: "required_status_checks";
|
|
1402
1402
|
}>> | Readonly<{
|
|
1403
1403
|
type: "non_fast_forward";
|
|
1404
|
-
}> | Readonly<
|
|
1405
|
-
readonly parameters?: Readonly<
|
|
1404
|
+
}> | MergeIntersection<Readonly<{
|
|
1405
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1406
1406
|
readonly name?: string | undefined;
|
|
1407
1407
|
readonly negate?: boolean | undefined;
|
|
1408
1408
|
} & {
|
|
@@ -1411,8 +1411,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1411
1411
|
}>> | undefined;
|
|
1412
1412
|
} & {
|
|
1413
1413
|
type: "commit_message_pattern";
|
|
1414
|
-
}>> | Readonly<
|
|
1415
|
-
readonly parameters?: Readonly<
|
|
1414
|
+
}>> | MergeIntersection<Readonly<{
|
|
1415
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1416
1416
|
readonly name?: string | undefined;
|
|
1417
1417
|
readonly negate?: boolean | undefined;
|
|
1418
1418
|
} & {
|
|
@@ -1421,8 +1421,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1421
1421
|
}>> | undefined;
|
|
1422
1422
|
} & {
|
|
1423
1423
|
type: "commit_author_email_pattern";
|
|
1424
|
-
}>> | Readonly<
|
|
1425
|
-
readonly parameters?: Readonly<
|
|
1424
|
+
}>> | MergeIntersection<Readonly<{
|
|
1425
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1426
1426
|
readonly name?: string | undefined;
|
|
1427
1427
|
readonly negate?: boolean | undefined;
|
|
1428
1428
|
} & {
|
|
@@ -1431,8 +1431,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1431
1431
|
}>> | undefined;
|
|
1432
1432
|
} & {
|
|
1433
1433
|
type: "committer_email_pattern";
|
|
1434
|
-
}>> | Readonly<
|
|
1435
|
-
readonly parameters?: Readonly<
|
|
1434
|
+
}>> | MergeIntersection<Readonly<{
|
|
1435
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1436
1436
|
readonly name?: string | undefined;
|
|
1437
1437
|
readonly negate?: boolean | undefined;
|
|
1438
1438
|
} & {
|
|
@@ -1441,8 +1441,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1441
1441
|
}>> | undefined;
|
|
1442
1442
|
} & {
|
|
1443
1443
|
type: "branch_name_pattern";
|
|
1444
|
-
}>> | Readonly<
|
|
1445
|
-
readonly parameters?: Readonly<
|
|
1444
|
+
}>> | MergeIntersection<Readonly<{
|
|
1445
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1446
1446
|
readonly name?: string | undefined;
|
|
1447
1447
|
readonly negate?: boolean | undefined;
|
|
1448
1448
|
} & {
|
|
@@ -1451,35 +1451,35 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1451
1451
|
}>> | undefined;
|
|
1452
1452
|
} & {
|
|
1453
1453
|
type: "tag_name_pattern";
|
|
1454
|
-
}>> | Readonly<
|
|
1454
|
+
}>> | MergeIntersection<Readonly<{
|
|
1455
1455
|
readonly parameters?: Readonly<{
|
|
1456
1456
|
restricted_file_paths: readonly string[];
|
|
1457
1457
|
}> | undefined;
|
|
1458
1458
|
} & {
|
|
1459
1459
|
type: "file_path_restriction";
|
|
1460
|
-
}>> | Readonly<
|
|
1460
|
+
}>> | MergeIntersection<Readonly<{
|
|
1461
1461
|
readonly parameters?: Readonly<{
|
|
1462
1462
|
max_file_path_length: number;
|
|
1463
1463
|
}> | undefined;
|
|
1464
1464
|
} & {
|
|
1465
1465
|
type: "max_file_path_length";
|
|
1466
|
-
}>> | Readonly<
|
|
1466
|
+
}>> | MergeIntersection<Readonly<{
|
|
1467
1467
|
readonly parameters?: Readonly<{
|
|
1468
1468
|
restricted_file_extensions: readonly string[];
|
|
1469
1469
|
}> | undefined;
|
|
1470
1470
|
} & {
|
|
1471
1471
|
type: "file_extension_restriction";
|
|
1472
|
-
}>> | Readonly<
|
|
1472
|
+
}>> | MergeIntersection<Readonly<{
|
|
1473
1473
|
readonly parameters?: Readonly<{
|
|
1474
1474
|
max_file_size: number;
|
|
1475
1475
|
}> | undefined;
|
|
1476
1476
|
} & {
|
|
1477
1477
|
type: "max_file_size";
|
|
1478
|
-
}>> | Readonly<
|
|
1479
|
-
readonly parameters?: Readonly<
|
|
1478
|
+
}>> | MergeIntersection<Readonly<{
|
|
1479
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1480
1480
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1481
1481
|
} & {
|
|
1482
|
-
workflows: readonly Readonly<
|
|
1482
|
+
workflows: readonly MergeIntersection<Readonly<{
|
|
1483
1483
|
readonly ref?: string | undefined;
|
|
1484
1484
|
readonly sha?: string | undefined;
|
|
1485
1485
|
} & {
|
|
@@ -1489,7 +1489,7 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1489
1489
|
}>> | undefined;
|
|
1490
1490
|
} & {
|
|
1491
1491
|
type: "workflows";
|
|
1492
|
-
}>> | Readonly<
|
|
1492
|
+
}>> | MergeIntersection<Readonly<{
|
|
1493
1493
|
readonly parameters?: Readonly<{
|
|
1494
1494
|
code_scanning_tools: readonly Readonly<{
|
|
1495
1495
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1499,8 +1499,8 @@ export declare const RulesetPicked: t.PickedType<{
|
|
|
1499
1499
|
}> | undefined;
|
|
1500
1500
|
} & {
|
|
1501
1501
|
type: "code_scanning";
|
|
1502
|
-
}>> | Readonly<
|
|
1503
|
-
readonly parameters?: Readonly<
|
|
1502
|
+
}>> | MergeIntersection<Readonly<{
|
|
1503
|
+
readonly parameters?: MergeIntersection<Readonly<{
|
|
1504
1504
|
readonly review_on_push?: boolean | undefined;
|
|
1505
1505
|
readonly review_draft_pull_requests?: boolean | undefined;
|
|
1506
1506
|
}>> | undefined;
|