chore: prettier format pass on branch files
Auto-format all files modified during the documents-hub-split feature branch that were not yet aligned with the project's Prettier config (single quotes, semicolons, trailing commas). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,11 +3,7 @@ import { NextResponse } from 'next/server';
|
||||
import { withAuth, withPermission } from '@/lib/api/helpers';
|
||||
import { parseBody } from '@/lib/api/route-helpers';
|
||||
import { errorResponse } from '@/lib/errors';
|
||||
import {
|
||||
getTemplateById,
|
||||
updateTemplate,
|
||||
deleteTemplate,
|
||||
} from '@/lib/services/document-templates';
|
||||
import { getTemplateById, updateTemplate, deleteTemplate } from '@/lib/services/document-templates';
|
||||
import { updateTemplateSchema } from '@/lib/validators/document-templates';
|
||||
|
||||
export const GET = withAuth(
|
||||
|
||||
@@ -3,14 +3,8 @@ import { NextResponse } from 'next/server';
|
||||
import { withAuth, withPermission } from '@/lib/api/helpers';
|
||||
import { parseQuery, parseBody } from '@/lib/api/route-helpers';
|
||||
import { errorResponse } from '@/lib/errors';
|
||||
import {
|
||||
listTemplates,
|
||||
createTemplate,
|
||||
} from '@/lib/services/document-templates';
|
||||
import {
|
||||
listTemplatesSchema,
|
||||
createTemplateSchema,
|
||||
} from '@/lib/validators/document-templates';
|
||||
import { listTemplates, createTemplate } from '@/lib/services/document-templates';
|
||||
import { listTemplatesSchema, createTemplateSchema } from '@/lib/validators/document-templates';
|
||||
|
||||
export const GET = withAuth(
|
||||
withPermission('documents', 'view', async (req, ctx) => {
|
||||
|
||||
Reference in New Issue
Block a user