iya-sts
    Preparing search index...
    validate: (
        given?: Record<string, any>,
    ) => {
        problems: string[];
        values: Record<string, string | number | boolean>;
    } = ...

    Type Declaration

      • (
            given?: Record<string, any>,
        ): { problems: string[]; values: Record<string, string | number | boolean> }
      • Validates a whole profile as sent; every field is required, except an unticked checkbox on the console's form.

        Parameters

        • Optionalgiven: Record<string, any>

          the submitted fields

        Returns { problems: string[]; values: Record<string, string | number | boolean> }

        the parsed values and the problems found