u
This commit is contained in:
@@ -181,4 +181,32 @@ export const vfs = {
|
||||
}
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/vfs/skills/restore
|
||||
* Restores all system default .SKILL files into the company's VFS (overwrites existing files).
|
||||
* Requires no request body. Emits vfs SSE event.
|
||||
* → 200 { success: true, restored: string[], count: number }
|
||||
*/
|
||||
// #region POST /api/vfs/skills/restore — restoreSkills
|
||||
restoreSkills() {
|
||||
return http('/api/vfs/skills/restore', {
|
||||
method: 'POST',
|
||||
});
|
||||
},
|
||||
// #endregion
|
||||
|
||||
/**
|
||||
* POST /api/vfs/applets/restore
|
||||
* Restores all system default .applet.js example applets into the company's VFS (overwrites existing files).
|
||||
* Requires no request body. Emits vfs SSE event.
|
||||
* → 200 { success: true, restored: string[], count: number }
|
||||
*/
|
||||
// #region POST /api/vfs/applets/restore — restoreApplets
|
||||
restoreApplets() {
|
||||
return http('/api/vfs/applets/restore', {
|
||||
method: 'POST',
|
||||
});
|
||||
},
|
||||
// #endregion
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user