UNPKG

@stoqey/firestore

Version:

NodeJS Firebase Firestore CRUD library

17 lines (16 loc) 418 B
export declare type Operators = "<" | "<=" | '==' | ">" | ">=" | 'array-contains' | 'array-contains-any'; export interface PaginationData { data: any[]; total: number; } export interface Where { name: string; value: string; operator: Operators; } export interface AutoPagination { whereAll: Where[]; limit: number; page: number; } export declare type OrderByDirection = 'desc' | 'asc';