git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 06ba928e6dae6f3bb75720b2d3deee46ebb1dd18

Files: 06ba928e6dae6f3bb75720b2d3deee46ebb1dd18 / app / todos / models.js

165 bytesRaw
1import t from 'tcomb'
2
3export const Todo = t.struct({
4 id: t.Number,
5 text: t.String,
6 complete: t.Boolean
7}, 'Todo')
8
9export const Todos = t.list(Todo, 'Todos')
10

Built with git-ssb-web