mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
refactor: move things to core, imports not fixed yet
This commit is contained in:
3
src/core/index.ts
Normal file
3
src/core/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import SernEmitter from './sernEmitter'
|
||||
|
||||
export { SernEmitter };
|
||||
@@ -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';
|
||||
|
||||
/**
|
||||
6
src/core/structures/index.ts
Normal file
6
src/core/structures/index.ts
Normal 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 };
|
||||
Reference in New Issue
Block a user