@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/goal/index.js
~packages/ari/goal/index.jsModified
+4−15
Index: package/packages/ari/goal/index.js
===================================================================
--- package/packages/ari/goal/index.js
+++ package/packages/ari/goal/index.js
@@ -285,25 +285,22 @@
 var goalGoalTypeAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
-  // eslint-disable-line no-useless-escape
   resourceOwner: GoalGoalTypeAriResourceOwner,
   resourceType: GoalGoalTypeAriResourceType,
   resourceIdSlug: "{activationId}/{goalTypeId}",
   resourceIdSegmentFormats: {
     activationId: /[a-zA-Z0-9\-]+/,
     // eslint-disable-line no-useless-escape
     goalTypeId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
-    // eslint-disable-line no-useless-escape
   }
 };
 
 // src/goal/goal-type/index.ts
 var GoalGoalTypeAri = class _GoalGoalTypeAri extends RegisteredAri {
   constructor(opts) {
-    super(opts);
-    this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._goalTypeId = opts.resourceIdSegmentValues.goalTypeId;
+    super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._goalTypeId = opts.resourceIdSegmentValues.goalTypeId;
   }
   get siteId() {
     return this._siteId;
   }
@@ -348,25 +345,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;
   }
@@ -411,23 +405,20 @@
 var goalSiteAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
   resourceOwner: GoalSiteAriResourceOwner,
   resourceType: GoalSiteAriResourceType,
   resourceIdSlug: "{siteId}",
   resourceIdSegmentFormats: {
     siteId: /[a-zA-Z0-9_\-.]{1,255}/
-    // eslint-disable-line no-useless-escape
   }
 };
 
 // src/goal/site/index.ts
 var GoalSiteAri = class _GoalSiteAri extends RegisteredAri {
   constructor(opts) {
-    super(opts);
-    this._siteId = opts.resourceIdSegmentValues.siteId;
+    super(opts), this._siteId = opts.resourceIdSegmentValues.siteId;
   }
   get siteId() {
     return this._siteId;
   }
@@ -463,9 +454,8 @@
 var goalWorkspaceAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
   resourceOwner: GoalWorkspaceAriResourceOwner,
   resourceType: GoalWorkspaceAriResourceType,
   resourceIdSlug: "{activationId}",
   resourceIdSegmentFormats: {
@@ -476,10 +466,9 @@
 
 // src/goal/workspace/index.ts
 var GoalWorkspaceAri = class _GoalWorkspaceAri extends RegisteredAri {
   constructor(opts) {
-    super(opts);
-    this._activationId = opts.resourceIdSegmentValues.activationId;
+    super(opts), this._activationId = opts.resourceIdSegmentValues.activationId;
   }
   get activationId() {
     return this._activationId;
   }