repository-provider 32.3.13 → 32.3.14

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.3.13",
3
+ "version": "32.3.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,3 +33,14 @@ export const state = { type: "string" };
33
33
 
34
34
  export const secret = { type: "string", private: true, writable: true };
35
35
 
36
+ /**
37
+ * The description of the pull request.
38
+ * @return {string}
39
+ */
40
+ export const body = { type: "string", writable: true };
41
+
42
+ /**
43
+ * The one line description of the pull request.
44
+ * @return {string}
45
+ */
46
+ export const title = { type: "string", writable: true };
@@ -3,7 +3,7 @@ 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 { url, state } from "./attributes.mjs";
6
+ import { url, state, body, title } from "./attributes.mjs";
7
7
 
8
8
  /**
9
9
  * Abstract pull request.
@@ -89,18 +89,10 @@ export class PullRequest extends OwnedObject {
89
89
  static get attributes() {
90
90
  return {
91
91
  ...super.attributes,
92
- /**
93
- * The one line description of the pull request.
94
- * @return {string}
95
- */
96
- title: { type: "string", writable: true },
97
-
98
- /**
99
- * The description of the pull request.
100
- * @return {string}
101
- */
102
- body: { type: "string", writable: true },
103
-
92
+ body,
93
+ title,
94
+ url,
95
+
104
96
  /**
105
97
  * state of the pull request.
106
98
  * - OPEN
@@ -150,9 +142,7 @@ export class PullRequest extends OwnedObject {
150
142
 
151
143
  empty: {
152
144
  type: "boolean"
153
- },
154
-
155
- url
145
+ }
156
146
  };
157
147
  }
158
148