diff options
Diffstat (limited to 'packages/client/src/stream.ts')
| -rw-r--r-- | packages/client/src/stream.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/client/src/stream.ts b/packages/client/src/stream.ts new file mode 100644 index 0000000000..10502444b6 --- /dev/null +++ b/packages/client/src/stream.ts @@ -0,0 +1,6 @@ +import * as Misskey from 'misskey-js'; +import { markRaw } from 'vue'; +import { $i } from '@/account'; +import { url } from '@/config'; + +export const stream = markRaw(new Misskey.Stream(url, $i)); |