@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-MP6NMRV2.mjs
packages/ari/chunk-MP6NMRV2.mjsDeleted
−66
Index: package/packages/ari/chunk-MP6NMRV2.mjs
===================================================================
--- package/packages/ari/chunk-MP6NMRV2.mjs
+++ package/packages/ari/chunk-MP6NMRV2.mjs
@@ -1,66 +0,0 @@
-import {
-  TrelloNotificationAriResourceOwner,
-  TrelloNotificationAriResourceType
-} from "./chunk-E2S2RGYS.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/trello/notification/manifest.ts
-var trelloNotificationAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: TrelloNotificationAriResourceOwner,
-  resourceType: TrelloNotificationAriResourceType,
-  resourceIdSlug: "member/{memberId}/{notificationId}",
-  resourceIdSegmentFormats: {
-    memberId: /[a-zA-Z0-9\-_.]*/,
-    notificationId: /[a-zA-Z0-9\-_.]*/
-  }
-};
-
-// src/trello/notification/index.ts
-var TrelloNotificationAri = class _TrelloNotificationAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._memberId = opts.resourceIdSegmentValues.memberId, this._notificationId = opts.resourceIdSegmentValues.notificationId;
-  }
-  get memberId() {
-    return this._memberId;
-  }
-  get notificationId() {
-    return this._notificationId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: trelloNotificationAriStaticOpts.qualifier,
-      platformQualifier: trelloNotificationAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: trelloNotificationAriStaticOpts.resourceOwner,
-      resourceType: trelloNotificationAriStaticOpts.resourceType,
-      resourceId: `member/${opts.memberId}/${opts.notificationId}`,
-      resourceIdSegmentValues: {
-        memberId: opts.memberId || "",
-        notificationId: opts.notificationId || ""
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, trelloNotificationAriStaticOpts);
-    return new _TrelloNotificationAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, trelloNotificationAriStaticOpts);
-    return new _TrelloNotificationAri(opts);
-  }
-  getVariables() {
-    return {
-      memberId: this.memberId,
-      notificationId: this.notificationId
-    };
-  }
-};
-
-export {
-  TrelloNotificationAri
-};