repository-provider 35.9.0 → 36.0.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 CHANGED
@@ -188,21 +188,23 @@ console.log(await readme.string);
188
188
  * [Parameters](#parameters-46)
189
189
  * [addRepositoryGroup](#addrepositorygroup)
190
190
  * [Parameters](#parameters-47)
191
+ * [repositoryGroupClassFor](#repositorygroupclassfor)
192
+ * [Parameters](#parameters-48)
191
193
  * [NamedObject](#namedobject)
192
- * [Parameters](#parameters-48)
194
+ * [Parameters](#parameters-49)
193
195
  * [Properties](#properties-7)
194
196
  * [displayName](#displayname)
195
197
  * [condensedName](#condensedname)
196
198
  * [fullCondensedName](#fullcondensedname)
197
199
  * [equals](#equals-3)
198
- * [Parameters](#parameters-49)
199
- * [toJSON](#tojson-2)
200
200
  * [Parameters](#parameters-50)
201
+ * [toJSON](#tojson-2)
202
+ * [Parameters](#parameters-51)
201
203
  * [OwnedObject](#ownedobject)
202
- * [Parameters](#parameters-51)
204
+ * [Parameters](#parameters-52)
203
205
  * [delete](#delete-1)
204
206
  * [equals](#equals-4)
205
- * [Parameters](#parameters-52)
207
+ * [Parameters](#parameters-53)
206
208
  * [homePageURL](#homepageurl)
207
209
  * [issuesURL](#issuesurl)
208
210
  * [isLocked](#islocked)
@@ -215,22 +217,22 @@ console.log(await readme.string);
215
217
  * [identifier](#identifier)
216
218
  * [fullName](#fullname-1)
217
219
  * [trace](#trace)
218
- * [Parameters](#parameters-53)
219
- * [info](#info)
220
220
  * [Parameters](#parameters-54)
221
- * [warn](#warn)
221
+ * [info](#info)
222
222
  * [Parameters](#parameters-55)
223
- * [error](#error)
223
+ * [warn](#warn)
224
224
  * [Parameters](#parameters-56)
225
- * [debug](#debug)
225
+ * [error](#error)
226
226
  * [Parameters](#parameters-57)
227
+ * [debug](#debug)
228
+ * [Parameters](#parameters-58)
227
229
  * [addMethodName](#addmethodname)
228
230
  * [deleteMethodName](#deletemethodname)
229
231
  * [OwnedObject](#ownedobject-1)
230
- * [Parameters](#parameters-58)
232
+ * [Parameters](#parameters-59)
231
233
  * [delete](#delete-2)
232
234
  * [equals](#equals-5)
233
- * [Parameters](#parameters-59)
235
+ * [Parameters](#parameters-60)
234
236
  * [homePageURL](#homepageurl-1)
235
237
  * [issuesURL](#issuesurl-1)
236
238
  * [isLocked](#islocked-1)
@@ -243,20 +245,20 @@ console.log(await readme.string);
243
245
  * [identifier](#identifier-1)
244
246
  * [fullName](#fullname-2)
245
247
  * [trace](#trace-1)
246
- * [Parameters](#parameters-60)
247
- * [info](#info-1)
248
248
  * [Parameters](#parameters-61)
249
- * [warn](#warn-1)
249
+ * [info](#info-1)
250
250
  * [Parameters](#parameters-62)
251
- * [error](#error-1)
251
+ * [warn](#warn-1)
252
252
  * [Parameters](#parameters-63)
253
- * [debug](#debug-1)
253
+ * [error](#error-1)
254
254
  * [Parameters](#parameters-64)
255
+ * [debug](#debug-1)
256
+ * [Parameters](#parameters-65)
255
257
  * [addMethodName](#addmethodname-1)
256
258
  * [deleteMethodName](#deletemethodname-1)
257
259
  * [Project](#project)
258
260
  * [PullRequest](#pullrequest)
259
- * [Parameters](#parameters-65)
261
+ * [Parameters](#parameters-66)
260
262
  * [Properties](#properties-8)
261
263
  * [source](#source)
262
264
  * [fullName](#fullname-3)
@@ -264,7 +266,7 @@ console.log(await readme.string);
264
266
  * [repository](#repository-1)
265
267
  * [delete](#delete-3)
266
268
  * [merge](#merge)
267
- * [Parameters](#parameters-66)
269
+ * [Parameters](#parameters-67)
268
270
  * [decline](#decline)
269
271
  * [reviews](#reviews)
270
272
  * [identifier](#identifier-2)
@@ -272,9 +274,9 @@ console.log(await readme.string);
272
274
  * [states](#states)
273
275
  * [validMergeMethods](#validmergemethods)
274
276
  * [list](#list-2)
275
- * [Parameters](#parameters-67)
276
- * [open](#open)
277
277
  * [Parameters](#parameters-68)
278
+ * [open](#open)
279
+ * [Parameters](#parameters-69)
278
280
  * [state](#state)
279
281
  * [locked](#locked)
280
282
  * [merged](#merged)
@@ -283,12 +285,12 @@ console.log(await readme.string);
283
285
  * [ref](#ref-1)
284
286
  * [refId](#refid)
285
287
  * [entries](#entries)
286
- * [Parameters](#parameters-69)
288
+ * [Parameters](#parameters-70)
287
289
  * [asyncIterator](#asynciterator)
288
290
  * [maybeEntry](#maybeentry)
289
- * [Parameters](#parameters-70)
290
- * [entry](#entry)
291
291
  * [Parameters](#parameters-71)
292
+ * [entry](#entry)
293
+ * [Parameters](#parameters-72)
292
294
  * [repository](#repository-2)
293
295
  * [fullName](#fullname-4)
294
296
  * [fullCondensedName](#fullcondensedname-1)
@@ -299,12 +301,12 @@ console.log(await readme.string);
299
301
  * [ref](#ref-3)
300
302
  * [refId](#refid-1)
301
303
  * [entries](#entries-1)
302
- * [Parameters](#parameters-72)
304
+ * [Parameters](#parameters-73)
303
305
  * [asyncIterator](#asynciterator-1)
304
306
  * [maybeEntry](#maybeentry-1)
305
- * [Parameters](#parameters-73)
306
- * [entry](#entry-1)
307
307
  * [Parameters](#parameters-74)
308
+ * [entry](#entry-1)
309
+ * [Parameters](#parameters-75)
308
310
  * [repository](#repository-3)
309
311
  * [fullName](#fullname-5)
310
312
  * [fullCondensedName](#fullcondensedname-2)
@@ -313,25 +315,25 @@ console.log(await readme.string);
313
315
  * [attributes](#attributes-2)
314
316
  * [isProtected](#isprotected-2)
315
317
  * [RepositoryGroup](#repositorygroup-1)
316
- * [Parameters](#parameters-75)
318
+ * [Parameters](#parameters-76)
317
319
  * [Properties](#properties-9)
318
320
  * [type](#type-1)
319
321
  * [homePageURL](#homepageurl-2)
320
322
  * [RepositoryOwner](#repositoryowner)
321
- * [Parameters](#parameters-76)
322
- * [Repository](#repository-4)
323
323
  * [Parameters](#parameters-77)
324
+ * [Repository](#repository-4)
325
+ * [Parameters](#parameters-78)
324
326
  * [Properties](#properties-10)
325
327
  * [slug](#slug-2)
326
328
  * [url](#url-4)
327
329
  * [entry](#entry-2)
328
- * [Parameters](#parameters-78)
329
- * [entries](#entries-2)
330
330
  * [Parameters](#parameters-79)
331
- * [maybeEntry](#maybeentry-2)
331
+ * [entries](#entries-2)
332
332
  * [Parameters](#parameters-80)
333
- * [commits](#commits)
333
+ * [maybeEntry](#maybeentry-2)
334
334
  * [Parameters](#parameters-81)
335
+ * [commits](#commits)
336
+ * [Parameters](#parameters-82)
335
337
  * [cloneURL](#cloneurl)
336
338
  * [issuesURL](#issuesurl-2)
337
339
  * [homePageURL](#homepageurl-3)
@@ -342,47 +344,47 @@ console.log(await readme.string);
342
344
  * [delete](#delete-4)
343
345
  * [defaultBranch](#defaultbranch)
344
346
  * [branch](#branch-2)
345
- * [Parameters](#parameters-82)
347
+ * [Parameters](#parameters-83)
346
348
  * [hasBranches](#hasbranches)
347
349
  * [branches](#branches-2)
348
- * [Parameters](#parameters-83)
349
- * [createBranch](#createbranch-1)
350
350
  * [Parameters](#parameters-84)
351
- * [addBranch](#addbranch)
351
+ * [createBranch](#createbranch-1)
352
352
  * [Parameters](#parameters-85)
353
- * [deleteBranch](#deletebranch)
353
+ * [addBranch](#addbranch)
354
354
  * [Parameters](#parameters-86)
355
- * [tag](#tag)
355
+ * [deleteBranch](#deletebranch)
356
356
  * [Parameters](#parameters-87)
357
- * [tags](#tags-2)
357
+ * [tag](#tag)
358
358
  * [Parameters](#parameters-88)
359
- * [addTag](#addtag)
359
+ * [tags](#tags-2)
360
360
  * [Parameters](#parameters-89)
361
- * [createPullRequest](#createpullrequest-1)
361
+ * [addTag](#addtag)
362
362
  * [Parameters](#parameters-90)
363
- * [addPullRequest](#addpullrequest)
363
+ * [createPullRequest](#createpullrequest-1)
364
364
  * [Parameters](#parameters-91)
365
+ * [addPullRequest](#addpullrequest)
366
+ * [Parameters](#parameters-92)
365
367
  * [pullRequests](#pullrequests-2)
366
368
  * [pullRequest](#pullrequest-1)
367
- * [Parameters](#parameters-92)
368
- * [deletePullRequest](#deletepullrequest)
369
369
  * [Parameters](#parameters-93)
370
- * [addHook](#addhook)
370
+ * [deletePullRequest](#deletepullrequest)
371
371
  * [Parameters](#parameters-94)
372
- * [createHook](#createhook)
372
+ * [addHook](#addhook)
373
373
  * [Parameters](#parameters-95)
374
+ * [createHook](#createhook)
375
+ * [Parameters](#parameters-96)
374
376
  * [hooks](#hooks-2)
375
377
  * [hook](#hook-1)
376
- * [Parameters](#parameters-96)
377
- * [milestone](#milestone-1)
378
378
  * [Parameters](#parameters-97)
379
- * [project](#project-1)
379
+ * [milestone](#milestone-1)
380
380
  * [Parameters](#parameters-98)
381
- * [application](#application-1)
381
+ * [project](#project-1)
382
382
  * [Parameters](#parameters-99)
383
+ * [application](#application-1)
384
+ * [Parameters](#parameters-100)
383
385
  * [type](#type-2)
384
386
  * [refId](#refid-2)
385
- * [Parameters](#parameters-100)
387
+ * [Parameters](#parameters-101)
386
388
  * [attributes](#attributes-3)
387
389
  * [defaultBranchName](#defaultbranchname)
388
390
  * [branches](#branches-3)
@@ -394,21 +396,21 @@ console.log(await readme.string);
394
396
  * [Review](#review)
395
397
  * [SingleGroupProvider](#singlegroupprovider)
396
398
  * [repository](#repository-5)
397
- * [Parameters](#parameters-101)
398
- * [repositoryGroup](#repositorygroup-2)
399
399
  * [Parameters](#parameters-102)
400
- * [repositoryGroups](#repositorygroups-1)
400
+ * [repositoryGroup](#repositorygroup-2)
401
401
  * [Parameters](#parameters-103)
402
+ * [repositoryGroups](#repositorygroups-1)
403
+ * [Parameters](#parameters-104)
402
404
  * [Tag](#tag-1)
403
405
  * [refType](#reftype-1)
404
406
  * [asArray](#asarray)
405
- * [Parameters](#parameters-104)
406
- * [stripBaseName](#stripbasename)
407
407
  * [Parameters](#parameters-105)
408
- * [stripBaseNames](#stripbasenames)
408
+ * [stripBaseName](#stripbasename)
409
409
  * [Parameters](#parameters-106)
410
- * [generateBranchName](#generatebranchname)
410
+ * [stripBaseNames](#stripbasenames)
411
411
  * [Parameters](#parameters-107)
412
+ * [generateBranchName](#generatebranchname)
413
+ * [Parameters](#parameters-108)
412
414
 
413
415
  ## Application
414
416
 
@@ -1194,6 +1196,17 @@ Add a new repository group (not provider specific actions are executed).
1194
1196
 
1195
1197
  Returns **[RepositoryGroup](#repositorygroup)** 
1196
1198
 
1199
+ ### repositoryGroupClassFor
1200
+
1201
+ Retrieve class suitable to hold repository group for name and options
1202
+
1203
+ #### Parameters
1204
+
1205
+ * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
1206
+ * `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
1207
+
1208
+ Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** 
1209
+
1197
1210
  ## NamedObject
1198
1211
 
1199
1212
  **Extends BaseObject**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "35.9.0",
3
+ "version": "36.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -439,7 +439,13 @@ export class BaseProvider extends BaseObject {
439
439
  return this.messageDestination.error(...args);
440
440
  }
441
441
 
442
- get repositoryGroupClass() {
442
+ /**
443
+ * Retrieve class suitable to hold repository group for name and options
444
+ * @param {string} name
445
+ * @param {Object} options
446
+ * @returns {Function}
447
+ */
448
+ repositoryGroupClassFor(name, options) {
443
449
  return RepositoryGroup;
444
450
  }
445
451
 
@@ -115,16 +115,6 @@ export class MultiGroupProvider extends BaseProvider {
115
115
  );
116
116
  }
117
117
 
118
- /**
119
- * Retrieve class suitable to hold repository group for name and options
120
- * @param {string} name
121
- * @param {Object} options
122
- * @returns {Function}
123
- */
124
- repositoryGroupClassFor(name, options) {
125
- return this.repositoryGroupClass;
126
- }
127
-
128
118
  _addRepositoryGroup(repositoryGroup) {
129
119
  this.#repositoryGroups.set(
130
120
  this.normalizeGroupName(repositoryGroup.name, true),