feat: add update server ip

This commit is contained in:
Krzysztof Durek
2024-11-17 18:18:00 +01:00
parent 82fc9897d2
commit 74374bd643
9 changed files with 168 additions and 20 deletions

View File

@@ -53,6 +53,8 @@ const createSchema = createInsertSchema(admins, {
letsEncryptEmail: z.string().optional(),
});
export const apiUpdateAdmin = createSchema.partial();
export const apiSaveSSHKey = createSchema
.pick({
sshPrivateKey: true,