UNPKG

@meshwatch/backend-core

Version:

Meshwatch backend core services.

12 lines (11 loc) 737 B
import { DynamoDBClient } from '../shared'; import BaseService, { ServiceResponse } from '../shared/services'; import { UserInfo } from './db/types'; export declare class UserService extends BaseService { private datasource; constructor(dynamoClient?: DynamoDBClient); getUserInfo: (userId: string) => Promise<ServiceResponse<UserInfo<Date> | import("@meshwatch/types").Boom<import("../shared/validation/types").FormErrors<undefined>>>>; completeGettingStartedTask: (userId: string, taskName: string) => Promise<ServiceResponse<UserInfo<Date> | import("@meshwatch/types").Boom<import("../shared/validation/types").FormErrors<undefined>>>>; } declare const userService: UserService; export default userService;