extraComponentInfo.d.ts
634 Bytes
import { ChartEditStoreType, RequestConfigType, } from '../../modules/chartEditStore/chartEditStore.d'
import { CreateComponentType } from '../../../packages/index.d'
export enum ExtraComponentInfoStoreEnum {
  COMPONENT_LIST = 'componentList'
}
export interface ExtraComponentInfoStoreType {
  [ExtraComponentInfoStoreEnum.COMPONENT_LIST]: ChartEditStoreType['componentList']
}
export interface ExternalRequestType {
  requestOriginUrl?: string
}
export type ExtraRequestConfigType = RequestConfigType & ExternalRequestType
export interface ECreateComponentType extends CreateComponentType {
  request: ExtraRequestConfigType
}