@clawconquest/client 1.11.0 → 1.13.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.cjs CHANGED
@@ -658,6 +658,9 @@ var types_default = {
658
658
  },
659
659
  "Boolean": {},
660
660
  "Clan": {
661
+ "clan_leader": [
662
+ 33
663
+ ],
661
664
  "created_at": [
662
665
  14
663
666
  ],
@@ -1406,6 +1409,15 @@ var types_default = {
1406
1409
  ]
1407
1410
  }
1408
1411
  ],
1412
+ "clawUnits": [
1413
+ 46,
1414
+ {
1415
+ "claw_id": [
1416
+ 44,
1417
+ "String!"
1418
+ ]
1419
+ }
1420
+ ],
1409
1421
  "countClaws": [
1410
1422
  22
1411
1423
  ],
@@ -1514,7 +1526,7 @@ var types_default = {
1514
1526
  ]
1515
1527
  }
1516
1528
  ],
1517
- "pool_units": [
1529
+ "poolUnits": [
1518
1530
  46,
1519
1531
  {
1520
1532
  "pool_id": [
package/dist/index.d.cts CHANGED
@@ -8,6 +8,7 @@ type Scalars = {
8
8
  };
9
9
  type ApplicationStatus = 'ACCEPTED' | 'PENDING' | 'REJECTED';
10
10
  interface Clan {
11
+ clan_leader: (PublicClaw | null);
11
12
  created_at: Scalars['DateTime'];
12
13
  created_at_tick: Scalars['Int'];
13
14
  description: (Scalars['String'] | null);
@@ -200,6 +201,7 @@ interface Query {
200
201
  clanPacts: ClanPact[];
201
202
  clans: Clan[];
202
203
  claw: PublicClaw;
204
+ clawUnits: Unit[];
203
205
  countClaws: Scalars['Int'];
204
206
  events: GameEvent[];
205
207
  gameState: GameStateInfo;
@@ -218,7 +220,7 @@ interface Query {
218
220
  my_units: Unit[];
219
221
  outbox: Whisper[];
220
222
  pool: Pool;
221
- pool_units: Unit[];
223
+ poolUnits: Unit[];
222
224
  pools: Pool[];
223
225
  siege: Siege;
224
226
  sieges: Siege[];
@@ -303,6 +305,7 @@ interface AssignUnitInput {
303
305
  unit_ids: Scalars['String'][];
304
306
  }
305
307
  interface ClanGenqlSelection {
308
+ clan_leader?: PublicClawGenqlSelection;
306
309
  created_at?: boolean | number;
307
310
  created_at_tick?: boolean | number;
308
311
  description?: boolean | number;
@@ -630,6 +633,11 @@ interface QueryGenqlSelection {
630
633
  id: Scalars['String'];
631
634
  };
632
635
  });
636
+ clawUnits?: (UnitGenqlSelection & {
637
+ __args: {
638
+ claw_id: Scalars['String'];
639
+ };
640
+ });
633
641
  countClaws?: boolean | number;
634
642
  events?: (GameEventGenqlSelection & {
635
643
  __args?: {
@@ -675,7 +683,7 @@ interface QueryGenqlSelection {
675
683
  id: Scalars['String'];
676
684
  };
677
685
  });
678
- pool_units?: (UnitGenqlSelection & {
686
+ poolUnits?: (UnitGenqlSelection & {
679
687
  __args: {
680
688
  pool_id: Scalars['String'];
681
689
  };
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ type Scalars = {
8
8
  };
9
9
  type ApplicationStatus = 'ACCEPTED' | 'PENDING' | 'REJECTED';
10
10
  interface Clan {
11
+ clan_leader: (PublicClaw | null);
11
12
  created_at: Scalars['DateTime'];
12
13
  created_at_tick: Scalars['Int'];
13
14
  description: (Scalars['String'] | null);
@@ -200,6 +201,7 @@ interface Query {
200
201
  clanPacts: ClanPact[];
201
202
  clans: Clan[];
202
203
  claw: PublicClaw;
204
+ clawUnits: Unit[];
203
205
  countClaws: Scalars['Int'];
204
206
  events: GameEvent[];
205
207
  gameState: GameStateInfo;
@@ -218,7 +220,7 @@ interface Query {
218
220
  my_units: Unit[];
219
221
  outbox: Whisper[];
220
222
  pool: Pool;
221
- pool_units: Unit[];
223
+ poolUnits: Unit[];
222
224
  pools: Pool[];
223
225
  siege: Siege;
224
226
  sieges: Siege[];
@@ -303,6 +305,7 @@ interface AssignUnitInput {
303
305
  unit_ids: Scalars['String'][];
304
306
  }
305
307
  interface ClanGenqlSelection {
308
+ clan_leader?: PublicClawGenqlSelection;
306
309
  created_at?: boolean | number;
307
310
  created_at_tick?: boolean | number;
308
311
  description?: boolean | number;
@@ -630,6 +633,11 @@ interface QueryGenqlSelection {
630
633
  id: Scalars['String'];
631
634
  };
632
635
  });
636
+ clawUnits?: (UnitGenqlSelection & {
637
+ __args: {
638
+ claw_id: Scalars['String'];
639
+ };
640
+ });
633
641
  countClaws?: boolean | number;
634
642
  events?: (GameEventGenqlSelection & {
635
643
  __args?: {
@@ -675,7 +683,7 @@ interface QueryGenqlSelection {
675
683
  id: Scalars['String'];
676
684
  };
677
685
  });
678
- pool_units?: (UnitGenqlSelection & {
686
+ poolUnits?: (UnitGenqlSelection & {
679
687
  __args: {
680
688
  pool_id: Scalars['String'];
681
689
  };
package/dist/index.js CHANGED
@@ -593,6 +593,9 @@ var types_default = {
593
593
  },
594
594
  "Boolean": {},
595
595
  "Clan": {
596
+ "clan_leader": [
597
+ 33
598
+ ],
596
599
  "created_at": [
597
600
  14
598
601
  ],
@@ -1341,6 +1344,15 @@ var types_default = {
1341
1344
  ]
1342
1345
  }
1343
1346
  ],
1347
+ "clawUnits": [
1348
+ 46,
1349
+ {
1350
+ "claw_id": [
1351
+ 44,
1352
+ "String!"
1353
+ ]
1354
+ }
1355
+ ],
1344
1356
  "countClaws": [
1345
1357
  22
1346
1358
  ],
@@ -1449,7 +1461,7 @@ var types_default = {
1449
1461
  ]
1450
1462
  }
1451
1463
  ],
1452
- "pool_units": [
1464
+ "poolUnits": [
1453
1465
  46,
1454
1466
  {
1455
1467
  "pool_id": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.11.0",
3
+ "version": "1.13.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",