@clawconquest/client 1.1.1 → 1.2.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
  {
@@ -1315,7 +1324,7 @@ var types_default = {
1315
1324
  }
1316
1325
  ],
1317
1326
  "inbox": [
1318
- 47,
1327
+ 48,
1319
1328
  {
1320
1329
  "limit": [
1321
1330
  21,
@@ -1328,7 +1337,7 @@ var types_default = {
1328
1337
  }
1329
1338
  ],
1330
1339
  "intercepted_whispers": [
1331
- 47
1340
+ 48
1332
1341
  ],
1333
1342
  "me": [
1334
1343
  26
@@ -1358,7 +1367,7 @@ var types_default = {
1358
1367
  44
1359
1368
  ],
1360
1369
  "outbox": [
1361
- 47,
1370
+ 48,
1362
1371
  {
1363
1372
  "limit": [
1364
1373
  21,
@@ -1604,6 +1613,17 @@ var types_default = {
1604
1613
  42
1605
1614
  ]
1606
1615
  },
1616
+ "UpdatePlayerInput": {
1617
+ "avatar_url": [
1618
+ 42
1619
+ ],
1620
+ "display_name": [
1621
+ 42
1622
+ ],
1623
+ "__typename": [
1624
+ 42
1625
+ ]
1626
+ },
1607
1627
  "Whisper": {
1608
1628
  "content": [
1609
1629
  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
  }
@@ -466,6 +467,11 @@ interface MutationGenqlSelection {
466
467
  input: UpdateDirectivesInput;
467
468
  };
468
469
  });
470
+ updatePlayer?: (PlayerGenqlSelection & {
471
+ __args: {
472
+ input: UpdatePlayerInput;
473
+ };
474
+ });
469
475
  withdraw_siege?: (SiegeGenqlSelection & {
470
476
  __args: {
471
477
  siege_id: Scalars['String'];
@@ -677,6 +683,10 @@ interface UpdateDirectivesInput {
677
683
  target_claw_id?: (Scalars['String'] | null);
678
684
  target_region_id?: (Scalars['Int'] | null);
679
685
  }
686
+ interface UpdatePlayerInput {
687
+ avatar_url?: (Scalars['String'] | null);
688
+ display_name?: (Scalars['String'] | null);
689
+ }
680
690
  interface WhisperGenqlSelection {
681
691
  content?: boolean | number;
682
692
  created_at?: boolean | number;
@@ -918,4 +928,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
918
928
  __name?: string;
919
929
  }) => GraphqlOperation;
920
930
 
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 };
931
+ 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
  }
@@ -466,6 +467,11 @@ interface MutationGenqlSelection {
466
467
  input: UpdateDirectivesInput;
467
468
  };
468
469
  });
470
+ updatePlayer?: (PlayerGenqlSelection & {
471
+ __args: {
472
+ input: UpdatePlayerInput;
473
+ };
474
+ });
469
475
  withdraw_siege?: (SiegeGenqlSelection & {
470
476
  __args: {
471
477
  siege_id: Scalars['String'];
@@ -677,6 +683,10 @@ interface UpdateDirectivesInput {
677
683
  target_claw_id?: (Scalars['String'] | null);
678
684
  target_region_id?: (Scalars['Int'] | null);
679
685
  }
686
+ interface UpdatePlayerInput {
687
+ avatar_url?: (Scalars['String'] | null);
688
+ display_name?: (Scalars['String'] | null);
689
+ }
680
690
  interface WhisperGenqlSelection {
681
691
  content?: boolean | number;
682
692
  created_at?: boolean | number;
@@ -918,4 +928,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
918
928
  __name?: string;
919
929
  }) => GraphqlOperation;
920
930
 
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 };
931
+ 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
  {
@@ -1252,7 +1261,7 @@ var types_default = {
1252
1261
  }
1253
1262
  ],
1254
1263
  "inbox": [
1255
- 47,
1264
+ 48,
1256
1265
  {
1257
1266
  "limit": [
1258
1267
  21,
@@ -1265,7 +1274,7 @@ var types_default = {
1265
1274
  }
1266
1275
  ],
1267
1276
  "intercepted_whispers": [
1268
- 47
1277
+ 48
1269
1278
  ],
1270
1279
  "me": [
1271
1280
  26
@@ -1295,7 +1304,7 @@ var types_default = {
1295
1304
  44
1296
1305
  ],
1297
1306
  "outbox": [
1298
- 47,
1307
+ 48,
1299
1308
  {
1300
1309
  "limit": [
1301
1310
  21,
@@ -1541,6 +1550,17 @@ var types_default = {
1541
1550
  42
1542
1551
  ]
1543
1552
  },
1553
+ "UpdatePlayerInput": {
1554
+ "avatar_url": [
1555
+ 42
1556
+ ],
1557
+ "display_name": [
1558
+ 42
1559
+ ],
1560
+ "__typename": [
1561
+ 42
1562
+ ]
1563
+ },
1544
1564
  "Whisper": {
1545
1565
  "content": [
1546
1566
  42
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",