Fix ableton transformer function call and update export form schema validation
This commit is contained in:
@@ -12,9 +12,7 @@ export const exportFormSchema = z.object({
|
||||
format: z.enum(FORMAT_IDS),
|
||||
abletonVersion: z.enum(['10', '11']),
|
||||
abletonOneShotPads: z.array(
|
||||
z.custom<PadCode>(
|
||||
(value) => typeof value === 'string' && /^[abcd]\d+$/.test(value),
|
||||
),
|
||||
z.custom<PadCode>((value) => typeof value === 'string' && /^[abcd]\d+$/.test(value)),
|
||||
),
|
||||
projectName: z.string(),
|
||||
includeArchivedSamples: z.boolean(),
|
||||
|
||||
Reference in New Issue
Block a user