@tomsd/github-repo-js 0.2.4 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,30 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
15
15
  node_id: string;
16
16
  name: string;
17
17
  full_name: string;
18
- owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
18
+ owner: {
19
+ name?: string | null;
20
+ email?: string | null;
21
+ login: string;
22
+ id: number;
23
+ node_id: string;
24
+ avatar_url: string;
25
+ gravatar_id: string | null;
26
+ url: string;
27
+ html_url: string;
28
+ followers_url: string;
29
+ following_url: string;
30
+ gists_url: string;
31
+ starred_url: string;
32
+ subscriptions_url: string;
33
+ organizations_url: string;
34
+ repos_url: string;
35
+ events_url: string;
36
+ received_events_url: string;
37
+ type: string;
38
+ site_admin: boolean;
39
+ starred_at?: string;
40
+ user_view_type?: string;
41
+ };
19
42
  private: boolean;
20
43
  html_url: string;
21
44
  description: string | null;
@@ -96,7 +119,13 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
96
119
  delete_branch_on_merge?: boolean;
97
120
  subscribers_count?: number;
98
121
  network_count?: number;
99
- code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
122
+ code_of_conduct?: {
123
+ key: string;
124
+ name: string;
125
+ url: string;
126
+ body?: string;
127
+ html_url: string | null;
128
+ };
100
129
  license?: {
101
130
  key?: string;
102
131
  name?: string;
@@ -109,7 +138,29 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
109
138
  watchers?: number;
110
139
  allow_forking?: boolean;
111
140
  web_commit_signoff_required?: boolean;
112
- security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
141
+ security_and_analysis?: {
142
+ advanced_security?: {
143
+ status?: "enabled" | "disabled";
144
+ };
145
+ code_security?: {
146
+ status?: "enabled" | "disabled";
147
+ };
148
+ dependabot_security_updates?: {
149
+ status?: "enabled" | "disabled";
150
+ };
151
+ secret_scanning?: {
152
+ status?: "enabled" | "disabled";
153
+ };
154
+ secret_scanning_push_protection?: {
155
+ status?: "enabled" | "disabled";
156
+ };
157
+ secret_scanning_non_provider_patterns?: {
158
+ status?: "enabled" | "disabled";
159
+ };
160
+ secret_scanning_ai_detection?: {
161
+ status?: "enabled" | "disabled";
162
+ };
163
+ } | null;
113
164
  custom_properties?: {
114
165
  [key: string]: unknown;
115
166
  };
@@ -119,7 +170,30 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
119
170
  node_id: string;
120
171
  name: string;
121
172
  full_name: string;
122
- owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
173
+ owner: {
174
+ name?: string | null;
175
+ email?: string | null;
176
+ login: string;
177
+ id: number;
178
+ node_id: string;
179
+ avatar_url: string;
180
+ gravatar_id: string | null;
181
+ url: string;
182
+ html_url: string;
183
+ followers_url: string;
184
+ following_url: string;
185
+ gists_url: string;
186
+ starred_url: string;
187
+ subscriptions_url: string;
188
+ organizations_url: string;
189
+ repos_url: string;
190
+ events_url: string;
191
+ received_events_url: string;
192
+ type: string;
193
+ site_admin: boolean;
194
+ starred_at?: string;
195
+ user_view_type?: string;
196
+ };
123
197
  private: boolean;
124
198
  html_url: string;
125
199
  description: string | null;
@@ -200,7 +274,13 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
200
274
  delete_branch_on_merge?: boolean;
201
275
  subscribers_count?: number;
202
276
  network_count?: number;
203
- code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
277
+ code_of_conduct?: {
278
+ key: string;
279
+ name: string;
280
+ url: string;
281
+ body?: string;
282
+ html_url: string | null;
283
+ };
204
284
  license?: {
205
285
  key?: string;
206
286
  name?: string;
@@ -213,7 +293,29 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
213
293
  watchers?: number;
214
294
  allow_forking?: boolean;
215
295
  web_commit_signoff_required?: boolean;
216
- security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
296
+ security_and_analysis?: {
297
+ advanced_security?: {
298
+ status?: "enabled" | "disabled";
299
+ };
300
+ code_security?: {
301
+ status?: "enabled" | "disabled";
302
+ };
303
+ dependabot_security_updates?: {
304
+ status?: "enabled" | "disabled";
305
+ };
306
+ secret_scanning?: {
307
+ status?: "enabled" | "disabled";
308
+ };
309
+ secret_scanning_push_protection?: {
310
+ status?: "enabled" | "disabled";
311
+ };
312
+ secret_scanning_non_provider_patterns?: {
313
+ status?: "enabled" | "disabled";
314
+ };
315
+ secret_scanning_ai_detection?: {
316
+ status?: "enabled" | "disabled";
317
+ };
318
+ } | null;
217
319
  custom_properties?: {
218
320
  [key: string]: unknown;
219
321
  };
@@ -223,7 +325,30 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
223
325
  node_id: string;
224
326
  name: string;
225
327
  full_name: string;
226
- owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
328
+ owner: {
329
+ name?: string | null;
330
+ email?: string | null;
331
+ login: string;
332
+ id: number;
333
+ node_id: string;
334
+ avatar_url: string;
335
+ gravatar_id: string | null;
336
+ url: string;
337
+ html_url: string;
338
+ followers_url: string;
339
+ following_url: string;
340
+ gists_url: string;
341
+ starred_url: string;
342
+ subscriptions_url: string;
343
+ organizations_url: string;
344
+ repos_url: string;
345
+ events_url: string;
346
+ received_events_url: string;
347
+ type: string;
348
+ site_admin: boolean;
349
+ starred_at?: string;
350
+ user_view_type?: string;
351
+ };
227
352
  private: boolean;
228
353
  html_url: string;
229
354
  description: string | null;
@@ -304,7 +429,13 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
304
429
  delete_branch_on_merge?: boolean;
305
430
  subscribers_count?: number;
306
431
  network_count?: number;
307
- code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
432
+ code_of_conduct?: {
433
+ key: string;
434
+ name: string;
435
+ url: string;
436
+ body?: string;
437
+ html_url: string | null;
438
+ };
308
439
  license?: {
309
440
  key?: string;
310
441
  name?: string;
@@ -317,7 +448,29 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
317
448
  watchers?: number;
318
449
  allow_forking?: boolean;
319
450
  web_commit_signoff_required?: boolean;
320
- security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
451
+ security_and_analysis?: {
452
+ advanced_security?: {
453
+ status?: "enabled" | "disabled";
454
+ };
455
+ code_security?: {
456
+ status?: "enabled" | "disabled";
457
+ };
458
+ dependabot_security_updates?: {
459
+ status?: "enabled" | "disabled";
460
+ };
461
+ secret_scanning?: {
462
+ status?: "enabled" | "disabled";
463
+ };
464
+ secret_scanning_push_protection?: {
465
+ status?: "enabled" | "disabled";
466
+ };
467
+ secret_scanning_non_provider_patterns?: {
468
+ status?: "enabled" | "disabled";
469
+ };
470
+ secret_scanning_ai_detection?: {
471
+ status?: "enabled" | "disabled";
472
+ };
473
+ } | null;
321
474
  custom_properties?: {
322
475
  [key: string]: unknown;
323
476
  };
@@ -355,7 +508,30 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
355
508
  node_id: string;
356
509
  name: string;
357
510
  full_name: string;
358
- owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
511
+ owner: {
512
+ name?: string | null;
513
+ email?: string | null;
514
+ login: string;
515
+ id: number;
516
+ node_id: string;
517
+ avatar_url: string;
518
+ gravatar_id: string | null;
519
+ url: string;
520
+ html_url: string;
521
+ followers_url: string;
522
+ following_url: string;
523
+ gists_url: string;
524
+ starred_url: string;
525
+ subscriptions_url: string;
526
+ organizations_url: string;
527
+ repos_url: string;
528
+ events_url: string;
529
+ received_events_url: string;
530
+ type: string;
531
+ site_admin: boolean;
532
+ starred_at?: string;
533
+ user_view_type?: string;
534
+ };
359
535
  private: boolean;
360
536
  html_url: string;
361
537
  description: string | null;
@@ -436,7 +612,13 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
436
612
  delete_branch_on_merge?: boolean;
437
613
  subscribers_count?: number;
438
614
  network_count?: number;
439
- code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
615
+ code_of_conduct?: {
616
+ key: string;
617
+ name: string;
618
+ url: string;
619
+ body?: string;
620
+ html_url: string | null;
621
+ };
440
622
  license?: {
441
623
  key?: string;
442
624
  name?: string;
@@ -449,7 +631,29 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
449
631
  watchers?: number;
450
632
  allow_forking?: boolean;
451
633
  web_commit_signoff_required?: boolean;
452
- security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
634
+ security_and_analysis?: {
635
+ advanced_security?: {
636
+ status?: "enabled" | "disabled";
637
+ };
638
+ code_security?: {
639
+ status?: "enabled" | "disabled";
640
+ };
641
+ dependabot_security_updates?: {
642
+ status?: "enabled" | "disabled";
643
+ };
644
+ secret_scanning?: {
645
+ status?: "enabled" | "disabled";
646
+ };
647
+ secret_scanning_push_protection?: {
648
+ status?: "enabled" | "disabled";
649
+ };
650
+ secret_scanning_non_provider_patterns?: {
651
+ status?: "enabled" | "disabled";
652
+ };
653
+ secret_scanning_ai_detection?: {
654
+ status?: "enabled" | "disabled";
655
+ };
656
+ } | null;
453
657
  custom_properties?: {
454
658
  [key: string]: unknown;
455
659
  };
@@ -487,7 +691,30 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
487
691
  node_id: string;
488
692
  name: string;
489
693
  full_name: string;
490
- owner: import("@octokit/openapi-types").components["schemas"]["simple-user"];
694
+ owner: {
695
+ name?: string | null;
696
+ email?: string | null;
697
+ login: string;
698
+ id: number;
699
+ node_id: string;
700
+ avatar_url: string;
701
+ gravatar_id: string | null;
702
+ url: string;
703
+ html_url: string;
704
+ followers_url: string;
705
+ following_url: string;
706
+ gists_url: string;
707
+ starred_url: string;
708
+ subscriptions_url: string;
709
+ organizations_url: string;
710
+ repos_url: string;
711
+ events_url: string;
712
+ received_events_url: string;
713
+ type: string;
714
+ site_admin: boolean;
715
+ starred_at?: string;
716
+ user_view_type?: string;
717
+ };
491
718
  private: boolean;
492
719
  html_url: string;
493
720
  description: string | null;
@@ -568,7 +795,13 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
568
795
  delete_branch_on_merge?: boolean;
569
796
  subscribers_count?: number;
570
797
  network_count?: number;
571
- code_of_conduct?: import("@octokit/openapi-types").components["schemas"]["code-of-conduct"];
798
+ code_of_conduct?: {
799
+ key: string;
800
+ name: string;
801
+ url: string;
802
+ body?: string;
803
+ html_url: string | null;
804
+ };
572
805
  license?: {
573
806
  key?: string;
574
807
  name?: string;
@@ -581,7 +814,29 @@ export declare function readyGitHubOrganizationRepositories(token: string): {
581
814
  watchers?: number;
582
815
  allow_forking?: boolean;
583
816
  web_commit_signoff_required?: boolean;
584
- security_and_analysis?: import("@octokit/openapi-types").components["schemas"]["security-and-analysis"];
817
+ security_and_analysis?: {
818
+ advanced_security?: {
819
+ status?: "enabled" | "disabled";
820
+ };
821
+ code_security?: {
822
+ status?: "enabled" | "disabled";
823
+ };
824
+ dependabot_security_updates?: {
825
+ status?: "enabled" | "disabled";
826
+ };
827
+ secret_scanning?: {
828
+ status?: "enabled" | "disabled";
829
+ };
830
+ secret_scanning_push_protection?: {
831
+ status?: "enabled" | "disabled";
832
+ };
833
+ secret_scanning_non_provider_patterns?: {
834
+ status?: "enabled" | "disabled";
835
+ };
836
+ secret_scanning_ai_detection?: {
837
+ status?: "enabled" | "disabled";
838
+ };
839
+ } | null;
585
840
  custom_properties?: {
586
841
  [key: string]: unknown;
587
842
  };