repository-provider 31.0.0 → 31.0.1
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 +1 -1
- package/src/base-object.mjs +4 -0
- package/src/repository.mjs +2 -18
package/package.json
CHANGED
package/src/base-object.mjs
CHANGED
package/src/repository.mjs
CHANGED
|
@@ -48,10 +48,10 @@ export class Repository extends OwnedObject {
|
|
|
48
48
|
defaultBranchName: { type: "string", default: "master" },
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* URL of the repository
|
|
52
52
|
* @return {string}
|
|
53
53
|
*/
|
|
54
|
-
url: { type: "
|
|
54
|
+
url: { type: "url" },
|
|
55
55
|
|
|
56
56
|
cloneURL: { type: "url" },
|
|
57
57
|
|
|
@@ -134,14 +134,6 @@ export class Repository extends OwnedObject {
|
|
|
134
134
|
*/
|
|
135
135
|
async *commits(options) {}
|
|
136
136
|
|
|
137
|
-
/**
|
|
138
|
-
* Preffered url to access the repo.
|
|
139
|
-
* @return {string}
|
|
140
|
-
*/
|
|
141
|
-
/*get url() {
|
|
142
|
-
return this.urls[0];
|
|
143
|
-
}*/
|
|
144
|
-
|
|
145
137
|
/**
|
|
146
138
|
* The url used for cloning the repo.
|
|
147
139
|
* @return {string}
|
|
@@ -166,14 +158,6 @@ export class Repository extends OwnedObject {
|
|
|
166
158
|
return undefined;
|
|
167
159
|
}
|
|
168
160
|
|
|
169
|
-
/**
|
|
170
|
-
* Name without owner.
|
|
171
|
-
* @return {string} name
|
|
172
|
-
*/
|
|
173
|
-
get condensedName() {
|
|
174
|
-
return this.name;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
161
|
/**
|
|
178
162
|
* By default we are not archived.
|
|
179
163
|
* @return {boolean} false
|