import React from 'react'; import { RouteComponentProps } from 'react-router'; import { AppBuiltInOrchestration, CodeupDatasource, Component, GitlabDatasource, Placeholder } from '@/api'; export interface AppOrchestration extends AppBuiltInOrchestration { componentList?: Component[]; placeholderList?: Placeholder[]; groupNameMap?: Record; datasource?: CodeupDatasource | GitlabDatasource; } export type IRouterPage = RouteComponentProps> & { children: React.ReactNode; }; export interface IAppOrchestrationSyncData { currentIndex: number; totalCount: number; appSyncResult: { appName: string; success: boolean; errorMessage: string; }; } interface HasMetadata { kind?: string; metadata?: any; apiVersion?: string; } export interface HasMetadataVO { data: HasMetadata; state: string; deliveries: string; relatedResource?: HasMetadata[]; displayName: string; } export interface IOrderPod { age: string; deployGroupName: string; name: string; namespace: string; refWorkload?: string; revision: string; status: string; kind: string; } export interface IReactFlowNode { name: string; status?: string; age?: string; kind?: string; namespace?: string; revision?: string; warningLevel?: string; pods?: IReactFlowNode[]; length?: number; collapsed?: boolean; isOpen?: boolean; isNew?: boolean; orderFinished?: boolean; } export declare enum BatchStep { WEIGHT = "WEIGHT", REPLICAS = "REPLICAS" } export {};