import { CustomQuery, DocumentDatabaseTableProvider, getFilterExpressionFromKeyValuePairs, getTableName, isCustomQuery, Query, QueryResults } from "@mcma/data";

import { McmaApiRequestContext } from "../../http";
import { McmaApiRoute } from "../route";

interface CustomQueryFactory<T> {
    isMatch(requestContext: McmaApiRequestContext): boolean;
    create(requestContext: McmaApiRequestContext): CustomQuery<T>;