npm package diff
Package: @forge/util
Versions: 1.4.10-next.0 - 1.4.10-next.0-experimental-effab31
File: package/packages/ari/chunk-OJY3UFSL.mjs
Index: package/packages/ari/chunk-OJY3UFSL.mjs
===================================================================
--- package/packages/ari/chunk-OJY3UFSL.mjs
+++ package/packages/ari/chunk-OJY3UFSL.mjs
@@ -1,69 +0,0 @@
-import {
- GraphPostIncidentReviewAriResourceOwner,
- GraphPostIncidentReviewAriResourceType
-} from "./chunk-SNAPC4SA.mjs";
-import {
- RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
- AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/graph/post-incident-review/manifest.ts
-var graphPostIncidentReviewAriStaticOpts = {
- qualifier: "ari",
- platformQualifier: "cloud",
- cloudId: new RegExp("^$"),
- resourceOwner: GraphPostIncidentReviewAriResourceOwner,
- resourceType: GraphPostIncidentReviewAriResourceType,
- resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}",
- resourceIdSegmentFormats: {
- activationId: /[a-zA-Z0-9\-]+/,
- // eslint-disable-line no-useless-escape
- postIncidentReviewId: /[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/graph/post-incident-review/index.ts
-var GraphPostIncidentReviewAri = class _GraphPostIncidentReviewAri extends RegisteredAri {
- constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._postIncidentReviewId = opts.resourceIdSegmentValues.postIncidentReviewId;
- }
- get activationId() {
- return this._activationId;
- }
- get postIncidentReviewId() {
- return this._postIncidentReviewId;
- }
- static create(opts) {
- let derivedOpts = {
- qualifier: graphPostIncidentReviewAriStaticOpts.qualifier,
- platformQualifier: graphPostIncidentReviewAriStaticOpts.platformQualifier,
- cloudId: void 0,
- resourceOwner: graphPostIncidentReviewAriStaticOpts.resourceOwner,
- resourceType: graphPostIncidentReviewAriStaticOpts.resourceType,
- resourceId: `activation/${opts.activationId}/${opts.postIncidentReviewId}`,
- resourceIdSegmentValues: {
- activationId: opts.activationId,
- postIncidentReviewId: opts.postIncidentReviewId
- }
- }, ariOpts = AriParser.fromOpts(derivedOpts, graphPostIncidentReviewAriStaticOpts);
- return new _GraphPostIncidentReviewAri(ariOpts);
- }
- static parse(maybeAri) {
- let opts = AriParser.fromString(maybeAri, graphPostIncidentReviewAriStaticOpts);
- return new _GraphPostIncidentReviewAri(opts);
- }
- getVariables() {
- return {
- activationId: this.activationId,
- postIncidentReviewId: this.postIncidentReviewId
- };
- }
-};
-
-export {
- GraphPostIncidentReviewAri
-};