fix(ui): fix export of ApplicationFeature type

This commit is contained in:
psychedelicious
2023-04-26 10:19:06 +10:00
parent 65816049ba
commit 3c150b384c
4 changed files with 17 additions and 17 deletions

View File

@@ -21,11 +21,11 @@ import { setShouldFetchImages } from 'features/gallery/store/resultsSlice';
import { motion, AnimatePresence } from 'framer-motion';
import Loading from 'common/components/Loading/Loading';
import {
ApplicationFeature,
disabledFeaturesChanged,
disabledTabsChanged,
} from 'features/system/store/systemSlice';
import { useIsApplicationReady } from 'features/system/hooks/useIsApplicationReady';
import { ApplicationFeature } from './invokeai';
keepGUIAlive();

View File

@@ -17,6 +17,19 @@ import { IRect } from 'konva/lib/types';
import { ImageMetadata, ImageType } from 'services/api';
import { AnyInvocation } from 'services/events/types';
/**
* A disable-able application feature
*/
export declare type ApplicationFeature =
| 'faceRestore'
| 'upscaling'
| 'lightbox'
| 'modelManager'
| 'githubLink'
| 'discordLink'
| 'bugLink'
| 'localization';
/**
* TODO:
* Once an image has been generated, if it is postprocessed again,