From 7242164c75d7cff72ac516e1ce59f488d4118d4d Mon Sep 17 00:00:00 2001 From: Danpa_cho Date: Sun, 10 Mar 2024 00:35:00 +0900 Subject: [PATCH] feat: register added plugins --- packages/contents_builder/src/builder/core/index.ts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/contents_builder/src/builder/core/index.ts b/packages/contents_builder/src/builder/core/index.ts index 8febcd4..abf1106 100644 --- a/packages/contents_builder/src/builder/core/index.ts +++ b/packages/contents_builder/src/builder/core/index.ts @@ -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