Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Publish mutation created event on file create
Hakan Shehub264632c6329
diff --git a/apps/desktop/src/main/mutations/files/file-create.ts b/apps/desktop/src/main/mutations/files/file-create.tsindex 2d076849..59e73515 100644--- a/apps/desktop/src/main/mutations/files/file-create.ts+++ b/apps/desktop/src/main/mutations/files/file-create.ts@@ -168,6 +168,11 @@ export class FileCreateMutationHandlerfile: mapFile(createdFile),});+ eventBus.publish({+ type: 'mutation_created',+ userId: input.userId,+ });+eventBus.publish({type: 'file_state_created',userId: input.userId,