mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 14:28:04 +00:00
16 lines
285 B
TypeScript
16 lines
285 B
TypeScript
import { TokenHeader } from '$/validators'
|
|
import { UserInfo } from '$/types'
|
|
|
|
export type Methods = {
|
|
get: {
|
|
reqHeaders: TokenHeader
|
|
resBody: UserInfo
|
|
}
|
|
|
|
post: {
|
|
reqHeaders: TokenHeader
|
|
reqFormat: FormData
|
|
reqBody: { icon: Blob }
|
|
resBody: UserInfo
|
|
}
|
|
}
|