@hot-updater/console 0.17.0 → 0.18.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/dist/assets/index-B40KfAQR.css +1 -0
- package/dist/assets/index-ClfoMSQp.js +27 -0
- package/dist/index.cjs +1997 -2048
- package/dist/index.d.cts +154 -0
- package/dist/index.d.ts +154 -0
- package/dist/index.html +2 -2
- package/dist/index.js +1906 -1911
- package/package.json +6 -5
- package/dist/assets/index-C9l9iw4B.js +0 -27
- package/dist/assets/index-paAi6YFm.css +0 -1
- package/dist/src/App.d.ts +0 -2
- package/dist/src/components/spash-screen.d.ts +0 -1
- package/dist/src/components/ui/button.d.ts +0 -15
- package/dist/src/components/ui/label.d.ts +0 -3
- package/dist/src/components/ui/layout.d.ts +0 -4
- package/dist/src/components/ui/navigation-menu.d.ts +0 -35
- package/dist/src/components/ui/pagination.d.ts +0 -27
- package/dist/src/components/ui/sheet.d.ts +0 -26
- package/dist/src/components/ui/skeleton.d.ts +0 -8
- package/dist/src/components/ui/sonner.d.ts +0 -5
- package/dist/src/components/ui/switch.d.ts +0 -20
- package/dist/src/components/ui/table.d.ts +0 -10
- package/dist/src/components/ui/text-field.d.ts +0 -26
- package/dist/src/components/ui/toast.d.ts +0 -41
- package/dist/src/hooks/useFilter.d.ts +0 -9
- package/dist/src/index.d.ts +0 -1
- package/dist/src/lib/api.d.ts +0 -157
- package/dist/src/lib/extract-timestamp-from-uuidv7.d.ts +0 -1
- package/dist/src/lib/utils.d.ts +0 -3
- package/dist/src/routes/_components/columns.d.ts +0 -3
- package/dist/src/routes/_components/data-table.d.ts +0 -8
- package/dist/src/routes/_components/edit-bundle-sheet-content.d.ts +0 -5
- package/dist/src/routes/index.d.ts +0 -1
- package/dist/src-server/index.d.ts +0 -140
- package/dist/src-server/rpc.d.ts +0 -130
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as hono_utils_http_status0 from "hono/utils/http-status";
|
|
2
|
+
import * as _hot_updater_core4 from "@hot-updater/core";
|
|
3
|
+
import { Hono } from "hono";
|
|
4
|
+
|
|
5
|
+
//#region src-server/index.d.ts
|
|
6
|
+
declare const app: Hono<{}, {
|
|
7
|
+
"/assets/*": {
|
|
8
|
+
$get: {
|
|
9
|
+
input: {};
|
|
10
|
+
output: "pong";
|
|
11
|
+
outputFormat: "text";
|
|
12
|
+
status: hono_utils_http_status0.StatusCode;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
$get: {
|
|
16
|
+
input: {};
|
|
17
|
+
output: {
|
|
18
|
+
console: {
|
|
19
|
+
gitUrl: string;
|
|
20
|
+
port: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
outputFormat: "json";
|
|
24
|
+
status: hono_utils_http_status0.StatusCode;
|
|
25
|
+
};
|
|
26
|
+
} | {
|
|
27
|
+
$get: {
|
|
28
|
+
input: {};
|
|
29
|
+
output: string[];
|
|
30
|
+
outputFormat: "json";
|
|
31
|
+
status: hono_utils_http_status0.StatusCode;
|
|
32
|
+
};
|
|
33
|
+
} | {
|
|
34
|
+
$get: {
|
|
35
|
+
input: {};
|
|
36
|
+
output: {
|
|
37
|
+
configLoaded: boolean;
|
|
38
|
+
};
|
|
39
|
+
outputFormat: "json";
|
|
40
|
+
status: hono_utils_http_status0.StatusCode;
|
|
41
|
+
};
|
|
42
|
+
} | {
|
|
43
|
+
$get: {
|
|
44
|
+
input: {
|
|
45
|
+
query: {
|
|
46
|
+
channel?: string;
|
|
47
|
+
platform?: "ios" | "android";
|
|
48
|
+
limit?: string;
|
|
49
|
+
offset?: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
output: {
|
|
53
|
+
id: string;
|
|
54
|
+
platform: _hot_updater_core4.Platform;
|
|
55
|
+
shouldForceUpdate: boolean;
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
fileHash: string;
|
|
58
|
+
storageUri: string;
|
|
59
|
+
gitCommitHash: string | null;
|
|
60
|
+
message: string | null;
|
|
61
|
+
channel: string;
|
|
62
|
+
targetAppVersion: string | null;
|
|
63
|
+
fingerprintHash: string | null;
|
|
64
|
+
metadata?: {
|
|
65
|
+
app_version?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
}[];
|
|
68
|
+
outputFormat: "json";
|
|
69
|
+
status: hono_utils_http_status0.StatusCode;
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
$get: {
|
|
73
|
+
input: {
|
|
74
|
+
param: {
|
|
75
|
+
bundleId: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
output: {
|
|
79
|
+
id: string;
|
|
80
|
+
platform: _hot_updater_core4.Platform;
|
|
81
|
+
shouldForceUpdate: boolean;
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
fileHash: string;
|
|
84
|
+
storageUri: string;
|
|
85
|
+
gitCommitHash: string | null;
|
|
86
|
+
message: string | null;
|
|
87
|
+
channel: string;
|
|
88
|
+
targetAppVersion: string | null;
|
|
89
|
+
fingerprintHash: string | null;
|
|
90
|
+
metadata?: {
|
|
91
|
+
app_version?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
} | null;
|
|
94
|
+
outputFormat: "json";
|
|
95
|
+
status: hono_utils_http_status0.StatusCode;
|
|
96
|
+
};
|
|
97
|
+
$patch: {
|
|
98
|
+
input: {
|
|
99
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
100
|
+
} & {
|
|
101
|
+
param: {
|
|
102
|
+
bundleId: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
output: {
|
|
106
|
+
error: string;
|
|
107
|
+
};
|
|
108
|
+
outputFormat: "json";
|
|
109
|
+
status: 400;
|
|
110
|
+
} | {
|
|
111
|
+
input: {
|
|
112
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
113
|
+
} & {
|
|
114
|
+
param: {
|
|
115
|
+
bundleId: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
output: {
|
|
119
|
+
success: boolean;
|
|
120
|
+
};
|
|
121
|
+
outputFormat: "json";
|
|
122
|
+
status: hono_utils_http_status0.StatusCode;
|
|
123
|
+
} | {
|
|
124
|
+
input: {
|
|
125
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
126
|
+
} & {
|
|
127
|
+
param: {
|
|
128
|
+
bundleId: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
output: {
|
|
132
|
+
error: string;
|
|
133
|
+
};
|
|
134
|
+
outputFormat: "json";
|
|
135
|
+
status: 500;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
} & {
|
|
139
|
+
"*": {
|
|
140
|
+
$get: {
|
|
141
|
+
input: {};
|
|
142
|
+
output: {};
|
|
143
|
+
outputFormat: string;
|
|
144
|
+
status: hono_utils_http_status0.StatusCode;
|
|
145
|
+
} | {
|
|
146
|
+
input: {};
|
|
147
|
+
output: {};
|
|
148
|
+
outputFormat: string;
|
|
149
|
+
status: hono_utils_http_status0.StatusCode;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}, "/">;
|
|
153
|
+
type AppType = typeof app; //#endregion
|
|
154
|
+
export { AppType, app as default };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as hono_utils_http_status0 from "hono/utils/http-status";
|
|
2
|
+
import * as _hot_updater_core4 from "@hot-updater/core";
|
|
3
|
+
import { Hono } from "hono";
|
|
4
|
+
|
|
5
|
+
//#region src-server/index.d.ts
|
|
6
|
+
declare const app: Hono<{}, {
|
|
7
|
+
"/assets/*": {
|
|
8
|
+
$get: {
|
|
9
|
+
input: {};
|
|
10
|
+
output: "pong";
|
|
11
|
+
outputFormat: "text";
|
|
12
|
+
status: hono_utils_http_status0.StatusCode;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
$get: {
|
|
16
|
+
input: {};
|
|
17
|
+
output: {
|
|
18
|
+
console: {
|
|
19
|
+
gitUrl: string;
|
|
20
|
+
port: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
outputFormat: "json";
|
|
24
|
+
status: hono_utils_http_status0.StatusCode;
|
|
25
|
+
};
|
|
26
|
+
} | {
|
|
27
|
+
$get: {
|
|
28
|
+
input: {};
|
|
29
|
+
output: string[];
|
|
30
|
+
outputFormat: "json";
|
|
31
|
+
status: hono_utils_http_status0.StatusCode;
|
|
32
|
+
};
|
|
33
|
+
} | {
|
|
34
|
+
$get: {
|
|
35
|
+
input: {};
|
|
36
|
+
output: {
|
|
37
|
+
configLoaded: boolean;
|
|
38
|
+
};
|
|
39
|
+
outputFormat: "json";
|
|
40
|
+
status: hono_utils_http_status0.StatusCode;
|
|
41
|
+
};
|
|
42
|
+
} | {
|
|
43
|
+
$get: {
|
|
44
|
+
input: {
|
|
45
|
+
query: {
|
|
46
|
+
channel?: string;
|
|
47
|
+
platform?: "ios" | "android";
|
|
48
|
+
limit?: string;
|
|
49
|
+
offset?: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
output: {
|
|
53
|
+
id: string;
|
|
54
|
+
platform: _hot_updater_core4.Platform;
|
|
55
|
+
shouldForceUpdate: boolean;
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
fileHash: string;
|
|
58
|
+
storageUri: string;
|
|
59
|
+
gitCommitHash: string | null;
|
|
60
|
+
message: string | null;
|
|
61
|
+
channel: string;
|
|
62
|
+
targetAppVersion: string | null;
|
|
63
|
+
fingerprintHash: string | null;
|
|
64
|
+
metadata?: {
|
|
65
|
+
app_version?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
}[];
|
|
68
|
+
outputFormat: "json";
|
|
69
|
+
status: hono_utils_http_status0.StatusCode;
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
$get: {
|
|
73
|
+
input: {
|
|
74
|
+
param: {
|
|
75
|
+
bundleId: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
output: {
|
|
79
|
+
id: string;
|
|
80
|
+
platform: _hot_updater_core4.Platform;
|
|
81
|
+
shouldForceUpdate: boolean;
|
|
82
|
+
enabled: boolean;
|
|
83
|
+
fileHash: string;
|
|
84
|
+
storageUri: string;
|
|
85
|
+
gitCommitHash: string | null;
|
|
86
|
+
message: string | null;
|
|
87
|
+
channel: string;
|
|
88
|
+
targetAppVersion: string | null;
|
|
89
|
+
fingerprintHash: string | null;
|
|
90
|
+
metadata?: {
|
|
91
|
+
app_version?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
} | null;
|
|
94
|
+
outputFormat: "json";
|
|
95
|
+
status: hono_utils_http_status0.StatusCode;
|
|
96
|
+
};
|
|
97
|
+
$patch: {
|
|
98
|
+
input: {
|
|
99
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
100
|
+
} & {
|
|
101
|
+
param: {
|
|
102
|
+
bundleId: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
output: {
|
|
106
|
+
error: string;
|
|
107
|
+
};
|
|
108
|
+
outputFormat: "json";
|
|
109
|
+
status: 400;
|
|
110
|
+
} | {
|
|
111
|
+
input: {
|
|
112
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
113
|
+
} & {
|
|
114
|
+
param: {
|
|
115
|
+
bundleId: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
output: {
|
|
119
|
+
success: boolean;
|
|
120
|
+
};
|
|
121
|
+
outputFormat: "json";
|
|
122
|
+
status: hono_utils_http_status0.StatusCode;
|
|
123
|
+
} | {
|
|
124
|
+
input: {
|
|
125
|
+
json: Partial<_hot_updater_core4.Bundle>;
|
|
126
|
+
} & {
|
|
127
|
+
param: {
|
|
128
|
+
bundleId: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
output: {
|
|
132
|
+
error: string;
|
|
133
|
+
};
|
|
134
|
+
outputFormat: "json";
|
|
135
|
+
status: 500;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
} & {
|
|
139
|
+
"*": {
|
|
140
|
+
$get: {
|
|
141
|
+
input: {};
|
|
142
|
+
output: {};
|
|
143
|
+
outputFormat: string;
|
|
144
|
+
status: hono_utils_http_status0.StatusCode;
|
|
145
|
+
} | {
|
|
146
|
+
input: {};
|
|
147
|
+
output: {};
|
|
148
|
+
outputFormat: string;
|
|
149
|
+
status: hono_utils_http_status0.StatusCode;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}, "/">;
|
|
153
|
+
type AppType = typeof app; //#endregion
|
|
154
|
+
export { AppType, app as default };
|
package/dist/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/x-icon" href="/assets/favicon-BkwcEHsj.ico" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Hot Updater Console</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-ClfoMSQp.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-B40KfAQR.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|