Browse Source

Update exports

Export all module contents in the facade.
master
TheoryOfNekomata 1 year ago
parent
commit
b37d217381
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      src/modules/init/index.ts
  2. +1
    -1
      src/routes.ts

+ 2
- 0
src/modules/init/index.ts View File

@@ -0,0 +1,2 @@
export * from './InitService';
export * from './InitController';

+ 1
- 1
src/routes.ts View File

@@ -1,5 +1,5 @@
import { FastifyInstance } from 'fastify';
import { InitController, InitControllerImpl } from './modules/init/InitController';
import { InitController, InitControllerImpl } from './modules/init';

export const addDefaultRoutes = (server: FastifyInstance) => {
server


Loading…
Cancel
Save