@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-SKVQFVG7.mjs
packages/ari/chunk-SKVQFVG7.mjsDeleted
−67
Index: package/packages/ari/chunk-SKVQFVG7.mjs
===================================================================
--- package/packages/ari/chunk-SKVQFVG7.mjs
+++ package/packages/ari/chunk-SKVQFVG7.mjs
@@ -1,67 +0,0 @@
-import {
-  GraphDevopsComponentAriResourceOwner,
-  GraphDevopsComponentAriResourceType
-} from "./chunk-HLKEKPMY.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/graph/devops-component/manifest.ts
-var graphDevopsComponentAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: GraphDevopsComponentAriResourceOwner,
-  resourceType: GraphDevopsComponentAriResourceType,
-  resourceIdSlug: "activation/{activationId}/{devopsComponentId}",
-  resourceIdSegmentFormats: {
-    activationId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    devopsComponentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
-  }
-};
-
-// src/graph/devops-component/index.ts
-var GraphDevopsComponentAri = class _GraphDevopsComponentAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._devopsComponentId = opts.resourceIdSegmentValues.devopsComponentId;
-  }
-  get activationId() {
-    return this._activationId;
-  }
-  get devopsComponentId() {
-    return this._devopsComponentId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: graphDevopsComponentAriStaticOpts.qualifier,
-      platformQualifier: graphDevopsComponentAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: graphDevopsComponentAriStaticOpts.resourceOwner,
-      resourceType: graphDevopsComponentAriStaticOpts.resourceType,
-      resourceId: `activation/${opts.activationId}/${opts.devopsComponentId}`,
-      resourceIdSegmentValues: {
-        activationId: opts.activationId,
-        devopsComponentId: opts.devopsComponentId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, graphDevopsComponentAriStaticOpts);
-    return new _GraphDevopsComponentAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, graphDevopsComponentAriStaticOpts);
-    return new _GraphDevopsComponentAri(opts);
-  }
-  getVariables() {
-    return {
-      activationId: this.activationId,
-      devopsComponentId: this.devopsComponentId
-    };
-  }
-};
-
-export {
-  GraphDevopsComponentAri
-};