|
@@ -45,8 +45,7 @@ export interface PorterFormData {
|
|
|
|
|
|
|
|
// internal field state interfaces
|
|
// internal field state interfaces
|
|
|
|
|
|
|
|
-export interface StringInputFieldState {
|
|
|
|
|
-}
|
|
|
|
|
|
|
+export interface StringInputFieldState {}
|
|
|
|
|
|
|
|
export type PorterFormFieldFieldState = StringInputFieldState;
|
|
export type PorterFormFieldFieldState = StringInputFieldState;
|
|
|
|
|
|
|
@@ -65,12 +64,12 @@ export interface PorterFormVariableList {
|
|
|
|
|
|
|
|
export interface PorterFormState {
|
|
export interface PorterFormState {
|
|
|
components: {
|
|
components: {
|
|
|
- [key: string]: PorterFormFieldFieldState
|
|
|
|
|
|
|
+ [key: string]: {
|
|
|
|
|
+ state: PorterFormFieldFieldState
|
|
|
|
|
+ validation: PorterFormFieldValidationState
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
variables: PorterFormVariableList
|
|
variables: PorterFormVariableList
|
|
|
- validation: {
|
|
|
|
|
- [key: string]: PorterFormFieldValidationState
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface PorterFormInitFieldAction {
|
|
export interface PorterFormInitFieldAction {
|