contracts 1.17.0: brand style, church.update, the Website's export, licence storage limit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 16:25:20 +02:00
co-authored by Claude Opus 5.5
parent 9954e66c33
commit 0e3534f29f
24 changed files with 2326 additions and 12 deletions
+9 -1
View File
@@ -355,6 +355,14 @@ export const licencePayloadSchema = z.object({
graceDays: z.int().nonnegative(),
issuedAt: dateTimeSchema,
validUntil: dateTimeSchema,
limits: z.object({ aiMonthlyCapCents: z.number().nonnegative() }),
limits: z.object({
aiMonthlyCapCents: z.number().nonnegative(),
/**
* The Website's storage limit in bytes: what's included plus any storage add-ons
* (WEBSITE-1.0-PLAN §10, decision 12). Uploads stop when it's full. Only on a Website licence,
* from Hub 2.21.0 (contracts 1.17.0); a Website without it uses its own included amount.
*/
storageBytes: z.int().nonnegative().optional(),
}),
});
export type LicencePayload = z.infer<typeof licencePayloadSchema>;