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:
@@ -1,6 +1,7 @@
|
||||
import { z } from "zod";
|
||||
import { dateTimeSchema, emailSchema, hexColourSchema, idSchema, phoneSchema, slugSchema, timeOfDaySchema, timezoneSchema, urlSchema } from "./common";
|
||||
import { schemaName } from "./schema-name";
|
||||
import { brandStyleSchema } from "./style";
|
||||
|
||||
/**
|
||||
* `crosscode.church/1` — the church profile, set once and shared by every product of a church
|
||||
@@ -68,6 +69,11 @@ export const churchObjectSchema = z
|
||||
primary: hexColourSchema,
|
||||
accent: hexColourSchema.nullable(),
|
||||
}),
|
||||
/**
|
||||
* Font pairing and corners, shared by every product (contracts 1.17.0, `./style`). Optional:
|
||||
* a profile from an Accounts before 1.7.0 has none, which means the defaults.
|
||||
*/
|
||||
style: brandStyleSchema.optional(),
|
||||
}),
|
||||
/** Empty when campuses are off. */
|
||||
campuses: z.array(campusSchema).max(50),
|
||||
|
||||
Reference in New Issue
Block a user