mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-21 03:51:45 +08:00
refactor(server): standalone runtime module (#9120)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
|
||||
import { Runtime } from './service';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
providers: [Runtime],
|
||||
exports: [Runtime],
|
||||
})
|
||||
export class RuntimeModule {}
|
||||
export { Runtime };
|
||||
Reference in New Issue
Block a user