npm package diff

Package: @forge/util

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

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

Index: package/packages/ari/chunk-Z3BITGQJ.mjs
===================================================================
--- package/packages/ari/chunk-Z3BITGQJ.mjs
+++ package/packages/ari/chunk-Z3BITGQJ.mjs
@@ -1,69 +0,0 @@
-import {
-  GraphJiraProjectAndDevopsToolRelationshipAriResourceOwner,
-  GraphJiraProjectAndDevopsToolRelationshipAriResourceType
-} from "./chunk-2A255S76.mjs";
-import {
-  RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
-  AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/graph/jira-project-and-devops-tool-relationship/manifest.ts
-var graphJiraProjectAndDevopsToolRelationshipAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: GraphJiraProjectAndDevopsToolRelationshipAriResourceOwner,
-  resourceType: GraphJiraProjectAndDevopsToolRelationshipAriResourceType,
-  resourceIdSlug: "{workspaceId}/{relationshipId}",
-  resourceIdSegmentFormats: {
-    workspaceId: /[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
-    relationshipId: /[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/jira-project-and-devops-tool-relationship/index.ts
-var GraphJiraProjectAndDevopsToolRelationshipAri = class _GraphJiraProjectAndDevopsToolRelationshipAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._relationshipId = opts.resourceIdSegmentValues.relationshipId;
-  }
-  get workspaceId() {
-    return this._workspaceId;
-  }
-  get relationshipId() {
-    return this._relationshipId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: graphJiraProjectAndDevopsToolRelationshipAriStaticOpts.qualifier,
-      platformQualifier: graphJiraProjectAndDevopsToolRelationshipAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: graphJiraProjectAndDevopsToolRelationshipAriStaticOpts.resourceOwner,
-      resourceType: graphJiraProjectAndDevopsToolRelationshipAriStaticOpts.resourceType,
-      resourceId: `${opts.workspaceId}/${opts.relationshipId}`,
-      resourceIdSegmentValues: {
-        workspaceId: opts.workspaceId,
-        relationshipId: opts.relationshipId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, graphJiraProjectAndDevopsToolRelationshipAriStaticOpts);
-    return new _GraphJiraProjectAndDevopsToolRelationshipAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, graphJiraProjectAndDevopsToolRelationshipAriStaticOpts);
-    return new _GraphJiraProjectAndDevopsToolRelationshipAri(opts);
-  }
-  getVariables() {
-    return {
-      workspaceId: this.workspaceId,
-      relationshipId: this.relationshipId
-    };
-  }
-};
-
-export {
-  GraphJiraProjectAndDevopsToolRelationshipAri
-};