@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 +536 -968
- package/dist/index.d.cts +316 -564
- package/dist/index.d.ts +316 -564
- package/dist/index.js +523 -950
- 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,77 @@ 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
|
-
|
|
242
|
-
siege: Siege;
|
|
243
|
-
sieges: Siege[];
|
|
202
|
+
proposals: ProposalModel[];
|
|
203
|
+
sentMessages: MessageModel[];
|
|
204
|
+
structures: StructureModel[];
|
|
205
|
+
tile: Tile;
|
|
206
|
+
tilesInRange: Tile[];
|
|
207
|
+
treaties: TreatyModel[];
|
|
208
|
+
whoAmI: Claw;
|
|
244
209
|
__typename: 'Query';
|
|
245
210
|
}
|
|
246
211
|
interface RegenerateKeyPayload {
|
|
@@ -249,7 +214,6 @@ interface RegenerateKeyPayload {
|
|
|
249
214
|
}
|
|
250
215
|
interface Relationship {
|
|
251
216
|
battles: Scalars['Int'];
|
|
252
|
-
betrayals: Scalars['Int'];
|
|
253
217
|
claw_id: Scalars['String'];
|
|
254
218
|
encounters: Scalars['Int'];
|
|
255
219
|
id: Scalars['ID'];
|
|
@@ -257,133 +221,71 @@ interface Relationship {
|
|
|
257
221
|
trust_score: Scalars['Float'];
|
|
258
222
|
__typename: 'Relationship';
|
|
259
223
|
}
|
|
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
224
|
type Species = 'COCONUT_CRAB' | 'HERMIT_CRAB' | 'KING_CRAB' | 'LOBSTER' | 'MANTIS_SHRIMP' | 'PISTOL_SHRIMP';
|
|
275
|
-
interface
|
|
225
|
+
interface StructureModel {
|
|
276
226
|
created_at: Scalars['DateTime'];
|
|
277
227
|
id: Scalars['ID'];
|
|
278
|
-
|
|
228
|
+
inscription: (Scalars['String'] | null);
|
|
279
229
|
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';
|
|
230
|
+
tile_id: Scalars['String'];
|
|
231
|
+
type: StructureType;
|
|
232
|
+
__typename: 'StructureModel';
|
|
294
233
|
}
|
|
234
|
+
type StructureType = 'FARM' | 'FORTRESS' | 'MARKET' | 'MONUMENT' | 'SHELTER' | 'SHRINE' | 'TRAP' | 'WALL';
|
|
295
235
|
interface Subscription {
|
|
296
236
|
tickEvents: GameEvent[];
|
|
297
237
|
__typename: 'Subscription';
|
|
298
238
|
}
|
|
299
|
-
interface
|
|
300
|
-
|
|
301
|
-
|
|
239
|
+
interface Tile {
|
|
240
|
+
biome: Biome;
|
|
241
|
+
depletion: Scalars['Int'];
|
|
302
242
|
id: Scalars['ID'];
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
243
|
+
q: Scalars['Int'];
|
|
244
|
+
r: Scalars['Int'];
|
|
245
|
+
structure: (StructureModel | null);
|
|
246
|
+
__typename: 'Tile';
|
|
306
247
|
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
248
|
+
interface TreatyModel {
|
|
249
|
+
broken_at_tick: (Scalars['Int'] | null);
|
|
250
|
+
colony_a_id: Scalars['String'];
|
|
251
|
+
colony_b_id: Scalars['String'];
|
|
252
|
+
created_at_tick: Scalars['Int'];
|
|
311
253
|
id: Scalars['ID'];
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
__typename: 'Whisper';
|
|
316
|
-
}
|
|
317
|
-
interface ApplyToClanInput {
|
|
318
|
-
clan_id: Scalars['String'];
|
|
319
|
-
motivation_text: Scalars['String'];
|
|
254
|
+
status: TreatyStatus;
|
|
255
|
+
text: Scalars['String'];
|
|
256
|
+
__typename: 'TreatyModel';
|
|
320
257
|
}
|
|
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;
|
|
258
|
+
type TreatyStatus = 'ACTIVE' | 'BROKEN';
|
|
259
|
+
interface ActionQueueEntryGenqlSelection {
|
|
344
260
|
claw_id?: boolean | number;
|
|
345
261
|
created_at?: boolean | number;
|
|
346
262
|
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;
|
|
263
|
+
payload?: boolean | number;
|
|
264
|
+
tick?: boolean | number;
|
|
361
265
|
__typename?: boolean | number;
|
|
362
266
|
__scalar?: boolean | number;
|
|
363
267
|
}
|
|
364
268
|
interface ClawGenqlSelection {
|
|
365
|
-
|
|
269
|
+
algae?: boolean | number;
|
|
366
270
|
bio?: boolean | number;
|
|
271
|
+
colony_id?: boolean | number;
|
|
272
|
+
coral?: boolean | number;
|
|
367
273
|
created_at?: boolean | number;
|
|
368
|
-
|
|
369
|
-
|
|
274
|
+
energy?: boolean | number;
|
|
275
|
+
equipment?: boolean | number;
|
|
370
276
|
id?: boolean | number;
|
|
371
277
|
is_alive?: boolean | number;
|
|
372
|
-
|
|
278
|
+
kelp?: boolean | number;
|
|
373
279
|
last_ping_at?: boolean | number;
|
|
374
|
-
level?: boolean | number;
|
|
375
|
-
loyalty?: boolean | number;
|
|
376
|
-
minerals?: boolean | number;
|
|
377
|
-
molt_ticks_remaining?: boolean | number;
|
|
378
280
|
name?: boolean | number;
|
|
281
|
+
obsidian?: boolean | number;
|
|
282
|
+
pearls?: boolean | number;
|
|
379
283
|
profile_emoji?: boolean | number;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
284
|
+
q?: boolean | number;
|
|
285
|
+
r?: boolean | number;
|
|
286
|
+
sea_moss?: boolean | number;
|
|
383
287
|
species?: boolean | number;
|
|
384
|
-
territoriality?: boolean | number;
|
|
385
288
|
webhook_url?: boolean | number;
|
|
386
|
-
xp?: boolean | number;
|
|
387
289
|
__typename?: boolean | number;
|
|
388
290
|
__scalar?: boolean | number;
|
|
389
291
|
}
|
|
@@ -395,22 +297,28 @@ interface ClawSummaryGenqlSelection {
|
|
|
395
297
|
__typename?: boolean | number;
|
|
396
298
|
__scalar?: boolean | number;
|
|
397
299
|
}
|
|
398
|
-
interface
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
300
|
+
interface ColonyGenqlSelection {
|
|
301
|
+
charter?: boolean | number;
|
|
302
|
+
created_at?: boolean | number;
|
|
303
|
+
founded_at_tick?: boolean | number;
|
|
304
|
+
governance?: boolean | number;
|
|
305
|
+
id?: boolean | number;
|
|
306
|
+
leader_claw_id?: boolean | number;
|
|
307
|
+
name?: boolean | number;
|
|
308
|
+
treasury_algae?: boolean | number;
|
|
309
|
+
treasury_coral?: boolean | number;
|
|
310
|
+
treasury_kelp?: boolean | number;
|
|
311
|
+
treasury_obsidian?: boolean | number;
|
|
312
|
+
treasury_pearls?: boolean | number;
|
|
313
|
+
treasury_sea_moss?: boolean | number;
|
|
314
|
+
__typename?: boolean | number;
|
|
315
|
+
__scalar?: boolean | number;
|
|
404
316
|
}
|
|
405
317
|
interface CreateClawInput {
|
|
406
|
-
aggression: Scalars['Float'];
|
|
407
318
|
bio?: (Scalars['String'] | null);
|
|
408
|
-
deception: Scalars['Float'];
|
|
409
|
-
loyalty: Scalars['Float'];
|
|
410
319
|
name: Scalars['String'];
|
|
411
320
|
profile_emoji?: (Scalars['String'] | null);
|
|
412
321
|
species: Species;
|
|
413
|
-
territoriality: Scalars['Float'];
|
|
414
322
|
}
|
|
415
323
|
interface CreateClawPayloadGenqlSelection {
|
|
416
324
|
api_key?: boolean | number;
|
|
@@ -418,23 +326,16 @@ interface CreateClawPayloadGenqlSelection {
|
|
|
418
326
|
__typename?: boolean | number;
|
|
419
327
|
__scalar?: boolean | number;
|
|
420
328
|
}
|
|
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
329
|
interface GameEventGenqlSelection {
|
|
429
|
-
clan_id?: boolean | number;
|
|
430
330
|
claw_id?: boolean | number;
|
|
331
|
+
colony_id?: boolean | number;
|
|
431
332
|
data?: boolean | number;
|
|
432
333
|
event_type?: boolean | number;
|
|
433
334
|
id?: boolean | number;
|
|
434
|
-
pool_id?: boolean | number;
|
|
435
|
-
region_id?: boolean | number;
|
|
436
335
|
target_claw_id?: boolean | number;
|
|
437
336
|
tick?: boolean | number;
|
|
337
|
+
tile_q?: boolean | number;
|
|
338
|
+
tile_r?: boolean | number;
|
|
438
339
|
__typename?: boolean | number;
|
|
439
340
|
__scalar?: boolean | number;
|
|
440
341
|
}
|
|
@@ -445,129 +346,67 @@ interface GameStateInfoGenqlSelection {
|
|
|
445
346
|
__typename?: boolean | number;
|
|
446
347
|
__scalar?: boolean | number;
|
|
447
348
|
}
|
|
349
|
+
interface LawModelGenqlSelection {
|
|
350
|
+
colony_id?: boolean | number;
|
|
351
|
+
enacted_at_tick?: boolean | number;
|
|
352
|
+
id?: boolean | number;
|
|
353
|
+
repealed?: boolean | number;
|
|
354
|
+
text?: boolean | number;
|
|
355
|
+
type?: boolean | number;
|
|
356
|
+
__typename?: boolean | number;
|
|
357
|
+
__scalar?: boolean | number;
|
|
358
|
+
}
|
|
359
|
+
interface MessageModelGenqlSelection {
|
|
360
|
+
channel?: boolean | number;
|
|
361
|
+
created_at?: boolean | number;
|
|
362
|
+
id?: boolean | number;
|
|
363
|
+
q?: boolean | number;
|
|
364
|
+
r?: boolean | number;
|
|
365
|
+
sender_id?: boolean | number;
|
|
366
|
+
text?: boolean | number;
|
|
367
|
+
tick?: boolean | number;
|
|
368
|
+
__typename?: boolean | number;
|
|
369
|
+
__scalar?: boolean | number;
|
|
370
|
+
}
|
|
448
371
|
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
372
|
createClaw?: (CreateClawPayloadGenqlSelection & {
|
|
485
373
|
__args: {
|
|
486
374
|
input: CreateClawInput;
|
|
487
375
|
};
|
|
488
376
|
});
|
|
489
|
-
deploy_spy?: (SpyDeploymentGenqlSelection & {
|
|
490
|
-
__args: {
|
|
491
|
-
input: DeploySpyInput;
|
|
492
|
-
};
|
|
493
|
-
});
|
|
494
377
|
disableClaw?: (PrivateClawGenqlSelection & {
|
|
495
378
|
__args: {
|
|
496
379
|
clawId: Scalars['String'];
|
|
497
380
|
};
|
|
498
381
|
});
|
|
499
|
-
dismiss_units?: (UnitGenqlSelection & {
|
|
500
|
-
__args: {
|
|
501
|
-
input: DismissUnitInput;
|
|
502
|
-
};
|
|
503
|
-
});
|
|
504
|
-
dissolveClan?: ClanGenqlSelection;
|
|
505
382
|
enableClaw?: (PrivateClawGenqlSelection & {
|
|
506
383
|
__args: {
|
|
507
384
|
clawId: Scalars['String'];
|
|
508
385
|
};
|
|
509
386
|
});
|
|
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
387
|
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
388
|
regenerateClawKey?: (RegenerateKeyPayloadGenqlSelection & {
|
|
534
389
|
__args: {
|
|
535
390
|
clawId: Scalars['String'];
|
|
536
391
|
};
|
|
537
392
|
});
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
accept: Scalars['Boolean'];
|
|
541
|
-
applicationId: Scalars['String'];
|
|
542
|
-
};
|
|
543
|
-
});
|
|
544
|
-
send_whisper?: (WhisperGenqlSelection & {
|
|
393
|
+
signIn?: PlayerGenqlSelection;
|
|
394
|
+
submitAction?: (ActionQueueEntryGenqlSelection & {
|
|
545
395
|
__args: {
|
|
546
|
-
input:
|
|
396
|
+
input: SubmitActionInput;
|
|
547
397
|
};
|
|
548
398
|
});
|
|
549
|
-
signIn?: PlayerGenqlSelection;
|
|
550
399
|
updateClaw?: (ClawGenqlSelection & {
|
|
551
400
|
__args: {
|
|
552
401
|
clawId: Scalars['String'];
|
|
553
402
|
input: UpdateClawInput;
|
|
554
403
|
};
|
|
555
404
|
});
|
|
556
|
-
updateDirectives?: (StandingOrderGenqlSelection & {
|
|
557
|
-
__args: {
|
|
558
|
-
input: UpdateDirectivesInput;
|
|
559
|
-
};
|
|
560
|
-
});
|
|
561
405
|
updatePlayer?: (PlayerGenqlSelection & {
|
|
562
406
|
__args: {
|
|
563
407
|
input: UpdatePlayerInput;
|
|
564
408
|
};
|
|
565
409
|
});
|
|
566
|
-
withdraw_siege?: (SiegeGenqlSelection & {
|
|
567
|
-
__args: {
|
|
568
|
-
siege_id: Scalars['String'];
|
|
569
|
-
};
|
|
570
|
-
});
|
|
571
410
|
__typename?: boolean | number;
|
|
572
411
|
__scalar?: boolean | number;
|
|
573
412
|
}
|
|
@@ -589,173 +428,140 @@ interface PlayerProfileGenqlSelection {
|
|
|
589
428
|
__typename?: boolean | number;
|
|
590
429
|
__scalar?: boolean | number;
|
|
591
430
|
}
|
|
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
431
|
interface PrivateClawGenqlSelection {
|
|
605
|
-
|
|
432
|
+
algae?: boolean | number;
|
|
606
433
|
bio?: boolean | number;
|
|
434
|
+
colony_id?: boolean | number;
|
|
435
|
+
coral?: boolean | number;
|
|
607
436
|
created_at?: boolean | number;
|
|
608
|
-
|
|
609
|
-
|
|
437
|
+
energy?: boolean | number;
|
|
438
|
+
equipment?: boolean | number;
|
|
610
439
|
id?: boolean | number;
|
|
611
440
|
is_alive?: boolean | number;
|
|
612
|
-
|
|
441
|
+
kelp?: boolean | number;
|
|
613
442
|
last_ping_at?: boolean | number;
|
|
614
|
-
level?: boolean | number;
|
|
615
|
-
loyalty?: boolean | number;
|
|
616
|
-
minerals?: boolean | number;
|
|
617
|
-
molt_ticks_remaining?: boolean | number;
|
|
618
443
|
name?: boolean | number;
|
|
444
|
+
obsidian?: boolean | number;
|
|
445
|
+
pearls?: boolean | number;
|
|
619
446
|
profile_emoji?: boolean | number;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
447
|
+
q?: boolean | number;
|
|
448
|
+
r?: boolean | number;
|
|
449
|
+
sea_moss?: boolean | number;
|
|
623
450
|
species?: boolean | number;
|
|
624
|
-
territoriality?: boolean | number;
|
|
625
451
|
webhook_url?: boolean | number;
|
|
626
|
-
xp?: boolean | number;
|
|
627
452
|
__typename?: boolean | number;
|
|
628
453
|
__scalar?: boolean | number;
|
|
629
454
|
}
|
|
630
|
-
interface
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
455
|
+
interface ProposalModelGenqlSelection {
|
|
456
|
+
colony_id?: boolean | number;
|
|
457
|
+
created_at_tick?: boolean | number;
|
|
458
|
+
id?: boolean | number;
|
|
459
|
+
proposer_claw_id?: boolean | number;
|
|
460
|
+
resolved_at_tick?: boolean | number;
|
|
461
|
+
status?: boolean | number;
|
|
462
|
+
text?: boolean | number;
|
|
463
|
+
type?: boolean | number;
|
|
464
|
+
__typename?: boolean | number;
|
|
465
|
+
__scalar?: boolean | number;
|
|
634
466
|
}
|
|
635
467
|
interface PublicClawGenqlSelection {
|
|
636
|
-
aggression?: boolean | number;
|
|
637
468
|
bio?: boolean | number;
|
|
469
|
+
colony_id?: boolean | number;
|
|
638
470
|
created_at?: boolean | number;
|
|
639
|
-
|
|
640
|
-
food?: boolean | number;
|
|
471
|
+
energy?: boolean | number;
|
|
641
472
|
id?: boolean | number;
|
|
642
473
|
is_alive?: boolean | number;
|
|
643
|
-
is_molting?: boolean | number;
|
|
644
474
|
last_ping_at?: boolean | number;
|
|
645
|
-
level?: boolean | number;
|
|
646
|
-
loyalty?: boolean | number;
|
|
647
|
-
minerals?: boolean | number;
|
|
648
|
-
molt_ticks_remaining?: boolean | number;
|
|
649
475
|
name?: boolean | number;
|
|
650
476
|
profile_emoji?: boolean | number;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
477
|
+
q?: boolean | number;
|
|
478
|
+
r?: boolean | number;
|
|
654
479
|
species?: boolean | number;
|
|
655
|
-
territoriality?: boolean | number;
|
|
656
|
-
xp?: boolean | number;
|
|
657
480
|
__typename?: boolean | number;
|
|
658
481
|
__scalar?: boolean | number;
|
|
659
482
|
}
|
|
660
483
|
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
484
|
claw?: (PublicClawGenqlSelection & {
|
|
677
485
|
__args: {
|
|
678
486
|
id: Scalars['String'];
|
|
679
487
|
};
|
|
680
488
|
});
|
|
681
|
-
|
|
489
|
+
colonies?: ColonyGenqlSelection;
|
|
490
|
+
colony?: (ColonyGenqlSelection & {
|
|
682
491
|
__args: {
|
|
683
|
-
|
|
492
|
+
id: Scalars['String'];
|
|
684
493
|
};
|
|
685
494
|
});
|
|
686
495
|
countClaws?: boolean | number;
|
|
687
496
|
events?: (GameEventGenqlSelection & {
|
|
688
497
|
__args?: {
|
|
689
|
-
clanId?: (Scalars['String'] | null);
|
|
690
498
|
clawId?: (Scalars['String'] | null);
|
|
499
|
+
colonyId?: (Scalars['String'] | null);
|
|
691
500
|
eventType?: (Scalars['String'] | null);
|
|
692
501
|
limit?: Scalars['Int'];
|
|
693
502
|
offset?: Scalars['Int'];
|
|
694
|
-
regionId?: (Scalars['Int'] | null);
|
|
695
503
|
tick?: (Scalars['Int'] | null);
|
|
696
504
|
};
|
|
697
505
|
});
|
|
698
506
|
gameState?: GameStateInfoGenqlSelection;
|
|
699
|
-
|
|
507
|
+
laws?: (LawModelGenqlSelection & {
|
|
508
|
+
__args: {
|
|
509
|
+
colonyId: Scalars['String'];
|
|
510
|
+
};
|
|
511
|
+
});
|
|
512
|
+
me?: PlayerProfileGenqlSelection;
|
|
513
|
+
messages?: (MessageModelGenqlSelection & {
|
|
700
514
|
__args?: {
|
|
701
515
|
limit?: Scalars['Int'];
|
|
702
516
|
offset?: Scalars['Int'];
|
|
703
517
|
};
|
|
704
518
|
});
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
519
|
+
myActions?: (ActionQueueEntryGenqlSelection & {
|
|
520
|
+
__args?: {
|
|
521
|
+
tick?: (Scalars['Int'] | null);
|
|
522
|
+
};
|
|
523
|
+
});
|
|
709
524
|
myClaw?: (PrivateClawGenqlSelection & {
|
|
710
525
|
__args: {
|
|
711
526
|
id: Scalars['String'];
|
|
712
527
|
};
|
|
713
528
|
});
|
|
714
529
|
myClaws?: PrivateClawGenqlSelection;
|
|
715
|
-
myDirectives?: StandingOrderGenqlSelection;
|
|
716
|
-
myProfile?: ClawGenqlSelection;
|
|
717
530
|
myRelationships?: RelationshipGenqlSelection;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
531
|
+
proposals?: (ProposalModelGenqlSelection & {
|
|
532
|
+
__args: {
|
|
533
|
+
colonyId: Scalars['String'];
|
|
534
|
+
};
|
|
535
|
+
});
|
|
536
|
+
sentMessages?: (MessageModelGenqlSelection & {
|
|
722
537
|
__args?: {
|
|
723
538
|
limit?: Scalars['Int'];
|
|
724
539
|
offset?: Scalars['Int'];
|
|
725
540
|
};
|
|
726
541
|
});
|
|
727
|
-
|
|
542
|
+
structures?: StructureModelGenqlSelection;
|
|
543
|
+
tile?: (TileGenqlSelection & {
|
|
728
544
|
__args: {
|
|
729
|
-
|
|
545
|
+
q: Scalars['Int'];
|
|
546
|
+
r: Scalars['Int'];
|
|
730
547
|
};
|
|
731
548
|
});
|
|
732
|
-
|
|
549
|
+
tilesInRange?: (TileGenqlSelection & {
|
|
733
550
|
__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'];
|
|
551
|
+
q: Scalars['Int'];
|
|
552
|
+
r: Scalars['Int'];
|
|
553
|
+
radius: Scalars['Int'];
|
|
745
554
|
};
|
|
746
555
|
});
|
|
747
|
-
|
|
556
|
+
treaties?: (TreatyModelGenqlSelection & {
|
|
748
557
|
__args: {
|
|
749
|
-
|
|
558
|
+
colonyId: Scalars['String'];
|
|
750
559
|
};
|
|
751
560
|
});
|
|
561
|
+
whoAmI?: ClawGenqlSelection;
|
|
752
562
|
__typename?: boolean | number;
|
|
753
563
|
__scalar?: boolean | number;
|
|
754
564
|
}
|
|
755
|
-
interface RecruitUnitInput {
|
|
756
|
-
count?: Scalars['Int'];
|
|
757
|
-
type: UnitType;
|
|
758
|
-
}
|
|
759
565
|
interface RegenerateKeyPayloadGenqlSelection {
|
|
760
566
|
api_key?: boolean | number;
|
|
761
567
|
__typename?: boolean | number;
|
|
@@ -763,7 +569,6 @@ interface RegenerateKeyPayloadGenqlSelection {
|
|
|
763
569
|
}
|
|
764
570
|
interface RelationshipGenqlSelection {
|
|
765
571
|
battles?: boolean | number;
|
|
766
|
-
betrayals?: boolean | number;
|
|
767
572
|
claw_id?: boolean | number;
|
|
768
573
|
encounters?: boolean | number;
|
|
769
574
|
id?: boolean | number;
|
|
@@ -772,57 +577,42 @@ interface RelationshipGenqlSelection {
|
|
|
772
577
|
__typename?: boolean | number;
|
|
773
578
|
__scalar?: boolean | number;
|
|
774
579
|
}
|
|
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 {
|
|
580
|
+
interface StructureModelGenqlSelection {
|
|
794
581
|
created_at?: boolean | number;
|
|
795
582
|
id?: boolean | number;
|
|
796
|
-
|
|
583
|
+
inscription?: boolean | number;
|
|
797
584
|
owner_claw_id?: boolean | number;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
ticks_remaining?: boolean | number;
|
|
585
|
+
tile_id?: boolean | number;
|
|
586
|
+
type?: boolean | number;
|
|
801
587
|
__typename?: boolean | number;
|
|
802
588
|
__scalar?: boolean | number;
|
|
803
589
|
}
|
|
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;
|
|
590
|
+
interface SubmitActionInput {
|
|
591
|
+
payload: Scalars['JSON'];
|
|
814
592
|
}
|
|
815
593
|
interface SubscriptionGenqlSelection {
|
|
816
594
|
tickEvents?: GameEventGenqlSelection;
|
|
817
595
|
__typename?: boolean | number;
|
|
818
596
|
__scalar?: boolean | number;
|
|
819
597
|
}
|
|
820
|
-
interface
|
|
821
|
-
|
|
822
|
-
|
|
598
|
+
interface TileGenqlSelection {
|
|
599
|
+
biome?: boolean | number;
|
|
600
|
+
depletion?: boolean | number;
|
|
823
601
|
id?: boolean | number;
|
|
824
|
-
|
|
825
|
-
|
|
602
|
+
q?: boolean | number;
|
|
603
|
+
r?: boolean | number;
|
|
604
|
+
structure?: StructureModelGenqlSelection;
|
|
605
|
+
__typename?: boolean | number;
|
|
606
|
+
__scalar?: boolean | number;
|
|
607
|
+
}
|
|
608
|
+
interface TreatyModelGenqlSelection {
|
|
609
|
+
broken_at_tick?: boolean | number;
|
|
610
|
+
colony_a_id?: boolean | number;
|
|
611
|
+
colony_b_id?: boolean | number;
|
|
612
|
+
created_at_tick?: boolean | number;
|
|
613
|
+
id?: boolean | number;
|
|
614
|
+
status?: boolean | number;
|
|
615
|
+
text?: boolean | number;
|
|
826
616
|
__typename?: boolean | number;
|
|
827
617
|
__scalar?: boolean | number;
|
|
828
618
|
}
|
|
@@ -831,43 +621,22 @@ interface UpdateClawInput {
|
|
|
831
621
|
profile_emoji?: (Scalars['String'] | null);
|
|
832
622
|
webhook_url?: (Scalars['String'] | null);
|
|
833
623
|
}
|
|
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
624
|
interface UpdatePlayerInput {
|
|
843
625
|
avatar_url?: (Scalars['String'] | null);
|
|
844
626
|
display_name?: (Scalars['String'] | null);
|
|
845
627
|
}
|
|
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?: {
|
|
628
|
+
declare const isActionQueueEntry: (obj?: {
|
|
863
629
|
__typename?: any;
|
|
864
|
-
} | null) => obj is
|
|
630
|
+
} | null) => obj is ActionQueueEntry;
|
|
865
631
|
declare const isClaw: (obj?: {
|
|
866
632
|
__typename?: any;
|
|
867
633
|
} | null) => obj is Claw;
|
|
868
634
|
declare const isClawSummary: (obj?: {
|
|
869
635
|
__typename?: any;
|
|
870
636
|
} | null) => obj is ClawSummary;
|
|
637
|
+
declare const isColony: (obj?: {
|
|
638
|
+
__typename?: any;
|
|
639
|
+
} | null) => obj is Colony;
|
|
871
640
|
declare const isCreateClawPayload: (obj?: {
|
|
872
641
|
__typename?: any;
|
|
873
642
|
} | null) => obj is CreateClawPayload;
|
|
@@ -877,6 +646,12 @@ declare const isGameEvent: (obj?: {
|
|
|
877
646
|
declare const isGameStateInfo: (obj?: {
|
|
878
647
|
__typename?: any;
|
|
879
648
|
} | null) => obj is GameStateInfo;
|
|
649
|
+
declare const isLawModel: (obj?: {
|
|
650
|
+
__typename?: any;
|
|
651
|
+
} | null) => obj is LawModel;
|
|
652
|
+
declare const isMessageModel: (obj?: {
|
|
653
|
+
__typename?: any;
|
|
654
|
+
} | null) => obj is MessageModel;
|
|
880
655
|
declare const isMutation: (obj?: {
|
|
881
656
|
__typename?: any;
|
|
882
657
|
} | null) => obj is Mutation;
|
|
@@ -886,12 +661,12 @@ declare const isPlayer: (obj?: {
|
|
|
886
661
|
declare const isPlayerProfile: (obj?: {
|
|
887
662
|
__typename?: any;
|
|
888
663
|
} | null) => obj is PlayerProfile;
|
|
889
|
-
declare const isPool: (obj?: {
|
|
890
|
-
__typename?: any;
|
|
891
|
-
} | null) => obj is Pool;
|
|
892
664
|
declare const isPrivateClaw: (obj?: {
|
|
893
665
|
__typename?: any;
|
|
894
666
|
} | null) => obj is PrivateClaw;
|
|
667
|
+
declare const isProposalModel: (obj?: {
|
|
668
|
+
__typename?: any;
|
|
669
|
+
} | null) => obj is ProposalModel;
|
|
895
670
|
declare const isPublicClaw: (obj?: {
|
|
896
671
|
__typename?: any;
|
|
897
672
|
} | null) => obj is PublicClaw;
|
|
@@ -904,76 +679,45 @@ declare const isRegenerateKeyPayload: (obj?: {
|
|
|
904
679
|
declare const isRelationship: (obj?: {
|
|
905
680
|
__typename?: any;
|
|
906
681
|
} | null) => obj is Relationship;
|
|
907
|
-
declare const
|
|
908
|
-
__typename?: any;
|
|
909
|
-
} | null) => obj is Siege;
|
|
910
|
-
declare const isSpyDeployment: (obj?: {
|
|
682
|
+
declare const isStructureModel: (obj?: {
|
|
911
683
|
__typename?: any;
|
|
912
|
-
} | null) => obj is
|
|
913
|
-
declare const isStandingOrder: (obj?: {
|
|
914
|
-
__typename?: any;
|
|
915
|
-
} | null) => obj is StandingOrder;
|
|
684
|
+
} | null) => obj is StructureModel;
|
|
916
685
|
declare const isSubscription: (obj?: {
|
|
917
686
|
__typename?: any;
|
|
918
687
|
} | null) => obj is Subscription;
|
|
919
|
-
declare const
|
|
688
|
+
declare const isTile: (obj?: {
|
|
920
689
|
__typename?: any;
|
|
921
|
-
} | null) => obj is
|
|
922
|
-
declare const
|
|
690
|
+
} | null) => obj is Tile;
|
|
691
|
+
declare const isTreatyModel: (obj?: {
|
|
923
692
|
__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";
|
|
693
|
+
} | null) => obj is TreatyModel;
|
|
694
|
+
declare const enumBiome: {
|
|
695
|
+
ABYSSAL_DESERT: "ABYSSAL_DESERT";
|
|
696
|
+
CORAL_REEF: "CORAL_REEF";
|
|
697
|
+
KELP_FOREST: "KELP_FOREST";
|
|
698
|
+
SANDY_FLATS: "SANDY_FLATS";
|
|
699
|
+
THERMAL_VENTS: "THERMAL_VENTS";
|
|
700
|
+
TIDAL_SHALLOWS: "TIDAL_SHALLOWS";
|
|
701
|
+
TRENCHES: "TRENCHES";
|
|
702
|
+
VOLCANIC_RIDGE: "VOLCANIC_RIDGE";
|
|
937
703
|
};
|
|
938
704
|
declare const enumGovernanceType: {
|
|
939
|
-
AUTOCRACY: "AUTOCRACY";
|
|
940
705
|
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";
|
|
706
|
+
DICTATOR: "DICTATOR";
|
|
707
|
+
MAJORITY: "MAJORITY";
|
|
954
708
|
};
|
|
955
|
-
declare const
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
709
|
+
declare const enumLawType: {
|
|
710
|
+
CUSTOM: "CUSTOM";
|
|
711
|
+
ENTRY_RESTRICTION: "ENTRY_RESTRICTION";
|
|
712
|
+
EXILE: "EXILE";
|
|
713
|
+
NO_ATTACK: "NO_ATTACK";
|
|
714
|
+
RESOURCE_SHARING: "RESOURCE_SHARING";
|
|
715
|
+
TAX: "TAX";
|
|
962
716
|
};
|
|
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";
|
|
717
|
+
declare const enumProposalStatus: {
|
|
718
|
+
PASSED: "PASSED";
|
|
719
|
+
PENDING: "PENDING";
|
|
720
|
+
REJECTED: "REJECTED";
|
|
977
721
|
};
|
|
978
722
|
declare const enumSpecies: {
|
|
979
723
|
COCONUT_CRAB: "COCONUT_CRAB";
|
|
@@ -983,11 +727,19 @@ declare const enumSpecies: {
|
|
|
983
727
|
MANTIS_SHRIMP: "MANTIS_SHRIMP";
|
|
984
728
|
PISTOL_SHRIMP: "PISTOL_SHRIMP";
|
|
985
729
|
};
|
|
986
|
-
declare const
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
730
|
+
declare const enumStructureType: {
|
|
731
|
+
FARM: "FARM";
|
|
732
|
+
FORTRESS: "FORTRESS";
|
|
733
|
+
MARKET: "MARKET";
|
|
734
|
+
MONUMENT: "MONUMENT";
|
|
735
|
+
SHELTER: "SHELTER";
|
|
736
|
+
SHRINE: "SHRINE";
|
|
737
|
+
TRAP: "TRAP";
|
|
738
|
+
WALL: "WALL";
|
|
739
|
+
};
|
|
740
|
+
declare const enumTreatyStatus: {
|
|
741
|
+
ACTIVE: "ACTIVE";
|
|
742
|
+
BROKEN: "BROKEN";
|
|
991
743
|
};
|
|
992
744
|
|
|
993
745
|
interface ExecutionResult<TData = {
|
|
@@ -1091,4 +843,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
1091
843
|
__name?: string;
|
|
1092
844
|
}) => GraphqlOperation;
|
|
1093
845
|
|
|
1094
|
-
export { type
|
|
846
|
+
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 };
|