Skip to content

Commit 3326533

Browse files
feat: spells module
1 parent 61f12f8 commit 3326533

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { defineNovaModule } from '@gtc-nova/kit'
2+
import { spellFeatures, type SpellFeatures } from './features'
3+
4+
export const spellsModule = defineNovaModule<SpellFeatures>({
5+
name: 'spells',
6+
features: spellFeatures,
7+
featureTypeFunctions: {
8+
spells: () => {
9+
console.log('spells')
10+
},
11+
},
12+
pluginsDir: './../src/runtime/plugins',
13+
metaUrl: import.meta.url,
14+
hooks: [],
15+
})
16+
17+
export type { Spell, SerializedSpell, SpellRegistry } from './types'

0 commit comments

Comments
 (0)