diff --git a/modules/hudozka-api/src/controllers/file.ts b/modules/hudozka-api/src/controllers/file.ts index 03928524..503574a8 100644 --- a/modules/hudozka-api/src/controllers/file.ts +++ b/modules/hudozka-api/src/controllers/file.ts @@ -1,6 +1,6 @@ import { Request, Response } from 'express' import Document from '../core/Document' -import { encodeFile } from '../factory/files' +import { encodeFile } from '../factory/file' export async function getItem(req: Request, res: Response) { const id = req.params.slug diff --git a/modules/hudozka-api/src/controllers/person.ts b/modules/hudozka-api/src/controllers/person.ts index e3dd429a..605947df 100644 --- a/modules/hudozka-api/src/controllers/person.ts +++ b/modules/hudozka-api/src/controllers/person.ts @@ -1,5 +1,5 @@ import Teacher from '../core/Teacher' -import { encodePerson } from '../factory/persons' +import { encodePerson } from '../factory/person' import { Request, Response } from 'express' import { prioritySort } from '../lib/sort' diff --git a/modules/hudozka-api/src/factory/files.js b/modules/hudozka-api/src/factory/file.ts similarity index 100% rename from modules/hudozka-api/src/factory/files.js rename to modules/hudozka-api/src/factory/file.ts diff --git a/modules/hudozka-api/src/factory/image.js b/modules/hudozka-api/src/factory/image.ts similarity index 100% rename from modules/hudozka-api/src/factory/image.js rename to modules/hudozka-api/src/factory/image.ts diff --git a/modules/hudozka-api/src/factory/page.js b/modules/hudozka-api/src/factory/page.ts similarity index 100% rename from modules/hudozka-api/src/factory/page.js rename to modules/hudozka-api/src/factory/page.ts diff --git a/modules/hudozka-api/src/factory/persons.js b/modules/hudozka-api/src/factory/person.ts similarity index 100% rename from modules/hudozka-api/src/factory/persons.js rename to modules/hudozka-api/src/factory/person.ts