@todesktop/shared 7.188.16 → 7.188.18
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 +15 -8
- package/lib/toDesktop.d.ts +0 -6
- package/package.json +1 -1
- package/src/base.ts +23 -13
- package/src/toDesktop.ts +0 -7
package/lib/base.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export interface ToDesktopJson {
|
|
|
103
103
|
asar?: boolean;
|
|
104
104
|
asarUnpack?: boolean | string[];
|
|
105
105
|
bucket?: string;
|
|
106
|
+
buildVersion?: string;
|
|
106
107
|
copyright?: string;
|
|
107
108
|
dmg?: {
|
|
108
109
|
background?: FilePath;
|
|
@@ -133,6 +134,7 @@ export interface ToDesktopJson {
|
|
|
133
134
|
category?: string;
|
|
134
135
|
dmgBackground?: FilePath;
|
|
135
136
|
entitlements?: FilePath;
|
|
137
|
+
provisioningProfile?: FilePath;
|
|
136
138
|
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
137
139
|
icon?: FilePath;
|
|
138
140
|
requirements?: FilePath;
|
|
@@ -182,17 +184,22 @@ export declare type CustomMacCodeSign = {
|
|
|
182
184
|
} | {
|
|
183
185
|
type: 'hsm';
|
|
184
186
|
};
|
|
185
|
-
export declare type CustomMacNotarization =
|
|
187
|
+
export declare type CustomMacNotarization = CustomNotarizationApiKeyAuth | CustomNotarizationPasswordAuth | CustomNotarizationPasswordHsmAuth;
|
|
188
|
+
export interface CustomNotarizationApiKeyAuth {
|
|
189
|
+
appleApiKeyId: string;
|
|
190
|
+
appleApiIssuer: string;
|
|
191
|
+
type: 'hsm-api';
|
|
192
|
+
}
|
|
193
|
+
export interface CustomNotarizationPasswordAuth {
|
|
186
194
|
appleId: string;
|
|
187
195
|
appleIdPassword: string;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
type: 'hsm';
|
|
196
|
+
teamId: string;
|
|
197
|
+
}
|
|
198
|
+
export interface CustomNotarizationPasswordHsmAuth {
|
|
192
199
|
appleId: string;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
200
|
+
teamId: string;
|
|
201
|
+
type: 'hsm';
|
|
202
|
+
}
|
|
196
203
|
export declare type ReleaseRedirectionRule = {
|
|
197
204
|
appId: string;
|
|
198
205
|
rule: 'app';
|
package/lib/toDesktop.d.ts
CHANGED
|
@@ -77,12 +77,6 @@ export interface IIcon {
|
|
|
77
77
|
height: number;
|
|
78
78
|
type: string;
|
|
79
79
|
}
|
|
80
|
-
export interface CustomNotarization {
|
|
81
|
-
appleId: string;
|
|
82
|
-
appleIdPassword: string;
|
|
83
|
-
ascProvider?: string;
|
|
84
|
-
teamId?: string;
|
|
85
|
-
}
|
|
86
80
|
export interface IApp extends BaseApp {
|
|
87
81
|
appModelId: string;
|
|
88
82
|
appPkgName?: string;
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -115,6 +115,7 @@ export interface ToDesktopJson {
|
|
|
115
115
|
asar?: boolean;
|
|
116
116
|
asarUnpack?: boolean | string[];
|
|
117
117
|
bucket?: string;
|
|
118
|
+
buildVersion?: string;
|
|
118
119
|
copyright?: string;
|
|
119
120
|
dmg?: {
|
|
120
121
|
background?: FilePath;
|
|
@@ -145,6 +146,7 @@ export interface ToDesktopJson {
|
|
|
145
146
|
category?: string;
|
|
146
147
|
dmgBackground?: FilePath;
|
|
147
148
|
entitlements?: FilePath;
|
|
149
|
+
provisioningProfile?: FilePath;
|
|
148
150
|
extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
|
|
149
151
|
icon?: FilePath;
|
|
150
152
|
requirements?: FilePath;
|
|
@@ -203,19 +205,27 @@ export type CustomMacCodeSign =
|
|
|
203
205
|
};
|
|
204
206
|
|
|
205
207
|
export type CustomMacNotarization =
|
|
206
|
-
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
208
|
+
| CustomNotarizationApiKeyAuth
|
|
209
|
+
| CustomNotarizationPasswordAuth
|
|
210
|
+
| CustomNotarizationPasswordHsmAuth;
|
|
211
|
+
|
|
212
|
+
export interface CustomNotarizationApiKeyAuth {
|
|
213
|
+
appleApiKeyId: string;
|
|
214
|
+
appleApiIssuer: string;
|
|
215
|
+
type: 'hsm-api';
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export interface CustomNotarizationPasswordAuth {
|
|
219
|
+
appleId: string;
|
|
220
|
+
appleIdPassword: string;
|
|
221
|
+
teamId: string;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export interface CustomNotarizationPasswordHsmAuth {
|
|
225
|
+
appleId: string;
|
|
226
|
+
teamId: string;
|
|
227
|
+
type: 'hsm';
|
|
228
|
+
}
|
|
219
229
|
|
|
220
230
|
export type ReleaseRedirectionRule =
|
|
221
231
|
| {
|
package/src/toDesktop.ts
CHANGED
|
@@ -93,13 +93,6 @@ export interface IIcon {
|
|
|
93
93
|
type: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export interface CustomNotarization {
|
|
97
|
-
appleId: string;
|
|
98
|
-
appleIdPassword: string;
|
|
99
|
-
ascProvider?: string;
|
|
100
|
-
teamId?: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
export interface IApp extends BaseApp {
|
|
104
97
|
appModelId: string;
|
|
105
98
|
appPkgName?: string;
|