You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Tools: Apply rule @typescript-eslint/member-delimiter-style
This commit is contained in:
		| @@ -7,7 +7,7 @@ const Setting = require('../../models/Setting').default; | ||||
| export default class InteropService_Importer_Base { | ||||
| 	private metadata_: any = null; | ||||
| 	protected sourcePath_: string = ''; | ||||
| 	protected options_: any = {} | ||||
| 	protected options_: any = {}; | ||||
|  | ||||
| 	setMetadata(md: any) { | ||||
| 		this.metadata_ = md; | ||||
|   | ||||
| @@ -1,14 +1,14 @@ | ||||
| import { _ } from '../../locale'; | ||||
|  | ||||
| export interface CustomImportContext { | ||||
| 	sourcePath: string, | ||||
| 	options: ImportOptions, | ||||
| 	warnings: string[], | ||||
| 	sourcePath: string; | ||||
| 	options: ImportOptions; | ||||
| 	warnings: string[]; | ||||
| } | ||||
|  | ||||
| export interface CustomExportContext { | ||||
| 	destPath: string, | ||||
| 	options: ExportOptions, | ||||
| 	destPath: string; | ||||
| 	options: ExportOptions; | ||||
| } | ||||
|  | ||||
| export enum ModuleType { | ||||
| @@ -34,32 +34,32 @@ export interface Module { | ||||
| 	// Shared properties | ||||
| 	// --------------------------------------- | ||||
|  | ||||
| 	type: ModuleType, | ||||
| 	format: string, | ||||
| 	fileExtensions: string[], | ||||
| 	description: string, | ||||
| 	path?: string, | ||||
| 	type: ModuleType; | ||||
| 	format: string; | ||||
| 	fileExtensions: string[]; | ||||
| 	description: string; | ||||
| 	path?: string; | ||||
|  | ||||
| 	// Only applies to single file exporters or importers | ||||
| 	// It tells whether the format can package multiple notes into one file. | ||||
| 	// For example JEX or ENEX can, but HTML cannot. | ||||
| 	// Default: true. | ||||
| 	isNoteArchive?: boolean, | ||||
| 	isNoteArchive?: boolean; | ||||
|  | ||||
| 	// A custom module is one that was not hard-coded, that was created at runtime | ||||
| 	// by a plugin for example. If `isCustom` is `true` if it is expected that all | ||||
| 	// the event handlers below are defined (it's enforced by the plugin API). | ||||
| 	isCustom?: boolean, | ||||
| 	isCustom?: boolean; | ||||
|  | ||||
| 	// --------------------------------------- | ||||
| 	// Import-only properties | ||||
| 	// --------------------------------------- | ||||
|  | ||||
| 	sources?: FileSystemItem[], | ||||
| 	importerClass?: string, | ||||
| 	outputFormat?: ImportModuleOutputFormat, | ||||
| 	isDefault?: boolean, | ||||
| 	fullLabel?: Function, | ||||
| 	sources?: FileSystemItem[]; | ||||
| 	importerClass?: string; | ||||
| 	outputFormat?: ImportModuleOutputFormat; | ||||
| 	isDefault?: boolean; | ||||
| 	fullLabel?: Function; | ||||
|  | ||||
| 	// Used only if `isCustom` is true | ||||
| 	onExec?(context: any): Promise<void>; | ||||
| @@ -68,7 +68,7 @@ export interface Module { | ||||
| 	// Export-only properties | ||||
| 	// --------------------------------------- | ||||
|  | ||||
| 	target?: FileSystemItem, | ||||
| 	target?: FileSystemItem; | ||||
|  | ||||
| 	// Used only if `isCustom` is true | ||||
| 	onInit?(context: any): Promise<void>; | ||||
| @@ -78,25 +78,25 @@ export interface Module { | ||||
| } | ||||
|  | ||||
| export interface ImportOptions { | ||||
| 	path?: string, | ||||
| 	format?: string | ||||
| 	modulePath?: string, | ||||
| 	destinationFolderId?: string, | ||||
| 	destinationFolder?: any, | ||||
| 	outputFormat?: ImportModuleOutputFormat, | ||||
| 	path?: string; | ||||
| 	format?: string; | ||||
| 	modulePath?: string; | ||||
| 	destinationFolderId?: string; | ||||
| 	destinationFolder?: any; | ||||
| 	outputFormat?: ImportModuleOutputFormat; | ||||
| } | ||||
|  | ||||
| export interface ExportOptions { | ||||
| 	format?: string, | ||||
| 	path?: string, | ||||
| 	sourceFolderIds?: string[], | ||||
| 	sourceNoteIds?: string[], | ||||
| 	modulePath?: string, | ||||
| 	target?: FileSystemItem, | ||||
| 	format?: string; | ||||
| 	path?: string; | ||||
| 	sourceFolderIds?: string[]; | ||||
| 	sourceNoteIds?: string[]; | ||||
| 	modulePath?: string; | ||||
| 	target?: FileSystemItem; | ||||
| } | ||||
|  | ||||
| export interface ImportExportResult { | ||||
| 	warnings: string[], | ||||
| 	warnings: string[]; | ||||
| } | ||||
|  | ||||
| function moduleFullLabel(moduleSource: FileSystemItem = null): string { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user