@todesktop/shared 7.189.12 → 7.189.14

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
@@ -193,6 +193,22 @@ export interface CustomWindowsCodeSignEV {
193
193
  hsmCertType: WindowsHSMCertType.ev;
194
194
  hsmCertName: string;
195
195
  }
196
+ export interface CustomWindowsCodeSignAzureTrustedSigning {
197
+ certType: 'azure-trusted-signing';
198
+ azureCredentialsStored: boolean;
199
+ azureBaseSettings: {
200
+ clientId: string;
201
+ tenantId: string;
202
+ subscriptionId: string;
203
+ resourceGroupName: string;
204
+ };
205
+ azureSettings?: {
206
+ accountUri: string;
207
+ certificateProfileId: string;
208
+ certificateProfileName: string;
209
+ publisherName: string;
210
+ };
211
+ }
196
212
  export type CustomMacCodeSign = {
197
213
  type: 'url';
198
214
  certName: string;
@@ -249,7 +265,7 @@ export interface BaseApp extends Schemable {
249
265
  customMacCodeSign?: CustomMacCodeSign;
250
266
  customNotarization?: CustomMacNotarization;
251
267
  customLinuxPgpKey?: CustomLinuxPGPKey;
252
- customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
268
+ customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV | CustomWindowsCodeSignAzureTrustedSigning;
253
269
  macHsmCertNames?: Record<MacTarget, string>;
254
270
  windowsHsmCertNames?: Record<WindowsTarget, string>;
255
271
  meta?: IAppMeta;
@@ -174,4 +174,17 @@ export interface CiInput {
174
174
  userId: string;
175
175
  contextUserId: string;
176
176
  accessToken: string;
177
+ azureTrustedSigning?: {
178
+ credentials: {
179
+ AZURE_TENANT_ID: string;
180
+ AZURE_CLIENT_ID: string;
181
+ AZURE_CLIENT_SECRET: string;
182
+ };
183
+ settings: {
184
+ certificateProfileName: string;
185
+ publisherName: string;
186
+ endpoint: string;
187
+ codeSigningAccountName: string;
188
+ };
189
+ };
177
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.189.12",
3
+ "version": "7.189.14",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -211,6 +211,23 @@ export interface CustomWindowsCodeSignEV {
211
211
  hsmCertName: string;
212
212
  }
213
213
 
214
+ export interface CustomWindowsCodeSignAzureTrustedSigning {
215
+ certType: 'azure-trusted-signing';
216
+ azureCredentialsStored: boolean;
217
+ azureBaseSettings: {
218
+ clientId: string;
219
+ tenantId: string;
220
+ subscriptionId: string;
221
+ resourceGroupName: string;
222
+ };
223
+ azureSettings?: {
224
+ accountUri: string;
225
+ certificateProfileId: string;
226
+ certificateProfileName: string;
227
+ publisherName: string;
228
+ };
229
+ }
230
+
214
231
  export type CustomMacCodeSign =
215
232
  | {
216
233
  type: 'url';
@@ -283,7 +300,10 @@ export interface BaseApp extends Schemable {
283
300
  customMacCodeSign?: CustomMacCodeSign;
284
301
  customNotarization?: CustomMacNotarization;
285
302
  customLinuxPgpKey?: CustomLinuxPGPKey;
286
- customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
303
+ customWindowsCodeSign?:
304
+ | CustomWindowsCodeSignFile
305
+ | CustomWindowsCodeSignEV
306
+ | CustomWindowsCodeSignAzureTrustedSigning;
287
307
  macHsmCertNames?: Record<MacTarget, string>;
288
308
  windowsHsmCertNames?: Record<WindowsTarget, string>;
289
309
 
package/src/toDesktop.ts CHANGED
@@ -203,4 +203,17 @@ export interface CiInput {
203
203
  userId: string;
204
204
  contextUserId: string;
205
205
  accessToken: string;
206
+ azureTrustedSigning?: {
207
+ credentials: {
208
+ AZURE_TENANT_ID: string;
209
+ AZURE_CLIENT_ID: string;
210
+ AZURE_CLIENT_SECRET: string;
211
+ };
212
+ settings: {
213
+ certificateProfileName: string;
214
+ publisherName: string;
215
+ endpoint: string;
216
+ codeSigningAccountName: string;
217
+ };
218
+ };
206
219
  }