@cfxlabsinc/b2b-services
    Preparing search index...

    The admin dashboard's sign-in history.

    Index
    instance: (...args: []) => AdminDashboardUserLoginService = ...

    The process service, on the shared database.

    • Records one sign-in by the user's id or their row's Cognito sub. ADMIN_USER_NOT_FOUND when no row has it yet.

      Parameters

      • __namedParameters: {
            actor:
                | { cognitoSub?: undefined; userId: string }
                | { cognitoSub: string; userId?: undefined };
            client: LoginClient;
            type: "SIGNED_IN";
        }

      Returns Promise<{ ok: true; value: void } | { error: ServiceError; ok: false }>