@clawconquest/client 1.9.0 → 1.11.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
@@ -44,6 +44,7 @@ __export(index_exports, {
44
44
  isClawSummary: () => isClawSummary,
45
45
  isCreateClawPayload: () => isCreateClawPayload,
46
46
  isGameEvent: () => isGameEvent,
47
+ isGameStateInfo: () => isGameStateInfo,
47
48
  isMutation: () => isMutation,
48
49
  isPlayer: () => isPlayer,
49
50
  isPlayerProfile: () => isPlayerProfile,
@@ -619,40 +620,40 @@ var types_default = {
619
620
  8,
620
621
  14,
621
622
  17,
622
- 19,
623
623
  20,
624
624
  21,
625
625
  22,
626
- 24,
627
- 28,
626
+ 23,
627
+ 25,
628
628
  29,
629
- 39,
629
+ 30,
630
630
  40,
631
- 43,
632
- 46
631
+ 41,
632
+ 44,
633
+ 47
633
634
  ],
634
635
  "types": {
635
636
  "ApplicationStatus": {},
636
637
  "ApplyToClanInput": {
637
638
  "clan_id": [
638
- 43
639
+ 44
639
640
  ],
640
641
  "motivation_text": [
641
- 43
642
+ 44
642
643
  ],
643
644
  "__typename": [
644
- 43
645
+ 44
645
646
  ]
646
647
  },
647
648
  "AssignUnitInput": {
648
649
  "pool_id": [
649
- 43
650
+ 44
650
651
  ],
651
652
  "unit_ids": [
652
- 43
653
+ 44
653
654
  ],
654
655
  "__typename": [
655
- 43
656
+ 44
656
657
  ]
657
658
  },
658
659
  "Boolean": {},
@@ -661,25 +662,25 @@ var types_default = {
661
662
  14
662
663
  ],
663
664
  "created_at_tick": [
664
- 21
665
+ 22
665
666
  ],
666
667
  "description": [
667
- 43
668
+ 44
668
669
  ],
669
670
  "governance_type": [
670
- 19
671
+ 20
671
672
  ],
672
673
  "id": [
673
- 20
674
+ 21
674
675
  ],
675
676
  "leader_claw_id": [
676
- 43
677
+ 44
677
678
  ],
678
679
  "membership_policy": [
679
- 22
680
+ 23
680
681
  ],
681
682
  "name": [
682
- 43
683
+ 44
683
684
  ],
684
685
  "status": [
685
686
  8
@@ -694,30 +695,30 @@ var types_default = {
694
695
  17
695
696
  ],
696
697
  "__typename": [
697
- 43
698
+ 44
698
699
  ]
699
700
  },
700
701
  "ClanApplication": {
701
702
  "clan_id": [
702
- 43
703
+ 44
703
704
  ],
704
705
  "claw_id": [
705
- 43
706
+ 44
706
707
  ],
707
708
  "created_at": [
708
709
  14
709
710
  ],
710
711
  "id": [
711
- 20
712
+ 21
712
713
  ],
713
714
  "motivation_text": [
714
- 43
715
+ 44
715
716
  ],
716
717
  "status": [
717
718
  0
718
719
  ],
719
720
  "__typename": [
720
- 43
721
+ 44
721
722
  ]
722
723
  },
723
724
  "ClanPact": {
@@ -725,28 +726,28 @@ var types_default = {
725
726
  14
726
727
  ],
727
728
  "duration_ticks": [
728
- 21
729
+ 22
729
730
  ],
730
731
  "id": [
731
- 20
732
+ 21
732
733
  ],
733
734
  "proposer_clan_id": [
734
- 43
735
+ 44
735
736
  ],
736
737
  "status": [
737
- 24
738
+ 25
738
739
  ],
739
740
  "target_clan_id": [
740
- 43
741
+ 44
741
742
  ],
742
743
  "ticks_remaining": [
743
- 21
744
+ 22
744
745
  ],
745
746
  "type": [
746
747
  7
747
748
  ],
748
749
  "__typename": [
749
- 43
750
+ 44
750
751
  ]
751
752
  },
752
753
  "ClanPactType": {},
@@ -756,7 +757,7 @@ var types_default = {
756
757
  17
757
758
  ],
758
759
  "bio": [
759
- 43
760
+ 44
760
761
  ],
761
762
  "created_at": [
762
763
  14
@@ -768,7 +769,7 @@ var types_default = {
768
769
  17
769
770
  ],
770
771
  "id": [
771
- 20
772
+ 21
772
773
  ],
773
774
  "is_alive": [
774
775
  3
@@ -777,7 +778,7 @@ var types_default = {
777
778
  3
778
779
  ],
779
780
  "level": [
780
- 21
781
+ 22
781
782
  ],
782
783
  "loyalty": [
783
784
  17
@@ -786,74 +787,74 @@ var types_default = {
786
787
  17
787
788
  ],
788
789
  "molt_ticks_remaining": [
789
- 21
790
+ 22
790
791
  ],
791
792
  "name": [
792
- 43
793
+ 44
793
794
  ],
794
795
  "profile_emoji": [
795
- 43
796
+ 44
796
797
  ],
797
798
  "scent": [
798
- 21
799
+ 22
799
800
  ],
800
801
  "shell_tier": [
801
- 21
802
+ 22
802
803
  ],
803
804
  "soft_shell_curse_ticks_remaining": [
804
- 21
805
+ 22
805
806
  ],
806
807
  "species": [
807
- 40
808
+ 41
808
809
  ],
809
810
  "territoriality": [
810
811
  17
811
812
  ],
812
813
  "webhook_url": [
813
- 43
814
+ 44
814
815
  ],
815
816
  "xp": [
816
- 21
817
+ 22
817
818
  ],
818
819
  "__typename": [
819
- 43
820
+ 44
820
821
  ]
821
822
  },
822
823
  "ClawSummary": {
823
824
  "id": [
824
- 20
825
+ 21
825
826
  ],
826
827
  "is_alive": [
827
828
  3
828
829
  ],
829
830
  "name": [
830
- 43
831
+ 44
831
832
  ],
832
833
  "species": [
833
- 43
834
+ 44
834
835
  ],
835
836
  "__typename": [
836
- 43
837
+ 44
837
838
  ]
838
839
  },
839
840
  "CreateClanInput": {
840
841
  "description": [
841
- 43
842
+ 44
842
843
  ],
843
844
  "governance_type": [
844
- 19
845
+ 20
845
846
  ],
846
847
  "membership_policy": [
847
- 22
848
+ 23
848
849
  ],
849
850
  "name": [
850
- 43
851
+ 44
851
852
  ],
852
853
  "tax_rate": [
853
854
  17
854
855
  ],
855
856
  "__typename": [
856
- 43
857
+ 44
857
858
  ]
858
859
  },
859
860
  "CreateClawInput": {
@@ -861,7 +862,7 @@ var types_default = {
861
862
  17
862
863
  ],
863
864
  "bio": [
864
- 43
865
+ 44
865
866
  ],
866
867
  "deception": [
867
868
  17
@@ -870,80 +871,94 @@ var types_default = {
870
871
  17
871
872
  ],
872
873
  "name": [
873
- 43
874
+ 44
874
875
  ],
875
876
  "profile_emoji": [
876
- 43
877
+ 44
877
878
  ],
878
879
  "species": [
879
- 40
880
+ 41
880
881
  ],
881
882
  "territoriality": [
882
883
  17
883
884
  ],
884
885
  "__typename": [
885
- 43
886
+ 44
886
887
  ]
887
888
  },
888
889
  "CreateClawPayload": {
889
890
  "api_key": [
890
- 43
891
+ 44
891
892
  ],
892
893
  "claw": [
893
894
  9
894
895
  ],
895
896
  "__typename": [
896
- 43
897
+ 44
897
898
  ]
898
899
  },
899
900
  "DateTime": {},
900
901
  "DeploySpyInput": {
901
902
  "target_claw_id": [
902
- 43
903
+ 44
903
904
  ],
904
905
  "__typename": [
905
- 43
906
+ 44
906
907
  ]
907
908
  },
908
909
  "DismissUnitInput": {
909
910
  "count": [
910
- 21
911
+ 22
911
912
  ],
912
913
  "unit_id": [
913
- 43
914
+ 44
914
915
  ],
915
916
  "__typename": [
916
- 43
917
+ 44
917
918
  ]
918
919
  },
919
920
  "Float": {},
920
921
  "GameEvent": {
921
922
  "claw_id": [
922
- 43
923
+ 44
923
924
  ],
924
925
  "data": [
925
- 43
926
+ 44
926
927
  ],
927
928
  "event_type": [
928
- 43
929
+ 44
929
930
  ],
930
931
  "id": [
931
- 20
932
+ 21
932
933
  ],
933
934
  "pool_id": [
934
- 43
935
+ 44
935
936
  ],
936
937
  "region_id": [
937
- 21
938
+ 22
938
939
  ],
939
940
  "target_claw_id": [
940
- 43
941
+ 44
941
942
  ],
942
943
  "tick": [
943
- 21
944
+ 22
944
945
  ],
945
946
  "__typename": [
946
- 43
947
+ 44
948
+ ]
949
+ },
950
+ "GameStateInfo": {
951
+ "current_cycle": [
952
+ 22
953
+ ],
954
+ "current_tick": [
955
+ 22
956
+ ],
957
+ "next_tick_at": [
958
+ 14
959
+ ],
960
+ "__typename": [
961
+ 44
947
962
  ]
948
963
  },
949
964
  "GovernanceType": {},
@@ -955,7 +970,7 @@ var types_default = {
955
970
  6,
956
971
  {
957
972
  "pactId": [
958
- 43,
973
+ 44,
959
974
  "String!"
960
975
  ]
961
976
  }
@@ -970,7 +985,7 @@ var types_default = {
970
985
  }
971
986
  ],
972
987
  "assign_units": [
973
- 45,
988
+ 46,
974
989
  {
975
990
  "input": [
976
991
  2,
@@ -982,7 +997,7 @@ var types_default = {
982
997
  6,
983
998
  {
984
999
  "pactId": [
985
- 43,
1000
+ 44,
986
1001
  "String!"
987
1002
  ]
988
1003
  }
@@ -991,7 +1006,7 @@ var types_default = {
991
1006
  5,
992
1007
  {
993
1008
  "applicationId": [
994
- 43,
1009
+ 44,
995
1010
  "String!"
996
1011
  ]
997
1012
  }
@@ -1015,7 +1030,7 @@ var types_default = {
1015
1030
  }
1016
1031
  ],
1017
1032
  "deploy_spy": [
1018
- 41,
1033
+ 42,
1019
1034
  {
1020
1035
  "input": [
1021
1036
  15,
@@ -1024,16 +1039,16 @@ var types_default = {
1024
1039
  }
1025
1040
  ],
1026
1041
  "disableClaw": [
1027
- 30,
1042
+ 31,
1028
1043
  {
1029
1044
  "clawId": [
1030
- 43,
1045
+ 44,
1031
1046
  "String!"
1032
1047
  ]
1033
1048
  }
1034
1049
  ],
1035
1050
  "dismiss_units": [
1036
- 45,
1051
+ 46,
1037
1052
  {
1038
1053
  "input": [
1039
1054
  16,
@@ -1045,23 +1060,23 @@ var types_default = {
1045
1060
  4
1046
1061
  ],
1047
1062
  "enableClaw": [
1048
- 30,
1063
+ 31,
1049
1064
  {
1050
1065
  "clawId": [
1051
- 43,
1066
+ 44,
1052
1067
  "String!"
1053
1068
  ]
1054
1069
  }
1055
1070
  ],
1056
1071
  "initiate_siege": [
1057
- 38,
1072
+ 39,
1058
1073
  {
1059
1074
  "attacker_pool_id": [
1060
- 43,
1075
+ 44,
1061
1076
  "String!"
1062
1077
  ],
1063
1078
  "defender_pool_id": [
1064
- 43,
1079
+ 44,
1065
1080
  "String!"
1066
1081
  ]
1067
1082
  }
@@ -1070,7 +1085,7 @@ var types_default = {
1070
1085
  9,
1071
1086
  {
1072
1087
  "clawId": [
1073
- 43,
1088
+ 44,
1074
1089
  "String!"
1075
1090
  ]
1076
1091
  }
@@ -1082,25 +1097,25 @@ var types_default = {
1082
1097
  6,
1083
1098
  {
1084
1099
  "input": [
1085
- 31,
1100
+ 32,
1086
1101
  "ProposeClanPactInput!"
1087
1102
  ]
1088
1103
  }
1089
1104
  ],
1090
1105
  "recruit_units": [
1091
- 45,
1106
+ 46,
1092
1107
  {
1093
1108
  "input": [
1094
- 34,
1109
+ 35,
1095
1110
  "RecruitUnitInput!"
1096
1111
  ]
1097
1112
  }
1098
1113
  ],
1099
1114
  "regenerateClawKey": [
1100
- 35,
1115
+ 36,
1101
1116
  {
1102
1117
  "clawId": [
1103
- 43,
1118
+ 44,
1104
1119
  "String!"
1105
1120
  ]
1106
1121
  }
@@ -1113,74 +1128,74 @@ var types_default = {
1113
1128
  "Boolean!"
1114
1129
  ],
1115
1130
  "applicationId": [
1116
- 43,
1131
+ 44,
1117
1132
  "String!"
1118
1133
  ]
1119
1134
  }
1120
1135
  ],
1121
1136
  "send_whisper": [
1122
- 50,
1137
+ 51,
1123
1138
  {
1124
1139
  "input": [
1125
- 37,
1140
+ 38,
1126
1141
  "SendWhisperInput!"
1127
1142
  ]
1128
1143
  }
1129
1144
  ],
1130
1145
  "signIn": [
1131
- 25
1146
+ 26
1132
1147
  ],
1133
1148
  "updateClaw": [
1134
1149
  9,
1135
1150
  {
1136
1151
  "clawId": [
1137
- 43,
1152
+ 44,
1138
1153
  "String!"
1139
1154
  ],
1140
1155
  "input": [
1141
- 47,
1156
+ 48,
1142
1157
  "UpdateClawInput!"
1143
1158
  ]
1144
1159
  }
1145
1160
  ],
1146
1161
  "updateDirectives": [
1147
- 42,
1162
+ 43,
1148
1163
  {
1149
1164
  "input": [
1150
- 48,
1165
+ 49,
1151
1166
  "UpdateDirectivesInput!"
1152
1167
  ]
1153
1168
  }
1154
1169
  ],
1155
1170
  "updatePlayer": [
1156
- 25,
1171
+ 26,
1157
1172
  {
1158
1173
  "input": [
1159
- 49,
1174
+ 50,
1160
1175
  "UpdatePlayerInput!"
1161
1176
  ]
1162
1177
  }
1163
1178
  ],
1164
1179
  "withdraw_siege": [
1165
- 38,
1180
+ 39,
1166
1181
  {
1167
1182
  "siege_id": [
1168
- 43,
1183
+ 44,
1169
1184
  "String!"
1170
1185
  ]
1171
1186
  }
1172
1187
  ],
1173
1188
  "__typename": [
1174
- 43
1189
+ 44
1175
1190
  ]
1176
1191
  },
1177
1192
  "PactStatus": {},
1178
1193
  "Player": {
1179
1194
  "avatar_url": [
1180
- 43
1195
+ 44
1181
1196
  ],
1182
1197
  "ban_reason": [
1183
- 43
1198
+ 44
1184
1199
  ],
1185
1200
  "banned_at": [
1186
1201
  14
@@ -1189,19 +1204,19 @@ var types_default = {
1189
1204
  14
1190
1205
  ],
1191
1206
  "display_name": [
1192
- 43
1207
+ 44
1193
1208
  ],
1194
1209
  "email": [
1195
- 43
1210
+ 44
1196
1211
  ],
1197
1212
  "id": [
1198
- 20
1213
+ 21
1199
1214
  ],
1200
1215
  "onboarding_finalized_at": [
1201
1216
  14
1202
1217
  ],
1203
1218
  "__typename": [
1204
- 43
1219
+ 44
1205
1220
  ]
1206
1221
  },
1207
1222
  "PlayerProfile": {
@@ -1209,39 +1224,39 @@ var types_default = {
1209
1224
  10
1210
1225
  ],
1211
1226
  "player": [
1212
- 25
1227
+ 26
1213
1228
  ],
1214
1229
  "__typename": [
1215
- 43
1230
+ 44
1216
1231
  ]
1217
1232
  },
1218
1233
  "Pool": {
1219
1234
  "fortification": [
1220
- 21
1235
+ 22
1221
1236
  ],
1222
1237
  "id": [
1223
- 20
1238
+ 21
1224
1239
  ],
1225
1240
  "is_spawn_zone": [
1226
1241
  3
1227
1242
  ],
1228
1243
  "owner_claw_id": [
1229
- 43
1244
+ 44
1230
1245
  ],
1231
1246
  "q": [
1232
- 21
1247
+ 22
1233
1248
  ],
1234
1249
  "r": [
1235
- 21
1250
+ 22
1236
1251
  ],
1237
1252
  "region_id": [
1238
- 21
1253
+ 22
1239
1254
  ],
1240
1255
  "type": [
1241
- 28
1256
+ 29
1242
1257
  ],
1243
1258
  "__typename": [
1244
- 43
1259
+ 44
1245
1260
  ]
1246
1261
  },
1247
1262
  "PoolType": {},
@@ -1251,7 +1266,7 @@ var types_default = {
1251
1266
  17
1252
1267
  ],
1253
1268
  "bio": [
1254
- 43
1269
+ 44
1255
1270
  ],
1256
1271
  "created_at": [
1257
1272
  14
@@ -1263,7 +1278,7 @@ var types_default = {
1263
1278
  17
1264
1279
  ],
1265
1280
  "id": [
1266
- 20
1281
+ 21
1267
1282
  ],
1268
1283
  "is_alive": [
1269
1284
  3
@@ -1272,7 +1287,7 @@ var types_default = {
1272
1287
  3
1273
1288
  ],
1274
1289
  "level": [
1275
- 21
1290
+ 22
1276
1291
  ],
1277
1292
  "loyalty": [
1278
1293
  17
@@ -1281,86 +1296,86 @@ var types_default = {
1281
1296
  17
1282
1297
  ],
1283
1298
  "molt_ticks_remaining": [
1284
- 21
1299
+ 22
1285
1300
  ],
1286
1301
  "name": [
1287
- 43
1302
+ 44
1288
1303
  ],
1289
1304
  "profile_emoji": [
1290
- 43
1305
+ 44
1291
1306
  ],
1292
1307
  "scent": [
1293
- 21
1308
+ 22
1294
1309
  ],
1295
1310
  "shell_tier": [
1296
- 21
1311
+ 22
1297
1312
  ],
1298
1313
  "soft_shell_curse_ticks_remaining": [
1299
- 21
1314
+ 22
1300
1315
  ],
1301
1316
  "species": [
1302
- 40
1317
+ 41
1303
1318
  ],
1304
1319
  "territoriality": [
1305
1320
  17
1306
1321
  ],
1307
1322
  "webhook_url": [
1308
- 43
1323
+ 44
1309
1324
  ],
1310
1325
  "xp": [
1311
- 21
1326
+ 22
1312
1327
  ],
1313
1328
  "__typename": [
1314
- 43
1329
+ 44
1315
1330
  ]
1316
1331
  },
1317
1332
  "ProposeClanPactInput": {
1318
1333
  "duration_ticks": [
1319
- 21
1334
+ 22
1320
1335
  ],
1321
1336
  "target_clan_id": [
1322
- 43
1337
+ 44
1323
1338
  ],
1324
1339
  "type": [
1325
1340
  7
1326
1341
  ],
1327
1342
  "__typename": [
1328
- 43
1343
+ 44
1329
1344
  ]
1330
1345
  },
1331
1346
  "PublicClaw": {
1332
1347
  "bio": [
1333
- 43
1348
+ 44
1334
1349
  ],
1335
1350
  "id": [
1336
- 20
1351
+ 21
1337
1352
  ],
1338
1353
  "is_alive": [
1339
1354
  3
1340
1355
  ],
1341
1356
  "level": [
1342
- 21
1357
+ 22
1343
1358
  ],
1344
1359
  "name": [
1345
- 43
1360
+ 44
1346
1361
  ],
1347
1362
  "profile_emoji": [
1348
- 43
1363
+ 44
1349
1364
  ],
1350
1365
  "scent": [
1351
- 21
1366
+ 22
1352
1367
  ],
1353
1368
  "shell_tier": [
1354
- 21
1369
+ 22
1355
1370
  ],
1356
1371
  "species": [
1357
- 40
1372
+ 41
1358
1373
  ],
1359
1374
  "xp": [
1360
- 21
1375
+ 22
1361
1376
  ],
1362
1377
  "__typename": [
1363
- 43
1378
+ 44
1364
1379
  ]
1365
1380
  },
1366
1381
  "Query": {
@@ -1368,7 +1383,7 @@ var types_default = {
1368
1383
  4,
1369
1384
  {
1370
1385
  "id": [
1371
- 43,
1386
+ 44,
1372
1387
  "String!"
1373
1388
  ]
1374
1389
  }
@@ -1383,60 +1398,63 @@ var types_default = {
1383
1398
  4
1384
1399
  ],
1385
1400
  "claw": [
1386
- 32,
1401
+ 33,
1387
1402
  {
1388
1403
  "id": [
1389
- 43,
1404
+ 44,
1390
1405
  "String!"
1391
1406
  ]
1392
1407
  }
1393
1408
  ],
1394
1409
  "countClaws": [
1395
- 21
1410
+ 22
1396
1411
  ],
1397
1412
  "events": [
1398
1413
  18,
1399
1414
  {
1400
1415
  "clawId": [
1401
- 43
1416
+ 44
1402
1417
  ],
1403
1418
  "eventType": [
1404
- 43
1419
+ 44
1405
1420
  ],
1406
1421
  "limit": [
1407
- 21,
1422
+ 22,
1408
1423
  "Int!"
1409
1424
  ],
1410
1425
  "offset": [
1411
- 21,
1426
+ 22,
1412
1427
  "Int!"
1413
1428
  ],
1414
1429
  "regionId": [
1415
- 21
1430
+ 22
1416
1431
  ],
1417
1432
  "tick": [
1418
- 21
1433
+ 22
1419
1434
  ]
1420
1435
  }
1421
1436
  ],
1437
+ "gameState": [
1438
+ 19
1439
+ ],
1422
1440
  "inbox": [
1423
- 50,
1441
+ 51,
1424
1442
  {
1425
1443
  "limit": [
1426
- 21,
1444
+ 22,
1427
1445
  "Int!"
1428
1446
  ],
1429
1447
  "offset": [
1430
- 21,
1448
+ 22,
1431
1449
  "Int!"
1432
1450
  ]
1433
1451
  }
1434
1452
  ],
1435
1453
  "intercepted_whispers": [
1436
- 50
1454
+ 51
1437
1455
  ],
1438
1456
  "me": [
1439
- 26
1457
+ 27
1440
1458
  ],
1441
1459
  "myApplications": [
1442
1460
  5
@@ -1445,173 +1463,182 @@ var types_default = {
1445
1463
  4
1446
1464
  ],
1447
1465
  "myClaw": [
1448
- 30,
1466
+ 31,
1449
1467
  {
1450
1468
  "id": [
1451
- 43,
1469
+ 44,
1452
1470
  "String!"
1453
1471
  ]
1454
1472
  }
1455
1473
  ],
1456
1474
  "myClaws": [
1457
- 30
1475
+ 31
1458
1476
  ],
1459
1477
  "myDirectives": [
1460
- 42
1478
+ 43
1461
1479
  ],
1462
1480
  "myProfile": [
1463
1481
  9
1464
1482
  ],
1465
1483
  "myRelationships": [
1466
- 36
1484
+ 37
1467
1485
  ],
1468
1486
  "my_sieges": [
1469
- 38
1487
+ 39
1470
1488
  ],
1471
1489
  "my_spy_deployments": [
1472
- 41
1490
+ 42
1473
1491
  ],
1474
1492
  "my_units": [
1475
- 45
1493
+ 46
1476
1494
  ],
1477
1495
  "outbox": [
1478
- 50,
1496
+ 51,
1479
1497
  {
1480
1498
  "limit": [
1481
- 21,
1499
+ 22,
1482
1500
  "Int!"
1483
1501
  ],
1484
1502
  "offset": [
1485
- 21,
1503
+ 22,
1486
1504
  "Int!"
1487
1505
  ]
1488
1506
  }
1489
1507
  ],
1490
1508
  "pool": [
1491
- 27,
1509
+ 28,
1492
1510
  {
1493
1511
  "id": [
1494
- 43,
1512
+ 44,
1495
1513
  "String!"
1496
1514
  ]
1497
1515
  }
1498
1516
  ],
1499
1517
  "pool_units": [
1500
- 45,
1518
+ 46,
1501
1519
  {
1502
1520
  "pool_id": [
1503
- 43,
1521
+ 44,
1504
1522
  "String!"
1505
1523
  ]
1506
1524
  }
1507
1525
  ],
1508
1526
  "pools": [
1509
- 27,
1527
+ 28,
1510
1528
  {
1511
1529
  "clawId": [
1512
- 43
1530
+ 44
1513
1531
  ]
1514
1532
  }
1515
1533
  ],
1516
1534
  "siege": [
1517
- 38,
1535
+ 39,
1518
1536
  {
1519
1537
  "id": [
1520
- 43,
1538
+ 44,
1539
+ "String!"
1540
+ ]
1541
+ }
1542
+ ],
1543
+ "sieges": [
1544
+ 39,
1545
+ {
1546
+ "pool_id": [
1547
+ 44,
1521
1548
  "String!"
1522
1549
  ]
1523
1550
  }
1524
1551
  ],
1525
1552
  "__typename": [
1526
- 43
1553
+ 44
1527
1554
  ]
1528
1555
  },
1529
1556
  "RecruitUnitInput": {
1530
1557
  "count": [
1531
- 21
1558
+ 22
1532
1559
  ],
1533
1560
  "type": [
1534
- 46
1561
+ 47
1535
1562
  ],
1536
1563
  "__typename": [
1537
- 43
1564
+ 44
1538
1565
  ]
1539
1566
  },
1540
1567
  "RegenerateKeyPayload": {
1541
1568
  "api_key": [
1542
- 43
1569
+ 44
1543
1570
  ],
1544
1571
  "__typename": [
1545
- 43
1572
+ 44
1546
1573
  ]
1547
1574
  },
1548
1575
  "Relationship": {
1549
1576
  "battles": [
1550
- 21
1577
+ 22
1551
1578
  ],
1552
1579
  "betrayals": [
1553
- 21
1580
+ 22
1554
1581
  ],
1555
1582
  "claw_id": [
1556
- 43
1583
+ 44
1557
1584
  ],
1558
1585
  "encounters": [
1559
- 21
1586
+ 22
1560
1587
  ],
1561
1588
  "id": [
1562
- 20
1589
+ 21
1563
1590
  ],
1564
1591
  "other_claw_id": [
1565
- 43
1592
+ 44
1566
1593
  ],
1567
1594
  "trust_score": [
1568
1595
  17
1569
1596
  ],
1570
1597
  "__typename": [
1571
- 43
1598
+ 44
1572
1599
  ]
1573
1600
  },
1574
1601
  "SendWhisperInput": {
1575
1602
  "content": [
1576
- 43
1603
+ 44
1577
1604
  ],
1578
1605
  "receiver_id": [
1579
- 43
1606
+ 44
1580
1607
  ],
1581
1608
  "__typename": [
1582
- 43
1609
+ 44
1583
1610
  ]
1584
1611
  },
1585
1612
  "Siege": {
1586
1613
  "attacker_claw_id": [
1587
- 43
1614
+ 44
1588
1615
  ],
1589
1616
  "attacker_pool_id": [
1590
- 43
1617
+ 44
1591
1618
  ],
1592
1619
  "created_at": [
1593
1620
  14
1594
1621
  ],
1595
1622
  "defender_claw_id": [
1596
- 43
1623
+ 44
1597
1624
  ],
1598
1625
  "defender_pool_id": [
1599
- 43
1626
+ 44
1600
1627
  ],
1601
1628
  "ended_at_tick": [
1602
- 21
1629
+ 22
1603
1630
  ],
1604
1631
  "id": [
1605
- 20
1632
+ 21
1606
1633
  ],
1607
1634
  "started_at_tick": [
1608
- 21
1635
+ 22
1609
1636
  ],
1610
1637
  "status": [
1611
- 39
1638
+ 40
1612
1639
  ],
1613
1640
  "__typename": [
1614
- 43
1641
+ 44
1615
1642
  ]
1616
1643
  },
1617
1644
  "SiegeStatus": {},
@@ -1621,25 +1648,25 @@ var types_default = {
1621
1648
  14
1622
1649
  ],
1623
1650
  "id": [
1624
- 20
1651
+ 21
1625
1652
  ],
1626
1653
  "is_detected": [
1627
1654
  3
1628
1655
  ],
1629
1656
  "owner_claw_id": [
1630
- 43
1657
+ 44
1631
1658
  ],
1632
1659
  "started_at_tick": [
1633
- 21
1660
+ 22
1634
1661
  ],
1635
1662
  "target_claw_id": [
1636
- 43
1663
+ 44
1637
1664
  ],
1638
1665
  "ticks_remaining": [
1639
- 21
1666
+ 22
1640
1667
  ],
1641
1668
  "__typename": [
1642
- 43
1669
+ 44
1643
1670
  ]
1644
1671
  },
1645
1672
  "StandingOrder": {
@@ -1647,25 +1674,25 @@ var types_default = {
1647
1674
  17
1648
1675
  ],
1649
1676
  "claw_id": [
1650
- 43
1677
+ 44
1651
1678
  ],
1652
1679
  "diplomacy_stance": [
1653
1680
  17
1654
1681
  ],
1655
1682
  "id": [
1656
- 20
1683
+ 21
1657
1684
  ],
1658
1685
  "primary_goal": [
1659
- 29
1686
+ 30
1660
1687
  ],
1661
1688
  "target_claw_id": [
1662
- 43
1689
+ 44
1663
1690
  ],
1664
1691
  "target_region_id": [
1665
- 21
1692
+ 22
1666
1693
  ],
1667
1694
  "__typename": [
1668
- 43
1695
+ 44
1669
1696
  ]
1670
1697
  },
1671
1698
  "String": {},
@@ -1674,42 +1701,42 @@ var types_default = {
1674
1701
  18
1675
1702
  ],
1676
1703
  "__typename": [
1677
- 43
1704
+ 44
1678
1705
  ]
1679
1706
  },
1680
1707
  "Unit": {
1681
1708
  "claw_id": [
1682
- 43
1709
+ 44
1683
1710
  ],
1684
1711
  "count": [
1685
- 21
1712
+ 22
1686
1713
  ],
1687
1714
  "id": [
1688
- 20
1715
+ 21
1689
1716
  ],
1690
1717
  "pool_id": [
1691
- 43
1718
+ 44
1692
1719
  ],
1693
1720
  "type": [
1694
- 46
1721
+ 47
1695
1722
  ],
1696
1723
  "__typename": [
1697
- 43
1724
+ 44
1698
1725
  ]
1699
1726
  },
1700
1727
  "UnitType": {},
1701
1728
  "UpdateClawInput": {
1702
1729
  "bio": [
1703
- 43
1730
+ 44
1704
1731
  ],
1705
1732
  "profile_emoji": [
1706
- 43
1733
+ 44
1707
1734
  ],
1708
1735
  "webhook_url": [
1709
- 43
1736
+ 44
1710
1737
  ],
1711
1738
  "__typename": [
1712
- 43
1739
+ 44
1713
1740
  ]
1714
1741
  },
1715
1742
  "UpdateDirectivesInput": {
@@ -1720,53 +1747,53 @@ var types_default = {
1720
1747
  17
1721
1748
  ],
1722
1749
  "exclusions": [
1723
- 43
1750
+ 44
1724
1751
  ],
1725
1752
  "primary_goal": [
1726
- 29
1753
+ 30
1727
1754
  ],
1728
1755
  "target_claw_id": [
1729
- 43
1756
+ 44
1730
1757
  ],
1731
1758
  "target_region_id": [
1732
- 21
1759
+ 22
1733
1760
  ],
1734
1761
  "__typename": [
1735
- 43
1762
+ 44
1736
1763
  ]
1737
1764
  },
1738
1765
  "UpdatePlayerInput": {
1739
1766
  "avatar_url": [
1740
- 43
1767
+ 44
1741
1768
  ],
1742
1769
  "display_name": [
1743
- 43
1770
+ 44
1744
1771
  ],
1745
1772
  "__typename": [
1746
- 43
1773
+ 44
1747
1774
  ]
1748
1775
  },
1749
1776
  "Whisper": {
1750
1777
  "content": [
1751
- 43
1778
+ 44
1752
1779
  ],
1753
1780
  "created_at": [
1754
1781
  14
1755
1782
  ],
1756
1783
  "id": [
1757
- 20
1784
+ 21
1758
1785
  ],
1759
1786
  "receiver_id": [
1760
- 43
1787
+ 44
1761
1788
  ],
1762
1789
  "sender_id": [
1763
- 43
1790
+ 44
1764
1791
  ],
1765
1792
  "tick": [
1766
- 21
1793
+ 22
1767
1794
  ],
1768
1795
  "__typename": [
1769
- 43
1796
+ 44
1770
1797
  ]
1771
1798
  }
1772
1799
  }
@@ -1808,6 +1835,11 @@ var isGameEvent = (obj) => {
1808
1835
  if (!obj?.__typename) throw new Error('__typename is missing in "isGameEvent"');
1809
1836
  return GameEvent_possibleTypes.includes(obj.__typename);
1810
1837
  };
1838
+ var GameStateInfo_possibleTypes = ["GameStateInfo"];
1839
+ var isGameStateInfo = (obj) => {
1840
+ if (!obj?.__typename) throw new Error('__typename is missing in "isGameStateInfo"');
1841
+ return GameStateInfo_possibleTypes.includes(obj.__typename);
1842
+ };
1811
1843
  var Mutation_possibleTypes = ["Mutation"];
1812
1844
  var isMutation = (obj) => {
1813
1845
  if (!obj?.__typename) throw new Error('__typename is missing in "isMutation"');
@@ -2004,6 +2036,7 @@ var generateSubscriptionOp = function(fields) {
2004
2036
  isClawSummary,
2005
2037
  isCreateClawPayload,
2006
2038
  isGameEvent,
2039
+ isGameStateInfo,
2007
2040
  isMutation,
2008
2041
  isPlayer,
2009
2042
  isPlayerProfile,