(scope: WorkspaceScope)
| 290 | } |
| 291 | |
| 292 | function getFoldersQueue(scope: WorkspaceScope): PersistenceQueue<'folders', PageFolder[]> { |
| 293 | return getOrCreateQueue(workspaceQueueId(scope, 'folders'), () => |
| 294 | createPersistenceQueue<'folders', PageFolder[]>( |
| 295 | (_key, data) => persistence.workspace(scope).folders.putBatch(data), |
| 296 | DEFAULT_QUEUE_OPTIONS |
| 297 | ) |
| 298 | ) |
| 299 | } |
| 300 | |
| 301 | function getPageFileQueue(scope: WorkspaceScope): PersistenceQueue<string, PageFileMutation> { |
| 302 | return getOrCreateQueue(workspaceQueueId(scope, 'page-file'), () => |
no test coverage detected