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:
parent
afd653ba4d
commit
fd4f70f62b
@ -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
1
.gitignore
vendored
@ -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
14
packages/lib/types.ts
Normal 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,
|
||||
}
|
Loading…
Reference in New Issue
Block a user