@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/papi/index.js
~packages/ari/papi/index.jsModified
+3−7
Index: package/packages/ari/papi/index.js
===================================================================
--- package/packages/ari/papi/index.js
+++ package/packages/ari/papi/index.js
@@ -276,30 +276,27 @@
   }
 };
 
 // src/papi/api/types.ts
-var PapiApiAriResourceOwner = "papi", PapiApiAriResourceType = "api";
+var PapiApiAriResourceOwner = "papi";
 
 // src/papi/api/manifest.ts
 var papiApiAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
   resourceOwner: PapiApiAriResourceOwner,
-  resourceType: PapiApiAriResourceType,
+  resourceType: "api",
   resourceIdSlug: "catalog/{uuid}",
   resourceIdSegmentFormats: {
     uuid: /[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/papi/api/index.ts
 var PapiApiAri = class _PapiApiAri extends RegisteredAri {
   constructor(opts) {
-    super(opts);
-    this._uuid = opts.resourceIdSegmentValues.uuid;
+    super(opts), this._uuid = opts.resourceIdSegmentValues.uuid;
   }
   get uuid() {
     return this._uuid;
   }
@@ -335,9 +332,8 @@
 var papiRoleAriStaticOpts = {
   qualifier: "ari",
   platformQualifier: "cloud",
   cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
   resourceOwner: PapiRoleAriResourceOwner,
   resourceType: PapiRoleAriResourceType,
   resourceIdSlug: "partner",
   resourceIdSegmentFormats: {}