()
| 38 | export const $uiSessionId = computed($uiState, state => state.sid) |
| 39 | |
| 40 | export const getUiState = () => $uiState.get() |
| 41 | |
| 42 | export const patchUiState = (next: Partial<UiState> | ((state: UiState) => UiState)) => |
| 43 | $uiState.set(typeof next === 'function' ? next($uiState.get()) : { ...$uiState.get(), ...next }) |
no test coverage detected