repository-provider 32.0.6 → 32.2.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.
- package/README.md +197 -197
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -359,11 +359,11 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
359
359
|
|
|
360
360
|
### Properties
|
|
361
361
|
|
|
362
|
-
* `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
363
|
-
* `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
362
|
+
* `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
363
|
+
* `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
364
364
|
* `private` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** should the value be shown
|
|
365
365
|
* `depends` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** name of an attribute we depend on
|
|
366
|
-
* `description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
366
|
+
* `description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
367
367
|
* `default` **any?** the default value
|
|
368
368
|
* `set` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** set the value
|
|
369
369
|
* `get` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** get the value can be used to calculate default values
|
|
@@ -404,8 +404,8 @@ Get default values.
|
|
|
404
404
|
|
|
405
405
|
### Parameters
|
|
406
406
|
|
|
407
|
-
* `attributes` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
408
|
-
* `object`
|
|
407
|
+
* `attributes` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
408
|
+
* `object`  
|
|
409
409
|
|
|
410
410
|
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** filled with default values
|
|
411
411
|
|
|
@@ -416,9 +416,9 @@ The name may be a property path like 'a.b.c'.
|
|
|
416
416
|
|
|
417
417
|
### Parameters
|
|
418
418
|
|
|
419
|
-
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
420
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
421
|
-
* `value` **any
|
|
419
|
+
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
420
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
421
|
+
* `value` **any** 
|
|
422
422
|
|
|
423
423
|
## getAttribute
|
|
424
424
|
|
|
@@ -427,8 +427,8 @@ The name may be a property path like 'a.b.c'.
|
|
|
427
427
|
|
|
428
428
|
### Parameters
|
|
429
429
|
|
|
430
|
-
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
431
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
430
|
+
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
431
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
432
432
|
|
|
433
433
|
Returns **any** value associated with the given property name
|
|
434
434
|
|
|
@@ -439,7 +439,7 @@ In other words only produce key value pairs if value is defined.
|
|
|
439
439
|
|
|
440
440
|
### Parameters
|
|
441
441
|
|
|
442
|
-
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
442
|
+
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
443
443
|
* `initial` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `{}`)
|
|
444
444
|
* `attributes` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to operator on (optional, default `object.constructor.attributes`)
|
|
445
445
|
|
|
@@ -456,8 +456,8 @@ mapAttributes({a:1},{a:"a'"}) // {"a'": 1}
|
|
|
456
456
|
|
|
457
457
|
### Parameters
|
|
458
458
|
|
|
459
|
-
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
460
|
-
* `mapping` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
459
|
+
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
460
|
+
* `mapping` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
461
461
|
|
|
462
462
|
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** keys renamed after mapping
|
|
463
463
|
|
|
@@ -468,8 +468,8 @@ Filters out null, undefined and empty strings
|
|
|
468
468
|
|
|
469
469
|
### Parameters
|
|
470
470
|
|
|
471
|
-
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
472
|
-
* `mapping` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
471
|
+
* `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
472
|
+
* `mapping` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
473
473
|
|
|
474
474
|
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** keys renamed after mapping
|
|
475
475
|
|
|
@@ -477,8 +477,8 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
477
477
|
|
|
478
478
|
### Parameters
|
|
479
479
|
|
|
480
|
-
* `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
481
|
-
* `additionalProperties` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
480
|
+
* `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
481
|
+
* `additionalProperties` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
482
482
|
|
|
483
483
|
### update
|
|
484
484
|
|
|
@@ -498,19 +498,19 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
498
498
|
|
|
499
499
|
Complete name in the hierachy.
|
|
500
500
|
|
|
501
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
501
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
502
502
|
|
|
503
503
|
### fullCondensedName
|
|
504
504
|
|
|
505
505
|
Complete name in the hierachy.
|
|
506
506
|
|
|
507
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
507
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
508
508
|
|
|
509
509
|
### identifier
|
|
510
510
|
|
|
511
511
|
Short human readable identifier with provider and branch.
|
|
512
512
|
|
|
513
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
513
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
514
514
|
|
|
515
515
|
### isWritable
|
|
516
516
|
|
|
@@ -524,7 +524,7 @@ Check for equality
|
|
|
524
524
|
|
|
525
525
|
#### Parameters
|
|
526
526
|
|
|
527
|
-
* `other` **[BaseObject](#baseobject)
|
|
527
|
+
* `other` **[BaseObject](#baseobject)** 
|
|
528
528
|
|
|
529
529
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other is present
|
|
530
530
|
|
|
@@ -532,7 +532,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
532
532
|
|
|
533
533
|
The provider we live in.
|
|
534
534
|
|
|
535
|
-
Returns **[BaseProvider](#baseprovider)
|
|
535
|
+
Returns **[BaseProvider](#baseprovider)** 
|
|
536
536
|
|
|
537
537
|
### api
|
|
538
538
|
|
|
@@ -546,7 +546,7 @@ Forwarded to the owner.
|
|
|
546
546
|
|
|
547
547
|
#### Parameters
|
|
548
548
|
|
|
549
|
-
* `args` **...any
|
|
549
|
+
* `args` **...any** 
|
|
550
550
|
|
|
551
551
|
### info
|
|
552
552
|
|
|
@@ -554,7 +554,7 @@ Forwarded to the owner.
|
|
|
554
554
|
|
|
555
555
|
#### Parameters
|
|
556
556
|
|
|
557
|
-
* `args` **...any
|
|
557
|
+
* `args` **...any** 
|
|
558
558
|
|
|
559
559
|
### warn
|
|
560
560
|
|
|
@@ -562,7 +562,7 @@ Forwarded to the owner.
|
|
|
562
562
|
|
|
563
563
|
#### Parameters
|
|
564
564
|
|
|
565
|
-
* `args` **...any
|
|
565
|
+
* `args` **...any** 
|
|
566
566
|
|
|
567
567
|
### error
|
|
568
568
|
|
|
@@ -570,7 +570,7 @@ Forwarded to the owner.
|
|
|
570
570
|
|
|
571
571
|
#### Parameters
|
|
572
572
|
|
|
573
|
-
* `args` **...any
|
|
573
|
+
* `args` **...any** 
|
|
574
574
|
|
|
575
575
|
### repositoryClass
|
|
576
576
|
|
|
@@ -628,25 +628,25 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
628
628
|
|
|
629
629
|
Map attributes between external and internal representation.
|
|
630
630
|
|
|
631
|
-
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
631
|
+
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
632
632
|
|
|
633
633
|
## description
|
|
634
634
|
|
|
635
635
|
The description of the repository content.
|
|
636
636
|
|
|
637
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
637
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
638
638
|
|
|
639
639
|
## id
|
|
640
640
|
|
|
641
641
|
Unique id within the provider.
|
|
642
642
|
|
|
643
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
643
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
644
644
|
|
|
645
645
|
## uuid
|
|
646
646
|
|
|
647
647
|
Unique id.
|
|
648
648
|
|
|
649
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
649
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
650
650
|
|
|
651
651
|
## MessageDestination
|
|
652
652
|
|
|
@@ -654,10 +654,10 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
654
654
|
|
|
655
655
|
### Properties
|
|
656
656
|
|
|
657
|
-
* `info` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
658
|
-
* `warn` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
659
|
-
* `error` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
660
|
-
* `trace` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)
|
|
657
|
+
* `info` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
658
|
+
* `warn` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
659
|
+
* `error` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
660
|
+
* `trace` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
|
|
661
661
|
|
|
662
662
|
## BaseProvider
|
|
663
663
|
|
|
@@ -665,13 +665,13 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
665
665
|
|
|
666
666
|
### Properties
|
|
667
667
|
|
|
668
|
-
* `messageDestination` **[MessageDestination](#messagedestination)
|
|
668
|
+
* `messageDestination` **[MessageDestination](#messagedestination)** 
|
|
669
669
|
|
|
670
670
|
### equals
|
|
671
671
|
|
|
672
672
|
#### Parameters
|
|
673
673
|
|
|
674
|
-
* `other`
|
|
674
|
+
* `other`  
|
|
675
675
|
|
|
676
676
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other provider is the same as the receiver
|
|
677
677
|
|
|
@@ -695,8 +695,8 @@ like .git suffix or #branch names.
|
|
|
695
695
|
|
|
696
696
|
#### Parameters
|
|
697
697
|
|
|
698
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
699
|
-
* `forLookup` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
698
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
699
|
+
* `forLookup` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
700
700
|
|
|
701
701
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** normalized name
|
|
702
702
|
|
|
@@ -707,8 +707,8 @@ like .git suffix or #branch names.
|
|
|
707
707
|
|
|
708
708
|
#### Parameters
|
|
709
709
|
|
|
710
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
711
|
-
* `forLookup` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
710
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
711
|
+
* `forLookup` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
712
712
|
|
|
713
713
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** normalized name
|
|
714
714
|
|
|
@@ -743,7 +743,7 @@ base, group, repository and branch.
|
|
|
743
743
|
|
|
744
744
|
#### Parameters
|
|
745
745
|
|
|
746
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
746
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
747
747
|
* `focus` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** where lies the focus if only one path component is given (optional, default `"repository"`)
|
|
748
748
|
|
|
749
749
|
Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** with separated attributes
|
|
@@ -755,9 +755,9 @@ Create a repository.
|
|
|
755
755
|
#### Parameters
|
|
756
756
|
|
|
757
757
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of group and repository
|
|
758
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
758
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
759
759
|
|
|
760
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)
|
|
760
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)>** 
|
|
761
761
|
|
|
762
762
|
### list
|
|
763
763
|
|
|
@@ -774,7 +774,7 @@ List projects.
|
|
|
774
774
|
|
|
775
775
|
#### Parameters
|
|
776
776
|
|
|
777
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
777
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
778
778
|
|
|
779
779
|
Returns **AsyncIterator<[Project](#project)>** all matching projects of the provider
|
|
780
780
|
|
|
@@ -784,7 +784,7 @@ List milestones.
|
|
|
784
784
|
|
|
785
785
|
#### Parameters
|
|
786
786
|
|
|
787
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
787
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
788
788
|
|
|
789
789
|
Returns **AsyncIterator<[Milestone](#milestone)>** all matching milestones of the provider
|
|
790
790
|
|
|
@@ -794,7 +794,7 @@ List repositories.
|
|
|
794
794
|
|
|
795
795
|
#### Parameters
|
|
796
796
|
|
|
797
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
797
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
798
798
|
|
|
799
799
|
Returns **AsyncIterator<[Repository](#repository)>** all matching repos of the provider
|
|
800
800
|
|
|
@@ -804,7 +804,7 @@ List branches.
|
|
|
804
804
|
|
|
805
805
|
#### Parameters
|
|
806
806
|
|
|
807
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
807
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
808
808
|
|
|
809
809
|
Returns **AsyncIterator<[Branch](#branch)>** all matching branches of the provider
|
|
810
810
|
|
|
@@ -814,7 +814,7 @@ List tags.
|
|
|
814
814
|
|
|
815
815
|
#### Parameters
|
|
816
816
|
|
|
817
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
817
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
818
818
|
|
|
819
819
|
Returns **AsyncIterator<[Tag](#tag)>** all matching tags of the provider
|
|
820
820
|
|
|
@@ -824,7 +824,7 @@ List hooks.
|
|
|
824
824
|
|
|
825
825
|
#### Parameters
|
|
826
826
|
|
|
827
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
827
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
828
828
|
|
|
829
829
|
Returns **AsyncIterator<[Hook](#hook)>** all matching hooks of the provider
|
|
830
830
|
|
|
@@ -834,7 +834,7 @@ List pull requests.
|
|
|
834
834
|
|
|
835
835
|
#### Parameters
|
|
836
836
|
|
|
837
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
837
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
838
838
|
|
|
839
839
|
Returns **AsyncIterator<[PullRequest](#pullrequest)>** all matching pullRequests of the provider
|
|
840
840
|
|
|
@@ -910,7 +910,7 @@ Check if given options are sufficient to create a provider.
|
|
|
910
910
|
|
|
911
911
|
#### Parameters
|
|
912
912
|
|
|
913
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
913
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
914
914
|
|
|
915
915
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if options ar sufficient to construct a provider
|
|
916
916
|
|
|
@@ -944,21 +944,21 @@ To forward info/warn and error messages to
|
|
|
944
944
|
|
|
945
945
|
**Extends Ref**
|
|
946
946
|
|
|
947
|
-
* **See**: [Repository#\_addBranch](Repository
|
|
947
|
+
* **See**: [Repository#\_addBranch](Repository#_addBranch)
|
|
948
948
|
|
|
949
949
|
Abstract branch.
|
|
950
950
|
|
|
951
951
|
### Parameters
|
|
952
952
|
|
|
953
|
-
* `owner` **[RepositoryOwner](#repositoryowner)
|
|
953
|
+
* `owner` **[RepositoryOwner](#repositoryowner)** 
|
|
954
954
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** (optional, default `owner.defaultBranchName`)
|
|
955
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
955
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
956
956
|
|
|
957
957
|
### Properties
|
|
958
958
|
|
|
959
|
-
* `repository` **[Repository](#repository)
|
|
960
|
-
* `provider` **Provider
|
|
961
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
959
|
+
* `repository` **[Repository](#repository)** 
|
|
960
|
+
* `provider` **Provider** 
|
|
961
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
962
962
|
|
|
963
963
|
### url
|
|
964
964
|
|
|
@@ -986,7 +986,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
986
986
|
|
|
987
987
|
Delete the branch from the [Repository](#repository).
|
|
988
988
|
|
|
989
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any
|
|
989
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any>** 
|
|
990
990
|
|
|
991
991
|
### commit
|
|
992
992
|
|
|
@@ -996,9 +996,9 @@ Commit entries.
|
|
|
996
996
|
|
|
997
997
|
* `message` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** commit message
|
|
998
998
|
* `updates` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[ContentEntry](#contententry)>** content to be commited
|
|
999
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
999
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1000
1000
|
|
|
1001
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[CommitResult](#commitresult)
|
|
1001
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[CommitResult](#commitresult)>** 
|
|
1002
1002
|
|
|
1003
1003
|
### commitIntoPullRequest
|
|
1004
1004
|
|
|
@@ -1007,7 +1007,7 @@ Add commits into a pull request.
|
|
|
1007
1007
|
#### Parameters
|
|
1008
1008
|
|
|
1009
1009
|
* `commits` **([Commit](#commit) | AsyncIterator<[Commit](#commit)>)** to be commited
|
|
1010
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1010
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1011
1011
|
|
|
1012
1012
|
* `options.pullRequestBranch` **([Branch](#branch) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** to commit into
|
|
1013
1013
|
* `options.dry` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** do not create a branch and do not commit only create dummy PR
|
|
@@ -1015,7 +1015,7 @@ Add commits into a pull request.
|
|
|
1015
1015
|
* `options.bodyFromCommitMessages` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** generate body from commit messages
|
|
1016
1016
|
* `options.body` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** body of the PR
|
|
1017
1017
|
|
|
1018
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)
|
|
1018
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)>** 
|
|
1019
1019
|
|
|
1020
1020
|
### removeEntries
|
|
1021
1021
|
|
|
@@ -1023,7 +1023,7 @@ Remove entries form the branch.
|
|
|
1023
1023
|
|
|
1024
1024
|
#### Parameters
|
|
1025
1025
|
|
|
1026
|
-
* `entries` **AsyncIterator<[ContentEntry](#contententry)
|
|
1026
|
+
* `entries` **AsyncIterator<[ContentEntry](#contententry)>** 
|
|
1027
1027
|
|
|
1028
1028
|
### createPullRequest
|
|
1029
1029
|
|
|
@@ -1031,10 +1031,10 @@ Create a pull request.
|
|
|
1031
1031
|
|
|
1032
1032
|
#### Parameters
|
|
1033
1033
|
|
|
1034
|
-
* `toBranch` **[Branch](#branch)
|
|
1035
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1034
|
+
* `toBranch` **[Branch](#branch)** 
|
|
1035
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1036
1036
|
|
|
1037
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)
|
|
1037
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)>** 
|
|
1038
1038
|
|
|
1039
1039
|
### createBranch
|
|
1040
1040
|
|
|
@@ -1044,7 +1044,7 @@ Simply calls Repository.createBranch() with the receiver as source branch
|
|
|
1044
1044
|
#### Parameters
|
|
1045
1045
|
|
|
1046
1046
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the new branch
|
|
1047
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1047
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1048
1048
|
|
|
1049
1049
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)>** newly created branch (or already present old one with the same name)
|
|
1050
1050
|
|
|
@@ -1054,21 +1054,21 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
1054
1054
|
|
|
1055
1055
|
### Properties
|
|
1056
1056
|
|
|
1057
|
-
* `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1057
|
+
* `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1058
1058
|
|
|
1059
1059
|
## Commit
|
|
1060
1060
|
|
|
1061
1061
|
### Parameters
|
|
1062
1062
|
|
|
1063
|
-
* `repository`
|
|
1063
|
+
* `repository`  
|
|
1064
1064
|
|
|
1065
1065
|
### Properties
|
|
1066
1066
|
|
|
1067
|
-
* `repository` **[Repository](#repository)
|
|
1068
|
-
* `message` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1069
|
-
* `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1070
|
-
* `author` **User
|
|
1071
|
-
* `committer` **User
|
|
1067
|
+
* `repository` **[Repository](#repository)** 
|
|
1068
|
+
* `message` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1069
|
+
* `sha` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1070
|
+
* `author` **User** 
|
|
1071
|
+
* `committer` **User** 
|
|
1072
1072
|
|
|
1073
1073
|
## Hook
|
|
1074
1074
|
|
|
@@ -1098,7 +1098,7 @@ Lookup a repository in the provider and all of its repository groups.
|
|
|
1098
1098
|
|
|
1099
1099
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the repository
|
|
1100
1100
|
|
|
1101
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)
|
|
1101
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)>** 
|
|
1102
1102
|
|
|
1103
1103
|
### branch
|
|
1104
1104
|
|
|
@@ -1108,7 +1108,7 @@ Lookup a branch.
|
|
|
1108
1108
|
|
|
1109
1109
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the branch
|
|
1110
1110
|
|
|
1111
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)
|
|
1111
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)>** 
|
|
1112
1112
|
|
|
1113
1113
|
### repositoryGroup
|
|
1114
1114
|
|
|
@@ -1118,7 +1118,7 @@ Lookup a repository group.
|
|
|
1118
1118
|
|
|
1119
1119
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the group
|
|
1120
1120
|
|
|
1121
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[RepositoryGroup](#repositorygroup)
|
|
1121
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[RepositoryGroup](#repositorygroup)>** 
|
|
1122
1122
|
|
|
1123
1123
|
### repositoryGroups
|
|
1124
1124
|
|
|
@@ -1126,7 +1126,7 @@ List groups.
|
|
|
1126
1126
|
|
|
1127
1127
|
#### Parameters
|
|
1128
1128
|
|
|
1129
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
1129
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
1130
1130
|
|
|
1131
1131
|
Returns **AsyncIterator<[RepositoryGroup](#repositorygroup)>** all matching repositories groups of the provider
|
|
1132
1132
|
|
|
@@ -1138,9 +1138,9 @@ If there is already a group for the given name it will be returend instead
|
|
|
1138
1138
|
#### Parameters
|
|
1139
1139
|
|
|
1140
1140
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the group
|
|
1141
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1141
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1142
1142
|
|
|
1143
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[RepositoryGroup](#repositorygroup)
|
|
1143
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[RepositoryGroup](#repositorygroup)>** 
|
|
1144
1144
|
|
|
1145
1145
|
### addRepositoryGroup
|
|
1146
1146
|
|
|
@@ -1149,9 +1149,9 @@ Add a new repository group (not provider specific actions are executed).
|
|
|
1149
1149
|
#### Parameters
|
|
1150
1150
|
|
|
1151
1151
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the group
|
|
1152
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1152
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1153
1153
|
|
|
1154
|
-
Returns **[RepositoryGroup](#repositorygroup)
|
|
1154
|
+
Returns **[RepositoryGroup](#repositorygroup)** 
|
|
1155
1155
|
|
|
1156
1156
|
## NamedObject
|
|
1157
1157
|
|
|
@@ -1161,13 +1161,13 @@ Object with a name.
|
|
|
1161
1161
|
|
|
1162
1162
|
### Parameters
|
|
1163
1163
|
|
|
1164
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1165
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1166
|
-
* `additionalProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1164
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1165
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1166
|
+
* `additionalProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1167
1167
|
|
|
1168
1168
|
### Properties
|
|
1169
1169
|
|
|
1170
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1170
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1171
1171
|
|
|
1172
1172
|
### equals
|
|
1173
1173
|
|
|
@@ -1175,7 +1175,7 @@ Check for equality.
|
|
|
1175
1175
|
|
|
1176
1176
|
#### Parameters
|
|
1177
1177
|
|
|
1178
|
-
* `other` **[NamedObject](#namedobject)
|
|
1178
|
+
* `other` **[NamedObject](#namedobject)** 
|
|
1179
1179
|
|
|
1180
1180
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if names are equal and have the same provider
|
|
1181
1181
|
|
|
@@ -1195,7 +1195,7 @@ options
|
|
|
1195
1195
|
|
|
1196
1196
|
The url of home page.
|
|
1197
1197
|
|
|
1198
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1198
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1199
1199
|
|
|
1200
1200
|
## OwnedObject
|
|
1201
1201
|
|
|
@@ -1205,10 +1205,10 @@ Named Object registering itself in the owner.
|
|
|
1205
1205
|
|
|
1206
1206
|
### Parameters
|
|
1207
1207
|
|
|
1208
|
-
* `owner`
|
|
1209
|
-
* `name`
|
|
1210
|
-
* `options`
|
|
1211
|
-
* `additionalProperties`
|
|
1208
|
+
* `owner`  
|
|
1209
|
+
* `name`  
|
|
1210
|
+
* `options`  
|
|
1211
|
+
* `additionalProperties`  
|
|
1212
1212
|
|
|
1213
1213
|
### equals
|
|
1214
1214
|
|
|
@@ -1216,7 +1216,7 @@ Check for equality.
|
|
|
1216
1216
|
|
|
1217
1217
|
#### Parameters
|
|
1218
1218
|
|
|
1219
|
-
* `other` **[OwnedObject](#ownedobject)
|
|
1219
|
+
* `other` **[OwnedObject](#ownedobject)** 
|
|
1220
1220
|
|
|
1221
1221
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if receiver and owner are equal
|
|
1222
1222
|
|
|
@@ -1225,7 +1225,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
1225
1225
|
Method name to be called to register one instance in the owner.
|
|
1226
1226
|
sample: Application => \_addApplication
|
|
1227
1227
|
|
|
1228
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1228
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1229
1229
|
|
|
1230
1230
|
## Project
|
|
1231
1231
|
|
|
@@ -1242,24 +1242,24 @@ Abstract pull request.
|
|
|
1242
1242
|
|
|
1243
1243
|
* `source` **[Branch](#branch)** merge source
|
|
1244
1244
|
* `owner` **[Branch](#branch)** merge target
|
|
1245
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1246
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1245
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1246
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1247
1247
|
|
|
1248
|
-
* `options.title` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1249
|
-
* `options.state` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1250
|
-
* `options.merged` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1251
|
-
* `options.locked` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1248
|
+
* `options.title` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** 
|
|
1249
|
+
* `options.state` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** 
|
|
1250
|
+
* `options.merged` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** 
|
|
1251
|
+
* `options.locked` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** 
|
|
1252
1252
|
|
|
1253
1253
|
### Properties
|
|
1254
1254
|
|
|
1255
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1256
|
-
* `source` **[Branch](#branch)
|
|
1257
|
-
* `destination` **[Branch](#branch)
|
|
1258
|
-
* `title` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1259
|
-
* `state` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1260
|
-
* `merged` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1261
|
-
* `locked` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1262
|
-
* `url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1255
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1256
|
+
* `source` **[Branch](#branch)** 
|
|
1257
|
+
* `destination` **[Branch](#branch)** 
|
|
1258
|
+
* `title` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** 
|
|
1259
|
+
* `state` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** 
|
|
1260
|
+
* `merged` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** 
|
|
1261
|
+
* `locked` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** 
|
|
1262
|
+
* `url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1263
1263
|
|
|
1264
1264
|
### fullName
|
|
1265
1265
|
|
|
@@ -1279,7 +1279,7 @@ Returns **[Repository](#repository)** destination repository
|
|
|
1279
1279
|
|
|
1280
1280
|
### provider
|
|
1281
1281
|
|
|
1282
|
-
Returns **[BaseProvider](#baseprovider)
|
|
1282
|
+
Returns **[BaseProvider](#baseprovider)** 
|
|
1283
1283
|
|
|
1284
1284
|
### equals
|
|
1285
1285
|
|
|
@@ -1287,7 +1287,7 @@ Check for equality
|
|
|
1287
1287
|
|
|
1288
1288
|
#### Parameters
|
|
1289
1289
|
|
|
1290
|
-
* `other` **[PullRequest](#pullrequest)
|
|
1290
|
+
* `other` **[PullRequest](#pullrequest)** 
|
|
1291
1291
|
|
|
1292
1292
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if number and repository are equal
|
|
1293
1293
|
|
|
@@ -1297,7 +1297,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
1297
1297
|
|
|
1298
1298
|
Delete the pull request from the [Repository](#repository).
|
|
1299
1299
|
|
|
1300
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)
|
|
1300
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)** 
|
|
1301
1301
|
|
|
1302
1302
|
### merge
|
|
1303
1303
|
|
|
@@ -1313,13 +1313,13 @@ Decline the pull request.
|
|
|
1313
1313
|
|
|
1314
1314
|
### reviews
|
|
1315
1315
|
|
|
1316
|
-
Returns **AsyncIterator<[Review](#review)
|
|
1316
|
+
Returns **AsyncIterator<[Review](#review)>** 
|
|
1317
1317
|
|
|
1318
1318
|
### identifier
|
|
1319
1319
|
|
|
1320
1320
|
Short human readable identifier with provider and branch.
|
|
1321
1321
|
|
|
1322
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1322
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1323
1323
|
|
|
1324
1324
|
### validStates
|
|
1325
1325
|
|
|
@@ -1346,14 +1346,14 @@ Result will be filtered by source branch, destination branch and states
|
|
|
1346
1346
|
|
|
1347
1347
|
#### Parameters
|
|
1348
1348
|
|
|
1349
|
-
* `repository` **[Repository](#repository)
|
|
1350
|
-
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1349
|
+
* `repository` **[Repository](#repository)** 
|
|
1350
|
+
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1351
1351
|
|
|
1352
|
-
* `filter.source` **[Branch](#branch)
|
|
1353
|
-
* `filter.destination` **[Branch](#branch)
|
|
1354
|
-
* `filter.states` **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1352
|
+
* `filter.source` **[Branch](#branch)?** 
|
|
1353
|
+
* `filter.destination` **[Branch](#branch)?** 
|
|
1354
|
+
* `filter.states` **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?** 
|
|
1355
1355
|
|
|
1356
|
-
Returns **AsyncIterator<[PullRequest](#pullrequest)
|
|
1356
|
+
Returns **AsyncIterator<[PullRequest](#pullrequest)>** 
|
|
1357
1357
|
|
|
1358
1358
|
### open
|
|
1359
1359
|
|
|
@@ -1361,21 +1361,21 @@ Open a pull request
|
|
|
1361
1361
|
|
|
1362
1362
|
#### Parameters
|
|
1363
1363
|
|
|
1364
|
-
* `source` **[Branch](#branch)
|
|
1365
|
-
* `destination` **[Branch](#branch)
|
|
1366
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1364
|
+
* `source` **[Branch](#branch)** 
|
|
1365
|
+
* `destination` **[Branch](#branch)** 
|
|
1366
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1367
1367
|
|
|
1368
1368
|
## title
|
|
1369
1369
|
|
|
1370
1370
|
The one line description of the pull request.
|
|
1371
1371
|
|
|
1372
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1372
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1373
1373
|
|
|
1374
1374
|
## body
|
|
1375
1375
|
|
|
1376
1376
|
The description of the pull request.
|
|
1377
1377
|
|
|
1378
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1378
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1379
1379
|
|
|
1380
1380
|
## state
|
|
1381
1381
|
|
|
@@ -1385,25 +1385,25 @@ state of the pull request.
|
|
|
1385
1385
|
* MERGED
|
|
1386
1386
|
* CLOSED
|
|
1387
1387
|
|
|
1388
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1388
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1389
1389
|
|
|
1390
1390
|
## locked
|
|
1391
1391
|
|
|
1392
1392
|
Locked state of the pull request.
|
|
1393
1393
|
|
|
1394
|
-
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1394
|
+
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
1395
1395
|
|
|
1396
1396
|
## merged
|
|
1397
1397
|
|
|
1398
1398
|
Merged state of the pull request.
|
|
1399
1399
|
|
|
1400
|
-
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1400
|
+
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
1401
1401
|
|
|
1402
1402
|
## draft
|
|
1403
1403
|
|
|
1404
1404
|
Draft state of the pull request.
|
|
1405
1405
|
|
|
1406
|
-
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
|
|
1406
|
+
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
1407
1407
|
|
|
1408
1408
|
## ContentEntry
|
|
1409
1409
|
|
|
@@ -1411,7 +1411,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
1411
1411
|
|
|
1412
1412
|
### Properties
|
|
1413
1413
|
|
|
1414
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1414
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1415
1415
|
|
|
1416
1416
|
## Ref
|
|
1417
1417
|
|
|
@@ -1437,7 +1437,7 @@ List entries of the branch.
|
|
|
1437
1437
|
|
|
1438
1438
|
#### Parameters
|
|
1439
1439
|
|
|
1440
|
-
* `matchingPatterns` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1440
|
+
* `matchingPatterns` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?** 
|
|
1441
1441
|
|
|
1442
1442
|
Returns **AsyncIterator<[ContentEntry](#contententry)>** all matching entries in the branch
|
|
1443
1443
|
|
|
@@ -1453,9 +1453,9 @@ Get exactly one matching entry by name or undefine if no such entry is found.
|
|
|
1453
1453
|
|
|
1454
1454
|
#### Parameters
|
|
1455
1455
|
|
|
1456
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1456
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1457
1457
|
|
|
1458
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)
|
|
1458
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)>** 
|
|
1459
1459
|
|
|
1460
1460
|
### entry
|
|
1461
1461
|
|
|
@@ -1463,9 +1463,9 @@ Get exactly one matching entry by name (throws if entry is not found).
|
|
|
1463
1463
|
|
|
1464
1464
|
#### Parameters
|
|
1465
1465
|
|
|
1466
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1466
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1467
1467
|
|
|
1468
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)
|
|
1468
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)>** 
|
|
1469
1469
|
|
|
1470
1470
|
### repository
|
|
1471
1471
|
|
|
@@ -1474,7 +1474,7 @@ Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
1474
1474
|
Ref owner.
|
|
1475
1475
|
By default we provide the repository owner
|
|
1476
1476
|
|
|
1477
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1477
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1478
1478
|
|
|
1479
1479
|
### fullName
|
|
1480
1480
|
|
|
@@ -1493,7 +1493,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
1493
1493
|
|
|
1494
1494
|
Same as identifier.
|
|
1495
1495
|
|
|
1496
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1496
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1497
1497
|
|
|
1498
1498
|
### issuesURL
|
|
1499
1499
|
|
|
@@ -1535,7 +1535,7 @@ options
|
|
|
1535
1535
|
|
|
1536
1536
|
Can the ref be modified.
|
|
1537
1537
|
|
|
1538
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1538
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1539
1539
|
|
|
1540
1540
|
## RepositoryGroup
|
|
1541
1541
|
|
|
@@ -1545,9 +1545,9 @@ Abstract repository collection.
|
|
|
1545
1545
|
|
|
1546
1546
|
### Parameters
|
|
1547
1547
|
|
|
1548
|
-
* `provider` **[BaseProvider](#baseprovider)
|
|
1548
|
+
* `provider` **[BaseProvider](#baseprovider)** 
|
|
1549
1549
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the group
|
|
1550
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1550
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1551
1551
|
|
|
1552
1552
|
* `options.description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** human readable description
|
|
1553
1553
|
* `options.id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** internal id
|
|
@@ -1556,8 +1556,8 @@ Abstract repository collection.
|
|
|
1556
1556
|
|
|
1557
1557
|
### Properties
|
|
1558
1558
|
|
|
1559
|
-
* `provider` **[BaseProvider](#baseprovider)
|
|
1560
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1559
|
+
* `provider` **[BaseProvider](#baseprovider)** 
|
|
1560
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1561
1561
|
|
|
1562
1562
|
### attributeMapping
|
|
1563
1563
|
|
|
@@ -1567,7 +1567,7 @@ Map attributes between external and internal representation.
|
|
|
1567
1567
|
|
|
1568
1568
|
Type of the repository group either User or Organization.
|
|
1569
1569
|
|
|
1570
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1570
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1571
1571
|
|
|
1572
1572
|
## url
|
|
1573
1573
|
|
|
@@ -1577,13 +1577,13 @@ api url
|
|
|
1577
1577
|
|
|
1578
1578
|
URL of the repository
|
|
1579
1579
|
|
|
1580
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1580
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1581
1581
|
|
|
1582
1582
|
## avatarURL
|
|
1583
1583
|
|
|
1584
1584
|
Avatar.
|
|
1585
1585
|
|
|
1586
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1586
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1587
1587
|
|
|
1588
1588
|
## RepositoryOwner
|
|
1589
1589
|
|
|
@@ -1601,23 +1601,23 @@ Abstract repository
|
|
|
1601
1601
|
|
|
1602
1602
|
### Parameters
|
|
1603
1603
|
|
|
1604
|
-
* `owner` **Owner
|
|
1604
|
+
* `owner` **Owner** 
|
|
1605
1605
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** (#branch) will be removed
|
|
1606
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1606
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1607
1607
|
|
|
1608
1608
|
* `options.description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** human readable description
|
|
1609
1609
|
* `options.id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** internal id
|
|
1610
1610
|
|
|
1611
1611
|
### Properties
|
|
1612
1612
|
|
|
1613
|
-
* `owner` **Owner
|
|
1613
|
+
* `owner` **Owner** 
|
|
1614
1614
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** without (#branch)
|
|
1615
1615
|
* `description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** from options.description
|
|
1616
1616
|
* `id` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** from options.id
|
|
1617
|
-
* `branches` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Branch](#branch)
|
|
1618
|
-
* `tags` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Tag](#tag)
|
|
1619
|
-
* `pullRequests` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [PullRequest](#pullrequest)
|
|
1620
|
-
* `milestones` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Milestone](#milestone)
|
|
1617
|
+
* `branches` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Branch](#branch)>** 
|
|
1618
|
+
* `tags` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Tag](#tag)>** 
|
|
1619
|
+
* `pullRequests` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [PullRequest](#pullrequest)>** 
|
|
1620
|
+
* `milestones` **[Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), [Milestone](#milestone)>** 
|
|
1621
1621
|
|
|
1622
1622
|
### fullName
|
|
1623
1623
|
|
|
@@ -1629,7 +1629,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
1629
1629
|
|
|
1630
1630
|
Name of the repo as used in the URL.
|
|
1631
1631
|
|
|
1632
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1632
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1633
1633
|
|
|
1634
1634
|
### entry
|
|
1635
1635
|
|
|
@@ -1638,9 +1638,9 @@ Lookup entries form the head of the default branch.
|
|
|
1638
1638
|
|
|
1639
1639
|
#### Parameters
|
|
1640
1640
|
|
|
1641
|
-
* `name`
|
|
1641
|
+
* `name`  
|
|
1642
1642
|
|
|
1643
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)
|
|
1643
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)>** 
|
|
1644
1644
|
|
|
1645
1645
|
### entries
|
|
1646
1646
|
|
|
@@ -1648,7 +1648,7 @@ List entries of the default branch.
|
|
|
1648
1648
|
|
|
1649
1649
|
#### Parameters
|
|
1650
1650
|
|
|
1651
|
-
* `matchingPatterns` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1651
|
+
* `matchingPatterns` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
1652
1652
|
|
|
1653
1653
|
Returns **AsyncIterator<[ContentEntry](#contententry)>** all matching entries in the branch
|
|
1654
1654
|
|
|
@@ -1658,9 +1658,9 @@ Get exactly one matching entry by name or undefined if no such entry is found.
|
|
|
1658
1658
|
|
|
1659
1659
|
#### Parameters
|
|
1660
1660
|
|
|
1661
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1661
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1662
1662
|
|
|
1663
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)
|
|
1663
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[ContentEntry](#contententry)>** 
|
|
1664
1664
|
|
|
1665
1665
|
### commits
|
|
1666
1666
|
|
|
@@ -1668,7 +1668,7 @@ List commits of the default branch.
|
|
|
1668
1668
|
|
|
1669
1669
|
#### Parameters
|
|
1670
1670
|
|
|
1671
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1671
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1672
1672
|
|
|
1673
1673
|
Returns **AsyncIterator<[Commit](#commit)>** all matching commits in the repository
|
|
1674
1674
|
|
|
@@ -1676,19 +1676,19 @@ Returns **AsyncIterator<[Commit](#commit)>** all matching commits in the reposit
|
|
|
1676
1676
|
|
|
1677
1677
|
The url used for cloning the repo.
|
|
1678
1678
|
|
|
1679
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1679
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1680
1680
|
|
|
1681
1681
|
### issuesURL
|
|
1682
1682
|
|
|
1683
1683
|
The url of issue tracking system.
|
|
1684
1684
|
|
|
1685
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1685
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1686
1686
|
|
|
1687
1687
|
### homePageURL
|
|
1688
1688
|
|
|
1689
1689
|
The url of home page.
|
|
1690
1690
|
|
|
1691
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1691
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1692
1692
|
|
|
1693
1693
|
### isArchived
|
|
1694
1694
|
|
|
@@ -1719,7 +1719,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
1719
1719
|
Delete the repository from the [Provider](Provider).
|
|
1720
1720
|
[Provider#deleteRepository](Provider#deleteRepository)
|
|
1721
1721
|
|
|
1722
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any
|
|
1722
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any>** 
|
|
1723
1723
|
|
|
1724
1724
|
### defaultBranch
|
|
1725
1725
|
|
|
@@ -1733,9 +1733,9 @@ Lookup branch by name.
|
|
|
1733
1733
|
|
|
1734
1734
|
#### Parameters
|
|
1735
1735
|
|
|
1736
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1736
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1737
1737
|
|
|
1738
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)
|
|
1738
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)>** 
|
|
1739
1739
|
|
|
1740
1740
|
### hasBranches
|
|
1741
1741
|
|
|
@@ -1745,7 +1745,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
|
|
|
1745
1745
|
|
|
1746
1746
|
#### Parameters
|
|
1747
1747
|
|
|
1748
|
-
* `patterns`
|
|
1748
|
+
* `patterns`  
|
|
1749
1749
|
|
|
1750
1750
|
Returns **AsyncIterator<[Branch](#branch)>** of all branches
|
|
1751
1751
|
|
|
@@ -1757,7 +1757,7 @@ Create a new [Branch](#branch) by cloning a given source branch.
|
|
|
1757
1757
|
|
|
1758
1758
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the new branch
|
|
1759
1759
|
* `source` **[Branch](#branch)** branch defaults to the defaultBranch
|
|
1760
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1760
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1761
1761
|
|
|
1762
1762
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Branch](#branch)>** newly created branch (or already present old one with the same name)
|
|
1763
1763
|
|
|
@@ -1769,7 +1769,7 @@ Internal branch creation does not call repository.initialize()
|
|
|
1769
1769
|
#### Parameters
|
|
1770
1770
|
|
|
1771
1771
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the new branch
|
|
1772
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1772
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1773
1773
|
|
|
1774
1774
|
Returns **[Branch](#branch)** newly created branch
|
|
1775
1775
|
|
|
@@ -1781,7 +1781,7 @@ Delete a [Branch](#branch).
|
|
|
1781
1781
|
|
|
1782
1782
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the branch
|
|
1783
1783
|
|
|
1784
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any
|
|
1784
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any>** 
|
|
1785
1785
|
|
|
1786
1786
|
### tag
|
|
1787
1787
|
|
|
@@ -1789,15 +1789,15 @@ Get a Tag.
|
|
|
1789
1789
|
|
|
1790
1790
|
#### Parameters
|
|
1791
1791
|
|
|
1792
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1792
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1793
1793
|
|
|
1794
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Tag](#tag)
|
|
1794
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Tag](#tag)>** 
|
|
1795
1795
|
|
|
1796
1796
|
### tags
|
|
1797
1797
|
|
|
1798
1798
|
#### Parameters
|
|
1799
1799
|
|
|
1800
|
-
* `patterns` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)
|
|
1800
|
+
* `patterns` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)** 
|
|
1801
1801
|
|
|
1802
1802
|
Returns **AsyncIterator<[Tag](#tag)>** of all tags
|
|
1803
1803
|
|
|
@@ -1809,7 +1809,7 @@ Internal tag creation does not call repository.initialize()
|
|
|
1809
1809
|
#### Parameters
|
|
1810
1810
|
|
|
1811
1811
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the new tag
|
|
1812
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1812
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1813
1813
|
|
|
1814
1814
|
Returns **[Tag](#tag)** newly created tag
|
|
1815
1815
|
|
|
@@ -1821,9 +1821,9 @@ Create a pull request (or deliver an already present for the given name).
|
|
|
1821
1821
|
|
|
1822
1822
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the pr
|
|
1823
1823
|
* `source` **[Branch](#branch)** branch
|
|
1824
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1824
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1825
1825
|
|
|
1826
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)
|
|
1826
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)>** 
|
|
1827
1827
|
|
|
1828
1828
|
### addPullRequest
|
|
1829
1829
|
|
|
@@ -1831,11 +1831,11 @@ Add a pull request.
|
|
|
1831
1831
|
|
|
1832
1832
|
#### Parameters
|
|
1833
1833
|
|
|
1834
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1835
|
-
* `source` **[Branch](#branch)
|
|
1836
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1834
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1835
|
+
* `source` **[Branch](#branch)** 
|
|
1836
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1837
1837
|
|
|
1838
|
-
Returns **[PullRequest](#pullrequest)
|
|
1838
|
+
Returns **[PullRequest](#pullrequest)** 
|
|
1839
1839
|
|
|
1840
1840
|
### pullRequests
|
|
1841
1841
|
|
|
@@ -1849,9 +1849,9 @@ The @{link PullRequest} for a given name.
|
|
|
1849
1849
|
|
|
1850
1850
|
#### Parameters
|
|
1851
1851
|
|
|
1852
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1852
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1853
1853
|
|
|
1854
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)
|
|
1854
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[PullRequest](#pullrequest)>** 
|
|
1855
1855
|
|
|
1856
1856
|
### deletePullRequest
|
|
1857
1857
|
|
|
@@ -1859,9 +1859,9 @@ Delete a [PullRequest](#pullrequest).
|
|
|
1859
1859
|
|
|
1860
1860
|
#### Parameters
|
|
1861
1861
|
|
|
1862
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1862
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1863
1863
|
|
|
1864
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any
|
|
1864
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<any>** 
|
|
1865
1865
|
|
|
1866
1866
|
### addHook
|
|
1867
1867
|
|
|
@@ -1870,7 +1870,7 @@ Add a new [Hook](#hook).
|
|
|
1870
1870
|
#### Parameters
|
|
1871
1871
|
|
|
1872
1872
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the new hoook name
|
|
1873
|
-
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
1873
|
+
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
1874
1874
|
|
|
1875
1875
|
Returns **[Hook](#hook)** newly created hook
|
|
1876
1876
|
|
|
@@ -1880,7 +1880,7 @@ Add a new Hook.
|
|
|
1880
1880
|
|
|
1881
1881
|
#### Parameters
|
|
1882
1882
|
|
|
1883
|
-
* `hook` **[Hook](#hook)
|
|
1883
|
+
* `hook` **[Hook](#hook)** 
|
|
1884
1884
|
|
|
1885
1885
|
### hooks
|
|
1886
1886
|
|
|
@@ -1894,7 +1894,7 @@ Get a Hook.
|
|
|
1894
1894
|
|
|
1895
1895
|
#### Parameters
|
|
1896
1896
|
|
|
1897
|
-
* `id` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number))
|
|
1897
|
+
* `id` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number))** 
|
|
1898
1898
|
|
|
1899
1899
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Hook](#hook)>** for the given id
|
|
1900
1900
|
|
|
@@ -1910,7 +1910,7 @@ Get sha of a ref.
|
|
|
1910
1910
|
|
|
1911
1911
|
#### Parameters
|
|
1912
1912
|
|
|
1913
|
-
* `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1913
|
+
* `ref` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1914
1914
|
|
|
1915
1915
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** sha of the ref
|
|
1916
1916
|
|
|
@@ -1922,13 +1922,13 @@ options
|
|
|
1922
1922
|
|
|
1923
1923
|
The name of the default branch
|
|
1924
1924
|
|
|
1925
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1925
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1926
1926
|
|
|
1927
1927
|
## issuesURL
|
|
1928
1928
|
|
|
1929
1929
|
The url of issue tracking system.
|
|
1930
1930
|
|
|
1931
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1931
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1932
1932
|
|
|
1933
1933
|
## Review
|
|
1934
1934
|
|
|
@@ -1948,7 +1948,7 @@ Lookup a repository in the provider and all of its repository groups.
|
|
|
1948
1948
|
|
|
1949
1949
|
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** of the repository
|
|
1950
1950
|
|
|
1951
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)
|
|
1951
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Repository](#repository)>** 
|
|
1952
1952
|
|
|
1953
1953
|
### repositoryGroup
|
|
1954
1954
|
|
|
@@ -1956,7 +1956,7 @@ Get a single group.
|
|
|
1956
1956
|
|
|
1957
1957
|
#### Parameters
|
|
1958
1958
|
|
|
1959
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
1959
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1960
1960
|
|
|
1961
1961
|
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[RepositoryGroup](#repositorygroup)>** deliver the one and only present group
|
|
1962
1962
|
|
|
@@ -1966,7 +1966,7 @@ List groups.
|
|
|
1966
1966
|
|
|
1967
1967
|
#### Parameters
|
|
1968
1968
|
|
|
1969
|
-
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))
|
|
1969
|
+
* `patterns` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** 
|
|
1970
1970
|
|
|
1971
1971
|
Returns **AsyncIterator<[RepositoryGroup](#repositorygroup)>** always deliver the one and only present group
|
|
1972
1972
|
|
|
@@ -1987,7 +1987,7 @@ The value undefined will be represented as an empty array.
|
|
|
1987
1987
|
|
|
1988
1988
|
### Parameters
|
|
1989
1989
|
|
|
1990
|
-
* `value` **(any | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array))
|
|
1990
|
+
* `value` **(any | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array))** 
|
|
1991
1991
|
|
|
1992
1992
|
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)** value encapsulated in an array
|
|
1993
1993
|
|
|
@@ -1998,7 +1998,7 @@ A URL auth component will be removed to.
|
|
|
1998
1998
|
|
|
1999
1999
|
### Parameters
|
|
2000
2000
|
|
|
2001
|
-
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
2001
|
+
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
2002
2002
|
* `repositoryBases` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** all possible bases
|
|
2003
2003
|
* `whenFound` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** to be called with the found base name
|
|
2004
2004
|
|
|
@@ -2010,7 +2010,7 @@ Loops over names and executes stripBaseName.
|
|
|
2010
2010
|
|
|
2011
2011
|
### Parameters
|
|
2012
2012
|
|
|
2013
|
-
* `names` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)
|
|
2013
|
+
* `names` **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>)** 
|
|
2014
2014
|
* `repositoryBases` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** all possible bases
|
|
2015
2015
|
* `whenFound` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** to be called with the found base name
|
|
2016
2016
|
|
|
@@ -2024,10 +2024,10 @@ Find a new branch name for a given pattern.
|
|
|
2024
2024
|
|
|
2025
2025
|
### Parameters
|
|
2026
2026
|
|
|
2027
|
-
* `repository` **[Repository](#repository)
|
|
2028
|
-
* `pattern` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
2027
|
+
* `repository` **[Repository](#repository)** 
|
|
2028
|
+
* `pattern` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
2029
2029
|
|
|
2030
|
-
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
2030
|
+
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
2031
2031
|
|
|
2032
2032
|
# install
|
|
2033
2033
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "32.0
|
|
3
|
+
"version": "32.2.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"lint:tsc": "tsc --allowJs --checkJs --noEmit -t esnext -m esnext ./src/*.mjs"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"matching-iterator": "^2.0.
|
|
33
|
+
"matching-iterator": "^2.0.8"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"ava": "^
|
|
36
|
+
"ava": "^5.0.0",
|
|
37
37
|
"c8": "^7.12.0",
|
|
38
|
-
"documentation": "^
|
|
38
|
+
"documentation": "^14.0.0",
|
|
39
39
|
"repository-provider-test-support": "^2.2.13",
|
|
40
|
-
"semantic-release": "^19.0.
|
|
41
|
-
"typescript": "^4.
|
|
40
|
+
"semantic-release": "^19.0.5",
|
|
41
|
+
"typescript": "^4.8.3"
|
|
42
42
|
},
|
|
43
43
|
"engines": {
|
|
44
|
-
"node": ">=16.
|
|
44
|
+
"node": ">=16.17.0"
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|