@tlecommunity/api-spec 1.6.9 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/spec.json +80 -42
- package/package.json +1 -1
package/build/spec.json
CHANGED
|
@@ -161056,54 +161056,41 @@
|
|
|
161056
161056
|
"description": "The bodies known to the empire, grouped by relationship.",
|
|
161057
161057
|
"properties": {
|
|
161058
161058
|
"colonies": {
|
|
161059
|
-
"
|
|
161060
|
-
|
|
161061
|
-
|
|
161059
|
+
"$ref": "#/components/schemas/bodies_list"
|
|
161060
|
+
},
|
|
161061
|
+
"mystations": {
|
|
161062
|
+
"$ref": "#/components/schemas/bodies_list"
|
|
161063
|
+
},
|
|
161064
|
+
"ourstations": {
|
|
161065
|
+
"$ref": "#/components/schemas/bodies_list"
|
|
161066
|
+
},
|
|
161067
|
+
"babies": {
|
|
161068
|
+
"type": "object",
|
|
161069
|
+
"description": "Empires that can be managed by this empire, keyed by id",
|
|
161070
|
+
"additionalProperties": {
|
|
161062
161071
|
"type": "object",
|
|
161072
|
+
"required": [
|
|
161073
|
+
"id",
|
|
161074
|
+
"planets",
|
|
161075
|
+
"sitter_expiry"
|
|
161076
|
+
],
|
|
161063
161077
|
"properties": {
|
|
161064
|
-
"empire_name": {
|
|
161065
|
-
"type": "string"
|
|
161066
|
-
},
|
|
161067
|
-
"x": {
|
|
161068
|
-
"type": "integer"
|
|
161069
|
-
},
|
|
161070
|
-
"name": {
|
|
161071
|
-
"type": "string"
|
|
161072
|
-
},
|
|
161073
|
-
"empire_id": {
|
|
161074
|
-
"type": "integer"
|
|
161075
|
-
},
|
|
161076
|
-
"star_id": {
|
|
161077
|
-
"type": "integer"
|
|
161078
|
-
},
|
|
161079
|
-
"star_name": {
|
|
161080
|
-
"type": "string"
|
|
161081
|
-
},
|
|
161082
|
-
"y": {
|
|
161083
|
-
"type": "integer"
|
|
161084
|
-
},
|
|
161085
161078
|
"id": {
|
|
161086
|
-
"type": "
|
|
161079
|
+
"type": "number",
|
|
161080
|
+
"description": "The id of the baby empire"
|
|
161087
161081
|
},
|
|
161088
|
-
"
|
|
161089
|
-
"type": "
|
|
161082
|
+
"alliance_id": {
|
|
161083
|
+
"type": "number",
|
|
161084
|
+
"description": "The id of the alliance the baby empire is a member of"
|
|
161090
161085
|
},
|
|
161091
|
-
"
|
|
161092
|
-
"type": "string"
|
|
161086
|
+
"sitter_expiry": {
|
|
161087
|
+
"type": "string",
|
|
161088
|
+
"description": "The date whereupon this baby will case to be managed by the empire"
|
|
161089
|
+
},
|
|
161090
|
+
"planets": {
|
|
161091
|
+
"$ref": "#/components/schemas/bodies_list"
|
|
161093
161092
|
}
|
|
161094
|
-
}
|
|
161095
|
-
"required": [
|
|
161096
|
-
"empire_name",
|
|
161097
|
-
"x",
|
|
161098
|
-
"name",
|
|
161099
|
-
"empire_id",
|
|
161100
|
-
"star_id",
|
|
161101
|
-
"star_name",
|
|
161102
|
-
"y",
|
|
161103
|
-
"id",
|
|
161104
|
-
"orbit",
|
|
161105
|
-
"zone"
|
|
161106
|
-
]
|
|
161093
|
+
}
|
|
161107
161094
|
}
|
|
161108
161095
|
}
|
|
161109
161096
|
},
|
|
@@ -161143,6 +161130,57 @@
|
|
|
161143
161130
|
"tech_level"
|
|
161144
161131
|
]
|
|
161145
161132
|
},
|
|
161133
|
+
"bodies_list": {
|
|
161134
|
+
"type": "array",
|
|
161135
|
+
"description": "A list of colonies or stations.",
|
|
161136
|
+
"items": {
|
|
161137
|
+
"type": "object",
|
|
161138
|
+
"properties": {
|
|
161139
|
+
"empire_name": {
|
|
161140
|
+
"type": "string"
|
|
161141
|
+
},
|
|
161142
|
+
"x": {
|
|
161143
|
+
"type": "integer"
|
|
161144
|
+
},
|
|
161145
|
+
"name": {
|
|
161146
|
+
"type": "string"
|
|
161147
|
+
},
|
|
161148
|
+
"empire_id": {
|
|
161149
|
+
"type": "integer"
|
|
161150
|
+
},
|
|
161151
|
+
"star_id": {
|
|
161152
|
+
"type": "integer"
|
|
161153
|
+
},
|
|
161154
|
+
"star_name": {
|
|
161155
|
+
"type": "string"
|
|
161156
|
+
},
|
|
161157
|
+
"y": {
|
|
161158
|
+
"type": "integer"
|
|
161159
|
+
},
|
|
161160
|
+
"id": {
|
|
161161
|
+
"type": "integer"
|
|
161162
|
+
},
|
|
161163
|
+
"orbit": {
|
|
161164
|
+
"type": "integer"
|
|
161165
|
+
},
|
|
161166
|
+
"zone": {
|
|
161167
|
+
"type": "string"
|
|
161168
|
+
}
|
|
161169
|
+
},
|
|
161170
|
+
"required": [
|
|
161171
|
+
"empire_name",
|
|
161172
|
+
"x",
|
|
161173
|
+
"name",
|
|
161174
|
+
"empire_id",
|
|
161175
|
+
"star_id",
|
|
161176
|
+
"star_name",
|
|
161177
|
+
"y",
|
|
161178
|
+
"id",
|
|
161179
|
+
"orbit",
|
|
161180
|
+
"zone"
|
|
161181
|
+
]
|
|
161182
|
+
}
|
|
161183
|
+
},
|
|
161146
161184
|
"building_cost": {
|
|
161147
161185
|
"type": "object",
|
|
161148
161186
|
"description": "The resource and time cost of a build or upgrade.",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tlecommunity/api-spec",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.10",
|
|
5
5
|
"description": "Open API specification for TLE Community",
|
|
6
6
|
"author": "Natalie Rose <natalie@omg.lol> (https://nataliethistime.com)",
|
|
7
7
|
"license": "GPL-3.0-only",
|