record.ts 1.52 KB
export type ApplicationRecordPageParams = {
  apiName?: string;
  applicationName?: string;
  classify?: string;
  startTime?: string;
  endTime?: string;
  state?: string;
  tenantId?: string;
  textSearch?: string;
  orderFiled?: string;
  orderType?: string;
  page: number;
  pageSize: number;
  sortOrder?: string;
  sortProperty?: string;
};

export interface ApplicationRecordItemType {
  apiName: string;
  applicationName: string;
  categoryName: string;
  interfaceResponse: string;
  callTime: string;
  status: number;
  updateTime: string;
  updater: string;
  createdTime: string;
  creator: string;
  id: string;
  state: number;
}

export interface CallStatisticsItemType {
  createTime: string;
  creator: string;
  failureCount: number;
  id: string;
  name: string;
  recordNum: number;
  recordProportion: number;
  successCount: number;
  updateTime: string;
  updater: string;
}

export interface TopItemType {
  createTime: string;
  creator: string;
  failureCount: number;
  id: string;
  name: string;
  recordNum: number;
  recordProportion: number;
  successCount: number;
  updateTime: string;
  updater: string;
}

export interface ApplicationRecordTopItemType {
  count: number;
  createTime: string;
  creator: string;
  failCount: number;
  id: string;
  successCount: number;
  tops: TopItemType[];
  updateTime: string;
  updater: string;
}

export interface ClassifyDtsItemType {
  classify: string;
  count: number;
  time: string;
}

export interface ClassifyItemType {
  classify: string;
  dts: ClassifyDtsItemType[];
}