@hot-updater/console 0.1.6-0 → 0.2.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/index.cjs +1907 -2265
- package/dist/index.html +1 -1
- package/dist/index.js +1866 -2248
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/spash-screen.d.ts +1 -0
- package/dist/src/components/ui/button.d.ts +15 -0
- package/dist/src/components/ui/label.d.ts +3 -0
- package/dist/src/components/ui/navigation-menu.d.ts +35 -0
- package/dist/src/components/ui/pagination.d.ts +27 -0
- package/dist/src/components/ui/sheet.d.ts +26 -0
- package/dist/src/components/ui/sonner.d.ts +5 -0
- package/dist/src/components/ui/switch.d.ts +20 -0
- package/dist/src/components/ui/table.d.ts +10 -0
- package/dist/src/components/ui/text-field.d.ts +26 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/{index.d.cts → src/lib/api.d.ts} +40 -46
- package/dist/src/lib/extract-timestamp-from-uuidv7.d.ts +1 -0
- package/dist/src/lib/utils.d.ts +2 -0
- package/dist/src/routes/_components/columns.d.ts +3 -0
- package/dist/src/routes/_components/data-table.d.ts +9 -0
- package/dist/src/routes/_components/edit-bundle-sheet-content.d.ts +5 -0
- package/dist/src/routes/index.d.ts +1 -0
- package/dist/{index.d.ts → src-server/index.d.ts} +30 -22
- package/dist/src-server/rpc.d.ts +112 -0
- package/dist/src-server/type.test.d.ts +1 -0
- package/dist/static/css/index.4ed6b07e.css +1 -0
- package/dist/static/js/742.e04944e6.js +5 -0
- package/dist/static/js/index.7055a4a0.js +1 -0
- package/package.json +8 -5
- package/dist/static/css/index.8b7116d7.css +0 -1
- package/dist/static/js/85.cfaeff33.js +0 -5
- package/dist/static/js/index.b8c9ef11.js +0 -1
- /package/dist/static/js/{85.cfaeff33.js.LICENSE.txt → 742.e04944e6.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SplashScreen: () => import("solid-js").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { JSX, ValidComponent } from "solid-js";
|
|
2
|
+
import * as ButtonPrimitive from "@kobalte/core/button";
|
|
3
|
+
import type { PolymorphicProps } from "@kobalte/core/polymorphic";
|
|
4
|
+
import type { VariantProps } from "class-variance-authority";
|
|
5
|
+
declare const buttonVariants: (props?: ({
|
|
6
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
7
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
type ButtonProps<T extends ValidComponent = "button"> = ButtonPrimitive.ButtonRootProps<T> & VariantProps<typeof buttonVariants> & {
|
|
10
|
+
class?: string | undefined;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
declare const Button: <T extends ValidComponent = "button">(props: PolymorphicProps<T, ButtonProps<T>>) => JSX.Element;
|
|
14
|
+
export type { ButtonProps };
|
|
15
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { JSX, ValidComponent } from "solid-js";
|
|
2
|
+
import type { PolymorphicProps } from "@kobalte/core";
|
|
3
|
+
import * as NavigationMenuPrimitive from "@kobalte/core/navigation-menu";
|
|
4
|
+
declare const NavigationMenuItem: typeof NavigationMenuPrimitive.Menu;
|
|
5
|
+
type NavigationMenuProps<T extends ValidComponent = "ul"> = NavigationMenuPrimitive.NavigationMenuRootProps<T> & {
|
|
6
|
+
class?: string | undefined;
|
|
7
|
+
children?: JSX.Element;
|
|
8
|
+
};
|
|
9
|
+
declare const NavigationMenu: <T extends ValidComponent = "ul">(props: PolymorphicProps<T, NavigationMenuProps<T>>) => JSX.Element;
|
|
10
|
+
type NavigationMenuTriggerProps<T extends ValidComponent = "button"> = NavigationMenuPrimitive.NavigationMenuTriggerProps<T> & {
|
|
11
|
+
class?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
declare const NavigationMenuTrigger: <T extends ValidComponent = "button">(props: PolymorphicProps<T, NavigationMenuTriggerProps<T>>) => JSX.Element;
|
|
14
|
+
declare const NavigationMenuIcon: () => JSX.Element;
|
|
15
|
+
type NavigationMenuViewportProps<T extends ValidComponent = "li"> = NavigationMenuPrimitive.NavigationMenuViewportProps<T> & {
|
|
16
|
+
class?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
declare const NavigationMenuViewport: <T extends ValidComponent = "li">(props: PolymorphicProps<T, NavigationMenuViewportProps<T>>) => JSX.Element;
|
|
19
|
+
type NavigationMenuContentProps<T extends ValidComponent = "ul"> = NavigationMenuPrimitive.NavigationMenuContentProps<T> & {
|
|
20
|
+
class?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
declare const NavigationMenuContent: <T extends ValidComponent = "ul">(props: PolymorphicProps<T, NavigationMenuContentProps<T>>) => JSX.Element;
|
|
23
|
+
type NavigationMenuLinkProps<T extends ValidComponent = "a"> = NavigationMenuPrimitive.NavigationMenuItemProps<T> & {
|
|
24
|
+
class?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
declare const NavigationMenuLink: <T extends ValidComponent = "a">(props: PolymorphicProps<T, NavigationMenuLinkProps<T>>) => JSX.Element;
|
|
27
|
+
type NavigationMenuLabelProps<T extends ValidComponent = "div"> = NavigationMenuPrimitive.NavigationMenuItemLabelProps<T> & {
|
|
28
|
+
class?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
declare const NavigationMenuLabel: <T extends ValidComponent = "div">(props: PolymorphicProps<T, NavigationMenuLabelProps<T>>) => JSX.Element;
|
|
31
|
+
type NavigationMenuDescriptionProps<T extends ValidComponent = "div"> = NavigationMenuPrimitive.NavigationMenuItemDescriptionProps<T> & {
|
|
32
|
+
class?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
declare const NavigationMenuDescription: <T extends ValidComponent = "div">(props: PolymorphicProps<T, NavigationMenuDescriptionProps<T>>) => JSX.Element;
|
|
35
|
+
export { NavigationMenu, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuIcon, NavigationMenuViewport, NavigationMenuContent, NavigationMenuLink, NavigationMenuLabel, NavigationMenuDescription, };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { JSX, ValidComponent } from "solid-js";
|
|
2
|
+
import * as PaginationPrimitive from "@kobalte/core/pagination";
|
|
3
|
+
import type { PolymorphicProps } from "@kobalte/core/polymorphic";
|
|
4
|
+
declare const PaginationItems: typeof PaginationPrimitive.Items;
|
|
5
|
+
type PaginationRootProps<T extends ValidComponent = "nav"> = PaginationPrimitive.PaginationRootProps<T> & {
|
|
6
|
+
class?: string | undefined;
|
|
7
|
+
};
|
|
8
|
+
declare const Pagination: <T extends ValidComponent = "nav">(props: PolymorphicProps<T, PaginationRootProps<T>>) => JSX.Element;
|
|
9
|
+
type PaginationItemProps<T extends ValidComponent = "button"> = PaginationPrimitive.PaginationItemProps<T> & {
|
|
10
|
+
class?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
declare const PaginationItem: <T extends ValidComponent = "button">(props: PolymorphicProps<T, PaginationItemProps<T>>) => JSX.Element;
|
|
13
|
+
type PaginationEllipsisProps<T extends ValidComponent = "div"> = PaginationPrimitive.PaginationEllipsisProps<T> & {
|
|
14
|
+
class?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
declare const PaginationEllipsis: <T extends ValidComponent = "div">(props: PolymorphicProps<T, PaginationEllipsisProps<T>>) => JSX.Element;
|
|
17
|
+
type PaginationPreviousProps<T extends ValidComponent = "button"> = PaginationPrimitive.PaginationPreviousProps<T> & {
|
|
18
|
+
class?: string | undefined;
|
|
19
|
+
children?: JSX.Element;
|
|
20
|
+
};
|
|
21
|
+
declare const PaginationPrevious: <T extends ValidComponent = "button">(props: PolymorphicProps<T, PaginationPreviousProps<T>>) => JSX.Element;
|
|
22
|
+
type PaginationNextProps<T extends ValidComponent = "button"> = PaginationPrimitive.PaginationNextProps<T> & {
|
|
23
|
+
class?: string | undefined;
|
|
24
|
+
children?: JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
declare const PaginationNext: <T extends ValidComponent = "button">(props: PolymorphicProps<T, PaginationNextProps<T>>) => JSX.Element;
|
|
27
|
+
export { Pagination, PaginationItems, PaginationItem, PaginationEllipsis, PaginationPrevious, PaginationNext, };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Component, ComponentProps, JSX, ValidComponent } from "solid-js";
|
|
2
|
+
import * as SheetPrimitive from "@kobalte/core/dialog";
|
|
3
|
+
import type { PolymorphicProps } from "@kobalte/core/polymorphic";
|
|
4
|
+
import { type VariantProps } from "class-variance-authority";
|
|
5
|
+
declare const Sheet: typeof SheetPrimitive.Root;
|
|
6
|
+
declare const SheetTrigger: typeof SheetPrimitive.Trigger;
|
|
7
|
+
declare const SheetClose: typeof SheetPrimitive.CloseButton;
|
|
8
|
+
declare const sheetVariants: (props?: ({
|
|
9
|
+
position?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
type DialogContentProps<T extends ValidComponent = "div"> = SheetPrimitive.DialogContentProps<T> & VariantProps<typeof sheetVariants> & {
|
|
12
|
+
class?: string | undefined;
|
|
13
|
+
children?: JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
declare const SheetContent: <T extends ValidComponent = "div">(props: PolymorphicProps<T, DialogContentProps<T>>) => JSX.Element;
|
|
16
|
+
declare const SheetHeader: Component<ComponentProps<"div">>;
|
|
17
|
+
declare const SheetFooter: Component<ComponentProps<"div">>;
|
|
18
|
+
type DialogTitleProps<T extends ValidComponent = "h2"> = SheetPrimitive.DialogTitleProps<T> & {
|
|
19
|
+
class?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
declare const SheetTitle: <T extends ValidComponent = "h2">(props: PolymorphicProps<T, DialogTitleProps<T>>) => JSX.Element;
|
|
22
|
+
type DialogDescriptionProps<T extends ValidComponent = "p"> = SheetPrimitive.DialogDescriptionProps<T> & {
|
|
23
|
+
class?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
declare const SheetDescription: <T extends ValidComponent = "p">(props: PolymorphicProps<T, DialogDescriptionProps<T>>) => JSX.Element;
|
|
26
|
+
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { JSX, ValidComponent } from "solid-js";
|
|
2
|
+
import type { PolymorphicProps } from "@kobalte/core";
|
|
3
|
+
import * as SwitchPrimitive from "@kobalte/core/switch";
|
|
4
|
+
declare const Switch: typeof SwitchPrimitive.Root;
|
|
5
|
+
declare const SwitchDescription: typeof SwitchPrimitive.Description;
|
|
6
|
+
declare const SwitchErrorMessage: typeof SwitchPrimitive.ErrorMessage;
|
|
7
|
+
type SwitchControlProps = SwitchPrimitive.SwitchControlProps & {
|
|
8
|
+
class?: string | undefined;
|
|
9
|
+
children?: JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
declare const SwitchControl: <T extends ValidComponent = "input">(props: PolymorphicProps<T, SwitchControlProps>) => JSX.Element;
|
|
12
|
+
type SwitchThumbProps = SwitchPrimitive.SwitchThumbProps & {
|
|
13
|
+
class?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
declare const SwitchThumb: <T extends ValidComponent = "div">(props: PolymorphicProps<T, SwitchThumbProps>) => JSX.Element;
|
|
16
|
+
type SwitchLabelProps = SwitchPrimitive.SwitchLabelProps & {
|
|
17
|
+
class?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
declare const SwitchLabel: <T extends ValidComponent = "label">(props: PolymorphicProps<T, SwitchLabelProps>) => JSX.Element;
|
|
20
|
+
export { Switch, SwitchControl, SwitchThumb, SwitchLabel, SwitchDescription, SwitchErrorMessage, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Component, ComponentProps } from "solid-js";
|
|
2
|
+
declare const Table: Component<ComponentProps<"table">>;
|
|
3
|
+
declare const TableHeader: Component<ComponentProps<"thead">>;
|
|
4
|
+
declare const TableBody: Component<ComponentProps<"tbody">>;
|
|
5
|
+
declare const TableFooter: Component<ComponentProps<"tfoot">>;
|
|
6
|
+
declare const TableRow: Component<ComponentProps<"tr">>;
|
|
7
|
+
declare const TableHead: Component<ComponentProps<"th">>;
|
|
8
|
+
declare const TableCell: Component<ComponentProps<"td">>;
|
|
9
|
+
declare const TableCaption: Component<ComponentProps<"caption">>;
|
|
10
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ValidComponent } from "solid-js";
|
|
2
|
+
import type { PolymorphicProps } from "@kobalte/core";
|
|
3
|
+
import * as TextFieldPrimitive from "@kobalte/core/text-field";
|
|
4
|
+
declare const TextField: typeof TextFieldPrimitive.Root;
|
|
5
|
+
type TextFieldInputProps<T extends ValidComponent = "input"> = TextFieldPrimitive.TextFieldInputProps<T> & {
|
|
6
|
+
class?: string | undefined;
|
|
7
|
+
type: "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
8
|
+
};
|
|
9
|
+
declare const TextFieldInput: <T extends ValidComponent = "input">(props: PolymorphicProps<T, TextFieldInputProps<T>>) => import("solid-js").JSX.Element;
|
|
10
|
+
type TextFieldTextAreaProps<T extends ValidComponent = "textarea"> = TextFieldPrimitive.TextFieldTextAreaProps<T> & {
|
|
11
|
+
class?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
declare const TextFieldTextArea: <T extends ValidComponent = "textarea">(props: PolymorphicProps<T, TextFieldTextAreaProps<T>>) => import("solid-js").JSX.Element;
|
|
14
|
+
type TextFieldLabelProps<T extends ValidComponent = "label"> = TextFieldPrimitive.TextFieldLabelProps<T> & {
|
|
15
|
+
class?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
declare const TextFieldLabel: <T extends ValidComponent = "label">(props: PolymorphicProps<T, TextFieldLabelProps<T>>) => import("solid-js").JSX.Element;
|
|
18
|
+
type TextFieldDescriptionProps<T extends ValidComponent = "div"> = TextFieldPrimitive.TextFieldDescriptionProps<T> & {
|
|
19
|
+
class?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
declare const TextFieldDescription: <T extends ValidComponent = "div">(props: PolymorphicProps<T, TextFieldDescriptionProps<T>>) => import("solid-js").JSX.Element;
|
|
22
|
+
type TextFieldErrorMessageProps<T extends ValidComponent = "div"> = TextFieldPrimitive.TextFieldErrorMessageProps<T> & {
|
|
23
|
+
class?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
declare const TextFieldErrorMessage: <T extends ValidComponent = "div">(props: PolymorphicProps<T, TextFieldErrorMessageProps<T>>) => import("solid-js").JSX.Element;
|
|
26
|
+
export { TextField, TextFieldInput, TextFieldTextArea, TextFieldLabel, TextFieldDescription, TextFieldErrorMessage, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import { Hono } from 'hono';
|
|
4
|
-
|
|
5
|
-
declare const app: Hono<{}, {
|
|
6
|
-
"/static/*": {
|
|
1
|
+
export declare const api: {
|
|
2
|
+
loadConfig: import("hono/client").ClientRequest<{
|
|
7
3
|
$get: {
|
|
8
4
|
input: {};
|
|
9
|
-
output:
|
|
10
|
-
outputFormat: "
|
|
11
|
-
status:
|
|
5
|
+
output: true;
|
|
6
|
+
outputFormat: "json";
|
|
7
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
12
8
|
};
|
|
13
|
-
}
|
|
9
|
+
}>;
|
|
10
|
+
} & {
|
|
11
|
+
getConfig: import("hono/client").ClientRequest<{
|
|
14
12
|
$get: {
|
|
15
13
|
input: {};
|
|
16
|
-
output:
|
|
14
|
+
output: {
|
|
15
|
+
console: {
|
|
16
|
+
gitUrl?: string | undefined;
|
|
17
|
+
port?: number | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
};
|
|
17
20
|
outputFormat: "json";
|
|
18
|
-
status:
|
|
21
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
19
22
|
};
|
|
20
|
-
}
|
|
23
|
+
}>;
|
|
24
|
+
} & {
|
|
25
|
+
isConfigLoaded: import("hono/client").ClientRequest<{
|
|
21
26
|
$get: {
|
|
22
27
|
input: {};
|
|
23
28
|
output: boolean;
|
|
24
29
|
outputFormat: "json";
|
|
25
|
-
status:
|
|
30
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
26
31
|
};
|
|
27
|
-
}
|
|
32
|
+
}>;
|
|
33
|
+
} & {
|
|
34
|
+
getBundles: import("hono/client").ClientRequest<{
|
|
28
35
|
$get: {
|
|
29
36
|
input: {};
|
|
30
37
|
output: {
|
|
31
38
|
id: string;
|
|
32
|
-
platform:
|
|
33
|
-
|
|
39
|
+
platform: import("@hot-updater/core").Platform;
|
|
40
|
+
targetAppVersion: string;
|
|
34
41
|
forceUpdate: boolean;
|
|
35
42
|
enabled: boolean;
|
|
36
43
|
fileUrl: string;
|
|
@@ -39,9 +46,11 @@ declare const app: Hono<{}, {
|
|
|
39
46
|
message: string | null;
|
|
40
47
|
}[];
|
|
41
48
|
outputFormat: "json";
|
|
42
|
-
status:
|
|
49
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
43
50
|
};
|
|
44
|
-
}
|
|
51
|
+
}>;
|
|
52
|
+
} & {
|
|
53
|
+
getBundleById: import("hono/client").ClientRequest<{
|
|
45
54
|
$post: {
|
|
46
55
|
input: {
|
|
47
56
|
json: {
|
|
@@ -50,8 +59,8 @@ declare const app: Hono<{}, {
|
|
|
50
59
|
};
|
|
51
60
|
output: {
|
|
52
61
|
id: string;
|
|
53
|
-
platform:
|
|
54
|
-
|
|
62
|
+
platform: import("@hot-updater/core").Platform;
|
|
63
|
+
targetAppVersion: string;
|
|
55
64
|
forceUpdate: boolean;
|
|
56
65
|
enabled: boolean;
|
|
57
66
|
fileUrl: string;
|
|
@@ -60,45 +69,30 @@ declare const app: Hono<{}, {
|
|
|
60
69
|
message: string | null;
|
|
61
70
|
} | null;
|
|
62
71
|
outputFormat: "json";
|
|
63
|
-
status:
|
|
72
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
64
73
|
};
|
|
65
|
-
}
|
|
74
|
+
}>;
|
|
75
|
+
} & {
|
|
76
|
+
updateBundle: import("hono/client").ClientRequest<{
|
|
66
77
|
$post: {
|
|
67
78
|
input: {
|
|
68
79
|
json: {
|
|
69
80
|
bundle: {
|
|
70
81
|
platform?: "ios" | "android" | undefined;
|
|
71
|
-
|
|
82
|
+
gitCommitHash?: string | null | undefined;
|
|
83
|
+
message?: string | null | undefined;
|
|
84
|
+
targetAppVersion?: string | undefined;
|
|
72
85
|
forceUpdate?: boolean | undefined;
|
|
73
86
|
enabled?: boolean | undefined;
|
|
74
87
|
fileUrl?: string | undefined;
|
|
75
88
|
fileHash?: string | undefined;
|
|
76
|
-
gitCommitHash?: string | null | undefined;
|
|
77
|
-
message?: string | null | undefined;
|
|
78
89
|
};
|
|
79
90
|
targetBundleId: string;
|
|
80
91
|
};
|
|
81
92
|
};
|
|
82
93
|
output: true;
|
|
83
94
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
} & {
|
|
88
|
-
"*": {
|
|
89
|
-
$get: {
|
|
90
|
-
input: {};
|
|
91
|
-
output: {};
|
|
92
|
-
outputFormat: string;
|
|
93
|
-
status: hono_utils_http_status.StatusCode;
|
|
94
|
-
} | {
|
|
95
|
-
input: {};
|
|
96
|
-
output: {};
|
|
97
|
-
outputFormat: string;
|
|
98
|
-
status: hono_utils_http_status.StatusCode;
|
|
95
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
99
96
|
};
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
type AppType = typeof app;
|
|
103
|
-
|
|
104
|
-
export { type AppType, app as default };
|
|
97
|
+
}>;
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const extractTimestampFromUUIDv7: (uuid: string) => number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ColumnDef } from "@tanstack/solid-table";
|
|
2
|
+
import { type Accessor } from "solid-js";
|
|
3
|
+
interface DataTableProps<TData, TValue> {
|
|
4
|
+
columns: ColumnDef<TData, TValue>[];
|
|
5
|
+
data: Accessor<TData[] | undefined>;
|
|
6
|
+
onRowClick: (data: TData) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function DataTable<TData, TValue>(props: DataTableProps<TData, TValue>): import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Home(): import("solid-js").JSX.Element;
|
|
@@ -1,36 +1,45 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as hono_utils_http_status from 'hono/utils/http-status';
|
|
3
|
-
import { Hono } from 'hono';
|
|
4
|
-
|
|
1
|
+
import { Hono } from "hono";
|
|
5
2
|
declare const app: Hono<{}, {
|
|
6
3
|
"/static/*": {
|
|
7
4
|
$get: {
|
|
8
5
|
input: {};
|
|
9
6
|
output: "pong";
|
|
10
7
|
outputFormat: "text";
|
|
11
|
-
status:
|
|
8
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
12
9
|
};
|
|
13
10
|
} | {
|
|
14
11
|
$get: {
|
|
15
12
|
input: {};
|
|
16
13
|
output: true;
|
|
17
14
|
outputFormat: "json";
|
|
18
|
-
status:
|
|
15
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
$get: {
|
|
19
|
+
input: {};
|
|
20
|
+
output: {
|
|
21
|
+
console: {
|
|
22
|
+
gitUrl?: string | undefined;
|
|
23
|
+
port?: number | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
};
|
|
26
|
+
outputFormat: "json";
|
|
27
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
19
28
|
};
|
|
20
29
|
} | {
|
|
21
30
|
$get: {
|
|
22
31
|
input: {};
|
|
23
32
|
output: boolean;
|
|
24
33
|
outputFormat: "json";
|
|
25
|
-
status:
|
|
34
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
26
35
|
};
|
|
27
36
|
} | {
|
|
28
37
|
$get: {
|
|
29
38
|
input: {};
|
|
30
39
|
output: {
|
|
31
40
|
id: string;
|
|
32
|
-
platform:
|
|
33
|
-
|
|
41
|
+
platform: import("@hot-updater/core").Platform;
|
|
42
|
+
targetAppVersion: string;
|
|
34
43
|
forceUpdate: boolean;
|
|
35
44
|
enabled: boolean;
|
|
36
45
|
fileUrl: string;
|
|
@@ -39,7 +48,7 @@ declare const app: Hono<{}, {
|
|
|
39
48
|
message: string | null;
|
|
40
49
|
}[];
|
|
41
50
|
outputFormat: "json";
|
|
42
|
-
status:
|
|
51
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
43
52
|
};
|
|
44
53
|
} | {
|
|
45
54
|
$post: {
|
|
@@ -50,8 +59,8 @@ declare const app: Hono<{}, {
|
|
|
50
59
|
};
|
|
51
60
|
output: {
|
|
52
61
|
id: string;
|
|
53
|
-
platform:
|
|
54
|
-
|
|
62
|
+
platform: import("@hot-updater/core").Platform;
|
|
63
|
+
targetAppVersion: string;
|
|
55
64
|
forceUpdate: boolean;
|
|
56
65
|
enabled: boolean;
|
|
57
66
|
fileUrl: string;
|
|
@@ -60,7 +69,7 @@ declare const app: Hono<{}, {
|
|
|
60
69
|
message: string | null;
|
|
61
70
|
} | null;
|
|
62
71
|
outputFormat: "json";
|
|
63
|
-
status:
|
|
72
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
64
73
|
};
|
|
65
74
|
} | {
|
|
66
75
|
$post: {
|
|
@@ -68,20 +77,20 @@ declare const app: Hono<{}, {
|
|
|
68
77
|
json: {
|
|
69
78
|
bundle: {
|
|
70
79
|
platform?: "ios" | "android" | undefined;
|
|
71
|
-
|
|
80
|
+
gitCommitHash?: string | null | undefined;
|
|
81
|
+
message?: string | null | undefined;
|
|
82
|
+
targetAppVersion?: string | undefined;
|
|
72
83
|
forceUpdate?: boolean | undefined;
|
|
73
84
|
enabled?: boolean | undefined;
|
|
74
85
|
fileUrl?: string | undefined;
|
|
75
86
|
fileHash?: string | undefined;
|
|
76
|
-
gitCommitHash?: string | null | undefined;
|
|
77
|
-
message?: string | null | undefined;
|
|
78
87
|
};
|
|
79
88
|
targetBundleId: string;
|
|
80
89
|
};
|
|
81
90
|
};
|
|
82
91
|
output: true;
|
|
83
92
|
outputFormat: "json";
|
|
84
|
-
status:
|
|
93
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
85
94
|
};
|
|
86
95
|
};
|
|
87
96
|
} & {
|
|
@@ -90,15 +99,14 @@ declare const app: Hono<{}, {
|
|
|
90
99
|
input: {};
|
|
91
100
|
output: {};
|
|
92
101
|
outputFormat: string;
|
|
93
|
-
status:
|
|
102
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
94
103
|
} | {
|
|
95
104
|
input: {};
|
|
96
105
|
output: {};
|
|
97
106
|
outputFormat: string;
|
|
98
|
-
status:
|
|
107
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
99
108
|
};
|
|
100
109
|
};
|
|
101
110
|
}, "/">;
|
|
102
|
-
type AppType = typeof app;
|
|
103
|
-
|
|
104
|
-
export { type AppType, app as default };
|
|
111
|
+
export type AppType = typeof app;
|
|
112
|
+
export default app;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Hono } from "hono";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
export declare const bundleSchema: v.ObjectSchema<{
|
|
4
|
+
readonly platform: v.UnionSchema<[v.LiteralSchema<"ios", undefined>, v.LiteralSchema<"android", undefined>], undefined>;
|
|
5
|
+
readonly targetAppVersion: v.StringSchema<undefined>;
|
|
6
|
+
readonly id: v.StringSchema<undefined>;
|
|
7
|
+
readonly forceUpdate: v.BooleanSchema<undefined>;
|
|
8
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
9
|
+
readonly fileUrl: v.StringSchema<undefined>;
|
|
10
|
+
readonly fileHash: v.StringSchema<undefined>;
|
|
11
|
+
readonly gitCommitHash: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
12
|
+
readonly message: v.NullableSchema<v.StringSchema<undefined>, never>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
export declare const rpc: Hono<import("hono/types").BlankEnv, {
|
|
15
|
+
"/loadConfig": {
|
|
16
|
+
$get: {
|
|
17
|
+
input: {};
|
|
18
|
+
output: true;
|
|
19
|
+
outputFormat: "json";
|
|
20
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} & {
|
|
24
|
+
"/getConfig": {
|
|
25
|
+
$get: {
|
|
26
|
+
input: {};
|
|
27
|
+
output: {
|
|
28
|
+
console: {
|
|
29
|
+
gitUrl?: string | undefined;
|
|
30
|
+
port?: number | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
};
|
|
33
|
+
outputFormat: "json";
|
|
34
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
} & {
|
|
38
|
+
"/isConfigLoaded": {
|
|
39
|
+
$get: {
|
|
40
|
+
input: {};
|
|
41
|
+
output: boolean;
|
|
42
|
+
outputFormat: "json";
|
|
43
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
} & {
|
|
47
|
+
"/getBundles": {
|
|
48
|
+
$get: {
|
|
49
|
+
input: {};
|
|
50
|
+
output: {
|
|
51
|
+
id: string;
|
|
52
|
+
platform: import("@hot-updater/core").Platform;
|
|
53
|
+
targetAppVersion: string;
|
|
54
|
+
forceUpdate: boolean;
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
fileUrl: string;
|
|
57
|
+
fileHash: string;
|
|
58
|
+
gitCommitHash: string | null;
|
|
59
|
+
message: string | null;
|
|
60
|
+
}[];
|
|
61
|
+
outputFormat: "json";
|
|
62
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
} & {
|
|
66
|
+
"/getBundleById": {
|
|
67
|
+
$post: {
|
|
68
|
+
input: {
|
|
69
|
+
json: {
|
|
70
|
+
bundleId: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
output: {
|
|
74
|
+
id: string;
|
|
75
|
+
platform: import("@hot-updater/core").Platform;
|
|
76
|
+
targetAppVersion: string;
|
|
77
|
+
forceUpdate: boolean;
|
|
78
|
+
enabled: boolean;
|
|
79
|
+
fileUrl: string;
|
|
80
|
+
fileHash: string;
|
|
81
|
+
gitCommitHash: string | null;
|
|
82
|
+
message: string | null;
|
|
83
|
+
} | null;
|
|
84
|
+
outputFormat: "json";
|
|
85
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
} & {
|
|
89
|
+
"/updateBundle": {
|
|
90
|
+
$post: {
|
|
91
|
+
input: {
|
|
92
|
+
json: {
|
|
93
|
+
bundle: {
|
|
94
|
+
platform?: "ios" | "android" | undefined;
|
|
95
|
+
gitCommitHash?: string | null | undefined;
|
|
96
|
+
message?: string | null | undefined;
|
|
97
|
+
targetAppVersion?: string | undefined;
|
|
98
|
+
forceUpdate?: boolean | undefined;
|
|
99
|
+
enabled?: boolean | undefined;
|
|
100
|
+
fileUrl?: string | undefined;
|
|
101
|
+
fileHash?: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
targetBundleId: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
output: true;
|
|
107
|
+
outputFormat: "json";
|
|
108
|
+
status: import("hono/utils/http-status").StatusCode;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, "/">;
|
|
112
|
+
export type RpcType = typeof rpc;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|