Update casing for services and controllers directories.

This commit is contained in:
Aaron William Po
2023-12-10 18:15:35 -05:00
parent fd641c36ab
commit 8b0d182cb3
184 changed files with 195 additions and 190 deletions

View File

@@ -1,13 +1,13 @@
import ServerError from '@/config/util/ServerError';
import DBClient from '@/prisma/DBClient';
import editBeerCommentById from '@/services/comments/BeerComment/editBeerCommentById';
import findBeerCommentById from '@/services/comments/BeerComment/findBeerCommentById';
import editBeerCommentById from '@/services/comments/beer-comment/editBeerCommentById';
import findBeerCommentById from '@/services/comments/beer-comment/findBeerCommentById';
import APIResponseValidationSchema from '@/validation/APIResponseValidationSchema';
import { NextApiResponse } from 'next';
import { NextHandler } from 'next-connect';
import { z } from 'zod';
import createNewBeerComment from '@/services/comments/BeerComment/createNewBeerComment';
import getAllBeerComments from '@/services/comments/BeerComment/getAllBeerComments';
import createNewBeerComment from '@/services/comments/beer-comment/createNewBeerComment';
import getAllBeerComments from '@/services/comments/beer-comment/getAllBeerComments';
import {
CommentRequest,
EditAndCreateCommentRequest,

View File

@@ -1,14 +1,14 @@
import ServerError from '@/config/util/ServerError';
import DBClient from '@/prisma/DBClient';
import updateBeerStyleCommentById from '@/services/comments/BeerStyleComment/updateBeerStyleCommentById';
import updateBeerStyleCommentById from '@/services/comments/beer-style-comment/updateBeerStyleCommentById';
import APIResponseValidationSchema from '@/validation/APIResponseValidationSchema';
import { NextApiResponse } from 'next';
import { NextHandler } from 'next-connect';
import { z } from 'zod';
import CommentQueryResult from '@/services/schema/CommentSchema/CommentQueryResult';
import createNewBeerStyleComment from '@/services/comments/BeerStyleComment/createNewBeerStyleComment';
import getAllBeerStyleComments from '@/services/comments/BeerStyleComment/getAllBeerStyleComments';
import createNewBeerStyleComment from '@/services/comments/beer-style-comment/createNewBeerStyleComment';
import getAllBeerStyleComments from '@/services/comments/beer-style-comment/getAllBeerStyleComments';
import {
CommentRequest,

View File

@@ -1,13 +1,13 @@
import ServerError from '@/config/util/ServerError';
import DBClient from '@/prisma/DBClient';
import getBreweryCommentById from '@/services/comments/BreweryComment/getBreweryCommentById';
import getBreweryCommentById from '@/services/comments/brewery-comment/getBreweryCommentById';
import APIResponseValidationSchema from '@/validation/APIResponseValidationSchema';
import { NextApiResponse } from 'next';
import { NextHandler } from 'next-connect';
import { z } from 'zod';
import CommentQueryResult from '@/services/schema/CommentSchema/CommentQueryResult';
import createNewBreweryComment from '@/services/comments/BreweryComment/createNewBreweryComment';
import getAllBreweryComments from '@/services/comments/BreweryComment/getAllBreweryComments';
import createNewBreweryComment from '@/services/comments/brewery-comment/createNewBreweryComment';
import getAllBreweryComments from '@/services/comments/brewery-comment/getAllBreweryComments';
import {
CommentRequest,
EditAndCreateCommentRequest,