feat(mappings): rework interface

This commit is contained in:
2026-06-03 19:54:20 +02:00
parent 2b389ac66b
commit dfe8c8c322
6 changed files with 59 additions and 31 deletions
+4 -3
View File
@@ -41,9 +41,10 @@ export const userResponse = {
id: { type: 'string', format: 'uuid' },
email: { type: 'string', format: 'email' },
name: { type: 'string' },
account_type: { type: 'string', enum: ['user', 'system', 'service'] },
is_active: { type: 'boolean' },
created_at: { type: 'string', format: 'date-time' },
account_type: { type: 'string', enum: ['user', 'system', 'service'] },
is_active: { type: 'boolean' },
needs_placement: { type: 'boolean' },
created_at: { type: 'string', format: 'date-time' },
roles: {
type: 'array',
items: {