@clawconquest/client 1.3.0 → 1.5.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
- 48,
1103
+ 49,
1104
1104
  {
1105
1105
  "input": [
1106
1106
  36,
@@ -1111,11 +1111,24 @@ var types_default = {
1111
1111
  "signIn": [
1112
1112
  25
1113
1113
  ],
1114
+ "updateClaw": [
1115
+ 9,
1116
+ {
1117
+ "clawId": [
1118
+ 42,
1119
+ "String!"
1120
+ ],
1121
+ "input": [
1122
+ 46,
1123
+ "UpdateClawInput!"
1124
+ ]
1125
+ }
1126
+ ],
1114
1127
  "updateDirectives": [
1115
1128
  41,
1116
1129
  {
1117
1130
  "input": [
1118
- 46,
1131
+ 47,
1119
1132
  "UpdateDirectivesInput!"
1120
1133
  ]
1121
1134
  }
@@ -1124,7 +1137,7 @@ var types_default = {
1124
1137
  25,
1125
1138
  {
1126
1139
  "input": [
1127
- 47,
1140
+ 48,
1128
1141
  "UpdatePlayerInput!"
1129
1142
  ]
1130
1143
  }
@@ -1147,6 +1160,12 @@ var types_default = {
1147
1160
  "avatar_url": [
1148
1161
  42
1149
1162
  ],
1163
+ "ban_reason": [
1164
+ 42
1165
+ ],
1166
+ "banned_at": [
1167
+ 14
1168
+ ],
1150
1169
  "created_at": [
1151
1170
  14
1152
1171
  ],
@@ -1327,7 +1346,7 @@ var types_default = {
1327
1346
  }
1328
1347
  ],
1329
1348
  "inbox": [
1330
- 48,
1349
+ 49,
1331
1350
  {
1332
1351
  "limit": [
1333
1352
  21,
@@ -1340,7 +1359,7 @@ var types_default = {
1340
1359
  }
1341
1360
  ],
1342
1361
  "intercepted_whispers": [
1343
- 48
1362
+ 49
1344
1363
  ],
1345
1364
  "me": [
1346
1365
  26
@@ -1370,7 +1389,7 @@ var types_default = {
1370
1389
  44
1371
1390
  ],
1372
1391
  "outbox": [
1373
- 48,
1392
+ 49,
1374
1393
  {
1375
1394
  "limit": [
1376
1395
  21,
@@ -1593,6 +1612,20 @@ var types_default = {
1593
1612
  ]
1594
1613
  },
1595
1614
  "UnitType": {},
1615
+ "UpdateClawInput": {
1616
+ "bio": [
1617
+ 42
1618
+ ],
1619
+ "profile_emoji": [
1620
+ 42
1621
+ ],
1622
+ "webhook_url": [
1623
+ 42
1624
+ ],
1625
+ "__typename": [
1626
+ 42
1627
+ ]
1628
+ },
1596
1629
  "UpdateDirectivesInput": {
1597
1630
  "aggression_stance": [
1598
1631
  17
package/dist/index.d.cts CHANGED
@@ -113,6 +113,7 @@ interface Mutation {
113
113
  reviewApplication: ClanApplication;
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
+ updateClaw: Claw;
116
117
  updateDirectives: StandingOrder;
117
118
  updatePlayer: Player;
118
119
  withdraw_siege: Siege;
@@ -121,6 +122,8 @@ interface Mutation {
121
122
  type PactStatus = 'ACTIVE' | 'BROKEN' | 'EXPIRED' | 'PROPOSED';
122
123
  interface Player {
123
124
  avatar_url: (Scalars['String'] | null);
125
+ ban_reason: (Scalars['String'] | null);
126
+ banned_at: (Scalars['DateTime'] | null);
124
127
  created_at: Scalars['DateTime'];
125
128
  display_name: (Scalars['String'] | null);
126
129
  email: Scalars['String'];
@@ -463,6 +466,12 @@ interface MutationGenqlSelection {
463
466
  };
464
467
  });
465
468
  signIn?: PlayerGenqlSelection;
469
+ updateClaw?: (ClawGenqlSelection & {
470
+ __args: {
471
+ clawId: Scalars['String'];
472
+ input: UpdateClawInput;
473
+ };
474
+ });
466
475
  updateDirectives?: (StandingOrderGenqlSelection & {
467
476
  __args: {
468
477
  input: UpdateDirectivesInput;
@@ -483,6 +492,8 @@ interface MutationGenqlSelection {
483
492
  }
484
493
  interface PlayerGenqlSelection {
485
494
  avatar_url?: boolean | number;
495
+ ban_reason?: boolean | number;
496
+ banned_at?: boolean | number;
486
497
  created_at?: boolean | number;
487
498
  display_name?: boolean | number;
488
499
  email?: boolean | number;
@@ -677,6 +688,11 @@ interface UnitGenqlSelection {
677
688
  __typename?: boolean | number;
678
689
  __scalar?: boolean | number;
679
690
  }
691
+ interface UpdateClawInput {
692
+ bio?: (Scalars['String'] | null);
693
+ profile_emoji?: (Scalars['String'] | null);
694
+ webhook_url?: (Scalars['String'] | null);
695
+ }
680
696
  interface UpdateDirectivesInput {
681
697
  aggression_stance?: (Scalars['Float'] | null);
682
698
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -930,4 +946,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
930
946
  __name?: string;
931
947
  }) => GraphqlOperation;
932
948
 
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 };
949
+ 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 UpdateClawInput, 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
@@ -113,6 +113,7 @@ interface Mutation {
113
113
  reviewApplication: ClanApplication;
114
114
  send_whisper: Whisper;
115
115
  signIn: Player;
116
+ updateClaw: Claw;
116
117
  updateDirectives: StandingOrder;
117
118
  updatePlayer: Player;
118
119
  withdraw_siege: Siege;
@@ -121,6 +122,8 @@ interface Mutation {
121
122
  type PactStatus = 'ACTIVE' | 'BROKEN' | 'EXPIRED' | 'PROPOSED';
122
123
  interface Player {
123
124
  avatar_url: (Scalars['String'] | null);
125
+ ban_reason: (Scalars['String'] | null);
126
+ banned_at: (Scalars['DateTime'] | null);
124
127
  created_at: Scalars['DateTime'];
125
128
  display_name: (Scalars['String'] | null);
126
129
  email: Scalars['String'];
@@ -463,6 +466,12 @@ interface MutationGenqlSelection {
463
466
  };
464
467
  });
465
468
  signIn?: PlayerGenqlSelection;
469
+ updateClaw?: (ClawGenqlSelection & {
470
+ __args: {
471
+ clawId: Scalars['String'];
472
+ input: UpdateClawInput;
473
+ };
474
+ });
466
475
  updateDirectives?: (StandingOrderGenqlSelection & {
467
476
  __args: {
468
477
  input: UpdateDirectivesInput;
@@ -483,6 +492,8 @@ interface MutationGenqlSelection {
483
492
  }
484
493
  interface PlayerGenqlSelection {
485
494
  avatar_url?: boolean | number;
495
+ ban_reason?: boolean | number;
496
+ banned_at?: boolean | number;
486
497
  created_at?: boolean | number;
487
498
  display_name?: boolean | number;
488
499
  email?: boolean | number;
@@ -677,6 +688,11 @@ interface UnitGenqlSelection {
677
688
  __typename?: boolean | number;
678
689
  __scalar?: boolean | number;
679
690
  }
691
+ interface UpdateClawInput {
692
+ bio?: (Scalars['String'] | null);
693
+ profile_emoji?: (Scalars['String'] | null);
694
+ webhook_url?: (Scalars['String'] | null);
695
+ }
680
696
  interface UpdateDirectivesInput {
681
697
  aggression_stance?: (Scalars['Float'] | null);
682
698
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -930,4 +946,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
930
946
  __name?: string;
931
947
  }) => GraphqlOperation;
932
948
 
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 };
949
+ 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 UpdateClawInput, 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
- 48,
1040
+ 49,
1041
1041
  {
1042
1042
  "input": [
1043
1043
  36,
@@ -1048,11 +1048,24 @@ var types_default = {
1048
1048
  "signIn": [
1049
1049
  25
1050
1050
  ],
1051
+ "updateClaw": [
1052
+ 9,
1053
+ {
1054
+ "clawId": [
1055
+ 42,
1056
+ "String!"
1057
+ ],
1058
+ "input": [
1059
+ 46,
1060
+ "UpdateClawInput!"
1061
+ ]
1062
+ }
1063
+ ],
1051
1064
  "updateDirectives": [
1052
1065
  41,
1053
1066
  {
1054
1067
  "input": [
1055
- 46,
1068
+ 47,
1056
1069
  "UpdateDirectivesInput!"
1057
1070
  ]
1058
1071
  }
@@ -1061,7 +1074,7 @@ var types_default = {
1061
1074
  25,
1062
1075
  {
1063
1076
  "input": [
1064
- 47,
1077
+ 48,
1065
1078
  "UpdatePlayerInput!"
1066
1079
  ]
1067
1080
  }
@@ -1084,6 +1097,12 @@ var types_default = {
1084
1097
  "avatar_url": [
1085
1098
  42
1086
1099
  ],
1100
+ "ban_reason": [
1101
+ 42
1102
+ ],
1103
+ "banned_at": [
1104
+ 14
1105
+ ],
1087
1106
  "created_at": [
1088
1107
  14
1089
1108
  ],
@@ -1264,7 +1283,7 @@ var types_default = {
1264
1283
  }
1265
1284
  ],
1266
1285
  "inbox": [
1267
- 48,
1286
+ 49,
1268
1287
  {
1269
1288
  "limit": [
1270
1289
  21,
@@ -1277,7 +1296,7 @@ var types_default = {
1277
1296
  }
1278
1297
  ],
1279
1298
  "intercepted_whispers": [
1280
- 48
1299
+ 49
1281
1300
  ],
1282
1301
  "me": [
1283
1302
  26
@@ -1307,7 +1326,7 @@ var types_default = {
1307
1326
  44
1308
1327
  ],
1309
1328
  "outbox": [
1310
- 48,
1329
+ 49,
1311
1330
  {
1312
1331
  "limit": [
1313
1332
  21,
@@ -1530,6 +1549,20 @@ var types_default = {
1530
1549
  ]
1531
1550
  },
1532
1551
  "UnitType": {},
1552
+ "UpdateClawInput": {
1553
+ "bio": [
1554
+ 42
1555
+ ],
1556
+ "profile_emoji": [
1557
+ 42
1558
+ ],
1559
+ "webhook_url": [
1560
+ 42
1561
+ ],
1562
+ "__typename": [
1563
+ 42
1564
+ ]
1565
+ },
1533
1566
  "UpdateDirectivesInput": {
1534
1567
  "aggression_stance": [
1535
1568
  17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",