more lint fixes
This commit is contained in:
parent
781ea7a9df
commit
2e073b1d44
4 changed files with 47 additions and 35 deletions
|
|
@ -8,8 +8,8 @@ const logger = getLogger('sync-manager');
|
|||
|
||||
export class SyncManager {
|
||||
private isInitialized = false;
|
||||
private mongoClient: any;
|
||||
private postgresClient: any;
|
||||
private mongoClient: unknown;
|
||||
private postgresClient: unknown;
|
||||
|
||||
async initialize(): Promise<void> {
|
||||
if (this.isInitialized) {
|
||||
|
|
@ -153,7 +153,7 @@ export class SyncManager {
|
|||
/**
|
||||
* Get sync status for all providers
|
||||
*/
|
||||
async getSyncStatus(): Promise<any[]> {
|
||||
async getSyncStatus(): Promise<Record<string, unknown>[]> {
|
||||
const query = 'SELECT * FROM sync_status ORDER BY provider, data_type';
|
||||
const result = await this.postgresClient.query(query);
|
||||
return result.rows;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue