@todesktop/shared 7.184.10 → 7.184.12
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 +2 -1
- package/lib/desktopify.d.ts +5 -1
- package/lib/desktopify2.d.ts +4 -0
- package/package.json +1 -1
- package/src/base.ts +7 -1
- package/src/desktopify.ts +6 -1
- package/src/desktopify2.ts +4 -0
package/lib/base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtraFileReference, FilePath, IAppBuilderLib } from "./desktopify";
|
|
1
|
+
import { ExtraFileReference, FilePath, IAppBuilderLib, Release } from "./desktopify";
|
|
2
2
|
export interface Schemable {
|
|
3
3
|
schemaVersion?: number;
|
|
4
4
|
}
|
|
@@ -46,6 +46,7 @@ export interface IAppMeta {
|
|
|
46
46
|
currentBuildProgress?: {
|
|
47
47
|
channel?: string;
|
|
48
48
|
id?: string;
|
|
49
|
+
releaseId?: Release["id"];
|
|
49
50
|
linux?: IAppBuildProgress;
|
|
50
51
|
mac?: IAppBuildProgress;
|
|
51
52
|
projectConfig?: {
|
package/lib/desktopify.d.ts
CHANGED
|
@@ -73,7 +73,6 @@ export interface Build {
|
|
|
73
73
|
appName: string;
|
|
74
74
|
appNotarizaionBundleId: string;
|
|
75
75
|
appVersion?: SemanticVersion;
|
|
76
|
-
appSnapshot?: IApp2;
|
|
77
76
|
buildServerExecutionId?: number;
|
|
78
77
|
ciRunner?: CIRunner;
|
|
79
78
|
cliConfigSchemaVersion: number;
|
|
@@ -206,4 +205,9 @@ export interface DesktopifyApp {
|
|
|
206
205
|
pollForAppUpdatesEveryXMinutes?: number;
|
|
207
206
|
useSafeInternalUrlMatcher?: boolean;
|
|
208
207
|
}
|
|
208
|
+
export interface Release {
|
|
209
|
+
id: string;
|
|
210
|
+
appReleaseSnapshot?: IApp2;
|
|
211
|
+
releasedAt?: string;
|
|
212
|
+
}
|
|
209
213
|
export {};
|
package/lib/desktopify2.d.ts
CHANGED
|
@@ -205,6 +205,10 @@ export interface DesktopifyApp2 {
|
|
|
205
205
|
* Last desktopify version that was used to update the app
|
|
206
206
|
*/
|
|
207
207
|
lastUsedDesktopifyVersion?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Last todesktop builder version that was used to update the app
|
|
210
|
+
*/
|
|
211
|
+
lastUsedBuilderVersion?: string;
|
|
208
212
|
/**
|
|
209
213
|
* The name of the app
|
|
210
214
|
*/
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ExtraFileReference,
|
|
3
|
+
FilePath,
|
|
4
|
+
IAppBuilderLib,
|
|
5
|
+
Release,
|
|
6
|
+
} from "./desktopify";
|
|
2
7
|
export interface Schemable {
|
|
3
8
|
schemaVersion?: number;
|
|
4
9
|
}
|
|
@@ -53,6 +58,7 @@ export interface IAppMeta {
|
|
|
53
58
|
currentBuildProgress?: {
|
|
54
59
|
channel?: string;
|
|
55
60
|
id?: string;
|
|
61
|
+
releaseId?: Release["id"];
|
|
56
62
|
linux?: IAppBuildProgress;
|
|
57
63
|
mac?: IAppBuildProgress;
|
|
58
64
|
projectConfig?: {
|
package/src/desktopify.ts
CHANGED
|
@@ -105,7 +105,6 @@ export interface Build {
|
|
|
105
105
|
appName: string;
|
|
106
106
|
appNotarizaionBundleId: string;
|
|
107
107
|
appVersion?: SemanticVersion;
|
|
108
|
-
appSnapshot?: IApp2;
|
|
109
108
|
buildServerExecutionId?: number;
|
|
110
109
|
ciRunner?: CIRunner;
|
|
111
110
|
cliConfigSchemaVersion: number;
|
|
@@ -325,3 +324,9 @@ export interface DesktopifyApp {
|
|
|
325
324
|
// https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
326
325
|
useSafeInternalUrlMatcher?: boolean;
|
|
327
326
|
}
|
|
327
|
+
|
|
328
|
+
export interface Release {
|
|
329
|
+
id: string;
|
|
330
|
+
appReleaseSnapshot?: IApp2;
|
|
331
|
+
releasedAt?: string;
|
|
332
|
+
}
|
package/src/desktopify2.ts
CHANGED
|
@@ -329,6 +329,10 @@ export interface DesktopifyApp2 {
|
|
|
329
329
|
* Last desktopify version that was used to update the app
|
|
330
330
|
*/
|
|
331
331
|
lastUsedDesktopifyVersion?: string;
|
|
332
|
+
/**
|
|
333
|
+
* Last todesktop builder version that was used to update the app
|
|
334
|
+
*/
|
|
335
|
+
lastUsedBuilderVersion?: string;
|
|
332
336
|
/**
|
|
333
337
|
* The name of the app
|
|
334
338
|
*/
|