Skip to content

Commit

Permalink
ZBUG-3422 added timezoneOffset to event instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaram-mulik-synacor authored and silentsakky committed Aug 29, 2023
1 parent 60f6d4f commit b8cd708
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/normalize/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ const commonInviteFields = {
invId: 'inviteId',
loc: 'location',
or: ['organizer', CalendarItemOrganizer],
ridZ: 'utcRecurrenceId'
ridZ: 'utcRecurrenceId',
tzo: 'timezoneOffset'
};

const InviteComponent = new Entity({
Expand Down Expand Up @@ -368,7 +369,6 @@ export const CalendarItemHitInfo = new Entity({
recur: 'isRecurring',
ptst: 'participationStatus',
dur: 'duration',
tzo: 'timezoneOffset',
otherAtt: 'otherAttendees',
inst: ['instances', Instance],
inv: ['invitations', Invitation],
Expand Down
1 change: 1 addition & 0 deletions src/schema/generated-schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2003,6 +2003,7 @@ export type Instance = {
revision?: Maybe<Scalars['Float']>;
start?: Maybe<Scalars['Float']>;
status?: Maybe<InviteCompletionStatus>;
timezoneOffset?: Maybe<Scalars['Int']>;
tzoDue?: Maybe<Scalars['Int']>;
utcRecurrenceId?: Maybe<Scalars['String']>;
};
Expand Down
1 change: 1 addition & 0 deletions src/schema/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ type Instance {
status: InviteCompletionStatus
isOrganizer: Boolean # isOrg
exceptId: [DtTimeInfo]
timezoneOffset: Int
}

type Alarm {
Expand Down

0 comments on commit b8cd708

Please sign in to comment.