We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9564d56 commit fab0d66Copy full SHA for fab0d66
1 file changed
src/stores/noteStore.ts
@@ -3,7 +3,22 @@ import type { Note } from '../types/note'
3
4
export const useNoteStore = defineStore('note', {
5
state: () => ({
6
- notes: [] as Note[],
+ notes: [
7
+ {
8
+ id: 1,
9
+ sheetId: 1,
10
+ author: 'Dirigent',
11
+ content: 'Takt 42: Einsatz verzögern',
12
+ createdAt: new Date().toISOString(),
13
+ },
14
15
+ id: 2,
16
17
+ author: 'Mitglied',
18
+ content: 'Bitte Tempo beachten',
19
20
21
+ ] as Note[],
22
}),
23
actions: {
24
addNote(sheetId: number, content: string, author = 'Du') {
0 commit comments