( eventManager: EventManager, collection: string, total: number, current?: number )
| 58 | } |
| 59 | |
| 60 | export function sendMigrationProgressEvent( |
| 61 | eventManager: EventManager, |
| 62 | collection: string, |
| 63 | total: number, |
| 64 | current?: number |
| 65 | ) { |
| 66 | eventManager.publish(EVENTS.migrationProgress, { |
| 67 | collection, |
| 68 | total, |
| 69 | current: current === undefined ? total : current |
| 70 | }); |
| 71 | } |
| 72 | |
| 73 | export const CLIENT_ID = "notesnook"; |
| 74 |
no test coverage detected