19 lines
374 B
TypeScript
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,
|
|
},
|
|
],
|
|
};
|
|
}
|
|
}
|