Commit adae3da 1 parent c896afc commit adae3da Copy full SHA for adae3da
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,17 @@ export type SchemaEffectTypes =
57
57
58
58
export type SchemaReaction < Field = any > =
59
59
| {
60
- dependencies ?: string [ ]
60
+ dependencies ?: string [ ] | Record < string , string >
61
61
when ?: string | boolean
62
62
target ?: string
63
63
effects ?: SchemaEffectTypes [ ]
64
64
fulfill ?: {
65
- state ?: Formily . Core . Types . IGeneralFieldState
65
+ state ?: Stringify < Formily . Core . Types . IGeneralFieldState >
66
66
schema ?: ISchema
67
67
run ?: string
68
68
}
69
69
otherwise ?: {
70
- state ?: Formily . Core . Types . IGeneralFieldState
70
+ state ?: Stringify < Formily . Core . Types . IGeneralFieldState >
71
71
schema ?: ISchema
72
72
run ?: string
73
73
}
@@ -119,7 +119,7 @@ export interface ISchemaFieldFactoryOptions<
119
119
}
120
120
121
121
export interface ISchemaFieldUpdateRequest {
122
- state ?: Formily . Core . Types . IFieldState
122
+ state ?: Stringify < Formily . Core . Types . IFieldState >
123
123
schema ?: ISchema
124
124
run ?: string
125
125
}
You can’t perform that action at this time.
0 commit comments