2021-08-16 17:18:32 +02:00
|
|
|
import { _ } from './locale.js';
|
|
|
|
import BaseSyncTarget from './BaseSyncTarget';
|
|
|
|
import { FileApi } from './file-api';
|
|
|
|
|
|
|
|
export default class SyncTargetNone extends BaseSyncTarget {
|
|
|
|
|
|
|
|
public static id() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static targetName() {
|
|
|
|
return 'none';
|
|
|
|
}
|
|
|
|
|
|
|
|
public static label() {
|
|
|
|
return _('(None)');
|
|
|
|
}
|
|
|
|
|
|
|
|
public async fileApi(): Promise<FileApi> {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
protected async initFileApi() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
protected async initSynchronizer() {
|
2024-04-05 13:16:49 +02:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
|
2021-08-16 17:18:32 +02:00
|
|
|
return null as any;
|
|
|
|
}
|
|
|
|
}
|