Skip to content

Commit 1f8a60d

Browse files
fix(ui): export NumericalParameterConfig type
1 parent b1b6779 commit 1f8a60d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

invokeai/frontend/web/src/app/types/invokeai.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const zNumericalParameterConfig = z.object({
5858
fineStep: z.number().default(8),
5959
coarseStep: z.number().default(64),
6060
});
61+
export type NumericalParameterConfig = z.infer<typeof zNumericalParameterConfig>;
6162

6263
/**
6364
* Configuration options for the InvokeAI UI.

invokeai/frontend/web/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
export { default as InvokeAIUI } from './app/components/InvokeAIUI';
3232
export type { StudioInitAction } from './app/hooks/useStudioInitAction';
3333
export type { LoggingOverrides } from './app/logging/logger';
34-
export type { PartialAppConfig } from './app/types/invokeai';
34+
export type { NumericalParameterConfig, PartialAppConfig } from './app/types/invokeai';
3535
export { default as Loading } from './common/components/Loading/Loading';
3636
export { default as HotkeysModal } from './features/system/components/HotkeysModal/HotkeysModal';
3737
export { default as InvokeAiLogoComponent } from './features/system/components/InvokeAILogoComponent';

0 commit comments

Comments
 (0)