@tsukilabs/nil-bindings 0.6.6 → 0.6.8

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.8";
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 { WorldId } from './WorldId';
6
+ export type CheatGetCitiesRequest = {
7
+ world: WorldId;
8
+ coords: Array<Coord>;
9
+ score: boolean;
10
+ all: boolean;
11
+ };
@@ -0,0 +1,5 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { CheatGetCityResponse } from './CheatGetCityResponse';
5
+ export type CheatGetCitiesResponse = Array<CheatGetCityResponse>;
@@ -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 CheatGetCityRequest = {
7
+ world: WorldId;
8
+ coord: Coord;
9
+ score: boolean;
10
+ };
@@ -0,0 +1,9 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { City } from './City';
5
+ import { Score } from './Score';
6
+ export type CheatGetCityResponse = {
7
+ city: City;
8
+ score: Score | null;
9
+ };
@@ -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,11 @@
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
+ all: boolean;
11
+ };
@@ -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
+ };
@@ -65,6 +65,10 @@ export type { CheatGetAllStableRecruitQueuesRequest } from './CheatGetAllStableR
65
65
  export type { CheatGetAllStableRecruitQueuesResponse } from './CheatGetAllStableRecruitQueuesResponse';
66
66
  export type { CheatGetBuildStepsRequest } from './CheatGetBuildStepsRequest';
67
67
  export type { CheatGetBuildStepsResponse } from './CheatGetBuildStepsResponse';
68
+ export type { CheatGetCitiesRequest } from './CheatGetCitiesRequest';
69
+ export type { CheatGetCitiesResponse } from './CheatGetCitiesResponse';
70
+ export type { CheatGetCityRequest } from './CheatGetCityRequest';
71
+ export type { CheatGetCityResponse } from './CheatGetCityResponse';
68
72
  export type { CheatGetEthicsRequest } from './CheatGetEthicsRequest';
69
73
  export type { CheatGetEthicsResponse } from './CheatGetEthicsResponse';
70
74
  export type { CheatGetIdleArmiesAtRequest } from './CheatGetIdleArmiesAtRequest';
@@ -112,6 +116,7 @@ export type { CheatSetWoodRequest } from './CheatSetWoodRequest';
112
116
  export type { CheatSkipRoundRequest } from './CheatSkipRoundRequest';
113
117
  export type { CheatSpawnBotRequest } from './CheatSpawnBotRequest';
114
118
  export type { CheatSpawnBotResponse } from './CheatSpawnBotResponse';
119
+ export type { CheatSpawnCityRequest } from './CheatSpawnCityRequest';
115
120
  export type { CheatSpawnPersonnelRequest } from './CheatSpawnPersonnelRequest';
116
121
  export type { City } from './City';
117
122
  export type { CityName } from './CityName';
@@ -144,6 +149,8 @@ export type { GetBotCoordsRequest } from './GetBotCoordsRequest';
144
149
  export type { GetBotCoordsResponse } from './GetBotCoordsResponse';
145
150
  export type { GetChatHistoryRequest } from './GetChatHistoryRequest';
146
151
  export type { GetChatHistoryResponse } from './GetChatHistoryResponse';
152
+ export type { GetCitiesRequest } from './GetCitiesRequest';
153
+ export type { GetCitiesResponse } from './GetCitiesResponse';
147
154
  export type { GetCityRequest } from './GetCityRequest';
148
155
  export type { GetCityResponse } from './GetCityResponse';
149
156
  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.8",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.11.0",
6
6
  "license": "AGPL-3.0-only",