@todesktop/shared 7.188.17 → 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 +51 -22
- 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 -8
- 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 +56 -23
- 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 -7
- package/.eslintrc.js +0 -33
package/src/toDesktop.ts
CHANGED
|
@@ -93,13 +93,6 @@ export interface IIcon {
|
|
|
93
93
|
type: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export interface CustomNotarization {
|
|
97
|
-
appleId: string;
|
|
98
|
-
appleIdPassword: string;
|
|
99
|
-
ascProvider?: string;
|
|
100
|
-
teamId?: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
export interface IApp extends BaseApp {
|
|
104
97
|
appModelId: string;
|
|
105
98
|
appPkgName?: string;
|
|
@@ -164,11 +157,15 @@ export interface IUser extends Schemable {
|
|
|
164
157
|
disableShouldCodeSign?: boolean;
|
|
165
158
|
allowedIPs?: string[];
|
|
166
159
|
seenReleaseTutorial?: boolean;
|
|
160
|
+
seenApplicationGroupsTutorial?: boolean;
|
|
167
161
|
}
|
|
168
162
|
|
|
169
163
|
export interface FeatureFlags {
|
|
170
164
|
// Whether the user can install desktop app plugins using the ToDesktop Builder
|
|
171
165
|
desktopAppPlugins: boolean;
|
|
166
|
+
|
|
167
|
+
// Whether the user can create builds for the mac app store.
|
|
168
|
+
macAppStore: boolean;
|
|
172
169
|
}
|
|
173
170
|
|
|
174
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
|
-
};
|