16 lines
340 B
TypeScript
16 lines
340 B
TypeScript
|
|
// general exports for testing
|
||
|
|
export * from './classes.reception.js';
|
||
|
|
|
||
|
|
// running it in production
|
||
|
|
import { Reception } from './classes.reception.js';
|
||
|
|
|
||
|
|
let reception: Reception;
|
||
|
|
export const runCli = async () => {
|
||
|
|
reception = new Reception();
|
||
|
|
await reception.start();
|
||
|
|
};
|
||
|
|
|
||
|
|
export const stop = async () => {
|
||
|
|
await reception.stop();
|
||
|
|
};
|