repository-provider 26.3.1 → 26.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "26.3.1",
3
+ "version": "26.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -116,4 +116,52 @@ export class BaseObject {
116
116
  error(...args) {
117
117
  return this.owner.error(...args);
118
118
  }
119
+
120
+ /**
121
+ * By default we use the owners implementation.
122
+ * @return {Class} as defined in the owner
123
+ */
124
+ get repositoryClass() {
125
+ return this.owner.repositoryClass;
126
+ }
127
+
128
+ /**
129
+ * By default we use the owners implementation.
130
+ * @return {Class} as defined in the owner
131
+ */
132
+ get pullRequestClass() {
133
+ return this.owner.pullRequestClass;
134
+ }
135
+
136
+ /**
137
+ * By default we use the owners implementation.
138
+ * @return {Class} as defined in the owner
139
+ */
140
+ get branchClass() {
141
+ return this.owner.branchClass;
142
+ }
143
+
144
+ /**
145
+ * By default we use the owners implementation.
146
+ * @return {Class} as defined in the owner
147
+ */
148
+ get tagClass() {
149
+ return this.owner.tagClass;
150
+ }
151
+
152
+ /**
153
+ * By default we use the owners implementation.
154
+ * @return {Class} as defined in the owner
155
+ */
156
+ get entryClass() {
157
+ return this.owner.entryClass;
158
+ }
159
+
160
+ /**
161
+ * By default we use the owners implementation.
162
+ * @return {Class} as defined in the owner
163
+ */
164
+ get hookClass() {
165
+ return this.owner.hookClass;
166
+ }
119
167
  }
package/src/branch.mjs CHANGED
@@ -183,14 +183,6 @@ export class Branch extends Ref {
183
183
  return this.repository.deletePullRequest(name);
184
184
  }
185
185
 
186
- /**
187
- * By default we use the repository implementation.
188
- * @return {Class} as defined in the repository
189
- */
190
- get pullRequestClass() {
191
- return this.repository.pullRequestClass;
192
- }
193
-
194
186
  /**
195
187
  * Create a new {@link Branch} by cloning a given source branch.
196
188
  * Simply calls Repository.createBranch() with the receiver as source branch
@@ -65,52 +65,4 @@ export class RepositoryGroup extends RepositoryOwner(NamedObject) {
65
65
  get areRepositoryGroupNamesCaseSensitive() {
66
66
  return this.provider.areRepositoryGroupNamesCaseSensitive;
67
67
  }
68
-
69
- /**
70
- * By default we use the providers implementation.
71
- * @return {Class} as defined in the provider
72
- */
73
- get repositoryClass() {
74
- return this.provider.repositoryClass;
75
- }
76
-
77
- /**
78
- * By default we use the providers implementation.
79
- * @return {Class} as defined in the provider
80
- */
81
- get branchClass() {
82
- return this.provider.branchClass;
83
- }
84
-
85
- /**
86
- * By default we use the providers implementation.
87
- * @return {Class} as defined in the provider
88
- */
89
- get tagClass() {
90
- return this.provider.tagClass;
91
- }
92
-
93
- /**
94
- * By default we use the providers implementation.
95
- * @return {Class} as defined in the provider
96
- */
97
- get contentClass() {
98
- return this.provider.contentClass;
99
- }
100
-
101
- /**
102
- * By default we use the providers implementation.
103
- * @return {Class} as defined in the provider
104
- */
105
- get pullRequestClass() {
106
- return this.provider.pullRequestClass;
107
- }
108
-
109
- /**
110
- * By default we use the providers implementation.
111
- * @return {Class} as defined in the provider
112
- */
113
- get hookClass() {
114
- return this.provider.hookClass;
115
- }
116
68
  }
@@ -490,54 +490,6 @@ export class Repository extends NamedObject {
490
490
  return undefined;
491
491
  }
492
492
 
493
- /**
494
- * By default we use the owners implementation.
495
- * @return {Class} as defined in the owner
496
- */
497
- get repositoryClass() {
498
- return this.owner.repositoryClass;
499
- }
500
-
501
- /**
502
- * By default we use the owners implementation.
503
- * @return {Class} as defined in the owner
504
- */
505
- get pullRequestClass() {
506
- return this.owner.pullRequestClass;
507
- }
508
-
509
- /**
510
- * By default we use the owners implementation.
511
- * @return {Class} as defined in the owner
512
- */
513
- get branchClass() {
514
- return this.owner.branchClass;
515
- }
516
-
517
- /**
518
- * By default we use the owners implementation.
519
- * @return {Class} as defined in the owner
520
- */
521
- get tagClass() {
522
- return this.owner.tagClass;
523
- }
524
-
525
- /**
526
- * By default we use the owners implementation.
527
- * @return {Class} as defined in the owner
528
- */
529
- get entryClass() {
530
- return this.owner.entryClass;
531
- }
532
-
533
- /**
534
- * By default we use the owners implementation.
535
- * @return {Class} as defined in the owner
536
- */
537
- get hookClass() {
538
- return this.owner.hookClass;
539
- }
540
-
541
493
  toString() {
542
494
  return this.fullName;
543
495
  }