@todesktop/shared 7.188.18 → 7.188.19-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -0
- package/eslint.config.mjs +57 -0
- package/lib/base.d.ts +38 -15
- package/lib/base.js +3 -3
- package/lib/desktopify.d.ts +102 -25
- package/lib/desktopify.js +17 -12
- package/lib/desktopify2.d.ts +25 -14
- package/lib/hsm.d.ts +30 -0
- package/lib/hsm.js +42 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -2
- package/lib/plans.d.ts +127 -220
- package/lib/plans.js +619 -78
- package/lib/plugin.d.ts +7 -7
- package/lib/toDesktop.d.ts +4 -2
- package/lib/translation.d.ts +2 -2
- package/lib/validations.d.ts +3 -3
- package/lib/validations.js +2 -1
- package/package.json +8 -5
- package/src/base.ts +34 -10
- package/src/desktopify.ts +83 -5
- package/src/desktopify2.ts +13 -1
- package/src/hsm.ts +63 -0
- package/src/index.ts +1 -0
- package/src/plans.ts +698 -91
- package/src/toDesktop.ts +4 -0
- package/.eslintrc.js +0 -33
package/src/toDesktop.ts
CHANGED
|
@@ -157,11 +157,15 @@ export interface IUser extends Schemable {
|
|
|
157
157
|
disableShouldCodeSign?: boolean;
|
|
158
158
|
allowedIPs?: string[];
|
|
159
159
|
seenReleaseTutorial?: boolean;
|
|
160
|
+
seenApplicationGroupsTutorial?: boolean;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
export interface FeatureFlags {
|
|
163
164
|
// Whether the user can install desktop app plugins using the ToDesktop Builder
|
|
164
165
|
desktopAppPlugins: boolean;
|
|
166
|
+
|
|
167
|
+
// Whether the user can create builds for the mac app store.
|
|
168
|
+
macAppStore: boolean;
|
|
165
169
|
}
|
|
166
170
|
|
|
167
171
|
// uses an `email` identifier because an invited user may not have an account
|
package/.eslintrc.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
root: true,
|
|
5
|
-
|
|
6
|
-
extends: [
|
|
7
|
-
'eslint:recommended',
|
|
8
|
-
'plugin:@typescript-eslint/recommended',
|
|
9
|
-
'prettier',
|
|
10
|
-
],
|
|
11
|
-
|
|
12
|
-
parser: '@typescript-eslint/parser',
|
|
13
|
-
parserOptions: {
|
|
14
|
-
ecmaVersion: 2020,
|
|
15
|
-
sourceType: 'module',
|
|
16
|
-
project: './tsconfig.json',
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
env: {
|
|
20
|
-
es6: true,
|
|
21
|
-
node: true,
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
plugins: ['@typescript-eslint', 'prettier'],
|
|
25
|
-
|
|
26
|
-
rules: {
|
|
27
|
-
'prettier/prettier': 'error',
|
|
28
|
-
'@typescript-eslint/no-misused-promises': [
|
|
29
|
-
'error',
|
|
30
|
-
{ checksVoidReturn: false },
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
};
|