@clawconquest/client 1.2.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
  ],
@@ -1298,6 +1317,9 @@ var types_default = {
1298
1317
  ]
1299
1318
  }
1300
1319
  ],
1320
+ "countClaws": [
1321
+ 21
1322
+ ],
1301
1323
  "events": [
1302
1324
  18,
1303
1325
  {
@@ -1324,7 +1346,7 @@ var types_default = {
1324
1346
  }
1325
1347
  ],
1326
1348
  "inbox": [
1327
- 48,
1349
+ 49,
1328
1350
  {
1329
1351
  "limit": [
1330
1352
  21,
@@ -1337,7 +1359,7 @@ var types_default = {
1337
1359
  }
1338
1360
  ],
1339
1361
  "intercepted_whispers": [
1340
- 48
1362
+ 49
1341
1363
  ],
1342
1364
  "me": [
1343
1365
  26
@@ -1367,7 +1389,7 @@ var types_default = {
1367
1389
  44
1368
1390
  ],
1369
1391
  "outbox": [
1370
- 48,
1392
+ 49,
1371
1393
  {
1372
1394
  "limit": [
1373
1395
  21,
@@ -1590,6 +1612,20 @@ var types_default = {
1590
1612
  ]
1591
1613
  },
1592
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
+ },
1593
1629
  "UpdateDirectivesInput": {
1594
1630
  "aggression_stance": [
1595
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'];
@@ -166,6 +169,7 @@ interface Query {
166
169
  clans: Clan[];
167
170
  claw: PublicClaw;
168
171
  claws: PublicClaw[];
172
+ countClaws: Scalars['Int'];
169
173
  events: GameEvent[];
170
174
  inbox: Whisper[];
171
175
  intercepted_whispers: Whisper[];
@@ -462,6 +466,12 @@ interface MutationGenqlSelection {
462
466
  };
463
467
  });
464
468
  signIn?: PlayerGenqlSelection;
469
+ updateClaw?: (ClawGenqlSelection & {
470
+ __args: {
471
+ clawId: Scalars['String'];
472
+ input: UpdateClawInput;
473
+ };
474
+ });
465
475
  updateDirectives?: (StandingOrderGenqlSelection & {
466
476
  __args: {
467
477
  input: UpdateDirectivesInput;
@@ -482,6 +492,8 @@ interface MutationGenqlSelection {
482
492
  }
483
493
  interface PlayerGenqlSelection {
484
494
  avatar_url?: boolean | number;
495
+ ban_reason?: boolean | number;
496
+ banned_at?: boolean | number;
485
497
  created_at?: boolean | number;
486
498
  display_name?: boolean | number;
487
499
  email?: boolean | number;
@@ -547,6 +559,7 @@ interface QueryGenqlSelection {
547
559
  offset?: Scalars['Int'];
548
560
  };
549
561
  });
562
+ countClaws?: boolean | number;
550
563
  events?: (GameEventGenqlSelection & {
551
564
  __args?: {
552
565
  clawId?: (Scalars['String'] | null);
@@ -675,6 +688,11 @@ interface UnitGenqlSelection {
675
688
  __typename?: boolean | number;
676
689
  __scalar?: boolean | number;
677
690
  }
691
+ interface UpdateClawInput {
692
+ bio?: (Scalars['String'] | null);
693
+ profile_emoji?: (Scalars['String'] | null);
694
+ webhook_url?: (Scalars['String'] | null);
695
+ }
678
696
  interface UpdateDirectivesInput {
679
697
  aggression_stance?: (Scalars['Float'] | null);
680
698
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -928,4 +946,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
928
946
  __name?: string;
929
947
  }) => GraphqlOperation;
930
948
 
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 };
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'];
@@ -166,6 +169,7 @@ interface Query {
166
169
  clans: Clan[];
167
170
  claw: PublicClaw;
168
171
  claws: PublicClaw[];
172
+ countClaws: Scalars['Int'];
169
173
  events: GameEvent[];
170
174
  inbox: Whisper[];
171
175
  intercepted_whispers: Whisper[];
@@ -462,6 +466,12 @@ interface MutationGenqlSelection {
462
466
  };
463
467
  });
464
468
  signIn?: PlayerGenqlSelection;
469
+ updateClaw?: (ClawGenqlSelection & {
470
+ __args: {
471
+ clawId: Scalars['String'];
472
+ input: UpdateClawInput;
473
+ };
474
+ });
465
475
  updateDirectives?: (StandingOrderGenqlSelection & {
466
476
  __args: {
467
477
  input: UpdateDirectivesInput;
@@ -482,6 +492,8 @@ interface MutationGenqlSelection {
482
492
  }
483
493
  interface PlayerGenqlSelection {
484
494
  avatar_url?: boolean | number;
495
+ ban_reason?: boolean | number;
496
+ banned_at?: boolean | number;
485
497
  created_at?: boolean | number;
486
498
  display_name?: boolean | number;
487
499
  email?: boolean | number;
@@ -547,6 +559,7 @@ interface QueryGenqlSelection {
547
559
  offset?: Scalars['Int'];
548
560
  };
549
561
  });
562
+ countClaws?: boolean | number;
550
563
  events?: (GameEventGenqlSelection & {
551
564
  __args?: {
552
565
  clawId?: (Scalars['String'] | null);
@@ -675,6 +688,11 @@ interface UnitGenqlSelection {
675
688
  __typename?: boolean | number;
676
689
  __scalar?: boolean | number;
677
690
  }
691
+ interface UpdateClawInput {
692
+ bio?: (Scalars['String'] | null);
693
+ profile_emoji?: (Scalars['String'] | null);
694
+ webhook_url?: (Scalars['String'] | null);
695
+ }
678
696
  interface UpdateDirectivesInput {
679
697
  aggression_stance?: (Scalars['Float'] | null);
680
698
  diplomacy_stance?: (Scalars['Float'] | null);
@@ -928,4 +946,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
928
946
  __name?: string;
929
947
  }) => GraphqlOperation;
930
948
 
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 };
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
  ],
@@ -1235,6 +1254,9 @@ var types_default = {
1235
1254
  ]
1236
1255
  }
1237
1256
  ],
1257
+ "countClaws": [
1258
+ 21
1259
+ ],
1238
1260
  "events": [
1239
1261
  18,
1240
1262
  {
@@ -1261,7 +1283,7 @@ var types_default = {
1261
1283
  }
1262
1284
  ],
1263
1285
  "inbox": [
1264
- 48,
1286
+ 49,
1265
1287
  {
1266
1288
  "limit": [
1267
1289
  21,
@@ -1274,7 +1296,7 @@ var types_default = {
1274
1296
  }
1275
1297
  ],
1276
1298
  "intercepted_whispers": [
1277
- 48
1299
+ 49
1278
1300
  ],
1279
1301
  "me": [
1280
1302
  26
@@ -1304,7 +1326,7 @@ var types_default = {
1304
1326
  44
1305
1327
  ],
1306
1328
  "outbox": [
1307
- 48,
1329
+ 49,
1308
1330
  {
1309
1331
  "limit": [
1310
1332
  21,
@@ -1527,6 +1549,20 @@ var types_default = {
1527
1549
  ]
1528
1550
  },
1529
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
+ },
1530
1566
  "UpdateDirectivesInput": {
1531
1567
  "aggression_stance": [
1532
1568
  17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawconquest/client",
3
- "version": "1.2.0",
3
+ "version": "1.5.0",
4
4
  "description": "Typesafe GraphQL client for the ClawConquest API",
5
5
  "license": "MIT",
6
6
  "type": "module",