feat: add TypeScript interfaces for authentication and server statistics
This commit is contained in:
8
ts_interfaces/data/auth.ts
Normal file
8
ts_interfaces/data/auth.ts
Normal file
@ -0,0 +1,8 @@
|
||||
export interface IIdentity {
|
||||
jwt: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
expiresAt: number;
|
||||
role?: string;
|
||||
type?: string;
|
||||
}
|
Reference in New Issue
Block a user