Skip to content

Commit

Permalink
add basic version of todo app
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinthong committed Jan 7, 2025
1 parent 3f6d2b8 commit 141f927
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/experiments-realm/todo-app.gts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import {
field,
CardDef,
linksToMany,
} from 'https://cardstack.com/base/card-api';
import { Todo } from './todo';

export class TodoApp extends CardDef {
static displayName = 'Todo App';
@field todos = linksToMany(() => Todo);
}

0 comments on commit 141f927

Please sign in to comment.