repository-provider 32.3.6 → 32.3.8
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 +185 -175
- package/package.json +1 -1
- package/src/base-provider.mjs +4 -0
- package/src/owned-object.mjs +8 -0
- package/src/pull-request.mjs +0 -8
package/README.md
CHANGED
|
@@ -71,25 +71,9 @@ console.log(await readme.getString());
|
|
|
71
71
|
* [displayName](#displayname)
|
|
72
72
|
* [fullName](#fullname)
|
|
73
73
|
* [fullCondensedName](#fullcondensedname)
|
|
74
|
-
* [identifier](#identifier)
|
|
75
74
|
* [isWritable](#iswritable)
|
|
76
75
|
* [equals](#equals)
|
|
77
76
|
* [Parameters](#parameters-9)
|
|
78
|
-
* [provider](#provider)
|
|
79
|
-
* [trace](#trace)
|
|
80
|
-
* [Parameters](#parameters-10)
|
|
81
|
-
* [info](#info)
|
|
82
|
-
* [Parameters](#parameters-11)
|
|
83
|
-
* [warn](#warn)
|
|
84
|
-
* [Parameters](#parameters-12)
|
|
85
|
-
* [error](#error)
|
|
86
|
-
* [Parameters](#parameters-13)
|
|
87
|
-
* [repositoryClass](#repositoryclass)
|
|
88
|
-
* [pullRequestClass](#pullrequestclass)
|
|
89
|
-
* [branchClass](#branchclass)
|
|
90
|
-
* [tagClass](#tagclass)
|
|
91
|
-
* [entryClass](#entryclass)
|
|
92
|
-
* [hookClass](#hookclass)
|
|
93
77
|
* [type](#type)
|
|
94
78
|
* [collectionName](#collectionname)
|
|
95
79
|
* [attributes](#attributes)
|
|
@@ -103,59 +87,59 @@ console.log(await readme.getString());
|
|
|
103
87
|
* [BaseProvider](#baseprovider)
|
|
104
88
|
* [Properties](#properties-2)
|
|
105
89
|
* [equals](#equals-1)
|
|
106
|
-
* [Parameters](#parameters-
|
|
90
|
+
* [Parameters](#parameters-10)
|
|
107
91
|
* [repositoryBases](#repositorybases)
|
|
108
92
|
* [normalizeRepositoryName](#normalizerepositoryname)
|
|
109
|
-
* [Parameters](#parameters-
|
|
93
|
+
* [Parameters](#parameters-11)
|
|
110
94
|
* [normalizeGroupName](#normalizegroupname)
|
|
111
|
-
* [Parameters](#parameters-
|
|
95
|
+
* [Parameters](#parameters-12)
|
|
112
96
|
* [areRepositoryNamesCaseSensitive](#arerepositorynamescasesensitive)
|
|
113
97
|
* [areGroupNamesCaseSensitive](#aregroupnamescasesensitive)
|
|
114
98
|
* [supportsBase](#supportsbase)
|
|
115
|
-
* [Parameters](#parameters-
|
|
99
|
+
* [Parameters](#parameters-13)
|
|
116
100
|
* [parseName](#parsename)
|
|
117
|
-
* [Parameters](#parameters-
|
|
101
|
+
* [Parameters](#parameters-14)
|
|
118
102
|
* [createRepository](#createrepository)
|
|
119
|
-
* [Parameters](#parameters-
|
|
103
|
+
* [Parameters](#parameters-15)
|
|
120
104
|
* [list](#list)
|
|
121
|
-
* [Parameters](#parameters-
|
|
105
|
+
* [Parameters](#parameters-16)
|
|
122
106
|
* [projects](#projects)
|
|
123
|
-
* [Parameters](#parameters-
|
|
107
|
+
* [Parameters](#parameters-17)
|
|
124
108
|
* [milestones](#milestones)
|
|
125
|
-
* [Parameters](#parameters-
|
|
109
|
+
* [Parameters](#parameters-18)
|
|
126
110
|
* [repositories](#repositories)
|
|
127
|
-
* [Parameters](#parameters-
|
|
111
|
+
* [Parameters](#parameters-19)
|
|
128
112
|
* [branches](#branches)
|
|
129
|
-
* [Parameters](#parameters-
|
|
113
|
+
* [Parameters](#parameters-20)
|
|
130
114
|
* [tags](#tags)
|
|
131
|
-
* [Parameters](#parameters-
|
|
115
|
+
* [Parameters](#parameters-21)
|
|
132
116
|
* [hooks](#hooks)
|
|
133
|
-
* [Parameters](#parameters-
|
|
117
|
+
* [Parameters](#parameters-22)
|
|
134
118
|
* [pullRequests](#pullrequests)
|
|
135
|
-
* [Parameters](#parameters-
|
|
119
|
+
* [Parameters](#parameters-23)
|
|
136
120
|
* [name](#name)
|
|
137
|
-
* [provider](#provider
|
|
121
|
+
* [provider](#provider)
|
|
138
122
|
* [url](#url)
|
|
139
123
|
* [toJSON](#tojson)
|
|
140
124
|
* [repositoryGroupClass](#repositorygroupclass)
|
|
141
|
-
* [hookClass](#hookclass
|
|
142
|
-
* [repositoryClass](#repositoryclass
|
|
143
|
-
* [branchClass](#branchclass
|
|
144
|
-
* [tagClass](#tagclass
|
|
145
|
-
* [entryClass](#entryclass
|
|
146
|
-
* [pullRequestClass](#pullrequestclass
|
|
125
|
+
* [hookClass](#hookclass)
|
|
126
|
+
* [repositoryClass](#repositoryclass)
|
|
127
|
+
* [branchClass](#branchclass)
|
|
128
|
+
* [tagClass](#tagclass)
|
|
129
|
+
* [entryClass](#entryclass)
|
|
130
|
+
* [pullRequestClass](#pullrequestclass)
|
|
147
131
|
* [instanceIdentifier](#instanceidentifier)
|
|
148
132
|
* [optionsFromEnvironment](#optionsfromenvironment)
|
|
149
|
-
* [Parameters](#parameters-
|
|
133
|
+
* [Parameters](#parameters-24)
|
|
150
134
|
* [areOptionsSufficcient](#areoptionssufficcient)
|
|
151
|
-
* [Parameters](#parameters-
|
|
135
|
+
* [Parameters](#parameters-25)
|
|
152
136
|
* [initialize](#initialize)
|
|
153
|
-
* [Parameters](#parameters-
|
|
137
|
+
* [Parameters](#parameters-26)
|
|
154
138
|
* [priority](#priority)
|
|
155
139
|
* [name](#name-1)
|
|
156
140
|
* [messageDestination](#messagedestination-1)
|
|
157
141
|
* [Branch](#branch)
|
|
158
|
-
* [Parameters](#parameters-
|
|
142
|
+
* [Parameters](#parameters-27)
|
|
159
143
|
* [Properties](#properties-3)
|
|
160
144
|
* [url](#url-1)
|
|
161
145
|
* [refType](#reftype)
|
|
@@ -163,64 +147,82 @@ console.log(await readme.getString());
|
|
|
163
147
|
* [isDefault](#isdefault)
|
|
164
148
|
* [delete](#delete)
|
|
165
149
|
* [commit](#commit)
|
|
166
|
-
* [Parameters](#parameters-
|
|
150
|
+
* [Parameters](#parameters-28)
|
|
167
151
|
* [commitIntoPullRequest](#commitintopullrequest)
|
|
168
|
-
* [Parameters](#parameters-
|
|
152
|
+
* [Parameters](#parameters-29)
|
|
169
153
|
* [removeEntries](#removeentries)
|
|
170
|
-
* [Parameters](#parameters-
|
|
154
|
+
* [Parameters](#parameters-30)
|
|
171
155
|
* [createPullRequest](#createpullrequest)
|
|
172
|
-
* [Parameters](#parameters-
|
|
156
|
+
* [Parameters](#parameters-31)
|
|
173
157
|
* [createBranch](#createbranch)
|
|
174
|
-
* [Parameters](#parameters-
|
|
158
|
+
* [Parameters](#parameters-32)
|
|
175
159
|
* [CommitResult](#commitresult)
|
|
176
160
|
* [Properties](#properties-4)
|
|
177
161
|
* [Commit](#commit-1)
|
|
178
|
-
* [Parameters](#parameters-
|
|
162
|
+
* [Parameters](#parameters-33)
|
|
179
163
|
* [Properties](#properties-5)
|
|
180
164
|
* [Hook](#hook)
|
|
181
165
|
* [Issue](#issue)
|
|
182
166
|
* [Milestone](#milestone)
|
|
183
167
|
* [MultiGroupProvider](#multigroupprovider)
|
|
184
168
|
* [repository](#repository)
|
|
185
|
-
* [Parameters](#parameters-
|
|
169
|
+
* [Parameters](#parameters-34)
|
|
186
170
|
* [branch](#branch-1)
|
|
187
|
-
* [Parameters](#parameters-
|
|
171
|
+
* [Parameters](#parameters-35)
|
|
188
172
|
* [repositoryGroup](#repositorygroup)
|
|
189
|
-
* [Parameters](#parameters-
|
|
173
|
+
* [Parameters](#parameters-36)
|
|
190
174
|
* [repositoryGroups](#repositorygroups)
|
|
191
|
-
* [Parameters](#parameters-
|
|
175
|
+
* [Parameters](#parameters-37)
|
|
192
176
|
* [createRepositoryGroup](#createrepositorygroup)
|
|
193
|
-
* [Parameters](#parameters-
|
|
177
|
+
* [Parameters](#parameters-38)
|
|
194
178
|
* [addRepositoryGroup](#addrepositorygroup)
|
|
195
|
-
* [Parameters](#parameters-
|
|
179
|
+
* [Parameters](#parameters-39)
|
|
196
180
|
* [NamedObject](#namedobject)
|
|
197
|
-
* [Parameters](#parameters-
|
|
181
|
+
* [Parameters](#parameters-40)
|
|
198
182
|
* [Properties](#properties-6)
|
|
199
183
|
* [equals](#equals-2)
|
|
200
|
-
* [Parameters](#parameters-
|
|
184
|
+
* [Parameters](#parameters-41)
|
|
201
185
|
* [fullName](#fullname-1)
|
|
202
186
|
* [toJSON](#tojson-1)
|
|
203
187
|
* [attributes](#attributes-1)
|
|
204
188
|
* [homePageURL](#homepageurl)
|
|
205
189
|
* [OwnedObject](#ownedobject)
|
|
206
|
-
* [Parameters](#parameters-
|
|
190
|
+
* [Parameters](#parameters-42)
|
|
207
191
|
* [equals](#equals-3)
|
|
208
|
-
* [Parameters](#parameters-
|
|
192
|
+
* [Parameters](#parameters-43)
|
|
209
193
|
* [api](#api)
|
|
194
|
+
* [provider](#provider-1)
|
|
195
|
+
* [identifier](#identifier)
|
|
196
|
+
* [trace](#trace)
|
|
197
|
+
* [Parameters](#parameters-44)
|
|
198
|
+
* [info](#info)
|
|
199
|
+
* [Parameters](#parameters-45)
|
|
200
|
+
* [warn](#warn)
|
|
201
|
+
* [Parameters](#parameters-46)
|
|
202
|
+
* [error](#error)
|
|
203
|
+
* [Parameters](#parameters-47)
|
|
204
|
+
* [debug](#debug)
|
|
205
|
+
* [Parameters](#parameters-48)
|
|
206
|
+
* [repositoryClass](#repositoryclass-1)
|
|
207
|
+
* [pullRequestClass](#pullrequestclass-1)
|
|
208
|
+
* [branchClass](#branchclass-1)
|
|
209
|
+
* [tagClass](#tagclass-1)
|
|
210
|
+
* [entryClass](#entryclass-1)
|
|
211
|
+
* [hookClass](#hookclass-1)
|
|
210
212
|
* [addMethodName](#addmethodname)
|
|
211
213
|
* [Project](#project)
|
|
212
214
|
* [PullRequest](#pullrequest)
|
|
213
|
-
* [Parameters](#parameters-
|
|
215
|
+
* [Parameters](#parameters-49)
|
|
214
216
|
* [Properties](#properties-7)
|
|
215
217
|
* [fullName](#fullname-2)
|
|
216
218
|
* [url](#url-2)
|
|
217
219
|
* [repository](#repository-1)
|
|
218
220
|
* [provider](#provider-2)
|
|
219
221
|
* [equals](#equals-4)
|
|
220
|
-
* [Parameters](#parameters-
|
|
222
|
+
* [Parameters](#parameters-50)
|
|
221
223
|
* [delete](#delete-1)
|
|
222
224
|
* [merge](#merge)
|
|
223
|
-
* [Parameters](#parameters-
|
|
225
|
+
* [Parameters](#parameters-51)
|
|
224
226
|
* [decline](#decline)
|
|
225
227
|
* [reviews](#reviews)
|
|
226
228
|
* [identifier](#identifier-1)
|
|
@@ -228,9 +230,9 @@ console.log(await readme.getString());
|
|
|
228
230
|
* [defaultListStates](#defaultliststates)
|
|
229
231
|
* [validMergeMethods](#validmergemethods)
|
|
230
232
|
* [list](#list-1)
|
|
231
|
-
* [Parameters](#parameters-51)
|
|
232
|
-
* [open](#open)
|
|
233
233
|
* [Parameters](#parameters-52)
|
|
234
|
+
* [open](#open)
|
|
235
|
+
* [Parameters](#parameters-53)
|
|
234
236
|
* [title](#title)
|
|
235
237
|
* [body](#body)
|
|
236
238
|
* [state](#state)
|
|
@@ -243,12 +245,12 @@ console.log(await readme.getString());
|
|
|
243
245
|
* [ref](#ref-1)
|
|
244
246
|
* [refId](#refid)
|
|
245
247
|
* [entries](#entries)
|
|
246
|
-
* [Parameters](#parameters-
|
|
248
|
+
* [Parameters](#parameters-54)
|
|
247
249
|
* [asyncIterator](#asynciterator)
|
|
248
250
|
* [maybeEntry](#maybeentry)
|
|
249
|
-
* [Parameters](#parameters-54)
|
|
250
|
-
* [entry](#entry)
|
|
251
251
|
* [Parameters](#parameters-55)
|
|
252
|
+
* [entry](#entry)
|
|
253
|
+
* [Parameters](#parameters-56)
|
|
252
254
|
* [repository](#repository-2)
|
|
253
255
|
* [fullName](#fullname-3)
|
|
254
256
|
* [fullCondensedName](#fullcondensedname-1)
|
|
@@ -262,7 +264,7 @@ console.log(await readme.getString());
|
|
|
262
264
|
* [attributes](#attributes-2)
|
|
263
265
|
* [isProtected](#isprotected-1)
|
|
264
266
|
* [RepositoryGroup](#repositorygroup-1)
|
|
265
|
-
* [Parameters](#parameters-
|
|
267
|
+
* [Parameters](#parameters-57)
|
|
266
268
|
* [Properties](#properties-9)
|
|
267
269
|
* [attributeMapping](#attributemapping-1)
|
|
268
270
|
* [type](#type-1)
|
|
@@ -270,20 +272,20 @@ console.log(await readme.getString());
|
|
|
270
272
|
* [url](#url-4)
|
|
271
273
|
* [avatarURL](#avatarurl)
|
|
272
274
|
* [RepositoryOwner](#repositoryowner)
|
|
273
|
-
* [Parameters](#parameters-57)
|
|
274
|
-
* [Repository](#repository-3)
|
|
275
275
|
* [Parameters](#parameters-58)
|
|
276
|
+
* [Repository](#repository-3)
|
|
277
|
+
* [Parameters](#parameters-59)
|
|
276
278
|
* [Properties](#properties-10)
|
|
277
279
|
* [fullName](#fullname-4)
|
|
278
280
|
* [slug](#slug)
|
|
279
281
|
* [entry](#entry-1)
|
|
280
|
-
* [Parameters](#parameters-59)
|
|
281
|
-
* [entries](#entries-1)
|
|
282
282
|
* [Parameters](#parameters-60)
|
|
283
|
-
* [
|
|
283
|
+
* [entries](#entries-1)
|
|
284
284
|
* [Parameters](#parameters-61)
|
|
285
|
-
* [
|
|
285
|
+
* [maybeEntry](#maybeentry-1)
|
|
286
286
|
* [Parameters](#parameters-62)
|
|
287
|
+
* [commits](#commits)
|
|
288
|
+
* [Parameters](#parameters-63)
|
|
287
289
|
* [cloneURL](#cloneurl)
|
|
288
290
|
* [issuesURL](#issuesurl-1)
|
|
289
291
|
* [homePageURL](#homepageurl-2)
|
|
@@ -294,62 +296,62 @@ console.log(await readme.getString());
|
|
|
294
296
|
* [delete](#delete-2)
|
|
295
297
|
* [defaultBranch](#defaultbranch)
|
|
296
298
|
* [branch](#branch-2)
|
|
297
|
-
* [Parameters](#parameters-
|
|
299
|
+
* [Parameters](#parameters-64)
|
|
298
300
|
* [hasBranches](#hasbranches)
|
|
299
301
|
* [branches](#branches-1)
|
|
300
|
-
* [Parameters](#parameters-64)
|
|
301
|
-
* [createBranch](#createbranch-1)
|
|
302
302
|
* [Parameters](#parameters-65)
|
|
303
|
-
* [
|
|
303
|
+
* [createBranch](#createbranch-1)
|
|
304
304
|
* [Parameters](#parameters-66)
|
|
305
|
-
* [
|
|
305
|
+
* [addBranch](#addbranch)
|
|
306
306
|
* [Parameters](#parameters-67)
|
|
307
|
-
* [
|
|
307
|
+
* [deleteBranch](#deletebranch)
|
|
308
308
|
* [Parameters](#parameters-68)
|
|
309
|
-
* [
|
|
309
|
+
* [tag](#tag)
|
|
310
310
|
* [Parameters](#parameters-69)
|
|
311
|
-
* [
|
|
311
|
+
* [tags](#tags-1)
|
|
312
312
|
* [Parameters](#parameters-70)
|
|
313
|
-
* [
|
|
313
|
+
* [addTag](#addtag)
|
|
314
314
|
* [Parameters](#parameters-71)
|
|
315
|
-
* [
|
|
315
|
+
* [createPullRequest](#createpullrequest-1)
|
|
316
316
|
* [Parameters](#parameters-72)
|
|
317
|
+
* [addPullRequest](#addpullrequest)
|
|
318
|
+
* [Parameters](#parameters-73)
|
|
317
319
|
* [pullRequests](#pullrequests-1)
|
|
318
320
|
* [pullRequest](#pullrequest-1)
|
|
319
|
-
* [Parameters](#parameters-73)
|
|
320
|
-
* [deletePullRequest](#deletepullrequest)
|
|
321
321
|
* [Parameters](#parameters-74)
|
|
322
|
-
* [
|
|
322
|
+
* [deletePullRequest](#deletepullrequest)
|
|
323
323
|
* [Parameters](#parameters-75)
|
|
324
|
-
* [
|
|
324
|
+
* [addHook](#addhook)
|
|
325
325
|
* [Parameters](#parameters-76)
|
|
326
|
+
* [createHook](#createhook)
|
|
327
|
+
* [Parameters](#parameters-77)
|
|
326
328
|
* [hooks](#hooks-1)
|
|
327
329
|
* [hook](#hook-1)
|
|
328
|
-
* [Parameters](#parameters-
|
|
330
|
+
* [Parameters](#parameters-78)
|
|
329
331
|
* [type](#type-2)
|
|
330
332
|
* [refId](#refid-1)
|
|
331
|
-
* [Parameters](#parameters-
|
|
333
|
+
* [Parameters](#parameters-79)
|
|
332
334
|
* [attributes](#attributes-3)
|
|
333
335
|
* [defaultBranchName](#defaultbranchname)
|
|
334
336
|
* [issuesURL](#issuesurl-2)
|
|
335
337
|
* [Review](#review)
|
|
336
338
|
* [SingleGroupProvider](#singlegroupprovider)
|
|
337
339
|
* [repository](#repository-4)
|
|
338
|
-
* [Parameters](#parameters-79)
|
|
339
|
-
* [repositoryGroup](#repositorygroup-2)
|
|
340
340
|
* [Parameters](#parameters-80)
|
|
341
|
-
* [
|
|
341
|
+
* [repositoryGroup](#repositorygroup-2)
|
|
342
342
|
* [Parameters](#parameters-81)
|
|
343
|
+
* [repositoryGroups](#repositorygroups-1)
|
|
344
|
+
* [Parameters](#parameters-82)
|
|
343
345
|
* [Tag](#tag-1)
|
|
344
346
|
* [refType](#reftype-1)
|
|
345
347
|
* [asArray](#asarray)
|
|
346
|
-
* [Parameters](#parameters-82)
|
|
347
|
-
* [stripBaseName](#stripbasename)
|
|
348
348
|
* [Parameters](#parameters-83)
|
|
349
|
-
* [
|
|
349
|
+
* [stripBaseName](#stripbasename)
|
|
350
350
|
* [Parameters](#parameters-84)
|
|
351
|
-
* [
|
|
351
|
+
* [stripBaseNames](#stripbasenames)
|
|
352
352
|
* [Parameters](#parameters-85)
|
|
353
|
+
* [generateBranchName](#generatebranchname)
|
|
354
|
+
* [Parameters](#parameters-86)
|
|
353
355
|
|
|
354
356
|
## Application
|
|
355
357
|
|
|
@@ -518,12 +520,6 @@ Complete name in the hierachy.
|
|
|
518
520
|
|
|
519
521
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
520
522
|
|
|
521
|
-
### identifier
|
|
522
|
-
|
|
523
|
-
Short human readable identifier with provider and branch.
|
|
524
|
-
|
|
525
|
-
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
526
|
-
|
|
527
523
|
### isWritable
|
|
528
524
|
|
|
529
525
|
By default cannot be written to.
|
|
@@ -540,80 +536,6 @@ Check for equality
|
|
|
540
536
|
|
|
541
537
|
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other is present
|
|
542
538
|
|
|
543
|
-
### provider
|
|
544
|
-
|
|
545
|
-
The provider we live in.
|
|
546
|
-
|
|
547
|
-
Returns **[BaseProvider](#baseprovider)** 
|
|
548
|
-
|
|
549
|
-
### trace
|
|
550
|
-
|
|
551
|
-
Forwarded to the owner.
|
|
552
|
-
|
|
553
|
-
#### Parameters
|
|
554
|
-
|
|
555
|
-
* `args` **...any** 
|
|
556
|
-
|
|
557
|
-
### info
|
|
558
|
-
|
|
559
|
-
Forwarded to the owner.
|
|
560
|
-
|
|
561
|
-
#### Parameters
|
|
562
|
-
|
|
563
|
-
* `args` **...any** 
|
|
564
|
-
|
|
565
|
-
### warn
|
|
566
|
-
|
|
567
|
-
Forwarded to the owner.
|
|
568
|
-
|
|
569
|
-
#### Parameters
|
|
570
|
-
|
|
571
|
-
* `args` **...any** 
|
|
572
|
-
|
|
573
|
-
### error
|
|
574
|
-
|
|
575
|
-
Forwarded to the owner.
|
|
576
|
-
|
|
577
|
-
#### Parameters
|
|
578
|
-
|
|
579
|
-
* `args` **...any** 
|
|
580
|
-
|
|
581
|
-
### repositoryClass
|
|
582
|
-
|
|
583
|
-
By default we use the owners implementation.
|
|
584
|
-
|
|
585
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
586
|
-
|
|
587
|
-
### pullRequestClass
|
|
588
|
-
|
|
589
|
-
By default we use the owners implementation.
|
|
590
|
-
|
|
591
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
592
|
-
|
|
593
|
-
### branchClass
|
|
594
|
-
|
|
595
|
-
By default we use the owners implementation.
|
|
596
|
-
|
|
597
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
598
|
-
|
|
599
|
-
### tagClass
|
|
600
|
-
|
|
601
|
-
By default we use the owners implementation.
|
|
602
|
-
|
|
603
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
604
|
-
|
|
605
|
-
### entryClass
|
|
606
|
-
|
|
607
|
-
By default we use the owners implementation.
|
|
608
|
-
|
|
609
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
610
|
-
|
|
611
|
-
### hookClass
|
|
612
|
-
|
|
613
|
-
By default we use the owners implementation.
|
|
614
|
-
|
|
615
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
616
|
-
|
|
617
539
|
### type
|
|
618
540
|
|
|
619
541
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** type we represent
|
|
@@ -1237,6 +1159,94 @@ API as given by the owner.
|
|
|
1237
1159
|
|
|
1238
1160
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** url
|
|
1239
1161
|
|
|
1162
|
+
### provider
|
|
1163
|
+
|
|
1164
|
+
The provider we live in.
|
|
1165
|
+
|
|
1166
|
+
Returns **[BaseProvider](#baseprovider)** 
|
|
1167
|
+
|
|
1168
|
+
### identifier
|
|
1169
|
+
|
|
1170
|
+
Short human readable identifier with provider and branch.
|
|
1171
|
+
|
|
1172
|
+
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
1173
|
+
|
|
1174
|
+
### trace
|
|
1175
|
+
|
|
1176
|
+
Forwarded to the owner.
|
|
1177
|
+
|
|
1178
|
+
#### Parameters
|
|
1179
|
+
|
|
1180
|
+
* `args` **...any** 
|
|
1181
|
+
|
|
1182
|
+
### info
|
|
1183
|
+
|
|
1184
|
+
Forwarded to the owner.
|
|
1185
|
+
|
|
1186
|
+
#### Parameters
|
|
1187
|
+
|
|
1188
|
+
* `args` **...any** 
|
|
1189
|
+
|
|
1190
|
+
### warn
|
|
1191
|
+
|
|
1192
|
+
Forwarded to the owner.
|
|
1193
|
+
|
|
1194
|
+
#### Parameters
|
|
1195
|
+
|
|
1196
|
+
* `args` **...any** 
|
|
1197
|
+
|
|
1198
|
+
### error
|
|
1199
|
+
|
|
1200
|
+
Forwarded to the owner.
|
|
1201
|
+
|
|
1202
|
+
#### Parameters
|
|
1203
|
+
|
|
1204
|
+
* `args` **...any** 
|
|
1205
|
+
|
|
1206
|
+
### debug
|
|
1207
|
+
|
|
1208
|
+
Forwarded to the owner.
|
|
1209
|
+
|
|
1210
|
+
#### Parameters
|
|
1211
|
+
|
|
1212
|
+
* `args` **...any** 
|
|
1213
|
+
|
|
1214
|
+
### repositoryClass
|
|
1215
|
+
|
|
1216
|
+
By default we use the owners implementation.
|
|
1217
|
+
|
|
1218
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1219
|
+
|
|
1220
|
+
### pullRequestClass
|
|
1221
|
+
|
|
1222
|
+
By default we use the owners implementation.
|
|
1223
|
+
|
|
1224
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1225
|
+
|
|
1226
|
+
### branchClass
|
|
1227
|
+
|
|
1228
|
+
By default we use the owners implementation.
|
|
1229
|
+
|
|
1230
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1231
|
+
|
|
1232
|
+
### tagClass
|
|
1233
|
+
|
|
1234
|
+
By default we use the owners implementation.
|
|
1235
|
+
|
|
1236
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1237
|
+
|
|
1238
|
+
### entryClass
|
|
1239
|
+
|
|
1240
|
+
By default we use the owners implementation.
|
|
1241
|
+
|
|
1242
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1243
|
+
|
|
1244
|
+
### hookClass
|
|
1245
|
+
|
|
1246
|
+
By default we use the owners implementation.
|
|
1247
|
+
|
|
1248
|
+
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** as defined in the owner
|
|
1249
|
+
|
|
1240
1250
|
### addMethodName
|
|
1241
1251
|
|
|
1242
1252
|
Method name to be called to register one instance in the owner.
|
package/package.json
CHANGED
package/src/base-provider.mjs
CHANGED
|
@@ -447,6 +447,10 @@ export class BaseProvider extends BaseObject {
|
|
|
447
447
|
return this.messageDestination.trace(...args);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
+
debug(...args) {
|
|
451
|
+
return this.messageDestination.debug(...args);
|
|
452
|
+
}
|
|
453
|
+
|
|
450
454
|
info(...args) {
|
|
451
455
|
return this.messageDestination.info(...args);
|
|
452
456
|
}
|
package/src/owned-object.mjs
CHANGED
|
@@ -87,6 +87,14 @@ export class OwnedObject extends NamedObject {
|
|
|
87
87
|
return this.owner.error(...args);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Forwarded to the owner.
|
|
92
|
+
* @param {...any} args
|
|
93
|
+
*/
|
|
94
|
+
debug(...args) {
|
|
95
|
+
return this.owner.debug(...args);
|
|
96
|
+
}
|
|
97
|
+
|
|
90
98
|
/**
|
|
91
99
|
* By default we use the owners implementation.
|
|
92
100
|
* @return {Function} as defined in the owner
|
package/src/pull-request.mjs
CHANGED
|
@@ -3,7 +3,6 @@ import { OwnedObject } from "./owned-object.mjs";
|
|
|
3
3
|
import { Branch } from "./branch.mjs";
|
|
4
4
|
import { Repository } from "./repository.mjs";
|
|
5
5
|
import { Review } from "./review.mjs";
|
|
6
|
-
import { BaseProvider } from "./base-provider.mjs";
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Abstract pull request.
|
|
@@ -223,13 +222,6 @@ export class PullRequest extends OwnedObject {
|
|
|
223
222
|
return this.owner?.repository;
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
/**
|
|
227
|
-
* @return {BaseProvider}
|
|
228
|
-
*/
|
|
229
|
-
get provider() {
|
|
230
|
-
return this.owner?.provider;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
225
|
/**
|
|
234
226
|
* Check for equality
|
|
235
227
|
* @param {PullRequest} other
|