chore: establish learning module baseline
This commit is contained in:
commit
2d04197f3f
2409 files changed
+533050
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import type { StorageProvider, StorageType } from '../types';
|
||||
|
||||
/** No-op provider used when no external storage is configured. */
|
||||
export class NoopStorageProvider implements StorageProvider {
|
||||
async upload(): Promise<string> {
|
||||
return '';
|
||||
}
|
||||
async exists(): Promise<boolean> {
|
||||
return false;
|
||||
}
|
||||
getUrl(): string {
|
||||
return '';
|
||||
}
|
||||
async batchExists(_hashes: string[], _type: StorageType): Promise<Set<string>> {
|
||||
return new Set();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user