@todesktop/shared 7.188.73 → 7.188.75

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
@@ -213,10 +213,17 @@ export interface CustomNotarizationPasswordHsmAuth {
213
213
  export type ReleaseRedirectionRule = {
214
214
  appId: string;
215
215
  rule: 'app';
216
+ } | {
217
+ feedUrl: string;
218
+ rule: 'app';
216
219
  } | {
217
220
  appId: string;
218
221
  ipList: string[];
219
222
  rule: 'appByIp';
223
+ } | {
224
+ feedUrl: string;
225
+ ipList: string[];
226
+ rule: 'appByIp';
220
227
  } | {
221
228
  buildId: string;
222
229
  ipList: string[];
@@ -151,6 +151,10 @@ export interface FeatureFlags {
151
151
  export interface UserIHaveSentInviteTo {
152
152
  email: string;
153
153
  permissions: string;
154
+ privileges?: {
155
+ canBuild?: boolean;
156
+ canRelease?: boolean;
157
+ };
154
158
  name: string;
155
159
  sender: UserIHaveAcceptedInviteFrom;
156
160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.73",
3
+ "version": "7.188.75",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -243,11 +243,20 @@ export type ReleaseRedirectionRule =
243
243
  appId: string;
244
244
  rule: 'app';
245
245
  }
246
+ | {
247
+ feedUrl: string;
248
+ rule: 'app';
249
+ }
246
250
  | {
247
251
  appId: string;
248
252
  ipList: string[];
249
253
  rule: 'appByIp';
250
254
  }
255
+ | {
256
+ feedUrl: string;
257
+ ipList: string[];
258
+ rule: 'appByIp';
259
+ }
251
260
  | {
252
261
  buildId: string;
253
262
  ipList: string[];
package/src/toDesktop.ts CHANGED
@@ -172,6 +172,10 @@ export interface FeatureFlags {
172
172
  export interface UserIHaveSentInviteTo {
173
173
  email: string;
174
174
  permissions: string;
175
+ privileges?: {
176
+ canBuild?: boolean;
177
+ canRelease?: boolean;
178
+ };
175
179
  name: string;
176
180
  // this allows us to encode information about the sender without loosening firebase privileges
177
181
  sender: UserIHaveAcceptedInviteFrom;