mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: toggle auto remount
This commit is contained in:
@@ -139,19 +139,15 @@ export const getVolumeDto = describeRoute({
|
||||
* Update a volume
|
||||
*/
|
||||
export const updateVolumeBody = type({
|
||||
config: volumeConfigSchema,
|
||||
autoRemount: "boolean?",
|
||||
config: volumeConfigSchema.optional(),
|
||||
});
|
||||
|
||||
export type UpdateVolumeBody = typeof updateVolumeBody.infer;
|
||||
|
||||
export const updateVolumeResponse = type({
|
||||
message: "string",
|
||||
volume: type({
|
||||
name: "string",
|
||||
path: "string",
|
||||
type: "string",
|
||||
createdAt: "number",
|
||||
updatedAt: "number",
|
||||
config: volumeConfigSchema,
|
||||
}),
|
||||
volume: volumeSchema,
|
||||
});
|
||||
|
||||
export const updateVolumeDto = describeRoute({
|
||||
@@ -174,6 +170,8 @@ export const updateVolumeDto = describeRoute({
|
||||
},
|
||||
});
|
||||
|
||||
export type UpdateVolumeResponseDto = typeof updateVolumeResponse.infer;
|
||||
|
||||
/**
|
||||
* Test connection
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user