repository-provider 35.2.19 → 35.2.20

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
@@ -361,6 +361,7 @@ console.log(await readme.string);
361
361
  * [Parameters](#parameters-85)
362
362
  * [Properties](#properties-9)
363
363
  * [slug](#slug-2)
364
+ * [url](#url-4)
364
365
  * [entry](#entry-2)
365
366
  * [Parameters](#parameters-86)
366
367
  * [entries](#entries-2)
@@ -1526,7 +1527,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
1526
1527
 
1527
1528
  Url of home page.
1528
1529
 
1529
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the owner
1530
+ Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** as provided from the owner
1530
1531
 
1531
1532
  ### issuesURL
1532
1533
 
@@ -1675,7 +1676,7 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
1675
1676
 
1676
1677
  Url of home page.
1677
1678
 
1678
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** as provided from the owner
1679
+ Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** as provided from the owner
1679
1680
 
1680
1681
  ### issuesURL
1681
1682
 
@@ -2206,6 +2207,10 @@ Name of the repo as used in the URL.
2206
2207
 
2207
2208
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
2208
2209
 
2210
+ ### url
2211
+
2212
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
2213
+
2209
2214
  ### entry
2210
2215
 
2211
2216
  Lookup entries form the head of the default branch.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "35.2.19",
3
+ "version": "35.2.20",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -46,7 +46,7 @@ export const uuid_attribute = {
46
46
  /**
47
47
  * @type {AttributeDefinition}
48
48
  */
49
- export const empty_attiribute = { ...default_attribute, type: "boolean" };
49
+ export const empty_attribute = { ...default_attribute, type: "boolean" };
50
50
 
51
51
  /**
52
52
  * @type {AttributeDefinition}
@@ -9,7 +9,7 @@ import {
9
9
  body_attribute,
10
10
  title_attribute,
11
11
  boolean_attribute,
12
- empty_attiribute
12
+ empty_attribute
13
13
  } from "./attributes.mjs";
14
14
 
15
15
  /**
@@ -130,10 +130,12 @@ export class PullRequest extends OwnedObject {
130
130
  */
131
131
  draft: boolean_attribute,
132
132
  dry: boolean_attribute,
133
- empty: empty_attiribute
133
+ empty: empty_attribute
134
134
  };
135
135
  }
136
136
 
137
+ /** @type {Branch} */ source;
138
+
137
139
  constructor(source, owner, name, options) {
138
140
  let state = "OPEN";
139
141
 
@@ -21,7 +21,7 @@ export const uuid_attribute: AttributeDefinition;
21
21
  /**
22
22
  * @type {AttributeDefinition}
23
23
  */
24
- export const empty_attiribute: AttributeDefinition;
24
+ export const empty_attribute: AttributeDefinition;
25
25
  /**
26
26
  * @type {AttributeDefinition}
27
27
  */
@@ -106,7 +106,7 @@ export class PullRequest extends OwnedObject {
106
106
  name: import("pacc").AttributeDefinition;
107
107
  description: import("pacc").AttributeDefinition;
108
108
  };
109
- source: any;
109
+ /** @type {Branch} */ source: Branch;
110
110
  get destination(): any;
111
111
  get number(): string;
112
112
  get dry(): boolean;
@@ -136,6 +136,6 @@ export class PullRequest extends OwnedObject {
136
136
  reviews(): AsyncIterable<Review>;
137
137
  }
138
138
  import { OwnedObject } from "./owned-object.mjs";
139
+ import { Branch } from "./branch.mjs";
139
140
  import { Repository } from "./repository.mjs";
140
141
  import { Review } from "./review.mjs";
141
- import { Branch } from "./branch.mjs";