iya-sts
    Preparing search index...
    act: (
        action: string,
        body: Record<string, any>,
    ) =>
        | { errors: string[]; ok: boolean }
        | { definition: Definition; message: string; ok: boolean }
        | {
            dn: string;
            message: string;
            name: string;
            ok: boolean;
            removed: boolean;
        } = ...

    Type Declaration

      • (
            action: string,
            body: Record<string, any>,
        ):
            | { errors: string[]; ok: boolean }
            | { definition: Definition; message: string; ok: boolean }
            | {
                dn: string;
                message: string;
                name: string;
                ok: boolean;
                removed: boolean;
            }
      • Answers one of this kind's three acts beside save and reset (admin-core/policy_kinds.ts's extraActions): a custom attribute defined, changed (#700) or removed.

        Parameters

        • action: string

          define-person-attribute, update-person-attribute or remove-person-attribute

        • body: Record<string, any>

          the act's body

        Returns
            | { errors: string[]; ok: boolean }
            | { definition: Definition; message: string; ok: boolean }
            | {
                dn: string;
                message: string;
                name: string;
                ok: boolean;
                removed: boolean;
            }

        the act's answer, or a refusal naming the three acts