@todesktop/shared 7.39.0 → 7.42.0
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/desktopify.d.ts +1 -0
- package/lib/toDesktop.d.ts +12 -0
- package/lib/validations.d.ts +1 -0
- package/lib/validations.js +1 -0
- package/package.json +1 -1
- package/src/desktopify.ts +1 -0
- package/src/toDesktop.ts +12 -0
- package/src/validations.ts +1 -0
package/lib/desktopify.d.ts
CHANGED
package/lib/toDesktop.d.ts
CHANGED
|
@@ -43,10 +43,12 @@ export interface IAppWindowOptions {
|
|
|
43
43
|
transparentTitlebar: boolean;
|
|
44
44
|
alwaysOnTop: boolean;
|
|
45
45
|
transparentInsetTitlebar: boolean;
|
|
46
|
+
autoHideMenuBar: boolean;
|
|
46
47
|
}
|
|
47
48
|
export declare type ProgressTypes = "progress" | "done" | "error";
|
|
48
49
|
export interface IWindowOptions {
|
|
49
50
|
isAlwaysOnTop?: boolean;
|
|
51
|
+
isAutoHideMenuBar?: boolean;
|
|
50
52
|
isMaximizable: boolean;
|
|
51
53
|
isMinimizable: boolean;
|
|
52
54
|
isResizable: boolean;
|
|
@@ -113,9 +115,17 @@ export interface IAppMeta {
|
|
|
113
115
|
copyright?: string;
|
|
114
116
|
dmg?: {
|
|
115
117
|
background?: FilePath;
|
|
118
|
+
artifactName?: string;
|
|
119
|
+
backgroundColor?: string;
|
|
120
|
+
iconSize?: number;
|
|
121
|
+
iconTextSize?: number;
|
|
122
|
+
title?: string;
|
|
123
|
+
contents?: IAppBuilderLib["config"]["dmg"]["contents"];
|
|
124
|
+
window?: IAppBuilderLib["config"]["dmg"]["window"];
|
|
116
125
|
};
|
|
117
126
|
extraContentFiles?: ExtraFileReference[];
|
|
118
127
|
electronMirror?: string;
|
|
128
|
+
electronVersion?: string;
|
|
119
129
|
extraResources?: ExtraFileReference[];
|
|
120
130
|
fileAssociations?: IAppBuilderLib["config"]["fileAssociations"];
|
|
121
131
|
filesForDistribution?: string[];
|
|
@@ -204,6 +214,7 @@ export interface CustomMacCodeSign {
|
|
|
204
214
|
export interface CustomNotarization {
|
|
205
215
|
appleId: string;
|
|
206
216
|
appleIdPassword: string;
|
|
217
|
+
ascProvider?: string;
|
|
207
218
|
}
|
|
208
219
|
export declare enum WindowsHSMCertType {
|
|
209
220
|
ev = "ev",
|
|
@@ -232,6 +243,7 @@ export interface IApp {
|
|
|
232
243
|
customNotarization?: {
|
|
233
244
|
appleId: string;
|
|
234
245
|
appleIdPassword: string;
|
|
246
|
+
ascProvider?: string;
|
|
235
247
|
};
|
|
236
248
|
customUserAgent?: ISwitchableValue<string>;
|
|
237
249
|
customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
|
package/lib/validations.d.ts
CHANGED
package/lib/validations.js
CHANGED
|
@@ -92,6 +92,7 @@ exports.appConfigValidation = yup.object({
|
|
|
92
92
|
transparentTitlebar: yup.boolean().required(),
|
|
93
93
|
alwaysOnTop: yup.boolean().required(),
|
|
94
94
|
transparentInsetTitlebar: yup.boolean().required(),
|
|
95
|
+
autoHideMenuBar: yup.boolean().required(),
|
|
95
96
|
})
|
|
96
97
|
.required(),
|
|
97
98
|
meta: yup
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
package/src/toDesktop.ts
CHANGED
|
@@ -59,12 +59,14 @@ export interface IAppWindowOptions {
|
|
|
59
59
|
transparentTitlebar: boolean;
|
|
60
60
|
alwaysOnTop: boolean;
|
|
61
61
|
transparentInsetTitlebar: boolean;
|
|
62
|
+
autoHideMenuBar: boolean;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
export type ProgressTypes = "progress" | "done" | "error";
|
|
65
66
|
|
|
66
67
|
export interface IWindowOptions {
|
|
67
68
|
isAlwaysOnTop?: boolean;
|
|
69
|
+
isAutoHideMenuBar?: boolean;
|
|
68
70
|
isMaximizable: boolean;
|
|
69
71
|
isMinimizable: boolean;
|
|
70
72
|
isResizable: boolean;
|
|
@@ -136,9 +138,17 @@ export interface IAppMeta {
|
|
|
136
138
|
copyright?: string;
|
|
137
139
|
dmg?: {
|
|
138
140
|
background?: FilePath;
|
|
141
|
+
artifactName?: string;
|
|
142
|
+
backgroundColor?: string;
|
|
143
|
+
iconSize?: number;
|
|
144
|
+
iconTextSize?: number;
|
|
145
|
+
title?: string;
|
|
146
|
+
contents?: IAppBuilderLib["config"]["dmg"]["contents"];
|
|
147
|
+
window?: IAppBuilderLib["config"]["dmg"]["window"];
|
|
139
148
|
};
|
|
140
149
|
extraContentFiles?: ExtraFileReference[];
|
|
141
150
|
electronMirror?: string;
|
|
151
|
+
electronVersion?: string;
|
|
142
152
|
extraResources?: ExtraFileReference[];
|
|
143
153
|
fileAssociations?: IAppBuilderLib["config"]["fileAssociations"];
|
|
144
154
|
filesForDistribution?: string[];
|
|
@@ -233,6 +243,7 @@ export interface CustomMacCodeSign {
|
|
|
233
243
|
export interface CustomNotarization {
|
|
234
244
|
appleId: string;
|
|
235
245
|
appleIdPassword: string;
|
|
246
|
+
ascProvider?: string;
|
|
236
247
|
}
|
|
237
248
|
|
|
238
249
|
export enum WindowsHSMCertType {
|
|
@@ -266,6 +277,7 @@ export interface IApp {
|
|
|
266
277
|
customNotarization?: {
|
|
267
278
|
appleId: string;
|
|
268
279
|
appleIdPassword: string;
|
|
280
|
+
ascProvider?: string;
|
|
269
281
|
};
|
|
270
282
|
customUserAgent?: ISwitchableValue<string>;
|
|
271
283
|
customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
|
package/src/validations.ts
CHANGED
|
@@ -121,6 +121,7 @@ export const appConfigValidation = yup.object({
|
|
|
121
121
|
transparentTitlebar: yup.boolean().required(),
|
|
122
122
|
alwaysOnTop: yup.boolean().required(),
|
|
123
123
|
transparentInsetTitlebar: yup.boolean().required(),
|
|
124
|
+
autoHideMenuBar: yup.boolean().required(),
|
|
124
125
|
})
|
|
125
126
|
.required(),
|
|
126
127
|
meta: yup
|