diff --git a/.eslintignore b/.eslintignore index b73dcce14..44b55e13f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -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 diff --git a/.gitignore b/.gitignore index b61c9fb41..531d3196b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/packages/lib/types.ts b/packages/lib/types.ts new file mode 100644 index 000000000..38ac4de58 --- /dev/null +++ b/packages/lib/types.ts @@ -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, +}