This commit is contained in:
Benjamin Toby 2026-04-18 18:06:21 +01:00
parent b2e92e5792
commit 41e28d7a3e
3 changed files with 29 additions and 3 deletions

15
dist/types/index.d.ts vendored
View File

@ -241,7 +241,20 @@ export type BunextPageProps<T extends {
} = { } = {
[k: string]: any; [k: string]: any;
}> = BunextPageModuleServerReturn<T, Q>; }> = BunextPageModuleServerReturn<T, Q>;
export type BunextPageModuleServerReturnURLObject = URL & {}; export type BunextPageModuleServerReturnURLObject = {
hash: string;
host: string;
hostname: string;
href: string;
origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
searchParams: Record<string, string>;
username: string;
};
export type BunextPageModuleServerRedirect = { export type BunextPageModuleServerRedirect = {
destination: string; destination: string;
permanent?: boolean; permanent?: boolean;

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/bunext", "name": "@moduletrace/bunext",
"version": "1.0.83", "version": "1.0.84",
"main": "dist/index.js", "main": "dist/index.js",
"module": "index.ts", "module": "index.ts",
"dependencies": { "dependencies": {

View File

@ -272,7 +272,20 @@ export type BunextPageProps<
Q extends { [k: string]: any } = { [k: string]: any }, Q extends { [k: string]: any } = { [k: string]: any },
> = BunextPageModuleServerReturn<T, Q>; > = BunextPageModuleServerReturn<T, Q>;
export type BunextPageModuleServerReturnURLObject = URL & {}; export type BunextPageModuleServerReturnURLObject = {
hash: string;
host: string;
hostname: string;
href: string;
origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
searchParams: Record<string, string>;
username: string;
};
export type BunextPageModuleServerRedirect = { export type BunextPageModuleServerRedirect = {
destination: string; destination: string;