You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 05:46:58 +02:00
chore(server): remove unusuned endpoint/service/interface in asset-v1 (#9086)
This commit is contained in:
@ -252,20 +252,6 @@ export type AssetBulkUploadCheckResult = {
|
||||
export type AssetBulkUploadCheckResponseDto = {
|
||||
results: AssetBulkUploadCheckResult[];
|
||||
};
|
||||
export type CuratedLocationsResponseDto = {
|
||||
city: string;
|
||||
deviceAssetId: string;
|
||||
deviceId: string;
|
||||
id: string;
|
||||
resizePath: string;
|
||||
};
|
||||
export type CuratedObjectsResponseDto = {
|
||||
deviceAssetId: string;
|
||||
deviceId: string;
|
||||
id: string;
|
||||
"object": string;
|
||||
resizePath: string;
|
||||
};
|
||||
export type CheckExistingAssetsDto = {
|
||||
deviceAssetIds: string[];
|
||||
deviceId: string;
|
||||
@ -1363,22 +1349,6 @@ export function checkBulkUpload({ assetBulkUploadCheckDto }: {
|
||||
body: assetBulkUploadCheckDto
|
||||
})));
|
||||
}
|
||||
export function getCuratedLocations(opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: CuratedLocationsResponseDto[];
|
||||
}>("/asset/curated-locations", {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
export function getCuratedObjects(opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: CuratedObjectsResponseDto[];
|
||||
}>("/asset/curated-objects", {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
/**
|
||||
* Get all asset of a device that are in the database, ID only.
|
||||
*/
|
||||
@ -1479,14 +1449,6 @@ export function getRandom({ count }: {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
export function getAssetSearchTerms(opts?: Oazapfts.RequestOpts) {
|
||||
return oazapfts.ok(oazapfts.fetchJson<{
|
||||
status: 200;
|
||||
data: string[];
|
||||
}>("/asset/search-terms", {
|
||||
...opts
|
||||
}));
|
||||
}
|
||||
export function updateStackParent({ updateStackParentDto }: {
|
||||
updateStackParentDto: UpdateStackParentDto;
|
||||
}, opts?: Oazapfts.RequestOpts) {
|
||||
|
Reference in New Issue
Block a user