Skip to content

Commit

Permalink
Move 'ansible' field under 'configuration' in Device model.
Browse files Browse the repository at this point in the history
The 'ansible' field was relocated from 'capabilities' to 'configuration' for better logical grouping. This improves model organization and aligns related properties more intuitively.
  • Loading branch information
SquirrelDevelopper committed Feb 23, 2025
1 parent 15919cd commit 45dab35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/src/data/database/model/Device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,6 @@ const schema = new Schema<Device>(
default: uuidv4,
},
capabilities: {
ansible: {
ansiblePythonInterpreter: {
type: Schema.Types.String,
required: false,
},
},
containers: {
docker: {
enabled: {
Expand All @@ -397,6 +391,12 @@ const schema = new Schema<Device>(
},
},
configuration: {
ansible: {
ansiblePythonInterpreter: {
type: Schema.Types.String,
required: false,
},
},
containers: {
proxmox: {
watchContainersCron: {
Expand Down

0 comments on commit 45dab35

Please sign in to comment.