@hot-updater/console 0.0.2 → 0.1.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/README.md +26 -4
- package/dist/.gitkeep +0 -0
- package/dist/index.cjs +2437 -0
- package/dist/index.d.cts +102 -0
- package/dist/index.d.ts +102 -0
- package/dist/index.html +1 -0
- package/dist/index.js +2410 -0
- package/dist/static/css/index.d6ce6c3e.css +1 -0
- package/dist/static/js/447.2f2dc973.js +5 -0
- package/dist/static/js/447.2f2dc973.js.LICENSE.txt +36 -0
- package/dist/static/js/index.721b53bc.js +1 -0
- package/package.json +43 -60
- package/LICENSE +0 -21
- package/bin/console.app/Contents/Info.plist +0 -34
- package/bin/console.app/Contents/MacOS/HotUpdater +0 -0
- package/bin/console.app/Contents/MacOS/app +0 -0
- package/bin/console.app/Contents/Resources/icon.icns +0 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as _hot_updater_utils from '@hot-updater/utils';
|
|
2
|
+
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
3
|
+
import { Hono } from 'hono';
|
|
4
|
+
|
|
5
|
+
declare const app: Hono<{}, {
|
|
6
|
+
"/static/*": {
|
|
7
|
+
$get: {
|
|
8
|
+
input: {};
|
|
9
|
+
output: "pong";
|
|
10
|
+
outputFormat: "text";
|
|
11
|
+
status: hono_utils_http_status.StatusCode;
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
$get: {
|
|
15
|
+
input: {};
|
|
16
|
+
output: true;
|
|
17
|
+
outputFormat: "json";
|
|
18
|
+
status: hono_utils_http_status.StatusCode;
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
$get: {
|
|
22
|
+
input: {};
|
|
23
|
+
output: boolean;
|
|
24
|
+
outputFormat: "json";
|
|
25
|
+
status: hono_utils_http_status.StatusCode;
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
$get: {
|
|
29
|
+
input: {};
|
|
30
|
+
output: {
|
|
31
|
+
platform: _hot_updater_utils.Platform;
|
|
32
|
+
targetVersion: string;
|
|
33
|
+
bundleVersion: number;
|
|
34
|
+
forceUpdate: boolean;
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
file: string;
|
|
37
|
+
hash: string;
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
outputFormat: "json";
|
|
41
|
+
status: hono_utils_http_status.StatusCode;
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
$post: {
|
|
45
|
+
input: {
|
|
46
|
+
json: {
|
|
47
|
+
bundleVersion: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
output: {
|
|
51
|
+
platform: _hot_updater_utils.Platform;
|
|
52
|
+
targetVersion: string;
|
|
53
|
+
bundleVersion: number;
|
|
54
|
+
forceUpdate: boolean;
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
file: string;
|
|
57
|
+
hash: string;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
} | null;
|
|
60
|
+
outputFormat: "json";
|
|
61
|
+
status: hono_utils_http_status.StatusCode;
|
|
62
|
+
};
|
|
63
|
+
} | {
|
|
64
|
+
$post: {
|
|
65
|
+
input: {
|
|
66
|
+
json: {
|
|
67
|
+
updateSource: {
|
|
68
|
+
platform?: "ios" | "android" | undefined;
|
|
69
|
+
targetVersion?: string | undefined;
|
|
70
|
+
bundleVersion?: number | undefined;
|
|
71
|
+
forceUpdate?: boolean | undefined;
|
|
72
|
+
enabled?: boolean | undefined;
|
|
73
|
+
file?: string | undefined;
|
|
74
|
+
hash?: string | undefined;
|
|
75
|
+
description?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
targetBundleVersion: number;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
output: true;
|
|
81
|
+
outputFormat: "json";
|
|
82
|
+
status: hono_utils_http_status.StatusCode;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
} & {
|
|
86
|
+
"*": {
|
|
87
|
+
$get: {
|
|
88
|
+
input: {};
|
|
89
|
+
output: {};
|
|
90
|
+
outputFormat: string;
|
|
91
|
+
status: hono_utils_http_status.StatusCode;
|
|
92
|
+
} | {
|
|
93
|
+
input: {};
|
|
94
|
+
output: {};
|
|
95
|
+
outputFormat: string;
|
|
96
|
+
status: hono_utils_http_status.StatusCode;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}, "/">;
|
|
100
|
+
type AppType = typeof app;
|
|
101
|
+
|
|
102
|
+
export { type AppType, app as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as _hot_updater_utils from '@hot-updater/utils';
|
|
2
|
+
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
3
|
+
import { Hono } from 'hono';
|
|
4
|
+
|
|
5
|
+
declare const app: Hono<{}, {
|
|
6
|
+
"/static/*": {
|
|
7
|
+
$get: {
|
|
8
|
+
input: {};
|
|
9
|
+
output: "pong";
|
|
10
|
+
outputFormat: "text";
|
|
11
|
+
status: hono_utils_http_status.StatusCode;
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
$get: {
|
|
15
|
+
input: {};
|
|
16
|
+
output: true;
|
|
17
|
+
outputFormat: "json";
|
|
18
|
+
status: hono_utils_http_status.StatusCode;
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
$get: {
|
|
22
|
+
input: {};
|
|
23
|
+
output: boolean;
|
|
24
|
+
outputFormat: "json";
|
|
25
|
+
status: hono_utils_http_status.StatusCode;
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
$get: {
|
|
29
|
+
input: {};
|
|
30
|
+
output: {
|
|
31
|
+
platform: _hot_updater_utils.Platform;
|
|
32
|
+
targetVersion: string;
|
|
33
|
+
bundleVersion: number;
|
|
34
|
+
forceUpdate: boolean;
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
file: string;
|
|
37
|
+
hash: string;
|
|
38
|
+
description?: string | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
outputFormat: "json";
|
|
41
|
+
status: hono_utils_http_status.StatusCode;
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
$post: {
|
|
45
|
+
input: {
|
|
46
|
+
json: {
|
|
47
|
+
bundleVersion: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
output: {
|
|
51
|
+
platform: _hot_updater_utils.Platform;
|
|
52
|
+
targetVersion: string;
|
|
53
|
+
bundleVersion: number;
|
|
54
|
+
forceUpdate: boolean;
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
file: string;
|
|
57
|
+
hash: string;
|
|
58
|
+
description?: string | undefined;
|
|
59
|
+
} | null;
|
|
60
|
+
outputFormat: "json";
|
|
61
|
+
status: hono_utils_http_status.StatusCode;
|
|
62
|
+
};
|
|
63
|
+
} | {
|
|
64
|
+
$post: {
|
|
65
|
+
input: {
|
|
66
|
+
json: {
|
|
67
|
+
updateSource: {
|
|
68
|
+
platform?: "ios" | "android" | undefined;
|
|
69
|
+
targetVersion?: string | undefined;
|
|
70
|
+
bundleVersion?: number | undefined;
|
|
71
|
+
forceUpdate?: boolean | undefined;
|
|
72
|
+
enabled?: boolean | undefined;
|
|
73
|
+
file?: string | undefined;
|
|
74
|
+
hash?: string | undefined;
|
|
75
|
+
description?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
targetBundleVersion: number;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
output: true;
|
|
81
|
+
outputFormat: "json";
|
|
82
|
+
status: hono_utils_http_status.StatusCode;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
} & {
|
|
86
|
+
"*": {
|
|
87
|
+
$get: {
|
|
88
|
+
input: {};
|
|
89
|
+
output: {};
|
|
90
|
+
outputFormat: string;
|
|
91
|
+
status: hono_utils_http_status.StatusCode;
|
|
92
|
+
} | {
|
|
93
|
+
input: {};
|
|
94
|
+
output: {};
|
|
95
|
+
outputFormat: string;
|
|
96
|
+
status: hono_utils_http_status.StatusCode;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}, "/">;
|
|
100
|
+
type AppType = typeof app;
|
|
101
|
+
|
|
102
|
+
export { type AppType, app as default };
|
package/dist/index.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html><head><title>Rsbuild App</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/447.2f2dc973.js"></script><script defer src="/static/js/index.721b53bc.js"></script><link href="/static/css/index.d6ce6c3e.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|