@tsukilabs/nil-bindings 0.6.6 → 0.6.7

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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.6.6";
2
+ var version = "0.6.7";
3
3
  //#endregion
4
4
  //#region src/env_Var.ts
5
5
  var env_Var = /* @__PURE__ */ function(env_Var) {
@@ -0,0 +1,11 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { Coord } from './Coord';
5
+ import { Ruler } from './Ruler';
6
+ import { WorldId } from './WorldId';
7
+ export type CheatSpawnCityRequest = {
8
+ world: WorldId;
9
+ ruler: Ruler | null;
10
+ coord: Coord;
11
+ };
@@ -0,0 +1,10 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { Coord } from './Coord';
5
+ import { WorldId } from './WorldId';
6
+ export type GetCitiesRequest = {
7
+ world: WorldId;
8
+ coords: Array<Coord>;
9
+ score: boolean;
10
+ };
@@ -0,0 +1,5 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { GetCityResponse } from './GetCityResponse';
5
+ export type GetCitiesResponse = Array<GetCityResponse>;
@@ -6,4 +6,5 @@ import { WorldId } from './WorldId';
6
6
  export type GetCityRequest = {
7
7
  world: WorldId;
8
8
  coord: Coord;
9
+ score: boolean;
9
10
  };
@@ -2,4 +2,8 @@
2
2
  //! SPDX-License-Identifier: AGPL-3.0-only
3
3
 
4
4
  import { City } from './City';
5
- export type GetCityResponse = City;
5
+ import { Score } from './Score';
6
+ export type GetCityResponse = {
7
+ city: City;
8
+ score: Score | null;
9
+ };
@@ -112,6 +112,7 @@ export type { CheatSetWoodRequest } from './CheatSetWoodRequest';
112
112
  export type { CheatSkipRoundRequest } from './CheatSkipRoundRequest';
113
113
  export type { CheatSpawnBotRequest } from './CheatSpawnBotRequest';
114
114
  export type { CheatSpawnBotResponse } from './CheatSpawnBotResponse';
115
+ export type { CheatSpawnCityRequest } from './CheatSpawnCityRequest';
115
116
  export type { CheatSpawnPersonnelRequest } from './CheatSpawnPersonnelRequest';
116
117
  export type { City } from './City';
117
118
  export type { CityName } from './CityName';
@@ -144,6 +145,8 @@ export type { GetBotCoordsRequest } from './GetBotCoordsRequest';
144
145
  export type { GetBotCoordsResponse } from './GetBotCoordsResponse';
145
146
  export type { GetChatHistoryRequest } from './GetChatHistoryRequest';
146
147
  export type { GetChatHistoryResponse } from './GetChatHistoryResponse';
148
+ export type { GetCitiesRequest } from './GetCitiesRequest';
149
+ export type { GetCitiesResponse } from './GetCitiesResponse';
147
150
  export type { GetCityRequest } from './GetCityRequest';
148
151
  export type { GetCityResponse } from './GetCityResponse';
149
152
  export type { GetCityScoreRequest } from './GetCityScoreRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsukilabs/nil-bindings",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.11.0",
6
6
  "license": "AGPL-3.0-only",