@todesktop/shared 7.188.10 → 7.188.12
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 +13 -0
- package/lib/toDesktop.d.ts +1 -0
- package/package.json +1 -1
- package/src/base.ts +17 -0
- package/src/toDesktop.ts +1 -0
package/lib/base.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export interface IAppMeta {
|
|
|
82
82
|
electron?: string;
|
|
83
83
|
version?: string;
|
|
84
84
|
};
|
|
85
|
+
releaseRedirections?: ReleaseRedirectionRule[];
|
|
85
86
|
windowsEVOnboarding?: {
|
|
86
87
|
provider: WindowsEVOnboardingProvider;
|
|
87
88
|
tempHSMCertName: string;
|
|
@@ -192,6 +193,18 @@ export declare type CustomMacNotarization = {
|
|
|
192
193
|
ascProvider?: string;
|
|
193
194
|
teamId?: string;
|
|
194
195
|
};
|
|
196
|
+
export declare type ReleaseRedirectionRule = {
|
|
197
|
+
appId: string;
|
|
198
|
+
rule: 'app';
|
|
199
|
+
} | {
|
|
200
|
+
appId: string;
|
|
201
|
+
ipList: string[];
|
|
202
|
+
rule: 'appByIp';
|
|
203
|
+
} | {
|
|
204
|
+
buildId: string;
|
|
205
|
+
ipList: string[];
|
|
206
|
+
rule: 'buildByIp';
|
|
207
|
+
};
|
|
195
208
|
export interface BaseApp extends Schemable {
|
|
196
209
|
id: string;
|
|
197
210
|
appModelId?: string;
|
package/lib/toDesktop.d.ts
CHANGED
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -93,6 +93,7 @@ export interface IAppMeta {
|
|
|
93
93
|
electron?: string;
|
|
94
94
|
version?: string;
|
|
95
95
|
};
|
|
96
|
+
releaseRedirections?: ReleaseRedirectionRule[];
|
|
96
97
|
windowsEVOnboarding?: {
|
|
97
98
|
provider: WindowsEVOnboardingProvider;
|
|
98
99
|
tempHSMCertName: string;
|
|
@@ -216,6 +217,22 @@ export type CustomMacNotarization =
|
|
|
216
217
|
teamId?: string;
|
|
217
218
|
};
|
|
218
219
|
|
|
220
|
+
export type ReleaseRedirectionRule =
|
|
221
|
+
| {
|
|
222
|
+
appId: string;
|
|
223
|
+
rule: 'app';
|
|
224
|
+
}
|
|
225
|
+
| {
|
|
226
|
+
appId: string;
|
|
227
|
+
ipList: string[];
|
|
228
|
+
rule: 'appByIp';
|
|
229
|
+
}
|
|
230
|
+
| {
|
|
231
|
+
buildId: string;
|
|
232
|
+
ipList: string[];
|
|
233
|
+
rule: 'buildByIp';
|
|
234
|
+
};
|
|
235
|
+
|
|
219
236
|
export interface BaseApp extends Schemable {
|
|
220
237
|
id: string;
|
|
221
238
|
appModelId?: string;
|