mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: pick a version in controller
This commit is contained in:
@@ -367,11 +367,11 @@
|
|||||||
"x-immich-admin-only": true,
|
"x-immich-admin-only": true,
|
||||||
"x-immich-history": [
|
"x-immich-history": [
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Added"
|
"state": "Added"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Alpha"
|
"state": "Alpha"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -417,11 +417,11 @@
|
|||||||
"x-immich-admin-only": true,
|
"x-immich-admin-only": true,
|
||||||
"x-immich-history": [
|
"x-immich-history": [
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Added"
|
"state": "Added"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Alpha"
|
"state": "Alpha"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -475,11 +475,11 @@
|
|||||||
"x-immich-admin-only": true,
|
"x-immich-admin-only": true,
|
||||||
"x-immich-history": [
|
"x-immich-history": [
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Added"
|
"state": "Added"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Alpha"
|
"state": "Alpha"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -532,11 +532,11 @@
|
|||||||
"x-immich-admin-only": true,
|
"x-immich-admin-only": true,
|
||||||
"x-immich-history": [
|
"x-immich-history": [
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Added"
|
"state": "Added"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Alpha"
|
"state": "Alpha"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -579,11 +579,11 @@
|
|||||||
"x-immich-admin-only": true,
|
"x-immich-admin-only": true,
|
||||||
"x-immich-history": [
|
"x-immich-history": [
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Added"
|
"state": "Added"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v9.9.9",
|
"version": "v2.6.0",
|
||||||
"state": "Alpha"
|
"state": "Alpha"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export class IntegrityController {
|
|||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'Get integrity report summary',
|
summary: 'Get integrity report summary',
|
||||||
description: 'Get a count of the items flagged in each integrity report',
|
description: 'Get a count of the items flagged in each integrity report',
|
||||||
history: new HistoryBuilder().added('v9.9.9').alpha('v9.9.9'),
|
history: new HistoryBuilder().added('v2.6.0').alpha('v2.6.0'),
|
||||||
})
|
})
|
||||||
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
||||||
getIntegrityReportSummary(): Promise<IntegrityReportSummaryResponseDto> {
|
getIntegrityReportSummary(): Promise<IntegrityReportSummaryResponseDto> {
|
||||||
@@ -39,7 +39,7 @@ export class IntegrityController {
|
|||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'Get integrity report by type',
|
summary: 'Get integrity report by type',
|
||||||
description: 'Get all flagged items by integrity report type',
|
description: 'Get all flagged items by integrity report type',
|
||||||
history: new HistoryBuilder().added('v9.9.9').alpha('v9.9.9'),
|
history: new HistoryBuilder().added('v2.6.0').alpha('v2.6.0'),
|
||||||
})
|
})
|
||||||
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
||||||
getIntegrityReport(@Body() dto: IntegrityGetReportDto): Promise<IntegrityReportResponseDto> {
|
getIntegrityReport(@Body() dto: IntegrityGetReportDto): Promise<IntegrityReportResponseDto> {
|
||||||
@@ -50,7 +50,7 @@ export class IntegrityController {
|
|||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'Delete integrity report item',
|
summary: 'Delete integrity report item',
|
||||||
description: 'Delete a given report item and perform corresponding deletion (e.g. trash asset, delete file)',
|
description: 'Delete a given report item and perform corresponding deletion (e.g. trash asset, delete file)',
|
||||||
history: new HistoryBuilder().added('v9.9.9').alpha('v9.9.9'),
|
history: new HistoryBuilder().added('v2.6.0').alpha('v2.6.0'),
|
||||||
})
|
})
|
||||||
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
||||||
async deleteIntegrityReport(@Auth() auth: AuthDto, @Param() { id }: UUIDv7ParamDto): Promise<void> {
|
async deleteIntegrityReport(@Auth() auth: AuthDto, @Param() { id }: UUIDv7ParamDto): Promise<void> {
|
||||||
@@ -61,7 +61,7 @@ export class IntegrityController {
|
|||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'Export integrity report by type as CSV',
|
summary: 'Export integrity report by type as CSV',
|
||||||
description: 'Get all integrity report entries for a given type as a CSV',
|
description: 'Get all integrity report entries for a given type as a CSV',
|
||||||
history: new HistoryBuilder().added('v9.9.9').alpha('v9.9.9'),
|
history: new HistoryBuilder().added('v2.6.0').alpha('v2.6.0'),
|
||||||
})
|
})
|
||||||
@FileResponse()
|
@FileResponse()
|
||||||
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
||||||
@@ -77,7 +77,7 @@ export class IntegrityController {
|
|||||||
@Endpoint({
|
@Endpoint({
|
||||||
summary: 'Download flagged file',
|
summary: 'Download flagged file',
|
||||||
description: 'Download the untracked/broken file if one exists',
|
description: 'Download the untracked/broken file if one exists',
|
||||||
history: new HistoryBuilder().added('v9.9.9').alpha('v9.9.9'),
|
history: new HistoryBuilder().added('v2.6.0').alpha('v2.6.0'),
|
||||||
})
|
})
|
||||||
@FileResponse()
|
@FileResponse()
|
||||||
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
@Authenticated({ permission: Permission.Maintenance, admin: true })
|
||||||
|
|||||||
Reference in New Issue
Block a user