mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
refactor: snapshots flat response
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user