mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove unused schema/type/guard
This commit is contained in:
parent
4468581d2e
commit
f3fd0f6d73
@ -105,17 +105,6 @@ export const isParameterHeight = (val: unknown): val is ParameterHeight =>
|
|||||||
zParameterHeight.safeParse(val).success;
|
zParameterHeight.safeParse(val).success;
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|
||||||
// #region Resolution
|
|
||||||
export const zParameterResolution = z.tuple([
|
|
||||||
zParameterWidth,
|
|
||||||
zParameterHeight,
|
|
||||||
]);
|
|
||||||
export type ParameterResolution = z.infer<typeof zParameterResolution>;
|
|
||||||
export const iParameterResolution = (
|
|
||||||
val: unknown
|
|
||||||
): val is ParameterResolution => zParameterResolution.safeParse(val).success;
|
|
||||||
// #endregion
|
|
||||||
|
|
||||||
// #region Model
|
// #region Model
|
||||||
export const zParameterModel = zMainOrONNXModelField;
|
export const zParameterModel = zMainOrONNXModelField;
|
||||||
export type ParameterModel = z.infer<typeof zParameterModel>;
|
export type ParameterModel = z.infer<typeof zParameterModel>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user