@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/gitlab.gitlab/index.js~
packages/ari/gitlab.gitlab/index.jsModified+9−2
Index: package/packages/ari/gitlab.gitlab/index.js
===================================================================
--- package/packages/ari/gitlab.gitlab/index.js
+++ package/packages/ari/gitlab.gitlab/index.js
@@ -283,21 +283,25 @@
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;
}
@@ -338,20 +342,23 @@
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;
}