1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00

Plugins: Added ModelType type

This commit is contained in:
Laurent Cozic 2021-12-27 18:10:07 +01:00
parent 3c07241f5b
commit c423551723

View File

@ -1,5 +1,3 @@
export { ModelType } from '../../../BaseModel';
// =================================================================
// Command API types
// =================================================================
@ -204,6 +202,25 @@ export interface Disposable {
// dispose():void;
}
export enum ModelType {
Note = 1,
Folder = 2,
Setting = 3,
Resource = 4,
Tag = 5,
NoteTag = 6,
Search = 7,
Alarm = 8,
MasterKey = 9,
ItemChange = 10,
NoteResource = 11,
ResourceLocalState = 12,
Revision = 13,
Migration = 14,
SmartFilter = 15,
Command = 16,
}
// =================================================================
// Menu types
// =================================================================