(next: VaultSettings)
| 294 | } |
| 295 | |
| 296 | function setVaultSettings(next: VaultSettings): Promise<VaultSettings> { |
| 297 | return jsonRequest<VaultSettings>('/vault/settings', { |
| 298 | method: 'POST', |
| 299 | body: next as unknown as Record<string, unknown> |
| 300 | }) |
| 301 | } |
| 302 | |
| 303 | // Workspace state lives in the desktop vault's .zennotes/ on disk (#292); the |
| 304 | // web build has no local vault filesystem, so these are no-ops. |
nothing calls this directly
no test coverage detected