import { BasicFetchResult } from '@/api/model/baseModel';
import { type } from 'os';

export interface AccountListItem {
  databaseLinkId: string;
  dbName: string;
  dbAlias: string;
  dbType: number;
  serverAddress: string;
  dbConnection: string;
  description: string;
}

// task
export interface Task {
  id:string;
  taskName:string;
  shpId:string;
  remark:string;
  previousPhase:Array;
  laterPhase:Array;
}

// shp
export interface Shape {
  id:string;
  shpName:string;
}

// tif


/**
 * @description: Request list return value
 */
export interface AccountParams {
  id?: string;
  keyword?: string;
  page?: string;
  limit?: string;
};

export type TaskResultModel = BasicFetchResult<Task>;

export type ShapeResultModel = BasicFetchResult<Shape>
