diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/codemirror_content_script/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/content_script/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/content_script/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/content_script/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/content_script/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/content_script/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/content_script/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/content_script/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/content_script/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/content_script/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/content_script/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/content_script/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/content_script/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/content_script/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/content_script/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/content_script/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/content_script/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/content_script/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/content_script/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/content_script/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/content_script/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/dialog/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/dialog/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/dialog/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/dialog/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/dialog/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/dialog/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/dialog/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/dialog/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/dialog/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/dialog/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/dialog/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/dialog/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/dialog/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/dialog/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/dialog/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/dialog/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/dialog/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/dialog/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/dialog/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/dialog/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/editor_context_menu/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/events/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/events/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/events/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/events/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/events/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/events/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/events/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/events/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/events/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/events/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/events/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/events/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/events/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/events/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/events/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/events/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/events/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/events/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/events/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/events/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/external_assets/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/external_assets/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/jpl_test/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/json_export/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/json_export/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/json_export/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/json_export/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/json_export/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/json_export/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/json_export/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/json_export/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/json_export/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/json_export/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/json_export/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/json_export/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/json_export/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/json_export/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/json_export/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/json_export/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/json_export/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/json_export/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/json_export/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/json_export/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/menu/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/menu/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/menu/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/menu/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/menu/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/menu/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/menu/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/menu/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/menu/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/menu/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/menu/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/menu/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/menu/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/menu/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/menu/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/menu/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/menu/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/menu/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/menu/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/menu/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/multi_selection/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/nativeModule/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/post_messages/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/post_messages/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/register_command/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/register_command/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/register_command/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/register_command/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/register_command/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/register_command/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/register_command/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/register_command/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/register_command/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/register_command/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/register_command/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/register_command/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/register_command/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/register_command/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/register_command/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/register_command/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/register_command/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/register_command/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/register_command/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/register_command/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/selected_text/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/selected_text/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/settings/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/settings/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/settings/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/settings/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/settings/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/settings/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/settings/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/settings/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/settings/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/settings/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/settings/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/settings/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/settings/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/settings/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/settings/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/settings/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/settings/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/settings/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/settings/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/settings/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/toc/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/toc/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/toc/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/toc/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/toc/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/toc/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/toc/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/toc/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/toc/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/toc/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/toc/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/toc/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/toc/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/toc/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/toc/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/toc/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/toc/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/toc/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/toc/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/toc/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinCommands.d.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinCommands.d.ts
index 3e3452bfb..e4487cf33 100644
--- a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinCommands.d.ts
+++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinCommands.d.ts
@@ -49,7 +49,7 @@ import { Command } from './types';
*
*/
export default class JoplinCommands {
- /**
+ /**
* desktop Executes the given
* command.
*
@@ -68,8 +68,8 @@ export default class JoplinCommands {
* await joplin.commands.execute('newFolder', "SOME_FOLDER_ID");
* ```
*/
- execute(commandName: string, ...args: any[]): Promise;
- /**
+ execute(commandName: string, ...args: any[]): Promise;
+ /**
* desktop Registers a new command.
*
* ```typescript
@@ -85,5 +85,5 @@ export default class JoplinCommands {
* });
* ```
*/
- register(command: Command): Promise;
+ register(command: Command): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinFilters.d.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinFilters.d.ts
index 43bc1b2b7..e086a720e 100644
--- a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinFilters.d.ts
+++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinFilters.d.ts
@@ -5,6 +5,6 @@
* so for now disable filters.
*/
export default class JoplinFilters {
- on(name: string, callback: Function): Promise;
- off(name: string, callback: Function): Promise;
+ on(name: string, callback: Function): Promise;
+ off(name: string, callback: Function): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinInterop.d.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinInterop.d.ts
index 8de655c83..1304c7512 100644
--- a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinInterop.d.ts
+++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinInterop.d.ts
@@ -12,6 +12,6 @@ import { ExportModule, ImportModule } from './types';
* You may also want to refer to the Joplin API documentation to see the list of properties for each item (note, notebook, etc.) - https://joplinapp.org/api/references/rest_api/
*/
export default class JoplinInterop {
- registerExportModule(module: ExportModule): Promise;
- registerImportModule(module: ImportModule): Promise;
+ registerExportModule(module: ExportModule): Promise;
+ registerImportModule(module: ImportModule): Promise;
}
diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinSettings.d.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinSettings.d.ts
index 74572b7ab..a22b9073c 100644
--- a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinSettings.d.ts
+++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinSettings.d.ts
@@ -6,7 +6,7 @@ export interface ChangeEvent {
*/
keys: string[];
}
-export declare type ChangeHandler = (event: ChangeEvent) => void;
+export declare type ChangeHandler = (event: ChangeEvent)=> void;
/**
* This API allows registering new settings and setting sections, as well as getting and setting settings. Once a setting has been registered it will appear in the config screen and be editable by the user.
*
diff --git a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinWorkspace.d.ts b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinWorkspace.d.ts
index c6dd869b3..229175713 100644
--- a/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinWorkspace.d.ts
+++ b/packages/app-cli/tests/support/plugins/withExternalModules/api/JoplinWorkspace.d.ts
@@ -3,7 +3,7 @@ import { Disposable } from './types';
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
- Delete = 3
+ Delete = 3,
}
interface ItemChangeEvent {
id: string;
@@ -12,8 +12,8 @@ interface ItemChangeEvent {
interface SyncStartEvent {
withErrors: boolean;
}
-declare type ItemChangeHandler = (event: ItemChangeEvent) => void;
-declare type SyncStartHandler = (event: SyncStartEvent) => void;
+declare type ItemChangeHandler = (event: ItemChangeEvent)=> void;
+declare type SyncStartHandler = (event: SyncStartEvent)=> void;
/**
* The workspace service provides access to all the parts of Joplin that
* are being worked on - i.e. the currently selected notes or notebooks as
diff --git a/packages/generator-joplin/generators/app/templates/api/Joplin.d.ts b/packages/generator-joplin/generators/app/templates/api/Joplin.d.ts
index 09d856e37..c3a0200d0 100644
--- a/packages/generator-joplin/generators/app/templates/api/Joplin.d.ts
+++ b/packages/generator-joplin/generators/app/templates/api/Joplin.d.ts
@@ -13,17 +13,14 @@ import JoplinWindow from './JoplinWindow';
/**
* This is the main entry point to the Joplin API. You can access various services using the provided accessors.
*
- * **This is a beta API**
+ * The API is now relatively stable and in general maintaining backward compatibility is a top priority, so you shouldn't except much breakages.
*
- * Please note that the plugin API is relatively new and should be considered Beta state. Besides possible bugs, what it means is that there might be necessary breaking changes from one version to the next. Whenever such change is needed, best effort will be done to:
+ * If a breaking change ever becomes needed, best effort will be done to:
*
- * - Maintain backward compatibility;
- * - When possible, deprecate features instead of removing them;
+ * - Deprecate features instead of removing them, so as to give you time to fix the issue;
* - Document breaking changes in the changelog;
*
- * So if you are developing a plugin, please keep an eye on the changelog as everything will be in there with information about how to update your code. There won't be any major API rewrite or architecture changes, but possibly small tweaks like function signature change, type change, etc.
- *
- * Eventually, the plugin API will be versioned to make this process smoother.
+ * So if you are developing a plugin, please keep an eye on the changelog as everything will be in there with information about how to update your code.
*/
export default class Joplin {
private data_;
diff --git a/packages/generator-joplin/generators/app/templates/api/JoplinData.d.ts b/packages/generator-joplin/generators/app/templates/api/JoplinData.d.ts
index fbde6ff9a..c257ad558 100644
--- a/packages/generator-joplin/generators/app/templates/api/JoplinData.d.ts
+++ b/packages/generator-joplin/generators/app/templates/api/JoplinData.d.ts
@@ -1,3 +1,4 @@
+import { ModelType } from '../../../BaseModel';
import { Path } from './types';
/**
* This module provides access to the Joplin data API: https://joplinapp.org/api/references/rest_api/
@@ -44,4 +45,6 @@ export default class JoplinData {
post(path: Path, query?: any, body?: any, files?: any[]): Promise;
put(path: Path, query?: any, body?: any, files?: any[]): Promise;
delete(path: Path, query?: any): Promise;
+ itemType(itemId: string): Promise;
+ resourcePath(resourceId: string): Promise;
}
diff --git a/packages/generator-joplin/generators/app/templates/api/JoplinViewsDialogs.d.ts b/packages/generator-joplin/generators/app/templates/api/JoplinViewsDialogs.d.ts
index f1643a01d..8bc988739 100644
--- a/packages/generator-joplin/generators/app/templates/api/JoplinViewsDialogs.d.ts
+++ b/packages/generator-joplin/generators/app/templates/api/JoplinViewsDialogs.d.ts
@@ -61,8 +61,7 @@ export default class JoplinViewsDialogs {
open(handle: ViewHandle): Promise;
/**
* Toggle on whether to fit the dialog size to the content or not.
- * When set to false, the dialog stretches to fill the application
- * window.
+ * When set to false, the dialog is set to 90vw and 80vh
* @default true
*/
setFitToContent(handle: ViewHandle, status: boolean): Promise;
diff --git a/packages/generator-joplin/generators/app/templates/api/JoplinViewsPanels.d.ts b/packages/generator-joplin/generators/app/templates/api/JoplinViewsPanels.d.ts
index 20d3e1264..4d4c52701 100644
--- a/packages/generator-joplin/generators/app/templates/api/JoplinViewsPanels.d.ts
+++ b/packages/generator-joplin/generators/app/templates/api/JoplinViewsPanels.d.ts
@@ -46,6 +46,23 @@ export default class JoplinViewsPanels {
*
*/
onMessage(handle: ViewHandle, callback: Function): Promise;
+ /**
+ * Sends a message to the webview.
+ *
+ * The webview must have registered a message handler prior, otherwise the message is ignored. Use;
+ *
+ * ```javascript
+ * webviewApi.onMessage((message) => { ... });
+ * ```
+ *
+ * - `message` can be any JavaScript object, string or number
+ *
+ * The view API may have only one onMessage handler defined.
+ * This method is fire and forget so no response is returned.
+ *
+ * It is particularly useful when the webview needs to react to events emitted by the plugin or the joplin api.
+ */
+ postMessage(handle: ViewHandle, message: any): void;
/**
* Shows the panel
*/
diff --git a/packages/generator-joplin/generators/app/templates/api/JoplinWorkspace.d.ts b/packages/generator-joplin/generators/app/templates/api/JoplinWorkspace.d.ts
index 229175713..b24153ba1 100644
--- a/packages/generator-joplin/generators/app/templates/api/JoplinWorkspace.d.ts
+++ b/packages/generator-joplin/generators/app/templates/api/JoplinWorkspace.d.ts
@@ -1,5 +1,9 @@
import { FolderEntity } from '../../database/types';
-import { Disposable } from './types';
+import { Disposable, MenuItem } from './types';
+export interface EditContextMenuFilterObject {
+ items: MenuItem[];
+}
+declare type FilterHandler = (object: T)=> Promise;
declare enum ItemChangeEventType {
Create = 1,
Update = 2,
@@ -50,6 +54,11 @@ export default class JoplinWorkspace {
* Called when the synchronisation process has finished.
*/
onSyncComplete(callback: Function): Promise;
+ /**
+ * Called just before the editor context menu is about to open. Allows
+ * adding items to it.
+ */
+ filterEditorContextMenu(handler: FilterHandler): void;
/**
* Gets the currently selected note
*/
diff --git a/packages/generator-joplin/generators/app/templates/api/types.ts b/packages/generator-joplin/generators/app/templates/api/types.ts
index e0b2d96c0..cf09ddc0a 100644
--- a/packages/generator-joplin/generators/app/templates/api/types.ts
+++ b/packages/generator-joplin/generators/app/templates/api/types.ts
@@ -1,3 +1,5 @@
+export { ModelType } from '../../../BaseModel';
+
// =================================================================
// Command API types
// =================================================================
@@ -269,6 +271,17 @@ export interface MenuItem {
*/
commandName?: string;
+ /**
+ * Arguments that should be passed to the command. They will be as rest
+ * parameters.
+ */
+ commandArgs?: any[];
+
+ /**
+ * Set to "separator" to create a divider line
+ */
+ type?: string;
+
/**
* Accelerator associated with the menu item
*/