mirror of
https://github.com/beilunyang/moemail.git
synced 2025-12-24 11:30:51 +08:00
feat: Init
This commit is contained in:
10
app/types/email.ts
Normal file
10
app/types/email.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface ExpiryOption {
|
||||
label: string
|
||||
value: number // 过期时间(毫秒)
|
||||
}
|
||||
|
||||
export const EXPIRY_OPTIONS: ExpiryOption[] = [
|
||||
{ label: '1小时', value: 1000 * 60 * 60 },
|
||||
{ label: '24小时', value: 1000 * 60 * 60 * 24 },
|
||||
{ label: '3天', value: 1000 * 60 * 60 * 24 * 3 }
|
||||
]
|
||||
Reference in New Issue
Block a user