mirror of
https://github.com/directus/directus.git
synced 2026-02-10 16:35:05 -05:00
Add GET /collections endpoint
This commit is contained in:
8
src/types/collection.ts
Normal file
8
src/types/collection.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export type Collection = {
|
||||
collection: string;
|
||||
note: string | null;
|
||||
hidden: boolean;
|
||||
single: boolean;
|
||||
icon: string | null;
|
||||
translation: Record<string, string>;
|
||||
};
|
||||
1
src/types/express.d.ts
vendored
1
src/types/express.d.ts
vendored
@@ -11,6 +11,7 @@ declare global {
|
||||
user?: string;
|
||||
role?: string;
|
||||
collection?: string;
|
||||
sanitizedQuery?: Record<string, any>;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user