@todesktop/shared 7.184.9 → 7.184.11
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 +6 -0
- package/package.json +1 -1
- package/src/base.ts +7 -1
- package/src/desktopify.ts +7 -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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IApp2 } from "./desktopify2";
|
|
1
2
|
import { IApp } from "./toDesktop";
|
|
2
3
|
import { Configuration, PackagerOptions, PublishOptions } from "app-builder-lib";
|
|
3
4
|
declare type appBuilderLib = PackagerOptions & PublishOptions;
|
|
@@ -204,4 +205,9 @@ export interface DesktopifyApp {
|
|
|
204
205
|
pollForAppUpdatesEveryXMinutes?: number;
|
|
205
206
|
useSafeInternalUrlMatcher?: boolean;
|
|
206
207
|
}
|
|
208
|
+
export interface Release {
|
|
209
|
+
id: string;
|
|
210
|
+
appReleaseSnapshot?: IApp2;
|
|
211
|
+
releasedAt?: string;
|
|
212
|
+
}
|
|
207
213
|
export {};
|
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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IApp2 } from "./desktopify2";
|
|
1
2
|
import { IApp } from "./toDesktop";
|
|
2
3
|
import {
|
|
3
4
|
Configuration,
|
|
@@ -323,3 +324,9 @@ export interface DesktopifyApp {
|
|
|
323
324
|
// https://linear.app/todesktop/issue/TD-1428/html-injection-due-to-regular-expression-bypass
|
|
324
325
|
useSafeInternalUrlMatcher?: boolean;
|
|
325
326
|
}
|
|
327
|
+
|
|
328
|
+
export interface Release {
|
|
329
|
+
id: string;
|
|
330
|
+
appReleaseSnapshot?: IApp2;
|
|
331
|
+
releasedAt?: string;
|
|
332
|
+
}
|