( wsScope: string, project: string, email: string )
| 159 | }; |
| 160 | |
| 161 | const readOpenTabs = ( |
| 162 | wsScope: string, |
| 163 | project: string, |
| 164 | email: string |
| 165 | ): PersistentTab[] => |
| 166 | safeRead<PersistentTab[]>( |
| 167 | storageKeySqlEditorTabs(wsScope, project, email), |
| 168 | (v) => (isPersistentTabArray(v) ? v : undefined), |
| 169 | [] |
| 170 | ); |
| 171 | |
| 172 | export const useSQLEditorTabsStore: UseBoundStore< |
| 173 | StoreApi<SQLEditorTabsState> |
no test coverage detected