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/models.ts

82 lines
1.3 KiB
TypeScript

1 month ago
export interface Access {
2 months ago
created_at: Date
updated_at: Date
2 months ago
app_id: string
user_id?: string
role_id?: string
name: string
2 months ago
tid: string
2 months ago
level: number
}
1 month ago
export interface App {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
name: string
icon: string
des: string
participate: string
init_role_id?: string
init_role?: Role
2 months ago
init_url: string
user_count: number
}
1 month ago
export interface AppUser {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
app_id: string
user_id: string
status: string
app?: App
user?: User
}
1 month ago
export interface Resource {
2 months ago
created_at: Date
updated_at: Date
2 months ago
app_id: string
name: string
des: string
}
1 month ago
export interface Role {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
name: string
des: string
app_id: string
user_count: number
}
1 month ago
export interface Token {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
user_id: string
app_id: string
expired_at: Date
2 months ago
over_perm: string
device: string
2 months ago
ip: string
}
1 month ago
export interface User {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
username: string
nickname: string
icon: string
email: string
phone: string
status: number
}
1 month ago
export interface UserRole {
2 months ago
id: string
created_at: Date
updated_at: Date
2 months ago
user_id: string
role_id: string
app_id: string
status: string
}
1 month ago