mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-10 13:56:35 +03:00
11 lines
287 B
JavaScript
11 lines
287 B
JavaScript
import { createRequire } from 'node:module';
|
|
|
|
const require = createRequire(import.meta.url);
|
|
|
|
/** @type {import('.')} */
|
|
const binding = require('./storage.node');
|
|
|
|
export const Storage = binding.Storage;
|
|
export const Workspace = binding.Workspace;
|
|
export const Document = binding.Doc;
|