@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/jira/project-feature/index.js~
packages/ari/jira/project-feature/index.jsModified+1−5
Index: package/packages/ari/jira/project-feature/index.js
===================================================================
--- package/packages/ari/jira/project-feature/index.js
+++ package/packages/ari/jira/project-feature/index.js
@@ -284,27 +284,23 @@
var jiraProjectFeatureAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: JiraProjectFeatureAriResourceOwner,
resourceType: JiraProjectFeatureAriResourceType,
resourceIdSlug: "activation/{activationId}/{projectId}/featureKey/{featureKey}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
projectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,
- // eslint-disable-line no-useless-escape
featureKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/jira/project-feature/index.ts
var JiraProjectFeatureAri = class _JiraProjectFeatureAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._projectId = opts.resourceIdSegmentValues.projectId, this._featureKey = opts.resourceIdSegmentValues.featureKey;
+ super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._projectId = opts.resourceIdSegmentValues.projectId, this._featureKey = opts.resourceIdSegmentValues.featureKey;
}
get siteId() {
return this._siteId;
}