mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
31 lines
487 B
TypeScript
31 lines
487 B
TypeScript
|
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() {
|
||
|
return null as any;
|
||
|
}
|
||
|
}
|