杂务:新增声明级注释覆盖率
This commit is contained in:
@@ -6,6 +6,10 @@ import api from './index'
|
||||
import type { UserInfo } from './auth'
|
||||
import type { IdType } from '@/utils/id'
|
||||
|
||||
/**
|
||||
* Purpose: UserVO supports user.ts by holding or executing the user vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UserVO extends UserInfo {
|
||||
id: IdType
|
||||
shopId?: IdType
|
||||
@@ -34,12 +38,20 @@ export interface UserVO extends UserInfo {
|
||||
relationSourceType?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UpdateUserInfoRequest supports user.ts by holding or executing the update user info request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UpdateUserInfoRequest {
|
||||
nickname?: string
|
||||
avatar?: string
|
||||
signature?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: ListUsersParams supports user.ts by holding or executing the list users params page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface ListUsersParams {
|
||||
page: number
|
||||
size: number
|
||||
@@ -48,6 +60,10 @@ export interface ListUsersParams {
|
||||
status?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: CreateUserRequest supports user.ts by holding or executing the create user request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface CreateUserRequest {
|
||||
account: string
|
||||
nickname: string
|
||||
@@ -58,6 +74,10 @@ export interface CreateUserRequest {
|
||||
shopIds?: IdType[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UpdateUserRequest supports user.ts by holding or executing the update user request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UpdateUserRequest {
|
||||
account?: string
|
||||
nickname?: string
|
||||
@@ -67,27 +87,47 @@ export interface UpdateUserRequest {
|
||||
shopIds?: IdType[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UpdatePasswordRequest supports user.ts by holding or executing the update password request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UpdatePasswordRequest {
|
||||
password: string
|
||||
verificationCode: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: BindPhoneRequest supports user.ts by holding or executing the bind phone request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface BindPhoneRequest {
|
||||
phone: string
|
||||
verificationCode: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: AvailabilityCheckResponse supports user.ts by holding or executing the availability check response page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface AvailabilityCheckResponse {
|
||||
available: boolean
|
||||
message: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: LoginAccountCheckResponse supports user.ts by holding or executing the login account check response page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface LoginAccountCheckResponse {
|
||||
exists: boolean
|
||||
nickname?: string
|
||||
message: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: LoginShopSelectionResponse supports user.ts by holding or executing the login shop selection response page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface LoginShopSelectionResponse {
|
||||
allowShoplessLogin: boolean
|
||||
message: string
|
||||
@@ -97,6 +137,10 @@ export interface LoginShopSelectionResponse {
|
||||
}>
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UserRelationVO supports user.ts by holding or executing the user relation vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UserRelationVO {
|
||||
userId: IdType
|
||||
shopId?: IdType
|
||||
@@ -109,6 +153,10 @@ export interface UserRelationVO {
|
||||
sourceTypeName?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: NailArtistInfoVO supports user.ts by holding or executing the nail artist info vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface NailArtistInfoVO {
|
||||
userId?: IdType
|
||||
userType?: number
|
||||
@@ -133,12 +181,20 @@ export interface InviteCodeVO {
|
||||
createTime?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UpdatePhoneRequest supports user.ts by holding or executing the update phone request page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UpdatePhoneRequest {
|
||||
oldPhone: string
|
||||
newPhone: string
|
||||
verificationCode: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UserAssetVO supports user.ts by holding or executing the user asset vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface UserAssetVO {
|
||||
userId: IdType
|
||||
nickname: string
|
||||
@@ -154,6 +210,10 @@ export interface UserAssetVO {
|
||||
vipExpireTime?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: BalanceHistoryItem supports user.ts by holding or executing the balance history item page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface BalanceHistoryItem {
|
||||
id: IdType
|
||||
userId: IdType
|
||||
@@ -171,6 +231,10 @@ export interface BalanceHistoryItem {
|
||||
changeTime?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: SystemMessageVO supports user.ts by holding or executing the system message vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface SystemMessageVO {
|
||||
id: IdType
|
||||
title: string
|
||||
@@ -190,6 +254,10 @@ export interface SystemMessageVO {
|
||||
createTime?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: AnnouncementVO supports user.ts by holding or executing the announcement vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface AnnouncementVO {
|
||||
id: IdType
|
||||
title: string
|
||||
@@ -201,6 +269,10 @@ export interface AnnouncementVO {
|
||||
publishTime?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: VipRechargePlanVO supports user.ts by holding or executing the vip recharge plan vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface VipRechargePlanVO {
|
||||
id: IdType
|
||||
shopId: IdType
|
||||
@@ -214,6 +286,10 @@ export interface VipRechargePlanVO {
|
||||
status: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: ContactInfoVO supports user.ts by holding or executing the contact info vo page or API role.
|
||||
* Usage: import, call, read, or update this interface from the owning page/module while preserving the surrounding loading and permission flow.
|
||||
*/
|
||||
export interface ContactInfoVO {
|
||||
contactUserId?: IdType
|
||||
contactName?: string
|
||||
|
||||
Reference in New Issue
Block a user