This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2022-07-21 17:16:13 +00:00
|
|
|
export const REPEAT_TYPES = {
|
2023-06-09 11:19:47 +00:00
|
|
|
Seconds: 'seconds',
|
|
|
|
Minutes: 'minutes',
|
2022-07-21 17:16:13 +00:00
|
|
|
Hours: 'hours',
|
|
|
|
Days: 'days',
|
|
|
|
Weeks: 'weeks',
|
|
|
|
Months: 'months',
|
|
|
|
Years: 'years',
|
|
|
|
} as const
|
|
|
|
|
2022-08-04 18:57:43 +00:00
|
|
|
export type IRepeatType = typeof REPEAT_TYPES[keyof typeof REPEAT_TYPES]
|
2022-07-21 17:16:13 +00:00
|
|
|
|
2022-08-04 18:57:43 +00:00
|
|
|
export interface IRepeatAfter {
|
|
|
|
type: IRepeatType,
|
2022-07-21 17:16:13 +00:00
|
|
|
amount: number,
|
|
|
|
}
|