Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/src/components/docs/folderStructureDiagramApp.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"src/server/db.ts": ["prisma"],
"src/server/db/index.ts": ["drizzle"],
"src/server/db/schema.ts": ["drizzle"],
"src/server/api/routers/example.ts": ["trpc"],
"src/server/api/routers/post.ts": ["trpc"],
"src/server/api/trpc.ts": ["trpc"],
"src/server/api/root.ts": ["trpc"],
"src/styles/globals.css": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"src/server/db.ts": ["prisma"],
"src/server/db/index.ts": ["drizzle"],
"src/server/db/schema.ts": ["drizzle"],
"src/server/api/routers/example.ts": ["trpc"],
"src/server/api/routers/post.ts": ["trpc"],
"src/server/api/trpc.ts": ["trpc"],
"src/server/api/root.ts": ["trpc"],
"src/styles/globals.css": [],
Expand Down
4 changes: 2 additions & 2 deletions www/src/pages/en/folder-structure-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ The `routers` folder contains all your tRPC sub-routers.
</div>
<div data-components="trpc">

#### `src/server/api/routers/example.ts`
#### `src/server/api/routers/post.ts`

The `example.ts` file is an example tRPC router utilizing the `publicProcedure` helper to demonstrate how to create a public tRPC route.
The `post.ts` file is an example tRPC router utilizing the `publicProcedure` helper to demonstrate how to create a public tRPC route.

Depending on your chosen packages this router contains more or less routes to best demonstrate the usage to your needs.

Expand Down
4 changes: 2 additions & 2 deletions www/src/pages/en/folder-structure-pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ The `routers` folder contains all your tRPC sub-routers.
</div>
<div data-components="trpc">

#### `src/server/api/routers/example.ts`
#### `src/server/api/routers/post.ts`

The `example.ts` file is an example tRPC router utilizing the `publicProcedure` helper to demonstrate how to create a public tRPC route.
The `post.ts` file is an example tRPC router utilizing the `publicProcedure` helper to demonstrate how to create a public tRPC route.

Depending on your chosen packages this router contains more or less routes to best demonstrate the usage to your needs.

Expand Down