@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/google.google-calendar/index.js~
packages/ari/google.google-calendar/index.jsModified+1−5
Index: package/packages/ari/google.google-calendar/index.js
===================================================================
--- package/packages/ari/google.google-calendar/index.js
+++ package/packages/ari/google.google-calendar/index.js
@@ -282,25 +282,21 @@
var googleGoogleCalendarCalendarEventAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: GoogleGoogleCalendarCalendarEventAriResourceOwner,
resourceType: GoogleGoogleCalendarCalendarEventAriResourceType,
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.google-calendar/calendar-event/index.ts
var GoogleGoogleCalendarCalendarEventAri = class _GoogleGoogleCalendarCalendarEventAri 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;
}