mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 13:22:40 +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;
|