mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* feat: wip Signed-off-by: Udit Takkar <[email protected]> * feat: add download recording button Signed-off-by: Udit Takkar <[email protected]> * moved video recording into /ee/, wrapped in LicenseRequired * fix: security issues in downloading recording updates designs Signed-off-by: Udit Takkar <[email protected]> * feat: add upgradation banner Signed-off-by: Udit Takkar <[email protected]> * chore: remove default room Signed-off-by: Udit Takkar <[email protected]> * chore: fix type error Signed-off-by: Udit Takkar <[email protected]> * fix: add type in get recording Signed-off-by: Udit Takkar <[email protected]> * fix: add suggestions and zod type for recording Signed-off-by: Udit Takkar <[email protected]> * fix: add types in getRecordings Signed-off-by: Udit Takkar <[email protected]> * fix: type error Signed-off-by: Udit Takkar <[email protected]> * fix: type error Signed-off-by: Udit Takkar <[email protected]> * fix: finally all type errors fixed Signed-off-by: Udit Takkar <[email protected]> * Server side validation for users in team plans for recordings * fix: remove any type Signed-off-by: Udit Takkar <[email protected]> * fix: type error Signed-off-by: Udit Takkar <[email protected]> Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Alan <[email protected]>
14 lines
353 B
TypeScript
14 lines
353 B
TypeScript
import { z } from "zod";
|
|
|
|
import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug";
|
|
|
|
const dailyAppKeysSchema = z.object({
|
|
api_key: z.string(),
|
|
scale_plan: z.string().default("false"),
|
|
});
|
|
|
|
export const getDailyAppKeys = async () => {
|
|
const appKeys = await getAppKeysFromSlug("daily-video");
|
|
return dailyAppKeysSchema.parse(appKeys);
|
|
};
|