mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* feat: add Video Options dropdown with meeting session details - Add Video Options dropdown to BookingListItem for Daily video bookings - Move recording actions from TableActions to new dropdown - Add meeting session details feature with participant info, join times, duration - Create new tRPC endpoint for fetching Daily.co meeting information - Add getMeetingInformation method to VideoApiAdapter - Create MeetingSessionDetailsDialog component following ViewRecordingsDialog pattern - Add translation strings for new UI elements - Update VideoApiAdapter TypeScript interface Co-Authored-By: [email protected] <[email protected]> * fix: bugs and types * Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * Update packages/app-store/dailyvideo/lib/VideoApiAdapter.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
import authedProcedure from "../../../procedures/authedProcedure";
|
|
import { router } from "../../../trpc";
|
|
import { ZGetCalVideoRecordingsInputSchema } from "./getCalVideoRecordings.schema";
|
|
import { ZGetDownloadLinkOfCalVideoRecordingsInputSchema } from "./getDownloadLinkOfCalVideoRecordings.schema";
|
|
import { ZGetMeetingInformationInputSchema } from "./getMeetingInformation.schema";
|
|
|
|
type CalVideoRouterHandlerCache = {
|
|
getCalVideoRecordings?: typeof import("./getCalVideoRecordings.handler").getCalVideoRecordingsHandler;
|
|
getDownloadLinkOfCalVideoRecordings?: typeof import("./getDownloadLinkOfCalVideoRecordings.handler").getDownloadLinkOfCalVideoRecordingsHandler;
|
|
getMeetingInformation?: typeof import("./getMeetingInformation.handler").getMeetingInformationHandler;
|
|
};
|
|
|
|
export const calVideoRouter = router({
|
|
getCalVideoRecordings: authedProcedure
|
|
.input(ZGetCalVideoRecordingsInputSchema)
|
|
.query(async ({ ctx, input }) => {
|
|
const { getCalVideoRecordingsHandler } = await import("./getCalVideoRecordings.handler");
|
|
|
|
return getCalVideoRecordingsHandler({ ctx, input });
|
|
}),
|
|
|
|
getDownloadLinkOfCalVideoRecordings: authedProcedure
|
|
.input(ZGetDownloadLinkOfCalVideoRecordingsInputSchema)
|
|
.query(async ({ ctx, input }) => {
|
|
const { getDownloadLinkOfCalVideoRecordingsHandler } = await import(
|
|
"./getDownloadLinkOfCalVideoRecordings.handler"
|
|
);
|
|
|
|
return getDownloadLinkOfCalVideoRecordingsHandler({ ctx, input });
|
|
}),
|
|
|
|
getMeetingInformation: authedProcedure
|
|
.input(ZGetMeetingInformationInputSchema)
|
|
.query(async ({ ctx, input }) => {
|
|
const { getMeetingInformationHandler } = await import("./getMeetingInformation.handler");
|
|
|
|
return getMeetingInformationHandler({ ctx, input });
|
|
}),
|
|
});
|