File tree 1 file changed +3
-3
lines changed
invokeai/frontend/web/src/features/nodes/types
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,14 +91,14 @@ const zNodeFieldIntegerSettings = z.object({
91
91
export type NodeFieldIntegerSettings = z . infer < typeof zNodeFieldIntegerSettings > ;
92
92
export const getIntegerFieldSettingsDefaults = ( ) : NodeFieldIntegerSettings => zNodeFieldIntegerSettings . parse ( { } ) ;
93
93
94
- export const zStringOption = z
94
+ const zStringOption = z
95
95
. object ( {
96
96
label : z . string ( ) ,
97
97
value : z . string ( ) ,
98
98
} )
99
99
. 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 : '' } ) ;
102
102
export const zStringComponent = z . enum ( [ 'input' , 'textarea' , 'dropdown' ] ) ;
103
103
const STRING_FIELD_CONFIG_TYPE = 'string-field-config' ;
104
104
const zNodeFieldStringInputSettings = z . object ( {
You can’t perform that action at this time.
0 commit comments