@todesktop/shared 7.188.46 → 7.188.48
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/lib/base.d.ts +0 -4
- package/lib/hsm.d.ts +8 -1
- package/package.json +1 -1
- package/src/base.ts +0 -6
- package/src/hsm.ts +13 -1
package/lib/base.d.ts
CHANGED
|
@@ -256,14 +256,10 @@ export interface BaseApp extends Schemable {
|
|
|
256
256
|
shouldCreateSnapFiles?: boolean;
|
|
257
257
|
appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
|
|
258
258
|
masConfig?: Partial<IAppBuilderLib['config']['mas']>;
|
|
259
|
-
msiConfig?: MSIConfig;
|
|
260
259
|
nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
|
|
261
260
|
snapStore?: {
|
|
262
261
|
login?: string;
|
|
263
262
|
description?: string;
|
|
264
263
|
};
|
|
265
264
|
}
|
|
266
|
-
interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
|
|
267
|
-
autoUpdatesEnabled?: boolean;
|
|
268
|
-
}
|
|
269
265
|
export {};
|
package/lib/hsm.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* - mac = Developer ID Application
|
|
3
|
+
* - mac-installer = Developer ID Installer
|
|
4
|
+
* - mas = Apple Distribution or Mac App Distribution (for Mac App Store)
|
|
5
|
+
* - mas-installer = Mac Installer Distribution (for Mac App Store)
|
|
6
|
+
* - mas-dev = Apple Development
|
|
7
|
+
*/
|
|
8
|
+
export declare type MacTarget = 'mac' | 'mac-installer' | 'mas' | 'mas-installer' | 'mas-dev';
|
|
2
9
|
export declare function isMacTarget(type: string): type is MacTarget;
|
|
3
10
|
/**
|
|
4
11
|
* Files that are uploaded to HSM have a unique secretName that depends on the appId and target.
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -294,12 +294,6 @@ export interface BaseApp extends Schemable {
|
|
|
294
294
|
// artifact configs
|
|
295
295
|
appxConfig?: Partial<IAppBuilderLib['config']['appx']>;
|
|
296
296
|
masConfig?: Partial<IAppBuilderLib['config']['mas']>;
|
|
297
|
-
msiConfig?: MSIConfig;
|
|
298
297
|
nsisConfig?: Partial<IAppBuilderLib['config']['nsis']>;
|
|
299
298
|
snapStore?: { login?: string; description?: string };
|
|
300
299
|
}
|
|
301
|
-
|
|
302
|
-
interface MSIConfig extends Partial<IAppBuilderLib['config']['msi']> {
|
|
303
|
-
// whether or not auto-updates should be enabled for this artifacts
|
|
304
|
-
autoUpdatesEnabled?: boolean;
|
|
305
|
-
}
|
package/src/hsm.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* - mac = Developer ID Application
|
|
3
|
+
* - mac-installer = Developer ID Installer
|
|
4
|
+
* - mas = Apple Distribution or Mac App Distribution (for Mac App Store)
|
|
5
|
+
* - mas-installer = Mac Installer Distribution (for Mac App Store)
|
|
6
|
+
* - mas-dev = Apple Development
|
|
7
|
+
*/
|
|
8
|
+
export type MacTarget =
|
|
9
|
+
| 'mac'
|
|
10
|
+
| 'mac-installer'
|
|
11
|
+
| 'mas'
|
|
12
|
+
| 'mas-installer'
|
|
13
|
+
| 'mas-dev';
|
|
2
14
|
export function isMacTarget(type: string): type is MacTarget {
|
|
3
15
|
return ['mac', 'mas', 'mas-installer', 'mas-dev'].includes(type);
|
|
4
16
|
}
|