@tsukilabs/nil-bindings 0.6.3 → 0.6.4

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.3";
2
+ var version = "0.6.4";
3
3
  //#endregion
4
4
  //#region src/env_Var.ts
5
5
  var env_Var = /* @__PURE__ */ function(env_Var) {
@@ -0,0 +1,7 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { WorldId } from './WorldId';
5
+ export type GetArmiesRequest = {
6
+ world: WorldId;
7
+ };
@@ -0,0 +1,6 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { Army } from './Army';
5
+ import { Coord } from './Coord';
6
+ export type GetArmiesResponse = Array<[Coord, Army]>;
@@ -0,0 +1,9 @@
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 GetIdleArmiesAtRequest = {
7
+ world: WorldId;
8
+ coord: Coord;
9
+ };
@@ -0,0 +1,5 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { Army } from './Army';
5
+ export type GetIdleArmiesAtResponse = Array<Army>;
@@ -0,0 +1,7 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { WorldId } from './WorldId';
5
+ export type GetIdleArmiesCoordsRequest = {
6
+ world: WorldId;
7
+ };
@@ -0,0 +1,5 @@
1
+ //! Copyright (C) Call of Nil contributors
2
+ //! SPDX-License-Identifier: AGPL-3.0-only
3
+
4
+ import { Coord } from './Coord';
5
+ export type GetIdleArmiesCoordsResponse = Array<Coord>;
@@ -4,8 +4,10 @@
4
4
  import { ArmyPersonnel } from './ArmyPersonnel';
5
5
  import { Coord } from './Coord';
6
6
  import { ManeuverKind } from './ManeuverKind';
7
+ import { Ruler } from './Ruler';
7
8
  export type ManeuverRequest = {
8
9
  kind: ManeuverKind;
10
+ ruler: Ruler;
9
11
  origin: Coord;
10
12
  destination: Coord;
11
13
  personnel: ArmyPersonnel;
@@ -134,6 +134,8 @@ export type { Food } from './Food';
134
134
  export type { ForwardReportRequest } from './ForwardReportRequest';
135
135
  export type { GetAcademyRecruitCatalogRequest } from './GetAcademyRecruitCatalogRequest';
136
136
  export type { GetAcademyRecruitCatalogResponse } from './GetAcademyRecruitCatalogResponse';
137
+ export type { GetArmiesRequest } from './GetArmiesRequest';
138
+ export type { GetArmiesResponse } from './GetArmiesResponse';
137
139
  export type { GetArmyOwnerRequest } from './GetArmyOwnerRequest';
138
140
  export type { GetArmyOwnerResponse } from './GetArmyOwnerResponse';
139
141
  export type { GetArmyRequest } from './GetArmyRequest';
@@ -148,6 +150,10 @@ export type { GetCityScoreRequest } from './GetCityScoreRequest';
148
150
  export type { GetCityScoreResponse } from './GetCityScoreResponse';
149
151
  export type { GetContinentSizeRequest } from './GetContinentSizeRequest';
150
152
  export type { GetContinentSizeResponse } from './GetContinentSizeResponse';
153
+ export type { GetIdleArmiesAtRequest } from './GetIdleArmiesAtRequest';
154
+ export type { GetIdleArmiesAtResponse } from './GetIdleArmiesAtResponse';
155
+ export type { GetIdleArmiesCoordsRequest } from './GetIdleArmiesCoordsRequest';
156
+ export type { GetIdleArmiesCoordsResponse } from './GetIdleArmiesCoordsResponse';
151
157
  export type { GetManeuverRequest } from './GetManeuverRequest';
152
158
  export type { GetManeuverResponse } from './GetManeuverResponse';
153
159
  export type { GetPlayerCoordsRequest } from './GetPlayerCoordsRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsukilabs/nil-bindings",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.11.0",
6
6
  "license": "AGPL-3.0-only",