Buckets:
| import { ApolloServer } from "@apollo/server"; | |
| import { startServerAndCreateNextHandler } from "@as-integrations/next"; | |
| import { NextApiRequest, NextApiResponse } from "next"; | |
| import { schema } from "../../apollo/schema"; | |
| type ExampleContext = { | |
| req: NextApiRequest; | |
| res: NextApiResponse; | |
| }; | |
| const apolloServer = new ApolloServer<ExampleContext>({ schema }); | |
| export default startServerAndCreateNextHandler(apolloServer, { | |
| context: async (req, res) => ({ req, res }), | |
| }); | |
Xet Storage Details
- Size:
- 480 Bytes
- Xet hash:
- 77e442ecc94b32ff5f51984b0a02f8fe9d609e9c54f996f64c03c26107a2e608
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.