@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/goal/metric-update/index.js~
packages/ari/goal/metric-update/index.jsModified+1−4
Index: package/packages/ari/goal/metric-update/index.js
===================================================================
--- package/packages/ari/goal/metric-update/index.js
+++ package/packages/ari/goal/metric-update/index.js
@@ -284,25 +284,22 @@
var goalMetricUpdateAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GoalMetricUpdateAriResourceOwner,
resourceType: GoalMetricUpdateAriResourceType,
resourceIdSlug: "{activationId}/{goalMetricUpdateId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
goalMetricUpdateId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/goal/metric-update/index.ts
var GoalMetricUpdateAri = class _GoalMetricUpdateAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._goalMetricUpdateId = opts.resourceIdSegmentValues.goalMetricUpdateId;
+ super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._goalMetricUpdateId = opts.resourceIdSegmentValues.goalMetricUpdateId;
}
get siteId() {
return this._siteId;
}