chore(codegen): updated spec

This commit is contained in:
TotallyNot 2025-04-27 10:59:54 +02:00
parent 4b52c37774
commit c5651efbb0
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
3 changed files with 16 additions and 7 deletions

2
Cargo.lock generated
View file

@ -2290,7 +2290,7 @@ dependencies = [
[[package]]
name = "torn-api-codegen"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"heck",
"indexmap",

View file

@ -1,7 +1,7 @@
[package]
name = "torn-api-codegen"
authors = ["Pyrit [2111649]"]
version = "0.1.1"
version = "0.1.2"
edition = "2024"
description = "Contains the v2 torn API model descriptions and codegen for the bindings"
license-file = { workspace = true }

View file

@ -8774,7 +8774,9 @@
"attacksrunaway",
"highestterritories",
"territoryrespect",
"membersamount"
"membersamount",
"factionage",
"upgradesamount"
]
},
"FactionBranchStateEnum": {
@ -15325,7 +15327,7 @@
"calendar",
"crimes",
"education",
"factionHof",
"factionhof",
"factiontree",
"hof",
"itemammo",
@ -19336,7 +19338,7 @@
"properties": {
"value": {
"type": "integer",
"format": "int32"
"format": "int64"
},
"rank": {
"type": "integer",
@ -19355,8 +19357,15 @@
"type": "string"
},
"rank": {
"type": "integer",
"oneOf": [
{
"type": "number",
"format": "int32"
},
{
"type": "null"
}
]
}
},
"type": "object"