Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

todos.ts

19 lines392 Bytes

1import type { Todo } from '../../app/services/todos/types'
2​
3export const todos: Array<Todo> = [
4 {
5 id: crypto.randomUUID(),
6 text: 'Buy groceries',
7 createdAt: Date.now() - 3000,
8 },
9 {
10 id: crypto.randomUUID(),
11 text: 'Walk the dog',
12 createdAt: Date.now() - 2000,
13 },
14 {
15 id: crypto.randomUUID(),
16 text: 'Read a book',
17 createdAt: Date.now() - 1000,
18 },