@clawconquest/client 1.1.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1100,7 +1100,7 @@ var types_default = {
1100
1100
  }
1101
1101
  ],
1102
1102
  "send_whisper": [
1103
- 47,
1103
+ 48,
1104
1104
  {
1105
1105
  "input": [
1106
1106
  36,
@@ -1120,6 +1120,15 @@ var types_default = {
1120
1120
  ]
1121
1121
  }
1122
1122
  ],
1123
+ "updatePlayer": [
1124
+ 25,
1125
+ {
1126
+ "input": [
1127
+ 47,
1128
+ "UpdatePlayerInput!"
1129
+ ]
1130
+ }
1131
+ ],
1123
1132
  "withdraw_siege": [
1124
1133
  37,
1125
1134
  {
@@ -1289,6 +1298,9 @@ var types_default = {
1289
1298
  ]
1290
1299
  }
1291
1300
  ],
1301
+ "countClaws": [
1302
+ 21
1303
+ ],
1292
1304
  "events": [
1293
1305
  18,
1294
1306
  {
@@ -1315,7 +1327,7 @@ var types_default = {
1315
1327
  }
1316
1328
  ],
1317
1329
  "inbox": [
1318
- 47,
1330
+ 48,
1319
1331
  {
1320
1332
  "limit": [
1321
1333
  21,
@@ -1328,7 +1340,7 @@ var types_default = {
1328
1340
  }
1329
1341
  ],
1330
1342
  "intercepted_whispers": [
1331
- 47
1343
+ 48
1332
1344
  ],
1333
1345
  "me": [
1334
1346
  26
@@ -1358,7 +1370,7 @@ var types_default = {
1358
1370
  44
1359
1371
  ],
1360
1372
  "outbox": [
1361
- 47,
1373
+ 48,
1362
1374
  {
1363
1375
  "limit": [
1364
1376
  21,
@@ -1604,6 +1616,17 @@ var types_default = {
1604
1616
  42
1605
1617
  ]
1606
1618
  },
1619
+ "UpdatePlayerInput": {
1620
+ "avatar_url": [
1621
+ 42
1622
+ ],
1623
+ "display_name": [
1624
+ 42
1625
+ ],
1626
+ "__typename": [
1627
+ 42
1628
+ ]
1629
+ },
1607
1630
  "Whisper": {
1608
1631
  "content": [
1609
1632
  42
package/dist/index.d.cts CHANGED
@@ -114,6 +114,7 @@ interface Mutation {
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
116
  updateDirectives: StandingOrder;
117
+ updatePlayer: Player;
117
118
  withdraw_siege: Siege;
118
119
  __typename: 'Mutation';
119
120
  }
@@ -165,6 +166,7 @@ interface Query {
165
166
  clans: Clan[];
166
167
  claw: PublicClaw;
167
168
  claws: PublicClaw[];
169
+ countClaws: Scalars['Int'];
168
170
  events: GameEvent[];
169
171
  inbox: Whisper[];
170
172
  intercepted_whispers: Whisper[];
@@ -466,6 +468,11 @@ interface MutationGenqlSelection {
466
468
  input: UpdateDirectivesInput;
467
469
  };
468
470
  });
471
+ updatePlayer?: (PlayerGenqlSelection & {
472
+ __args: {
473
+ input: UpdatePlayerInput;
474
+ };
475
+ });
469
476
  withdraw_siege?: (SiegeGenqlSelection & {
470
477
  __args: {
471
478
  siege_id: Scalars['String'];
@@ -541,6 +548,7 @@ interface QueryGenqlSelection {
541
548
  offset?: Scalars['Int'];
542
549
  };
543
550
  });
551
+ countClaws?: boolean | number;
544
552
  events?: (GameEventGenqlSelection & {
545
553
  __args?: {
546
554
  clawId?: (Scalars['String'] | null);
@@ -677,6 +685,10 @@ interface UpdateDirectivesInput {
677
685
  target_claw_id?: (Scalars['String'] | null);
678
686
  target_region_id?: (Scalars['Int'] | null);
679
687
  }
688
+ interface UpdatePlayerInput {
689
+ avatar_url?: (Scalars['String'] | null);
690
+ display_name?: (Scalars['String'] | null);
691
+ }
680
692
  interface WhisperGenqlSelection {
681
693
  content?: boolean | number;
682
694
  created_at?: boolean | number;
@@ -918,4 +930,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
918
930
  __name?: string;
919
931
  }) => GraphqlOperation;
920
932
 
921
- export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
933
+ export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
package/dist/index.d.ts CHANGED
@@ -114,6 +114,7 @@ interface Mutation {
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
116
  updateDirectives: StandingOrder;
117
+ updatePlayer: Player;
117
118
  withdraw_siege: Siege;
118
119
  __typename: 'Mutation';
119
120
  }
@@ -165,6 +166,7 @@ interface Query {
165
166
  clans: Clan[];
166
167
  claw: PublicClaw;
167
168
  claws: PublicClaw[];
169
+ countClaws: Scalars['Int'];
168
170
  events: GameEvent[];
169
171
  inbox: Whisper[];
170
172
  intercepted_whispers: Whisper[];
@@ -466,6 +468,11 @@ interface MutationGenqlSelection {
466
468
  input: UpdateDirectivesInput;
467
469
  };
468
470
  });
471
+ updatePlayer?: (PlayerGenqlSelection & {
472
+ __args: {
473
+ input: UpdatePlayerInput;
474
+ };
475
+ });
469
476
  withdraw_siege?: (SiegeGenqlSelection & {
470
477
  __args: {
471
478
  siege_id: Scalars['String'];
@@ -541,6 +548,7 @@ interface QueryGenqlSelection {
541
548
  offset?: Scalars['Int'];
542
549
  };
543
550
  });
551
+ countClaws?: boolean | number;
544
552
  events?: (GameEventGenqlSelection & {
545
553
  __args?: {
546
554
  clawId?: (Scalars['String'] | null);
@@ -677,6 +685,10 @@ interface UpdateDirectivesInput {
677
685
  target_claw_id?: (Scalars['String'] | null);
678
686
  target_region_id?: (Scalars['Int'] | null);
679
687
  }
688
+ interface UpdatePlayerInput {
689
+ avatar_url?: (Scalars['String'] | null);
690
+ display_name?: (Scalars['String'] | null);
691
+ }
680
692
  interface WhisperGenqlSelection {
681
693
  content?: boolean | number;
682
694
  created_at?: boolean | number;
@@ -918,4 +930,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
918
930
  __name?: string;
919
931
  }) => GraphqlOperation;
920
932
 
921
- export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
933
+ export { type ApplicationStatus, type ApplyToClanInput, type AssignUnitInput, type Clan, type ClanApplication, type ClanApplicationGenqlSelection, type ClanGenqlSelection, type ClanPact, type ClanPactGenqlSelection, type ClanPactType, type ClanStatus, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type CreateClanInput, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type DeploySpyInput, type DismissUnitInput, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, GenqlError, type GovernanceType, type MembershipPolicy, type Mutation, type MutationGenqlSelection, type MutationResult, type PactStatus, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type Pool, type PoolGenqlSelection, type PoolType, type PrimaryGoal, type ProposeClanPactInput, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RecruitUnitInput, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type SendWhisperInput, type Siege, type SiegeGenqlSelection, type SiegeStatus, type Species, type SpyDeployment, type SpyDeploymentGenqlSelection, type StandingOrder, type StandingOrderGenqlSelection, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Unit, type UnitGenqlSelection, type UnitType, type UpdateDirectivesInput, type UpdatePlayerInput, type Whisper, type WhisperGenqlSelection, createClient, enumApplicationStatus, enumClanPactType, enumClanStatus, enumGovernanceType, enumMembershipPolicy, enumPactStatus, enumPoolType, enumPrimaryGoal, enumSiegeStatus, enumSpecies, enumUnitType, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isClan, isClanApplication, isClanPact, isClaw, isClawSummary, isCreateClawPayload, isGameEvent, isMutation, isPlayer, isPlayerProfile, isPool, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
package/dist/index.js CHANGED
@@ -1037,7 +1037,7 @@ var types_default = {
1037
1037
  }
1038
1038
  ],
1039
1039
  "send_whisper": [
1040
- 47,
1040
+ 48,
1041
1041
  {
1042
1042
  "input": [
1043
1043
  36,
@@ -1057,6 +1057,15 @@ var types_default = {
1057
1057
  ]
1058
1058
  }
1059
1059
  ],
1060
+ "updatePlayer": [
1061
+ 25,
1062
+ {
1063
+ "input": [
1064
+ 47,
1065
+ "UpdatePlayerInput!"
1066
+ ]
1067
+ }
1068
+ ],
1060
1069
  "withdraw_siege": [
1061
1070
  37,
1062
1071
  {
@@ -1226,6 +1235,9 @@ var types_default = {
1226
1235
  ]
1227
1236
  }
1228
1237
  ],
1238
+ "countClaws": [
1239
+ 21
1240
+ ],
1229
1241
  "events": [
1230
1242
  18,
1231
1243
  {
@@ -1252,7 +1264,7 @@ var types_default = {
1252
1264
  }
1253
1265
  ],
1254
1266
  "inbox": [
1255
- 47,
1267
+ 48,
1256
1268
  {
1257
1269
  "limit": [
1258
1270
  21,
@@ -1265,7 +1277,7 @@ var types_default = {
1265
1277
  }
1266
1278
  ],
1267
1279
  "intercepted_whispers": [
1268
- 47
1280
+ 48
1269
1281
  ],
1270
1282
  "me": [
1271
1283
  26
@@ -1295,7 +1307,7 @@ var types_default = {
1295
1307
  44
1296
1308
  ],
1297
1309
  "outbox": [
1298
- 47,
1310
+ 48,
1299
1311
  {
1300
1312
  "limit": [
1301
1313
  21,
@@ -1541,6 +1553,17 @@ var types_default = {
1541
1553
  42
1542
1554
  ]
1543
1555
  },
1556
+ "UpdatePlayerInput": {
1557
+ "avatar_url": [
1558
+ 42
1559
+ ],
1560
+ "display_name": [
1561
+ 42
1562
+ ],
1563
+ "__typename": [
1564
+ 42
1565
+ ]
1566
+ },
1544
1567
  "Whisper": {
1545
1568
  "content": [
1546
1569
  42
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",