Last active
May 25, 2020 01:34
-
-
Save xiongemi/1f79d7a7751671e925bc35f7bdb07155 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { initFormState } from 'src/app/models/forms-state-init.const'; | |
import { FormsStateModel } from './froms-state-model.interface'; | |
export const initFormsStateModel: FormsStateModel = { | |
deliveryForm: initFormState, | |
shippingForm: initFormState, | |
paymentForm: initFormState | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { FormState } from 'src/app/models/forms-state.interface'; | |
import { DeliveryPageFormValue } from './delivery-page-form-value.interface'; | |
import { PaymentPageFormValue } from './payment-page-form-value.interface'; | |
import { ShippingPageFormValue } from './shipping-page-form-value.interface'; | |
export interface FormsStateModel { | |
deliveryForm: FormState<DeliveryPageFormValue>; | |
shippingForm: FormState<ShippingPageFormValue>; | |
paymentForm: FormState<PaymentPageFormValue>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment