Skip to content

Commit

Permalink
fix(types): file purpose enum after breaking change on the API (#56)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pilar <[email protected]>
  • Loading branch information
pilartomas authored Oct 17, 2023
1 parent ff0d622 commit e992686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export type HistoryOutput = z.infer<typeof HistoryOutputSchema>;

// FILES

export const FilePurposeSchema = z.enum(['tune', 'template', 'generate']);
export const FilePurposeSchema = z.enum(['tune', 'template', 'tune_import']);
export type FilePurpose = z.infer<typeof FilePurposeSchema>;

export const FileInputSchema = z
Expand Down

0 comments on commit e992686

Please sign in to comment.