mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 01:39:55 +09:00
feat: migration api keys to use kysely (#15206)
This commit is contained in:
9
server/src/types.ts
Normal file
9
server/src/types.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { UserEntity } from 'src/entities/user.entity';
|
||||
import { Permission } from 'src/enum';
|
||||
|
||||
export type AuthApiKey = {
|
||||
id: string;
|
||||
key: string;
|
||||
user: UserEntity;
|
||||
permissions: Permission[];
|
||||
};
|
||||
Reference in New Issue
Block a user