iya-sts
    Preparing search index...

    Variable act

    act: (body: any, ctx: any) => Promise<Outcome> = ...

    Type Declaration

      • (body: any, ctx: any): Promise<Outcome>
      • Performs one of the console's and the API's acts, named by body.action.

        Parameters

        • body: any

          action and its fields

        • ctx: any

          { via, actor, req }

        Returns Promise<Outcome>

        a promise of { ok, message, … }, or of { ok: false, errors } carrying its error code