杂务:新增声明级注释覆盖率
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
import api from './index'
|
||||
import type { IdType } from '@/utils/id'
|
||||
|
||||
/**
|
||||
* Purpose: ProductVO supports product.ts by holding or executing the product 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 ProductVO {
|
||||
id: IdType
|
||||
shopId: IdType | null
|
||||
@@ -33,6 +37,10 @@ export interface ProductVO {
|
||||
updateTime: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: TagInfo supports product.ts by holding or executing the tag info 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 TagInfo {
|
||||
id: IdType
|
||||
tagName: string
|
||||
@@ -41,12 +49,20 @@ export interface TagInfo {
|
||||
borderColor?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: ListProductsParams supports product.ts by holding or executing the list products 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 ListProductsParams {
|
||||
page: number
|
||||
size: number
|
||||
keyword?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: CreateProductRequest supports product.ts by holding or executing the create product 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 CreateProductRequest {
|
||||
name: string
|
||||
description: string
|
||||
@@ -58,6 +74,10 @@ export interface CreateProductRequest {
|
||||
shopId: IdType | null
|
||||
}
|
||||
|
||||
/**
|
||||
* Purpose: UpdateProductRequest supports product.ts by holding or executing the update product 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 UpdateProductRequest {
|
||||
name?: string
|
||||
description?: string
|
||||
|
||||
Reference in New Issue
Block a user