Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(web-domain): add FREE_PLAN_MAX_RECORDING_SECONDS constant

Richie McIlroy471bce8f8275
diff --git a/packages/web-domain/src/Video.ts b/packages/web-domain/src/Video.ts
index b04748c82..c4a9949bc 100644
--- a/packages/web-domain/src/Video.ts
+++ b/packages/web-domain/src/Video.ts
@@ -13,6 +13,8 @@ import { UserId } from "./User.ts";
export const VideoId = Schema.String.pipe(Schema.brand("VideoId"));
export type VideoId = typeof VideoId.Type;
+export const FREE_PLAN_MAX_RECORDING_SECONDS = 5 * 60;
+
// Purposefully doesn't include password as this is a public class
export class Video extends Schema.Class<Video>("Video")({
id: VideoId,