(notes) add routing between notes

This commit is contained in:
2021-03-13 22:11:58 +01:00
parent 2bb43ac961
commit 8fad931dfd
12 changed files with 343 additions and 65 deletions

8
src/bus/noteBusEvent.ts Normal file
View File

@@ -0,0 +1,8 @@
import { createEventBus } from 'retrobus'
interface EventBusParams {
path: string
currentNoteSHA?: string
}
export const noteEventBus = createEventBus<EventBusParams>('note')