linstrom/frontend-reactive/app/routes/application.ts
2024-09-20 16:35:59 +02:00

19 lines
374 B
TypeScript

import Route from "@ember/routing/route";
export default class ApplicationRoute extends Route {
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,
},
],
};
}
}