@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/jira/project-role-by-project/index.js~
packages/ari/jira/project-role-by-project/index.jsModified+1−5
Index: package/packages/ari/jira/project-role-by-project/index.js
===================================================================
--- package/packages/ari/jira/project-role-by-project/index.js
+++ package/packages/ari/jira/project-role-by-project/index.js
@@ -284,27 +284,23 @@
var jiraProjectRoleByProjectAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: JiraProjectRoleByProjectAriResourceOwner,
resourceType: JiraProjectRoleByProjectAriResourceType,
resourceIdSlug: "activation/{activationId}/project/{projectId}/projectrole/{projectRoleId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
projectId: /[0-9]+/,
- // eslint-disable-line no-useless-escape
projectRoleId: /[0-9]+/
- // eslint-disable-line no-useless-escape
}
};
// src/jira/project-role-by-project/index.ts
var JiraProjectRoleByProjectAri = class _JiraProjectRoleByProjectAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._projectId = opts.resourceIdSegmentValues.projectId, this._projectRoleId = opts.resourceIdSegmentValues.projectRoleId;
+ super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._projectId = opts.resourceIdSegmentValues.projectId, this._projectRoleId = opts.resourceIdSegmentValues.projectRoleId;
}
get siteId() {
return this._siteId;
}