@tomsd/github-repo-js 0.2.4 → 0.2.5

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.
@@ -13,28 +13,348 @@ export declare function readyGitHubPullReviewers(token: string): {
13
13
  };
14
14
  get pageSizeForRequest(): number;
15
15
  getPagedList(query?: Record<string, string>): Promise<{
16
- users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
17
- teams: import("@octokit/openapi-types").components["schemas"]["team"][];
16
+ users: {
17
+ name?: string | null;
18
+ email?: string | null;
19
+ login: string;
20
+ id: number;
21
+ node_id: string;
22
+ avatar_url: string;
23
+ gravatar_id: string | null;
24
+ url: string;
25
+ html_url: string;
26
+ followers_url: string;
27
+ following_url: string;
28
+ gists_url: string;
29
+ starred_url: string;
30
+ subscriptions_url: string;
31
+ organizations_url: string;
32
+ repos_url: string;
33
+ events_url: string;
34
+ received_events_url: string;
35
+ type: string;
36
+ site_admin: boolean;
37
+ starred_at?: string;
38
+ user_view_type?: string;
39
+ }[];
40
+ teams: {
41
+ id: number;
42
+ node_id: string;
43
+ name: string;
44
+ slug: string;
45
+ description: string | null;
46
+ privacy?: string;
47
+ notification_setting?: string;
48
+ permission: string;
49
+ permissions?: {
50
+ pull: boolean;
51
+ triage: boolean;
52
+ push: boolean;
53
+ maintain: boolean;
54
+ admin: boolean;
55
+ };
56
+ url: string;
57
+ html_url: string;
58
+ members_url: string;
59
+ repositories_url: string;
60
+ type: "enterprise" | "organization";
61
+ organization_id?: number;
62
+ enterprise_id?: number;
63
+ parent: {
64
+ id: number;
65
+ node_id: string;
66
+ url: string;
67
+ members_url: string;
68
+ name: string;
69
+ description: string | null;
70
+ permission: string;
71
+ privacy?: string;
72
+ notification_setting?: string;
73
+ html_url: string;
74
+ repositories_url: string;
75
+ slug: string;
76
+ ldap_dn?: string;
77
+ type: "enterprise" | "organization";
78
+ organization_id?: number;
79
+ enterprise_id?: number;
80
+ } | null;
81
+ }[];
18
82
  }[]>;
19
83
  getList(query?: Record<string, string>): Promise<{
20
- users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
21
- teams: import("@octokit/openapi-types").components["schemas"]["team"][];
84
+ users: {
85
+ name?: string | null;
86
+ email?: string | null;
87
+ login: string;
88
+ id: number;
89
+ node_id: string;
90
+ avatar_url: string;
91
+ gravatar_id: string | null;
92
+ url: string;
93
+ html_url: string;
94
+ followers_url: string;
95
+ following_url: string;
96
+ gists_url: string;
97
+ starred_url: string;
98
+ subscriptions_url: string;
99
+ organizations_url: string;
100
+ repos_url: string;
101
+ events_url: string;
102
+ received_events_url: string;
103
+ type: string;
104
+ site_admin: boolean;
105
+ starred_at?: string;
106
+ user_view_type?: string;
107
+ }[];
108
+ teams: {
109
+ id: number;
110
+ node_id: string;
111
+ name: string;
112
+ slug: string;
113
+ description: string | null;
114
+ privacy?: string;
115
+ notification_setting?: string;
116
+ permission: string;
117
+ permissions?: {
118
+ pull: boolean;
119
+ triage: boolean;
120
+ push: boolean;
121
+ maintain: boolean;
122
+ admin: boolean;
123
+ };
124
+ url: string;
125
+ html_url: string;
126
+ members_url: string;
127
+ repositories_url: string;
128
+ type: "enterprise" | "organization";
129
+ organization_id?: number;
130
+ enterprise_id?: number;
131
+ parent: {
132
+ id: number;
133
+ node_id: string;
134
+ url: string;
135
+ members_url: string;
136
+ name: string;
137
+ description: string | null;
138
+ permission: string;
139
+ privacy?: string;
140
+ notification_setting?: string;
141
+ html_url: string;
142
+ repositories_url: string;
143
+ slug: string;
144
+ ldap_dn?: string;
145
+ type: "enterprise" | "organization";
146
+ organization_id?: number;
147
+ enterprise_id?: number;
148
+ } | null;
149
+ }[];
22
150
  }[]>;
23
151
  get(): Promise<{
24
- users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
25
- teams: import("@octokit/openapi-types").components["schemas"]["team"][];
152
+ users: {
153
+ name?: string | null;
154
+ email?: string | null;
155
+ login: string;
156
+ id: number;
157
+ node_id: string;
158
+ avatar_url: string;
159
+ gravatar_id: string | null;
160
+ url: string;
161
+ html_url: string;
162
+ followers_url: string;
163
+ following_url: string;
164
+ gists_url: string;
165
+ starred_url: string;
166
+ subscriptions_url: string;
167
+ organizations_url: string;
168
+ repos_url: string;
169
+ events_url: string;
170
+ received_events_url: string;
171
+ type: string;
172
+ site_admin: boolean;
173
+ starred_at?: string;
174
+ user_view_type?: string;
175
+ }[];
176
+ teams: {
177
+ id: number;
178
+ node_id: string;
179
+ name: string;
180
+ slug: string;
181
+ description: string | null;
182
+ privacy?: string;
183
+ notification_setting?: string;
184
+ permission: string;
185
+ permissions?: {
186
+ pull: boolean;
187
+ triage: boolean;
188
+ push: boolean;
189
+ maintain: boolean;
190
+ admin: boolean;
191
+ };
192
+ url: string;
193
+ html_url: string;
194
+ members_url: string;
195
+ repositories_url: string;
196
+ type: "enterprise" | "organization";
197
+ organization_id?: number;
198
+ enterprise_id?: number;
199
+ parent: {
200
+ id: number;
201
+ node_id: string;
202
+ url: string;
203
+ members_url: string;
204
+ name: string;
205
+ description: string | null;
206
+ permission: string;
207
+ privacy?: string;
208
+ notification_setting?: string;
209
+ html_url: string;
210
+ repositories_url: string;
211
+ slug: string;
212
+ ldap_dn?: string;
213
+ type: "enterprise" | "organization";
214
+ organization_id?: number;
215
+ enterprise_id?: number;
216
+ } | null;
217
+ }[];
26
218
  }>;
27
219
  post(body: {
28
220
  data: never;
29
221
  }): Promise<{
30
- users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
31
- teams: import("@octokit/openapi-types").components["schemas"]["team"][];
222
+ users: {
223
+ name?: string | null;
224
+ email?: string | null;
225
+ login: string;
226
+ id: number;
227
+ node_id: string;
228
+ avatar_url: string;
229
+ gravatar_id: string | null;
230
+ url: string;
231
+ html_url: string;
232
+ followers_url: string;
233
+ following_url: string;
234
+ gists_url: string;
235
+ starred_url: string;
236
+ subscriptions_url: string;
237
+ organizations_url: string;
238
+ repos_url: string;
239
+ events_url: string;
240
+ received_events_url: string;
241
+ type: string;
242
+ site_admin: boolean;
243
+ starred_at?: string;
244
+ user_view_type?: string;
245
+ }[];
246
+ teams: {
247
+ id: number;
248
+ node_id: string;
249
+ name: string;
250
+ slug: string;
251
+ description: string | null;
252
+ privacy?: string;
253
+ notification_setting?: string;
254
+ permission: string;
255
+ permissions?: {
256
+ pull: boolean;
257
+ triage: boolean;
258
+ push: boolean;
259
+ maintain: boolean;
260
+ admin: boolean;
261
+ };
262
+ url: string;
263
+ html_url: string;
264
+ members_url: string;
265
+ repositories_url: string;
266
+ type: "enterprise" | "organization";
267
+ organization_id?: number;
268
+ enterprise_id?: number;
269
+ parent: {
270
+ id: number;
271
+ node_id: string;
272
+ url: string;
273
+ members_url: string;
274
+ name: string;
275
+ description: string | null;
276
+ permission: string;
277
+ privacy?: string;
278
+ notification_setting?: string;
279
+ html_url: string;
280
+ repositories_url: string;
281
+ slug: string;
282
+ ldap_dn?: string;
283
+ type: "enterprise" | "organization";
284
+ organization_id?: number;
285
+ enterprise_id?: number;
286
+ } | null;
287
+ }[];
32
288
  }>;
33
289
  patch(body: {
34
290
  data: never;
35
291
  }): Promise<{
36
- users: import("@octokit/openapi-types").components["schemas"]["simple-user"][];
37
- teams: import("@octokit/openapi-types").components["schemas"]["team"][];
292
+ users: {
293
+ name?: string | null;
294
+ email?: string | null;
295
+ login: string;
296
+ id: number;
297
+ node_id: string;
298
+ avatar_url: string;
299
+ gravatar_id: string | null;
300
+ url: string;
301
+ html_url: string;
302
+ followers_url: string;
303
+ following_url: string;
304
+ gists_url: string;
305
+ starred_url: string;
306
+ subscriptions_url: string;
307
+ organizations_url: string;
308
+ repos_url: string;
309
+ events_url: string;
310
+ received_events_url: string;
311
+ type: string;
312
+ site_admin: boolean;
313
+ starred_at?: string;
314
+ user_view_type?: string;
315
+ }[];
316
+ teams: {
317
+ id: number;
318
+ node_id: string;
319
+ name: string;
320
+ slug: string;
321
+ description: string | null;
322
+ privacy?: string;
323
+ notification_setting?: string;
324
+ permission: string;
325
+ permissions?: {
326
+ pull: boolean;
327
+ triage: boolean;
328
+ push: boolean;
329
+ maintain: boolean;
330
+ admin: boolean;
331
+ };
332
+ url: string;
333
+ html_url: string;
334
+ members_url: string;
335
+ repositories_url: string;
336
+ type: "enterprise" | "organization";
337
+ organization_id?: number;
338
+ enterprise_id?: number;
339
+ parent: {
340
+ id: number;
341
+ node_id: string;
342
+ url: string;
343
+ members_url: string;
344
+ name: string;
345
+ description: string | null;
346
+ permission: string;
347
+ privacy?: string;
348
+ notification_setting?: string;
349
+ html_url: string;
350
+ repositories_url: string;
351
+ slug: string;
352
+ ldap_dn?: string;
353
+ type: "enterprise" | "organization";
354
+ organization_id?: number;
355
+ enterprise_id?: number;
356
+ } | null;
357
+ }[];
38
358
  }>;
39
359
  delete(): Promise<void>;
40
360
  };