@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/gitlab.gitlab/index.js~
packages/ari/gitlab.gitlab/index.jsModified+2−9
Index: package/packages/ari/gitlab.gitlab/index.js
===================================================================
--- package/packages/ari/gitlab.gitlab/index.js
+++ package/packages/ari/gitlab.gitlab/index.js
@@ -283,25 +283,21 @@
var gitlabGitlabRemoteLinkAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GitlabGitlabRemoteLinkAriResourceOwner,
resourceType: GitlabGitlabRemoteLinkAriResourceType,
resourceIdSlug: "{category}/{remoteLinkId}",
resourceIdSegmentFormats: {
category: /[a-zA-Z]+/,
- // eslint-disable-line no-useless-escape
remoteLinkId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/gitlab.gitlab/remote-link/index.ts
var GitlabGitlabRemoteLinkAri = class _GitlabGitlabRemoteLinkAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._category = opts.resourceIdSegmentValues.category, this._remoteLinkId = opts.resourceIdSegmentValues.remoteLinkId;
+ super(opts), this._category = opts.resourceIdSegmentValues.category, this._remoteLinkId = opts.resourceIdSegmentValues.remoteLinkId;
}
get category() {
return this._category;
}
@@ -342,23 +338,20 @@
var gitlabGitlabRepositoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GitlabGitlabRepositoryAriResourceOwner,
resourceType: GitlabGitlabRepositoryAriResourceType,
resourceIdSlug: "project/{projectId}",
resourceIdSegmentFormats: {
projectId: /[0-9]+/
- // eslint-disable-line no-useless-escape
}
};
// src/gitlab.gitlab/repository/index.ts
var GitlabGitlabRepositoryAri = class _GitlabGitlabRepositoryAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._projectId = opts.resourceIdSegmentValues.projectId;
+ super(opts), this._projectId = opts.resourceIdSegmentValues.projectId;
}
get projectId() {
return this._projectId;
}