Variable defaultConst

    default: {
        invite: ((email: string, user: {
            email: string;
            firstname?: string;
            lastname?: string;
        }) => Promise<void>);
        recover: ((email: string) => Promise<void>);
        revalidate: ((email: string, userid: string) => Promise<boolean>);
        subscribe: ((email: string, userid: string) => Promise<void>);
    } = ...

    Type declaration

    • invite: ((email: string, user: {
          email: string;
          firstname?: string;
          lastname?: string;
      }) => Promise<void>)
        • (email, user): Promise<void>
        • Invite

          Parameters

          • email: string

            Email

          • user: {
                email: string;
                firstname?: string;
                lastname?: string;
            }

            Sending user

            • email: string
            • Optionalfirstname?: string
            • Optionallastname?: string

          Returns Promise<void>

    • recover: ((email: string) => Promise<void>)
        • (email): Promise<void>
        • Recover

          Parameters

          • email: string

            Email

          Returns Promise<void>

    • revalidate: ((email: string, userid: string) => Promise<boolean>)
        • (email, userid): Promise<boolean>
        • Revalidate

          Parameters

          • email: string

            Email

          • userid: string

            User id

          Returns Promise<boolean>

          Valid

    • subscribe: ((email: string, userid: string) => Promise<void>)
        • (email, userid): Promise<void>
        • Subscribe

          Parameters

          • email: string

            Email

          • userid: string

            User id

          Returns Promise<void>

    Generated using TypeDoc and TypeDoc Airthium Plugin