flat: 添加来源监测相关
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled

This commit is contained in:
Apcallover
2026-04-27 09:13:30 +08:00
parent a67946a1cb
commit b7d7437c21
18 changed files with 1696 additions and 2 deletions

View File

@@ -0,0 +1,49 @@
declare namespace API.StorageDetection {
export interface StorageDetailItem {
detailId?: string;
websiteId?: string;
websiteName?: string;
successNumber?: string;
failedNumber?: string;
storageDetail?: string;
storageTime?: string;
}
export interface StorageItem {
detectionId?: string;
storageDate?: string;
storageNumber?: string;
storageResult?: string;
storageDetail?: string;
websiteId?: string;
websiteName?: string;
details?: StorageDetailItem[];
}
export interface AddParams {
storageDate?: string;
storageNumber?: string;
storageResult?: string;
storageDetail?: string;
websiteName?: string;
}
export interface ListParams {
storageDate?: string;
pageSize?: number;
current?: number;
}
export interface StorageIdResult {
code: number;
msg: string;
data: StorageItem;
}
export interface StoragePageResult {
code: number;
msg: string;
total: number;
rows: Array<StorageItem>;
}
}

View File

@@ -0,0 +1,46 @@
declare namespace API.JobIndex {
export interface JobIndexItem {
indexId?: string;
indexName?: string;
indexDesc?: string;
isActive?: string;
}
export interface AddParams {
indexName?: string;
indexDesc?: string;
isActive?: string;
}
export interface UpdateParams {
indexId?: string;
indexName?: string;
indexDesc?: string;
isActive?: string;
}
export interface ListParams {
indexName?: string;
indexDesc?: string;
isActive?: string;
pageSize?: number;
current?: number;
}
export interface DeleteParams {
indexId?: string;
}
export interface JobIndexIdResult {
code: number;
msg: string;
data: JobIndexItem;
}
export interface JobIndexPageResult {
code: number;
msg: string;
total: number;
rows: Array<JobIndexItem>;
}
}

View File

@@ -0,0 +1,50 @@
declare namespace API.Website {
export interface WebsiteItem {
websiteId?: string;
websiteName?: string;
websiteUrl?: string;
websiteOwnerCompany?: string;
isActive?: string;
}
export interface AddParams {
websiteName?: string;
websiteUrl?: string;
websiteOwnerCompany?: string;
isActive?: string;
}
export interface UpdateParams {
websiteId?: string;
websiteName?: string;
websiteUrl?: string;
websiteOwnerCompany?: string;
isActive?: string;
}
export interface ListParams {
websiteName?: string;
websiteUrl?: string;
websiteOwnerCompany?: string;
isActive?: string;
pageSize?: number;
current?: number;
}
export interface DeleteParams {
websiteId?: string;
}
export interface WebsiteIdResult {
code: number;
msg: string;
data: WebsiteItem;
}
export interface WebsitePageResult {
code: number;
msg: string;
total: number;
rows: Array<WebsiteItem>;
}
}