@clawconquest/client 1.23.0 → 1.25.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.d.cts CHANGED
@@ -22,6 +22,7 @@ interface Claw {
22
22
  colony_id: (Scalars['String'] | null);
23
23
  coral: Scalars['Float'];
24
24
  created_at: Scalars['DateTime'];
25
+ died_at_tick: (Scalars['Int'] | null);
25
26
  energy: Scalars['Float'];
26
27
  equipment: Scalars['String'][];
27
28
  id: Scalars['ID'];
@@ -34,11 +35,17 @@ interface Claw {
34
35
  profile_emoji: (Scalars['String'] | null);
35
36
  q: Scalars['Int'];
36
37
  r: Scalars['Int'];
38
+ revive_count: Scalars['Int'];
37
39
  sea_moss: Scalars['Float'];
38
40
  species: Species;
39
41
  webhook_url: (Scalars['String'] | null);
40
42
  __typename: 'Claw';
41
43
  }
44
+ interface ClawPosition {
45
+ q: Scalars['Int'];
46
+ r: Scalars['Int'];
47
+ __typename: 'ClawPosition';
48
+ }
42
49
  interface ClawSummary {
43
50
  id: Scalars['ID'];
44
51
  is_alive: Scalars['Boolean'];
@@ -111,6 +118,7 @@ interface Mutation {
111
118
  createClaw: CreateClawPayload;
112
119
  ping: Scalars['Boolean'];
113
120
  regenerateClawKey: RegenerateKeyPayload;
121
+ reviveClaw: Claw;
114
122
  signIn: Player;
115
123
  submitAction: ActionQueueEntry;
116
124
  updateClaw: Claw;
@@ -139,6 +147,7 @@ interface PrivateClaw {
139
147
  colony_id: (Scalars['String'] | null);
140
148
  coral: Scalars['Float'];
141
149
  created_at: Scalars['DateTime'];
150
+ died_at_tick: (Scalars['Int'] | null);
142
151
  energy: Scalars['Float'];
143
152
  equipment: Scalars['String'][];
144
153
  id: Scalars['ID'];
@@ -151,6 +160,7 @@ interface PrivateClaw {
151
160
  profile_emoji: (Scalars['String'] | null);
152
161
  q: Scalars['Int'];
153
162
  r: Scalars['Int'];
163
+ revive_count: Scalars['Int'];
154
164
  sea_moss: Scalars['Float'];
155
165
  species: Species;
156
166
  webhook_url: (Scalars['String'] | null);
@@ -172,6 +182,7 @@ interface PublicClaw {
172
182
  bio: (Scalars['String'] | null);
173
183
  colony_id: (Scalars['String'] | null);
174
184
  created_at: Scalars['DateTime'];
185
+ died_at_tick: (Scalars['Int'] | null);
175
186
  energy: Scalars['Float'];
176
187
  id: Scalars['ID'];
177
188
  is_alive: Scalars['Boolean'];
@@ -180,11 +191,12 @@ interface PublicClaw {
180
191
  profile_emoji: (Scalars['String'] | null);
181
192
  q: Scalars['Int'];
182
193
  r: Scalars['Int'];
194
+ revive_count: Scalars['Int'];
183
195
  species: Species;
184
196
  __typename: 'PublicClaw';
185
197
  }
186
198
  interface Query {
187
- allClaws: PublicClaw[];
199
+ allClaws: ClawPosition[];
188
200
  claw: PublicClaw;
189
201
  colonies: Colony[];
190
202
  colony: Colony;
@@ -270,6 +282,7 @@ interface ClawGenqlSelection {
270
282
  colony_id?: boolean | number;
271
283
  coral?: boolean | number;
272
284
  created_at?: boolean | number;
285
+ died_at_tick?: boolean | number;
273
286
  energy?: boolean | number;
274
287
  equipment?: boolean | number;
275
288
  id?: boolean | number;
@@ -282,12 +295,19 @@ interface ClawGenqlSelection {
282
295
  profile_emoji?: boolean | number;
283
296
  q?: boolean | number;
284
297
  r?: boolean | number;
298
+ revive_count?: boolean | number;
285
299
  sea_moss?: boolean | number;
286
300
  species?: boolean | number;
287
301
  webhook_url?: boolean | number;
288
302
  __typename?: boolean | number;
289
303
  __scalar?: boolean | number;
290
304
  }
305
+ interface ClawPositionGenqlSelection {
306
+ q?: boolean | number;
307
+ r?: boolean | number;
308
+ __typename?: boolean | number;
309
+ __scalar?: boolean | number;
310
+ }
291
311
  interface ClawSummaryGenqlSelection {
292
312
  id?: boolean | number;
293
313
  is_alive?: boolean | number;
@@ -379,6 +399,11 @@ interface MutationGenqlSelection {
379
399
  clawId: Scalars['String'];
380
400
  };
381
401
  });
402
+ reviveClaw?: (ClawGenqlSelection & {
403
+ __args: {
404
+ clawId: Scalars['String'];
405
+ };
406
+ });
382
407
  signIn?: PlayerGenqlSelection;
383
408
  submitAction?: (ActionQueueEntryGenqlSelection & {
384
409
  __args: {
@@ -423,6 +448,7 @@ interface PrivateClawGenqlSelection {
423
448
  colony_id?: boolean | number;
424
449
  coral?: boolean | number;
425
450
  created_at?: boolean | number;
451
+ died_at_tick?: boolean | number;
426
452
  energy?: boolean | number;
427
453
  equipment?: boolean | number;
428
454
  id?: boolean | number;
@@ -435,6 +461,7 @@ interface PrivateClawGenqlSelection {
435
461
  profile_emoji?: boolean | number;
436
462
  q?: boolean | number;
437
463
  r?: boolean | number;
464
+ revive_count?: boolean | number;
438
465
  sea_moss?: boolean | number;
439
466
  species?: boolean | number;
440
467
  webhook_url?: boolean | number;
@@ -457,6 +484,7 @@ interface PublicClawGenqlSelection {
457
484
  bio?: boolean | number;
458
485
  colony_id?: boolean | number;
459
486
  created_at?: boolean | number;
487
+ died_at_tick?: boolean | number;
460
488
  energy?: boolean | number;
461
489
  id?: boolean | number;
462
490
  is_alive?: boolean | number;
@@ -465,12 +493,13 @@ interface PublicClawGenqlSelection {
465
493
  profile_emoji?: boolean | number;
466
494
  q?: boolean | number;
467
495
  r?: boolean | number;
496
+ revive_count?: boolean | number;
468
497
  species?: boolean | number;
469
498
  __typename?: boolean | number;
470
499
  __scalar?: boolean | number;
471
500
  }
472
501
  interface QueryGenqlSelection {
473
- allClaws?: PublicClawGenqlSelection;
502
+ allClaws?: ClawPositionGenqlSelection;
474
503
  claw?: (PublicClawGenqlSelection & {
475
504
  __args: {
476
505
  id: Scalars['String'];
@@ -623,6 +652,9 @@ declare const isActionQueueEntry: (obj?: {
623
652
  declare const isClaw: (obj?: {
624
653
  __typename?: any;
625
654
  } | null) => obj is Claw;
655
+ declare const isClawPosition: (obj?: {
656
+ __typename?: any;
657
+ } | null) => obj is ClawPosition;
626
658
  declare const isClawSummary: (obj?: {
627
659
  __typename?: any;
628
660
  } | null) => obj is ClawSummary;
@@ -835,4 +867,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
835
867
  __name?: string;
836
868
  }) => GraphqlOperation;
837
869
 
838
- 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 };
870
+ export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawPosition, type ClawPositionGenqlSelection, 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, isClawPosition, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ interface Claw {
22
22
  colony_id: (Scalars['String'] | null);
23
23
  coral: Scalars['Float'];
24
24
  created_at: Scalars['DateTime'];
25
+ died_at_tick: (Scalars['Int'] | null);
25
26
  energy: Scalars['Float'];
26
27
  equipment: Scalars['String'][];
27
28
  id: Scalars['ID'];
@@ -34,11 +35,17 @@ interface Claw {
34
35
  profile_emoji: (Scalars['String'] | null);
35
36
  q: Scalars['Int'];
36
37
  r: Scalars['Int'];
38
+ revive_count: Scalars['Int'];
37
39
  sea_moss: Scalars['Float'];
38
40
  species: Species;
39
41
  webhook_url: (Scalars['String'] | null);
40
42
  __typename: 'Claw';
41
43
  }
44
+ interface ClawPosition {
45
+ q: Scalars['Int'];
46
+ r: Scalars['Int'];
47
+ __typename: 'ClawPosition';
48
+ }
42
49
  interface ClawSummary {
43
50
  id: Scalars['ID'];
44
51
  is_alive: Scalars['Boolean'];
@@ -111,6 +118,7 @@ interface Mutation {
111
118
  createClaw: CreateClawPayload;
112
119
  ping: Scalars['Boolean'];
113
120
  regenerateClawKey: RegenerateKeyPayload;
121
+ reviveClaw: Claw;
114
122
  signIn: Player;
115
123
  submitAction: ActionQueueEntry;
116
124
  updateClaw: Claw;
@@ -139,6 +147,7 @@ interface PrivateClaw {
139
147
  colony_id: (Scalars['String'] | null);
140
148
  coral: Scalars['Float'];
141
149
  created_at: Scalars['DateTime'];
150
+ died_at_tick: (Scalars['Int'] | null);
142
151
  energy: Scalars['Float'];
143
152
  equipment: Scalars['String'][];
144
153
  id: Scalars['ID'];
@@ -151,6 +160,7 @@ interface PrivateClaw {
151
160
  profile_emoji: (Scalars['String'] | null);
152
161
  q: Scalars['Int'];
153
162
  r: Scalars['Int'];
163
+ revive_count: Scalars['Int'];
154
164
  sea_moss: Scalars['Float'];
155
165
  species: Species;
156
166
  webhook_url: (Scalars['String'] | null);
@@ -172,6 +182,7 @@ interface PublicClaw {
172
182
  bio: (Scalars['String'] | null);
173
183
  colony_id: (Scalars['String'] | null);
174
184
  created_at: Scalars['DateTime'];
185
+ died_at_tick: (Scalars['Int'] | null);
175
186
  energy: Scalars['Float'];
176
187
  id: Scalars['ID'];
177
188
  is_alive: Scalars['Boolean'];
@@ -180,11 +191,12 @@ interface PublicClaw {
180
191
  profile_emoji: (Scalars['String'] | null);
181
192
  q: Scalars['Int'];
182
193
  r: Scalars['Int'];
194
+ revive_count: Scalars['Int'];
183
195
  species: Species;
184
196
  __typename: 'PublicClaw';
185
197
  }
186
198
  interface Query {
187
- allClaws: PublicClaw[];
199
+ allClaws: ClawPosition[];
188
200
  claw: PublicClaw;
189
201
  colonies: Colony[];
190
202
  colony: Colony;
@@ -270,6 +282,7 @@ interface ClawGenqlSelection {
270
282
  colony_id?: boolean | number;
271
283
  coral?: boolean | number;
272
284
  created_at?: boolean | number;
285
+ died_at_tick?: boolean | number;
273
286
  energy?: boolean | number;
274
287
  equipment?: boolean | number;
275
288
  id?: boolean | number;
@@ -282,12 +295,19 @@ interface ClawGenqlSelection {
282
295
  profile_emoji?: boolean | number;
283
296
  q?: boolean | number;
284
297
  r?: boolean | number;
298
+ revive_count?: boolean | number;
285
299
  sea_moss?: boolean | number;
286
300
  species?: boolean | number;
287
301
  webhook_url?: boolean | number;
288
302
  __typename?: boolean | number;
289
303
  __scalar?: boolean | number;
290
304
  }
305
+ interface ClawPositionGenqlSelection {
306
+ q?: boolean | number;
307
+ r?: boolean | number;
308
+ __typename?: boolean | number;
309
+ __scalar?: boolean | number;
310
+ }
291
311
  interface ClawSummaryGenqlSelection {
292
312
  id?: boolean | number;
293
313
  is_alive?: boolean | number;
@@ -379,6 +399,11 @@ interface MutationGenqlSelection {
379
399
  clawId: Scalars['String'];
380
400
  };
381
401
  });
402
+ reviveClaw?: (ClawGenqlSelection & {
403
+ __args: {
404
+ clawId: Scalars['String'];
405
+ };
406
+ });
382
407
  signIn?: PlayerGenqlSelection;
383
408
  submitAction?: (ActionQueueEntryGenqlSelection & {
384
409
  __args: {
@@ -423,6 +448,7 @@ interface PrivateClawGenqlSelection {
423
448
  colony_id?: boolean | number;
424
449
  coral?: boolean | number;
425
450
  created_at?: boolean | number;
451
+ died_at_tick?: boolean | number;
426
452
  energy?: boolean | number;
427
453
  equipment?: boolean | number;
428
454
  id?: boolean | number;
@@ -435,6 +461,7 @@ interface PrivateClawGenqlSelection {
435
461
  profile_emoji?: boolean | number;
436
462
  q?: boolean | number;
437
463
  r?: boolean | number;
464
+ revive_count?: boolean | number;
438
465
  sea_moss?: boolean | number;
439
466
  species?: boolean | number;
440
467
  webhook_url?: boolean | number;
@@ -457,6 +484,7 @@ interface PublicClawGenqlSelection {
457
484
  bio?: boolean | number;
458
485
  colony_id?: boolean | number;
459
486
  created_at?: boolean | number;
487
+ died_at_tick?: boolean | number;
460
488
  energy?: boolean | number;
461
489
  id?: boolean | number;
462
490
  is_alive?: boolean | number;
@@ -465,12 +493,13 @@ interface PublicClawGenqlSelection {
465
493
  profile_emoji?: boolean | number;
466
494
  q?: boolean | number;
467
495
  r?: boolean | number;
496
+ revive_count?: boolean | number;
468
497
  species?: boolean | number;
469
498
  __typename?: boolean | number;
470
499
  __scalar?: boolean | number;
471
500
  }
472
501
  interface QueryGenqlSelection {
473
- allClaws?: PublicClawGenqlSelection;
502
+ allClaws?: ClawPositionGenqlSelection;
474
503
  claw?: (PublicClawGenqlSelection & {
475
504
  __args: {
476
505
  id: Scalars['String'];
@@ -623,6 +652,9 @@ declare const isActionQueueEntry: (obj?: {
623
652
  declare const isClaw: (obj?: {
624
653
  __typename?: any;
625
654
  } | null) => obj is Claw;
655
+ declare const isClawPosition: (obj?: {
656
+ __typename?: any;
657
+ } | null) => obj is ClawPosition;
626
658
  declare const isClawSummary: (obj?: {
627
659
  __typename?: any;
628
660
  } | null) => obj is ClawSummary;
@@ -835,4 +867,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
835
867
  __name?: string;
836
868
  }) => GraphqlOperation;
837
869
 
838
- 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 };
870
+ export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawPosition, type ClawPositionGenqlSelection, 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, isClawPosition, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };