feat : update
This commit is contained in:
@@ -37,9 +37,9 @@ export const updateGuideSchema = z.strictObject({
|
||||
overview: z.string().trim().min(1).max(500),
|
||||
youtubeUrl: youtubeUrlSchema,
|
||||
posterArtMediaId: z.string().uuid().nullable().optional(),
|
||||
posterArtOffsetX: z.number().finite().min(-50).max(50).optional(),
|
||||
posterArtOffsetY: z.number().finite().min(-50).max(50).optional(),
|
||||
posterArtScale: z.number().finite().min(50).max(200).optional(),
|
||||
posterArtOffsetX: z.number().finite().min(-1000).max(1000).optional(),
|
||||
posterArtOffsetY: z.number().finite().min(-1000).max(1000).optional(),
|
||||
posterArtScale: z.number().finite().min(50).max(500).optional(),
|
||||
posterTopColors: z.tuple([z.string().regex(/^#[0-9a-fA-F]{6}$/u), z.string().regex(/^#[0-9a-fA-F]{6}$/u)]).optional(),
|
||||
posterBottomColors: z.tuple([z.string().regex(/^#[0-9a-fA-F]{6}$/u), z.string().regex(/^#[0-9a-fA-F]{6}$/u)]).optional(),
|
||||
posterBleeding: z.array(z.strictObject({
|
||||
|
||||
Reference in New Issue
Block a user