Add Ableton Live version selection and validation for export options
This commit is contained in:
@@ -10,6 +10,7 @@ const FORMAT_IDS: [ExportFormatId, ...ExportFormatId[]] = [
|
||||
|
||||
export const exportFormSchema = z.object({
|
||||
format: z.enum(FORMAT_IDS),
|
||||
abletonVersion: z.enum(['10', '11']),
|
||||
projectName: z.string(),
|
||||
includeArchivedSamples: z.boolean(),
|
||||
exportAllPadsWithSamples: z.boolean(),
|
||||
@@ -28,6 +29,7 @@ export type ExportFormValues = z.infer<typeof exportFormSchema>;
|
||||
|
||||
export const PERSISTED_FIELDS: (keyof ExportFormValues)[] = [
|
||||
'format',
|
||||
'abletonVersion',
|
||||
'includeArchivedSamples',
|
||||
'exportAllPadsWithSamples',
|
||||
'clips',
|
||||
|
||||
Reference in New Issue
Block a user