Skip to content

Commit

Permalink
refactor(CMS): Allow locations of level 0
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Nov 13, 2024
1 parent c559040 commit 03c2c96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cms/src/api/location/content-types/location/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"level": {
"type": "integer",
"required": true,
"min": 1,
"min": 0,
"max": 3
},
"code": {
Expand Down
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": "2024-11-13T16:21:06.223Z"
"x-generation-date": "2024-11-13T16:30:05.905Z"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
2 changes: 1 addition & 1 deletion cms/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ export interface ApiLocationLocation extends Schema.CollectionType {
Attribute.Required &
Attribute.SetMinMax<
{
min: 1;
min: 0;
max: 3;
},
number
Expand Down

0 comments on commit 03c2c96

Please sign in to comment.