mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-26 23:25:30 +00:00
19 lines
338 B
TypeScript
19 lines
338 B
TypeScript
import {Factory} from '../support/factory'
|
|
|
|
export class TaskReminderFactory extends Factory {
|
|
static table = 'task_reminders'
|
|
|
|
static factory() {
|
|
const now = new Date()
|
|
|
|
return {
|
|
id: '{increment}',
|
|
task_id: 1,
|
|
reminder: now.toISOString(),
|
|
created: now.toISOString(),
|
|
relative_to: '',
|
|
relative_period: 0,
|
|
}
|
|
}
|
|
}
|