@hot-updater/console 0.28.0 → 0.29.1

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.
Files changed (93) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/apple-touch-icon.png +0 -0
  3. package/.output/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  4. package/.output/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  5. package/.output/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  6. package/.output/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  7. package/.output/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  8. package/.output/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  9. package/.output/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  10. package/.output/public/assets/main-Dlx8-qN-.js +61 -0
  11. package/.output/public/assets/routes-DB0tWmiJ.js +10 -0
  12. package/.output/public/assets/styles-Bfxg4M1x.css +2 -0
  13. package/.output/public/favicon-16x16.png +0 -0
  14. package/.output/public/favicon-32x32.png +0 -0
  15. package/.output/public/favicon.ico +0 -0
  16. package/.output/public/logo.svg +1 -0
  17. package/.output/public/manifest.json +30 -0
  18. package/.output/public/robots.txt +3 -0
  19. package/.output/server/_chunks/ssr-renderer.mjs +15 -0
  20. package/.output/server/_libs/@floating-ui/core+[...].mjs +698 -0
  21. package/.output/server/_libs/@floating-ui/dom+[...].mjs +644 -0
  22. package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +839 -0
  23. package/.output/server/_libs/@radix-ui/react-alert-dialog+[...].mjs +2093 -0
  24. package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +287 -0
  25. package/.output/server/_libs/@radix-ui/react-select+[...].mjs +1003 -0
  26. package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +196 -0
  27. package/.output/server/_libs/@tanstack/form-core+[...].mjs +2396 -0
  28. package/.output/server/_libs/@tanstack/react-form+[...].mjs +298 -0
  29. package/.output/server/_libs/@tanstack/react-router+[...].mjs +13068 -0
  30. package/.output/server/_libs/@tanstack/react-table+[...].mjs +2372 -0
  31. package/.output/server/_libs/chownr.mjs +60 -0
  32. package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
  33. package/.output/server/_libs/core-util-is.mjs +67 -0
  34. package/.output/server/_libs/dayjs.mjs +408 -0
  35. package/.output/server/_libs/h3+rou3+srvx.mjs +1158 -0
  36. package/.output/server/_libs/hookable.mjs +41 -0
  37. package/.output/server/_libs/immediate.mjs +57 -0
  38. package/.output/server/_libs/inherits.mjs +39 -0
  39. package/.output/server/_libs/isaacs__fs-minipass+minipass.mjs +1120 -0
  40. package/.output/server/_libs/isarray.mjs +10 -0
  41. package/.output/server/_libs/jszip+[...].mjs +8311 -0
  42. package/.output/server/_libs/lucide-react.mjs +371 -0
  43. package/.output/server/_libs/minizlib.mjs +345 -0
  44. package/.output/server/_libs/next-themes.mjs +49 -0
  45. package/.output/server/_libs/radix-ui__number.mjs +6 -0
  46. package/.output/server/_libs/radix-ui__primitive.mjs +9 -0
  47. package/.output/server/_libs/radix-ui__react-arrow.mjs +23 -0
  48. package/.output/server/_libs/radix-ui__react-collection.mjs +78 -0
  49. package/.output/server/_libs/radix-ui__react-direction.mjs +11 -0
  50. package/.output/server/_libs/radix-ui__react-label.mjs +22 -0
  51. package/.output/server/_libs/radix-ui__react-separator.mjs +31 -0
  52. package/.output/server/_libs/radix-ui__react-slider.mjs +451 -0
  53. package/.output/server/_libs/radix-ui__react-switch.mjs +118 -0
  54. package/.output/server/_libs/radix-ui__react-tooltip.mjs +491 -0
  55. package/.output/server/_libs/semver.mjs +1339 -0
  56. package/.output/server/_libs/sonner.mjs +908 -0
  57. package/.output/server/_libs/tailwind-merge.mjs +1962 -0
  58. package/.output/server/_libs/tanstack__history.mjs +322 -0
  59. package/.output/server/_libs/tanstack__query-core.mjs +2073 -0
  60. package/.output/server/_libs/tanstack__react-query.mjs +146 -0
  61. package/.output/server/_libs/tanstack__router-core.mjs +6 -0
  62. package/.output/server/_libs/tar.mjs +1996 -0
  63. package/.output/server/_libs/ufo.mjs +64 -0
  64. package/.output/server/_runtime.mjs +26 -0
  65. package/.output/server/_ssr/api-rpc-D3ZehMIN.mjs +217 -0
  66. package/.output/server/_ssr/config.server-JUYQ7UbI.mjs +26 -0
  67. package/.output/server/_ssr/deleteBundle-DWUxu9-K.mjs +22 -0
  68. package/.output/server/_ssr/extract-timestamp-from-uuidv7-B90UBADU.mjs +24 -0
  69. package/.output/server/_ssr/promoteBundle-DtMHuubR.mjs +1571 -0
  70. package/.output/server/_ssr/router-pgc7NX76.mjs +250 -0
  71. package/.output/server/_ssr/routes-PqTTQSoI.mjs +1833 -0
  72. package/.output/server/_ssr/sidebar-DXng0IOP.mjs +439 -0
  73. package/.output/server/_ssr/ssr.mjs +5050 -0
  74. package/.output/server/_ssr/start-DQK0r85G.mjs +4 -0
  75. package/.output/server/_tanstack-start-manifest_v-DTbQVOpU.mjs +17 -0
  76. package/.output/server/index.mjs +417 -0
  77. package/.output/server/node_modules/tslib/modules/index.js +70 -0
  78. package/.output/server/node_modules/tslib/modules/package.json +3 -0
  79. package/.output/server/node_modules/tslib/package.json +47 -0
  80. package/.output/server/node_modules/tslib/tslib.js +484 -0
  81. package/.output/server/package.json +9 -0
  82. package/README.md +191 -2
  83. package/package.json +77 -50
  84. package/dist/.gitkeep +0 -0
  85. package/dist/assets/favicon-BkwcEHsj.ico +0 -0
  86. package/dist/assets/index-DUlKsori.css +0 -1
  87. package/dist/assets/index-ijmIcyn1.js +0 -27
  88. package/dist/assets/logo-BYNFyja1.png +0 -0
  89. package/dist/index.cjs +0 -2129
  90. package/dist/index.d.cts +0 -218
  91. package/dist/index.d.ts +0 -218
  92. package/dist/index.html +0 -14
  93. package/dist/index.js +0 -2125
package/dist/index.d.cts DELETED
@@ -1,218 +0,0 @@
1
- import * as hono_utils_http_status0 from "hono/utils/http-status";
2
- import * as _hot_updater_core0 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
- data: {
54
- id: string;
55
- platform: _hot_updater_core0.Platform;
56
- shouldForceUpdate: boolean;
57
- enabled: boolean;
58
- fileHash: string;
59
- storageUri: string;
60
- gitCommitHash: string | null;
61
- message: string | null;
62
- channel: string;
63
- targetAppVersion: string | null;
64
- fingerprintHash: string | null;
65
- metadata?: {
66
- app_version?: string | undefined;
67
- } | undefined;
68
- }[];
69
- pagination: {
70
- total: number;
71
- hasNextPage: boolean;
72
- hasPreviousPage: boolean;
73
- currentPage: number;
74
- totalPages: number;
75
- };
76
- };
77
- outputFormat: "json";
78
- status: hono_utils_http_status0.StatusCode;
79
- };
80
- $post: {
81
- input: {
82
- json: _hot_updater_core0.Bundle;
83
- };
84
- output: {
85
- success: boolean;
86
- bundleId: string;
87
- };
88
- outputFormat: "json";
89
- status: hono_utils_http_status0.StatusCode;
90
- } | {
91
- input: {
92
- json: _hot_updater_core0.Bundle;
93
- };
94
- output: {
95
- error: string;
96
- };
97
- outputFormat: "json";
98
- status: 500;
99
- };
100
- } | {
101
- $get: {
102
- input: {
103
- param: {
104
- bundleId: string;
105
- };
106
- };
107
- output: {
108
- id: string;
109
- platform: _hot_updater_core0.Platform;
110
- shouldForceUpdate: boolean;
111
- enabled: boolean;
112
- fileHash: string;
113
- storageUri: string;
114
- gitCommitHash: string | null;
115
- message: string | null;
116
- channel: string;
117
- targetAppVersion: string | null;
118
- fingerprintHash: string | null;
119
- metadata?: {
120
- app_version?: string | undefined;
121
- } | undefined;
122
- } | null;
123
- outputFormat: "json";
124
- status: hono_utils_http_status0.StatusCode;
125
- };
126
- $patch: {
127
- input: {
128
- json: Partial<_hot_updater_core0.Bundle>;
129
- } & {
130
- param: {
131
- bundleId: string;
132
- };
133
- };
134
- output: {
135
- error: string;
136
- };
137
- outputFormat: "json";
138
- status: 400;
139
- } | {
140
- input: {
141
- json: Partial<_hot_updater_core0.Bundle>;
142
- } & {
143
- param: {
144
- bundleId: string;
145
- };
146
- };
147
- output: {
148
- success: boolean;
149
- };
150
- outputFormat: "json";
151
- status: hono_utils_http_status0.StatusCode;
152
- } | {
153
- input: {
154
- json: Partial<_hot_updater_core0.Bundle>;
155
- } & {
156
- param: {
157
- bundleId: string;
158
- };
159
- };
160
- output: {
161
- error: string;
162
- };
163
- outputFormat: "json";
164
- status: 500;
165
- };
166
- $delete: {
167
- input: {
168
- param: {
169
- bundleId: string;
170
- };
171
- };
172
- output: {
173
- error: string;
174
- };
175
- outputFormat: "json";
176
- status: 404;
177
- } | {
178
- input: {
179
- param: {
180
- bundleId: string;
181
- };
182
- };
183
- output: {
184
- success: boolean;
185
- };
186
- outputFormat: "json";
187
- status: hono_utils_http_status0.StatusCode;
188
- } | {
189
- input: {
190
- param: {
191
- bundleId: string;
192
- };
193
- };
194
- output: {
195
- error: string;
196
- };
197
- outputFormat: "json";
198
- status: 500;
199
- };
200
- };
201
- } & {
202
- "*": {
203
- $get: {
204
- input: {};
205
- output: {};
206
- outputFormat: string;
207
- status: hono_utils_http_status0.StatusCode;
208
- } | {
209
- input: {};
210
- output: {};
211
- outputFormat: string;
212
- status: hono_utils_http_status0.StatusCode;
213
- };
214
- };
215
- }, "/">;
216
- type AppType = typeof app;
217
- //#endregion
218
- export { AppType, app as default };
package/dist/index.d.ts DELETED
@@ -1,218 +0,0 @@
1
- import * as hono_utils_http_status0 from "hono/utils/http-status";
2
- import * as _hot_updater_core0 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
- data: {
54
- id: string;
55
- platform: _hot_updater_core0.Platform;
56
- shouldForceUpdate: boolean;
57
- enabled: boolean;
58
- fileHash: string;
59
- storageUri: string;
60
- gitCommitHash: string | null;
61
- message: string | null;
62
- channel: string;
63
- targetAppVersion: string | null;
64
- fingerprintHash: string | null;
65
- metadata?: {
66
- app_version?: string | undefined;
67
- } | undefined;
68
- }[];
69
- pagination: {
70
- total: number;
71
- hasNextPage: boolean;
72
- hasPreviousPage: boolean;
73
- currentPage: number;
74
- totalPages: number;
75
- };
76
- };
77
- outputFormat: "json";
78
- status: hono_utils_http_status0.StatusCode;
79
- };
80
- $post: {
81
- input: {
82
- json: _hot_updater_core0.Bundle;
83
- };
84
- output: {
85
- success: boolean;
86
- bundleId: string;
87
- };
88
- outputFormat: "json";
89
- status: hono_utils_http_status0.StatusCode;
90
- } | {
91
- input: {
92
- json: _hot_updater_core0.Bundle;
93
- };
94
- output: {
95
- error: string;
96
- };
97
- outputFormat: "json";
98
- status: 500;
99
- };
100
- } | {
101
- $get: {
102
- input: {
103
- param: {
104
- bundleId: string;
105
- };
106
- };
107
- output: {
108
- id: string;
109
- platform: _hot_updater_core0.Platform;
110
- shouldForceUpdate: boolean;
111
- enabled: boolean;
112
- fileHash: string;
113
- storageUri: string;
114
- gitCommitHash: string | null;
115
- message: string | null;
116
- channel: string;
117
- targetAppVersion: string | null;
118
- fingerprintHash: string | null;
119
- metadata?: {
120
- app_version?: string | undefined;
121
- } | undefined;
122
- } | null;
123
- outputFormat: "json";
124
- status: hono_utils_http_status0.StatusCode;
125
- };
126
- $patch: {
127
- input: {
128
- json: Partial<_hot_updater_core0.Bundle>;
129
- } & {
130
- param: {
131
- bundleId: string;
132
- };
133
- };
134
- output: {
135
- error: string;
136
- };
137
- outputFormat: "json";
138
- status: 400;
139
- } | {
140
- input: {
141
- json: Partial<_hot_updater_core0.Bundle>;
142
- } & {
143
- param: {
144
- bundleId: string;
145
- };
146
- };
147
- output: {
148
- success: boolean;
149
- };
150
- outputFormat: "json";
151
- status: hono_utils_http_status0.StatusCode;
152
- } | {
153
- input: {
154
- json: Partial<_hot_updater_core0.Bundle>;
155
- } & {
156
- param: {
157
- bundleId: string;
158
- };
159
- };
160
- output: {
161
- error: string;
162
- };
163
- outputFormat: "json";
164
- status: 500;
165
- };
166
- $delete: {
167
- input: {
168
- param: {
169
- bundleId: string;
170
- };
171
- };
172
- output: {
173
- error: string;
174
- };
175
- outputFormat: "json";
176
- status: 404;
177
- } | {
178
- input: {
179
- param: {
180
- bundleId: string;
181
- };
182
- };
183
- output: {
184
- success: boolean;
185
- };
186
- outputFormat: "json";
187
- status: hono_utils_http_status0.StatusCode;
188
- } | {
189
- input: {
190
- param: {
191
- bundleId: string;
192
- };
193
- };
194
- output: {
195
- error: string;
196
- };
197
- outputFormat: "json";
198
- status: 500;
199
- };
200
- };
201
- } & {
202
- "*": {
203
- $get: {
204
- input: {};
205
- output: {};
206
- outputFormat: string;
207
- status: hono_utils_http_status0.StatusCode;
208
- } | {
209
- input: {};
210
- output: {};
211
- outputFormat: string;
212
- status: hono_utils_http_status0.StatusCode;
213
- };
214
- };
215
- }, "/">;
216
- type AppType = typeof app;
217
- //#endregion
218
- export { AppType, app as default };
package/dist/index.html DELETED
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/x-icon" href="/assets/favicon-BkwcEHsj.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Hot Updater Console</title>
8
- <script type="module" crossorigin src="/assets/index-ijmIcyn1.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-DUlKsori.css">
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- </body>
14
- </html>