feat: create trpc route to fetch download link (#7495)
* feat: create trpc route to fetch download link Signed-off-by: Udit Takkar <[email protected]> * fix: removing file, adding isdownloadable logix Signed-off-by: Udit Takkar <[email protected]> * chore Signed-off-by: Udit Takkar <[email protected]> * fix: type error Signed-off-by: Udit Takkar <[email protected]> * Some performance enhancements and better error logging * Add error message here too --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
cc1d606ba8
commit
2dddd4ce77
8 files changed
+204
-122
No files matched your search
Vendored
+4
-2
@@ -1,7 +1,7 @@
|
||||
import { GetRecordingsResponseSchema } from "@calcom/prisma/zod-utils";
|
||||
import type { GetRecordingsResponseSchema, GetAccessLinkResponseSchema } from "@calcom/prisma/zod-utils";
|
||||
|
||||
import type { EventBusyDate } from "./Calendar";
|
||||
import { CredentialPayload } from "./Credential";
|
||||
import type { CredentialPayload } from "./Credential";
|
||||
|
||||
export interface VideoCallData {
|
||||
type: string;
|
||||
@@ -22,6 +22,8 @@ export type VideoApiAdapter =
|
||||
getAvailability(dateFrom?: string, dateTo?: string): Promise<EventBusyDate[]>;
|
||||
|
||||
getRecordings?(roomName: string): Promise<GetRecordingsResponseSchema>;
|
||||
|
||||
getRecordingDownloadLink?(recordingId: string): Promise<GetAccessLinkResponseSchema>;
|
||||
}
|
||||
| undefined;
|
||||
|
||||
|
||||
Reference in new issue
Block a user