@todesktop/shared 7.188.19 → 7.188.21

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 CHANGED
@@ -234,6 +234,7 @@ export interface BaseApp extends Schemable {
234
234
  shouldCreateArm64WindowsArtifacts?: boolean;
235
235
  shouldCreateDebianPackages?: boolean;
236
236
  shouldCreateDMGs?: boolean;
237
+ shouldCreateMacAppStoreFiles?: boolean;
237
238
  shouldCreateMacUniversalInstaller?: boolean;
238
239
  shouldCreateMacZipInstallers?: boolean;
239
240
  shouldCreateMSIInstallers?: boolean;
@@ -45,7 +45,7 @@ export declare type MacArch = 'x64' | 'arm64' | 'universal';
45
45
  export declare type LinuxArch = 'x64' | 'arm64';
46
46
  export declare type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
47
47
  export declare type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
48
- export declare type MacArtifactName = 'dmg' | 'zip' | 'installer';
48
+ export declare type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas';
49
49
  export declare type WindowsArtifactName = 'msi' | 'nsis' | 'nsis-web' | 'nsis-web-7z' | 'appx';
50
50
  declare type ArtifactDownload = Record<Arch, {
51
51
  size: number;
@@ -145,6 +145,7 @@ export interface IUser extends Schemable {
145
145
  }
146
146
  export interface FeatureFlags {
147
147
  desktopAppPlugins: boolean;
148
+ macAppStore: boolean;
148
149
  }
149
150
  export interface UserIHaveSentInviteTo {
150
151
  email: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.19",
3
+ "version": "7.188.21",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -268,6 +268,7 @@ export interface BaseApp extends Schemable {
268
268
  shouldCreateArm64WindowsArtifacts?: boolean;
269
269
  shouldCreateDebianPackages?: boolean;
270
270
  shouldCreateDMGs?: boolean;
271
+ shouldCreateMacAppStoreFiles?: boolean;
271
272
  shouldCreateMacUniversalInstaller?: boolean;
272
273
  shouldCreateMacZipInstallers?: boolean;
273
274
  shouldCreateMSIInstallers?: boolean;
package/src/desktopify.ts CHANGED
@@ -62,7 +62,7 @@ export type MacArch = 'x64' | 'arm64' | 'universal';
62
62
  export type LinuxArch = 'x64' | 'arm64';
63
63
  export type WindowsArch = 'ia32' | 'x64' | 'arm64' | 'universal';
64
64
  export type LinuxArtifactName = 'appImage' | 'deb' | 'rpm' | 'snap';
65
- export type MacArtifactName = 'dmg' | 'zip' | 'installer';
65
+ export type MacArtifactName = 'dmg' | 'zip' | 'installer' | 'mas';
66
66
  export type WindowsArtifactName =
67
67
  | 'msi'
68
68
  | 'nsis'
package/src/toDesktop.ts CHANGED
@@ -162,6 +162,9 @@ export interface IUser extends Schemable {
162
162
  export interface FeatureFlags {
163
163
  // Whether the user can install desktop app plugins using the ToDesktop Builder
164
164
  desktopAppPlugins: boolean;
165
+
166
+ // Whether the user can create builds for the mac app store.
167
+ macAppStore: boolean;
165
168
  }
166
169
 
167
170
  // uses an `email` identifier because an invited user may not have an account