mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
tidy(ui): clean up unused code 5
variables, types and schemas
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
export type HotkeyListItem = {
|
||||
type HotkeyListItem = {
|
||||
title: string;
|
||||
desc: string;
|
||||
hotkeys: string[][];
|
||||
|
@ -7,7 +7,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { useClearIntermediatesMutation, useGetIntermediatesCountQuery } from 'services/api/endpoints/images';
|
||||
import { useGetQueueStatusQuery } from 'services/api/endpoints/queue';
|
||||
|
||||
export type UseClearIntermediatesReturn = {
|
||||
type UseClearIntermediatesReturn = {
|
||||
intermediatesCount: number | undefined;
|
||||
clearIntermediates: () => void;
|
||||
isLoading: boolean;
|
||||
|
@ -28,7 +28,7 @@ const StickyScrollableContent = memo((props: StickyScrollableContentProps) => {
|
||||
|
||||
StickyScrollableContent.displayName = 'StickyScrollableContent';
|
||||
|
||||
export type StickyScrollableProps = PropsWithChildren<{
|
||||
type StickyScrollableProps = PropsWithChildren<{
|
||||
title: string;
|
||||
}>;
|
||||
|
||||
|
@ -3,9 +3,9 @@ import type { LogLevel } from 'app/logging/logger';
|
||||
import type { ProgressImage } from 'services/events/types';
|
||||
import { z } from 'zod';
|
||||
|
||||
export type SystemStatus = 'CONNECTED' | 'DISCONNECTED' | 'PROCESSING' | 'ERROR' | 'LOADING_MODEL';
|
||||
type SystemStatus = 'CONNECTED' | 'DISCONNECTED' | 'PROCESSING' | 'ERROR' | 'LOADING_MODEL';
|
||||
|
||||
export type DenoiseProgress = {
|
||||
type DenoiseProgress = {
|
||||
session_id: string;
|
||||
batch_id: string;
|
||||
progress_image: ProgressImage | null | undefined;
|
||||
|
Reference in New Issue
Block a user