first commit

This commit is contained in:
Krise
2023-07-31 02:55:15 +02:00
commit 8d53b15367
11 changed files with 5987 additions and 0 deletions

17
src/types/express.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
import { Accountability, Query, SchemaOverview } from '@directus/types';
export {};
declare global {
namespace Express {
export interface Request {
token: string | null;
collection: string;
sanitizedQuery: Query;
schema: SchemaOverview;
accountability?: Accountability;
singleton?: boolean;
}
}
}