@clawconquest/client 1.18.0 → 1.20.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 +534 -969
- package/dist/index.d.cts +314 -564
- package/dist/index.d.ts +314 -564
- package/dist/index.js +521 -951
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,70 +4,39 @@ type Scalars = {
|
|
|
4
4
|
Float: number;
|
|
5
5
|
ID: string;
|
|
6
6
|
Int: number;
|
|
7
|
+
JSON: any;
|
|
7
8
|
String: string;
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
-
interface Clan {
|
|
11
|
-
clan_leader: (PublicClaw | null);
|
|
12
|
-
created_at: Scalars['DateTime'];
|
|
13
|
-
created_at_tick: Scalars['Int'];
|
|
14
|
-
description: (Scalars['String'] | null);
|
|
15
|
-
governance_type: GovernanceType;
|
|
16
|
-
id: Scalars['ID'];
|
|
17
|
-
leader_claw_id: Scalars['String'];
|
|
18
|
-
membership_policy: MembershipPolicy;
|
|
19
|
-
name: Scalars['String'];
|
|
20
|
-
status: ClanStatus;
|
|
21
|
-
tax_rate: Scalars['Float'];
|
|
22
|
-
treasury_food: Scalars['Float'];
|
|
23
|
-
treasury_minerals: Scalars['Float'];
|
|
24
|
-
__typename: 'Clan';
|
|
25
|
-
}
|
|
26
|
-
interface ClanApplication {
|
|
27
|
-
clan_id: Scalars['String'];
|
|
10
|
+
interface ActionQueueEntry {
|
|
28
11
|
claw_id: Scalars['String'];
|
|
29
12
|
created_at: Scalars['DateTime'];
|
|
30
13
|
id: Scalars['ID'];
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
__typename: '
|
|
34
|
-
}
|
|
35
|
-
interface ClanPact {
|
|
36
|
-
created_at: Scalars['DateTime'];
|
|
37
|
-
duration_ticks: (Scalars['Int'] | null);
|
|
38
|
-
id: Scalars['ID'];
|
|
39
|
-
proposer_clan_id: Scalars['String'];
|
|
40
|
-
status: PactStatus;
|
|
41
|
-
target_clan_id: Scalars['String'];
|
|
42
|
-
ticks_remaining: (Scalars['Int'] | null);
|
|
43
|
-
type: ClanPactType;
|
|
44
|
-
__typename: 'ClanPact';
|
|
14
|
+
payload: Scalars['JSON'];
|
|
15
|
+
tick: Scalars['Int'];
|
|
16
|
+
__typename: 'ActionQueueEntry';
|
|
45
17
|
}
|
|
46
|
-
type
|
|
47
|
-
type ClanStatus = 'ACTIVE' | 'DISSOLVED';
|
|
18
|
+
type Biome = 'ABYSSAL_DESERT' | 'CORAL_REEF' | 'KELP_FOREST' | 'SANDY_FLATS' | 'THERMAL_VENTS' | 'TIDAL_SHALLOWS' | 'TRENCHES' | 'VOLCANIC_RIDGE';
|
|
48
19
|
interface Claw {
|
|
49
|
-
|
|
20
|
+
algae: Scalars['Float'];
|
|
50
21
|
bio: (Scalars['String'] | null);
|
|
22
|
+
colony_id: (Scalars['String'] | null);
|
|
23
|
+
coral: Scalars['Float'];
|
|
51
24
|
created_at: Scalars['DateTime'];
|
|
52
|
-
|
|
53
|
-
|
|
25
|
+
energy: Scalars['Float'];
|
|
26
|
+
equipment: Scalars['String'][];
|
|
54
27
|
id: Scalars['ID'];
|
|
55
28
|
is_alive: Scalars['Boolean'];
|
|
56
|
-
|
|
29
|
+
kelp: Scalars['Float'];
|
|
57
30
|
last_ping_at: (Scalars['DateTime'] | null);
|
|
58
|
-
level: Scalars['Int'];
|
|
59
|
-
loyalty: Scalars['Float'];
|
|
60
|
-
minerals: Scalars['Float'];
|
|
61
|
-
molt_ticks_remaining: Scalars['Int'];
|
|
62
31
|
name: Scalars['String'];
|
|
32
|
+
obsidian: Scalars['Float'];
|
|
33
|
+
pearls: Scalars['Float'];
|
|
63
34
|
profile_emoji: (Scalars['String'] | null);
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
35
|
+
q: Scalars['Int'];
|
|
36
|
+
r: Scalars['Int'];
|
|
37
|
+
sea_moss: Scalars['Float'];
|
|
67
38
|
species: Species;
|
|
68
|
-
territoriality: Scalars['Float'];
|
|
69
39
|
webhook_url: (Scalars['String'] | null);
|
|
70
|
-
xp: Scalars['Int'];
|
|
71
40
|
__typename: 'Claw';
|
|
72
41
|
}
|
|
73
42
|
interface ClawSummary {
|
|
@@ -77,21 +46,37 @@ interface ClawSummary {
|
|
|
77
46
|
species: Scalars['String'];
|
|
78
47
|
__typename: 'ClawSummary';
|
|
79
48
|
}
|
|
49
|
+
interface Colony {
|
|
50
|
+
charter: (Scalars['String'] | null);
|
|
51
|
+
created_at: Scalars['DateTime'];
|
|
52
|
+
founded_at_tick: Scalars['Int'];
|
|
53
|
+
governance: GovernanceType;
|
|
54
|
+
id: Scalars['ID'];
|
|
55
|
+
leader_claw_id: (Scalars['String'] | null);
|
|
56
|
+
name: Scalars['String'];
|
|
57
|
+
treasury_algae: Scalars['Float'];
|
|
58
|
+
treasury_coral: Scalars['Float'];
|
|
59
|
+
treasury_kelp: Scalars['Float'];
|
|
60
|
+
treasury_obsidian: Scalars['Float'];
|
|
61
|
+
treasury_pearls: Scalars['Float'];
|
|
62
|
+
treasury_sea_moss: Scalars['Float'];
|
|
63
|
+
__typename: 'Colony';
|
|
64
|
+
}
|
|
80
65
|
interface CreateClawPayload {
|
|
81
66
|
api_key: Scalars['String'];
|
|
82
67
|
claw: Claw;
|
|
83
68
|
__typename: 'CreateClawPayload';
|
|
84
69
|
}
|
|
85
70
|
interface GameEvent {
|
|
86
|
-
clan_id: (Scalars['String'] | null);
|
|
87
71
|
claw_id: (Scalars['String'] | null);
|
|
72
|
+
colony_id: (Scalars['String'] | null);
|
|
88
73
|
data: (Scalars['String'] | null);
|
|
89
74
|
event_type: Scalars['String'];
|
|
90
75
|
id: Scalars['ID'];
|
|
91
|
-
pool_id: (Scalars['String'] | null);
|
|
92
|
-
region_id: (Scalars['Int'] | null);
|
|
93
76
|
target_claw_id: (Scalars['String'] | null);
|
|
94
77
|
tick: Scalars['Int'];
|
|
78
|
+
tile_q: (Scalars['Int'] | null);
|
|
79
|
+
tile_r: (Scalars['Int'] | null);
|
|
95
80
|
__typename: 'GameEvent';
|
|
96
81
|
}
|
|
97
82
|
interface GameStateInfo {
|
|
@@ -100,39 +85,40 @@ interface GameStateInfo {
|
|
|
100
85
|
next_tick_at: (Scalars['DateTime'] | null);
|
|
101
86
|
__typename: 'GameStateInfo';
|
|
102
87
|
}
|
|
103
|
-
type GovernanceType = '
|
|
104
|
-
|
|
88
|
+
type GovernanceType = 'COUNCIL' | 'DICTATOR' | 'MAJORITY';
|
|
89
|
+
interface LawModel {
|
|
90
|
+
colony_id: Scalars['String'];
|
|
91
|
+
enacted_at_tick: Scalars['Int'];
|
|
92
|
+
id: Scalars['ID'];
|
|
93
|
+
repealed: Scalars['Boolean'];
|
|
94
|
+
text: Scalars['String'];
|
|
95
|
+
type: LawType;
|
|
96
|
+
__typename: 'LawModel';
|
|
97
|
+
}
|
|
98
|
+
type LawType = 'CUSTOM' | 'ENTRY_RESTRICTION' | 'EXILE' | 'NO_ATTACK' | 'RESOURCE_SHARING' | 'TAX';
|
|
99
|
+
interface MessageModel {
|
|
100
|
+
channel: Scalars['String'];
|
|
101
|
+
created_at: Scalars['DateTime'];
|
|
102
|
+
id: Scalars['ID'];
|
|
103
|
+
q: (Scalars['Int'] | null);
|
|
104
|
+
r: (Scalars['Int'] | null);
|
|
105
|
+
sender_id: Scalars['String'];
|
|
106
|
+
text: Scalars['String'];
|
|
107
|
+
tick: Scalars['Int'];
|
|
108
|
+
__typename: 'MessageModel';
|
|
109
|
+
}
|
|
105
110
|
interface Mutation {
|
|
106
|
-
acceptClanPact: ClanPact;
|
|
107
|
-
applyToClan: ClanApplication;
|
|
108
|
-
assign_units: Unit[];
|
|
109
|
-
breakClanPact: ClanPact;
|
|
110
|
-
cancelApplication: ClanApplication;
|
|
111
|
-
claimPool: Pool;
|
|
112
|
-
createClan: Clan;
|
|
113
111
|
createClaw: CreateClawPayload;
|
|
114
|
-
deploy_spy: SpyDeployment;
|
|
115
112
|
disableClaw: PrivateClaw;
|
|
116
|
-
dismiss_units: (Unit | null);
|
|
117
|
-
dissolveClan: Clan;
|
|
118
113
|
enableClaw: PrivateClaw;
|
|
119
|
-
initiate_siege: Siege;
|
|
120
|
-
kickMember: Claw;
|
|
121
|
-
leaveClan: Claw;
|
|
122
114
|
ping: Scalars['Boolean'];
|
|
123
|
-
proposeClanPact: ClanPact;
|
|
124
|
-
recruit_units: Unit;
|
|
125
115
|
regenerateClawKey: RegenerateKeyPayload;
|
|
126
|
-
reviewApplication: ClanApplication;
|
|
127
|
-
send_whisper: Whisper;
|
|
128
116
|
signIn: Player;
|
|
117
|
+
submitAction: ActionQueueEntry;
|
|
129
118
|
updateClaw: Claw;
|
|
130
|
-
updateDirectives: StandingOrder;
|
|
131
119
|
updatePlayer: Player;
|
|
132
|
-
withdraw_siege: Siege;
|
|
133
120
|
__typename: 'Mutation';
|
|
134
121
|
}
|
|
135
|
-
type PactStatus = 'ACTIVE' | 'BROKEN' | 'EXPIRED' | 'PROPOSED';
|
|
136
122
|
interface Player {
|
|
137
123
|
avatar_url: (Scalars['String'] | null);
|
|
138
124
|
ban_reason: (Scalars['String'] | null);
|
|
@@ -149,98 +135,76 @@ interface PlayerProfile {
|
|
|
149
135
|
player: Player;
|
|
150
136
|
__typename: 'PlayerProfile';
|
|
151
137
|
}
|
|
152
|
-
interface Pool {
|
|
153
|
-
fortification: (Scalars['Int'] | null);
|
|
154
|
-
id: Scalars['ID'];
|
|
155
|
-
is_spawn_zone: Scalars['Boolean'];
|
|
156
|
-
owner_clan_id: (Scalars['String'] | null);
|
|
157
|
-
q: Scalars['Int'];
|
|
158
|
-
r: Scalars['Int'];
|
|
159
|
-
region_id: Scalars['Int'];
|
|
160
|
-
type: PoolType;
|
|
161
|
-
__typename: 'Pool';
|
|
162
|
-
}
|
|
163
|
-
type PoolType = 'CORAL_REEF' | 'DEEP_TRENCH' | 'KELP_FOREST' | 'SPAWNING_GROUND' | 'TIDE_POOL' | 'VOLCANIC_VENT';
|
|
164
|
-
type PrimaryGoal = 'ATTACK' | 'DEFEND' | 'EXPAND' | 'FORTIFY' | 'IDLE' | 'MOLT' | 'SPY';
|
|
165
138
|
interface PrivateClaw {
|
|
166
|
-
|
|
139
|
+
algae: Scalars['Float'];
|
|
167
140
|
bio: (Scalars['String'] | null);
|
|
141
|
+
colony_id: (Scalars['String'] | null);
|
|
142
|
+
coral: Scalars['Float'];
|
|
168
143
|
created_at: Scalars['DateTime'];
|
|
169
|
-
|
|
170
|
-
|
|
144
|
+
energy: Scalars['Float'];
|
|
145
|
+
equipment: Scalars['String'][];
|
|
171
146
|
id: Scalars['ID'];
|
|
172
147
|
is_alive: Scalars['Boolean'];
|
|
173
|
-
|
|
148
|
+
kelp: Scalars['Float'];
|
|
174
149
|
last_ping_at: (Scalars['DateTime'] | null);
|
|
175
|
-
level: Scalars['Int'];
|
|
176
|
-
loyalty: Scalars['Float'];
|
|
177
|
-
minerals: Scalars['Float'];
|
|
178
|
-
molt_ticks_remaining: Scalars['Int'];
|
|
179
150
|
name: Scalars['String'];
|
|
151
|
+
obsidian: Scalars['Float'];
|
|
152
|
+
pearls: Scalars['Float'];
|
|
180
153
|
profile_emoji: (Scalars['String'] | null);
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
154
|
+
q: Scalars['Int'];
|
|
155
|
+
r: Scalars['Int'];
|
|
156
|
+
sea_moss: Scalars['Float'];
|
|
184
157
|
species: Species;
|
|
185
|
-
territoriality: Scalars['Float'];
|
|
186
158
|
webhook_url: (Scalars['String'] | null);
|
|
187
|
-
xp: Scalars['Int'];
|
|
188
159
|
__typename: 'PrivateClaw';
|
|
189
160
|
}
|
|
161
|
+
interface ProposalModel {
|
|
162
|
+
colony_id: Scalars['String'];
|
|
163
|
+
created_at_tick: Scalars['Int'];
|
|
164
|
+
id: Scalars['ID'];
|
|
165
|
+
proposer_claw_id: Scalars['String'];
|
|
166
|
+
resolved_at_tick: (Scalars['Int'] | null);
|
|
167
|
+
status: ProposalStatus;
|
|
168
|
+
text: Scalars['String'];
|
|
169
|
+
type: Scalars['String'];
|
|
170
|
+
__typename: 'ProposalModel';
|
|
171
|
+
}
|
|
172
|
+
type ProposalStatus = 'PASSED' | 'PENDING' | 'REJECTED';
|
|
190
173
|
interface PublicClaw {
|
|
191
|
-
aggression: Scalars['Float'];
|
|
192
174
|
bio: (Scalars['String'] | null);
|
|
175
|
+
colony_id: (Scalars['String'] | null);
|
|
193
176
|
created_at: Scalars['DateTime'];
|
|
194
|
-
|
|
195
|
-
food: Scalars['Float'];
|
|
177
|
+
energy: Scalars['Float'];
|
|
196
178
|
id: Scalars['ID'];
|
|
197
179
|
is_alive: Scalars['Boolean'];
|
|
198
|
-
is_molting: Scalars['Boolean'];
|
|
199
180
|
last_ping_at: (Scalars['DateTime'] | null);
|
|
200
|
-
level: Scalars['Int'];
|
|
201
|
-
loyalty: Scalars['Float'];
|
|
202
|
-
minerals: Scalars['Float'];
|
|
203
|
-
molt_ticks_remaining: Scalars['Int'];
|
|
204
181
|
name: Scalars['String'];
|
|
205
182
|
profile_emoji: (Scalars['String'] | null);
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
soft_shell_curse_ticks_remaining: Scalars['Int'];
|
|
183
|
+
q: Scalars['Int'];
|
|
184
|
+
r: Scalars['Int'];
|
|
209
185
|
species: Species;
|
|
210
|
-
territoriality: Scalars['Float'];
|
|
211
|
-
xp: Scalars['Int'];
|
|
212
186
|
__typename: 'PublicClaw';
|
|
213
187
|
}
|
|
214
188
|
interface Query {
|
|
215
|
-
clan: Clan;
|
|
216
|
-
clanApplications: ClanApplication[];
|
|
217
|
-
clanMembers: PublicClaw[];
|
|
218
|
-
clanPacts: ClanPact[];
|
|
219
|
-
clans: Clan[];
|
|
220
189
|
claw: PublicClaw;
|
|
221
|
-
|
|
190
|
+
colonies: Colony[];
|
|
191
|
+
colony: Colony;
|
|
222
192
|
countClaws: Scalars['Int'];
|
|
223
193
|
events: GameEvent[];
|
|
224
194
|
gameState: GameStateInfo;
|
|
225
|
-
|
|
226
|
-
intercepted_whispers: Whisper[];
|
|
195
|
+
laws: LawModel[];
|
|
227
196
|
me: PlayerProfile;
|
|
228
|
-
|
|
229
|
-
|
|
197
|
+
messages: MessageModel[];
|
|
198
|
+
myActions: ActionQueueEntry[];
|
|
230
199
|
myClaw: PrivateClaw;
|
|
231
200
|
myClaws: PrivateClaw[];
|
|
232
|
-
myDirectives: (StandingOrder | null);
|
|
233
|
-
myProfile: Claw;
|
|
234
201
|
myRelationships: Relationship[];
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
pools: Pool[];
|
|
242
|
-
siege: Siege;
|
|
243
|
-
sieges: Siege[];
|
|
202
|
+
proposals: ProposalModel[];
|
|
203
|
+
sentMessages: MessageModel[];
|
|
204
|
+
structures: StructureModel[];
|
|
205
|
+
tile: Tile;
|
|
206
|
+
tilesInRange: Tile[];
|
|
207
|
+
treaties: TreatyModel[];
|
|
244
208
|
__typename: 'Query';
|
|
245
209
|
}
|
|
246
210
|
interface RegenerateKeyPayload {
|
|
@@ -249,7 +213,6 @@ interface RegenerateKeyPayload {
|
|
|
249
213
|
}
|
|
250
214
|
interface Relationship {
|
|
251
215
|
battles: Scalars['Int'];
|
|
252
|
-
betrayals: Scalars['Int'];
|
|
253
216
|
claw_id: Scalars['String'];
|
|
254
217
|
encounters: Scalars['Int'];
|
|
255
218
|
id: Scalars['ID'];
|
|
@@ -257,133 +220,71 @@ interface Relationship {
|
|
|
257
220
|
trust_score: Scalars['Float'];
|
|
258
221
|
__typename: 'Relationship';
|
|
259
222
|
}
|
|
260
|
-
interface Siege {
|
|
261
|
-
attacker_clan_id: (Scalars['String'] | null);
|
|
262
|
-
attacker_claw_id: Scalars['String'];
|
|
263
|
-
attacker_pool_id: Scalars['String'];
|
|
264
|
-
created_at: Scalars['DateTime'];
|
|
265
|
-
defender_clan_id: (Scalars['String'] | null);
|
|
266
|
-
defender_pool_id: Scalars['String'];
|
|
267
|
-
ended_at_tick: (Scalars['Int'] | null);
|
|
268
|
-
id: Scalars['ID'];
|
|
269
|
-
started_at_tick: Scalars['Int'];
|
|
270
|
-
status: SiegeStatus;
|
|
271
|
-
__typename: 'Siege';
|
|
272
|
-
}
|
|
273
|
-
type SiegeStatus = 'ACTIVE' | 'FAILED' | 'WITHDRAWN' | 'WON';
|
|
274
223
|
type Species = 'COCONUT_CRAB' | 'HERMIT_CRAB' | 'KING_CRAB' | 'LOBSTER' | 'MANTIS_SHRIMP' | 'PISTOL_SHRIMP';
|
|
275
|
-
interface
|
|
224
|
+
interface StructureModel {
|
|
276
225
|
created_at: Scalars['DateTime'];
|
|
277
226
|
id: Scalars['ID'];
|
|
278
|
-
|
|
227
|
+
inscription: (Scalars['String'] | null);
|
|
279
228
|
owner_claw_id: Scalars['String'];
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
__typename: 'SpyDeployment';
|
|
284
|
-
}
|
|
285
|
-
interface StandingOrder {
|
|
286
|
-
aggression_stance: Scalars['Float'];
|
|
287
|
-
claw_id: Scalars['String'];
|
|
288
|
-
diplomacy_stance: Scalars['Float'];
|
|
289
|
-
id: Scalars['ID'];
|
|
290
|
-
primary_goal: PrimaryGoal;
|
|
291
|
-
target_claw_id: (Scalars['String'] | null);
|
|
292
|
-
target_region_id: (Scalars['Int'] | null);
|
|
293
|
-
__typename: 'StandingOrder';
|
|
229
|
+
tile_id: Scalars['String'];
|
|
230
|
+
type: StructureType;
|
|
231
|
+
__typename: 'StructureModel';
|
|
294
232
|
}
|
|
233
|
+
type StructureType = 'FARM' | 'FORTRESS' | 'MARKET' | 'MONUMENT' | 'SHELTER' | 'SHRINE' | 'TRAP' | 'WALL';
|
|
295
234
|
interface Subscription {
|
|
296
235
|
tickEvents: GameEvent[];
|
|
297
236
|
__typename: 'Subscription';
|
|
298
237
|
}
|
|
299
|
-
interface
|
|
300
|
-
|
|
301
|
-
|
|
238
|
+
interface Tile {
|
|
239
|
+
biome: Biome;
|
|
240
|
+
depletion: Scalars['Int'];
|
|
302
241
|
id: Scalars['ID'];
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
242
|
+
q: Scalars['Int'];
|
|
243
|
+
r: Scalars['Int'];
|
|
244
|
+
structure: (StructureModel | null);
|
|
245
|
+
__typename: 'Tile';
|
|
306
246
|
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
247
|
+
interface TreatyModel {
|
|
248
|
+
broken_at_tick: (Scalars['Int'] | null);
|
|
249
|
+
colony_a_id: Scalars['String'];
|
|
250
|
+
colony_b_id: Scalars['String'];
|
|
251
|
+
created_at_tick: Scalars['Int'];
|
|
311
252
|
id: Scalars['ID'];
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
__typename: 'Whisper';
|
|
316
|
-
}
|
|
317
|
-
interface ApplyToClanInput {
|
|
318
|
-
clan_id: Scalars['String'];
|
|
319
|
-
motivation_text: Scalars['String'];
|
|
253
|
+
status: TreatyStatus;
|
|
254
|
+
text: Scalars['String'];
|
|
255
|
+
__typename: 'TreatyModel';
|
|
320
256
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
unit_ids: Scalars['String'][];
|
|
324
|
-
}
|
|
325
|
-
interface ClanGenqlSelection {
|
|
326
|
-
clan_leader?: PublicClawGenqlSelection;
|
|
327
|
-
created_at?: boolean | number;
|
|
328
|
-
created_at_tick?: boolean | number;
|
|
329
|
-
description?: boolean | number;
|
|
330
|
-
governance_type?: boolean | number;
|
|
331
|
-
id?: boolean | number;
|
|
332
|
-
leader_claw_id?: boolean | number;
|
|
333
|
-
membership_policy?: boolean | number;
|
|
334
|
-
name?: boolean | number;
|
|
335
|
-
status?: boolean | number;
|
|
336
|
-
tax_rate?: boolean | number;
|
|
337
|
-
treasury_food?: boolean | number;
|
|
338
|
-
treasury_minerals?: boolean | number;
|
|
339
|
-
__typename?: boolean | number;
|
|
340
|
-
__scalar?: boolean | number;
|
|
341
|
-
}
|
|
342
|
-
interface ClanApplicationGenqlSelection {
|
|
343
|
-
clan_id?: boolean | number;
|
|
257
|
+
type TreatyStatus = 'ACTIVE' | 'BROKEN';
|
|
258
|
+
interface ActionQueueEntryGenqlSelection {
|
|
344
259
|
claw_id?: boolean | number;
|
|
345
260
|
created_at?: boolean | number;
|
|
346
261
|
id?: boolean | number;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
__typename?: boolean | number;
|
|
350
|
-
__scalar?: boolean | number;
|
|
351
|
-
}
|
|
352
|
-
interface ClanPactGenqlSelection {
|
|
353
|
-
created_at?: boolean | number;
|
|
354
|
-
duration_ticks?: boolean | number;
|
|
355
|
-
id?: boolean | number;
|
|
356
|
-
proposer_clan_id?: boolean | number;
|
|
357
|
-
status?: boolean | number;
|
|
358
|
-
target_clan_id?: boolean | number;
|
|
359
|
-
ticks_remaining?: boolean | number;
|
|
360
|
-
type?: boolean | number;
|
|
262
|
+
payload?: boolean | number;
|
|
263
|
+
tick?: boolean | number;
|
|
361
264
|
__typename?: boolean | number;
|
|
362
265
|
__scalar?: boolean | number;
|
|
363
266
|
}
|
|
364
267
|
interface ClawGenqlSelection {
|
|
365
|
-
|
|
268
|
+
algae?: boolean | number;
|
|
366
269
|
bio?: boolean | number;
|
|
270
|
+
colony_id?: boolean | number;
|
|
271
|
+
coral?: boolean | number;
|
|
367
272
|
created_at?: boolean | number;
|
|
368
|
-
|
|
369
|
-
|
|
273
|
+
energy?: boolean | number;
|
|
274
|
+
equipment?: boolean | number;
|
|
370
275
|
id?: boolean | number;
|
|
371
276
|
is_alive?: boolean | number;
|
|
372
|
-
|
|
277
|
+
kelp?: boolean | number;
|
|
373
278
|
last_ping_at?: boolean | number;
|
|
374
|
-
level?: boolean | number;
|
|
375
|
-
loyalty?: boolean | number;
|
|
376
|
-
minerals?: boolean | number;
|
|
377
|
-
molt_ticks_remaining?: boolean | number;
|
|
378
279
|
name?: boolean | number;
|
|
280
|
+
obsidian?: boolean | number;
|
|
281
|
+
pearls?: boolean | number;
|
|
379
282
|
profile_emoji?: boolean | number;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
283
|
+
q?: boolean | number;
|
|
284
|
+
r?: boolean | number;
|
|
285
|
+
sea_moss?: boolean | number;
|
|
383
286
|
species?: boolean | number;
|
|
384
|
-
territoriality?: boolean | number;
|
|
385
287
|
webhook_url?: boolean | number;
|
|
386
|
-
xp?: boolean | number;
|
|
387
288
|
__typename?: boolean | number;
|
|
388
289
|
__scalar?: boolean | number;
|
|
389
290
|
}
|
|
@@ -395,22 +296,28 @@ interface ClawSummaryGenqlSelection {
|
|
|
395
296
|
__typename?: boolean | number;
|
|
396
297
|
__scalar?: boolean | number;
|
|
397
298
|
}
|
|
398
|
-
interface
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
299
|
+
interface ColonyGenqlSelection {
|
|
300
|
+
charter?: boolean | number;
|
|
301
|
+
created_at?: boolean | number;
|
|
302
|
+
founded_at_tick?: boolean | number;
|
|
303
|
+
governance?: boolean | number;
|
|
304
|
+
id?: boolean | number;
|
|
305
|
+
leader_claw_id?: boolean | number;
|
|
306
|
+
name?: boolean | number;
|
|
307
|
+
treasury_algae?: boolean | number;
|
|
308
|
+
treasury_coral?: boolean | number;
|
|
309
|
+
treasury_kelp?: boolean | number;
|
|
310
|
+
treasury_obsidian?: boolean | number;
|
|
311
|
+
treasury_pearls?: boolean | number;
|
|
312
|
+
treasury_sea_moss?: boolean | number;
|
|
313
|
+
__typename?: boolean | number;
|
|
314
|
+
__scalar?: boolean | number;
|
|
404
315
|
}
|
|
405
316
|
interface CreateClawInput {
|
|
406
|
-
aggression: Scalars['Float'];
|
|
407
317
|
bio?: (Scalars['String'] | null);
|
|
408
|
-
deception: Scalars['Float'];
|
|
409
|
-
loyalty: Scalars['Float'];
|
|
410
318
|
name: Scalars['String'];
|
|
411
319
|
profile_emoji?: (Scalars['String'] | null);
|
|
412
320
|
species: Species;
|
|
413
|
-
territoriality: Scalars['Float'];
|
|
414
321
|
}
|
|
415
322
|
interface CreateClawPayloadGenqlSelection {
|
|
416
323
|
api_key?: boolean | number;
|
|
@@ -418,23 +325,16 @@ interface CreateClawPayloadGenqlSelection {
|
|
|
418
325
|
__typename?: boolean | number;
|
|
419
326
|
__scalar?: boolean | number;
|
|
420
327
|
}
|
|
421
|
-
interface DeploySpyInput {
|
|
422
|
-
target_claw_id: Scalars['String'];
|
|
423
|
-
}
|
|
424
|
-
interface DismissUnitInput {
|
|
425
|
-
count?: (Scalars['Int'] | null);
|
|
426
|
-
unit_id: Scalars['String'];
|
|
427
|
-
}
|
|
428
328
|
interface GameEventGenqlSelection {
|
|
429
|
-
clan_id?: boolean | number;
|
|
430
329
|
claw_id?: boolean | number;
|
|
330
|
+
colony_id?: boolean | number;
|
|
431
331
|
data?: boolean | number;
|
|
432
332
|
event_type?: boolean | number;
|
|
433
333
|
id?: boolean | number;
|
|
434
|
-
pool_id?: boolean | number;
|
|
435
|
-
region_id?: boolean | number;
|
|
436
334
|
target_claw_id?: boolean | number;
|
|
437
335
|
tick?: boolean | number;
|
|
336
|
+
tile_q?: boolean | number;
|
|
337
|
+
tile_r?: boolean | number;
|
|
438
338
|
__typename?: boolean | number;
|
|
439
339
|
__scalar?: boolean | number;
|
|
440
340
|
}
|
|
@@ -445,129 +345,67 @@ interface GameStateInfoGenqlSelection {
|
|
|
445
345
|
__typename?: boolean | number;
|
|
446
346
|
__scalar?: boolean | number;
|
|
447
347
|
}
|
|
348
|
+
interface LawModelGenqlSelection {
|
|
349
|
+
colony_id?: boolean | number;
|
|
350
|
+
enacted_at_tick?: boolean | number;
|
|
351
|
+
id?: boolean | number;
|
|
352
|
+
repealed?: boolean | number;
|
|
353
|
+
text?: boolean | number;
|
|
354
|
+
type?: boolean | number;
|
|
355
|
+
__typename?: boolean | number;
|
|
356
|
+
__scalar?: boolean | number;
|
|
357
|
+
}
|
|
358
|
+
interface MessageModelGenqlSelection {
|
|
359
|
+
channel?: boolean | number;
|
|
360
|
+
created_at?: boolean | number;
|
|
361
|
+
id?: boolean | number;
|
|
362
|
+
q?: boolean | number;
|
|
363
|
+
r?: boolean | number;
|
|
364
|
+
sender_id?: boolean | number;
|
|
365
|
+
text?: boolean | number;
|
|
366
|
+
tick?: boolean | number;
|
|
367
|
+
__typename?: boolean | number;
|
|
368
|
+
__scalar?: boolean | number;
|
|
369
|
+
}
|
|
448
370
|
interface MutationGenqlSelection {
|
|
449
|
-
acceptClanPact?: (ClanPactGenqlSelection & {
|
|
450
|
-
__args: {
|
|
451
|
-
pactId: Scalars['String'];
|
|
452
|
-
};
|
|
453
|
-
});
|
|
454
|
-
applyToClan?: (ClanApplicationGenqlSelection & {
|
|
455
|
-
__args: {
|
|
456
|
-
input: ApplyToClanInput;
|
|
457
|
-
};
|
|
458
|
-
});
|
|
459
|
-
assign_units?: (UnitGenqlSelection & {
|
|
460
|
-
__args: {
|
|
461
|
-
input: AssignUnitInput;
|
|
462
|
-
};
|
|
463
|
-
});
|
|
464
|
-
breakClanPact?: (ClanPactGenqlSelection & {
|
|
465
|
-
__args: {
|
|
466
|
-
pactId: Scalars['String'];
|
|
467
|
-
};
|
|
468
|
-
});
|
|
469
|
-
cancelApplication?: (ClanApplicationGenqlSelection & {
|
|
470
|
-
__args: {
|
|
471
|
-
applicationId: Scalars['String'];
|
|
472
|
-
};
|
|
473
|
-
});
|
|
474
|
-
claimPool?: (PoolGenqlSelection & {
|
|
475
|
-
__args: {
|
|
476
|
-
pool_id: Scalars['String'];
|
|
477
|
-
};
|
|
478
|
-
});
|
|
479
|
-
createClan?: (ClanGenqlSelection & {
|
|
480
|
-
__args: {
|
|
481
|
-
input: CreateClanInput;
|
|
482
|
-
};
|
|
483
|
-
});
|
|
484
371
|
createClaw?: (CreateClawPayloadGenqlSelection & {
|
|
485
372
|
__args: {
|
|
486
373
|
input: CreateClawInput;
|
|
487
374
|
};
|
|
488
375
|
});
|
|
489
|
-
deploy_spy?: (SpyDeploymentGenqlSelection & {
|
|
490
|
-
__args: {
|
|
491
|
-
input: DeploySpyInput;
|
|
492
|
-
};
|
|
493
|
-
});
|
|
494
376
|
disableClaw?: (PrivateClawGenqlSelection & {
|
|
495
377
|
__args: {
|
|
496
378
|
clawId: Scalars['String'];
|
|
497
379
|
};
|
|
498
380
|
});
|
|
499
|
-
dismiss_units?: (UnitGenqlSelection & {
|
|
500
|
-
__args: {
|
|
501
|
-
input: DismissUnitInput;
|
|
502
|
-
};
|
|
503
|
-
});
|
|
504
|
-
dissolveClan?: ClanGenqlSelection;
|
|
505
381
|
enableClaw?: (PrivateClawGenqlSelection & {
|
|
506
382
|
__args: {
|
|
507
383
|
clawId: Scalars['String'];
|
|
508
384
|
};
|
|
509
385
|
});
|
|
510
|
-
initiate_siege?: (SiegeGenqlSelection & {
|
|
511
|
-
__args: {
|
|
512
|
-
attacker_pool_id: Scalars['String'];
|
|
513
|
-
defender_pool_id: Scalars['String'];
|
|
514
|
-
};
|
|
515
|
-
});
|
|
516
|
-
kickMember?: (ClawGenqlSelection & {
|
|
517
|
-
__args: {
|
|
518
|
-
clawId: Scalars['String'];
|
|
519
|
-
};
|
|
520
|
-
});
|
|
521
|
-
leaveClan?: ClawGenqlSelection;
|
|
522
386
|
ping?: boolean | number;
|
|
523
|
-
proposeClanPact?: (ClanPactGenqlSelection & {
|
|
524
|
-
__args: {
|
|
525
|
-
input: ProposeClanPactInput;
|
|
526
|
-
};
|
|
527
|
-
});
|
|
528
|
-
recruit_units?: (UnitGenqlSelection & {
|
|
529
|
-
__args: {
|
|
530
|
-
input: RecruitUnitInput;
|
|
531
|
-
};
|
|
532
|
-
});
|
|
533
387
|
regenerateClawKey?: (RegenerateKeyPayloadGenqlSelection & {
|
|
534
388
|
__args: {
|
|
535
389
|
clawId: Scalars['String'];
|
|
536
390
|
};
|
|
537
391
|
});
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
accept: Scalars['Boolean'];
|
|
541
|
-
applicationId: Scalars['String'];
|
|
542
|
-
};
|
|
543
|
-
});
|
|
544
|
-
send_whisper?: (WhisperGenqlSelection & {
|
|
392
|
+
signIn?: PlayerGenqlSelection;
|
|
393
|
+
submitAction?: (ActionQueueEntryGenqlSelection & {
|
|
545
394
|
__args: {
|
|
546
|
-
input:
|
|
395
|
+
input: SubmitActionInput;
|
|
547
396
|
};
|
|
548
397
|
});
|
|
549
|
-
signIn?: PlayerGenqlSelection;
|
|
550
398
|
updateClaw?: (ClawGenqlSelection & {
|
|
551
399
|
__args: {
|
|
552
400
|
clawId: Scalars['String'];
|
|
553
401
|
input: UpdateClawInput;
|
|
554
402
|
};
|
|
555
403
|
});
|
|
556
|
-
updateDirectives?: (StandingOrderGenqlSelection & {
|
|
557
|
-
__args: {
|
|
558
|
-
input: UpdateDirectivesInput;
|
|
559
|
-
};
|
|
560
|
-
});
|
|
561
404
|
updatePlayer?: (PlayerGenqlSelection & {
|
|
562
405
|
__args: {
|
|
563
406
|
input: UpdatePlayerInput;
|
|
564
407
|
};
|
|
565
408
|
});
|
|
566
|
-
withdraw_siege?: (SiegeGenqlSelection & {
|
|
567
|
-
__args: {
|
|
568
|
-
siege_id: Scalars['String'];
|
|
569
|
-
};
|
|
570
|
-
});
|
|
571
409
|
__typename?: boolean | number;
|
|
572
410
|
__scalar?: boolean | number;
|
|
573
411
|
}
|
|
@@ -589,173 +427,139 @@ interface PlayerProfileGenqlSelection {
|
|
|
589
427
|
__typename?: boolean | number;
|
|
590
428
|
__scalar?: boolean | number;
|
|
591
429
|
}
|
|
592
|
-
interface PoolGenqlSelection {
|
|
593
|
-
fortification?: boolean | number;
|
|
594
|
-
id?: boolean | number;
|
|
595
|
-
is_spawn_zone?: boolean | number;
|
|
596
|
-
owner_clan_id?: boolean | number;
|
|
597
|
-
q?: boolean | number;
|
|
598
|
-
r?: boolean | number;
|
|
599
|
-
region_id?: boolean | number;
|
|
600
|
-
type?: boolean | number;
|
|
601
|
-
__typename?: boolean | number;
|
|
602
|
-
__scalar?: boolean | number;
|
|
603
|
-
}
|
|
604
430
|
interface PrivateClawGenqlSelection {
|
|
605
|
-
|
|
431
|
+
algae?: boolean | number;
|
|
606
432
|
bio?: boolean | number;
|
|
433
|
+
colony_id?: boolean | number;
|
|
434
|
+
coral?: boolean | number;
|
|
607
435
|
created_at?: boolean | number;
|
|
608
|
-
|
|
609
|
-
|
|
436
|
+
energy?: boolean | number;
|
|
437
|
+
equipment?: boolean | number;
|
|
610
438
|
id?: boolean | number;
|
|
611
439
|
is_alive?: boolean | number;
|
|
612
|
-
|
|
440
|
+
kelp?: boolean | number;
|
|
613
441
|
last_ping_at?: boolean | number;
|
|
614
|
-
level?: boolean | number;
|
|
615
|
-
loyalty?: boolean | number;
|
|
616
|
-
minerals?: boolean | number;
|
|
617
|
-
molt_ticks_remaining?: boolean | number;
|
|
618
442
|
name?: boolean | number;
|
|
443
|
+
obsidian?: boolean | number;
|
|
444
|
+
pearls?: boolean | number;
|
|
619
445
|
profile_emoji?: boolean | number;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
446
|
+
q?: boolean | number;
|
|
447
|
+
r?: boolean | number;
|
|
448
|
+
sea_moss?: boolean | number;
|
|
623
449
|
species?: boolean | number;
|
|
624
|
-
territoriality?: boolean | number;
|
|
625
450
|
webhook_url?: boolean | number;
|
|
626
|
-
xp?: boolean | number;
|
|
627
451
|
__typename?: boolean | number;
|
|
628
452
|
__scalar?: boolean | number;
|
|
629
453
|
}
|
|
630
|
-
interface
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
454
|
+
interface ProposalModelGenqlSelection {
|
|
455
|
+
colony_id?: boolean | number;
|
|
456
|
+
created_at_tick?: boolean | number;
|
|
457
|
+
id?: boolean | number;
|
|
458
|
+
proposer_claw_id?: boolean | number;
|
|
459
|
+
resolved_at_tick?: boolean | number;
|
|
460
|
+
status?: boolean | number;
|
|
461
|
+
text?: boolean | number;
|
|
462
|
+
type?: boolean | number;
|
|
463
|
+
__typename?: boolean | number;
|
|
464
|
+
__scalar?: boolean | number;
|
|
634
465
|
}
|
|
635
466
|
interface PublicClawGenqlSelection {
|
|
636
|
-
aggression?: boolean | number;
|
|
637
467
|
bio?: boolean | number;
|
|
468
|
+
colony_id?: boolean | number;
|
|
638
469
|
created_at?: boolean | number;
|
|
639
|
-
|
|
640
|
-
food?: boolean | number;
|
|
470
|
+
energy?: boolean | number;
|
|
641
471
|
id?: boolean | number;
|
|
642
472
|
is_alive?: boolean | number;
|
|
643
|
-
is_molting?: boolean | number;
|
|
644
473
|
last_ping_at?: boolean | number;
|
|
645
|
-
level?: boolean | number;
|
|
646
|
-
loyalty?: boolean | number;
|
|
647
|
-
minerals?: boolean | number;
|
|
648
|
-
molt_ticks_remaining?: boolean | number;
|
|
649
474
|
name?: boolean | number;
|
|
650
475
|
profile_emoji?: boolean | number;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
476
|
+
q?: boolean | number;
|
|
477
|
+
r?: boolean | number;
|
|
654
478
|
species?: boolean | number;
|
|
655
|
-
territoriality?: boolean | number;
|
|
656
|
-
xp?: boolean | number;
|
|
657
479
|
__typename?: boolean | number;
|
|
658
480
|
__scalar?: boolean | number;
|
|
659
481
|
}
|
|
660
482
|
interface QueryGenqlSelection {
|
|
661
|
-
clan?: (ClanGenqlSelection & {
|
|
662
|
-
__args: {
|
|
663
|
-
id: Scalars['String'];
|
|
664
|
-
};
|
|
665
|
-
});
|
|
666
|
-
clanApplications?: ClanApplicationGenqlSelection;
|
|
667
|
-
clanMembers?: (PublicClawGenqlSelection & {
|
|
668
|
-
__args: {
|
|
669
|
-
clanId: Scalars['String'];
|
|
670
|
-
limit?: Scalars['Int'];
|
|
671
|
-
offset?: Scalars['Int'];
|
|
672
|
-
};
|
|
673
|
-
});
|
|
674
|
-
clanPacts?: ClanPactGenqlSelection;
|
|
675
|
-
clans?: ClanGenqlSelection;
|
|
676
483
|
claw?: (PublicClawGenqlSelection & {
|
|
677
484
|
__args: {
|
|
678
485
|
id: Scalars['String'];
|
|
679
486
|
};
|
|
680
487
|
});
|
|
681
|
-
|
|
488
|
+
colonies?: ColonyGenqlSelection;
|
|
489
|
+
colony?: (ColonyGenqlSelection & {
|
|
682
490
|
__args: {
|
|
683
|
-
|
|
491
|
+
id: Scalars['String'];
|
|
684
492
|
};
|
|
685
493
|
});
|
|
686
494
|
countClaws?: boolean | number;
|
|
687
495
|
events?: (GameEventGenqlSelection & {
|
|
688
496
|
__args?: {
|
|
689
|
-
clanId?: (Scalars['String'] | null);
|
|
690
497
|
clawId?: (Scalars['String'] | null);
|
|
498
|
+
colonyId?: (Scalars['String'] | null);
|
|
691
499
|
eventType?: (Scalars['String'] | null);
|
|
692
500
|
limit?: Scalars['Int'];
|
|
693
501
|
offset?: Scalars['Int'];
|
|
694
|
-
regionId?: (Scalars['Int'] | null);
|
|
695
502
|
tick?: (Scalars['Int'] | null);
|
|
696
503
|
};
|
|
697
504
|
});
|
|
698
505
|
gameState?: GameStateInfoGenqlSelection;
|
|
699
|
-
|
|
506
|
+
laws?: (LawModelGenqlSelection & {
|
|
507
|
+
__args: {
|
|
508
|
+
colonyId: Scalars['String'];
|
|
509
|
+
};
|
|
510
|
+
});
|
|
511
|
+
me?: PlayerProfileGenqlSelection;
|
|
512
|
+
messages?: (MessageModelGenqlSelection & {
|
|
700
513
|
__args?: {
|
|
701
514
|
limit?: Scalars['Int'];
|
|
702
515
|
offset?: Scalars['Int'];
|
|
703
516
|
};
|
|
704
517
|
});
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
518
|
+
myActions?: (ActionQueueEntryGenqlSelection & {
|
|
519
|
+
__args?: {
|
|
520
|
+
tick?: (Scalars['Int'] | null);
|
|
521
|
+
};
|
|
522
|
+
});
|
|
709
523
|
myClaw?: (PrivateClawGenqlSelection & {
|
|
710
524
|
__args: {
|
|
711
525
|
id: Scalars['String'];
|
|
712
526
|
};
|
|
713
527
|
});
|
|
714
528
|
myClaws?: PrivateClawGenqlSelection;
|
|
715
|
-
myDirectives?: StandingOrderGenqlSelection;
|
|
716
|
-
myProfile?: ClawGenqlSelection;
|
|
717
529
|
myRelationships?: RelationshipGenqlSelection;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
530
|
+
proposals?: (ProposalModelGenqlSelection & {
|
|
531
|
+
__args: {
|
|
532
|
+
colonyId: Scalars['String'];
|
|
533
|
+
};
|
|
534
|
+
});
|
|
535
|
+
sentMessages?: (MessageModelGenqlSelection & {
|
|
722
536
|
__args?: {
|
|
723
537
|
limit?: Scalars['Int'];
|
|
724
538
|
offset?: Scalars['Int'];
|
|
725
539
|
};
|
|
726
540
|
});
|
|
727
|
-
|
|
541
|
+
structures?: StructureModelGenqlSelection;
|
|
542
|
+
tile?: (TileGenqlSelection & {
|
|
728
543
|
__args: {
|
|
729
|
-
|
|
544
|
+
q: Scalars['Int'];
|
|
545
|
+
r: Scalars['Int'];
|
|
730
546
|
};
|
|
731
547
|
});
|
|
732
|
-
|
|
548
|
+
tilesInRange?: (TileGenqlSelection & {
|
|
733
549
|
__args: {
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
pools?: (PoolGenqlSelection & {
|
|
738
|
-
__args?: {
|
|
739
|
-
clawId?: (Scalars['String'] | null);
|
|
740
|
-
};
|
|
741
|
-
});
|
|
742
|
-
siege?: (SiegeGenqlSelection & {
|
|
743
|
-
__args: {
|
|
744
|
-
id: Scalars['String'];
|
|
550
|
+
q: Scalars['Int'];
|
|
551
|
+
r: Scalars['Int'];
|
|
552
|
+
radius: Scalars['Int'];
|
|
745
553
|
};
|
|
746
554
|
});
|
|
747
|
-
|
|
555
|
+
treaties?: (TreatyModelGenqlSelection & {
|
|
748
556
|
__args: {
|
|
749
|
-
|
|
557
|
+
colonyId: Scalars['String'];
|
|
750
558
|
};
|
|
751
559
|
});
|
|
752
560
|
__typename?: boolean | number;
|
|
753
561
|
__scalar?: boolean | number;
|
|
754
562
|
}
|
|
755
|
-
interface RecruitUnitInput {
|
|
756
|
-
count?: Scalars['Int'];
|
|
757
|
-
type: UnitType;
|
|
758
|
-
}
|
|
759
563
|
interface RegenerateKeyPayloadGenqlSelection {
|
|
760
564
|
api_key?: boolean | number;
|
|
761
565
|
__typename?: boolean | number;
|
|
@@ -763,7 +567,6 @@ interface RegenerateKeyPayloadGenqlSelection {
|
|
|
763
567
|
}
|
|
764
568
|
interface RelationshipGenqlSelection {
|
|
765
569
|
battles?: boolean | number;
|
|
766
|
-
betrayals?: boolean | number;
|
|
767
570
|
claw_id?: boolean | number;
|
|
768
571
|
encounters?: boolean | number;
|
|
769
572
|
id?: boolean | number;
|
|
@@ -772,57 +575,42 @@ interface RelationshipGenqlSelection {
|
|
|
772
575
|
__typename?: boolean | number;
|
|
773
576
|
__scalar?: boolean | number;
|
|
774
577
|
}
|
|
775
|
-
interface
|
|
776
|
-
content: Scalars['String'];
|
|
777
|
-
receiver_id: Scalars['String'];
|
|
778
|
-
}
|
|
779
|
-
interface SiegeGenqlSelection {
|
|
780
|
-
attacker_clan_id?: boolean | number;
|
|
781
|
-
attacker_claw_id?: boolean | number;
|
|
782
|
-
attacker_pool_id?: boolean | number;
|
|
783
|
-
created_at?: boolean | number;
|
|
784
|
-
defender_clan_id?: boolean | number;
|
|
785
|
-
defender_pool_id?: boolean | number;
|
|
786
|
-
ended_at_tick?: boolean | number;
|
|
787
|
-
id?: boolean | number;
|
|
788
|
-
started_at_tick?: boolean | number;
|
|
789
|
-
status?: boolean | number;
|
|
790
|
-
__typename?: boolean | number;
|
|
791
|
-
__scalar?: boolean | number;
|
|
792
|
-
}
|
|
793
|
-
interface SpyDeploymentGenqlSelection {
|
|
578
|
+
interface StructureModelGenqlSelection {
|
|
794
579
|
created_at?: boolean | number;
|
|
795
580
|
id?: boolean | number;
|
|
796
|
-
|
|
581
|
+
inscription?: boolean | number;
|
|
797
582
|
owner_claw_id?: boolean | number;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
ticks_remaining?: boolean | number;
|
|
583
|
+
tile_id?: boolean | number;
|
|
584
|
+
type?: boolean | number;
|
|
801
585
|
__typename?: boolean | number;
|
|
802
586
|
__scalar?: boolean | number;
|
|
803
587
|
}
|
|
804
|
-
interface
|
|
805
|
-
|
|
806
|
-
claw_id?: boolean | number;
|
|
807
|
-
diplomacy_stance?: boolean | number;
|
|
808
|
-
id?: boolean | number;
|
|
809
|
-
primary_goal?: boolean | number;
|
|
810
|
-
target_claw_id?: boolean | number;
|
|
811
|
-
target_region_id?: boolean | number;
|
|
812
|
-
__typename?: boolean | number;
|
|
813
|
-
__scalar?: boolean | number;
|
|
588
|
+
interface SubmitActionInput {
|
|
589
|
+
payload: Scalars['JSON'];
|
|
814
590
|
}
|
|
815
591
|
interface SubscriptionGenqlSelection {
|
|
816
592
|
tickEvents?: GameEventGenqlSelection;
|
|
817
593
|
__typename?: boolean | number;
|
|
818
594
|
__scalar?: boolean | number;
|
|
819
595
|
}
|
|
820
|
-
interface
|
|
821
|
-
|
|
822
|
-
|
|
596
|
+
interface TileGenqlSelection {
|
|
597
|
+
biome?: boolean | number;
|
|
598
|
+
depletion?: boolean | number;
|
|
823
599
|
id?: boolean | number;
|
|
824
|
-
|
|
825
|
-
|
|
600
|
+
q?: boolean | number;
|
|
601
|
+
r?: boolean | number;
|
|
602
|
+
structure?: StructureModelGenqlSelection;
|
|
603
|
+
__typename?: boolean | number;
|
|
604
|
+
__scalar?: boolean | number;
|
|
605
|
+
}
|
|
606
|
+
interface TreatyModelGenqlSelection {
|
|
607
|
+
broken_at_tick?: boolean | number;
|
|
608
|
+
colony_a_id?: boolean | number;
|
|
609
|
+
colony_b_id?: boolean | number;
|
|
610
|
+
created_at_tick?: boolean | number;
|
|
611
|
+
id?: boolean | number;
|
|
612
|
+
status?: boolean | number;
|
|
613
|
+
text?: boolean | number;
|
|
826
614
|
__typename?: boolean | number;
|
|
827
615
|
__scalar?: boolean | number;
|
|
828
616
|
}
|
|
@@ -831,43 +619,22 @@ interface UpdateClawInput {
|
|
|
831
619
|
profile_emoji?: (Scalars['String'] | null);
|
|
832
620
|
webhook_url?: (Scalars['String'] | null);
|
|
833
621
|
}
|
|
834
|
-
interface UpdateDirectivesInput {
|
|
835
|
-
aggression_stance?: (Scalars['Float'] | null);
|
|
836
|
-
diplomacy_stance?: (Scalars['Float'] | null);
|
|
837
|
-
exclusions?: (Scalars['String'][] | null);
|
|
838
|
-
primary_goal?: (PrimaryGoal | null);
|
|
839
|
-
target_claw_id?: (Scalars['String'] | null);
|
|
840
|
-
target_region_id?: (Scalars['Int'] | null);
|
|
841
|
-
}
|
|
842
622
|
interface UpdatePlayerInput {
|
|
843
623
|
avatar_url?: (Scalars['String'] | null);
|
|
844
624
|
display_name?: (Scalars['String'] | null);
|
|
845
625
|
}
|
|
846
|
-
|
|
847
|
-
content?: boolean | number;
|
|
848
|
-
created_at?: boolean | number;
|
|
849
|
-
id?: boolean | number;
|
|
850
|
-
receiver_id?: boolean | number;
|
|
851
|
-
sender_id?: boolean | number;
|
|
852
|
-
tick?: boolean | number;
|
|
853
|
-
__typename?: boolean | number;
|
|
854
|
-
__scalar?: boolean | number;
|
|
855
|
-
}
|
|
856
|
-
declare const isClan: (obj?: {
|
|
857
|
-
__typename?: any;
|
|
858
|
-
} | null) => obj is Clan;
|
|
859
|
-
declare const isClanApplication: (obj?: {
|
|
860
|
-
__typename?: any;
|
|
861
|
-
} | null) => obj is ClanApplication;
|
|
862
|
-
declare const isClanPact: (obj?: {
|
|
626
|
+
declare const isActionQueueEntry: (obj?: {
|
|
863
627
|
__typename?: any;
|
|
864
|
-
} | null) => obj is
|
|
628
|
+
} | null) => obj is ActionQueueEntry;
|
|
865
629
|
declare const isClaw: (obj?: {
|
|
866
630
|
__typename?: any;
|
|
867
631
|
} | null) => obj is Claw;
|
|
868
632
|
declare const isClawSummary: (obj?: {
|
|
869
633
|
__typename?: any;
|
|
870
634
|
} | null) => obj is ClawSummary;
|
|
635
|
+
declare const isColony: (obj?: {
|
|
636
|
+
__typename?: any;
|
|
637
|
+
} | null) => obj is Colony;
|
|
871
638
|
declare const isCreateClawPayload: (obj?: {
|
|
872
639
|
__typename?: any;
|
|
873
640
|
} | null) => obj is CreateClawPayload;
|
|
@@ -877,6 +644,12 @@ declare const isGameEvent: (obj?: {
|
|
|
877
644
|
declare const isGameStateInfo: (obj?: {
|
|
878
645
|
__typename?: any;
|
|
879
646
|
} | null) => obj is GameStateInfo;
|
|
647
|
+
declare const isLawModel: (obj?: {
|
|
648
|
+
__typename?: any;
|
|
649
|
+
} | null) => obj is LawModel;
|
|
650
|
+
declare const isMessageModel: (obj?: {
|
|
651
|
+
__typename?: any;
|
|
652
|
+
} | null) => obj is MessageModel;
|
|
880
653
|
declare const isMutation: (obj?: {
|
|
881
654
|
__typename?: any;
|
|
882
655
|
} | null) => obj is Mutation;
|
|
@@ -886,12 +659,12 @@ declare const isPlayer: (obj?: {
|
|
|
886
659
|
declare const isPlayerProfile: (obj?: {
|
|
887
660
|
__typename?: any;
|
|
888
661
|
} | null) => obj is PlayerProfile;
|
|
889
|
-
declare const isPool: (obj?: {
|
|
890
|
-
__typename?: any;
|
|
891
|
-
} | null) => obj is Pool;
|
|
892
662
|
declare const isPrivateClaw: (obj?: {
|
|
893
663
|
__typename?: any;
|
|
894
664
|
} | null) => obj is PrivateClaw;
|
|
665
|
+
declare const isProposalModel: (obj?: {
|
|
666
|
+
__typename?: any;
|
|
667
|
+
} | null) => obj is ProposalModel;
|
|
895
668
|
declare const isPublicClaw: (obj?: {
|
|
896
669
|
__typename?: any;
|
|
897
670
|
} | null) => obj is PublicClaw;
|
|
@@ -904,76 +677,45 @@ declare const isRegenerateKeyPayload: (obj?: {
|
|
|
904
677
|
declare const isRelationship: (obj?: {
|
|
905
678
|
__typename?: any;
|
|
906
679
|
} | null) => obj is Relationship;
|
|
907
|
-
declare const
|
|
908
|
-
__typename?: any;
|
|
909
|
-
} | null) => obj is Siege;
|
|
910
|
-
declare const isSpyDeployment: (obj?: {
|
|
680
|
+
declare const isStructureModel: (obj?: {
|
|
911
681
|
__typename?: any;
|
|
912
|
-
} | null) => obj is
|
|
913
|
-
declare const isStandingOrder: (obj?: {
|
|
914
|
-
__typename?: any;
|
|
915
|
-
} | null) => obj is StandingOrder;
|
|
682
|
+
} | null) => obj is StructureModel;
|
|
916
683
|
declare const isSubscription: (obj?: {
|
|
917
684
|
__typename?: any;
|
|
918
685
|
} | null) => obj is Subscription;
|
|
919
|
-
declare const
|
|
686
|
+
declare const isTile: (obj?: {
|
|
920
687
|
__typename?: any;
|
|
921
|
-
} | null) => obj is
|
|
922
|
-
declare const
|
|
688
|
+
} | null) => obj is Tile;
|
|
689
|
+
declare const isTreatyModel: (obj?: {
|
|
923
690
|
__typename?: any;
|
|
924
|
-
} | null) => obj is
|
|
925
|
-
declare const
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
declare const enumClanStatus: {
|
|
935
|
-
ACTIVE: "ACTIVE";
|
|
936
|
-
DISSOLVED: "DISSOLVED";
|
|
691
|
+
} | null) => obj is TreatyModel;
|
|
692
|
+
declare const enumBiome: {
|
|
693
|
+
ABYSSAL_DESERT: "ABYSSAL_DESERT";
|
|
694
|
+
CORAL_REEF: "CORAL_REEF";
|
|
695
|
+
KELP_FOREST: "KELP_FOREST";
|
|
696
|
+
SANDY_FLATS: "SANDY_FLATS";
|
|
697
|
+
THERMAL_VENTS: "THERMAL_VENTS";
|
|
698
|
+
TIDAL_SHALLOWS: "TIDAL_SHALLOWS";
|
|
699
|
+
TRENCHES: "TRENCHES";
|
|
700
|
+
VOLCANIC_RIDGE: "VOLCANIC_RIDGE";
|
|
937
701
|
};
|
|
938
702
|
declare const enumGovernanceType: {
|
|
939
|
-
AUTOCRACY: "AUTOCRACY";
|
|
940
703
|
COUNCIL: "COUNCIL";
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
declare const enumMembershipPolicy: {
|
|
944
|
-
APPLICATION: "APPLICATION";
|
|
945
|
-
CLOSED: "CLOSED";
|
|
946
|
-
FULLY_OPEN: "FULLY_OPEN";
|
|
947
|
-
INVITATION_ONLY: "INVITATION_ONLY";
|
|
948
|
-
};
|
|
949
|
-
declare const enumPactStatus: {
|
|
950
|
-
ACTIVE: "ACTIVE";
|
|
951
|
-
BROKEN: "BROKEN";
|
|
952
|
-
EXPIRED: "EXPIRED";
|
|
953
|
-
PROPOSED: "PROPOSED";
|
|
704
|
+
DICTATOR: "DICTATOR";
|
|
705
|
+
MAJORITY: "MAJORITY";
|
|
954
706
|
};
|
|
955
|
-
declare const
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
707
|
+
declare const enumLawType: {
|
|
708
|
+
CUSTOM: "CUSTOM";
|
|
709
|
+
ENTRY_RESTRICTION: "ENTRY_RESTRICTION";
|
|
710
|
+
EXILE: "EXILE";
|
|
711
|
+
NO_ATTACK: "NO_ATTACK";
|
|
712
|
+
RESOURCE_SHARING: "RESOURCE_SHARING";
|
|
713
|
+
TAX: "TAX";
|
|
962
714
|
};
|
|
963
|
-
declare const
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
FORTIFY: "FORTIFY";
|
|
968
|
-
IDLE: "IDLE";
|
|
969
|
-
MOLT: "MOLT";
|
|
970
|
-
SPY: "SPY";
|
|
971
|
-
};
|
|
972
|
-
declare const enumSiegeStatus: {
|
|
973
|
-
ACTIVE: "ACTIVE";
|
|
974
|
-
FAILED: "FAILED";
|
|
975
|
-
WITHDRAWN: "WITHDRAWN";
|
|
976
|
-
WON: "WON";
|
|
715
|
+
declare const enumProposalStatus: {
|
|
716
|
+
PASSED: "PASSED";
|
|
717
|
+
PENDING: "PENDING";
|
|
718
|
+
REJECTED: "REJECTED";
|
|
977
719
|
};
|
|
978
720
|
declare const enumSpecies: {
|
|
979
721
|
COCONUT_CRAB: "COCONUT_CRAB";
|
|
@@ -983,11 +725,19 @@ declare const enumSpecies: {
|
|
|
983
725
|
MANTIS_SHRIMP: "MANTIS_SHRIMP";
|
|
984
726
|
PISTOL_SHRIMP: "PISTOL_SHRIMP";
|
|
985
727
|
};
|
|
986
|
-
declare const
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
728
|
+
declare const enumStructureType: {
|
|
729
|
+
FARM: "FARM";
|
|
730
|
+
FORTRESS: "FORTRESS";
|
|
731
|
+
MARKET: "MARKET";
|
|
732
|
+
MONUMENT: "MONUMENT";
|
|
733
|
+
SHELTER: "SHELTER";
|
|
734
|
+
SHRINE: "SHRINE";
|
|
735
|
+
TRAP: "TRAP";
|
|
736
|
+
WALL: "WALL";
|
|
737
|
+
};
|
|
738
|
+
declare const enumTreatyStatus: {
|
|
739
|
+
ACTIVE: "ACTIVE";
|
|
740
|
+
BROKEN: "BROKEN";
|
|
991
741
|
};
|
|
992
742
|
|
|
993
743
|
interface ExecutionResult<TData = {
|
|
@@ -1091,4 +841,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
1091
841
|
__name?: string;
|
|
1092
842
|
}) => GraphqlOperation;
|
|
1093
843
|
|
|
1094
|
-
export { type
|
|
844
|
+
export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type Colony, type ColonyGenqlSelection, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, type GameStateInfo, type GameStateInfoGenqlSelection, GenqlError, type GovernanceType, type LawModel, type LawModelGenqlSelection, type LawType, type MessageModel, type MessageModelGenqlSelection, type Mutation, type MutationGenqlSelection, type MutationResult, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type PrivateClaw, type PrivateClawGenqlSelection, type ProposalModel, type ProposalModelGenqlSelection, type ProposalStatus, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type Species, type StructureModel, type StructureModelGenqlSelection, type StructureType, type SubmitActionInput, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Tile, type TileGenqlSelection, type TreatyModel, type TreatyModelGenqlSelection, type TreatyStatus, type UpdateClawInput, type UpdatePlayerInput, createClient, enumBiome, enumGovernanceType, enumLawType, enumProposalStatus, enumSpecies, enumStructureType, enumTreatyStatus, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isActionQueueEntry, isClaw, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
|