File

projects/prestations-ng/src/form-post-response.ts

Index

Properties

Properties

errors
Type : FormError[]
Default value : []
form
Type : T
meta
Default value : new FormMetadata()
import { FormError } from './form-error';
import { RepriseInfo } from './gesdem-action-recovery/reprise-info';
import { I18nForm } from './i18n-form';

// eslint-disable max-classes-per-file
export class FormMetadata {
    reference: string;
    currentAction: number;
    referenceInterne: string;
    critical: boolean;
    initialisationDateTime: string;
    transfertDateTime: string;
    modificationDateTime: string;
    statut: string;
    infoReprise: RepriseInfo;
}

export class FormPostResponse<T extends I18nForm> {
    form: T;
    errors: FormError[] = [];
    meta = new FormMetadata();
}

results matching ""

    No results matching ""