From 141f927c934e2be00714858bae54a9f3c39e1ee7 Mon Sep 17 00:00:00 2001 From: tintinthong Date: Tue, 7 Jan 2025 16:56:24 -0500 Subject: [PATCH] add basic version of todo app --- packages/experiments-realm/todo-app.gts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/experiments-realm/todo-app.gts diff --git a/packages/experiments-realm/todo-app.gts b/packages/experiments-realm/todo-app.gts new file mode 100644 index 0000000000..65b237258f --- /dev/null +++ b/packages/experiments-realm/todo-app.gts @@ -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); +}