From 41e0a9676777b159029e6712ea27481dc311604a Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:54:32 +0100 Subject: [PATCH 01/16] feat(web-domain): add free-plan shareable link quota constants --- packages/web-domain/src/Video.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/web-domain/src/Video.ts b/packages/web-domain/src/Video.ts index c4a9949bc32..82cc6724250 100644 --- a/packages/web-domain/src/Video.ts +++ b/packages/web-domain/src/Video.ts @@ -15,6 +15,14 @@ export type VideoId = typeof VideoId.Type; export const FREE_PLAN_MAX_RECORDING_SECONDS = 5 * 60; +export const FREE_PLAN_SHAREABLE_LINKS_PER_MONTH = 25; + +// Quota is not retroactive: videos created before this date never count +// toward, nor get gated by, the monthly shareable-link limit. +export const SHAREABLE_LINK_LIMIT_ENFORCED_FROM = new Date( + "2026-08-19T00:00:00.000Z", +); + // Purposefully doesn't include password as this is a public class export class Video extends Schema.Class