@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/microsoft/calendar-event/index.js~
packages/ari/microsoft/calendar-event/index.jsModified+1−5
Index: package/packages/ari/microsoft/calendar-event/index.js
===================================================================
--- package/packages/ari/microsoft/calendar-event/index.js
+++ package/packages/ari/microsoft/calendar-event/index.js
@@ -284,25 +284,21 @@
var microsoftCalendarEventAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MicrosoftCalendarEventAriResourceOwner,
resourceType: MicrosoftCalendarEventAriResourceType,
resourceIdSlug: "outlook/userId/{userId}/calendarEventId/{calendarEventId}",
resourceIdSegmentFormats: {
userId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
calendarEventId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/microsoft/calendar-event/index.ts
var MicrosoftCalendarEventAri = class _MicrosoftCalendarEventAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._userId = opts.resourceIdSegmentValues.userId, this._calendarEventId = opts.resourceIdSegmentValues.calendarEventId;
+ super(opts), this._userId = opts.resourceIdSegmentValues.userId, this._calendarEventId = opts.resourceIdSegmentValues.calendarEventId;
}
get userId() {
return this._userId;
}