@tsukilabs/nil-bindings 0.5.11 → 0.6.0

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.5.11";
2
+ var version = "0.6.0";
3
3
  //#endregion
4
4
  //#region src/env_Var.ts
5
5
  var env_Var = /* @__PURE__ */ function(env_Var) {
@@ -4,7 +4,7 @@
4
4
  import { ChatMessage } from './ChatMessage';
5
5
  import { Coord } from './Coord';
6
6
  import { PlayerId } from './PlayerId';
7
- import { ReportId } from './ReportId';
7
+ import { ReportKind } from './ReportKind';
8
8
  import { Round } from './Round';
9
9
  import { WorldId } from './WorldId';
10
10
  export type Event = {
@@ -33,7 +33,7 @@ export type Event = {
33
33
  } | {
34
34
  "kind": "report";
35
35
  world: WorldId;
36
- report: ReportId;
36
+ report: ReportKind;
37
37
  } | {
38
38
  "kind": "round-updated";
39
39
  world: WorldId;
@@ -2,10 +2,10 @@
2
2
  //! SPDX-License-Identifier: AGPL-3.0-only
3
3
 
4
4
  import { PlayerId } from './PlayerId';
5
- import { ReportId } from './ReportId';
5
+ import { ReportKind } from './ReportKind';
6
6
  import { WorldId } from './WorldId';
7
7
  export type ForwardReportRequest = {
8
8
  world: WorldId;
9
- id: ReportId;
10
9
  recipient: PlayerId;
10
+ report: ReportKind;
11
11
  };
@@ -151,8 +151,6 @@ export type { GetPlayerMaintenanceRequest } from './GetPlayerMaintenanceRequest'
151
151
  export type { GetPlayerMaintenanceResponse } from './GetPlayerMaintenanceResponse';
152
152
  export type { GetPlayerMilitaryRequest } from './GetPlayerMilitaryRequest';
153
153
  export type { GetPlayerMilitaryResponse } from './GetPlayerMilitaryResponse';
154
- export type { GetPlayerReportsRequest } from './GetPlayerReportsRequest';
155
- export type { GetPlayerReportsResponse } from './GetPlayerReportsResponse';
156
154
  export type { GetPlayerRequest } from './GetPlayerRequest';
157
155
  export type { GetPlayerResponse } from './GetPlayerResponse';
158
156
  export type { GetPlayerStatusRequest } from './GetPlayerStatusRequest';
@@ -194,10 +192,6 @@ export type { GetRemoteWorldLimitResponse } from './GetRemoteWorldLimitResponse'
194
192
  export type { GetRemoteWorldRequest } from './GetRemoteWorldRequest';
195
193
  export type { GetRemoteWorldResponse } from './GetRemoteWorldResponse';
196
194
  export type { GetRemoteWorldsResponse } from './GetRemoteWorldsResponse';
197
- export type { GetReportRequest } from './GetReportRequest';
198
- export type { GetReportResponse } from './GetReportResponse';
199
- export type { GetReportsRequest } from './GetReportsRequest';
200
- export type { GetReportsResponse } from './GetReportsResponse';
201
195
  export type { GetRoundRequest } from './GetRoundRequest';
202
196
  export type { GetRoundResponse } from './GetRoundResponse';
203
197
  export type { GetServerKindResponse } from './GetServerKindResponse';
@@ -271,7 +265,6 @@ export type { Rank } from './Rank';
271
265
  export type { Ranking } from './Ranking';
272
266
  export type { RankingEntry } from './RankingEntry';
273
267
  export type { RemoteWorld } from './RemoteWorld';
274
- export type { RemoveReportRequest } from './RemoveReportRequest';
275
268
  export type { RenameCityRequest } from './RenameCityRequest';
276
269
  export type { ReportId } from './ReportId';
277
270
  export type { ReportKind } from './ReportKind';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsukilabs/nil-bindings",
3
- "version": "0.5.11",
3
+ "version": "0.6.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@11.9.0",
6
6
  "license": "AGPL-3.0-only",
@@ -1,7 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { WorldId } from './WorldId';
5
- export type GetPlayerReportsRequest = {
6
- world: WorldId;
7
- };
@@ -1,5 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportId } from './ReportId';
5
- export type GetPlayerReportsResponse = Array<ReportId>;
@@ -1,9 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportId } from './ReportId';
5
- import { WorldId } from './WorldId';
6
- export type GetReportRequest = {
7
- world: WorldId;
8
- id: ReportId;
9
- };
@@ -1,5 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportKind } from './ReportKind';
5
- export type GetReportResponse = ReportKind;
@@ -1,10 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportId } from './ReportId';
5
- import { WorldId } from './WorldId';
6
- export type GetReportsRequest = {
7
- world: WorldId;
8
- ids: Array<ReportId>;
9
- limit?: number | null;
10
- };
@@ -1,5 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportKind } from './ReportKind';
5
- export type GetReportsResponse = Array<ReportKind>;
@@ -1,9 +0,0 @@
1
- //! Copyright (C) Call of Nil contributors
2
- //! SPDX-License-Identifier: AGPL-3.0-only
3
-
4
- import { ReportId } from './ReportId';
5
- import { WorldId } from './WorldId';
6
- export type RemoveReportRequest = {
7
- world: WorldId;
8
- id: ReportId;
9
- };