mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
|
|
import { asFactory, buildContainer } from "@hypersphere/dity";
|
||
|
|
import { DityGraph } from "./dityGraph";
|
||
|
|
import { Plugin } from "obsidian";
|
||
|
|
|
||
|
|
export const debugModule = buildContainer(c =>
|
||
|
|
c
|
||
|
|
.register({
|
||
|
|
init: asFactory(DityGraph)
|
||
|
|
})
|
||
|
|
.exports('init')
|
||
|
|
.externals<{
|
||
|
|
plugin: Plugin
|
||
|
|
}>()
|
||
|
|
)
|
||
|
|
|
||
|
|
export type DebugModule = typeof debugModule
|