@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-HB4UWBK5.mjs
packages/ari/chunk-HB4UWBK5.mjsDeleted
−60
Index: package/packages/ari/chunk-HB4UWBK5.mjs
===================================================================
--- package/packages/ari/chunk-HB4UWBK5.mjs
+++ package/packages/ari/chunk-HB4UWBK5.mjs
@@ -1,60 +0,0 @@
-import {
-  PlatformCompassAriResourceOwner,
-  PlatformCompassAriResourceType
-} from "./chunk-FAJ3STVW.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/platform/compass/manifest.ts
-var platformCompassAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: PlatformCompassAriResourceOwner,
-  resourceType: PlatformCompassAriResourceType,
-  resourceIdSlug: "{productEntityId}",
-  resourceIdSegmentFormats: {
-    productEntityId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
-  }
-};
-
-// src/platform/compass/index.ts
-var PlatformCompassAri = class _PlatformCompassAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._productEntityId = opts.resourceIdSegmentValues.productEntityId;
-  }
-  get productEntityId() {
-    return this._productEntityId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: platformCompassAriStaticOpts.qualifier,
-      platformQualifier: platformCompassAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: platformCompassAriStaticOpts.resourceOwner,
-      resourceType: platformCompassAriStaticOpts.resourceType,
-      resourceId: `${opts.productEntityId}`,
-      resourceIdSegmentValues: {
-        productEntityId: opts.productEntityId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, platformCompassAriStaticOpts);
-    return new _PlatformCompassAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, platformCompassAriStaticOpts);
-    return new _PlatformCompassAri(opts);
-  }
-  getVariables() {
-    return {
-      productEntityId: this.productEntityId
-    };
-  }
-};
-
-export {
-  PlatformCompassAri
-};