Skip to content

Commit

Permalink
feat: register added plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Mar 9, 2024
1 parent 72e0793 commit 7242164
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/contents_builder/src/builder/core/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import type { UsePlugin } from '../plugin'
import type { PluginAdapter } from '../plugin'
import { ObsidianReference } from './contents/obsidian.reference'
import { FileTreeConstructor } from './tree/file.tree.constructor'
// import { StaticParamBuilder } from './tree/static.param.builder'
import { MetaBuilder } from './tree/meta.builder'
import { StaticParamBuilder } from './tree/static.param.builder'

export const CorePlugins = {
'build:file:tree': [FileTreeConstructor()],
'build:file:tree': [
FileTreeConstructor(),
MetaBuilder(),
StaticParamBuilder(),
],
'build:contents': [ObsidianReference],
} as const satisfies UsePlugin
} as const satisfies PluginAdapter

0 comments on commit 7242164

Please sign in to comment.