@a11ywatch/core
Version:
a11ywatch central API
16 lines (15 loc) • 535 B
TypeScript
import type { FastifyContext } from "apollo-server-fastify";
export declare const paramParser: (req: FastifyContext["request"], value: string) => any;
export declare const getBaseParams: (req: FastifyContext["request"]) => {
userId: number;
domain: string;
pageUrl: string;
};
export declare const getBaseParamsList: (req: FastifyContext["request"]) => {
userId: number;
domain: string;
pageUrl: string;
offset: any;
limit: number;
};
export declare const validateUID: (id: string | number) => boolean;