import { InterFunction, InterItemFunction, InterListFunction } from '~/api/interface';

//需求列表
export type listPublishPageType = InterItemFunction<
  { requirementTypeId?: number; keyword?: string },
  any
>;
//需求类型列表
export type requirementsListType = InterFunction<any, { id: number; typeName: string }[]>;

// 查询招标快讯列表-分页
export type releaseTenderNews = InterListFunction<
  {
    endTime?: string;
    startTime?: string;
    tenderName?: string;
    using?: number;
  },
  {
    createTime: Date;
    id: number;
    port: number;
    tenderName: string;
    using: number;
  }
>;
// 新增招标快讯
export type releaseTenderNewsAdd = InterFunction<any, any>;
// 修改招标快讯
export type releaseTenderNewsUpdate = InterFunction<any, any>;
// 删除招标快讯
export type releaseTenderNewsDelete = InterFunction<{ id: number }, any>;
