projects/dvk/src/lib/dynamic-components/dynamic-component-data/dynamic-component-data.model.ts
Represent the data necessary for a dynamic component that is suitable for serialization.
This part of the model is separate so that it could be put inside a store or some other use case where serialization matters.
Properties |
|
initialValues |
initialValues:
|
Type : InitialValues<T>
|
Optional |
name |
name:
|
Type : string
|
import { InitialValues } from "../initial-values/initial-values.model";
/**
* Represent the data necessary for a dynamic
* component that is suitable for serialization.
*
* This part of the model is separate so that it
* could be put inside a store or some other
* use case where serialization matters.
*/
export interface DynamicComponentData<T> {
name: string;
initialValues?: InitialValues<T>;
}