fix: storage issue (show file or api more consistently)

This commit is contained in:
Ralph Khreish
2025-10-16 13:34:13 +02:00
parent 8957110b50
commit 191a2fdb92
2 changed files with 14 additions and 0 deletions

View File

@@ -112,6 +112,13 @@ export class ApiStorage implements IStorage {
} }
} }
/**
* Get the storage type
*/
getType(): 'api' {
return 'api';
}
/** /**
* Load tags into cache * Load tags into cache
* In our API-based system, "tags" represent briefs * In our API-based system, "tags" represent briefs

View File

@@ -44,6 +44,13 @@ export class FileStorage implements IStorage {
await this.fileOps.cleanup(); await this.fileOps.cleanup();
} }
/**
* Get the storage type
*/
getType(): 'file' {
return 'file';
}
/** /**
* Get statistics about the storage * Get statistics about the storage
*/ */