(workspaceId: string)
| 13 | } |
| 14 | |
| 15 | export function readRightSidebarLayout(workspaceId: string): RightSidebarLayoutState { |
| 16 | const fallback = getRightSidebarTabFallback(); |
| 17 | const raw = readPersistedState( |
| 18 | getRightSidebarLayoutKey(workspaceId), |
| 19 | getDefaultRightSidebarLayoutState(fallback) |
| 20 | ); |
| 21 | return parseRightSidebarLayoutState(raw, fallback); |
| 22 | } |
| 23 | |
| 24 | export function updateRightSidebarLayout( |
| 25 | workspaceId: string, |
no test coverage detected