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

    Type Declaration

      • (given?: Record<string, any>): { problems: string[]; values: string[] }
      • Validates a whole profile as sent: every name must be one a person here may be given a value for. A console form that ticks nothing sends no field, which is an empty list there and a refusal from an API caller.

        Parameters

        • Optionalgiven: Record<string, any>

          the submitted fields

        Returns { problems: string[]; values: string[] }

        the canonical names and the problems found