@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-TUG6T3I2.mjs
packages/ari/chunk-TUG6T3I2.mjsDeleted
−67
Index: package/packages/ari/chunk-TUG6T3I2.mjs
===================================================================
--- package/packages/ari/chunk-TUG6T3I2.mjs
+++ package/packages/ari/chunk-TUG6T3I2.mjs
@@ -1,67 +0,0 @@
-import {
-  GraphExperimentalAriResourceOwner,
-  GraphExperimentalAriResourceType
-} from "./chunk-BXX7NX6V.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/graph/experimental/manifest.ts
-var graphExperimentalAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: GraphExperimentalAriResourceOwner,
-  resourceType: GraphExperimentalAriResourceType,
-  resourceIdSlug: "activation/{activationId}/{experimentalId}",
-  resourceIdSegmentFormats: {
-    activationId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    experimentalId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
-  }
-};
-
-// src/graph/experimental/index.ts
-var GraphExperimentalAri = class _GraphExperimentalAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._experimentalId = opts.resourceIdSegmentValues.experimentalId;
-  }
-  get activationId() {
-    return this._activationId;
-  }
-  get experimentalId() {
-    return this._experimentalId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: graphExperimentalAriStaticOpts.qualifier,
-      platformQualifier: graphExperimentalAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: graphExperimentalAriStaticOpts.resourceOwner,
-      resourceType: graphExperimentalAriStaticOpts.resourceType,
-      resourceId: `activation/${opts.activationId}/${opts.experimentalId}`,
-      resourceIdSegmentValues: {
-        activationId: opts.activationId,
-        experimentalId: opts.experimentalId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, graphExperimentalAriStaticOpts);
-    return new _GraphExperimentalAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, graphExperimentalAriStaticOpts);
-    return new _GraphExperimentalAri(opts);
-  }
-  getVariables() {
-    return {
-      activationId: this.activationId,
-      experimentalId: this.experimentalId
-    };
-  }
-};
-
-export {
-  GraphExperimentalAri
-};