From 9491c32b91437c058d53b37ded64597ebd112b2e Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Wed, 21 Apr 2021 18:02:20 +0300 Subject: [PATCH] Rename api-routes folder to routers --- pages/api/trpc/[trpc].ts | 6 +++--- {api-routes => routers}/calendar.ts | 0 {api-routes => routers}/freeagents.ts | 0 {api-routes => routers}/plus.ts | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename {api-routes => routers}/calendar.ts (100%) rename {api-routes => routers}/freeagents.ts (100%) rename {api-routes => routers}/plus.ts (100%) diff --git a/pages/api/trpc/[trpc].ts b/pages/api/trpc/[trpc].ts index 87cdc1997..c2255a5eb 100644 --- a/pages/api/trpc/[trpc].ts +++ b/pages/api/trpc/[trpc].ts @@ -1,9 +1,9 @@ import * as trpc from "@trpc/server"; import { inferAsyncReturnType, inferProcedureOutput } from "@trpc/server"; import * as trpcNext from "@trpc/server/adapters/next"; -import calendarApi from "api-routes/calendar"; -import freeAgentsApi from "api-routes/freeagents"; -import plusApi from "api-routes/plus"; +import calendarApi from "routers/calendar"; +import freeAgentsApi from "routers/freeagents"; +import plusApi from "routers/plus"; import superjson from "superjson"; import { getMySession } from "utils/api"; import { trpc as trcpReactQuery } from "utils/trpc"; diff --git a/api-routes/calendar.ts b/routers/calendar.ts similarity index 100% rename from api-routes/calendar.ts rename to routers/calendar.ts diff --git a/api-routes/freeagents.ts b/routers/freeagents.ts similarity index 100% rename from api-routes/freeagents.ts rename to routers/freeagents.ts diff --git a/api-routes/plus.ts b/routers/plus.ts similarity index 100% rename from api-routes/plus.ts rename to routers/plus.ts