(userId: string)
| 8 | constructor(private readonly store: StoreService) {} |
| 9 | |
| 10 | get(userId: string): Settings { |
| 11 | return this.store.userSettings.get(userId) as Settings; |
| 12 | } |
| 13 | |
| 14 | update(userId: string, patch: Settings): Settings { |
| 15 | const merged = { ...this.get(userId), ...patch }; |