api 타입 시스템 준비 완료
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { DefAPINamespace, GET, POST } from "./defs";
|
||||
import { type DefAPINamespace, GET, POST } from "./defs";
|
||||
|
||||
export type LoginResponse = {
|
||||
result: true,
|
||||
@@ -40,7 +40,6 @@ export const structure = {
|
||||
hashedToken: string,
|
||||
token_id: number,
|
||||
}, AutoLoginResponse, AutoLoginFailed>(),
|
||||
Test: POST<AutoLoginResponse, AutoLoginFailed>(),
|
||||
ReqNonce: GET<AutoLoginNonceResponse, AutoLoginFailed>()
|
||||
},
|
||||
} satisfies DefAPINamespace;
|
||||
Reference in New Issue
Block a user