Updates
This commit is contained in:
parent
b2e92e5792
commit
41e28d7a3e
15
dist/types/index.d.ts
vendored
15
dist/types/index.d.ts
vendored
@ -241,7 +241,20 @@ export type BunextPageProps<T extends {
|
||||
} = {
|
||||
[k: string]: any;
|
||||
}> = 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 = {
|
||||
destination: string;
|
||||
permanent?: boolean;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@moduletrace/bunext",
|
||||
"version": "1.0.83",
|
||||
"version": "1.0.84",
|
||||
"main": "dist/index.js",
|
||||
"module": "index.ts",
|
||||
"dependencies": {
|
||||
|
||||
@ -272,7 +272,20 @@ export type BunextPageProps<
|
||||
Q extends { [k: string]: any } = { [k: string]: any },
|
||||
> = 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 = {
|
||||
destination: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user