UNPKG

@brontosaurus/db

Version:
6 lines (5 loc) 513 B
import { AccountNamespaceMatch } from "../data/match"; import { IAccountModel } from "../model/account"; export declare const getAccountNamespaceMatchByUsernameAndNamespace: (username: string, namespace: string) => Promise<AccountNamespaceMatch>; export declare const getAccountByUsernameAndNamespaceName: (username: string, namespace: string) => Promise<IAccountModel | null>; export declare const getAccountByUsernameAndNamespaceDomain: (username: string, domain: string) => Promise<IAccountModel | null>;