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

29 lines
542 B
TypeScript
Raw Normal View History

2024-03-20 18:30:39 +08:00
2024-03-14 18:33:58 +08:00
export interface ICardProjBodyLine {
title: string;
contents: string[];
}
export interface ICardProjChargeLine {
2024-03-20 18:30:39 +08:00
id: string;
2024-03-14 18:33:58 +08:00
title: string;
price: number;
}
export interface ICardProjBuy {
2024-03-20 18:30:39 +08:00
id: string;
2024-03-14 18:33:58 +08:00
label?: string,
price: number;
2024-03-20 18:30:39 +08:00
handleClick(title: string, additional: {
pkg: boolean,
videoDemo: boolean
}): void;
2024-03-14 18:33:58 +08:00
}
export interface ICardProj {
head: string;
bodyLineArray: ICardProjBodyLine[];
chargeLineArray?: ICardProjChargeLine[];
buyArray: ICardProjBuy[];
}