interface NewS3SubmissionData {
    completionTimestamp?: string;
    definition: Form;
    device?: S3SubmissionDataDevice;
    lastElementUpdated?: FormElement;
    sectionState?: {
        id: string;
        state: "COLLAPSED" | "EXPANDED";
    }[];
    submission: {
        [name: string]: unknown;
    };
}

Properties

completionTimestamp?: string

The date and time (in ISO format) the form was completed I.e. when the user clicked the submit button

definition: Form
lastElementUpdated?: FormElement
sectionState?: {
    id: string;
    state: "COLLAPSED" | "EXPANDED";
}[]

Type declaration

  • id: string
  • state: "COLLAPSED" | "EXPANDED"
submission: {
    [name: string]: unknown;
}

Type declaration

  • [name: string]: unknown