github-settings-as-code 1.2.7 → 1.2.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 +169 -168
- package/dist/github/repository/constants.d.mts.map +1 -1
- package/dist/github/repository/constants.mjs.map +1 -1
- package/dist/github/ruleset/api/get-all-rulesets.d.mts.map +1 -1
- package/dist/github/ruleset/api/get-all-rulesets.mjs.map +1 -1
- package/dist/github/ruleset/constants.d.mts +276 -276
- package/dist/github/ruleset/constants.d.mts.map +1 -1
- package/dist/github/ruleset/read-rule-set-contents.mjs +7 -5
- package/dist/github/ruleset/read-rule-set-contents.mjs.map +1 -1
- package/dist/github/variables/api/list-repo-variables.d.mts +1 -0
- package/dist/github/variables/api/list-repo-variables.d.mts.map +1 -1
- package/dist/github/variables/api/list-repo-variables.mjs.map +1 -1
- package/package.json +10 -10
- package/src/github/repository/constants.mts +1 -0
- package/src/github/ruleset/api/get-all-rulesets.mts +1 -0
- package/src/github/ruleset/read-rule-set-contents.mts +9 -6
- package/src/github/variables/api/list-repo-variables.mts +1 -0
|
@@ -2,56 +2,56 @@ import * as t from 'ts-fortress';
|
|
|
2
2
|
export declare const rulesetKeysToPick: readonly ["id", "name", "target", "enforcement", "bypass_actors", "conditions", "rules"];
|
|
3
3
|
export declare const RulesetPicked: Readonly<{
|
|
4
4
|
typeName: string;
|
|
5
|
-
defaultValue: Readonly<Pick<MergeIntersection<Readonly<{
|
|
5
|
+
defaultValue: Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
6
6
|
readonly node_id?: string | undefined;
|
|
7
7
|
readonly created_at?: string | undefined;
|
|
8
8
|
readonly updated_at?: string | undefined;
|
|
9
9
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
10
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
10
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
11
11
|
readonly actor_id?: number | null | undefined;
|
|
12
12
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
15
15
|
}>>[] | undefined;
|
|
16
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
17
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
16
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
17
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
18
18
|
readonly include?: readonly string[] | undefined;
|
|
19
19
|
readonly exclude?: readonly string[] | undefined;
|
|
20
20
|
}>> | undefined;
|
|
21
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
22
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
21
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
22
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
23
23
|
readonly include?: readonly string[] | undefined;
|
|
24
24
|
readonly exclude?: readonly string[] | undefined;
|
|
25
25
|
}>> | undefined;
|
|
26
26
|
}>> & Readonly<{
|
|
27
|
-
repository_name: MergeIntersection<Readonly<{
|
|
27
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
28
28
|
readonly include?: readonly string[] | undefined;
|
|
29
29
|
readonly exclude?: readonly string[] | undefined;
|
|
30
30
|
readonly protected?: boolean | undefined;
|
|
31
31
|
}>>;
|
|
32
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
33
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
32
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
33
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
34
34
|
readonly include?: readonly string[] | undefined;
|
|
35
35
|
readonly exclude?: readonly string[] | undefined;
|
|
36
36
|
}>> | undefined;
|
|
37
37
|
}>> & Readonly<{
|
|
38
|
-
repository_id: MergeIntersection<Readonly<{
|
|
38
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
39
39
|
readonly repository_ids?: readonly number[] | undefined;
|
|
40
40
|
}>>;
|
|
41
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
42
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
41
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
42
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
43
43
|
readonly include?: readonly string[] | undefined;
|
|
44
44
|
readonly exclude?: readonly string[] | undefined;
|
|
45
45
|
}>> | undefined;
|
|
46
46
|
}>> & Readonly<{
|
|
47
|
-
repository_property: MergeIntersection<Readonly<{
|
|
48
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
47
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
48
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
49
49
|
readonly source?: "custom" | "system" | undefined;
|
|
50
50
|
} & {
|
|
51
51
|
name: string;
|
|
52
52
|
property_values: readonly string[];
|
|
53
53
|
}>>[] | undefined;
|
|
54
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
54
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
55
55
|
readonly source?: "custom" | "system" | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
name: string;
|
|
@@ -61,7 +61,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
61
61
|
}>> | null | undefined;
|
|
62
62
|
readonly rules?: readonly (Readonly<{
|
|
63
63
|
type: "creation";
|
|
64
|
-
}> | MergeIntersection<Readonly<{
|
|
64
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
65
65
|
readonly parameters?: Readonly<{
|
|
66
66
|
update_allows_fetch_and_merge: boolean;
|
|
67
67
|
}> | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
71
71
|
type: "deletion";
|
|
72
72
|
}> | Readonly<{
|
|
73
73
|
type: "required_linear_history";
|
|
74
|
-
}> | MergeIntersection<Readonly<{
|
|
74
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
75
75
|
readonly parameters?: Readonly<{
|
|
76
76
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
77
77
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -83,7 +83,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
83
83
|
}> | undefined;
|
|
84
84
|
} & {
|
|
85
85
|
type: "merge_queue";
|
|
86
|
-
}>> | MergeIntersection<Readonly<{
|
|
86
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
87
87
|
readonly parameters?: Readonly<{
|
|
88
88
|
required_deployment_environments: readonly string[];
|
|
89
89
|
}> | undefined;
|
|
@@ -91,8 +91,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
91
91
|
type: "required_deployments";
|
|
92
92
|
}>> | Readonly<{
|
|
93
93
|
type: "required_signatures";
|
|
94
|
-
}> | MergeIntersection<Readonly<{
|
|
95
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
94
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
95
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
96
96
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
97
97
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
98
98
|
} & {
|
|
@@ -104,11 +104,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
104
104
|
}>> | undefined;
|
|
105
105
|
} & {
|
|
106
106
|
type: "pull_request";
|
|
107
|
-
}>> | MergeIntersection<Readonly<{
|
|
108
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
107
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
108
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
109
109
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
110
110
|
} & {
|
|
111
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
111
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
112
112
|
readonly integration_id?: number | undefined;
|
|
113
113
|
} & {
|
|
114
114
|
context: string;
|
|
@@ -119,8 +119,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
119
119
|
type: "required_status_checks";
|
|
120
120
|
}>> | Readonly<{
|
|
121
121
|
type: "non_fast_forward";
|
|
122
|
-
}> | MergeIntersection<Readonly<{
|
|
123
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
122
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
123
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
124
124
|
readonly name?: string | undefined;
|
|
125
125
|
readonly negate?: boolean | undefined;
|
|
126
126
|
} & {
|
|
@@ -129,8 +129,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
129
129
|
}>> | undefined;
|
|
130
130
|
} & {
|
|
131
131
|
type: "commit_message_pattern";
|
|
132
|
-
}>> | MergeIntersection<Readonly<{
|
|
133
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
132
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
133
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
134
134
|
readonly name?: string | undefined;
|
|
135
135
|
readonly negate?: boolean | undefined;
|
|
136
136
|
} & {
|
|
@@ -139,8 +139,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
139
139
|
}>> | undefined;
|
|
140
140
|
} & {
|
|
141
141
|
type: "commit_author_email_pattern";
|
|
142
|
-
}>> | MergeIntersection<Readonly<{
|
|
143
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
142
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
143
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
144
144
|
readonly name?: string | undefined;
|
|
145
145
|
readonly negate?: boolean | undefined;
|
|
146
146
|
} & {
|
|
@@ -149,8 +149,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
149
149
|
}>> | undefined;
|
|
150
150
|
} & {
|
|
151
151
|
type: "committer_email_pattern";
|
|
152
|
-
}>> | MergeIntersection<Readonly<{
|
|
153
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
152
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
153
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
154
154
|
readonly name?: string | undefined;
|
|
155
155
|
readonly negate?: boolean | undefined;
|
|
156
156
|
} & {
|
|
@@ -159,8 +159,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
159
159
|
}>> | undefined;
|
|
160
160
|
} & {
|
|
161
161
|
type: "branch_name_pattern";
|
|
162
|
-
}>> | MergeIntersection<Readonly<{
|
|
163
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
162
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
163
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
164
164
|
readonly name?: string | undefined;
|
|
165
165
|
readonly negate?: boolean | undefined;
|
|
166
166
|
} & {
|
|
@@ -169,35 +169,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
169
169
|
}>> | undefined;
|
|
170
170
|
} & {
|
|
171
171
|
type: "tag_name_pattern";
|
|
172
|
-
}>> | MergeIntersection<Readonly<{
|
|
172
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
173
173
|
readonly parameters?: Readonly<{
|
|
174
174
|
restricted_file_paths: readonly string[];
|
|
175
175
|
}> | undefined;
|
|
176
176
|
} & {
|
|
177
177
|
type: "file_path_restriction";
|
|
178
|
-
}>> | MergeIntersection<Readonly<{
|
|
178
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
179
179
|
readonly parameters?: Readonly<{
|
|
180
180
|
max_file_path_length: number;
|
|
181
181
|
}> | undefined;
|
|
182
182
|
} & {
|
|
183
183
|
type: "max_file_path_length";
|
|
184
|
-
}>> | MergeIntersection<Readonly<{
|
|
184
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
185
185
|
readonly parameters?: Readonly<{
|
|
186
186
|
restricted_file_extensions: readonly string[];
|
|
187
187
|
}> | undefined;
|
|
188
188
|
} & {
|
|
189
189
|
type: "file_extension_restriction";
|
|
190
|
-
}>> | MergeIntersection<Readonly<{
|
|
190
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
191
191
|
readonly parameters?: Readonly<{
|
|
192
192
|
max_file_size: number;
|
|
193
193
|
}> | undefined;
|
|
194
194
|
} & {
|
|
195
195
|
type: "max_file_size";
|
|
196
|
-
}>> | MergeIntersection<Readonly<{
|
|
197
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
196
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
197
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
198
198
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
199
199
|
} & {
|
|
200
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
200
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
201
201
|
readonly ref?: string | undefined;
|
|
202
202
|
readonly sha?: string | undefined;
|
|
203
203
|
} & {
|
|
@@ -207,7 +207,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
207
207
|
}>> | undefined;
|
|
208
208
|
} & {
|
|
209
209
|
type: "workflows";
|
|
210
|
-
}>> | MergeIntersection<Readonly<{
|
|
210
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
211
211
|
readonly parameters?: Readonly<{
|
|
212
212
|
code_scanning_tools: readonly Readonly<{
|
|
213
213
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -217,8 +217,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
217
217
|
}> | undefined;
|
|
218
218
|
} & {
|
|
219
219
|
type: "code_scanning";
|
|
220
|
-
}>> | MergeIntersection<Readonly<{
|
|
221
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
220
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
221
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
222
222
|
review_on_push: boolean;
|
|
223
223
|
review_draft_pull_requests: boolean;
|
|
224
224
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -230,11 +230,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
230
230
|
}>>)[] | undefined;
|
|
231
231
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
232
232
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
233
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
234
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
233
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
234
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
235
235
|
readonly href?: string | undefined;
|
|
236
236
|
}>> | undefined;
|
|
237
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
237
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
238
238
|
readonly href?: string | undefined;
|
|
239
239
|
}>> | null | undefined;
|
|
240
240
|
}>> | undefined;
|
|
@@ -244,56 +244,56 @@ export declare const RulesetPicked: Readonly<{
|
|
|
244
244
|
source: string;
|
|
245
245
|
enforcement: "disabled" | "active" | "evaluate";
|
|
246
246
|
}>>, "name" | "id" | "enforcement" | "target" | "bypass_actors" | "conditions" | "rules">>;
|
|
247
|
-
is: (a: unknown) => a is Readonly<Pick<MergeIntersection<Readonly<{
|
|
247
|
+
is: (a: unknown) => a is Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
248
248
|
readonly node_id?: string | undefined;
|
|
249
249
|
readonly created_at?: string | undefined;
|
|
250
250
|
readonly updated_at?: string | undefined;
|
|
251
251
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
252
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
252
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
253
253
|
readonly actor_id?: number | null | undefined;
|
|
254
254
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
255
255
|
} & {
|
|
256
256
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
257
257
|
}>>[] | undefined;
|
|
258
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
259
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
258
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
259
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
260
260
|
readonly include?: readonly string[] | undefined;
|
|
261
261
|
readonly exclude?: readonly string[] | undefined;
|
|
262
262
|
}>> | undefined;
|
|
263
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
264
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
263
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
264
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
265
265
|
readonly include?: readonly string[] | undefined;
|
|
266
266
|
readonly exclude?: readonly string[] | undefined;
|
|
267
267
|
}>> | undefined;
|
|
268
268
|
}>> & Readonly<{
|
|
269
|
-
repository_name: MergeIntersection<Readonly<{
|
|
269
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
270
270
|
readonly include?: readonly string[] | undefined;
|
|
271
271
|
readonly exclude?: readonly string[] | undefined;
|
|
272
272
|
readonly protected?: boolean | undefined;
|
|
273
273
|
}>>;
|
|
274
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
275
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
274
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
275
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
276
276
|
readonly include?: readonly string[] | undefined;
|
|
277
277
|
readonly exclude?: readonly string[] | undefined;
|
|
278
278
|
}>> | undefined;
|
|
279
279
|
}>> & Readonly<{
|
|
280
|
-
repository_id: MergeIntersection<Readonly<{
|
|
280
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
281
281
|
readonly repository_ids?: readonly number[] | undefined;
|
|
282
282
|
}>>;
|
|
283
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
284
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
283
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
284
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
285
285
|
readonly include?: readonly string[] | undefined;
|
|
286
286
|
readonly exclude?: readonly string[] | undefined;
|
|
287
287
|
}>> | undefined;
|
|
288
288
|
}>> & Readonly<{
|
|
289
|
-
repository_property: MergeIntersection<Readonly<{
|
|
290
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
289
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
290
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
291
291
|
readonly source?: "custom" | "system" | undefined;
|
|
292
292
|
} & {
|
|
293
293
|
name: string;
|
|
294
294
|
property_values: readonly string[];
|
|
295
295
|
}>>[] | undefined;
|
|
296
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
296
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
297
297
|
readonly source?: "custom" | "system" | undefined;
|
|
298
298
|
} & {
|
|
299
299
|
name: string;
|
|
@@ -303,7 +303,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
303
303
|
}>> | null | undefined;
|
|
304
304
|
readonly rules?: readonly (Readonly<{
|
|
305
305
|
type: "creation";
|
|
306
|
-
}> | MergeIntersection<Readonly<{
|
|
306
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
307
307
|
readonly parameters?: Readonly<{
|
|
308
308
|
update_allows_fetch_and_merge: boolean;
|
|
309
309
|
}> | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
313
313
|
type: "deletion";
|
|
314
314
|
}> | Readonly<{
|
|
315
315
|
type: "required_linear_history";
|
|
316
|
-
}> | MergeIntersection<Readonly<{
|
|
316
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
317
317
|
readonly parameters?: Readonly<{
|
|
318
318
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
319
319
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -325,7 +325,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
325
325
|
}> | undefined;
|
|
326
326
|
} & {
|
|
327
327
|
type: "merge_queue";
|
|
328
|
-
}>> | MergeIntersection<Readonly<{
|
|
328
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
329
329
|
readonly parameters?: Readonly<{
|
|
330
330
|
required_deployment_environments: readonly string[];
|
|
331
331
|
}> | undefined;
|
|
@@ -333,8 +333,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
333
333
|
type: "required_deployments";
|
|
334
334
|
}>> | Readonly<{
|
|
335
335
|
type: "required_signatures";
|
|
336
|
-
}> | MergeIntersection<Readonly<{
|
|
337
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
336
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
337
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
338
338
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
339
339
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
340
340
|
} & {
|
|
@@ -346,11 +346,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
346
346
|
}>> | undefined;
|
|
347
347
|
} & {
|
|
348
348
|
type: "pull_request";
|
|
349
|
-
}>> | MergeIntersection<Readonly<{
|
|
350
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
349
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
350
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
351
351
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
352
352
|
} & {
|
|
353
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
353
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
354
354
|
readonly integration_id?: number | undefined;
|
|
355
355
|
} & {
|
|
356
356
|
context: string;
|
|
@@ -361,8 +361,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
361
361
|
type: "required_status_checks";
|
|
362
362
|
}>> | Readonly<{
|
|
363
363
|
type: "non_fast_forward";
|
|
364
|
-
}> | MergeIntersection<Readonly<{
|
|
365
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
364
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
365
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
366
366
|
readonly name?: string | undefined;
|
|
367
367
|
readonly negate?: boolean | undefined;
|
|
368
368
|
} & {
|
|
@@ -371,8 +371,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
371
371
|
}>> | undefined;
|
|
372
372
|
} & {
|
|
373
373
|
type: "commit_message_pattern";
|
|
374
|
-
}>> | MergeIntersection<Readonly<{
|
|
375
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
374
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
375
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
376
376
|
readonly name?: string | undefined;
|
|
377
377
|
readonly negate?: boolean | undefined;
|
|
378
378
|
} & {
|
|
@@ -381,8 +381,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
381
381
|
}>> | undefined;
|
|
382
382
|
} & {
|
|
383
383
|
type: "commit_author_email_pattern";
|
|
384
|
-
}>> | MergeIntersection<Readonly<{
|
|
385
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
384
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
385
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
386
386
|
readonly name?: string | undefined;
|
|
387
387
|
readonly negate?: boolean | undefined;
|
|
388
388
|
} & {
|
|
@@ -391,8 +391,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
391
391
|
}>> | undefined;
|
|
392
392
|
} & {
|
|
393
393
|
type: "committer_email_pattern";
|
|
394
|
-
}>> | MergeIntersection<Readonly<{
|
|
395
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
394
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
395
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
396
396
|
readonly name?: string | undefined;
|
|
397
397
|
readonly negate?: boolean | undefined;
|
|
398
398
|
} & {
|
|
@@ -401,8 +401,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
401
401
|
}>> | undefined;
|
|
402
402
|
} & {
|
|
403
403
|
type: "branch_name_pattern";
|
|
404
|
-
}>> | MergeIntersection<Readonly<{
|
|
405
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
404
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
405
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
406
406
|
readonly name?: string | undefined;
|
|
407
407
|
readonly negate?: boolean | undefined;
|
|
408
408
|
} & {
|
|
@@ -411,35 +411,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
411
411
|
}>> | undefined;
|
|
412
412
|
} & {
|
|
413
413
|
type: "tag_name_pattern";
|
|
414
|
-
}>> | MergeIntersection<Readonly<{
|
|
414
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
415
415
|
readonly parameters?: Readonly<{
|
|
416
416
|
restricted_file_paths: readonly string[];
|
|
417
417
|
}> | undefined;
|
|
418
418
|
} & {
|
|
419
419
|
type: "file_path_restriction";
|
|
420
|
-
}>> | MergeIntersection<Readonly<{
|
|
420
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
421
421
|
readonly parameters?: Readonly<{
|
|
422
422
|
max_file_path_length: number;
|
|
423
423
|
}> | undefined;
|
|
424
424
|
} & {
|
|
425
425
|
type: "max_file_path_length";
|
|
426
|
-
}>> | MergeIntersection<Readonly<{
|
|
426
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
427
427
|
readonly parameters?: Readonly<{
|
|
428
428
|
restricted_file_extensions: readonly string[];
|
|
429
429
|
}> | undefined;
|
|
430
430
|
} & {
|
|
431
431
|
type: "file_extension_restriction";
|
|
432
|
-
}>> | MergeIntersection<Readonly<{
|
|
432
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
433
433
|
readonly parameters?: Readonly<{
|
|
434
434
|
max_file_size: number;
|
|
435
435
|
}> | undefined;
|
|
436
436
|
} & {
|
|
437
437
|
type: "max_file_size";
|
|
438
|
-
}>> | MergeIntersection<Readonly<{
|
|
439
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
438
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
439
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
440
440
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
441
441
|
} & {
|
|
442
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
442
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
443
443
|
readonly ref?: string | undefined;
|
|
444
444
|
readonly sha?: string | undefined;
|
|
445
445
|
} & {
|
|
@@ -449,7 +449,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
449
449
|
}>> | undefined;
|
|
450
450
|
} & {
|
|
451
451
|
type: "workflows";
|
|
452
|
-
}>> | MergeIntersection<Readonly<{
|
|
452
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
453
453
|
readonly parameters?: Readonly<{
|
|
454
454
|
code_scanning_tools: readonly Readonly<{
|
|
455
455
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -459,8 +459,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
459
459
|
}> | undefined;
|
|
460
460
|
} & {
|
|
461
461
|
type: "code_scanning";
|
|
462
|
-
}>> | MergeIntersection<Readonly<{
|
|
463
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
462
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
463
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
464
464
|
review_on_push: boolean;
|
|
465
465
|
review_draft_pull_requests: boolean;
|
|
466
466
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -472,11 +472,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
472
472
|
}>>)[] | undefined;
|
|
473
473
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
474
474
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
475
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
476
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
475
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
476
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
477
477
|
readonly href?: string | undefined;
|
|
478
478
|
}>> | undefined;
|
|
479
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
479
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
480
480
|
readonly href?: string | undefined;
|
|
481
481
|
}>> | null | undefined;
|
|
482
482
|
}>> | undefined;
|
|
@@ -486,56 +486,56 @@ export declare const RulesetPicked: Readonly<{
|
|
|
486
486
|
source: string;
|
|
487
487
|
enforcement: "disabled" | "active" | "evaluate";
|
|
488
488
|
}>>, "name" | "id" | "enforcement" | "target" | "bypass_actors" | "conditions" | "rules">>;
|
|
489
|
-
assertIs: (a: unknown) => asserts a is Readonly<Pick<MergeIntersection<Readonly<{
|
|
489
|
+
assertIs: (a: unknown) => asserts a is Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
490
490
|
readonly node_id?: string | undefined;
|
|
491
491
|
readonly created_at?: string | undefined;
|
|
492
492
|
readonly updated_at?: string | undefined;
|
|
493
493
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
494
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
494
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
495
495
|
readonly actor_id?: number | null | undefined;
|
|
496
496
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
497
497
|
} & {
|
|
498
498
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
499
499
|
}>>[] | undefined;
|
|
500
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
501
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
500
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
501
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
502
502
|
readonly include?: readonly string[] | undefined;
|
|
503
503
|
readonly exclude?: readonly string[] | undefined;
|
|
504
504
|
}>> | undefined;
|
|
505
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
506
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
505
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
506
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
507
507
|
readonly include?: readonly string[] | undefined;
|
|
508
508
|
readonly exclude?: readonly string[] | undefined;
|
|
509
509
|
}>> | undefined;
|
|
510
510
|
}>> & Readonly<{
|
|
511
|
-
repository_name: MergeIntersection<Readonly<{
|
|
511
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
512
512
|
readonly include?: readonly string[] | undefined;
|
|
513
513
|
readonly exclude?: readonly string[] | undefined;
|
|
514
514
|
readonly protected?: boolean | undefined;
|
|
515
515
|
}>>;
|
|
516
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
517
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
516
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
517
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
518
518
|
readonly include?: readonly string[] | undefined;
|
|
519
519
|
readonly exclude?: readonly string[] | undefined;
|
|
520
520
|
}>> | undefined;
|
|
521
521
|
}>> & Readonly<{
|
|
522
|
-
repository_id: MergeIntersection<Readonly<{
|
|
522
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
523
523
|
readonly repository_ids?: readonly number[] | undefined;
|
|
524
524
|
}>>;
|
|
525
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
526
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
525
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
526
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
527
527
|
readonly include?: readonly string[] | undefined;
|
|
528
528
|
readonly exclude?: readonly string[] | undefined;
|
|
529
529
|
}>> | undefined;
|
|
530
530
|
}>> & Readonly<{
|
|
531
|
-
repository_property: MergeIntersection<Readonly<{
|
|
532
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
531
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
532
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
533
533
|
readonly source?: "custom" | "system" | undefined;
|
|
534
534
|
} & {
|
|
535
535
|
name: string;
|
|
536
536
|
property_values: readonly string[];
|
|
537
537
|
}>>[] | undefined;
|
|
538
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
538
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
539
539
|
readonly source?: "custom" | "system" | undefined;
|
|
540
540
|
} & {
|
|
541
541
|
name: string;
|
|
@@ -545,7 +545,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
545
545
|
}>> | null | undefined;
|
|
546
546
|
readonly rules?: readonly (Readonly<{
|
|
547
547
|
type: "creation";
|
|
548
|
-
}> | MergeIntersection<Readonly<{
|
|
548
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
549
549
|
readonly parameters?: Readonly<{
|
|
550
550
|
update_allows_fetch_and_merge: boolean;
|
|
551
551
|
}> | undefined;
|
|
@@ -555,7 +555,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
555
555
|
type: "deletion";
|
|
556
556
|
}> | Readonly<{
|
|
557
557
|
type: "required_linear_history";
|
|
558
|
-
}> | MergeIntersection<Readonly<{
|
|
558
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
559
559
|
readonly parameters?: Readonly<{
|
|
560
560
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
561
561
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -567,7 +567,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
567
567
|
}> | undefined;
|
|
568
568
|
} & {
|
|
569
569
|
type: "merge_queue";
|
|
570
|
-
}>> | MergeIntersection<Readonly<{
|
|
570
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
571
571
|
readonly parameters?: Readonly<{
|
|
572
572
|
required_deployment_environments: readonly string[];
|
|
573
573
|
}> | undefined;
|
|
@@ -575,8 +575,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
575
575
|
type: "required_deployments";
|
|
576
576
|
}>> | Readonly<{
|
|
577
577
|
type: "required_signatures";
|
|
578
|
-
}> | MergeIntersection<Readonly<{
|
|
579
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
578
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
579
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
580
580
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
581
581
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
582
582
|
} & {
|
|
@@ -588,11 +588,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
588
588
|
}>> | undefined;
|
|
589
589
|
} & {
|
|
590
590
|
type: "pull_request";
|
|
591
|
-
}>> | MergeIntersection<Readonly<{
|
|
592
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
591
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
592
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
593
593
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
594
594
|
} & {
|
|
595
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
595
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
596
596
|
readonly integration_id?: number | undefined;
|
|
597
597
|
} & {
|
|
598
598
|
context: string;
|
|
@@ -603,8 +603,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
603
603
|
type: "required_status_checks";
|
|
604
604
|
}>> | Readonly<{
|
|
605
605
|
type: "non_fast_forward";
|
|
606
|
-
}> | MergeIntersection<Readonly<{
|
|
607
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
606
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
607
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
608
608
|
readonly name?: string | undefined;
|
|
609
609
|
readonly negate?: boolean | undefined;
|
|
610
610
|
} & {
|
|
@@ -613,8 +613,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
613
613
|
}>> | undefined;
|
|
614
614
|
} & {
|
|
615
615
|
type: "commit_message_pattern";
|
|
616
|
-
}>> | MergeIntersection<Readonly<{
|
|
617
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
616
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
617
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
618
618
|
readonly name?: string | undefined;
|
|
619
619
|
readonly negate?: boolean | undefined;
|
|
620
620
|
} & {
|
|
@@ -623,8 +623,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
623
623
|
}>> | undefined;
|
|
624
624
|
} & {
|
|
625
625
|
type: "commit_author_email_pattern";
|
|
626
|
-
}>> | MergeIntersection<Readonly<{
|
|
627
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
626
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
627
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
628
628
|
readonly name?: string | undefined;
|
|
629
629
|
readonly negate?: boolean | undefined;
|
|
630
630
|
} & {
|
|
@@ -633,8 +633,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
633
633
|
}>> | undefined;
|
|
634
634
|
} & {
|
|
635
635
|
type: "committer_email_pattern";
|
|
636
|
-
}>> | MergeIntersection<Readonly<{
|
|
637
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
636
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
637
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
638
638
|
readonly name?: string | undefined;
|
|
639
639
|
readonly negate?: boolean | undefined;
|
|
640
640
|
} & {
|
|
@@ -643,8 +643,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
643
643
|
}>> | undefined;
|
|
644
644
|
} & {
|
|
645
645
|
type: "branch_name_pattern";
|
|
646
|
-
}>> | MergeIntersection<Readonly<{
|
|
647
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
646
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
647
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
648
648
|
readonly name?: string | undefined;
|
|
649
649
|
readonly negate?: boolean | undefined;
|
|
650
650
|
} & {
|
|
@@ -653,35 +653,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
653
653
|
}>> | undefined;
|
|
654
654
|
} & {
|
|
655
655
|
type: "tag_name_pattern";
|
|
656
|
-
}>> | MergeIntersection<Readonly<{
|
|
656
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
657
657
|
readonly parameters?: Readonly<{
|
|
658
658
|
restricted_file_paths: readonly string[];
|
|
659
659
|
}> | undefined;
|
|
660
660
|
} & {
|
|
661
661
|
type: "file_path_restriction";
|
|
662
|
-
}>> | MergeIntersection<Readonly<{
|
|
662
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
663
663
|
readonly parameters?: Readonly<{
|
|
664
664
|
max_file_path_length: number;
|
|
665
665
|
}> | undefined;
|
|
666
666
|
} & {
|
|
667
667
|
type: "max_file_path_length";
|
|
668
|
-
}>> | MergeIntersection<Readonly<{
|
|
668
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
669
669
|
readonly parameters?: Readonly<{
|
|
670
670
|
restricted_file_extensions: readonly string[];
|
|
671
671
|
}> | undefined;
|
|
672
672
|
} & {
|
|
673
673
|
type: "file_extension_restriction";
|
|
674
|
-
}>> | MergeIntersection<Readonly<{
|
|
674
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
675
675
|
readonly parameters?: Readonly<{
|
|
676
676
|
max_file_size: number;
|
|
677
677
|
}> | undefined;
|
|
678
678
|
} & {
|
|
679
679
|
type: "max_file_size";
|
|
680
|
-
}>> | MergeIntersection<Readonly<{
|
|
681
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
680
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
681
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
682
682
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
683
683
|
} & {
|
|
684
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
684
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
685
685
|
readonly ref?: string | undefined;
|
|
686
686
|
readonly sha?: string | undefined;
|
|
687
687
|
} & {
|
|
@@ -691,7 +691,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
691
691
|
}>> | undefined;
|
|
692
692
|
} & {
|
|
693
693
|
type: "workflows";
|
|
694
|
-
}>> | MergeIntersection<Readonly<{
|
|
694
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
695
695
|
readonly parameters?: Readonly<{
|
|
696
696
|
code_scanning_tools: readonly Readonly<{
|
|
697
697
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -701,8 +701,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
701
701
|
}> | undefined;
|
|
702
702
|
} & {
|
|
703
703
|
type: "code_scanning";
|
|
704
|
-
}>> | MergeIntersection<Readonly<{
|
|
705
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
704
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
705
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
706
706
|
review_on_push: boolean;
|
|
707
707
|
review_draft_pull_requests: boolean;
|
|
708
708
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -714,11 +714,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
714
714
|
}>>)[] | undefined;
|
|
715
715
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
716
716
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
717
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
718
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
717
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
718
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
719
719
|
readonly href?: string | undefined;
|
|
720
720
|
}>> | undefined;
|
|
721
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
721
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
722
722
|
readonly href?: string | undefined;
|
|
723
723
|
}>> | null | undefined;
|
|
724
724
|
}>> | undefined;
|
|
@@ -728,56 +728,56 @@ export declare const RulesetPicked: Readonly<{
|
|
|
728
728
|
source: string;
|
|
729
729
|
enforcement: "disabled" | "active" | "evaluate";
|
|
730
730
|
}>>, "name" | "id" | "enforcement" | "target" | "bypass_actors" | "conditions" | "rules">>;
|
|
731
|
-
cast: (a: unknown) => Readonly<Pick<MergeIntersection<Readonly<{
|
|
731
|
+
cast: (a: unknown) => Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
732
732
|
readonly node_id?: string | undefined;
|
|
733
733
|
readonly created_at?: string | undefined;
|
|
734
734
|
readonly updated_at?: string | undefined;
|
|
735
735
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
736
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
736
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
737
737
|
readonly actor_id?: number | null | undefined;
|
|
738
738
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
739
739
|
} & {
|
|
740
740
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
741
741
|
}>>[] | undefined;
|
|
742
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
743
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
742
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
743
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
744
744
|
readonly include?: readonly string[] | undefined;
|
|
745
745
|
readonly exclude?: readonly string[] | undefined;
|
|
746
746
|
}>> | undefined;
|
|
747
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
748
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
747
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
748
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
749
749
|
readonly include?: readonly string[] | undefined;
|
|
750
750
|
readonly exclude?: readonly string[] | undefined;
|
|
751
751
|
}>> | undefined;
|
|
752
752
|
}>> & Readonly<{
|
|
753
|
-
repository_name: MergeIntersection<Readonly<{
|
|
753
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
754
754
|
readonly include?: readonly string[] | undefined;
|
|
755
755
|
readonly exclude?: readonly string[] | undefined;
|
|
756
756
|
readonly protected?: boolean | undefined;
|
|
757
757
|
}>>;
|
|
758
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
759
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
758
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
759
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
760
760
|
readonly include?: readonly string[] | undefined;
|
|
761
761
|
readonly exclude?: readonly string[] | undefined;
|
|
762
762
|
}>> | undefined;
|
|
763
763
|
}>> & Readonly<{
|
|
764
|
-
repository_id: MergeIntersection<Readonly<{
|
|
764
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
765
765
|
readonly repository_ids?: readonly number[] | undefined;
|
|
766
766
|
}>>;
|
|
767
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
768
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
767
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
768
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
769
769
|
readonly include?: readonly string[] | undefined;
|
|
770
770
|
readonly exclude?: readonly string[] | undefined;
|
|
771
771
|
}>> | undefined;
|
|
772
772
|
}>> & Readonly<{
|
|
773
|
-
repository_property: MergeIntersection<Readonly<{
|
|
774
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
773
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
774
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
775
775
|
readonly source?: "custom" | "system" | undefined;
|
|
776
776
|
} & {
|
|
777
777
|
name: string;
|
|
778
778
|
property_values: readonly string[];
|
|
779
779
|
}>>[] | undefined;
|
|
780
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
780
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
781
781
|
readonly source?: "custom" | "system" | undefined;
|
|
782
782
|
} & {
|
|
783
783
|
name: string;
|
|
@@ -787,7 +787,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
787
787
|
}>> | null | undefined;
|
|
788
788
|
readonly rules?: readonly (Readonly<{
|
|
789
789
|
type: "creation";
|
|
790
|
-
}> | MergeIntersection<Readonly<{
|
|
790
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
791
791
|
readonly parameters?: Readonly<{
|
|
792
792
|
update_allows_fetch_and_merge: boolean;
|
|
793
793
|
}> | undefined;
|
|
@@ -797,7 +797,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
797
797
|
type: "deletion";
|
|
798
798
|
}> | Readonly<{
|
|
799
799
|
type: "required_linear_history";
|
|
800
|
-
}> | MergeIntersection<Readonly<{
|
|
800
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
801
801
|
readonly parameters?: Readonly<{
|
|
802
802
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
803
803
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -809,7 +809,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
809
809
|
}> | undefined;
|
|
810
810
|
} & {
|
|
811
811
|
type: "merge_queue";
|
|
812
|
-
}>> | MergeIntersection<Readonly<{
|
|
812
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
813
813
|
readonly parameters?: Readonly<{
|
|
814
814
|
required_deployment_environments: readonly string[];
|
|
815
815
|
}> | undefined;
|
|
@@ -817,8 +817,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
817
817
|
type: "required_deployments";
|
|
818
818
|
}>> | Readonly<{
|
|
819
819
|
type: "required_signatures";
|
|
820
|
-
}> | MergeIntersection<Readonly<{
|
|
821
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
820
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
821
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
822
822
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
823
823
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
824
824
|
} & {
|
|
@@ -830,11 +830,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
830
830
|
}>> | undefined;
|
|
831
831
|
} & {
|
|
832
832
|
type: "pull_request";
|
|
833
|
-
}>> | MergeIntersection<Readonly<{
|
|
834
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
833
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
834
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
835
835
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
836
836
|
} & {
|
|
837
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
837
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
838
838
|
readonly integration_id?: number | undefined;
|
|
839
839
|
} & {
|
|
840
840
|
context: string;
|
|
@@ -845,8 +845,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
845
845
|
type: "required_status_checks";
|
|
846
846
|
}>> | Readonly<{
|
|
847
847
|
type: "non_fast_forward";
|
|
848
|
-
}> | MergeIntersection<Readonly<{
|
|
849
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
848
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
849
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
850
850
|
readonly name?: string | undefined;
|
|
851
851
|
readonly negate?: boolean | undefined;
|
|
852
852
|
} & {
|
|
@@ -855,8 +855,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
855
855
|
}>> | undefined;
|
|
856
856
|
} & {
|
|
857
857
|
type: "commit_message_pattern";
|
|
858
|
-
}>> | MergeIntersection<Readonly<{
|
|
859
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
858
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
859
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
860
860
|
readonly name?: string | undefined;
|
|
861
861
|
readonly negate?: boolean | undefined;
|
|
862
862
|
} & {
|
|
@@ -865,8 +865,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
865
865
|
}>> | undefined;
|
|
866
866
|
} & {
|
|
867
867
|
type: "commit_author_email_pattern";
|
|
868
|
-
}>> | MergeIntersection<Readonly<{
|
|
869
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
868
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
869
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
870
870
|
readonly name?: string | undefined;
|
|
871
871
|
readonly negate?: boolean | undefined;
|
|
872
872
|
} & {
|
|
@@ -875,8 +875,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
875
875
|
}>> | undefined;
|
|
876
876
|
} & {
|
|
877
877
|
type: "committer_email_pattern";
|
|
878
|
-
}>> | MergeIntersection<Readonly<{
|
|
879
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
878
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
879
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
880
880
|
readonly name?: string | undefined;
|
|
881
881
|
readonly negate?: boolean | undefined;
|
|
882
882
|
} & {
|
|
@@ -885,8 +885,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
885
885
|
}>> | undefined;
|
|
886
886
|
} & {
|
|
887
887
|
type: "branch_name_pattern";
|
|
888
|
-
}>> | MergeIntersection<Readonly<{
|
|
889
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
888
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
889
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
890
890
|
readonly name?: string | undefined;
|
|
891
891
|
readonly negate?: boolean | undefined;
|
|
892
892
|
} & {
|
|
@@ -895,35 +895,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
895
895
|
}>> | undefined;
|
|
896
896
|
} & {
|
|
897
897
|
type: "tag_name_pattern";
|
|
898
|
-
}>> | MergeIntersection<Readonly<{
|
|
898
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
899
899
|
readonly parameters?: Readonly<{
|
|
900
900
|
restricted_file_paths: readonly string[];
|
|
901
901
|
}> | undefined;
|
|
902
902
|
} & {
|
|
903
903
|
type: "file_path_restriction";
|
|
904
|
-
}>> | MergeIntersection<Readonly<{
|
|
904
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
905
905
|
readonly parameters?: Readonly<{
|
|
906
906
|
max_file_path_length: number;
|
|
907
907
|
}> | undefined;
|
|
908
908
|
} & {
|
|
909
909
|
type: "max_file_path_length";
|
|
910
|
-
}>> | MergeIntersection<Readonly<{
|
|
910
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
911
911
|
readonly parameters?: Readonly<{
|
|
912
912
|
restricted_file_extensions: readonly string[];
|
|
913
913
|
}> | undefined;
|
|
914
914
|
} & {
|
|
915
915
|
type: "file_extension_restriction";
|
|
916
|
-
}>> | MergeIntersection<Readonly<{
|
|
916
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
917
917
|
readonly parameters?: Readonly<{
|
|
918
918
|
max_file_size: number;
|
|
919
919
|
}> | undefined;
|
|
920
920
|
} & {
|
|
921
921
|
type: "max_file_size";
|
|
922
|
-
}>> | MergeIntersection<Readonly<{
|
|
923
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
922
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
923
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
924
924
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
925
925
|
} & {
|
|
926
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
926
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
927
927
|
readonly ref?: string | undefined;
|
|
928
928
|
readonly sha?: string | undefined;
|
|
929
929
|
} & {
|
|
@@ -933,7 +933,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
933
933
|
}>> | undefined;
|
|
934
934
|
} & {
|
|
935
935
|
type: "workflows";
|
|
936
|
-
}>> | MergeIntersection<Readonly<{
|
|
936
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
937
937
|
readonly parameters?: Readonly<{
|
|
938
938
|
code_scanning_tools: readonly Readonly<{
|
|
939
939
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -943,8 +943,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
943
943
|
}> | undefined;
|
|
944
944
|
} & {
|
|
945
945
|
type: "code_scanning";
|
|
946
|
-
}>> | MergeIntersection<Readonly<{
|
|
947
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
946
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
947
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
948
948
|
review_on_push: boolean;
|
|
949
949
|
review_draft_pull_requests: boolean;
|
|
950
950
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -956,11 +956,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
956
956
|
}>>)[] | undefined;
|
|
957
957
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
958
958
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
959
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
960
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
959
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
960
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
961
961
|
readonly href?: string | undefined;
|
|
962
962
|
}>> | undefined;
|
|
963
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
963
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
964
964
|
readonly href?: string | undefined;
|
|
965
965
|
}>> | null | undefined;
|
|
966
966
|
}>> | undefined;
|
|
@@ -970,56 +970,56 @@ export declare const RulesetPicked: Readonly<{
|
|
|
970
970
|
source: string;
|
|
971
971
|
enforcement: "disabled" | "active" | "evaluate";
|
|
972
972
|
}>>, "name" | "id" | "enforcement" | "target" | "bypass_actors" | "conditions" | "rules">>;
|
|
973
|
-
fill: (a: unknown) => Readonly<Pick<MergeIntersection<Readonly<{
|
|
973
|
+
fill: (a: unknown) => Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
974
974
|
readonly node_id?: string | undefined;
|
|
975
975
|
readonly created_at?: string | undefined;
|
|
976
976
|
readonly updated_at?: string | undefined;
|
|
977
977
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
978
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
978
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
979
979
|
readonly actor_id?: number | null | undefined;
|
|
980
980
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
981
981
|
} & {
|
|
982
982
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
983
983
|
}>>[] | undefined;
|
|
984
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
985
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
984
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
985
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
986
986
|
readonly include?: readonly string[] | undefined;
|
|
987
987
|
readonly exclude?: readonly string[] | undefined;
|
|
988
988
|
}>> | undefined;
|
|
989
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
990
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
989
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
990
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
991
991
|
readonly include?: readonly string[] | undefined;
|
|
992
992
|
readonly exclude?: readonly string[] | undefined;
|
|
993
993
|
}>> | undefined;
|
|
994
994
|
}>> & Readonly<{
|
|
995
|
-
repository_name: MergeIntersection<Readonly<{
|
|
995
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
996
996
|
readonly include?: readonly string[] | undefined;
|
|
997
997
|
readonly exclude?: readonly string[] | undefined;
|
|
998
998
|
readonly protected?: boolean | undefined;
|
|
999
999
|
}>>;
|
|
1000
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
1001
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1000
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1001
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1002
1002
|
readonly include?: readonly string[] | undefined;
|
|
1003
1003
|
readonly exclude?: readonly string[] | undefined;
|
|
1004
1004
|
}>> | undefined;
|
|
1005
1005
|
}>> & Readonly<{
|
|
1006
|
-
repository_id: MergeIntersection<Readonly<{
|
|
1006
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1007
1007
|
readonly repository_ids?: readonly number[] | undefined;
|
|
1008
1008
|
}>>;
|
|
1009
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
1010
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1009
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1010
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1011
1011
|
readonly include?: readonly string[] | undefined;
|
|
1012
1012
|
readonly exclude?: readonly string[] | undefined;
|
|
1013
1013
|
}>> | undefined;
|
|
1014
1014
|
}>> & Readonly<{
|
|
1015
|
-
repository_property: MergeIntersection<Readonly<{
|
|
1016
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
1015
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1016
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1017
1017
|
readonly source?: "custom" | "system" | undefined;
|
|
1018
1018
|
} & {
|
|
1019
1019
|
name: string;
|
|
1020
1020
|
property_values: readonly string[];
|
|
1021
1021
|
}>>[] | undefined;
|
|
1022
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
1022
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1023
1023
|
readonly source?: "custom" | "system" | undefined;
|
|
1024
1024
|
} & {
|
|
1025
1025
|
name: string;
|
|
@@ -1029,7 +1029,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1029
1029
|
}>> | null | undefined;
|
|
1030
1030
|
readonly rules?: readonly (Readonly<{
|
|
1031
1031
|
type: "creation";
|
|
1032
|
-
}> | MergeIntersection<Readonly<{
|
|
1032
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1033
1033
|
readonly parameters?: Readonly<{
|
|
1034
1034
|
update_allows_fetch_and_merge: boolean;
|
|
1035
1035
|
}> | undefined;
|
|
@@ -1039,7 +1039,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1039
1039
|
type: "deletion";
|
|
1040
1040
|
}> | Readonly<{
|
|
1041
1041
|
type: "required_linear_history";
|
|
1042
|
-
}> | MergeIntersection<Readonly<{
|
|
1042
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1043
1043
|
readonly parameters?: Readonly<{
|
|
1044
1044
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
1045
1045
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -1051,7 +1051,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1051
1051
|
}> | undefined;
|
|
1052
1052
|
} & {
|
|
1053
1053
|
type: "merge_queue";
|
|
1054
|
-
}>> | MergeIntersection<Readonly<{
|
|
1054
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1055
1055
|
readonly parameters?: Readonly<{
|
|
1056
1056
|
required_deployment_environments: readonly string[];
|
|
1057
1057
|
}> | undefined;
|
|
@@ -1059,8 +1059,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1059
1059
|
type: "required_deployments";
|
|
1060
1060
|
}>> | Readonly<{
|
|
1061
1061
|
type: "required_signatures";
|
|
1062
|
-
}> | MergeIntersection<Readonly<{
|
|
1063
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1062
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1063
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1064
1064
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
1065
1065
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
1066
1066
|
} & {
|
|
@@ -1072,11 +1072,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1072
1072
|
}>> | undefined;
|
|
1073
1073
|
} & {
|
|
1074
1074
|
type: "pull_request";
|
|
1075
|
-
}>> | MergeIntersection<Readonly<{
|
|
1076
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1075
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1076
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1077
1077
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1078
1078
|
} & {
|
|
1079
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
1079
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1080
1080
|
readonly integration_id?: number | undefined;
|
|
1081
1081
|
} & {
|
|
1082
1082
|
context: string;
|
|
@@ -1087,8 +1087,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1087
1087
|
type: "required_status_checks";
|
|
1088
1088
|
}>> | Readonly<{
|
|
1089
1089
|
type: "non_fast_forward";
|
|
1090
|
-
}> | MergeIntersection<Readonly<{
|
|
1091
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1090
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1091
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1092
1092
|
readonly name?: string | undefined;
|
|
1093
1093
|
readonly negate?: boolean | undefined;
|
|
1094
1094
|
} & {
|
|
@@ -1097,8 +1097,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1097
1097
|
}>> | undefined;
|
|
1098
1098
|
} & {
|
|
1099
1099
|
type: "commit_message_pattern";
|
|
1100
|
-
}>> | MergeIntersection<Readonly<{
|
|
1101
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1100
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1101
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1102
1102
|
readonly name?: string | undefined;
|
|
1103
1103
|
readonly negate?: boolean | undefined;
|
|
1104
1104
|
} & {
|
|
@@ -1107,8 +1107,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1107
1107
|
}>> | undefined;
|
|
1108
1108
|
} & {
|
|
1109
1109
|
type: "commit_author_email_pattern";
|
|
1110
|
-
}>> | MergeIntersection<Readonly<{
|
|
1111
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1110
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1111
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1112
1112
|
readonly name?: string | undefined;
|
|
1113
1113
|
readonly negate?: boolean | undefined;
|
|
1114
1114
|
} & {
|
|
@@ -1117,8 +1117,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1117
1117
|
}>> | undefined;
|
|
1118
1118
|
} & {
|
|
1119
1119
|
type: "committer_email_pattern";
|
|
1120
|
-
}>> | MergeIntersection<Readonly<{
|
|
1121
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1120
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1121
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1122
1122
|
readonly name?: string | undefined;
|
|
1123
1123
|
readonly negate?: boolean | undefined;
|
|
1124
1124
|
} & {
|
|
@@ -1127,8 +1127,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1127
1127
|
}>> | undefined;
|
|
1128
1128
|
} & {
|
|
1129
1129
|
type: "branch_name_pattern";
|
|
1130
|
-
}>> | MergeIntersection<Readonly<{
|
|
1131
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1130
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1131
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1132
1132
|
readonly name?: string | undefined;
|
|
1133
1133
|
readonly negate?: boolean | undefined;
|
|
1134
1134
|
} & {
|
|
@@ -1137,35 +1137,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1137
1137
|
}>> | undefined;
|
|
1138
1138
|
} & {
|
|
1139
1139
|
type: "tag_name_pattern";
|
|
1140
|
-
}>> | MergeIntersection<Readonly<{
|
|
1140
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1141
1141
|
readonly parameters?: Readonly<{
|
|
1142
1142
|
restricted_file_paths: readonly string[];
|
|
1143
1143
|
}> | undefined;
|
|
1144
1144
|
} & {
|
|
1145
1145
|
type: "file_path_restriction";
|
|
1146
|
-
}>> | MergeIntersection<Readonly<{
|
|
1146
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1147
1147
|
readonly parameters?: Readonly<{
|
|
1148
1148
|
max_file_path_length: number;
|
|
1149
1149
|
}> | undefined;
|
|
1150
1150
|
} & {
|
|
1151
1151
|
type: "max_file_path_length";
|
|
1152
|
-
}>> | MergeIntersection<Readonly<{
|
|
1152
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1153
1153
|
readonly parameters?: Readonly<{
|
|
1154
1154
|
restricted_file_extensions: readonly string[];
|
|
1155
1155
|
}> | undefined;
|
|
1156
1156
|
} & {
|
|
1157
1157
|
type: "file_extension_restriction";
|
|
1158
|
-
}>> | MergeIntersection<Readonly<{
|
|
1158
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1159
1159
|
readonly parameters?: Readonly<{
|
|
1160
1160
|
max_file_size: number;
|
|
1161
1161
|
}> | undefined;
|
|
1162
1162
|
} & {
|
|
1163
1163
|
type: "max_file_size";
|
|
1164
|
-
}>> | MergeIntersection<Readonly<{
|
|
1165
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1164
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1165
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1166
1166
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1167
1167
|
} & {
|
|
1168
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
1168
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1169
1169
|
readonly ref?: string | undefined;
|
|
1170
1170
|
readonly sha?: string | undefined;
|
|
1171
1171
|
} & {
|
|
@@ -1175,7 +1175,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1175
1175
|
}>> | undefined;
|
|
1176
1176
|
} & {
|
|
1177
1177
|
type: "workflows";
|
|
1178
|
-
}>> | MergeIntersection<Readonly<{
|
|
1178
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1179
1179
|
readonly parameters?: Readonly<{
|
|
1180
1180
|
code_scanning_tools: readonly Readonly<{
|
|
1181
1181
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1185,8 +1185,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1185
1185
|
}> | undefined;
|
|
1186
1186
|
} & {
|
|
1187
1187
|
type: "code_scanning";
|
|
1188
|
-
}>> | MergeIntersection<Readonly<{
|
|
1189
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
1188
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1189
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
1190
1190
|
review_on_push: boolean;
|
|
1191
1191
|
review_draft_pull_requests: boolean;
|
|
1192
1192
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -1198,11 +1198,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1198
1198
|
}>>)[] | undefined;
|
|
1199
1199
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
1200
1200
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
1201
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
1202
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
1201
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1202
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1203
1203
|
readonly href?: string | undefined;
|
|
1204
1204
|
}>> | undefined;
|
|
1205
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
1205
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1206
1206
|
readonly href?: string | undefined;
|
|
1207
1207
|
}>> | null | undefined;
|
|
1208
1208
|
}>> | undefined;
|
|
@@ -1212,56 +1212,56 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1212
1212
|
source: string;
|
|
1213
1213
|
enforcement: "disabled" | "active" | "evaluate";
|
|
1214
1214
|
}>>, "name" | "id" | "enforcement" | "target" | "bypass_actors" | "conditions" | "rules">>;
|
|
1215
|
-
validate: (a: unknown) => Result<Readonly<Pick<MergeIntersection<Readonly<{
|
|
1215
|
+
validate: (a: unknown) => t.Result<Readonly<Pick<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1216
1216
|
readonly node_id?: string | undefined;
|
|
1217
1217
|
readonly created_at?: string | undefined;
|
|
1218
1218
|
readonly updated_at?: string | undefined;
|
|
1219
1219
|
readonly target?: "push" | "repository" | "branch" | "tag" | undefined;
|
|
1220
|
-
readonly bypass_actors?: readonly MergeIntersection<Readonly<{
|
|
1220
|
+
readonly bypass_actors?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1221
1221
|
readonly actor_id?: number | null | undefined;
|
|
1222
1222
|
readonly bypass_mode?: "always" | "pull_request" | "exempt" | undefined;
|
|
1223
1223
|
} & {
|
|
1224
1224
|
actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
|
|
1225
1225
|
}>>[] | undefined;
|
|
1226
|
-
readonly conditions?: MergeIntersection<Readonly<{
|
|
1227
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1226
|
+
readonly conditions?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1227
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1228
1228
|
readonly include?: readonly string[] | undefined;
|
|
1229
1229
|
readonly exclude?: readonly string[] | undefined;
|
|
1230
1230
|
}>> | undefined;
|
|
1231
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
1232
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1231
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1232
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1233
1233
|
readonly include?: readonly string[] | undefined;
|
|
1234
1234
|
readonly exclude?: readonly string[] | undefined;
|
|
1235
1235
|
}>> | undefined;
|
|
1236
1236
|
}>> & Readonly<{
|
|
1237
|
-
repository_name: MergeIntersection<Readonly<{
|
|
1237
|
+
repository_name: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1238
1238
|
readonly include?: readonly string[] | undefined;
|
|
1239
1239
|
readonly exclude?: readonly string[] | undefined;
|
|
1240
1240
|
readonly protected?: boolean | undefined;
|
|
1241
1241
|
}>>;
|
|
1242
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
1243
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1242
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1243
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1244
1244
|
readonly include?: readonly string[] | undefined;
|
|
1245
1245
|
readonly exclude?: readonly string[] | undefined;
|
|
1246
1246
|
}>> | undefined;
|
|
1247
1247
|
}>> & Readonly<{
|
|
1248
|
-
repository_id: MergeIntersection<Readonly<{
|
|
1248
|
+
repository_id: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1249
1249
|
readonly repository_ids?: readonly number[] | undefined;
|
|
1250
1250
|
}>>;
|
|
1251
|
-
}>> | MergeIntersection<MergeIntersection<Readonly<{
|
|
1252
|
-
readonly ref_name?: MergeIntersection<Readonly<{
|
|
1251
|
+
}>> | import("ts-type-forge").MergeIntersection<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1252
|
+
readonly ref_name?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1253
1253
|
readonly include?: readonly string[] | undefined;
|
|
1254
1254
|
readonly exclude?: readonly string[] | undefined;
|
|
1255
1255
|
}>> | undefined;
|
|
1256
1256
|
}>> & Readonly<{
|
|
1257
|
-
repository_property: MergeIntersection<Readonly<{
|
|
1258
|
-
readonly include?: readonly MergeIntersection<Readonly<{
|
|
1257
|
+
repository_property: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1258
|
+
readonly include?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1259
1259
|
readonly source?: "custom" | "system" | undefined;
|
|
1260
1260
|
} & {
|
|
1261
1261
|
name: string;
|
|
1262
1262
|
property_values: readonly string[];
|
|
1263
1263
|
}>>[] | undefined;
|
|
1264
|
-
readonly exclude?: readonly MergeIntersection<Readonly<{
|
|
1264
|
+
readonly exclude?: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1265
1265
|
readonly source?: "custom" | "system" | undefined;
|
|
1266
1266
|
} & {
|
|
1267
1267
|
name: string;
|
|
@@ -1271,7 +1271,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1271
1271
|
}>> | null | undefined;
|
|
1272
1272
|
readonly rules?: readonly (Readonly<{
|
|
1273
1273
|
type: "creation";
|
|
1274
|
-
}> | MergeIntersection<Readonly<{
|
|
1274
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1275
1275
|
readonly parameters?: Readonly<{
|
|
1276
1276
|
update_allows_fetch_and_merge: boolean;
|
|
1277
1277
|
}> | undefined;
|
|
@@ -1281,7 +1281,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1281
1281
|
type: "deletion";
|
|
1282
1282
|
}> | Readonly<{
|
|
1283
1283
|
type: "required_linear_history";
|
|
1284
|
-
}> | MergeIntersection<Readonly<{
|
|
1284
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1285
1285
|
readonly parameters?: Readonly<{
|
|
1286
1286
|
grouping_strategy: "ALLGREEN" | "HEADGREEN";
|
|
1287
1287
|
merge_method: "MERGE" | "SQUASH" | "REBASE";
|
|
@@ -1293,7 +1293,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1293
1293
|
}> | undefined;
|
|
1294
1294
|
} & {
|
|
1295
1295
|
type: "merge_queue";
|
|
1296
|
-
}>> | MergeIntersection<Readonly<{
|
|
1296
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1297
1297
|
readonly parameters?: Readonly<{
|
|
1298
1298
|
required_deployment_environments: readonly string[];
|
|
1299
1299
|
}> | undefined;
|
|
@@ -1301,8 +1301,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1301
1301
|
type: "required_deployments";
|
|
1302
1302
|
}>> | Readonly<{
|
|
1303
1303
|
type: "required_signatures";
|
|
1304
|
-
}> | MergeIntersection<Readonly<{
|
|
1305
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1304
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1305
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1306
1306
|
readonly allowed_merge_methods?: readonly ("merge" | "squash" | "rebase")[] | undefined;
|
|
1307
1307
|
readonly automatic_copilot_code_review_enabled?: boolean | undefined;
|
|
1308
1308
|
} & {
|
|
@@ -1314,11 +1314,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1314
1314
|
}>> | undefined;
|
|
1315
1315
|
} & {
|
|
1316
1316
|
type: "pull_request";
|
|
1317
|
-
}>> | MergeIntersection<Readonly<{
|
|
1318
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1317
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1318
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1319
1319
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1320
1320
|
} & {
|
|
1321
|
-
required_status_checks: readonly MergeIntersection<Readonly<{
|
|
1321
|
+
required_status_checks: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1322
1322
|
readonly integration_id?: number | undefined;
|
|
1323
1323
|
} & {
|
|
1324
1324
|
context: string;
|
|
@@ -1329,8 +1329,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1329
1329
|
type: "required_status_checks";
|
|
1330
1330
|
}>> | Readonly<{
|
|
1331
1331
|
type: "non_fast_forward";
|
|
1332
|
-
}> | MergeIntersection<Readonly<{
|
|
1333
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1332
|
+
}> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1333
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1334
1334
|
readonly name?: string | undefined;
|
|
1335
1335
|
readonly negate?: boolean | undefined;
|
|
1336
1336
|
} & {
|
|
@@ -1339,8 +1339,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1339
1339
|
}>> | undefined;
|
|
1340
1340
|
} & {
|
|
1341
1341
|
type: "commit_message_pattern";
|
|
1342
|
-
}>> | MergeIntersection<Readonly<{
|
|
1343
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1342
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1343
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1344
1344
|
readonly name?: string | undefined;
|
|
1345
1345
|
readonly negate?: boolean | undefined;
|
|
1346
1346
|
} & {
|
|
@@ -1349,8 +1349,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1349
1349
|
}>> | undefined;
|
|
1350
1350
|
} & {
|
|
1351
1351
|
type: "commit_author_email_pattern";
|
|
1352
|
-
}>> | MergeIntersection<Readonly<{
|
|
1353
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1352
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1353
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1354
1354
|
readonly name?: string | undefined;
|
|
1355
1355
|
readonly negate?: boolean | undefined;
|
|
1356
1356
|
} & {
|
|
@@ -1359,8 +1359,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1359
1359
|
}>> | undefined;
|
|
1360
1360
|
} & {
|
|
1361
1361
|
type: "committer_email_pattern";
|
|
1362
|
-
}>> | MergeIntersection<Readonly<{
|
|
1363
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1362
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1363
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1364
1364
|
readonly name?: string | undefined;
|
|
1365
1365
|
readonly negate?: boolean | undefined;
|
|
1366
1366
|
} & {
|
|
@@ -1369,8 +1369,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1369
1369
|
}>> | undefined;
|
|
1370
1370
|
} & {
|
|
1371
1371
|
type: "branch_name_pattern";
|
|
1372
|
-
}>> | MergeIntersection<Readonly<{
|
|
1373
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1372
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1373
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1374
1374
|
readonly name?: string | undefined;
|
|
1375
1375
|
readonly negate?: boolean | undefined;
|
|
1376
1376
|
} & {
|
|
@@ -1379,35 +1379,35 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1379
1379
|
}>> | undefined;
|
|
1380
1380
|
} & {
|
|
1381
1381
|
type: "tag_name_pattern";
|
|
1382
|
-
}>> | MergeIntersection<Readonly<{
|
|
1382
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1383
1383
|
readonly parameters?: Readonly<{
|
|
1384
1384
|
restricted_file_paths: readonly string[];
|
|
1385
1385
|
}> | undefined;
|
|
1386
1386
|
} & {
|
|
1387
1387
|
type: "file_path_restriction";
|
|
1388
|
-
}>> | MergeIntersection<Readonly<{
|
|
1388
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1389
1389
|
readonly parameters?: Readonly<{
|
|
1390
1390
|
max_file_path_length: number;
|
|
1391
1391
|
}> | undefined;
|
|
1392
1392
|
} & {
|
|
1393
1393
|
type: "max_file_path_length";
|
|
1394
|
-
}>> | MergeIntersection<Readonly<{
|
|
1394
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1395
1395
|
readonly parameters?: Readonly<{
|
|
1396
1396
|
restricted_file_extensions: readonly string[];
|
|
1397
1397
|
}> | undefined;
|
|
1398
1398
|
} & {
|
|
1399
1399
|
type: "file_extension_restriction";
|
|
1400
|
-
}>> | MergeIntersection<Readonly<{
|
|
1400
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1401
1401
|
readonly parameters?: Readonly<{
|
|
1402
1402
|
max_file_size: number;
|
|
1403
1403
|
}> | undefined;
|
|
1404
1404
|
} & {
|
|
1405
1405
|
type: "max_file_size";
|
|
1406
|
-
}>> | MergeIntersection<Readonly<{
|
|
1407
|
-
readonly parameters?: MergeIntersection<Readonly<{
|
|
1406
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1407
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1408
1408
|
readonly do_not_enforce_on_create?: boolean | undefined;
|
|
1409
1409
|
} & {
|
|
1410
|
-
workflows: readonly MergeIntersection<Readonly<{
|
|
1410
|
+
workflows: readonly import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1411
1411
|
readonly ref?: string | undefined;
|
|
1412
1412
|
readonly sha?: string | undefined;
|
|
1413
1413
|
} & {
|
|
@@ -1417,7 +1417,7 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1417
1417
|
}>> | undefined;
|
|
1418
1418
|
} & {
|
|
1419
1419
|
type: "workflows";
|
|
1420
|
-
}>> | MergeIntersection<Readonly<{
|
|
1420
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1421
1421
|
readonly parameters?: Readonly<{
|
|
1422
1422
|
code_scanning_tools: readonly Readonly<{
|
|
1423
1423
|
alerts_threshold: "none" | "errors" | "errors_and_warnings" | "all";
|
|
@@ -1427,8 +1427,8 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1427
1427
|
}> | undefined;
|
|
1428
1428
|
} & {
|
|
1429
1429
|
type: "code_scanning";
|
|
1430
|
-
}>> | MergeIntersection<Readonly<{
|
|
1431
|
-
readonly parameters?: MergeIntersection<Omit<Readonly<{
|
|
1430
|
+
}>> | import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1431
|
+
readonly parameters?: import("ts-type-forge").MergeIntersection<Omit<Readonly<{
|
|
1432
1432
|
review_on_push: boolean;
|
|
1433
1433
|
review_draft_pull_requests: boolean;
|
|
1434
1434
|
}>, "review_on_push" | "review_draft_pull_requests"> & Partial<Pick<Readonly<{
|
|
@@ -1440,11 +1440,11 @@ export declare const RulesetPicked: Readonly<{
|
|
|
1440
1440
|
}>>)[] | undefined;
|
|
1441
1441
|
readonly source_type?: "Repository" | "Organization" | "Enterprise" | undefined;
|
|
1442
1442
|
readonly current_user_can_bypass?: "always" | "exempt" | "pull_requests_only" | "never" | undefined;
|
|
1443
|
-
readonly _links?: MergeIntersection<Readonly<{
|
|
1444
|
-
readonly self?: MergeIntersection<Readonly<{
|
|
1443
|
+
readonly _links?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1444
|
+
readonly self?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1445
1445
|
readonly href?: string | undefined;
|
|
1446
1446
|
}>> | undefined;
|
|
1447
|
-
readonly html?: MergeIntersection<Readonly<{
|
|
1447
|
+
readonly html?: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
1448
1448
|
readonly href?: string | undefined;
|
|
1449
1449
|
}>> | null | undefined;
|
|
1450
1450
|
}>> | undefined;
|