Ben Hybert
03/02/2023, 12:19 PM[12:10:30.693] #9 74.85 @calcom/web:build: Type error: Property 'connectedCalendars' does not exist on type '({ integration: { credential: { type: string; id: number; userId: number | null; key: JsonValue; appId: string | null; invalid: boolean | null; }; credentials: { type: string; id: number; userId: number | null; key: JsonValue; appId: string | null; invalid: boolean | null; }[]; ... 31 more ...; __template?: string |...'.
[12:10:30.695] #9 74.85 @calcom/web:build:
[12:10:30.696] #9 74.85 @calcom/web:build: 84 | const calendarCredentials = getCalendarCredentials(user.credentials);
[12:10:30.697] #9 74.85 @calcom/web:build: 85 | // get all the connected integrations' calendars (from third party)
[12:10:30.699] #9 74.85 @calcom/web:build: > 86 | const { connectedCalendars } = await getConnectedCalendars(calendarCredentials, user.selectedCalendars);
[12:10:30.701] #9 74.85 @calcom/web:build: | ^
[12:10:30.702] #9 74.85 @calcom/web:build: 87 | const calendars = connectedCalendars.flatMap((c) => c.calendars).filter(notEmpty);
[12:10:30.703] #9 74.85 @calcom/web:build: 88 | const selectableCalendars = calendars.map((cal) => {
[12:10:30.705] #9 74.85 @calcom/web:build: 89 | return { selected: selectedCalendarIds.findIndex((s) => s.externalId === cal.externalId) > -1, ...cal };
[12:10:30.706] #9 75.08 @calcom/web:build: error Command failed with exit code 1.
[12:10:30.708] #9 75.08 @calcom/web:build: info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
[12:10:30.709] #9 75.08 @calcom/web:build: ERROR: command finished with error: command (apps/web) yarn run build exited (1)
[12:10:30.711] #9 75.08 command (apps/web) yarn run build exited (1)