chore: Update api service type directories to maintain consistency

This commit is contained in:
Aaron William Po
2023-07-07 23:23:04 -04:00
parent ee47f99f8a
commit 5292c47a2a
69 changed files with 99 additions and 99 deletions

View File

@@ -4,14 +4,14 @@ import React from 'react';
import withPageAuthRequired from '@/util/withPageAuthRequired';
import getBeerPostById from '@/services/BeerPost/getBeerPostById';
import beerPostQueryResult from '@/services/BeerPost/schema/BeerPostQueryResult';
import BeerPostQueryResult from '@/services/BeerPost/schema/BeerPostQueryResult';
import EditBeerPostForm from '@/components/EditBeerPostForm';
import FormPageLayout from '@/components/ui/forms/FormPageLayout';
import { BiBeer } from 'react-icons/bi';
import { z } from 'zod';
interface EditPageProps {
beerPost: z.infer<typeof beerPostQueryResult>;
beerPost: z.infer<typeof BeerPostQueryResult>;
}
const EditBeerPostPage: NextPage<EditPageProps> = ({ beerPost }) => {

View File

@@ -4,7 +4,7 @@ import Image from 'next/image';
import getBeerPostById from '@/services/BeerPost/getBeerPostById';
import beerPostQueryResult from '@/services/BeerPost/schema/BeerPostQueryResult';
import BeerPostQueryResult from '@/services/BeerPost/schema/BeerPostQueryResult';
import { z } from 'zod';
@@ -21,7 +21,7 @@ const [BeerInfoHeader, BeerPostCommentsSection, BeerRecommendations] = [
];
interface BeerPageProps {
beerPost: z.infer<typeof beerPostQueryResult>;
beerPost: z.infer<typeof BeerPostQueryResult>;
}
const BeerByIdPage: NextPage<BeerPageProps> = ({ beerPost }) => {