@brontosaurus/db
Version:
:ocean: Schema for brontosaurus
6 lines (5 loc) • 513 B
TypeScript
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>;