refactor: snapshots flat response

This commit is contained in:
Nicolas Meienberger
2025-11-03 21:54:31 +01:00
parent acc5f44565
commit f2643436b0
5 changed files with 19 additions and 17 deletions

View File

@@ -791,15 +791,13 @@ export type ListSnapshotsResponses = {
/**
* List of snapshots
*/
200: {
snapshots: Array<{
duration: number;
paths: Array<string>;
short_id: string;
size: number;
time: number;
}>;
};
200: Array<{
duration: number;
paths: Array<string>;
short_id: string;
size: number;
time: number;
}>;
};
export type ListSnapshotsResponse = ListSnapshotsResponses[keyof ListSnapshotsResponses];