@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/chunk-HMFX475U.mjs−
packages/ari/chunk-HMFX475U.mjsDeleted−70
Index: package/packages/ari/chunk-HMFX475U.mjs
===================================================================
--- package/packages/ari/chunk-HMFX475U.mjs
+++ package/packages/ari/chunk-HMFX475U.mjs
@@ -1,70 +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("^$"),
- // eslint-disable-line no-useless-escape
- 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\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
- }
-};
-
-// 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
-};