You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-10 00:05:42 +02:00
Chore: Update plugin types
This commit is contained in:
@ -43,6 +43,14 @@ export default class JoplinViewsDialogs {
|
||||
* Displays a message box with OK/Cancel buttons. Returns the button index that was clicked - "0" for OK and "1" for "Cancel"
|
||||
*/
|
||||
showMessageBox(message: string): Promise<number>;
|
||||
/**
|
||||
* Displays a dialog to select a file or a directory. Same options and
|
||||
* output as
|
||||
* https://www.electronjs.org/docs/latest/api/dialog#dialogshowopendialogbrowserwindow-options
|
||||
*
|
||||
* <span class="platform-desktop">desktop</span>
|
||||
*/
|
||||
showOpenDialog(options: any): Promise<any>;
|
||||
/**
|
||||
* Sets the dialog HTML content
|
||||
*/
|
||||
@ -56,7 +64,9 @@ export default class JoplinViewsDialogs {
|
||||
*/
|
||||
setButtons(handle: ViewHandle, buttons: ButtonSpec[]): Promise<ButtonSpec[]>;
|
||||
/**
|
||||
* Opens the dialog
|
||||
* Opens the dialog.
|
||||
*
|
||||
* On desktop, this closes any copies of the dialog open in different windows.
|
||||
*/
|
||||
open(handle: ViewHandle): Promise<DialogResult>;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user