Skip to content

Commit

Permalink
Add colocation flags to solver and solver-network
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Feb 4, 2025
1 parent 0521af6 commit be7a503
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"isVouched": {
"type": "boolean",
"default": false
},
"isColocated": {
"type": "boolean",
"default": false,
"required": true
}
}
}
10 changes: 10 additions & 0 deletions src/api/solver/content-types/solver/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@
"type": "boolean",
"required": true,
"default": false
},
"isColocated": {
"type": "enumeration",
"enum": [
"Yes",
"No",
"Partial"
],
"required": true,
"default": "No"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2025-01-31T10:25:10.551Z"
"x-generation-date": "2025-02-04T15:47:10.343Z"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down Expand Up @@ -1077,6 +1077,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -1220,6 +1228,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -7243,6 +7254,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -7315,6 +7329,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -15645,6 +15667,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -15857,6 +15887,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -20707,7 +20740,8 @@
"displayName",
"active",
"solverId",
"isServiceFeeEnabled"
"isServiceFeeEnabled",
"isColocated"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -20770,6 +20804,14 @@
},
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
}
}
}
Expand Down Expand Up @@ -20827,7 +20869,8 @@
"displayName",
"active",
"solverId",
"isServiceFeeEnabled"
"isServiceFeeEnabled",
"isColocated"
],
"properties": {
"displayName": {
Expand Down Expand Up @@ -21851,6 +21894,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -22063,6 +22114,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -22135,6 +22189,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -23216,6 +23278,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -23288,6 +23353,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -23534,7 +23607,8 @@
"properties": {
"data": {
"required": [
"active"
"active",
"isColocated"
],
"type": "object",
"properties": {
Expand Down Expand Up @@ -23585,6 +23659,9 @@
},
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
}
}
}
Expand Down Expand Up @@ -23639,7 +23716,8 @@
"SolverNetwork": {
"type": "object",
"required": [
"active"
"active",
"isColocated"
],
"properties": {
"solver": {
Expand Down Expand Up @@ -24488,6 +24566,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -24716,6 +24797,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -24813,6 +24902,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -27772,6 +27864,14 @@
"isServiceFeeEnabled": {
"type": "boolean"
},
"isColocated": {
"type": "string",
"enum": [
"Yes",
"No",
"Partial"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -27915,6 +28015,9 @@
"isVouched": {
"type": "boolean"
},
"isColocated": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down

0 comments on commit be7a503

Please sign in to comment.