Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 03a0506

Browse files
committedMar 24, 2025·
chore(ui): lint
1 parent 79db693 commit 03a0506

File tree

1 file changed

+3
-3
lines changed
  • invokeai/frontend/web/src/features/nodes/types

1 file changed

+3
-3
lines changed
 

‎invokeai/frontend/web/src/features/nodes/types/workflow.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ const zNodeFieldIntegerSettings = z.object({
9191
export type NodeFieldIntegerSettings = z.infer<typeof zNodeFieldIntegerSettings>;
9292
export const getIntegerFieldSettingsDefaults = (): NodeFieldIntegerSettings => zNodeFieldIntegerSettings.parse({});
9393

94-
export const zStringOption = z
94+
const zStringOption = z
9595
.object({
9696
label: z.string(),
9797
value: z.string(),
9898
})
9999
.default({ label: '', value: '' });
100-
export type StringChoice = z.infer<typeof zStringOption>;
101-
export const getDefaultStringOption = (): StringChoice => ({ label: '', value: '' });
100+
type StringOption = z.infer<typeof zStringOption>;
101+
export const getDefaultStringOption = (): StringOption => ({ label: '', value: '' });
102102
export const zStringComponent = z.enum(['input', 'textarea', 'dropdown']);
103103
const STRING_FIELD_CONFIG_TYPE = 'string-field-config';
104104
const zNodeFieldStringInputSettings = z.object({

0 commit comments

Comments
 (0)
Please sign in to comment.