There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(infra): export op module (#8769)
forehalo39c65051acf1
diff --git a/packages/common/infra/package.json b/packages/common/infra/package.jsonindex a2a471ac0b..89b7515184 100644--- a/packages/common/infra/package.json+++ b/packages/common/infra/package.json@@ -8,6 +8,7 @@"./storage": "./src/storage/index.ts","./utils": "./src/utils/index.ts","./app-config-storage": "./src/app-config-storage.ts",+ "./op": "./src/op/index.ts",".": "./src/index.ts"},"dependencies": {diff --git a/packages/common/infra/src/op/README.md b/packages/common/infra/src/op/README.mdindex ba7f92af76..232dbb04fc 100644--- a/packages/common/infra/src/op/README.md+++ b/packages/common/infra/src/op/README.md@@ -124,10 +124,10 @@ const client = new OpClient(channel);client.listen();```-### MessagePort+### MessageChannel```ts-const { port1, port2 } = new MessagePort();+const { port1, port2 } = new MessageChannel();const client = new OpClient(port1);const consumer = new OpConsumer(port2);