chore(ui): lint

This commit is contained in:
psychedelicious
2024-02-27 15:36:00 +11:00
parent aaeef03593
commit 80065858ed
15 changed files with 25 additions and 20 deletions

View File

@ -10,8 +10,6 @@ export const LAYER_NAMES_DICT: { label: string; value: CanvasLayer }[] = [
{ label: 'Mask', value: 'mask' },
];
const LAYER_NAMES = ['base', 'mask'] as const;
const zBoundingBoxScaleMethod = z.enum(['none', 'auto', 'manual']);
export type BoundingBoxScaleMethod = z.infer<typeof zBoundingBoxScaleMethod>;
export const isBoundingBoxScaleMethod = (v: unknown): v is BoundingBoxScaleMethod =>