npm package diff

Package: @forge/util

Versions: 1.4.10-next.0 - 1.4.10-next.0-experimental-effab31

File: package/packages/ari/chunk-C5AFKJ2Q.mjs

Index: package/packages/ari/chunk-C5AFKJ2Q.mjs
===================================================================
--- package/packages/ari/chunk-C5AFKJ2Q.mjs
+++ package/packages/ari/chunk-C5AFKJ2Q.mjs
@@ -1,69 +0,0 @@
-import {
-  OpsgenieIncidentStatusUpdateAriResourceOwner,
-  OpsgenieIncidentStatusUpdateAriResourceType
-} from "./chunk-RO4YS42G.mjs";
-import {
-  RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
-  AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/opsgenie/incident-status-update/manifest.ts
-var opsgenieIncidentStatusUpdateAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: OpsgenieIncidentStatusUpdateAriResourceOwner,
-  resourceType: OpsgenieIncidentStatusUpdateAriResourceType,
-  resourceIdSlug: "{workspaceId}/{incidentStatusUpdateId}",
-  resourceIdSegmentFormats: {
-    workspaceId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    incidentStatusUpdateId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
-    // eslint-disable-line no-useless-escape
-  }
-};
-
-// src/opsgenie/incident-status-update/index.ts
-var OpsgenieIncidentStatusUpdateAri = class _OpsgenieIncidentStatusUpdateAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._incidentStatusUpdateId = opts.resourceIdSegmentValues.incidentStatusUpdateId;
-  }
-  get workspaceId() {
-    return this._workspaceId;
-  }
-  get incidentStatusUpdateId() {
-    return this._incidentStatusUpdateId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: opsgenieIncidentStatusUpdateAriStaticOpts.qualifier,
-      platformQualifier: opsgenieIncidentStatusUpdateAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: opsgenieIncidentStatusUpdateAriStaticOpts.resourceOwner,
-      resourceType: opsgenieIncidentStatusUpdateAriStaticOpts.resourceType,
-      resourceId: `${opts.workspaceId}/${opts.incidentStatusUpdateId}`,
-      resourceIdSegmentValues: {
-        workspaceId: opts.workspaceId,
-        incidentStatusUpdateId: opts.incidentStatusUpdateId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, opsgenieIncidentStatusUpdateAriStaticOpts);
-    return new _OpsgenieIncidentStatusUpdateAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, opsgenieIncidentStatusUpdateAriStaticOpts);
-    return new _OpsgenieIncidentStatusUpdateAri(opts);
-  }
-  getVariables() {
-    return {
-      workspaceId: this.workspaceId,
-      incidentStatusUpdateId: this.incidentStatusUpdateId
-    };
-  }
-};
-
-export {
-  OpsgenieIncidentStatusUpdateAri
-};