mirror of https://github.com/laurent22/joplin.git
Plugins: Added ModelType type
parent
3c07241f5b
commit
c423551723
|
@ -1,5 +1,3 @@
|
||||||
export { ModelType } from '../../../BaseModel';
|
|
||||||
|
|
||||||
// =================================================================
|
// =================================================================
|
||||||
// Command API types
|
// Command API types
|
||||||
// =================================================================
|
// =================================================================
|
||||||
|
@ -204,6 +202,25 @@ export interface Disposable {
|
||||||
// dispose():void;
|
// 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
|
// Menu types
|
||||||
// =================================================================
|
// =================================================================
|
||||||
|
|
Loading…
Reference in New Issue