@todesktop/shared 7.188.5 → 7.188.7
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 +16 -2
- package/lib/desktopify.d.ts +1 -0
- package/package.json +1 -1
- package/src/base.ts +25 -5
- package/src/desktopify.ts +1 -0
package/lib/base.d.ts
CHANGED
|
@@ -171,11 +171,25 @@ export interface CustomWindowsCodeSignEV {
|
|
|
171
171
|
hsmCertType: WindowsHSMCertType.ev;
|
|
172
172
|
hsmCertName: string;
|
|
173
173
|
}
|
|
174
|
-
export
|
|
174
|
+
export declare type CustomMacCodeSign = {
|
|
175
|
+
type: 'url';
|
|
175
176
|
certName: string;
|
|
176
177
|
certPassword: string;
|
|
177
178
|
certUrl: string;
|
|
178
|
-
}
|
|
179
|
+
} | {
|
|
180
|
+
type: 'hsm';
|
|
181
|
+
};
|
|
182
|
+
export declare type CustomMacNotarization = {
|
|
183
|
+
appleId: string;
|
|
184
|
+
appleIdPassword: string;
|
|
185
|
+
ascProvider?: string;
|
|
186
|
+
teamId?: string;
|
|
187
|
+
} | {
|
|
188
|
+
type: 'hsm';
|
|
189
|
+
appleId: string;
|
|
190
|
+
ascProvider?: string;
|
|
191
|
+
teamId?: string;
|
|
192
|
+
};
|
|
179
193
|
export interface BaseApp extends Schemable {
|
|
180
194
|
id: string;
|
|
181
195
|
appModelId?: string;
|
package/lib/desktopify.d.ts
CHANGED
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -188,11 +188,31 @@ export interface CustomWindowsCodeSignEV {
|
|
|
188
188
|
hsmCertName: string;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
191
|
+
export type CustomMacCodeSign =
|
|
192
|
+
| {
|
|
193
|
+
type: 'url';
|
|
194
|
+
certName: string;
|
|
195
|
+
certPassword: string;
|
|
196
|
+
certUrl: string;
|
|
197
|
+
}
|
|
198
|
+
| {
|
|
199
|
+
type: 'hsm';
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
export type CustomMacNotarization =
|
|
203
|
+
| {
|
|
204
|
+
appleId: string;
|
|
205
|
+
appleIdPassword: string;
|
|
206
|
+
ascProvider?: string;
|
|
207
|
+
teamId?: string;
|
|
208
|
+
}
|
|
209
|
+
| {
|
|
210
|
+
// password is stored on hsm
|
|
211
|
+
type: 'hsm';
|
|
212
|
+
appleId: string;
|
|
213
|
+
ascProvider?: string;
|
|
214
|
+
teamId?: string;
|
|
215
|
+
};
|
|
196
216
|
|
|
197
217
|
export interface BaseApp extends Schemable {
|
|
198
218
|
id: string;
|
package/src/desktopify.ts
CHANGED
|
@@ -146,6 +146,7 @@ export interface Build {
|
|
|
146
146
|
linux?: PlatformBuild;
|
|
147
147
|
mac?: PlatformBuild;
|
|
148
148
|
onBuildFinishedWebhook?: string;
|
|
149
|
+
projectConfig?: string; // Stringified version of todesktop.json
|
|
149
150
|
releasedAt?: ISODate;
|
|
150
151
|
shouldCodeSign: boolean;
|
|
151
152
|
shouldRelease: boolean;
|