@clawconquest/client 1.19.0 → 1.21.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
@@ -22,44 +22,39 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  GenqlError: () => GenqlError,
24
24
  createClient: () => createClient2,
25
- enumApplicationStatus: () => enumApplicationStatus,
26
- enumClanPactType: () => enumClanPactType,
27
- enumClanStatus: () => enumClanStatus,
25
+ enumBiome: () => enumBiome,
28
26
  enumGovernanceType: () => enumGovernanceType,
29
- enumMembershipPolicy: () => enumMembershipPolicy,
30
- enumPactStatus: () => enumPactStatus,
31
- enumPoolType: () => enumPoolType,
32
- enumPrimaryGoal: () => enumPrimaryGoal,
33
- enumSiegeStatus: () => enumSiegeStatus,
27
+ enumLawType: () => enumLawType,
28
+ enumProposalStatus: () => enumProposalStatus,
34
29
  enumSpecies: () => enumSpecies,
35
- enumUnitType: () => enumUnitType,
30
+ enumStructureType: () => enumStructureType,
31
+ enumTreatyStatus: () => enumTreatyStatus,
36
32
  everything: () => everything,
37
33
  generateMutationOp: () => generateMutationOp,
38
34
  generateQueryOp: () => generateQueryOp,
39
35
  generateSubscriptionOp: () => generateSubscriptionOp,
40
- isClan: () => isClan,
41
- isClanApplication: () => isClanApplication,
42
- isClanPact: () => isClanPact,
36
+ isActionQueueEntry: () => isActionQueueEntry,
43
37
  isClaw: () => isClaw,
44
38
  isClawSummary: () => isClawSummary,
39
+ isColony: () => isColony,
45
40
  isCreateClawPayload: () => isCreateClawPayload,
46
41
  isGameEvent: () => isGameEvent,
47
42
  isGameStateInfo: () => isGameStateInfo,
43
+ isLawModel: () => isLawModel,
44
+ isMessageModel: () => isMessageModel,
48
45
  isMutation: () => isMutation,
49
46
  isPlayer: () => isPlayer,
50
47
  isPlayerProfile: () => isPlayerProfile,
51
- isPool: () => isPool,
52
48
  isPrivateClaw: () => isPrivateClaw,
49
+ isProposalModel: () => isProposalModel,
53
50
  isPublicClaw: () => isPublicClaw,
54
51
  isQuery: () => isQuery,
55
52
  isRegenerateKeyPayload: () => isRegenerateKeyPayload,
56
53
  isRelationship: () => isRelationship,
57
- isSiege: () => isSiege,
58
- isSpyDeployment: () => isSpyDeployment,
59
- isStandingOrder: () => isStandingOrder,
54
+ isStructureModel: () => isStructureModel,
60
55
  isSubscription: () => isSubscription,
61
- isUnit: () => isUnit,
62
- isWhisper: () => isWhisper
56
+ isTile: () => isTile,
57
+ isTreatyModel: () => isTreatyModel
63
58
  });
64
59
  module.exports = __toCommonJS(index_exports);
65
60
 
@@ -614,1295 +609,885 @@ var resolveConcreteTypes = (linkedTypeMap) => {
614
609
  // generated/types.ts
615
610
  var types_default = {
616
611
  "scalars": [
617
- 0,
618
- 3,
619
- 7,
612
+ 1,
613
+ 2,
620
614
  8,
615
+ 9,
616
+ 12,
617
+ 13,
621
618
  14,
619
+ 15,
622
620
  17,
623
- 20,
624
- 21,
625
- 22,
626
- 23,
627
- 25,
621
+ 24,
628
622
  29,
629
623
  30,
630
- 40,
631
- 41,
632
- 44,
633
- 47
624
+ 32,
625
+ 37
634
626
  ],
635
627
  "types": {
636
- "ApplicationStatus": {},
637
- "ApplyToClanInput": {
638
- "clan_id": [
639
- 44
640
- ],
641
- "motivation_text": [
642
- 44
643
- ],
644
- "__typename": [
645
- 44
646
- ]
647
- },
648
- "AssignUnitInput": {
649
- "pool_id": [
650
- 44
651
- ],
652
- "unit_ids": [
653
- 44
654
- ],
655
- "__typename": [
656
- 44
657
- ]
658
- },
659
- "Boolean": {},
660
- "Clan": {
661
- "clan_leader": [
662
- 33
663
- ],
664
- "created_at": [
665
- 14
666
- ],
667
- "created_at_tick": [
668
- 22
669
- ],
670
- "description": [
671
- 44
672
- ],
673
- "governance_type": [
674
- 20
675
- ],
676
- "id": [
677
- 21
678
- ],
679
- "leader_claw_id": [
680
- 44
681
- ],
682
- "membership_policy": [
683
- 23
684
- ],
685
- "name": [
686
- 44
687
- ],
688
- "status": [
689
- 8
690
- ],
691
- "tax_rate": [
692
- 17
693
- ],
694
- "treasury_food": [
695
- 17
696
- ],
697
- "treasury_minerals": [
698
- 17
699
- ],
700
- "__typename": [
701
- 44
702
- ]
703
- },
704
- "ClanApplication": {
705
- "clan_id": [
706
- 44
707
- ],
628
+ "ActionQueueEntry": {
708
629
  "claw_id": [
709
- 44
630
+ 30
710
631
  ],
711
632
  "created_at": [
712
- 14
633
+ 8
713
634
  ],
714
635
  "id": [
715
- 21
636
+ 13
716
637
  ],
717
- "motivation_text": [
718
- 44
719
- ],
720
- "status": [
721
- 0
638
+ "payload": [
639
+ 15
722
640
  ],
723
- "__typename": [
724
- 44
725
- ]
726
- },
727
- "ClanPact": {
728
- "created_at": [
641
+ "tick": [
729
642
  14
730
643
  ],
731
- "duration_ticks": [
732
- 22
733
- ],
734
- "id": [
735
- 21
736
- ],
737
- "proposer_clan_id": [
738
- 44
739
- ],
740
- "status": [
741
- 25
742
- ],
743
- "target_clan_id": [
744
- 44
745
- ],
746
- "ticks_remaining": [
747
- 22
748
- ],
749
- "type": [
750
- 7
751
- ],
752
644
  "__typename": [
753
- 44
645
+ 30
754
646
  ]
755
647
  },
756
- "ClanPactType": {},
757
- "ClanStatus": {},
648
+ "Biome": {},
649
+ "Boolean": {},
758
650
  "Claw": {
759
- "aggression": [
760
- 17
651
+ "algae": [
652
+ 9
761
653
  ],
762
654
  "bio": [
763
- 44
655
+ 30
656
+ ],
657
+ "colony_id": [
658
+ 30
659
+ ],
660
+ "coral": [
661
+ 9
764
662
  ],
765
663
  "created_at": [
766
- 14
664
+ 8
767
665
  ],
768
- "deception": [
769
- 17
666
+ "energy": [
667
+ 9
770
668
  ],
771
- "food": [
772
- 17
669
+ "equipment": [
670
+ 30
773
671
  ],
774
672
  "id": [
775
- 21
673
+ 13
776
674
  ],
777
675
  "is_alive": [
778
- 3
676
+ 2
779
677
  ],
780
- "is_molting": [
781
- 3
678
+ "kelp": [
679
+ 9
782
680
  ],
783
681
  "last_ping_at": [
784
- 14
785
- ],
786
- "level": [
787
- 22
788
- ],
789
- "loyalty": [
790
- 17
682
+ 8
791
683
  ],
792
- "minerals": [
793
- 17
684
+ "name": [
685
+ 30
794
686
  ],
795
- "molt_ticks_remaining": [
796
- 22
687
+ "obsidian": [
688
+ 9
797
689
  ],
798
- "name": [
799
- 44
690
+ "pearls": [
691
+ 9
800
692
  ],
801
693
  "profile_emoji": [
802
- 44
694
+ 30
803
695
  ],
804
- "scent": [
805
- 22
696
+ "q": [
697
+ 14
806
698
  ],
807
- "shell_tier": [
808
- 22
699
+ "r": [
700
+ 14
809
701
  ],
810
- "soft_shell_curse_ticks_remaining": [
811
- 22
702
+ "sea_moss": [
703
+ 9
812
704
  ],
813
705
  "species": [
814
- 41
815
- ],
816
- "territoriality": [
817
- 17
706
+ 29
818
707
  ],
819
708
  "webhook_url": [
820
- 44
821
- ],
822
- "xp": [
823
- 22
709
+ 30
824
710
  ],
825
711
  "__typename": [
826
- 44
712
+ 30
827
713
  ]
828
714
  },
829
715
  "ClawSummary": {
830
716
  "id": [
831
- 21
717
+ 13
832
718
  ],
833
719
  "is_alive": [
834
- 3
720
+ 2
835
721
  ],
836
722
  "name": [
837
- 44
723
+ 30
838
724
  ],
839
725
  "species": [
840
- 44
726
+ 30
841
727
  ],
842
728
  "__typename": [
843
- 44
729
+ 30
844
730
  ]
845
731
  },
846
- "CreateClanInput": {
847
- "description": [
848
- 44
732
+ "Colony": {
733
+ "charter": [
734
+ 30
849
735
  ],
850
- "governance_type": [
851
- 20
736
+ "created_at": [
737
+ 8
852
738
  ],
853
- "membership_policy": [
854
- 23
739
+ "founded_at_tick": [
740
+ 14
741
+ ],
742
+ "governance": [
743
+ 12
744
+ ],
745
+ "id": [
746
+ 13
747
+ ],
748
+ "leader_claw_id": [
749
+ 30
855
750
  ],
856
751
  "name": [
857
- 44
752
+ 30
858
753
  ],
859
- "tax_rate": [
860
- 17
754
+ "treasury_algae": [
755
+ 9
756
+ ],
757
+ "treasury_coral": [
758
+ 9
759
+ ],
760
+ "treasury_kelp": [
761
+ 9
762
+ ],
763
+ "treasury_obsidian": [
764
+ 9
765
+ ],
766
+ "treasury_pearls": [
767
+ 9
768
+ ],
769
+ "treasury_sea_moss": [
770
+ 9
861
771
  ],
862
772
  "__typename": [
863
- 44
773
+ 30
864
774
  ]
865
775
  },
866
776
  "CreateClawInput": {
867
- "aggression": [
868
- 17
869
- ],
870
777
  "bio": [
871
- 44
872
- ],
873
- "deception": [
874
- 17
875
- ],
876
- "loyalty": [
877
- 17
778
+ 30
878
779
  ],
879
780
  "name": [
880
- 44
781
+ 30
881
782
  ],
882
783
  "profile_emoji": [
883
- 44
784
+ 30
884
785
  ],
885
786
  "species": [
886
- 41
887
- ],
888
- "territoriality": [
889
- 17
787
+ 29
890
788
  ],
891
789
  "__typename": [
892
- 44
790
+ 30
893
791
  ]
894
792
  },
895
793
  "CreateClawPayload": {
896
794
  "api_key": [
897
- 44
795
+ 30
898
796
  ],
899
797
  "claw": [
900
- 9
798
+ 3
901
799
  ],
902
800
  "__typename": [
903
- 44
801
+ 30
904
802
  ]
905
803
  },
906
804
  "DateTime": {},
907
- "DeploySpyInput": {
908
- "target_claw_id": [
909
- 44
910
- ],
911
- "__typename": [
912
- 44
913
- ]
914
- },
915
- "DismissUnitInput": {
916
- "count": [
917
- 22
918
- ],
919
- "unit_id": [
920
- 44
921
- ],
922
- "__typename": [
923
- 44
924
- ]
925
- },
926
805
  "Float": {},
927
806
  "GameEvent": {
928
- "clan_id": [
929
- 44
930
- ],
931
807
  "claw_id": [
932
- 44
808
+ 30
809
+ ],
810
+ "colony_id": [
811
+ 30
933
812
  ],
934
813
  "data": [
935
- 44
814
+ 30
936
815
  ],
937
816
  "event_type": [
938
- 44
817
+ 30
939
818
  ],
940
819
  "id": [
941
- 21
942
- ],
943
- "pool_id": [
944
- 44
945
- ],
946
- "region_id": [
947
- 22
820
+ 13
948
821
  ],
949
822
  "target_claw_id": [
950
- 44
823
+ 30
951
824
  ],
952
825
  "tick": [
953
- 22
826
+ 14
827
+ ],
828
+ "tile_q": [
829
+ 14
830
+ ],
831
+ "tile_r": [
832
+ 14
954
833
  ],
955
834
  "__typename": [
956
- 44
835
+ 30
957
836
  ]
958
837
  },
959
838
  "GameStateInfo": {
960
839
  "current_cycle": [
961
- 22
840
+ 14
962
841
  ],
963
842
  "current_tick": [
964
- 22
843
+ 14
965
844
  ],
966
845
  "next_tick_at": [
967
- 14
846
+ 8
968
847
  ],
969
848
  "__typename": [
970
- 44
849
+ 30
971
850
  ]
972
851
  },
973
852
  "GovernanceType": {},
974
853
  "ID": {},
975
854
  "Int": {},
976
- "MembershipPolicy": {},
977
- "Mutation": {
978
- "acceptClanPact": [
979
- 6,
980
- {
981
- "pactId": [
982
- 44,
983
- "String!"
984
- ]
985
- }
855
+ "JSON": {},
856
+ "LawModel": {
857
+ "colony_id": [
858
+ 30
986
859
  ],
987
- "applyToClan": [
988
- 5,
989
- {
990
- "input": [
991
- 1,
992
- "ApplyToClanInput!"
993
- ]
994
- }
860
+ "enacted_at_tick": [
861
+ 14
995
862
  ],
996
- "assign_units": [
997
- 46,
998
- {
999
- "input": [
1000
- 2,
1001
- "AssignUnitInput!"
1002
- ]
1003
- }
863
+ "id": [
864
+ 13
1004
865
  ],
1005
- "breakClanPact": [
1006
- 6,
1007
- {
1008
- "pactId": [
1009
- 44,
1010
- "String!"
1011
- ]
1012
- }
866
+ "repealed": [
867
+ 2
1013
868
  ],
1014
- "cancelApplication": [
1015
- 5,
1016
- {
1017
- "applicationId": [
1018
- 44,
1019
- "String!"
1020
- ]
1021
- }
869
+ "text": [
870
+ 30
1022
871
  ],
1023
- "claimPool": [
1024
- 28,
1025
- {
1026
- "pool_id": [
1027
- 44,
1028
- "String!"
1029
- ]
1030
- }
872
+ "type": [
873
+ 17
1031
874
  ],
1032
- "createClan": [
1033
- 4,
1034
- {
1035
- "input": [
1036
- 11,
1037
- "CreateClanInput!"
1038
- ]
1039
- }
875
+ "__typename": [
876
+ 30
877
+ ]
878
+ },
879
+ "LawType": {},
880
+ "MessageModel": {
881
+ "channel": [
882
+ 30
883
+ ],
884
+ "created_at": [
885
+ 8
1040
886
  ],
887
+ "id": [
888
+ 13
889
+ ],
890
+ "q": [
891
+ 14
892
+ ],
893
+ "r": [
894
+ 14
895
+ ],
896
+ "sender_id": [
897
+ 30
898
+ ],
899
+ "text": [
900
+ 30
901
+ ],
902
+ "tick": [
903
+ 14
904
+ ],
905
+ "__typename": [
906
+ 30
907
+ ]
908
+ },
909
+ "Mutation": {
1041
910
  "createClaw": [
1042
- 13,
911
+ 7,
1043
912
  {
1044
913
  "input": [
1045
- 12,
914
+ 6,
1046
915
  "CreateClawInput!"
1047
916
  ]
1048
917
  }
1049
918
  ],
1050
- "deploy_spy": [
1051
- 42,
1052
- {
1053
- "input": [
1054
- 15,
1055
- "DeploySpyInput!"
1056
- ]
1057
- }
1058
- ],
1059
919
  "disableClaw": [
1060
- 31,
920
+ 22,
1061
921
  {
1062
922
  "clawId": [
1063
- 44,
923
+ 30,
1064
924
  "String!"
1065
925
  ]
1066
926
  }
1067
927
  ],
1068
- "dismiss_units": [
1069
- 46,
1070
- {
1071
- "input": [
1072
- 16,
1073
- "DismissUnitInput!"
1074
- ]
1075
- }
1076
- ],
1077
- "dissolveClan": [
1078
- 4
1079
- ],
1080
928
  "enableClaw": [
1081
- 31,
1082
- {
1083
- "clawId": [
1084
- 44,
1085
- "String!"
1086
- ]
1087
- }
1088
- ],
1089
- "initiate_siege": [
1090
- 39,
1091
- {
1092
- "attacker_pool_id": [
1093
- 44,
1094
- "String!"
1095
- ],
1096
- "defender_pool_id": [
1097
- 44,
1098
- "String!"
1099
- ]
1100
- }
1101
- ],
1102
- "kickMember": [
1103
- 9,
929
+ 22,
1104
930
  {
1105
931
  "clawId": [
1106
- 44,
932
+ 30,
1107
933
  "String!"
1108
934
  ]
1109
935
  }
1110
936
  ],
1111
- "leaveClan": [
1112
- 9
1113
- ],
1114
937
  "ping": [
1115
- 3
1116
- ],
1117
- "proposeClanPact": [
1118
- 6,
1119
- {
1120
- "input": [
1121
- 32,
1122
- "ProposeClanPactInput!"
1123
- ]
1124
- }
1125
- ],
1126
- "recruit_units": [
1127
- 46,
1128
- {
1129
- "input": [
1130
- 35,
1131
- "RecruitUnitInput!"
1132
- ]
1133
- }
938
+ 2
1134
939
  ],
1135
940
  "regenerateClawKey": [
1136
- 36,
941
+ 27,
1137
942
  {
1138
943
  "clawId": [
1139
- 44,
944
+ 30,
1140
945
  "String!"
1141
946
  ]
1142
947
  }
1143
948
  ],
1144
- "reviewApplication": [
1145
- 5,
1146
- {
1147
- "accept": [
1148
- 3,
1149
- "Boolean!"
1150
- ],
1151
- "applicationId": [
1152
- 44,
1153
- "String!"
1154
- ]
1155
- }
949
+ "signIn": [
950
+ 20
1156
951
  ],
1157
- "send_whisper": [
1158
- 51,
952
+ "submitAction": [
953
+ 0,
1159
954
  {
1160
955
  "input": [
1161
- 38,
1162
- "SendWhisperInput!"
956
+ 33,
957
+ "SubmitActionInput!"
1163
958
  ]
1164
959
  }
1165
960
  ],
1166
- "signIn": [
1167
- 26
1168
- ],
1169
961
  "updateClaw": [
1170
- 9,
962
+ 3,
1171
963
  {
1172
964
  "clawId": [
1173
- 44,
965
+ 30,
1174
966
  "String!"
1175
967
  ],
1176
968
  "input": [
1177
- 48,
969
+ 38,
1178
970
  "UpdateClawInput!"
1179
971
  ]
1180
972
  }
1181
973
  ],
1182
- "updateDirectives": [
1183
- 43,
1184
- {
1185
- "input": [
1186
- 49,
1187
- "UpdateDirectivesInput!"
1188
- ]
1189
- }
1190
- ],
1191
974
  "updatePlayer": [
1192
- 26,
975
+ 20,
1193
976
  {
1194
977
  "input": [
1195
- 50,
978
+ 39,
1196
979
  "UpdatePlayerInput!"
1197
980
  ]
1198
981
  }
1199
982
  ],
1200
- "withdraw_siege": [
1201
- 39,
1202
- {
1203
- "siege_id": [
1204
- 44,
1205
- "String!"
1206
- ]
1207
- }
1208
- ],
1209
983
  "__typename": [
1210
- 44
984
+ 30
1211
985
  ]
1212
986
  },
1213
- "PactStatus": {},
1214
987
  "Player": {
1215
988
  "avatar_url": [
1216
- 44
989
+ 30
1217
990
  ],
1218
991
  "ban_reason": [
1219
- 44
992
+ 30
1220
993
  ],
1221
994
  "banned_at": [
1222
- 14
995
+ 8
1223
996
  ],
1224
997
  "created_at": [
1225
- 14
998
+ 8
1226
999
  ],
1227
1000
  "display_name": [
1228
- 44
1001
+ 30
1229
1002
  ],
1230
1003
  "email": [
1231
- 44
1004
+ 30
1232
1005
  ],
1233
1006
  "id": [
1234
- 21
1007
+ 13
1235
1008
  ],
1236
1009
  "onboarding_finalized_at": [
1237
- 14
1010
+ 8
1238
1011
  ],
1239
1012
  "__typename": [
1240
- 44
1013
+ 30
1241
1014
  ]
1242
1015
  },
1243
1016
  "PlayerProfile": {
1244
1017
  "claws": [
1245
- 10
1018
+ 4
1246
1019
  ],
1247
1020
  "player": [
1248
- 26
1249
- ],
1250
- "__typename": [
1251
- 44
1252
- ]
1253
- },
1254
- "Pool": {
1255
- "fortification": [
1256
- 22
1257
- ],
1258
- "id": [
1259
- 21
1260
- ],
1261
- "is_spawn_zone": [
1262
- 3
1263
- ],
1264
- "owner_clan_id": [
1265
- 44
1266
- ],
1267
- "q": [
1268
- 22
1269
- ],
1270
- "r": [
1271
- 22
1272
- ],
1273
- "region_id": [
1274
- 22
1275
- ],
1276
- "type": [
1277
- 29
1021
+ 20
1278
1022
  ],
1279
1023
  "__typename": [
1280
- 44
1024
+ 30
1281
1025
  ]
1282
1026
  },
1283
- "PoolType": {},
1284
- "PrimaryGoal": {},
1285
1027
  "PrivateClaw": {
1286
- "aggression": [
1287
- 17
1028
+ "algae": [
1029
+ 9
1288
1030
  ],
1289
1031
  "bio": [
1290
- 44
1032
+ 30
1033
+ ],
1034
+ "colony_id": [
1035
+ 30
1036
+ ],
1037
+ "coral": [
1038
+ 9
1291
1039
  ],
1292
1040
  "created_at": [
1293
- 14
1041
+ 8
1294
1042
  ],
1295
- "deception": [
1296
- 17
1043
+ "energy": [
1044
+ 9
1297
1045
  ],
1298
- "food": [
1299
- 17
1046
+ "equipment": [
1047
+ 30
1300
1048
  ],
1301
1049
  "id": [
1302
- 21
1050
+ 13
1303
1051
  ],
1304
1052
  "is_alive": [
1305
- 3
1053
+ 2
1306
1054
  ],
1307
- "is_molting": [
1308
- 3
1055
+ "kelp": [
1056
+ 9
1309
1057
  ],
1310
1058
  "last_ping_at": [
1311
- 14
1312
- ],
1313
- "level": [
1314
- 22
1315
- ],
1316
- "loyalty": [
1317
- 17
1059
+ 8
1318
1060
  ],
1319
- "minerals": [
1320
- 17
1061
+ "name": [
1062
+ 30
1321
1063
  ],
1322
- "molt_ticks_remaining": [
1323
- 22
1064
+ "obsidian": [
1065
+ 9
1324
1066
  ],
1325
- "name": [
1326
- 44
1067
+ "pearls": [
1068
+ 9
1327
1069
  ],
1328
1070
  "profile_emoji": [
1329
- 44
1071
+ 30
1330
1072
  ],
1331
- "scent": [
1332
- 22
1073
+ "q": [
1074
+ 14
1333
1075
  ],
1334
- "shell_tier": [
1335
- 22
1076
+ "r": [
1077
+ 14
1336
1078
  ],
1337
- "soft_shell_curse_ticks_remaining": [
1338
- 22
1079
+ "sea_moss": [
1080
+ 9
1339
1081
  ],
1340
1082
  "species": [
1341
- 41
1342
- ],
1343
- "territoriality": [
1344
- 17
1083
+ 29
1345
1084
  ],
1346
1085
  "webhook_url": [
1347
- 44
1348
- ],
1349
- "xp": [
1350
- 22
1086
+ 30
1351
1087
  ],
1352
1088
  "__typename": [
1353
- 44
1089
+ 30
1354
1090
  ]
1355
1091
  },
1356
- "ProposeClanPactInput": {
1357
- "duration_ticks": [
1358
- 22
1092
+ "ProposalModel": {
1093
+ "colony_id": [
1094
+ 30
1359
1095
  ],
1360
- "target_clan_id": [
1361
- 44
1096
+ "created_at_tick": [
1097
+ 14
1098
+ ],
1099
+ "id": [
1100
+ 13
1101
+ ],
1102
+ "proposer_claw_id": [
1103
+ 30
1104
+ ],
1105
+ "resolved_at_tick": [
1106
+ 14
1107
+ ],
1108
+ "status": [
1109
+ 24
1110
+ ],
1111
+ "text": [
1112
+ 30
1362
1113
  ],
1363
1114
  "type": [
1364
- 7
1115
+ 30
1365
1116
  ],
1366
1117
  "__typename": [
1367
- 44
1118
+ 30
1368
1119
  ]
1369
1120
  },
1121
+ "ProposalStatus": {},
1370
1122
  "PublicClaw": {
1371
- "aggression": [
1372
- 17
1373
- ],
1374
1123
  "bio": [
1375
- 44
1124
+ 30
1376
1125
  ],
1377
- "created_at": [
1378
- 14
1126
+ "colony_id": [
1127
+ 30
1379
1128
  ],
1380
- "deception": [
1381
- 17
1129
+ "created_at": [
1130
+ 8
1382
1131
  ],
1383
- "food": [
1384
- 17
1132
+ "energy": [
1133
+ 9
1385
1134
  ],
1386
1135
  "id": [
1387
- 21
1136
+ 13
1388
1137
  ],
1389
1138
  "is_alive": [
1390
- 3
1391
- ],
1392
- "is_molting": [
1393
- 3
1139
+ 2
1394
1140
  ],
1395
1141
  "last_ping_at": [
1396
- 14
1397
- ],
1398
- "level": [
1399
- 22
1400
- ],
1401
- "loyalty": [
1402
- 17
1403
- ],
1404
- "minerals": [
1405
- 17
1406
- ],
1407
- "molt_ticks_remaining": [
1408
- 22
1142
+ 8
1409
1143
  ],
1410
1144
  "name": [
1411
- 44
1145
+ 30
1412
1146
  ],
1413
1147
  "profile_emoji": [
1414
- 44
1415
- ],
1416
- "scent": [
1417
- 22
1148
+ 30
1418
1149
  ],
1419
- "shell_tier": [
1420
- 22
1150
+ "q": [
1151
+ 14
1421
1152
  ],
1422
- "soft_shell_curse_ticks_remaining": [
1423
- 22
1153
+ "r": [
1154
+ 14
1424
1155
  ],
1425
1156
  "species": [
1426
- 41
1427
- ],
1428
- "territoriality": [
1429
- 17
1430
- ],
1431
- "xp": [
1432
- 22
1157
+ 29
1433
1158
  ],
1434
1159
  "__typename": [
1435
- 44
1160
+ 30
1436
1161
  ]
1437
1162
  },
1438
1163
  "Query": {
1439
- "clan": [
1440
- 4,
1164
+ "claw": [
1165
+ 25,
1441
1166
  {
1442
1167
  "id": [
1443
- 44,
1168
+ 30,
1444
1169
  "String!"
1445
1170
  ]
1446
1171
  }
1447
1172
  ],
1448
- "clanApplications": [
1173
+ "colonies": [
1449
1174
  5
1450
1175
  ],
1451
- "clanMembers": [
1452
- 33,
1453
- {
1454
- "clanId": [
1455
- 44,
1456
- "String!"
1457
- ],
1458
- "limit": [
1459
- 22,
1460
- "Int!"
1461
- ],
1462
- "offset": [
1463
- 22,
1464
- "Int!"
1465
- ]
1466
- }
1467
- ],
1468
- "clanPacts": [
1469
- 6
1470
- ],
1471
- "clans": [
1472
- 4
1473
- ],
1474
- "claw": [
1475
- 33,
1176
+ "colony": [
1177
+ 5,
1476
1178
  {
1477
1179
  "id": [
1478
- 44,
1479
- "String!"
1480
- ]
1481
- }
1482
- ],
1483
- "clawUnits": [
1484
- 46,
1485
- {
1486
- "claw_id": [
1487
- 44,
1180
+ 30,
1488
1181
  "String!"
1489
1182
  ]
1490
1183
  }
1491
1184
  ],
1492
1185
  "countClaws": [
1493
- 22
1186
+ 14
1494
1187
  ],
1495
1188
  "events": [
1496
- 18,
1189
+ 10,
1497
1190
  {
1498
- "clanId": [
1499
- 44
1500
- ],
1501
1191
  "clawId": [
1502
- 44
1192
+ 30
1193
+ ],
1194
+ "colonyId": [
1195
+ 30
1503
1196
  ],
1504
1197
  "eventType": [
1505
- 44
1198
+ 30
1506
1199
  ],
1507
1200
  "limit": [
1508
- 22,
1201
+ 14,
1509
1202
  "Int!"
1510
1203
  ],
1511
1204
  "offset": [
1512
- 22,
1205
+ 14,
1513
1206
  "Int!"
1514
1207
  ],
1515
- "regionId": [
1516
- 22
1517
- ],
1518
1208
  "tick": [
1519
- 22
1209
+ 14
1520
1210
  ]
1521
1211
  }
1522
1212
  ],
1523
1213
  "gameState": [
1524
- 19
1214
+ 11
1215
+ ],
1216
+ "laws": [
1217
+ 16,
1218
+ {
1219
+ "colonyId": [
1220
+ 30,
1221
+ "String!"
1222
+ ]
1223
+ }
1224
+ ],
1225
+ "me": [
1226
+ 21
1525
1227
  ],
1526
- "inbox": [
1527
- 51,
1228
+ "messages": [
1229
+ 18,
1528
1230
  {
1529
1231
  "limit": [
1530
- 22,
1232
+ 14,
1531
1233
  "Int!"
1532
1234
  ],
1533
1235
  "offset": [
1534
- 22,
1236
+ 14,
1535
1237
  "Int!"
1536
1238
  ]
1537
1239
  }
1538
1240
  ],
1539
- "intercepted_whispers": [
1540
- 51
1541
- ],
1542
- "me": [
1543
- 27
1544
- ],
1545
- "myApplications": [
1546
- 5
1547
- ],
1548
- "myClan": [
1549
- 4
1241
+ "myActions": [
1242
+ 0,
1243
+ {
1244
+ "tick": [
1245
+ 14
1246
+ ]
1247
+ }
1550
1248
  ],
1551
1249
  "myClaw": [
1552
- 31,
1250
+ 22,
1553
1251
  {
1554
1252
  "id": [
1555
- 44,
1253
+ 30,
1556
1254
  "String!"
1557
1255
  ]
1558
1256
  }
1559
1257
  ],
1560
1258
  "myClaws": [
1561
- 31
1562
- ],
1563
- "myDirectives": [
1564
- 43
1565
- ],
1566
- "myProfile": [
1567
- 9
1259
+ 22
1568
1260
  ],
1569
1261
  "myRelationships": [
1570
- 37
1571
- ],
1572
- "my_sieges": [
1573
- 39
1262
+ 28
1574
1263
  ],
1575
- "my_spy_deployments": [
1576
- 42
1577
- ],
1578
- "my_units": [
1579
- 46
1264
+ "proposals": [
1265
+ 23,
1266
+ {
1267
+ "colonyId": [
1268
+ 30,
1269
+ "String!"
1270
+ ]
1271
+ }
1580
1272
  ],
1581
- "outbox": [
1582
- 51,
1273
+ "sentMessages": [
1274
+ 18,
1583
1275
  {
1584
1276
  "limit": [
1585
- 22,
1277
+ 14,
1586
1278
  "Int!"
1587
1279
  ],
1588
1280
  "offset": [
1589
- 22,
1281
+ 14,
1590
1282
  "Int!"
1591
1283
  ]
1592
1284
  }
1593
1285
  ],
1594
- "pool": [
1595
- 28,
1596
- {
1597
- "id": [
1598
- 44,
1599
- "String!"
1600
- ]
1601
- }
1602
- ],
1603
- "poolUnits": [
1604
- 46,
1605
- {
1606
- "pool_id": [
1607
- 44,
1608
- "String!"
1609
- ]
1610
- }
1286
+ "structures": [
1287
+ 31
1611
1288
  ],
1612
- "pools": [
1613
- 28,
1289
+ "tile": [
1290
+ 35,
1614
1291
  {
1615
- "clawId": [
1616
- 44
1292
+ "q": [
1293
+ 14,
1294
+ "Int!"
1295
+ ],
1296
+ "r": [
1297
+ 14,
1298
+ "Int!"
1617
1299
  ]
1618
1300
  }
1619
1301
  ],
1620
- "siege": [
1621
- 39,
1302
+ "tilesInRange": [
1303
+ 35,
1622
1304
  {
1623
- "id": [
1624
- 44,
1625
- "String!"
1305
+ "q": [
1306
+ 14,
1307
+ "Int!"
1308
+ ],
1309
+ "r": [
1310
+ 14,
1311
+ "Int!"
1312
+ ],
1313
+ "radius": [
1314
+ 14,
1315
+ "Int!"
1626
1316
  ]
1627
1317
  }
1628
1318
  ],
1629
- "sieges": [
1630
- 39,
1319
+ "treaties": [
1320
+ 36,
1631
1321
  {
1632
- "pool_id": [
1633
- 44,
1322
+ "colonyId": [
1323
+ 30,
1634
1324
  "String!"
1635
1325
  ]
1636
1326
  }
1637
1327
  ],
1638
- "__typename": [
1639
- 44
1640
- ]
1641
- },
1642
- "RecruitUnitInput": {
1643
- "count": [
1644
- 22
1645
- ],
1646
- "type": [
1647
- 47
1328
+ "whoAmI": [
1329
+ 3
1648
1330
  ],
1649
1331
  "__typename": [
1650
- 44
1332
+ 30
1651
1333
  ]
1652
1334
  },
1653
1335
  "RegenerateKeyPayload": {
1654
1336
  "api_key": [
1655
- 44
1337
+ 30
1656
1338
  ],
1657
1339
  "__typename": [
1658
- 44
1340
+ 30
1659
1341
  ]
1660
1342
  },
1661
1343
  "Relationship": {
1662
1344
  "battles": [
1663
- 22
1664
- ],
1665
- "betrayals": [
1666
- 22
1345
+ 14
1667
1346
  ],
1668
1347
  "claw_id": [
1669
- 44
1348
+ 30
1670
1349
  ],
1671
1350
  "encounters": [
1672
- 22
1351
+ 14
1673
1352
  ],
1674
1353
  "id": [
1675
- 21
1354
+ 13
1676
1355
  ],
1677
1356
  "other_claw_id": [
1678
- 44
1357
+ 30
1679
1358
  ],
1680
1359
  "trust_score": [
1681
- 17
1682
- ],
1683
- "__typename": [
1684
- 44
1685
- ]
1686
- },
1687
- "SendWhisperInput": {
1688
- "content": [
1689
- 44
1690
- ],
1691
- "receiver_id": [
1692
- 44
1693
- ],
1694
- "__typename": [
1695
- 44
1696
- ]
1697
- },
1698
- "Siege": {
1699
- "attacker_clan_id": [
1700
- 44
1701
- ],
1702
- "attacker_claw_id": [
1703
- 44
1704
- ],
1705
- "attacker_pool_id": [
1706
- 44
1707
- ],
1708
- "created_at": [
1709
- 14
1710
- ],
1711
- "defender_clan_id": [
1712
- 44
1713
- ],
1714
- "defender_pool_id": [
1715
- 44
1716
- ],
1717
- "ended_at_tick": [
1718
- 22
1719
- ],
1720
- "id": [
1721
- 21
1722
- ],
1723
- "started_at_tick": [
1724
- 22
1725
- ],
1726
- "status": [
1727
- 40
1360
+ 9
1728
1361
  ],
1729
1362
  "__typename": [
1730
- 44
1363
+ 30
1731
1364
  ]
1732
1365
  },
1733
- "SiegeStatus": {},
1734
1366
  "Species": {},
1735
- "SpyDeployment": {
1367
+ "String": {},
1368
+ "StructureModel": {
1736
1369
  "created_at": [
1737
- 14
1370
+ 8
1738
1371
  ],
1739
1372
  "id": [
1740
- 21
1373
+ 13
1741
1374
  ],
1742
- "is_detected": [
1743
- 3
1375
+ "inscription": [
1376
+ 30
1744
1377
  ],
1745
1378
  "owner_claw_id": [
1746
- 44
1379
+ 30
1747
1380
  ],
1748
- "started_at_tick": [
1749
- 22
1381
+ "tile_id": [
1382
+ 30
1750
1383
  ],
1751
- "target_claw_id": [
1752
- 44
1384
+ "type": [
1385
+ 32
1753
1386
  ],
1754
- "ticks_remaining": [
1755
- 22
1387
+ "__typename": [
1388
+ 30
1389
+ ]
1390
+ },
1391
+ "StructureType": {},
1392
+ "SubmitActionInput": {
1393
+ "payload": [
1394
+ 15
1756
1395
  ],
1757
1396
  "__typename": [
1758
- 44
1397
+ 30
1759
1398
  ]
1760
1399
  },
1761
- "StandingOrder": {
1762
- "aggression_stance": [
1763
- 17
1400
+ "Subscription": {
1401
+ "tickEvents": [
1402
+ 10
1764
1403
  ],
1765
- "claw_id": [
1766
- 44
1404
+ "__typename": [
1405
+ 30
1406
+ ]
1407
+ },
1408
+ "Tile": {
1409
+ "biome": [
1410
+ 1
1767
1411
  ],
1768
- "diplomacy_stance": [
1769
- 17
1412
+ "depletion": [
1413
+ 14
1770
1414
  ],
1771
1415
  "id": [
1772
- 21
1416
+ 13
1773
1417
  ],
1774
- "primary_goal": [
1775
- 30
1418
+ "q": [
1419
+ 14
1776
1420
  ],
1777
- "target_claw_id": [
1778
- 44
1421
+ "r": [
1422
+ 14
1779
1423
  ],
1780
- "target_region_id": [
1781
- 22
1424
+ "structure": [
1425
+ 31
1782
1426
  ],
1783
1427
  "__typename": [
1784
- 44
1428
+ 30
1785
1429
  ]
1786
1430
  },
1787
- "String": {},
1788
- "Subscription": {
1789
- "tickEvents": [
1790
- 18
1431
+ "TreatyModel": {
1432
+ "broken_at_tick": [
1433
+ 14
1791
1434
  ],
1792
- "__typename": [
1793
- 44
1794
- ]
1795
- },
1796
- "Unit": {
1797
- "claw_id": [
1798
- 44
1435
+ "colony_a_id": [
1436
+ 30
1799
1437
  ],
1800
- "count": [
1801
- 22
1438
+ "colony_b_id": [
1439
+ 30
1440
+ ],
1441
+ "created_at_tick": [
1442
+ 14
1802
1443
  ],
1803
1444
  "id": [
1804
- 21
1445
+ 13
1805
1446
  ],
1806
- "pool_id": [
1807
- 44
1447
+ "status": [
1448
+ 37
1808
1449
  ],
1809
- "type": [
1810
- 47
1450
+ "text": [
1451
+ 30
1811
1452
  ],
1812
1453
  "__typename": [
1813
- 44
1454
+ 30
1814
1455
  ]
1815
1456
  },
1816
- "UnitType": {},
1457
+ "TreatyStatus": {},
1817
1458
  "UpdateClawInput": {
1818
1459
  "bio": [
1819
- 44
1460
+ 30
1820
1461
  ],
1821
1462
  "profile_emoji": [
1822
- 44
1463
+ 30
1823
1464
  ],
1824
1465
  "webhook_url": [
1825
- 44
1826
- ],
1827
- "__typename": [
1828
- 44
1829
- ]
1830
- },
1831
- "UpdateDirectivesInput": {
1832
- "aggression_stance": [
1833
- 17
1834
- ],
1835
- "diplomacy_stance": [
1836
- 17
1837
- ],
1838
- "exclusions": [
1839
- 44
1840
- ],
1841
- "primary_goal": [
1842
1466
  30
1843
1467
  ],
1844
- "target_claw_id": [
1845
- 44
1846
- ],
1847
- "target_region_id": [
1848
- 22
1849
- ],
1850
1468
  "__typename": [
1851
- 44
1469
+ 30
1852
1470
  ]
1853
1471
  },
1854
1472
  "UpdatePlayerInput": {
1855
1473
  "avatar_url": [
1856
- 44
1474
+ 30
1857
1475
  ],
1858
1476
  "display_name": [
1859
- 44
1860
- ],
1861
- "__typename": [
1862
- 44
1863
- ]
1864
- },
1865
- "Whisper": {
1866
- "content": [
1867
- 44
1868
- ],
1869
- "created_at": [
1870
- 14
1871
- ],
1872
- "id": [
1873
- 21
1874
- ],
1875
- "receiver_id": [
1876
- 44
1877
- ],
1878
- "sender_id": [
1879
- 44
1880
- ],
1881
- "tick": [
1882
- 22
1477
+ 30
1883
1478
  ],
1884
1479
  "__typename": [
1885
- 44
1480
+ 30
1886
1481
  ]
1887
1482
  }
1888
1483
  }
1889
1484
  };
1890
1485
 
1891
1486
  // generated/schema.ts
1892
- var Clan_possibleTypes = ["Clan"];
1893
- var isClan = (obj) => {
1894
- if (!obj?.__typename) throw new Error('__typename is missing in "isClan"');
1895
- return Clan_possibleTypes.includes(obj.__typename);
1896
- };
1897
- var ClanApplication_possibleTypes = ["ClanApplication"];
1898
- var isClanApplication = (obj) => {
1899
- if (!obj?.__typename) throw new Error('__typename is missing in "isClanApplication"');
1900
- return ClanApplication_possibleTypes.includes(obj.__typename);
1901
- };
1902
- var ClanPact_possibleTypes = ["ClanPact"];
1903
- var isClanPact = (obj) => {
1904
- if (!obj?.__typename) throw new Error('__typename is missing in "isClanPact"');
1905
- return ClanPact_possibleTypes.includes(obj.__typename);
1487
+ var ActionQueueEntry_possibleTypes = ["ActionQueueEntry"];
1488
+ var isActionQueueEntry = (obj) => {
1489
+ if (!obj?.__typename) throw new Error('__typename is missing in "isActionQueueEntry"');
1490
+ return ActionQueueEntry_possibleTypes.includes(obj.__typename);
1906
1491
  };
1907
1492
  var Claw_possibleTypes = ["Claw"];
1908
1493
  var isClaw = (obj) => {
@@ -1914,6 +1499,11 @@ var isClawSummary = (obj) => {
1914
1499
  if (!obj?.__typename) throw new Error('__typename is missing in "isClawSummary"');
1915
1500
  return ClawSummary_possibleTypes.includes(obj.__typename);
1916
1501
  };
1502
+ var Colony_possibleTypes = ["Colony"];
1503
+ var isColony = (obj) => {
1504
+ if (!obj?.__typename) throw new Error('__typename is missing in "isColony"');
1505
+ return Colony_possibleTypes.includes(obj.__typename);
1506
+ };
1917
1507
  var CreateClawPayload_possibleTypes = ["CreateClawPayload"];
1918
1508
  var isCreateClawPayload = (obj) => {
1919
1509
  if (!obj?.__typename) throw new Error('__typename is missing in "isCreateClawPayload"');
@@ -1929,6 +1519,16 @@ var isGameStateInfo = (obj) => {
1929
1519
  if (!obj?.__typename) throw new Error('__typename is missing in "isGameStateInfo"');
1930
1520
  return GameStateInfo_possibleTypes.includes(obj.__typename);
1931
1521
  };
1522
+ var LawModel_possibleTypes = ["LawModel"];
1523
+ var isLawModel = (obj) => {
1524
+ if (!obj?.__typename) throw new Error('__typename is missing in "isLawModel"');
1525
+ return LawModel_possibleTypes.includes(obj.__typename);
1526
+ };
1527
+ var MessageModel_possibleTypes = ["MessageModel"];
1528
+ var isMessageModel = (obj) => {
1529
+ if (!obj?.__typename) throw new Error('__typename is missing in "isMessageModel"');
1530
+ return MessageModel_possibleTypes.includes(obj.__typename);
1531
+ };
1932
1532
  var Mutation_possibleTypes = ["Mutation"];
1933
1533
  var isMutation = (obj) => {
1934
1534
  if (!obj?.__typename) throw new Error('__typename is missing in "isMutation"');
@@ -1944,16 +1544,16 @@ var isPlayerProfile = (obj) => {
1944
1544
  if (!obj?.__typename) throw new Error('__typename is missing in "isPlayerProfile"');
1945
1545
  return PlayerProfile_possibleTypes.includes(obj.__typename);
1946
1546
  };
1947
- var Pool_possibleTypes = ["Pool"];
1948
- var isPool = (obj) => {
1949
- if (!obj?.__typename) throw new Error('__typename is missing in "isPool"');
1950
- return Pool_possibleTypes.includes(obj.__typename);
1951
- };
1952
1547
  var PrivateClaw_possibleTypes = ["PrivateClaw"];
1953
1548
  var isPrivateClaw = (obj) => {
1954
1549
  if (!obj?.__typename) throw new Error('__typename is missing in "isPrivateClaw"');
1955
1550
  return PrivateClaw_possibleTypes.includes(obj.__typename);
1956
1551
  };
1552
+ var ProposalModel_possibleTypes = ["ProposalModel"];
1553
+ var isProposalModel = (obj) => {
1554
+ if (!obj?.__typename) throw new Error('__typename is missing in "isProposalModel"');
1555
+ return ProposalModel_possibleTypes.includes(obj.__typename);
1556
+ };
1957
1557
  var PublicClaw_possibleTypes = ["PublicClaw"];
1958
1558
  var isPublicClaw = (obj) => {
1959
1559
  if (!obj?.__typename) throw new Error('__typename is missing in "isPublicClaw"');
@@ -1974,88 +1574,53 @@ var isRelationship = (obj) => {
1974
1574
  if (!obj?.__typename) throw new Error('__typename is missing in "isRelationship"');
1975
1575
  return Relationship_possibleTypes.includes(obj.__typename);
1976
1576
  };
1977
- var Siege_possibleTypes = ["Siege"];
1978
- var isSiege = (obj) => {
1979
- if (!obj?.__typename) throw new Error('__typename is missing in "isSiege"');
1980
- return Siege_possibleTypes.includes(obj.__typename);
1981
- };
1982
- var SpyDeployment_possibleTypes = ["SpyDeployment"];
1983
- var isSpyDeployment = (obj) => {
1984
- if (!obj?.__typename) throw new Error('__typename is missing in "isSpyDeployment"');
1985
- return SpyDeployment_possibleTypes.includes(obj.__typename);
1986
- };
1987
- var StandingOrder_possibleTypes = ["StandingOrder"];
1988
- var isStandingOrder = (obj) => {
1989
- if (!obj?.__typename) throw new Error('__typename is missing in "isStandingOrder"');
1990
- return StandingOrder_possibleTypes.includes(obj.__typename);
1577
+ var StructureModel_possibleTypes = ["StructureModel"];
1578
+ var isStructureModel = (obj) => {
1579
+ if (!obj?.__typename) throw new Error('__typename is missing in "isStructureModel"');
1580
+ return StructureModel_possibleTypes.includes(obj.__typename);
1991
1581
  };
1992
1582
  var Subscription_possibleTypes = ["Subscription"];
1993
1583
  var isSubscription = (obj) => {
1994
1584
  if (!obj?.__typename) throw new Error('__typename is missing in "isSubscription"');
1995
1585
  return Subscription_possibleTypes.includes(obj.__typename);
1996
1586
  };
1997
- var Unit_possibleTypes = ["Unit"];
1998
- var isUnit = (obj) => {
1999
- if (!obj?.__typename) throw new Error('__typename is missing in "isUnit"');
2000
- return Unit_possibleTypes.includes(obj.__typename);
2001
- };
2002
- var Whisper_possibleTypes = ["Whisper"];
2003
- var isWhisper = (obj) => {
2004
- if (!obj?.__typename) throw new Error('__typename is missing in "isWhisper"');
2005
- return Whisper_possibleTypes.includes(obj.__typename);
2006
- };
2007
- var enumApplicationStatus = {
2008
- ACCEPTED: "ACCEPTED",
2009
- PENDING: "PENDING",
2010
- REJECTED: "REJECTED"
1587
+ var Tile_possibleTypes = ["Tile"];
1588
+ var isTile = (obj) => {
1589
+ if (!obj?.__typename) throw new Error('__typename is missing in "isTile"');
1590
+ return Tile_possibleTypes.includes(obj.__typename);
2011
1591
  };
2012
- var enumClanPactType = {
2013
- MILITARY_ALLIANCE: "MILITARY_ALLIANCE",
2014
- NON_AGGRESSION: "NON_AGGRESSION"
1592
+ var TreatyModel_possibleTypes = ["TreatyModel"];
1593
+ var isTreatyModel = (obj) => {
1594
+ if (!obj?.__typename) throw new Error('__typename is missing in "isTreatyModel"');
1595
+ return TreatyModel_possibleTypes.includes(obj.__typename);
2015
1596
  };
2016
- var enumClanStatus = {
2017
- ACTIVE: "ACTIVE",
2018
- DISSOLVED: "DISSOLVED"
1597
+ var enumBiome = {
1598
+ ABYSSAL_DESERT: "ABYSSAL_DESERT",
1599
+ CORAL_REEF: "CORAL_REEF",
1600
+ KELP_FOREST: "KELP_FOREST",
1601
+ SANDY_FLATS: "SANDY_FLATS",
1602
+ THERMAL_VENTS: "THERMAL_VENTS",
1603
+ TIDAL_SHALLOWS: "TIDAL_SHALLOWS",
1604
+ TRENCHES: "TRENCHES",
1605
+ VOLCANIC_RIDGE: "VOLCANIC_RIDGE"
2019
1606
  };
2020
1607
  var enumGovernanceType = {
2021
- AUTOCRACY: "AUTOCRACY",
2022
1608
  COUNCIL: "COUNCIL",
2023
- DEMOCRACY: "DEMOCRACY"
2024
- };
2025
- var enumMembershipPolicy = {
2026
- APPLICATION: "APPLICATION",
2027
- CLOSED: "CLOSED",
2028
- FULLY_OPEN: "FULLY_OPEN",
2029
- INVITATION_ONLY: "INVITATION_ONLY"
2030
- };
2031
- var enumPactStatus = {
2032
- ACTIVE: "ACTIVE",
2033
- BROKEN: "BROKEN",
2034
- EXPIRED: "EXPIRED",
2035
- PROPOSED: "PROPOSED"
1609
+ DICTATOR: "DICTATOR",
1610
+ MAJORITY: "MAJORITY"
2036
1611
  };
2037
- var enumPoolType = {
2038
- CORAL_REEF: "CORAL_REEF",
2039
- DEEP_TRENCH: "DEEP_TRENCH",
2040
- KELP_FOREST: "KELP_FOREST",
2041
- SPAWNING_GROUND: "SPAWNING_GROUND",
2042
- TIDE_POOL: "TIDE_POOL",
2043
- VOLCANIC_VENT: "VOLCANIC_VENT"
1612
+ var enumLawType = {
1613
+ CUSTOM: "CUSTOM",
1614
+ ENTRY_RESTRICTION: "ENTRY_RESTRICTION",
1615
+ EXILE: "EXILE",
1616
+ NO_ATTACK: "NO_ATTACK",
1617
+ RESOURCE_SHARING: "RESOURCE_SHARING",
1618
+ TAX: "TAX"
2044
1619
  };
2045
- var enumPrimaryGoal = {
2046
- ATTACK: "ATTACK",
2047
- DEFEND: "DEFEND",
2048
- EXPAND: "EXPAND",
2049
- FORTIFY: "FORTIFY",
2050
- IDLE: "IDLE",
2051
- MOLT: "MOLT",
2052
- SPY: "SPY"
2053
- };
2054
- var enumSiegeStatus = {
2055
- ACTIVE: "ACTIVE",
2056
- FAILED: "FAILED",
2057
- WITHDRAWN: "WITHDRAWN",
2058
- WON: "WON"
1620
+ var enumProposalStatus = {
1621
+ PASSED: "PASSED",
1622
+ PENDING: "PENDING",
1623
+ REJECTED: "REJECTED"
2059
1624
  };
2060
1625
  var enumSpecies = {
2061
1626
  COCONUT_CRAB: "COCONUT_CRAB",
@@ -2065,11 +1630,19 @@ var enumSpecies = {
2065
1630
  MANTIS_SHRIMP: "MANTIS_SHRIMP",
2066
1631
  PISTOL_SHRIMP: "PISTOL_SHRIMP"
2067
1632
  };
2068
- var enumUnitType = {
2069
- BUILDER: "BUILDER",
2070
- FIGHTER: "FIGHTER",
2071
- HARVESTER: "HARVESTER",
2072
- SPY: "SPY"
1633
+ var enumStructureType = {
1634
+ FARM: "FARM",
1635
+ FORTRESS: "FORTRESS",
1636
+ MARKET: "MARKET",
1637
+ MONUMENT: "MONUMENT",
1638
+ SHELTER: "SHELTER",
1639
+ SHRINE: "SHRINE",
1640
+ TRAP: "TRAP",
1641
+ WALL: "WALL"
1642
+ };
1643
+ var enumTreatyStatus = {
1644
+ ACTIVE: "ACTIVE",
1645
+ BROKEN: "BROKEN"
2073
1646
  };
2074
1647
 
2075
1648
  // generated/index.ts
@@ -2103,42 +1676,37 @@ var generateSubscriptionOp = function(fields) {
2103
1676
  0 && (module.exports = {
2104
1677
  GenqlError,
2105
1678
  createClient,
2106
- enumApplicationStatus,
2107
- enumClanPactType,
2108
- enumClanStatus,
1679
+ enumBiome,
2109
1680
  enumGovernanceType,
2110
- enumMembershipPolicy,
2111
- enumPactStatus,
2112
- enumPoolType,
2113
- enumPrimaryGoal,
2114
- enumSiegeStatus,
1681
+ enumLawType,
1682
+ enumProposalStatus,
2115
1683
  enumSpecies,
2116
- enumUnitType,
1684
+ enumStructureType,
1685
+ enumTreatyStatus,
2117
1686
  everything,
2118
1687
  generateMutationOp,
2119
1688
  generateQueryOp,
2120
1689
  generateSubscriptionOp,
2121
- isClan,
2122
- isClanApplication,
2123
- isClanPact,
1690
+ isActionQueueEntry,
2124
1691
  isClaw,
2125
1692
  isClawSummary,
1693
+ isColony,
2126
1694
  isCreateClawPayload,
2127
1695
  isGameEvent,
2128
1696
  isGameStateInfo,
1697
+ isLawModel,
1698
+ isMessageModel,
2129
1699
  isMutation,
2130
1700
  isPlayer,
2131
1701
  isPlayerProfile,
2132
- isPool,
2133
1702
  isPrivateClaw,
1703
+ isProposalModel,
2134
1704
  isPublicClaw,
2135
1705
  isQuery,
2136
1706
  isRegenerateKeyPayload,
2137
1707
  isRelationship,
2138
- isSiege,
2139
- isSpyDeployment,
2140
- isStandingOrder,
1708
+ isStructureModel,
2141
1709
  isSubscription,
2142
- isUnit,
2143
- isWhisper
1710
+ isTile,
1711
+ isTreatyModel
2144
1712
  });