14 lines
265 B
TypeScript
14 lines
265 B
TypeScript
|
export const REPEAT_TYPES = {
|
||
|
Hours: 'hours',
|
||
|
Days: 'days',
|
||
|
Weeks: 'weeks',
|
||
|
Months: 'months',
|
||
|
Years: 'years',
|
||
|
} as const
|
||
|
|
||
|
export type RepeatType = typeof REPEAT_TYPES[keyof typeof REPEAT_TYPES]
|
||
|
|
||
|
export interface IRepeats {
|
||
|
type: RepeatType,
|
||
|
amount: number,
|
||
|
}
|