repository-provider 32.4.6 → 32.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.4.6",
3
+ "version": "32.4.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -41,7 +41,7 @@ export const description_attribute = {
41
41
  */
42
42
  export const id_attribute = { isKey: true, type: "string" };
43
43
 
44
- export const state_attribute = { type: "string" };
44
+ export const state_attribute = { type: "string", writeable: true };
45
45
 
46
46
  /**
47
47
  * The description of the pull request.
@@ -18,13 +18,7 @@ export class NamedObject extends BaseObject {
18
18
  return {
19
19
  name: name_attribute,
20
20
  id: id_attribute,
21
- description: description_attribute,
22
-
23
- /**
24
- * The url of home page.
25
- * @return {string}
26
- */
27
- homePageURL: { ...url_attribute, writable: true }
21
+ description: description_attribute
28
22
  };
29
23
  }
30
24
 
@@ -106,8 +106,7 @@ export class PullRequest extends OwnedObject {
106
106
  state: {
107
107
  ...state_attribute,
108
108
  default: "OPEN",
109
- values: new Set(["OPEN", "MERGED", "CLOSED"]),
110
- writable: true
109
+ values: new Set(["OPEN", "MERGED", "CLOSED"])
111
110
  },
112
111
 
113
112
  /**
@@ -48,7 +48,12 @@ export class RepositoryGroup extends RepositoryOwner(OwnedObject) {
48
48
  type: type_attribute,
49
49
  url: url_attribute,
50
50
  avatarURL: url_attribute,
51
- isAdmin: boolean_attribute
51
+ isAdmin: boolean_attribute,
52
+ /**
53
+ * The url of home page.
54
+ * @return {string}
55
+ */
56
+ homePageURL: { ...url_attribute, writable: true }
52
57
  };
53
58
  }
54
59