@firestartr/cli 2.6.0-snapshot-2 → 2.6.0-snapshot-4

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.
@@ -1,987 +1,7 @@
1
- export declare function listBranches(repo: string, owner?: string): Promise<{
2
- name: string;
3
- commit: {
4
- sha: string;
5
- url: string;
6
- };
7
- protected: boolean;
8
- protection?: {
9
- url?: string;
10
- enabled?: boolean;
11
- required_status_checks?: {
12
- url?: string;
13
- enforcement_level?: string;
14
- contexts: string[];
15
- checks: {
16
- context: string;
17
- app_id: number;
18
- }[];
19
- contexts_url?: string;
20
- strict?: boolean;
21
- };
22
- enforce_admins?: {
23
- url: string;
24
- enabled: boolean;
25
- };
26
- required_pull_request_reviews?: {
27
- url?: string;
28
- dismissal_restrictions?: {
29
- users?: {
30
- name?: string;
31
- email?: string;
32
- login: string;
33
- id: number;
34
- node_id: string;
35
- avatar_url: string;
36
- gravatar_id: string;
37
- url: string;
38
- html_url: string;
39
- followers_url: string;
40
- following_url: string;
41
- gists_url: string;
42
- starred_url: string;
43
- subscriptions_url: string;
44
- organizations_url: string;
45
- repos_url: string;
46
- events_url: string;
47
- received_events_url: string;
48
- type: string;
49
- site_admin: boolean;
50
- starred_at?: string;
51
- user_view_type?: string;
52
- }[];
53
- teams?: {
54
- id: number;
55
- node_id: string;
56
- name: string;
57
- slug: string;
58
- description: string;
59
- privacy?: string;
60
- notification_setting?: string;
61
- permission: string;
62
- permissions?: {
63
- pull: boolean;
64
- triage: boolean;
65
- push: boolean;
66
- maintain: boolean;
67
- admin: boolean;
68
- };
69
- url: string;
70
- html_url: string;
71
- members_url: string;
72
- repositories_url: string;
73
- type: "enterprise" | "organization";
74
- organization_id?: number;
75
- enterprise_id?: number;
76
- parent: {
77
- id: number;
78
- node_id: string;
79
- url: string;
80
- members_url: string;
81
- name: string;
82
- description: string;
83
- permission: string;
84
- privacy?: string;
85
- notification_setting?: string;
86
- html_url: string;
87
- repositories_url: string;
88
- slug: string;
89
- ldap_dn?: string;
90
- type: "enterprise" | "organization";
91
- organization_id?: number;
92
- enterprise_id?: number;
93
- };
94
- }[];
95
- apps?: {
96
- id: number;
97
- slug?: string;
98
- node_id: string;
99
- client_id?: string;
100
- owner: {
101
- name?: string;
102
- email?: string;
103
- login: string;
104
- id: number;
105
- node_id: string;
106
- avatar_url: string;
107
- gravatar_id: string;
108
- url: string;
109
- html_url: string;
110
- followers_url: string;
111
- following_url: string;
112
- gists_url: string;
113
- starred_url: string;
114
- subscriptions_url: string;
115
- organizations_url: string;
116
- repos_url: string;
117
- events_url: string;
118
- received_events_url: string;
119
- type: string;
120
- site_admin: boolean;
121
- starred_at?: string;
122
- user_view_type?: string;
123
- } | {
124
- description?: string;
125
- html_url: string;
126
- website_url?: string;
127
- id: number;
128
- node_id: string;
129
- name: string;
130
- slug: string;
131
- created_at: string;
132
- updated_at: string;
133
- avatar_url: string;
134
- };
135
- name: string;
136
- description: string;
137
- external_url: string;
138
- html_url: string;
139
- created_at: string;
140
- updated_at: string;
141
- permissions: {
142
- [key: string]: string;
143
- issues?: string;
144
- checks?: string;
145
- metadata?: string;
146
- contents?: string;
147
- deployments?: string;
148
- };
149
- events: string[];
150
- installations_count?: number;
151
- }[];
152
- url?: string;
153
- users_url?: string;
154
- teams_url?: string;
155
- };
156
- bypass_pull_request_allowances?: {
157
- users?: {
158
- name?: string;
159
- email?: string;
160
- login: string;
161
- id: number;
162
- node_id: string;
163
- avatar_url: string;
164
- gravatar_id: string;
165
- url: string;
166
- html_url: string;
167
- followers_url: string;
168
- following_url: string;
169
- gists_url: string;
170
- starred_url: string;
171
- subscriptions_url: string;
172
- organizations_url: string;
173
- repos_url: string;
174
- events_url: string;
175
- received_events_url: string;
176
- type: string;
177
- site_admin: boolean;
178
- starred_at?: string;
179
- user_view_type?: string;
180
- }[];
181
- teams?: {
182
- id: number;
183
- node_id: string;
184
- name: string;
185
- slug: string;
186
- description: string;
187
- privacy?: string;
188
- notification_setting?: string;
189
- permission: string;
190
- permissions?: {
191
- pull: boolean;
192
- triage: boolean;
193
- push: boolean;
194
- maintain: boolean;
195
- admin: boolean;
196
- };
197
- url: string;
198
- html_url: string;
199
- members_url: string;
200
- repositories_url: string;
201
- type: "enterprise" | "organization";
202
- organization_id?: number;
203
- enterprise_id?: number;
204
- parent: {
205
- id: number;
206
- node_id: string;
207
- url: string;
208
- members_url: string;
209
- name: string;
210
- description: string;
211
- permission: string;
212
- privacy?: string;
213
- notification_setting?: string;
214
- html_url: string;
215
- repositories_url: string;
216
- slug: string;
217
- ldap_dn?: string;
218
- type: "enterprise" | "organization";
219
- organization_id?: number;
220
- enterprise_id?: number;
221
- };
222
- }[];
223
- apps?: {
224
- id: number;
225
- slug?: string;
226
- node_id: string;
227
- client_id?: string;
228
- owner: {
229
- name?: string;
230
- email?: string;
231
- login: string;
232
- id: number;
233
- node_id: string;
234
- avatar_url: string;
235
- gravatar_id: string;
236
- url: string;
237
- html_url: string;
238
- followers_url: string;
239
- following_url: string;
240
- gists_url: string;
241
- starred_url: string;
242
- subscriptions_url: string;
243
- organizations_url: string;
244
- repos_url: string;
245
- events_url: string;
246
- received_events_url: string;
247
- type: string;
248
- site_admin: boolean;
249
- starred_at?: string;
250
- user_view_type?: string;
251
- } | {
252
- description?: string;
253
- html_url: string;
254
- website_url?: string;
255
- id: number;
256
- node_id: string;
257
- name: string;
258
- slug: string;
259
- created_at: string;
260
- updated_at: string;
261
- avatar_url: string;
262
- };
263
- name: string;
264
- description: string;
265
- external_url: string;
266
- html_url: string;
267
- created_at: string;
268
- updated_at: string;
269
- permissions: {
270
- [key: string]: string;
271
- issues?: string;
272
- checks?: string;
273
- metadata?: string;
274
- contents?: string;
275
- deployments?: string;
276
- };
277
- events: string[];
278
- installations_count?: number;
279
- }[];
280
- };
281
- dismiss_stale_reviews: boolean;
282
- require_code_owner_reviews: boolean;
283
- required_approving_review_count?: number;
284
- require_last_push_approval?: boolean;
285
- };
286
- restrictions?: {
287
- url: string;
288
- users_url: string;
289
- teams_url: string;
290
- apps_url: string;
291
- users: {
292
- login?: string;
293
- id?: number;
294
- node_id?: string;
295
- avatar_url?: string;
296
- gravatar_id?: string;
297
- url?: string;
298
- html_url?: string;
299
- followers_url?: string;
300
- following_url?: string;
301
- gists_url?: string;
302
- starred_url?: string;
303
- subscriptions_url?: string;
304
- organizations_url?: string;
305
- repos_url?: string;
306
- events_url?: string;
307
- received_events_url?: string;
308
- type?: string;
309
- site_admin?: boolean;
310
- user_view_type?: string;
311
- }[];
312
- teams: {
313
- id: number;
314
- node_id: string;
315
- name: string;
316
- slug: string;
317
- description: string;
318
- privacy?: string;
319
- notification_setting?: string;
320
- permission: string;
321
- permissions?: {
322
- pull: boolean;
323
- triage: boolean;
324
- push: boolean;
325
- maintain: boolean;
326
- admin: boolean;
327
- };
328
- url: string;
329
- html_url: string;
330
- members_url: string;
331
- repositories_url: string;
332
- type: "enterprise" | "organization";
333
- organization_id?: number;
334
- enterprise_id?: number;
335
- parent: {
336
- id: number;
337
- node_id: string;
338
- url: string;
339
- members_url: string;
340
- name: string;
341
- description: string;
342
- permission: string;
343
- privacy?: string;
344
- notification_setting?: string;
345
- html_url: string;
346
- repositories_url: string;
347
- slug: string;
348
- ldap_dn?: string;
349
- type: "enterprise" | "organization";
350
- organization_id?: number;
351
- enterprise_id?: number;
352
- };
353
- }[];
354
- apps: {
355
- id?: number;
356
- slug?: string;
357
- node_id?: string;
358
- owner?: {
359
- login?: string;
360
- id?: number;
361
- node_id?: string;
362
- url?: string;
363
- repos_url?: string;
364
- events_url?: string;
365
- hooks_url?: string;
366
- issues_url?: string;
367
- members_url?: string;
368
- public_members_url?: string;
369
- avatar_url?: string;
370
- description?: string;
371
- gravatar_id?: string;
372
- html_url?: string;
373
- followers_url?: string;
374
- following_url?: string;
375
- gists_url?: string;
376
- starred_url?: string;
377
- subscriptions_url?: string;
378
- organizations_url?: string;
379
- received_events_url?: string;
380
- type?: string;
381
- site_admin?: boolean;
382
- user_view_type?: string;
383
- };
384
- name?: string;
385
- client_id?: string;
386
- description?: string;
387
- external_url?: string;
388
- html_url?: string;
389
- created_at?: string;
390
- updated_at?: string;
391
- permissions?: {
392
- metadata?: string;
393
- contents?: string;
394
- issues?: string;
395
- single_file?: string;
396
- };
397
- events?: string[];
398
- }[];
399
- };
400
- required_linear_history?: {
401
- enabled?: boolean;
402
- };
403
- allow_force_pushes?: {
404
- enabled?: boolean;
405
- };
406
- allow_deletions?: {
407
- enabled?: boolean;
408
- };
409
- block_creations?: {
410
- enabled?: boolean;
411
- };
412
- required_conversation_resolution?: {
413
- enabled?: boolean;
414
- };
415
- name?: string;
416
- protection_url?: string;
417
- required_signatures?: {
418
- url: string;
419
- enabled: boolean;
420
- };
421
- lock_branch?: {
422
- enabled?: boolean;
423
- };
424
- allow_fork_syncing?: {
425
- enabled?: boolean;
426
- };
427
- };
428
- protection_url?: string;
429
- }[]>;
430
- export declare function getBranch(repo: string, branch: string, owner?: string): Promise<{
431
- name: string;
432
- commit: {
433
- url: string;
434
- sha: string;
435
- node_id: string;
436
- html_url: string;
437
- comments_url: string;
438
- commit: {
439
- url: string;
440
- author: {
441
- name?: string;
442
- email?: string;
443
- date?: string;
444
- };
445
- committer: {
446
- name?: string;
447
- email?: string;
448
- date?: string;
449
- };
450
- message: string;
451
- comment_count: number;
452
- tree: {
453
- sha: string;
454
- url: string;
455
- };
456
- verification?: {
457
- verified: boolean;
458
- reason: string;
459
- payload: string;
460
- signature: string;
461
- verified_at: string;
462
- };
463
- };
464
- author: Record<string, never> | {
465
- name?: string;
466
- email?: string;
467
- login: string;
468
- id: number;
469
- node_id: string;
470
- avatar_url: string;
471
- gravatar_id: string;
472
- url: string;
473
- html_url: string;
474
- followers_url: string;
475
- following_url: string;
476
- gists_url: string;
477
- starred_url: string;
478
- subscriptions_url: string;
479
- organizations_url: string;
480
- repos_url: string;
481
- events_url: string;
482
- received_events_url: string;
483
- type: string;
484
- site_admin: boolean;
485
- starred_at?: string;
486
- user_view_type?: string;
487
- };
488
- committer: Record<string, never> | {
489
- name?: string;
490
- email?: string;
491
- login: string;
492
- id: number;
493
- node_id: string;
494
- avatar_url: string;
495
- gravatar_id: string;
496
- url: string;
497
- html_url: string;
498
- followers_url: string;
499
- following_url: string;
500
- gists_url: string;
501
- starred_url: string;
502
- subscriptions_url: string;
503
- organizations_url: string;
504
- repos_url: string;
505
- events_url: string;
506
- received_events_url: string;
507
- type: string;
508
- site_admin: boolean;
509
- starred_at?: string;
510
- user_view_type?: string;
511
- };
512
- parents: {
513
- sha: string;
514
- url: string;
515
- html_url?: string;
516
- }[];
517
- stats?: {
518
- additions?: number;
519
- deletions?: number;
520
- total?: number;
521
- };
522
- files?: {
523
- sha: string;
524
- filename: string;
525
- status: "removed" | "added" | "modified" | "renamed" | "copied" | "changed" | "unchanged";
526
- additions: number;
527
- deletions: number;
528
- changes: number;
529
- blob_url: string;
530
- raw_url: string;
531
- contents_url: string;
532
- patch?: string;
533
- previous_filename?: string;
534
- }[];
535
- };
536
- _links: {
537
- html: string;
538
- self: string;
539
- };
540
- protected: boolean;
541
- protection: {
542
- url?: string;
543
- enabled?: boolean;
544
- required_status_checks?: {
545
- url?: string;
546
- enforcement_level?: string;
547
- contexts: string[];
548
- checks: {
549
- context: string;
550
- app_id: number;
551
- }[];
552
- contexts_url?: string;
553
- strict?: boolean;
554
- };
555
- enforce_admins?: {
556
- url: string;
557
- enabled: boolean;
558
- };
559
- required_pull_request_reviews?: {
560
- url?: string;
561
- dismissal_restrictions?: {
562
- users?: {
563
- name?: string;
564
- email?: string;
565
- login: string;
566
- id: number;
567
- node_id: string;
568
- avatar_url: string;
569
- gravatar_id: string;
570
- url: string;
571
- html_url: string;
572
- followers_url: string;
573
- following_url: string;
574
- gists_url: string;
575
- starred_url: string;
576
- subscriptions_url: string;
577
- organizations_url: string;
578
- repos_url: string;
579
- events_url: string;
580
- received_events_url: string;
581
- type: string;
582
- site_admin: boolean;
583
- starred_at?: string;
584
- user_view_type?: string;
585
- }[];
586
- teams?: {
587
- id: number;
588
- node_id: string;
589
- name: string;
590
- slug: string;
591
- description: string;
592
- privacy?: string;
593
- notification_setting?: string;
594
- permission: string;
595
- permissions?: {
596
- pull: boolean;
597
- triage: boolean;
598
- push: boolean;
599
- maintain: boolean;
600
- admin: boolean;
601
- };
602
- url: string;
603
- html_url: string;
604
- members_url: string;
605
- repositories_url: string;
606
- type: "enterprise" | "organization";
607
- organization_id?: number;
608
- enterprise_id?: number;
609
- parent: {
610
- id: number;
611
- node_id: string;
612
- url: string;
613
- members_url: string;
614
- name: string;
615
- description: string;
616
- permission: string;
617
- privacy?: string;
618
- notification_setting?: string;
619
- html_url: string;
620
- repositories_url: string;
621
- slug: string;
622
- ldap_dn?: string;
623
- type: "enterprise" | "organization";
624
- organization_id?: number;
625
- enterprise_id?: number;
626
- };
627
- }[];
628
- apps?: {
629
- id: number;
630
- slug?: string;
631
- node_id: string;
632
- client_id?: string;
633
- owner: {
634
- name?: string;
635
- email?: string;
636
- login: string;
637
- id: number;
638
- node_id: string;
639
- avatar_url: string;
640
- gravatar_id: string;
641
- url: string;
642
- html_url: string;
643
- followers_url: string;
644
- following_url: string;
645
- gists_url: string;
646
- starred_url: string;
647
- subscriptions_url: string;
648
- organizations_url: string;
649
- repos_url: string;
650
- events_url: string;
651
- received_events_url: string;
652
- type: string;
653
- site_admin: boolean;
654
- starred_at?: string;
655
- user_view_type?: string;
656
- } | {
657
- description?: string;
658
- html_url: string;
659
- website_url?: string;
660
- id: number;
661
- node_id: string;
662
- name: string;
663
- slug: string;
664
- created_at: string;
665
- updated_at: string;
666
- avatar_url: string;
667
- };
668
- name: string;
669
- description: string;
670
- external_url: string;
671
- html_url: string;
672
- created_at: string;
673
- updated_at: string;
674
- permissions: {
675
- [key: string]: string;
676
- issues?: string;
677
- checks?: string;
678
- metadata?: string;
679
- contents?: string;
680
- deployments?: string;
681
- };
682
- events: string[];
683
- installations_count?: number;
684
- }[];
685
- url?: string;
686
- users_url?: string;
687
- teams_url?: string;
688
- };
689
- bypass_pull_request_allowances?: {
690
- users?: {
691
- name?: string;
692
- email?: string;
693
- login: string;
694
- id: number;
695
- node_id: string;
696
- avatar_url: string;
697
- gravatar_id: string;
698
- url: string;
699
- html_url: string;
700
- followers_url: string;
701
- following_url: string;
702
- gists_url: string;
703
- starred_url: string;
704
- subscriptions_url: string;
705
- organizations_url: string;
706
- repos_url: string;
707
- events_url: string;
708
- received_events_url: string;
709
- type: string;
710
- site_admin: boolean;
711
- starred_at?: string;
712
- user_view_type?: string;
713
- }[];
714
- teams?: {
715
- id: number;
716
- node_id: string;
717
- name: string;
718
- slug: string;
719
- description: string;
720
- privacy?: string;
721
- notification_setting?: string;
722
- permission: string;
723
- permissions?: {
724
- pull: boolean;
725
- triage: boolean;
726
- push: boolean;
727
- maintain: boolean;
728
- admin: boolean;
729
- };
730
- url: string;
731
- html_url: string;
732
- members_url: string;
733
- repositories_url: string;
734
- type: "enterprise" | "organization";
735
- organization_id?: number;
736
- enterprise_id?: number;
737
- parent: {
738
- id: number;
739
- node_id: string;
740
- url: string;
741
- members_url: string;
742
- name: string;
743
- description: string;
744
- permission: string;
745
- privacy?: string;
746
- notification_setting?: string;
747
- html_url: string;
748
- repositories_url: string;
749
- slug: string;
750
- ldap_dn?: string;
751
- type: "enterprise" | "organization";
752
- organization_id?: number;
753
- enterprise_id?: number;
754
- };
755
- }[];
756
- apps?: {
757
- id: number;
758
- slug?: string;
759
- node_id: string;
760
- client_id?: string;
761
- owner: {
762
- name?: string;
763
- email?: string;
764
- login: string;
765
- id: number;
766
- node_id: string;
767
- avatar_url: string;
768
- gravatar_id: string;
769
- url: string;
770
- html_url: string;
771
- followers_url: string;
772
- following_url: string;
773
- gists_url: string;
774
- starred_url: string;
775
- subscriptions_url: string;
776
- organizations_url: string;
777
- repos_url: string;
778
- events_url: string;
779
- received_events_url: string;
780
- type: string;
781
- site_admin: boolean;
782
- starred_at?: string;
783
- user_view_type?: string;
784
- } | {
785
- description?: string;
786
- html_url: string;
787
- website_url?: string;
788
- id: number;
789
- node_id: string;
790
- name: string;
791
- slug: string;
792
- created_at: string;
793
- updated_at: string;
794
- avatar_url: string;
795
- };
796
- name: string;
797
- description: string;
798
- external_url: string;
799
- html_url: string;
800
- created_at: string;
801
- updated_at: string;
802
- permissions: {
803
- [key: string]: string;
804
- issues?: string;
805
- checks?: string;
806
- metadata?: string;
807
- contents?: string;
808
- deployments?: string;
809
- };
810
- events: string[];
811
- installations_count?: number;
812
- }[];
813
- };
814
- dismiss_stale_reviews: boolean;
815
- require_code_owner_reviews: boolean;
816
- required_approving_review_count?: number;
817
- require_last_push_approval?: boolean;
818
- };
819
- restrictions?: {
820
- url: string;
821
- users_url: string;
822
- teams_url: string;
823
- apps_url: string;
824
- users: {
825
- login?: string;
826
- id?: number;
827
- node_id?: string;
828
- avatar_url?: string;
829
- gravatar_id?: string;
830
- url?: string;
831
- html_url?: string;
832
- followers_url?: string;
833
- following_url?: string;
834
- gists_url?: string;
835
- starred_url?: string;
836
- subscriptions_url?: string;
837
- organizations_url?: string;
838
- repos_url?: string;
839
- events_url?: string;
840
- received_events_url?: string;
841
- type?: string;
842
- site_admin?: boolean;
843
- user_view_type?: string;
844
- }[];
845
- teams: {
846
- id: number;
847
- node_id: string;
848
- name: string;
849
- slug: string;
850
- description: string;
851
- privacy?: string;
852
- notification_setting?: string;
853
- permission: string;
854
- permissions?: {
855
- pull: boolean;
856
- triage: boolean;
857
- push: boolean;
858
- maintain: boolean;
859
- admin: boolean;
860
- };
861
- url: string;
862
- html_url: string;
863
- members_url: string;
864
- repositories_url: string;
865
- type: "enterprise" | "organization";
866
- organization_id?: number;
867
- enterprise_id?: number;
868
- parent: {
869
- id: number;
870
- node_id: string;
871
- url: string;
872
- members_url: string;
873
- name: string;
874
- description: string;
875
- permission: string;
876
- privacy?: string;
877
- notification_setting?: string;
878
- html_url: string;
879
- repositories_url: string;
880
- slug: string;
881
- ldap_dn?: string;
882
- type: "enterprise" | "organization";
883
- organization_id?: number;
884
- enterprise_id?: number;
885
- };
886
- }[];
887
- apps: {
888
- id?: number;
889
- slug?: string;
890
- node_id?: string;
891
- owner?: {
892
- login?: string;
893
- id?: number;
894
- node_id?: string;
895
- url?: string;
896
- repos_url?: string;
897
- events_url?: string;
898
- hooks_url?: string;
899
- issues_url?: string;
900
- members_url?: string;
901
- public_members_url?: string;
902
- avatar_url?: string;
903
- description?: string;
904
- gravatar_id?: string;
905
- html_url?: string;
906
- followers_url?: string;
907
- following_url?: string;
908
- gists_url?: string;
909
- starred_url?: string;
910
- subscriptions_url?: string;
911
- organizations_url?: string;
912
- received_events_url?: string;
913
- type?: string;
914
- site_admin?: boolean;
915
- user_view_type?: string;
916
- };
917
- name?: string;
918
- client_id?: string;
919
- description?: string;
920
- external_url?: string;
921
- html_url?: string;
922
- created_at?: string;
923
- updated_at?: string;
924
- permissions?: {
925
- metadata?: string;
926
- contents?: string;
927
- issues?: string;
928
- single_file?: string;
929
- };
930
- events?: string[];
931
- }[];
932
- };
933
- required_linear_history?: {
934
- enabled?: boolean;
935
- };
936
- allow_force_pushes?: {
937
- enabled?: boolean;
938
- };
939
- allow_deletions?: {
940
- enabled?: boolean;
941
- };
942
- block_creations?: {
943
- enabled?: boolean;
944
- };
945
- required_conversation_resolution?: {
946
- enabled?: boolean;
947
- };
948
- name?: string;
949
- protection_url?: string;
950
- required_signatures?: {
951
- url: string;
952
- enabled: boolean;
953
- };
954
- lock_branch?: {
955
- enabled?: boolean;
956
- };
957
- allow_fork_syncing?: {
958
- enabled?: boolean;
959
- };
960
- };
961
- protection_url: string;
962
- pattern?: string;
963
- required_approving_review_count?: number;
964
- }>;
965
- export declare function createBranch(repo: string, branch: string, sha: string, owner?: string): Promise<{
966
- ref: string;
967
- node_id: string;
968
- url: string;
969
- object: {
970
- type: string;
971
- sha: string;
972
- url: string;
973
- };
974
- }>;
975
- export declare function createOrphanBranch(repo: string, branch: string, owner?: string): Promise<{
976
- ref: string;
977
- node_id: string;
978
- url: string;
979
- object: {
980
- type: string;
981
- sha: string;
982
- url: string;
983
- };
984
- }>;
1
+ export declare function listBranches(repo: string, owner?: string, octokit?: any): Promise<any>;
2
+ export declare function getBranch(repo: string, branch: string, owner?: string, octokit?: any): Promise<any>;
3
+ export declare function createBranch(repo: string, branch: string, sha: string, owner?: string, octokit?: any): Promise<any>;
4
+ export declare function createOrphanBranch(repo: string, branch: string, owner?: string, octokit?: any): Promise<any>;
985
5
  declare const _default: {
986
6
  listBranches: typeof listBranches;
987
7
  getBranch: typeof getBranch;