1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00

Chore: Add enums for ApplicationPlatform and ApplicationType (#9410)

This commit is contained in:
pedr 2023-11-29 12:31:49 -03:00 committed by GitHub
parent afd653ba4d
commit fd4f70f62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

@ -925,6 +925,7 @@ packages/lib/themes/solarizedDark.js
packages/lib/themes/solarizedLight.js
packages/lib/themes/type.js
packages/lib/time.js
packages/lib/types.js
packages/lib/utils/credentialFiles.js
packages/lib/utils/joplinCloud.js
packages/lib/utils/processStartFlags.js

1
.gitignore vendored
View File

@ -907,6 +907,7 @@ packages/lib/themes/solarizedDark.js
packages/lib/themes/solarizedLight.js
packages/lib/themes/type.js
packages/lib/time.js
packages/lib/types.js
packages/lib/utils/credentialFiles.js
packages/lib/utils/joplinCloud.js
packages/lib/utils/processStartFlags.js

14
packages/lib/types.ts Normal file
View File

@ -0,0 +1,14 @@
export enum ApplicationPlatform {
Unknown = 0,
Windows = 1,
Linux = 2,
MacOs = 3,
Android = 4,
}
export enum ApplicationType {
Unknown = 0,
Desktop = 1,
Mobile = 2,
Cli = 3,
}