@gitbeaker/core 35.0.0 → 35.1.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/dist/index.es.js +5 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/map.json +1 -1
- package/dist/types/resources/Tags.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -2376,8 +2376,11 @@ var Tags = /** @class */ (function (_super) {
|
|
|
2376
2376
|
Tags.prototype.all = function (projectId, options) {
|
|
2377
2377
|
return RequestHelper.get()(this, endpoint(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["projects/", "/repository/tags"], ["projects/", "/repository/tags"])), projectId), options);
|
|
2378
2378
|
};
|
|
2379
|
-
Tags.prototype.create = function (projectId, options) {
|
|
2380
|
-
return RequestHelper.post()(this, endpoint(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["projects/", "/repository/tags"], ["projects/", "/repository/tags"])), projectId),
|
|
2379
|
+
Tags.prototype.create = function (projectId, tagName, ref, options) {
|
|
2380
|
+
return RequestHelper.post()(this, endpoint(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["projects/", "/repository/tags"], ["projects/", "/repository/tags"])), projectId), __assign({ query: {
|
|
2381
|
+
tagName: tagName,
|
|
2382
|
+
ref: ref,
|
|
2383
|
+
} }, options));
|
|
2381
2384
|
};
|
|
2382
2385
|
Tags.prototype.remove = function (projectId, tagName, options) {
|
|
2383
2386
|
return RequestHelper.del()(this, endpoint(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["projects/", "/repository/tags/", ""], ["projects/", "/repository/tags/", ""])), projectId, tagName), options);
|