mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
removed redundant readonly json
This commit is contained in:
parent
96d61ab216
commit
e44054921e
@ -10,7 +10,7 @@ import { ClientProjectJson, UserCustomizableJson, UserJson, TokenObject, TokenSt
|
||||
import { isClient } from "../utils/next";
|
||||
import { callOAuthCallback, signInWithCredential, signInWithOAuth, signUpWithCredential } from "./auth";
|
||||
import { RedirectType, redirect, useRouter } from "next/navigation";
|
||||
import { ReadonlyJson } from "../utils/types";
|
||||
import { ReadonlyJson } from "@stackframe/stack-shared/dist/utils/json";
|
||||
import { constructRedirectUrl } from "../utils/url";
|
||||
import { EmailVerificationLinkErrorCode, PasswordResetLinkErrorCode, SignInErrorCode, SignUpErrorCode } from "@stackframe/stack-shared/dist/utils/types";
|
||||
import { filterUndefined } from "@stackframe/stack-shared/dist/utils/objects";
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
export type ReadonlyJson =
|
||||
| null
|
||||
| boolean
|
||||
| number
|
||||
| string
|
||||
| readonly ReadonlyJson[]
|
||||
| { readonly [key: string]: ReadonlyJson };
|
||||
Loading…
Reference in New Issue
Block a user