@meshwatch/backend-core
Version:
Meshwatch backend core services.
16 lines (15 loc) • 751 B
TypeScript
import { UserInfo, UserStorage } from '../models';
import { ServiceResponse } from '../types';
import BaseService from './base';
export declare class UserService extends BaseService {
private userStorage;
constructor(userStorage?: UserStorage);
getUserInfo: (userId: string) => Promise<ServiceResponse<UserInfo<Date> | import("@meshwatch/types").Boom<Partial<undefined & {
non_field_errors?: string | undefined;
}>>>>;
completeGettingStartedTask: (userId: string, taskName: string) => Promise<ServiceResponse<UserInfo<Date> | import("@meshwatch/types").Boom<Partial<undefined & {
non_field_errors?: string | undefined;
}>>>>;
}
declare const userService: UserService;
export default userService;