1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Plugin Generator release v2.7.3

This commit is contained in:
Laurent Cozic 2021-12-27 18:23:50 +01:00
parent ea56d020e9
commit 3744e08335
3 changed files with 21 additions and 4 deletions

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
// =================================================================

View File

@ -1,6 +1,6 @@
{
"name": "generator-joplin",
"version": "2.7.2",
"version": "2.7.3",
"description": "Scaffolds out a new Joplin plugin",
"homepage": "https://github.com/laurent22/joplin/tree/dev/packages/generator-joplin",
"author": {

View File

@ -16,7 +16,7 @@ async function main() {
console.info(`New version number: ${version}`);
await execCommandVerbose('updateTypes.sh');
await execCommandVerbose('bash', ['updateTypes.sh']);
await setPackagePrivateField(packageFilePath, false);
try {