feat(billing): sizes move up one; 1080p is the reference and the default

xs is a box with no stream, sm 720p, md 1080p, lg 1440p and xl 4K. Each
resolution keeps its price, so md is now 1x. New boxes default to md, and
existing boxes move up one size so none of them drops a resolution.
This commit is contained in:
Wanjohi
2026-10-10 15:18:23 +03:00
parent 0f38898fd9
commit ac713e62ae
9 changed files with 3882 additions and 15 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export namespace BoxApi {
'json',
z.object({
label: z.string().trim().min(1).max(64).default('box'),
tier: z.enum(BoxTier.enumValues).default('sm'),
tier: z.enum(BoxTier.enumValues).default('md'),
on: z.enum(['own', 'fleet']).default('own')
})
),