2022-07-21 19:16:13 +02:00
|
|
|
export const REPEAT_TYPES = {
|
|
|
|
Hours: 'hours',
|
|
|
|
Days: 'days',
|
|
|
|
Weeks: 'weeks',
|
|
|
|
Months: 'months',
|
|
|
|
Years: 'years',
|
|
|
|
} as const
|
|
|
|
|
2022-08-04 20:57:43 +02:00
|
|
|
export type IRepeatType = typeof REPEAT_TYPES[keyof typeof REPEAT_TYPES]
|
2022-07-21 19:16:13 +02:00
|
|
|
|
2022-08-04 20:57:43 +02:00
|
|
|
export interface IRepeatAfter {
|
|
|
|
type: IRepeatType,
|
2022-07-21 19:16:13 +02:00
|
|
|
amount: number,
|
|
|
|
}
|