This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { withAuthUserTokenSSR, AuthAction, type AuthUser } from "next-firebase-auth"; | |
| import { NextApiRequest, NextApiResponse } from "next"; | |
| const checkServerSideAuth = | |
| typeof window !== "undefined" | |
| ? () => {} // "withAuthUserTokenSSR" can only be called server-side. | |
| : withAuthUserTokenSSR({ | |
| whenAuthed: AuthAction.RENDER, | |
| whenUnauthed: AuthAction.REDIRECT_TO_LOGIN, | |
| authPageURL: "401", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef LINETYPE_H | |
| #define LINETYPE_H | |
| class Line{ | |
| private: | |
| double a; | |
| double b; | |
| double c; |