UNPKG

@brontosaurus/db

Version:
8 lines (7 loc) 754 B
import { IOrganizationModel } from "../model/organization"; export declare const getOrganizationByRawName: (name: string) => Promise<IOrganizationModel | null>; export declare const getOrganizationByRawNames: (names: string[]) => Promise<IOrganizationModel[]>; export declare const getActiveOrganizationPagesByRawKeyword: (limit: number, keyword: string) => Promise<number>; export declare const getOrganizationPagesByRawKeyword: (limit: number, keyword: string) => Promise<number>; export declare const getActiveOrganizationsByRawPage: (keyword: string, limit: number, page: number) => Promise<IOrganizationModel[]>; export declare const getOrganizationsByRawPage: (keyword: string, limit: number, page: number) => Promise<IOrganizationModel[]>;