@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/chunk-CEZUFXIC.mjs
packages/ari/chunk-CEZUFXIC.mjsDeleted
−70
Index: package/packages/ari/chunk-CEZUFXIC.mjs
===================================================================
--- package/packages/ari/chunk-CEZUFXIC.mjs
+++ package/packages/ari/chunk-CEZUFXIC.mjs
@@ -1,70 +0,0 @@
-import {
-  GraphCalendarEventAriResourceOwner,
-  GraphCalendarEventAriResourceType
-} from "./chunk-GLGAYLO3.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/graph/calendar-event/manifest.ts
-var graphCalendarEventAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
-  resourceOwner: GraphCalendarEventAriResourceOwner,
-  resourceType: GraphCalendarEventAriResourceType,
-  resourceIdSlug: "activation/{activationId}/{calendarEventId}",
-  resourceIdSegmentFormats: {
-    activationId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    calendarEventId: /[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/calendar-event/index.ts
-var GraphCalendarEventAri = class _GraphCalendarEventAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._activationId = opts.resourceIdSegmentValues.activationId, this._calendarEventId = opts.resourceIdSegmentValues.calendarEventId;
-  }
-  get activationId() {
-    return this._activationId;
-  }
-  get calendarEventId() {
-    return this._calendarEventId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: graphCalendarEventAriStaticOpts.qualifier,
-      platformQualifier: graphCalendarEventAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: graphCalendarEventAriStaticOpts.resourceOwner,
-      resourceType: graphCalendarEventAriStaticOpts.resourceType,
-      resourceId: `activation/${opts.activationId}/${opts.calendarEventId}`,
-      resourceIdSegmentValues: {
-        activationId: opts.activationId,
-        calendarEventId: opts.calendarEventId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, graphCalendarEventAriStaticOpts);
-    return new _GraphCalendarEventAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, graphCalendarEventAriStaticOpts);
-    return new _GraphCalendarEventAri(opts);
-  }
-  getVariables() {
-    return {
-      activationId: this.activationId,
-      calendarEventId: this.calendarEventId
-    };
-  }
-};
-
-export {
-  GraphCalendarEventAri
-};