We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60c75f2 commit 90a2ce2Copy full SHA for 90a2ce2
3 files changed
grimoire/modules/spells/src/runtime/plugins/index.ts
grimoire/modules/tools/src/features/index.ts
@@ -0,0 +1,5 @@
1
+export const toolFeatures = {
2
+ tools: 'tools',
3
+} as const
4
+
5
+export type ToolFeatures = typeof toolFeatures
grimoire/modules/tools/src/index.ts
@@ -0,0 +1,17 @@
+import { defineNovaModule } from '@gtc-nova/kit'
+import { toolFeatures, type ToolFeatures } from './features'
+export const toolModule = defineNovaModule<ToolFeatures>({
+ name: 'tools',
6
+ features: toolFeatures,
7
+ featureTypeFunctions: {
8
+ tools: () => {
9
+ console.log('tools')
10
+ },
11
12
+ pluginsDir: './../src/runtime/plugins',
13
+ metaUrl: import.meta.url,
14
+ hooks: [],
15
+})
16
17
+export type * from './types'
0 commit comments