feat:初始化工程
This commit is contained in:
33
src/types/anniversary.ts
Normal file
33
src/types/anniversary.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* 纪念日
|
||||
*/
|
||||
export interface IAnniversary {
|
||||
id?: number;
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
date: string;
|
||||
/**
|
||||
* 是否重复
|
||||
*/
|
||||
recurring: boolean;
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
type: 'countUp' | 'countDown';
|
||||
/**
|
||||
* 分类
|
||||
*/
|
||||
category: string;
|
||||
}
|
||||
|
||||
export interface IAnniversaryCategory {
|
||||
name: string;
|
||||
title: string;
|
||||
subTitle: string;
|
||||
color: string;
|
||||
}
|
||||
Reference in New Issue
Block a user