@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/chunk-V3SIM7JF.mjs
packages/ari/chunk-V3SIM7JF.mjsDeleted
−63
Index: package/packages/ari/chunk-V3SIM7JF.mjs
===================================================================
--- package/packages/ari/chunk-V3SIM7JF.mjs
+++ package/packages/ari/chunk-V3SIM7JF.mjs
@@ -1,63 +0,0 @@
-import {
-  EcosystemAppAriResourceOwner,
-  EcosystemAppAriResourceType
-} from "./chunk-ZSCWAZK4.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/ecosystem/app/manifest.ts
-var ecosystemAppAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
-  resourceOwner: EcosystemAppAriResourceOwner,
-  resourceType: EcosystemAppAriResourceType,
-  resourceIdSlug: "{appId}",
-  resourceIdSegmentFormats: {
-    appId: /[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/ecosystem/app/index.ts
-var EcosystemAppAri = class _EcosystemAppAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._appId = opts.resourceIdSegmentValues.appId;
-  }
-  get appId() {
-    return this._appId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: ecosystemAppAriStaticOpts.qualifier,
-      platformQualifier: ecosystemAppAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: ecosystemAppAriStaticOpts.resourceOwner,
-      resourceType: ecosystemAppAriStaticOpts.resourceType,
-      resourceId: `${opts.appId}`,
-      resourceIdSegmentValues: {
-        appId: opts.appId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, ecosystemAppAriStaticOpts);
-    return new _EcosystemAppAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, ecosystemAppAriStaticOpts);
-    return new _EcosystemAppAri(opts);
-  }
-  getVariables() {
-    return {
-      appId: this.appId
-    };
-  }
-};
-
-export {
-  EcosystemAppAri
-};