Skip to content

Commit

Permalink
refactor: up
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Apr 23, 2024
1 parent 0ad51eb commit 8b118fb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/midway-component-kmore/src/lib/db-source-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import {
Init,
Inject,
Logger as _Logger,
Provide,
Scope,
ScopeEnum,
Singleton,
} from '@midwayjs/core'
import { ILogger } from '@midwayjs/logger'
import {
Expand Down Expand Up @@ -43,8 +41,7 @@ import {
import { ConfigKey, KmoreSourceConfig, DbConfig } from './types.js'


@Provide()
@Scope(ScopeEnum.Singleton)
@Singleton()
export class DbSourceManager<SourceName extends string = string, D = unknown, Ctx extends Context = Context>
extends AbstractDbSourceManager<SourceName, D, Ctx> {

Expand Down

0 comments on commit 8b118fb

Please sign in to comment.