mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 15:08:46 +00:00
백엔드에서 JWT가 아닌 세션 ID 기반으로 인증하도록 변경
This commit is contained in:
14
src/app.d.ts
vendored
14
src/app.d.ts
vendored
@@ -5,11 +5,15 @@ import "unplugin-icons/types/svelte";
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
interface Locals {
|
||||
ip: string;
|
||||
userAgent: string;
|
||||
session?: {
|
||||
id: string;
|
||||
userId: number;
|
||||
clientId?: number;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user