mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(api): collapse single-impl interfaces and facades (#3382)
This commit is contained in:
1 parent
e7b13fd19f
commit
c16d414d93
426 files changed
+2085
-6445
No files matched your search
@@ -3,7 +3,6 @@
|
||||
import {createReadStream} from 'node:fs';
|
||||
import {createConnection} from 'node:net';
|
||||
import {Readable} from 'node:stream';
|
||||
import type {IVirusScanProvider} from '@pkgs/virus_scan/src/IVirusScanProvider';
|
||||
import type {VirusScanProviderResult} from '@pkgs/virus_scan/src/VirusScanProviderResult';
|
||||
|
||||
interface ClamAVConfig {
|
||||
@@ -12,7 +11,7 @@ interface ClamAVConfig {
|
||||
streamChunkBytes?: number;
|
||||
}
|
||||
|
||||
export class ClamAVProvider implements IVirusScanProvider {
|
||||
export class ClamAVProvider {
|
||||
private readonly streamChunkBytes: number;
|
||||
|
||||
constructor(private config: ClamAVConfig) {
|
||||
|
||||
Reference in new issue
Block a user