iya-sts
    Preparing search index...

    Variable setDeclined

    setDeclined: (
        username: string,
        category: string,
        decline: boolean,
        actor?: string,
    ) => any = ...

    Type Declaration

      • (username: string, category: string, decline: boolean, actor?: string): any
      • Records whether a person declines a category; only an optional one may be declined.

        Parameters

        • username: string

          the person

        • category: string

          the category's id

        • decline: boolean

          true to decline it, false to receive it again

        • Optionalactor: string

          who did it

        Returns any

        { ok, declined }, or a coded refusal