removed redundant readonly json

This commit is contained in:
Zai Shi 2024-03-06 21:40:02 +08:00
parent 96d61ab216
commit e44054921e
2 changed files with 1 additions and 8 deletions

View File

@ -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";

View File

@ -1,7 +0,0 @@
export type ReadonlyJson =
| null
| boolean
| number
| string
| readonly ReadonlyJson[]
| { readonly [key: string]: ReadonlyJson };