update res props @ admin/show-user

This commit is contained in:
tamaina 2024-07-20 23:43:39 +09:00
parent 69bf858bb6
commit 9e958c08ac
1 changed files with 39 additions and 0 deletions

View File

@ -178,10 +178,49 @@ export const meta = {
publicKeys: {
type: 'array',
optional: false, nullable: true,
items: {
type: 'object',
properties: {
userId: {
type: 'string',
optional: false, nullable: false,
},
keyId: {
type: 'string',
optional: false, nullable: false,
},
keyPem: {
type: 'string',
optional: false, nullable: false,
},
}
},
},
keyPairs: {
type: 'object',
optional: false, nullable: true,
properties: {
userId: {
type: 'string',
optional: false, nullable: false,
},
publicKey: {
type: 'string',
optional: false, nullable: false,
},
privateKey: {
type: 'string',
optional: false, nullable: false,
},
ed25519PublicKey: {
type: 'string',
optional: false, nullable: true,
},
ed25519PrivateKey: {
type: 'string',
optional: false, nullable: true,
},
}
},
},
},