feat: add option to disable sending transcription emails (#19065)
* feat: add option to disable sending transcription emails * fix: types and tests * fix: type error * fix: type err * fix: type err --------- Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
17 files changed
+83
-30
No files matched your search
+5
-2
@@ -30,7 +30,10 @@ type res = Awaited<
|
||||
ReturnType<typeof MembershipRepository.findAllByUpIdIncludeMinimalEventTypes>
|
||||
>[number]["team"]["eventTypes"][number];
|
||||
|
||||
type EventType = Omit<res, "forwardParamsSuccessRedirect"> & { children?: { id: number }[] };
|
||||
type EventType = Omit<res, "forwardParamsSuccessRedirect"> & {
|
||||
children?: { id: number }[];
|
||||
canSendCalVideoTranscriptionEmails?: boolean;
|
||||
};
|
||||
|
||||
export const getTeamAndEventTypeOptions = async ({ ctx, input }: GetTeamAndEventTypeOptions) => {
|
||||
await checkRateLimitAndThrowError({
|
||||
@@ -119,7 +122,7 @@ export const getTeamAndEventTypeOptions = async ({ ctx, input }: GetTeamAndEvent
|
||||
name: profile.name,
|
||||
eventTypesLockedByOrg: parentOrgHasLockedEventTypes,
|
||||
},
|
||||
eventTypes: profileEventTypes,
|
||||
eventTypes: profileEventTypes as EventType[],
|
||||
});
|
||||
|
||||
eventTypeGroups = ([] as EventTypeGroup[]).concat(
|
||||
|
||||
Reference in new issue
Block a user