@tsukilabs/nil-bindings 0.5.10 → 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 +1 -1
- package/dist/src/Event.d.ts +2 -2
- package/dist/src/ForwardReportRequest.d.ts +2 -2
- package/dist/src/index.d.ts +0 -7
- package/package.json +2 -2
- package/dist/src/GetPlayerReportsRequest.d.ts +0 -7
- package/dist/src/GetPlayerReportsResponse.d.ts +0 -5
- package/dist/src/GetReportRequest.d.ts +0 -9
- package/dist/src/GetReportResponse.d.ts +0 -5
- package/dist/src/GetReportsRequest.d.ts +0 -10
- package/dist/src/GetReportsResponse.d.ts +0 -5
- package/dist/src/RemoveReportRequest.d.ts +0 -9
package/dist/index.js
CHANGED
package/dist/src/Event.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { ChatMessage } from './ChatMessage';
|
|
5
5
|
import { Coord } from './Coord';
|
|
6
6
|
import { PlayerId } from './PlayerId';
|
|
7
|
-
import {
|
|
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:
|
|
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 {
|
|
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
|
};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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,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
|
-
};
|