@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/avocado/index.js
~packages/ari/avocado/index.jsModified
+22−5
Index: package/packages/ari/avocado/index.js
===================================================================
--- package/packages/ari/avocado/index.js
+++ package/packages/ari/avocado/index.js
@@ -286,21 +286,25 @@
 var avocadoAnswerAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: AvocadoAnswerAriResourceOwner,
   resourceType: AvocadoAnswerAriResourceType,
   resourceIdSlug: "activation/{workspaceId}/{answerId}",
   resourceIdSegmentFormats: {
     workspaceId: /[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
     answerId: /[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
   }
 };
 
 // src/avocado/answer/index.ts
 var AvocadoAnswerAri = class _AvocadoAnswerAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._answerId = opts.resourceIdSegmentValues.answerId;
+    super(opts);
+    this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._answerId = opts.resourceIdSegmentValues.answerId;
   }
   get siteId() {
     return this._siteId;
   }
@@ -345,21 +349,25 @@
 var avocadoQuestionAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: AvocadoQuestionAriResourceOwner,
   resourceType: AvocadoQuestionAriResourceType,
   resourceIdSlug: "activation/{workspaceId}/{questionId}",
   resourceIdSegmentFormats: {
     workspaceId: /[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
     questionId: /[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
   }
 };
 
 // src/avocado/question/index.ts
 var AvocadoQuestionAri = class _AvocadoQuestionAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._questionId = opts.resourceIdSegmentValues.questionId;
+    super(opts);
+    this._siteId = opts.cloudId || "", this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._questionId = opts.resourceIdSegmentValues.questionId;
   }
   get siteId() {
     return this._siteId;
   }
@@ -404,20 +412,23 @@
 var avocadoRoleAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: AvocadoRoleAriResourceOwner,
   resourceType: AvocadoRoleAriResourceType,
   resourceIdSlug: "product/{roleType}",
   resourceIdSegmentFormats: {
     roleType: /(?:member|admin)/
+    // eslint-disable-line no-useless-escape
   }
 };
 
 // src/avocado/role/index.ts
 var AvocadoRoleAri = class _AvocadoRoleAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._roleType = opts.resourceIdSegmentValues.roleType;
+    super(opts);
+    this._roleType = opts.resourceIdSegmentValues.roleType;
   }
   get roleType() {
     return this._roleType;
   }
@@ -453,20 +464,23 @@
 var avocadoSiteAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: AvocadoSiteAriResourceOwner,
   resourceType: AvocadoSiteAriResourceType,
   resourceIdSlug: "{siteId}",
   resourceIdSegmentFormats: {
     siteId: /[a-zA-Z0-9_\-.]{1,255}/
+    // eslint-disable-line no-useless-escape
   }
 };
 
 // src/avocado/site/index.ts
 var AvocadoSiteAri = class _AvocadoSiteAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._siteId = opts.resourceIdSegmentValues.siteId;
+    super(opts);
+    this._siteId = opts.resourceIdSegmentValues.siteId;
   }
   get siteId() {
     return this._siteId;
   }
@@ -502,20 +516,23 @@
 var avocadoUserAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
+  // eslint-disable-line no-useless-escape
   resourceOwner: AvocadoUserAriResourceOwner,
   resourceType: AvocadoUserAriResourceType,
   resourceIdSlug: "{userId}",
   resourceIdSegmentFormats: {
     userId: /[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
   }
 };
 
 // src/avocado/user/index.ts
 var AvocadoUserAri = class _AvocadoUserAri extends RegisteredAri {
   constructor(opts) {
-    super(opts), this._userId = opts.resourceIdSegmentValues.userId;
+    super(opts);
+    this._userId = opts.resourceIdSegmentValues.userId;
   }
   get userId() {
     return this._userId;
   }