mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore(ui): lint
This commit is contained in:
@@ -11,20 +11,6 @@ const zPartialDimensions = z.object({
|
||||
height: z.number().optional(),
|
||||
});
|
||||
|
||||
const zDockviewPanelState = z.object({
|
||||
id: z.string(),
|
||||
type: z.literal('dockview-panel'),
|
||||
isActive: z.boolean(),
|
||||
});
|
||||
export type StoredDockviewPanelState = z.infer<typeof zDockviewPanelState>;
|
||||
|
||||
const zGridviewPanelState = z.object({
|
||||
id: z.string(),
|
||||
type: z.literal('gridview-panel'),
|
||||
dimensions: zPartialDimensions,
|
||||
});
|
||||
export type StoredGridviewPanelState = z.infer<typeof zGridviewPanelState>;
|
||||
|
||||
const zSerializable = z.any().refine(isPlainObject);
|
||||
export type Serializable = z.infer<typeof zSerializable>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user