mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 23:37:48 +01:00
some cleanup, split backend and frontend
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { IPhotoReqJSON } from "../../../../src/entity/Photo";
|
||||
import { IPhotoReqJSON } from "~/src/shared/types";
|
||||
import {
|
||||
IPhotosByIDGetRespBody,
|
||||
IPhotosDeleteRespBody,
|
||||
IPhotosListRespBody,
|
||||
IPhotosNewRespBody,
|
||||
IPhotosUploadRespBody,
|
||||
} from "../../../../src/routes/photos";
|
||||
import { apiRoot } from "../../env";
|
||||
} from "~/src/shared/types";
|
||||
import { apiRoot } from "~src/env";
|
||||
import { fetchJSONAuth } from "./utils";
|
||||
|
||||
export function getPhotoImgPath(photo: IPhotoReqJSON): string {
|
||||
|
||||
Reference in New Issue
Block a user