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