@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/jira/entity-property/index.js~
packages/ari/jira/entity-property/index.jsModified+6−1
Index: package/packages/ari/jira/entity-property/index.js
===================================================================
--- package/packages/ari/jira/entity-property/index.js
+++ package/packages/ari/jira/entity-property/index.js
@@ -284,24 +284,29 @@
var jiraEntityPropertyAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: JiraEntityPropertyAriResourceOwner,
resourceType: JiraEntityPropertyAriResourceType,
resourceIdSlug: "activation/{activationId}/{entityType}/{entityId}/{propertyKey}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
entityType: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
+ // eslint-disable-line no-useless-escape
entityId: /[0-9]+/,
+ // eslint-disable-line no-useless-escape
propertyKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
}
};
// src/jira/entity-property/index.ts
var JiraEntityPropertyAri = class _JiraEntityPropertyAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._entityType = opts.resourceIdSegmentValues.entityType, this._entityId = opts.resourceIdSegmentValues.entityId, this._propertyKey = opts.resourceIdSegmentValues.propertyKey;
+ super(opts);
+ this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._entityType = opts.resourceIdSegmentValues.entityType, this._entityId = opts.resourceIdSegmentValues.entityId, this._propertyKey = opts.resourceIdSegmentValues.propertyKey;
}
get siteId() {
return this._siteId;
}