UNPKG

@brontosaurus/db

Version:
8 lines (7 loc) 718 B
import { IDecoratorModel } from "../model/decorator"; export declare const getDecoratorByRawName: (name: string) => Promise<IDecoratorModel | null>; export declare const getDecoratorByRawNames: (names: string[]) => Promise<IDecoratorModel[]>; export declare const getActiveDecoratorPagesByRawKeyword: (limit: number, keyword: string) => Promise<number>; export declare const getDecoratorPagesByRawKeyword: (limit: number, keyword: string) => Promise<number>; export declare const getActiveDecoratorsByRawPage: (keyword: string, limit: number, page: number) => Promise<IDecoratorModel[]>; export declare const getDecoratorsByRawPage: (keyword: string, limit: number, page: number) => Promise<IDecoratorModel[]>;