-
Notifications
You must be signed in to change notification settings - Fork 4
/
schema.gql
1794 lines (1629 loc) · 38.2 KB
/
schema.gql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -----------------------------------------------
# !!! THIS FILE WAS GENERATED BY TYPE-GRAPHQL !!!
# !!! DO NOT MODIFY THIS FILE BY YOURSELF !!!
# -----------------------------------------------
type AggregateRealmHistory {
_avg: RealmHistoryAvgAggregate
_count: RealmHistoryCountAggregate
_max: RealmHistoryMaxAggregate
_min: RealmHistoryMinAggregate
_sum: RealmHistorySumAggregate
}
"""Army"""
type Army {
arcanistHealth: Int!
arcanistQty: Int!
archerHealth: Int!
archerQty: Int!
armyId: Int!
armyPacked: Int!
bastionArrivalBlock: Int!
bastionCurrentLocation: Int!
bastionId: String
bastionPastLocation: Int!
callSign: Int!
destinationArrivalTime: Timestamp
destinationRealm: Realm
destinationRealmId: Int!
heavyCavalryHealth: Int!
heavyCavalryQty: Int!
heavyInfantryHealth: Int!
heavyInfantryQty: Int!
lastAttacked: Timestamp
level: Int!
lightCavalryHealth: Int!
lightCavalryQty: Int!
lightInfantryHealth: Int!
lightInfantryQty: Int!
longbowHealth: Int!
longbowQty: Int!
mageHealth: Int!
mageQty: Int!
orderId: Int!
realmId: Int!
xp: Int!
}
input ArmyListRelationFilter {
every: ArmyWhereInput
none: ArmyWhereInput
some: ArmyWhereInput
}
input ArmyOrderByRelationAggregateInput {
_count: SortOrder
}
input ArmyOrderByWithRelationInput {
arcanistHealth: SortOrder
arcanistQty: SortOrder
archerHealth: SortOrder
archerQty: SortOrder
armyId: SortOrder
armyPacked: SortOrder
bastionArrivalBlock: SortOrder
bastionCurrentLocation: SortOrder
bastionId: SortOrder
bastionPastLocation: SortOrder
callSign: SortOrder
destinationArrivalTime: SortOrder
destinationRealmId: SortOrder
heavyCavalryHealth: SortOrder
heavyCavalryQty: SortOrder
heavyInfantryHealth: SortOrder
heavyInfantryQty: SortOrder
lastAttacked: SortOrder
level: SortOrder
lightCavalryHealth: SortOrder
lightCavalryQty: SortOrder
lightInfantryHealth: SortOrder
lightInfantryQty: SortOrder
longbowHealth: SortOrder
longbowQty: SortOrder
mageHealth: SortOrder
mageQty: SortOrder
orderId: SortOrder
ownRealm: RealmOrderByWithRelationInput
realmId: SortOrder
xp: SortOrder
}
input ArmyWhereInput {
AND: [ArmyWhereInput!]
NOT: [ArmyWhereInput!]
OR: [ArmyWhereInput!]
arcanistHealth: IntFilter
arcanistQty: IntFilter
archerHealth: IntFilter
archerQty: IntFilter
armyId: IntFilter
armyPacked: IntFilter
bastionArrivalBlock: IntFilter
bastionCurrentLocation: IntFilter
bastionId: IntFilter
bastionPastLocation: IntFilter
callSign: IntFilter
destinationArrivalTime: DateTimeNullableFilter
destinationRealmId: IntFilter
heavyCavalryHealth: IntFilter
heavyCavalryQty: IntFilter
heavyInfantryHealth: IntFilter
heavyInfantryQty: IntFilter
lastAttacked: DateTimeNullableFilter
level: IntFilter
lightCavalryHealth: IntFilter
lightCavalryQty: IntFilter
lightInfantryHealth: IntFilter
lightInfantryQty: IntFilter
longbowHealth: IntFilter
longbowQty: IntFilter
mageHealth: IntFilter
mageQty: IntFilter
orderId: IntFilter
ownRealm: RealmRelationFilter
realmId: IntFilter
xp: IntFilter
}
type Bastion {
bastionId: Int!
latitude: Float!
locations: [BastionLocation!]!
longitude: Float!
}
"""The Bastion History Model"""
type BastionHistory {
bastionId: Int!
realmHistory: RealmHistory!
realmHistoryEventId: String!
realmHistoryEventType: String!
}
input BastionHistoryOrderByWithRelationInput {
bastionId: SortOrder
realmHistory: RealmHistoryOrderByWithRelationInput
realmHistoryEventId: SortOrder
realmHistoryEventType: SortOrder
}
input BastionHistoryRelationFilter {
is: BastionHistoryWhereInput
isNot: BastionHistoryWhereInput
}
input BastionHistoryWhereInput {
AND: [BastionHistoryWhereInput!]
NOT: [BastionHistoryWhereInput!]
OR: [BastionHistoryWhereInput!]
bastionId: IntFilter
realmHistory: RealmHistoryRelationFilter
realmHistoryEventId: StringFilter
realmHistoryEventType: StringFilter
}
type BastionLocation {
armies: [Army!]!
bastionId: Int!
defendingOrderId: Int!
locationId: Int!
takenBlock: Int!
}
input BastionLocationBastionIdLocationIdCompoundUniqueInput {
bastionId: Int!
locationId: Int!
}
input BastionLocationOrderByWithRelationInput {
bastionId: SortOrder
defendingOrderId: SortOrder
locationId: SortOrder
takenBlock: SortOrder
}
enum BastionLocationScalarFieldEnum {
bastionId
defendingOrderId
locationId
takenBlock
}
input BastionLocationWhereInput {
AND: [BastionLocationWhereInput!]
NOT: [BastionLocationWhereInput!]
OR: [BastionLocationWhereInput!]
bastionId: IntFilter
defendingOrderId: IntFilter
locationId: IntFilter
takenBlock: IntFilter
}
input BastionLocationWhereUniqueInput {
bastionId_locationId: BastionLocationBastionIdLocationIdCompoundUniqueInput
}
"""Battalion Cost Model"""
type BattalionCost {
amount: Float!
battalionId: Int!
battalionName: String!
resources: JSON!
}
"""BattalionStats"""
type BattalionStats {
battalionId: Int!
battalionName: String!
combatType: String!
requiredBuildingId: Int!
requiredBuildingName: String!
type: String!
value: Int!
}
input BoolFilter {
equals: Boolean
not: NestedBoolFilter
}
"""The Buildings Model"""
type Building {
buildingCost: BuildingCost!
buildingId: Int!
buildingIntegrity: Int!
buildingName: String!
builds: [String!]!
count: Int!
culture: Int!
food: Int!
limit: Float
limitTraitId: Int!
limitTraitName: String!
population: Int!
realmId: Float!
size: Int!
}
"""Building Cost Model"""
type BuildingCost {
amount: Float!
buildingId: Int!
buildingName: String!
resources: JSON!
}
input BuildingListRelationFilter {
every: BuildingWhereInput
none: BuildingWhereInput
some: BuildingWhereInput
}
input BuildingOrderByRelationAggregateInput {
_count: SortOrder
}
input BuildingWhereInput {
AND: [BuildingWhereInput!]
NOT: [BuildingWhereInput!]
OR: [BuildingWhereInput!]
buildingId: IntFilter
buildingIntegrity: IntFilter
builds: StringNullableListFilter
eventId: StringFilter
id: IntFilter
realm: RealmRelationFilter
realmId: IntNullableFilter
}
"""The Combat History Model"""
type CombatHistory {
attackRealmId: Int!
attackRealmOwner: String
attackSquad: JSON
attackType: Int
defendRealmId: Int!
defendRealmOwner: String
defendSquad: JSON
eventId: String!
eventType: String!
hitPoints: Int
id: Int!
outcome: Int
timestamp: Timestamp
transactionHash: String
}
"""The CombatResult Model"""
type CombatResult {
attackRealmId: Int!
defendRealmId: Int!
history: [CombatHistory!]
outcome: Int
relicLost: Int
resourcesPillaged: [ResourceAmount!]
timestamp: Timestamp
transactionHash: String!
}
input DateTimeFilter {
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeFilter
notIn: [Timestamp!]
}
input DateTimeNullableFilter {
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeNullableFilter
notIn: [Timestamp!]
}
input DateTimeWithAggregatesFilter {
_count: NestedIntFilter
_max: NestedDateTimeFilter
_min: NestedDateTimeFilter
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeWithAggregatesFilter
notIn: [Timestamp!]
}
"""The Desiege Model"""
type Desiege {
attackedTokens: Int!
defendedTokens: Int!
endBlock: Int!
eventIndexed: Float!
gameId: Int!
id: ID!
initialHealth: Int!
startBlock: Int!
startedOn: Timestamp!
winner: Int!
}
input EnumOrderTypeNullableFilter {
equals: OrderType
in: [OrderType!]
not: NestedEnumOrderTypeNullableFilter
notIn: [OrderType!]
}
input EnumOrderTypeNullableWithAggregatesFilter {
_count: NestedIntNullableFilter
_max: NestedEnumOrderTypeNullableFilter
_min: NestedEnumOrderTypeNullableFilter
equals: OrderType
in: [OrderType!]
not: NestedEnumOrderTypeNullableWithAggregatesFilter
notIn: [OrderType!]
}
input EnumRealmTraitTypeFilter {
equals: RealmTraitType
in: [RealmTraitType!]
not: NestedEnumRealmTraitTypeFilter
notIn: [RealmTraitType!]
}
type ExchangeRate {
amount: String!
buyAmount: String!
currencyReserve: String!
date: String!
hour: Int!
lpAmount: String!
sellAmount: String!
tokenId: Int!
tokenReserve: String!
}
"""Exchange Rate"""
type ExchangeRate24Hr {
amount: String!
buyAmount: String!
currencyReserve: String!
date: String!
hour: Int!
lpAmount: String!
percentChange24Hr: Float
sellAmount: String!
tokenId: Int!
tokenName: String!
tokenReserve: String!
}
input ExchangeRateDateHourTokenIdCompoundUniqueInput {
date: String!
hour: Int!
tokenId: Int!
}
input ExchangeRateOrderByWithRelationInput {
amount: SortOrder
buyAmount: SortOrder
currencyReserve: SortOrder
date: SortOrder
hour: SortOrder
lpAmount: SortOrder
sellAmount: SortOrder
tokenId: SortOrder
tokenReserve: SortOrder
}
enum ExchangeRateScalarFieldEnum {
amount
buyAmount
currencyReserve
date
hour
lpAmount
sellAmount
tokenId
tokenReserve
}
input ExchangeRateWhereInput {
AND: [ExchangeRateWhereInput!]
NOT: [ExchangeRateWhereInput!]
OR: [ExchangeRateWhereInput!]
amount: StringFilter
buyAmount: StringFilter
currencyReserve: StringFilter
date: StringFilter
hour: IntFilter
lpAmount: StringFilter
sellAmount: StringFilter
tokenId: IntFilter
tokenReserve: StringFilter
}
input ExchangeRateWhereUniqueInput {
date_hour_tokenId: ExchangeRateDateHourTokenIdCompoundUniqueInput
}
input FloatFilter {
equals: Float
gt: Float
gte: Float
in: [Float!]
lt: Float
lte: Float
not: NestedFloatFilter
notIn: [Float!]
}
"""The Food Model"""
type Food {
buildingId: Int!
buildingName: String!
createdAt: Timestamp!
harvests: Float
qty: Float
realmId: Float!
}
input IntFilter {
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntFilter
notIn: [Int!]
}
input IntNullableFilter {
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntNullableFilter
notIn: [Int!]
}
input IntWithAggregatesFilter {
_avg: NestedFloatFilter
_count: NestedIntFilter
_max: NestedIntFilter
_min: NestedIntFilter
_sum: NestedIntFilter
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntWithAggregatesFilter
notIn: [Int!]
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON @specifiedBy(url: "http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf")
input JsonFilter {
array_contains: JSON
array_ends_with: JSON
array_starts_with: JSON
equals: JSON
gt: JSON
gte: JSON
lt: JSON
lte: JSON
not: JSON
path: [String!]
string_contains: String
string_ends_with: String
string_starts_with: String
}
input JsonWithAggregatesFilter {
_count: NestedIntFilter
_max: NestedJsonFilter
_min: NestedJsonFilter
array_contains: JSON
array_ends_with: JSON
array_starts_with: JSON
equals: JSON
gt: JSON
gte: JSON
lt: JSON
lte: JSON
not: JSON
path: [String!]
string_contains: String
string_ends_with: String
string_starts_with: String
}
type Labor {
balance: Timestamp
createdAt: Timestamp!
id: Int!
lastEventId: String
lastUpdate: Timestamp
qtyBuilt: Int!
realmId: Int!
resourceId: Int!
updatedAt: Timestamp!
vaultBalance: Timestamp
}
input LaborRelationFilter {
is: LaborWhereInput
isNot: LaborWhereInput
}
input LaborWhereInput {
AND: [LaborWhereInput!]
NOT: [LaborWhereInput!]
OR: [LaborWhereInput!]
balance: DateTimeNullableFilter
createdAt: DateTimeFilter
id: IntFilter
lastEventId: StringNullableFilter
lastUpdate: DateTimeNullableFilter
qtyBuilt: IntFilter
realmId: IntFilter
resourceId: IntFilter
resoure: ResourceRelationFilter
updatedAt: DateTimeFilter
vaultBalance: DateTimeNullableFilter
}
"""Lore Entity"""
type LoreEntity {
id: ID!
kind: Float!
owner: String!
ownerDisplayName: String
revisions: [LoreEntityRevision!]!
}
input LoreEntityRelationFilter {
is: LoreEntityWhereInput
isNot: LoreEntityWhereInput
}
"""Lore Entity Revision"""
type LoreEntityRevision {
createdAt: Timestamp!
excerpt: String
id: ID!
markdown: String
pois: [LorePoisOnEntityRevisions!]!
props: [LorePropsOnEntityRevisions!]!
revisionNumber: Float!
title: String
}
input LoreEntityRevisionListRelationFilter {
every: LoreEntityRevisionWhereInput
none: LoreEntityRevisionWhereInput
some: LoreEntityRevisionWhereInput
}
input LoreEntityRevisionRelationFilter {
is: LoreEntityRevisionWhereInput
isNot: LoreEntityRevisionWhereInput
}
input LoreEntityRevisionWhereInput {
AND: [LoreEntityRevisionWhereInput!]
NOT: [LoreEntityRevisionWhereInput!]
OR: [LoreEntityRevisionWhereInput!]
arweaveId: StringFilter
createdAt: DateTimeNullableFilter
entity: LoreEntityRelationFilter
entityId: IntFilter
eventIndexed: StringNullableFilter
excerpt: StringNullableFilter
id: IntFilter
markdown: StringNullableFilter
media_url: StringNullableFilter
pois: LorePoisOnEntityRevisionsListRelationFilter
props: LorePropsOnEntityRevisionsListRelationFilter
revisionNumber: IntFilter
title: StringNullableFilter
}
input LoreEntityWhereInput {
AND: [LoreEntityWhereInput!]
NOT: [LoreEntityWhereInput!]
OR: [LoreEntityWhereInput!]
eventIndexed: StringNullableFilter
id: IntFilter
kind: IntFilter
owner: StringNullableFilter
ownerDisplayName: StringNullableFilter
revisions: LoreEntityRevisionListRelationFilter
}
input LorePOIRelationFilter {
is: LorePOIWhereInput
isNot: LorePOIWhereInput
}
input LorePOIWhereInput {
AND: [LorePOIWhereInput!]
NOT: [LorePOIWhereInput!]
OR: [LorePOIWhereInput!]
assetType: StringNullableFilter
entities: LorePoisOnEntityRevisionsListRelationFilter
id: IntFilter
name: StringFilter
}
"""Lore POI"""
type LorePoi {
assetType: String
id: ID!
name: String!
}
"""Lore Entity Revision"""
type LorePoisOnEntityRevisions {
assetId: String
entityRevisionId: ID!
poiId: ID!
}
input LorePoisOnEntityRevisionsListRelationFilter {
every: LorePoisOnEntityRevisionsWhereInput
none: LorePoisOnEntityRevisionsWhereInput
some: LorePoisOnEntityRevisionsWhereInput
}
input LorePoisOnEntityRevisionsWhereInput {
AND: [LorePoisOnEntityRevisionsWhereInput!]
NOT: [LorePoisOnEntityRevisionsWhereInput!]
OR: [LorePoisOnEntityRevisionsWhereInput!]
assetId: StringNullableFilter
entityRevision: LoreEntityRevisionRelationFilter
entityRevisionId: IntFilter
id: IntFilter
poi: LorePOIRelationFilter
poiId: IntFilter
}
input LorePropRelationFilter {
is: LorePropWhereInput
isNot: LorePropWhereInput
}
input LorePropWhereInput {
AND: [LorePropWhereInput!]
NOT: [LorePropWhereInput!]
OR: [LorePropWhereInput!]
entities: LorePropsOnEntityRevisionsListRelationFilter
id: IntFilter
name: StringFilter
}
"""Lore Entity Revision"""
type LorePropsOnEntityRevisions {
entityRevisionId: ID!
propId: ID!
value: String
}
input LorePropsOnEntityRevisionsListRelationFilter {
every: LorePropsOnEntityRevisionsWhereInput
none: LorePropsOnEntityRevisionsWhereInput
some: LorePropsOnEntityRevisionsWhereInput
}
input LorePropsOnEntityRevisionsWhereInput {
AND: [LorePropsOnEntityRevisionsWhereInput!]
NOT: [LorePropsOnEntityRevisionsWhereInput!]
OR: [LorePropsOnEntityRevisionsWhereInput!]
entityRevision: LoreEntityRevisionRelationFilter
entityRevisionId: IntFilter
id: IntFilter
prop: LorePropRelationFilter
propId: IntFilter
value: StringNullableFilter
}
type Mutation {
reindexDesiege: Boolean!
}
input NestedBoolFilter {
equals: Boolean
not: NestedBoolFilter
}
input NestedDateTimeFilter {
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeFilter
notIn: [Timestamp!]
}
input NestedDateTimeNullableFilter {
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeNullableFilter
notIn: [Timestamp!]
}
input NestedDateTimeWithAggregatesFilter {
_count: NestedIntFilter
_max: NestedDateTimeFilter
_min: NestedDateTimeFilter
equals: Timestamp
gt: Timestamp
gte: Timestamp
in: [Timestamp!]
lt: Timestamp
lte: Timestamp
not: NestedDateTimeWithAggregatesFilter
notIn: [Timestamp!]
}
input NestedEnumOrderTypeNullableFilter {
equals: OrderType
in: [OrderType!]
not: NestedEnumOrderTypeNullableFilter
notIn: [OrderType!]
}
input NestedEnumOrderTypeNullableWithAggregatesFilter {
_count: NestedIntNullableFilter
_max: NestedEnumOrderTypeNullableFilter
_min: NestedEnumOrderTypeNullableFilter
equals: OrderType
in: [OrderType!]
not: NestedEnumOrderTypeNullableWithAggregatesFilter
notIn: [OrderType!]
}
input NestedEnumRealmTraitTypeFilter {
equals: RealmTraitType
in: [RealmTraitType!]
not: NestedEnumRealmTraitTypeFilter
notIn: [RealmTraitType!]
}
input NestedFloatFilter {
equals: Float
gt: Float
gte: Float
in: [Float!]
lt: Float
lte: Float
not: NestedFloatFilter
notIn: [Float!]
}
input NestedIntFilter {
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntFilter
notIn: [Int!]
}
input NestedIntNullableFilter {
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntNullableFilter
notIn: [Int!]
}
input NestedIntWithAggregatesFilter {
_avg: NestedFloatFilter
_count: NestedIntFilter
_max: NestedIntFilter
_min: NestedIntFilter
_sum: NestedIntFilter
equals: Int
gt: Int
gte: Int
in: [Int!]
lt: Int
lte: Int
not: NestedIntWithAggregatesFilter
notIn: [Int!]
}
input NestedJsonFilter {
array_contains: JSON
array_ends_with: JSON
array_starts_with: JSON
equals: JSON
gt: JSON
gte: JSON
lt: JSON
lte: JSON
not: JSON
path: [String!]
string_contains: String
string_ends_with: String
string_starts_with: String
}
input NestedStringFilter {
contains: String
endsWith: String
equals: String
gt: String
gte: String
in: [String!]
lt: String
lte: String
not: NestedStringFilter
notIn: [String!]
startsWith: String
}
input NestedStringNullableFilter {
contains: String
endsWith: String
equals: String
gt: String
gte: String
in: [String!]
lt: String
lte: String
not: NestedStringNullableFilter
notIn: [String!]
startsWith: String
}
input NestedStringWithAggregatesFilter {
_count: NestedIntFilter
_max: NestedStringFilter
_min: NestedStringFilter
contains: String
endsWith: String
equals: String
gt: String
gte: String
in: [String!]
lt: String
lte: String
not: NestedStringWithAggregatesFilter
notIn: [String!]
startsWith: String
}
"""Order By Direction"""
enum OrderByDirectionInput {
asc
desc
}
enum OrderType {
Anger
Brilliance
Detection
Enlightenment
Fury
Giants
Perfection
Power
Protection
Rage
Reflection
Skill
Titans
Vitriol
the_Fox
the_Twins
}
type Query {
aggregateRealmHistory(cursor: RealmHistoryWhereUniqueInput, orderBy: [RealmHistoryOrderByWithRelationInput!], skip: Int, take: Int, where: RealmHistoryWhereInput): AggregateRealmHistory!
armies(orderBy: ArmyOrderByWithRelationInput, skip: Float = 0, take: Float = 100, where: ArmyWhereInput): [Army!]!
bastion(id: Float!): Bastion!
bastionLocations(cursor: BastionLocationWhereUniqueInput, distinct: [BastionLocationScalarFieldEnum!], orderBy: [BastionLocationOrderByWithRelationInput!], skip: Int, take: Int, where: BastionLocationWhereInput): [BastionLocation!]!
bastions: [Bastion!]!
battalionCosts: [BattalionCost!]!
battalionStats: [BattalionStats!]!
economyExchangeLordsPurchasedTotal: String!
economyExchangeResourcePurchasedTotals: [ResourceAmount!]!
economyLpResourceBurnedTotals: [ResourceAmount!]!
economyLpResourceMintedTotals: [ResourceAmount!]!
economyResourceBurnedTotals: [ResourceAmount!]!
economyResourceBurnedTotalsByBattalionAll: [ResourceAmount!]!
economyResourceBurnedTotalsByBattalionId: [ResourceAmountByBattalion!]!
economyResourceBurnedTotalsByBuildingAll: [ResourceAmount!]!
economyResourceBurnedTotalsByBuildingId: [ResourceAmountByBuilding!]!
economyResourceBurnedTotalsByLaborAll: [ResourceAmount!]!
economyResourceMintedTotals: [ResourceAmount!]!
economySettledRealmsTotal: Int!
exchangeRates(cursor: ExchangeRateWhereUniqueInput, distinct: [ExchangeRateScalarFieldEnum!], orderBy: [ExchangeRateOrderByWithRelationInput!], skip: Int, take: Int, where: ExchangeRateWhereInput): [ExchangeRate!]!
getBastionHistory(filter: BastionHistoryWhereInput, skip: Float = 0, take: Float = 20): [BastionHistory!]!
getBuildingCostById: BuildingCost!
getBuildingCosts: [BuildingCost!]!
getBuildingsByRealmId(id: Float!): [Building!]!
getDesiege(id: Float!): Desiege!
getDesiegeCurrent: Desiege!
getDesiegeGames: [Desiege!]!
getExchangeRates: [ExchangeRate24Hr!]!
getFoodByRealmId(id: Float!): [Food!]!
getLoreEntities(filter: LoreEntityWhereInput, skip: Float = 0, take: Float = 100): [LoreEntity!]!
getLoreEntity(entityId: Float!): LoreEntity!
getLorePois(skip: Float = 0, take: Float = 100): [LorePoi!]!
getRealm(realmId: Float!): Realm!
getRealmCombatResult(defendRealmId: Float!, transactionHash: String!): CombatResult!
getRealmHistory(filter: RealmHistoryWhereInput, skip: Float = 0, take: Float = 20): [RealmHistory!]!
getRealms(filter: RealmWhereInput, orderBy: RealmOrderByInput, skip: Float = 0, take: Float = 100): [Realm!]!
getResource(id: Float!): Resource!
getResourceLaborAndToolCosts: [ResourceLaborAndToolCost!]!
getResources: [Resource!]!
getResourcesByAddress(address: String!): [Resource!]!
getTroopStats: [TroopStats!]!
groupByRealmHistory(by: [RealmHistoryScalarFieldEnum!]!, having: RealmHistoryScalarWhereWithAggregatesInput, orderBy: [RealmHistoryOrderByWithAggregationInput!], skip: Int, take: Int, where: RealmHistoryWhereInput): [RealmHistoryGroupBy!]!
realm(id: Float!): Realm!
realmCombatHistory(defendRealmId: Float!, transactionHash: String!): CombatResult!
realmHistory(filter: RealmHistoryWhereInput, skip: Float = 0, take: Float = 20): [RealmHistory!]!
realms(filter: RealmWhereInput, orderBy: RealmOrderByWithRelationInput, skip: Float = 0, take: Float = 100): [Realm!]!
realmsCount(filter: RealmWhereInput): Int!