You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/oaweb/composables/api/mainComponents.ts

48 lines
667 B
TypeScript

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// Code generated by goctl. DO NOT EDIT.
export interface AppReq {
password: string
}
export interface AppReqParams {
username: string
}
export interface AppResp {
id: number
name: string
token: string
expireAt: string
}
export interface LoginReqParams {
pwd: string
client: string
typ: string
}
export interface RegReq {
username: string
pwd: string
}
export interface AuthHeaders {
authorization: string
}
export interface UserResp {
id: string
created: number
updated: number
username: string
nickname: string
email: string
phone: string
icon: string
status: number // 状态0ok1disabled
used: number
space: number
}