[WIP] Add processAST to PermissionsService, rely on AST instead of Query in services

This commit is contained in:
rijkvanzanten
2020-07-14 13:11:05 -04:00
parent 8887d3216e
commit 0deaa77f0b
35 changed files with 316 additions and 269 deletions

View File

@@ -9,9 +9,10 @@ export {};
declare global {
namespace Express {
export interface Request {
token?: string;
user?: string;
role?: string;
token: string;
user: string;
role: string | null;
admin: boolean;
collection?: string;
sanitizedQuery?: Record<string, any>;
single?: boolean;