@oneblink/apps-react
    Preparing search index...

    Type Alias FormElementMapping<T>

    FormElementMapping: T & (
        | {
            formElementId: string;
            mapping: FormElementMapping<T>;
            type: "FORM_FORM_ELEMENT";
        }
        | {
            entryNumber: number;
            formElementId: string;
            mapping: FormElementMapping<T>;
            type: "REPEATABLE_SET_FORM_ELEMENT";
        }
        | { formElementId: string; type: "FORM_ELEMENT" }
        | { type: "VALUE"; value: number | string | boolean | string[] }
        | { type: "SUBMISSION_ID" }
        | { type: "EXTERNAL_ID" }
        | { type: "SUBMISSION_TIMESTAMP" }
        | { type: "COMPLETION_TIMESTAMP" }
        | { key: PaymentDisplayDetailKey; type: "PAYMENT_DETAIL" }
    )

    Type Parameters

    • T

    Type Declaration

    • {
          formElementId: string;
          mapping: FormElementMapping<T>;
          type: "FORM_FORM_ELEMENT";
      }
    • {
          entryNumber: number;
          formElementId: string;
          mapping: FormElementMapping<T>;
          type: "REPEATABLE_SET_FORM_ELEMENT";
      }
      • entryNumber: number

        The number of the entry in the repeatable set. Starts at 1 for the first entry.

      • formElementId: string
      • mapping: FormElementMapping<T>
      • type: "REPEATABLE_SET_FORM_ELEMENT"
    • { formElementId: string; type: "FORM_ELEMENT" }
    • { type: "VALUE"; value: number | string | boolean | string[] }
    • { type: "SUBMISSION_ID" }
    • { type: "EXTERNAL_ID" }
    • { type: "SUBMISSION_TIMESTAMP" }
    • { type: "COMPLETION_TIMESTAMP" }
    • { key: PaymentDisplayDetailKey; type: "PAYMENT_DETAIL" }