Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
import type { EmailConferencing } from "@rallly/emails";
import type { Conferencing } from "@/features/conferencing/schema";
import { getConferencingUri } from "@/features/conferencing/utils";
export function toEmailConferencing(
conferencing: Conferencing,
): EmailConferencing {
return {
provider: conferencing.provider,
label: conferencing.provider === "custom" ? conferencing.label : undefined,
url: getConferencingUri(conferencing),
};
}