store: Update imageBuilder API

This commit is contained in:
regexowl 2025-04-10 10:24:44 +02:00 committed by Sanne Raymaekers
parent 22925f5005
commit 01d0eba70e
2 changed files with 7 additions and 0 deletions

View file

@ -2013,6 +2013,10 @@ components:
Plaintext passwords are also supported, they will be hashed and stored using the SHA-512 algorithm.
The password is never returned in the response.
Empty string can be used to remove the password during update but only with ssh_key set.
hasPassword:
type: boolean
description: |
Indicates whether the user has a password set.
Filesystem:
type: object
required:

View file

@ -654,6 +654,9 @@ export type User = {
Empty string can be used to remove the password during update but only with ssh_key set.
*/
password?: string | undefined;
/** Indicates whether the user has a password set.
*/
hasPassword?: boolean | undefined;
};
export type Services = {
/** List of services to enable by default */