import { BasicPageParams, BasicFetchResult } from '@/api/model/baseModel';

export interface DemoOptionsItem {
  name: string;
  id: string;
}

export interface NoOptionsParam {
  id: string;
  info: any;
  scheme: any;
  dbCode: string;
  sql: string;
}
export interface DeiginFormParam {
  info: any;
  scheme: any;
}
export interface DataBaseSqlParam {
  dbCode: any;
  sql: any;
}
export interface selectParams {
  id: any;
}
export interface OutKeyParams {
  tableNames: any;
  dbCode: any;
}
export interface ImportantDataBaseParam {
  tableList: any;
  dbCode: any;
}

export type AccountParams = BasicPageParams & {
  account?: string;
  nickname?: string;
  [key: string]: any;
};

export interface AccountListItem {
  id: string;
  orderNo: string;
  createTime: string;
  status: number;
  icon: string;
  component: string;
  permission: string;
  scheme: any;
}
/**
 * @description: Request list return value
 */
export type DemoOptionsGetResultModel = BasicFetchResult<DemoOptionsItem>;

export type AccountListGetResultModel = BasicFetchResult<AccountListItem>;
