refactor: move things to core, imports not fixed yet

This commit is contained in:
Jacob Nguyen
2023-04-12 13:08:45 -05:00
parent 21febd2c90
commit 58b3d85da8
20 changed files with 10 additions and 1 deletions

3
src/core/index.ts Normal file
View File

@@ -0,0 +1,3 @@
import SernEmitter from './sernEmitter'
export { SernEmitter };

View File

@@ -1,6 +1,6 @@
import { EventEmitter } from 'events';
import type { Payload, SernEventsMapping } from '../types/handler';
import { PayloadType } from './structures';
import { PayloadType } from '../handler/structures';
import type { Module } from '../types/module';
/**

View File

@@ -0,0 +1,6 @@
import Context from './context';
import type Wrapper from './wrapper';
import { ModuleStore } from './moduleStore';
export * from './errors';
export * from './enums';
export { Context, Wrapper, ModuleStore };