npm package diff

Package: @forge/util

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

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

Index: package/packages/ari/chunk-TKBVQUIT.mjs
===================================================================
--- package/packages/ari/chunk-TKBVQUIT.mjs
+++ package/packages/ari/chunk-TKBVQUIT.mjs
@@ -1,66 +0,0 @@
-import {
-  ConfluenceUserPropertyAriResourceOwner,
-  ConfluenceUserPropertyAriResourceType
-} from "./chunk-NW7N5UEI.mjs";
-import {
-  RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
-  AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/confluence/user-property/manifest.ts
-var confluenceUserPropertyAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
-  resourceOwner: ConfluenceUserPropertyAriResourceOwner,
-  resourceType: ConfluenceUserPropertyAriResourceType,
-  resourceIdSlug: "{userPropertyId}",
-  resourceIdSegmentFormats: {
-    userPropertyId: /[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/confluence/user-property/index.ts
-var ConfluenceUserPropertyAri = class _ConfluenceUserPropertyAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._siteId = opts.cloudId || "", this._userPropertyId = opts.resourceIdSegmentValues.userPropertyId;
-  }
-  get siteId() {
-    return this._siteId;
-  }
-  get userPropertyId() {
-    return this._userPropertyId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: confluenceUserPropertyAriStaticOpts.qualifier,
-      platformQualifier: confluenceUserPropertyAriStaticOpts.platformQualifier,
-      cloudId: opts.siteId,
-      resourceOwner: confluenceUserPropertyAriStaticOpts.resourceOwner,
-      resourceType: confluenceUserPropertyAriStaticOpts.resourceType,
-      resourceId: `${opts.userPropertyId}`,
-      resourceIdSegmentValues: {
-        userPropertyId: opts.userPropertyId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, confluenceUserPropertyAriStaticOpts);
-    return new _ConfluenceUserPropertyAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, confluenceUserPropertyAriStaticOpts);
-    return new _ConfluenceUserPropertyAri(opts);
-  }
-  getVariables() {
-    return {
-      siteId: this.siteId,
-      userPropertyId: this.userPropertyId
-    };
-  }
-};
-
-export {
-  ConfluenceUserPropertyAri
-};