Skip to content

Commit bf77b10

Browse files
KATTmisteriossMaksRomanchukolehlavryk
authored
chore(www): bump docusaurus (#6051)
--------- Co-authored-by: serhii_s <[email protected]> Co-authored-by: MaksRomanchuk <[email protected]> Co-authored-by: Oleh Lavryk <[email protected]>
1 parent ea273e6 commit bf77b10

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @link https://nextjs.org/docs/api-reference/next.config.js/introduction
2+
* @see https://nextjs.org/docs/api-reference/next.config.js/introduction
33
*/
44

55
/** @type {import("next").NextConfig} */

prisma/seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Adds seed data to your db
33
*
4-
* @link https://www.prisma.io/docs/guides/database/seed-database
4+
* @see https://www.prisma.io/docs/guides/database/seed-database
55
*/
66
import { PrismaClient } from '@prisma/client';
77

src/pages/api/trpc/[trpc].ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import { appRouter } from 'server/routers/_app';
99
export default trpcNext.createNextApiHandler<AppRouter>({
1010
router: appRouter,
1111
/**
12-
* @link https://trpc.io/docs/v11/context
12+
* @see https://trpc.io/docs/v11/context
1313
*/
1414
createContext,
1515
/**
16-
* @link https://trpc.io/docs/v11/error-handling
16+
* @see https://trpc.io/docs/v11/error-handling
1717
*/
1818
onError({ error }) {
1919
if (error.code === 'INTERNAL_SERVER_ERROR') {

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function AddMessageForm({ onMessagePost }: { onMessagePost: () => void }) {
5454
/**
5555
* In a real app you probably don't want to use this manually
5656
* Checkout React Hook Form - it works great with tRPC
57-
* @link https://react-hook-form.com/
57+
* @see https://react-hook-form.com/
5858
*/
5959
await postMessage();
6060
}}
@@ -316,7 +316,7 @@ export default function IndexPage() {
316316
* - Export `appRouter` & `createContext` from [trpc].ts
317317
* - Make the `opts` object optional on `createContext()`
318318
*
319-
* @link https://trpc.io/docs/v11/ssg
319+
* @see https://trpc.io/docs/v11/ssg
320320
*/
321321
// export const getStaticProps = async (
322322
// context: GetStaticPropsContext<{ filter: string }>,

src/server/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getSession } from 'next-auth/react';
44

55
/**
66
* Creates context for an incoming request
7-
* @link https://trpc.io/docs/v11/context
7+
* @see https://trpc.io/docs/v11/context
88
*/
99
export const createContext = async (
1010
opts: CreateNextContextOptions | CreateWSSContextFnOptions,

src/server/prisma.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Instantiates a single instance PrismaClient and save it on the global object.
3-
* @link https://www.prisma.io/docs/support/help-articles/nextjs-prisma-client-dev-practices
3+
* @see https://www.prisma.io/docs/support/help-articles/nextjs-prisma-client-dev-practices
44
*/
55
import { PrismaClient } from '@prisma/client';
66

src/server/trpc.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* - We export only the functionality that we use so we can enforce which base procedures should be used
55
*
66
* Learn how to create protected base procedures and other things below:
7-
* @link https://trpc.io/docs/v11/router
8-
* @link https://trpc.io/docs/v11/procedures
7+
* @see https://trpc.io/docs/v11/router
8+
* @see https://trpc.io/docs/v11/procedures
99
*/
1010

1111
import type { Context } from './context';
@@ -14,11 +14,11 @@ import superjson from 'superjson';
1414

1515
const t = initTRPC.context<Context>().create({
1616
/**
17-
* @link https://trpc.io/docs/v11/data-transformers
17+
* @see https://trpc.io/docs/v11/data-transformers
1818
*/
1919
transformer: superjson,
2020
/**
21-
* @link https://trpc.io/docs/v11/error-formatting
21+
* @see https://trpc.io/docs/v11/error-formatting
2222
*/
2323
errorFormatter({ shape }) {
2424
return shape;
@@ -27,18 +27,18 @@ const t = initTRPC.context<Context>().create({
2727

2828
/**
2929
* Create a router
30-
* @link https://trpc.io/docs/v11/router
30+
* @see https://trpc.io/docs/v11/router
3131
*/
3232
export const router = t.router;
3333

3434
/**
3535
* Create an unprotected procedure
36-
* @link https://trpc.io/docs/v11/procedures
36+
* @see https://trpc.io/docs/v11/procedures
3737
**/
3838
export const publicProcedure = t.procedure;
3939

4040
/**
41-
* @link https://trpc.io/docs/v11/merging-routers
41+
* @see https://trpc.io/docs/v11/merging-routers
4242
*/
4343
export const mergeRouters = t.mergeRouters;
4444

src/utils/trpc.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getEndingLink(ctx: NextPageContext | undefined): TRPCLink<AppRouter> {
2424
if (typeof window === 'undefined') {
2525
return httpBatchLink({
2626
/**
27-
* @link https://trpc.io/docs/v11/data-transformers
27+
* @see https://trpc.io/docs/v11/data-transformers
2828
*/
2929
transformer: superjson,
3030
url: `${APP_URL}/api/trpc`,
@@ -46,31 +46,31 @@ function getEndingLink(ctx: NextPageContext | undefined): TRPCLink<AppRouter> {
4646
return wsLink({
4747
client,
4848
/**
49-
* @link https://trpc.io/docs/v11/data-transformers
49+
* @see https://trpc.io/docs/v11/data-transformers
5050
*/
5151
transformer: superjson,
5252
});
5353
}
5454

5555
/**
5656
* A set of strongly-typed React hooks from your `AppRouter` type signature with `createReactQueryHooks`.
57-
* @link https://trpc.io/docs/v11/react#3-create-trpc-hooks
57+
* @see https://trpc.io/docs/v11/react#3-create-trpc-hooks
5858
*/
5959
export const trpc = createTRPCNext<AppRouter>({
6060
/**
61-
* @link https://trpc.io/docs/v11/ssr
61+
* @see https://trpc.io/docs/v11/ssr
6262
*/
6363
ssr: true,
6464
ssrPrepass,
6565
config({ ctx }) {
6666
/**
6767
* If you want to use SSR, you need to use the server's full URL
68-
* @link https://trpc.io/docs/v11/ssr
68+
* @see https://trpc.io/docs/v11/ssr
6969
*/
7070

7171
return {
7272
/**
73-
* @link https://trpc.io/docs/v11/client/links
73+
* @see https://trpc.io/docs/v11/client/links
7474
*/
7575
links: [
7676
// adds pretty logs to your console in development and logs errors in production
@@ -83,13 +83,13 @@ export const trpc = createTRPCNext<AppRouter>({
8383
getEndingLink(ctx),
8484
],
8585
/**
86-
* @link https://tanstack.com/query/v5/docs/reference/QueryClient
86+
* @see https://tanstack.com/query/v5/docs/reference/QueryClient
8787
*/
8888
queryClientConfig: { defaultOptions: { queries: { staleTime: 60 } } },
8989
};
9090
},
9191
/**
92-
* @link https://trpc.io/docs/v11/data-transformers
92+
* @see https://trpc.io/docs/v11/data-transformers
9393
*/
9494
transformer: superjson,
9595
});

0 commit comments

Comments
 (0)