system-copyright-react/src/interfaces/card/ICardProj.ts

63 lines
991 B
TypeScript
Raw Normal View History

2024-03-21 22:22:35 +08:00
export enum EditStepEnum {
EDITED = 'EDITED',
UN_EDIT = 'UN_EDIT'
}
2024-03-15 18:18:29 +08:00
export interface IProjEdit {
title: string;
desc?: string;
2024-03-21 22:22:35 +08:00
step?: number;
status: EditStepEnum;
btnName?: string;
canBtnClick?: boolean;
2024-03-15 18:18:29 +08:00
handleEdit(): void;
}
export interface IProjLoading {
title: string;
desc?: string;
2024-03-25 19:25:57 +08:00
duration: number;
handleCountDownOver(): void;
2024-03-15 18:18:29 +08:00
}
export interface IProjResult {
title: string;
isSuccess: boolean;
handleFeedback?(): void;
}
export interface IProjDownload {
title: string;
desc: string;
2024-03-26 21:09:41 +08:00
canBtnClick?: boolean;
2024-03-15 18:18:29 +08:00
handleDownload(): void;
}
export interface IProjJump {
title: string;
desc: string;
handleJump(): void;
2024-03-17 18:36:00 +08:00
}
export enum AgentMedalEnum {
GOLD,
SILVER,
BRONZE,
NORMAL
}
export interface IAgent {
logo?: string;
name: string;
medal?: AgentMedalEnum;
desc: string;
certificateImg: string;
selected?: boolean;
handleSelect(): void;
2024-03-15 18:18:29 +08:00
}