linstrom/frontend-reactive/app/routes/application.ts

20 lines
374 B
TypeScript
Raw Normal View History

2024-09-20 14:35:59 +00:00
import Route from "@ember/routing/route";
export default class ApplicationRoute extends Route {
2024-09-20 14:35:59 +00:00
model() {
console.log("root route loaded");
return {
notes: [
{
displayname: "alice",
username: "bob",
server: "example.com",
content: "lorem ipsum",
createdAt: Date.now() - 360000,
editedAt: Date.now() - 60000,
},
],
};
}
}