@hot-updater/console 0.17.0 → 0.18.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.
- 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
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Hono } from "hono";
|
|
2
|
-
declare const app: Hono<{}, {
|
|
3
|
-
"/assets/*": {
|
|
4
|
-
$get: {
|
|
5
|
-
input: {};
|
|
6
|
-
output: "pong";
|
|
7
|
-
outputFormat: "text";
|
|
8
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
9
|
-
};
|
|
10
|
-
} | {
|
|
11
|
-
$get: {
|
|
12
|
-
input: {};
|
|
13
|
-
output: {
|
|
14
|
-
console: {
|
|
15
|
-
gitUrl: string;
|
|
16
|
-
port: number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
outputFormat: "json";
|
|
20
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
21
|
-
};
|
|
22
|
-
} | {
|
|
23
|
-
$get: {
|
|
24
|
-
input: {};
|
|
25
|
-
output: string[];
|
|
26
|
-
outputFormat: "json";
|
|
27
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
28
|
-
};
|
|
29
|
-
} | {
|
|
30
|
-
$get: {
|
|
31
|
-
input: {};
|
|
32
|
-
output: {
|
|
33
|
-
configLoaded: boolean;
|
|
34
|
-
};
|
|
35
|
-
outputFormat: "json";
|
|
36
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
37
|
-
};
|
|
38
|
-
} | {
|
|
39
|
-
$get: {
|
|
40
|
-
input: {
|
|
41
|
-
query: {
|
|
42
|
-
channel?: string;
|
|
43
|
-
platform?: "ios" | "android";
|
|
44
|
-
limit?: string;
|
|
45
|
-
offset?: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
output: {
|
|
49
|
-
id: string;
|
|
50
|
-
platform: import("@hot-updater/core").Platform;
|
|
51
|
-
targetAppVersion: string;
|
|
52
|
-
shouldForceUpdate: boolean;
|
|
53
|
-
enabled: boolean;
|
|
54
|
-
fileHash: string;
|
|
55
|
-
gitCommitHash: string | null;
|
|
56
|
-
message: string | null;
|
|
57
|
-
channel: string;
|
|
58
|
-
}[];
|
|
59
|
-
outputFormat: "json";
|
|
60
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
61
|
-
};
|
|
62
|
-
} | {
|
|
63
|
-
$get: {
|
|
64
|
-
input: {
|
|
65
|
-
param: {
|
|
66
|
-
bundleId: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
output: {
|
|
70
|
-
id: string;
|
|
71
|
-
platform: import("@hot-updater/core").Platform;
|
|
72
|
-
targetAppVersion: string;
|
|
73
|
-
shouldForceUpdate: boolean;
|
|
74
|
-
enabled: boolean;
|
|
75
|
-
fileHash: string;
|
|
76
|
-
gitCommitHash: string | null;
|
|
77
|
-
message: string | null;
|
|
78
|
-
channel: string;
|
|
79
|
-
} | null;
|
|
80
|
-
outputFormat: "json";
|
|
81
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
82
|
-
};
|
|
83
|
-
$patch: {
|
|
84
|
-
input: {
|
|
85
|
-
json: Partial<import("@hot-updater/core").Bundle>;
|
|
86
|
-
} & {
|
|
87
|
-
param: {
|
|
88
|
-
bundleId: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
output: {
|
|
92
|
-
error: string;
|
|
93
|
-
};
|
|
94
|
-
outputFormat: "json";
|
|
95
|
-
status: 400;
|
|
96
|
-
} | {
|
|
97
|
-
input: {
|
|
98
|
-
json: Partial<import("@hot-updater/core").Bundle>;
|
|
99
|
-
} & {
|
|
100
|
-
param: {
|
|
101
|
-
bundleId: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
output: {
|
|
105
|
-
success: boolean;
|
|
106
|
-
};
|
|
107
|
-
outputFormat: "json";
|
|
108
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
109
|
-
} | {
|
|
110
|
-
input: {
|
|
111
|
-
json: Partial<import("@hot-updater/core").Bundle>;
|
|
112
|
-
} & {
|
|
113
|
-
param: {
|
|
114
|
-
bundleId: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
output: {
|
|
118
|
-
error: string;
|
|
119
|
-
};
|
|
120
|
-
outputFormat: "json";
|
|
121
|
-
status: 500;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
} & {
|
|
125
|
-
"*": {
|
|
126
|
-
$get: {
|
|
127
|
-
input: {};
|
|
128
|
-
output: {};
|
|
129
|
-
outputFormat: string;
|
|
130
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
131
|
-
} | {
|
|
132
|
-
input: {};
|
|
133
|
-
output: {};
|
|
134
|
-
outputFormat: string;
|
|
135
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
}, "/">;
|
|
139
|
-
export type AppType = typeof app;
|
|
140
|
-
export default app;
|
package/dist/src-server/rpc.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { type Bundle } from "@hot-updater/plugin-core";
|
|
2
|
-
import { Hono } from "hono";
|
|
3
|
-
export declare const rpc: Hono<import("hono/types").BlankEnv, {
|
|
4
|
-
"/config": {
|
|
5
|
-
$get: {
|
|
6
|
-
input: {};
|
|
7
|
-
output: {
|
|
8
|
-
console: {
|
|
9
|
-
gitUrl: string;
|
|
10
|
-
port: number;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
outputFormat: "json";
|
|
14
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
} & {
|
|
18
|
-
"/channels": {
|
|
19
|
-
$get: {
|
|
20
|
-
input: {};
|
|
21
|
-
output: string[];
|
|
22
|
-
outputFormat: "json";
|
|
23
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
} & {
|
|
27
|
-
"/config-loaded": {
|
|
28
|
-
$get: {
|
|
29
|
-
input: {};
|
|
30
|
-
output: {
|
|
31
|
-
configLoaded: boolean;
|
|
32
|
-
};
|
|
33
|
-
outputFormat: "json";
|
|
34
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
} & {
|
|
38
|
-
"/bundles": {
|
|
39
|
-
$get: {
|
|
40
|
-
input: {
|
|
41
|
-
query: {
|
|
42
|
-
channel?: string;
|
|
43
|
-
platform?: "ios" | "android";
|
|
44
|
-
limit?: string;
|
|
45
|
-
offset?: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
output: {
|
|
49
|
-
id: string;
|
|
50
|
-
platform: import("@hot-updater/core").Platform;
|
|
51
|
-
targetAppVersion: string;
|
|
52
|
-
shouldForceUpdate: boolean;
|
|
53
|
-
enabled: boolean;
|
|
54
|
-
fileHash: string;
|
|
55
|
-
gitCommitHash: string | null;
|
|
56
|
-
message: string | null;
|
|
57
|
-
channel: string;
|
|
58
|
-
}[];
|
|
59
|
-
outputFormat: "json";
|
|
60
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
} & {
|
|
64
|
-
"/bundles/:bundleId": {
|
|
65
|
-
$get: {
|
|
66
|
-
input: {
|
|
67
|
-
param: {
|
|
68
|
-
bundleId: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
output: {
|
|
72
|
-
id: string;
|
|
73
|
-
platform: import("@hot-updater/core").Platform;
|
|
74
|
-
targetAppVersion: string;
|
|
75
|
-
shouldForceUpdate: boolean;
|
|
76
|
-
enabled: boolean;
|
|
77
|
-
fileHash: string;
|
|
78
|
-
gitCommitHash: string | null;
|
|
79
|
-
message: string | null;
|
|
80
|
-
channel: string;
|
|
81
|
-
} | null;
|
|
82
|
-
outputFormat: "json";
|
|
83
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
} & {
|
|
87
|
-
"/bundles/:bundleId": {
|
|
88
|
-
$patch: {
|
|
89
|
-
input: {
|
|
90
|
-
json: Partial<Bundle>;
|
|
91
|
-
} & {
|
|
92
|
-
param: {
|
|
93
|
-
bundleId: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
output: {
|
|
97
|
-
error: string;
|
|
98
|
-
};
|
|
99
|
-
outputFormat: "json";
|
|
100
|
-
status: 400;
|
|
101
|
-
} | {
|
|
102
|
-
input: {
|
|
103
|
-
json: Partial<Bundle>;
|
|
104
|
-
} & {
|
|
105
|
-
param: {
|
|
106
|
-
bundleId: string;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
output: {
|
|
110
|
-
success: boolean;
|
|
111
|
-
};
|
|
112
|
-
outputFormat: "json";
|
|
113
|
-
status: import("hono/utils/http-status").StatusCode;
|
|
114
|
-
} | {
|
|
115
|
-
input: {
|
|
116
|
-
json: Partial<Bundle>;
|
|
117
|
-
} & {
|
|
118
|
-
param: {
|
|
119
|
-
bundleId: string;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
output: {
|
|
123
|
-
error: string;
|
|
124
|
-
};
|
|
125
|
-
outputFormat: "json";
|
|
126
|
-
status: 500;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
}, "/">;
|
|
130
|
-
export type RpcType = typeof rpc;
|