@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/google/calendar-event/index.js~
packages/ari/google/calendar-event/index.jsModified+5−1
Index: package/packages/ari/google/calendar-event/index.js
===================================================================
--- package/packages/ari/google/calendar-event/index.js
+++ package/packages/ari/google/calendar-event/index.js
@@ -284,21 +284,25 @@
var googleCalendarEventAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GoogleCalendarEventAriResourceOwner,
resourceType: GoogleCalendarEventAriResourceType,
resourceIdSlug: "calendarId/{calendarId}/eventId/{eventId}",
resourceIdSegmentFormats: {
calendarId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
+ // eslint-disable-line no-useless-escape
eventId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
}
};
// src/google/calendar-event/index.ts
var GoogleCalendarEventAri = class _GoogleCalendarEventAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._calendarId = opts.resourceIdSegmentValues.calendarId, this._eventId = opts.resourceIdSegmentValues.eventId;
+ super(opts);
+ this._calendarId = opts.resourceIdSegmentValues.calendarId, this._eventId = opts.resourceIdSegmentValues.eventId;
}
get calendarId() {
return this._calendarId;
}