@clawconquest/client 1.6.1 → 1.8.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 +27 -16
- package/dist/index.d.cts +18 -9
- package/dist/index.d.ts +18 -9
- package/dist/index.js +27 -16
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1023,6 +1023,15 @@ var types_default = {
|
|
|
1023
1023
|
]
|
|
1024
1024
|
}
|
|
1025
1025
|
],
|
|
1026
|
+
"disableClaw": [
|
|
1027
|
+
30,
|
|
1028
|
+
{
|
|
1029
|
+
"clawId": [
|
|
1030
|
+
43,
|
|
1031
|
+
"String!"
|
|
1032
|
+
]
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
1026
1035
|
"dismiss_units": [
|
|
1027
1036
|
45,
|
|
1028
1037
|
{
|
|
@@ -1035,6 +1044,15 @@ var types_default = {
|
|
|
1035
1044
|
"dissolveClan": [
|
|
1036
1045
|
4
|
|
1037
1046
|
],
|
|
1047
|
+
"enableClaw": [
|
|
1048
|
+
30,
|
|
1049
|
+
{
|
|
1050
|
+
"clawId": [
|
|
1051
|
+
43,
|
|
1052
|
+
"String!"
|
|
1053
|
+
]
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1038
1056
|
"initiate_siege": [
|
|
1039
1057
|
38,
|
|
1040
1058
|
{
|
|
@@ -1232,9 +1250,6 @@ var types_default = {
|
|
|
1232
1250
|
"aggression": [
|
|
1233
1251
|
17
|
|
1234
1252
|
],
|
|
1235
|
-
"api_key_prefix": [
|
|
1236
|
-
43
|
|
1237
|
-
],
|
|
1238
1253
|
"bio": [
|
|
1239
1254
|
43
|
|
1240
1255
|
],
|
|
@@ -1376,19 +1391,6 @@ var types_default = {
|
|
|
1376
1391
|
]
|
|
1377
1392
|
}
|
|
1378
1393
|
],
|
|
1379
|
-
"claws": [
|
|
1380
|
-
32,
|
|
1381
|
-
{
|
|
1382
|
-
"limit": [
|
|
1383
|
-
21,
|
|
1384
|
-
"Int!"
|
|
1385
|
-
],
|
|
1386
|
-
"offset": [
|
|
1387
|
-
21,
|
|
1388
|
-
"Int!"
|
|
1389
|
-
]
|
|
1390
|
-
}
|
|
1391
|
-
],
|
|
1392
1394
|
"countClaws": [
|
|
1393
1395
|
21
|
|
1394
1396
|
],
|
|
@@ -1442,6 +1444,15 @@ var types_default = {
|
|
|
1442
1444
|
"myClan": [
|
|
1443
1445
|
4
|
|
1444
1446
|
],
|
|
1447
|
+
"myClaw": [
|
|
1448
|
+
30,
|
|
1449
|
+
{
|
|
1450
|
+
"id": [
|
|
1451
|
+
43,
|
|
1452
|
+
"String!"
|
|
1453
|
+
]
|
|
1454
|
+
}
|
|
1455
|
+
],
|
|
1445
1456
|
"myClaws": [
|
|
1446
1457
|
30
|
|
1447
1458
|
],
|
package/dist/index.d.cts
CHANGED
|
@@ -102,8 +102,10 @@ interface Mutation {
|
|
|
102
102
|
createClan: Clan;
|
|
103
103
|
createClaw: CreateClawPayload;
|
|
104
104
|
deploy_spy: SpyDeployment;
|
|
105
|
+
disableClaw: PrivateClaw;
|
|
105
106
|
dismiss_units: (Unit | null);
|
|
106
107
|
dissolveClan: Clan;
|
|
108
|
+
enableClaw: PrivateClaw;
|
|
107
109
|
initiate_siege: Siege;
|
|
108
110
|
kickMember: Claw;
|
|
109
111
|
leaveClan: Claw;
|
|
@@ -151,7 +153,6 @@ type PoolType = 'KELP_FOREST' | 'REEF' | 'SHALLOWS' | 'SPAWNING_GROUND' | 'TRENC
|
|
|
151
153
|
type PrimaryGoal = 'ATTACK' | 'DEFEND' | 'EXPAND' | 'FORTIFY' | 'IDLE' | 'MOLT' | 'SPY';
|
|
152
154
|
interface PrivateClaw {
|
|
153
155
|
aggression: Scalars['Float'];
|
|
154
|
-
api_key_prefix: Scalars['String'];
|
|
155
156
|
bio: (Scalars['String'] | null);
|
|
156
157
|
created_at: Scalars['DateTime'];
|
|
157
158
|
deception: Scalars['Float'];
|
|
@@ -193,7 +194,6 @@ interface Query {
|
|
|
193
194
|
clanPacts: ClanPact[];
|
|
194
195
|
clans: Clan[];
|
|
195
196
|
claw: PublicClaw;
|
|
196
|
-
claws: PublicClaw[];
|
|
197
197
|
countClaws: Scalars['Int'];
|
|
198
198
|
events: GameEvent[];
|
|
199
199
|
inbox: Whisper[];
|
|
@@ -201,6 +201,7 @@ interface Query {
|
|
|
201
201
|
me: PlayerProfile;
|
|
202
202
|
myApplications: ClanApplication[];
|
|
203
203
|
myClan: (Clan | null);
|
|
204
|
+
myClaw: PrivateClaw;
|
|
204
205
|
myClaws: PrivateClaw[];
|
|
205
206
|
myDirectives: (StandingOrder | null);
|
|
206
207
|
myProfile: Claw;
|
|
@@ -447,12 +448,22 @@ interface MutationGenqlSelection {
|
|
|
447
448
|
input: DeploySpyInput;
|
|
448
449
|
};
|
|
449
450
|
});
|
|
451
|
+
disableClaw?: (PrivateClawGenqlSelection & {
|
|
452
|
+
__args: {
|
|
453
|
+
clawId: Scalars['String'];
|
|
454
|
+
};
|
|
455
|
+
});
|
|
450
456
|
dismiss_units?: (UnitGenqlSelection & {
|
|
451
457
|
__args: {
|
|
452
458
|
input: DismissUnitInput;
|
|
453
459
|
};
|
|
454
460
|
});
|
|
455
461
|
dissolveClan?: ClanGenqlSelection;
|
|
462
|
+
enableClaw?: (PrivateClawGenqlSelection & {
|
|
463
|
+
__args: {
|
|
464
|
+
clawId: Scalars['String'];
|
|
465
|
+
};
|
|
466
|
+
});
|
|
456
467
|
initiate_siege?: (SiegeGenqlSelection & {
|
|
457
468
|
__args: {
|
|
458
469
|
attacker_pool_id: Scalars['String'];
|
|
@@ -548,7 +559,6 @@ interface PoolGenqlSelection {
|
|
|
548
559
|
}
|
|
549
560
|
interface PrivateClawGenqlSelection {
|
|
550
561
|
aggression?: boolean | number;
|
|
551
|
-
api_key_prefix?: boolean | number;
|
|
552
562
|
bio?: boolean | number;
|
|
553
563
|
created_at?: boolean | number;
|
|
554
564
|
deception?: boolean | number;
|
|
@@ -605,12 +615,6 @@ interface QueryGenqlSelection {
|
|
|
605
615
|
id: Scalars['String'];
|
|
606
616
|
};
|
|
607
617
|
});
|
|
608
|
-
claws?: (PublicClawGenqlSelection & {
|
|
609
|
-
__args?: {
|
|
610
|
-
limit?: Scalars['Int'];
|
|
611
|
-
offset?: Scalars['Int'];
|
|
612
|
-
};
|
|
613
|
-
});
|
|
614
618
|
countClaws?: boolean | number;
|
|
615
619
|
events?: (GameEventGenqlSelection & {
|
|
616
620
|
__args?: {
|
|
@@ -632,6 +636,11 @@ interface QueryGenqlSelection {
|
|
|
632
636
|
me?: PlayerProfileGenqlSelection;
|
|
633
637
|
myApplications?: ClanApplicationGenqlSelection;
|
|
634
638
|
myClan?: ClanGenqlSelection;
|
|
639
|
+
myClaw?: (PrivateClawGenqlSelection & {
|
|
640
|
+
__args: {
|
|
641
|
+
id: Scalars['String'];
|
|
642
|
+
};
|
|
643
|
+
});
|
|
635
644
|
myClaws?: PrivateClawGenqlSelection;
|
|
636
645
|
myDirectives?: StandingOrderGenqlSelection;
|
|
637
646
|
myProfile?: ClawGenqlSelection;
|
package/dist/index.d.ts
CHANGED
|
@@ -102,8 +102,10 @@ interface Mutation {
|
|
|
102
102
|
createClan: Clan;
|
|
103
103
|
createClaw: CreateClawPayload;
|
|
104
104
|
deploy_spy: SpyDeployment;
|
|
105
|
+
disableClaw: PrivateClaw;
|
|
105
106
|
dismiss_units: (Unit | null);
|
|
106
107
|
dissolveClan: Clan;
|
|
108
|
+
enableClaw: PrivateClaw;
|
|
107
109
|
initiate_siege: Siege;
|
|
108
110
|
kickMember: Claw;
|
|
109
111
|
leaveClan: Claw;
|
|
@@ -151,7 +153,6 @@ type PoolType = 'KELP_FOREST' | 'REEF' | 'SHALLOWS' | 'SPAWNING_GROUND' | 'TRENC
|
|
|
151
153
|
type PrimaryGoal = 'ATTACK' | 'DEFEND' | 'EXPAND' | 'FORTIFY' | 'IDLE' | 'MOLT' | 'SPY';
|
|
152
154
|
interface PrivateClaw {
|
|
153
155
|
aggression: Scalars['Float'];
|
|
154
|
-
api_key_prefix: Scalars['String'];
|
|
155
156
|
bio: (Scalars['String'] | null);
|
|
156
157
|
created_at: Scalars['DateTime'];
|
|
157
158
|
deception: Scalars['Float'];
|
|
@@ -193,7 +194,6 @@ interface Query {
|
|
|
193
194
|
clanPacts: ClanPact[];
|
|
194
195
|
clans: Clan[];
|
|
195
196
|
claw: PublicClaw;
|
|
196
|
-
claws: PublicClaw[];
|
|
197
197
|
countClaws: Scalars['Int'];
|
|
198
198
|
events: GameEvent[];
|
|
199
199
|
inbox: Whisper[];
|
|
@@ -201,6 +201,7 @@ interface Query {
|
|
|
201
201
|
me: PlayerProfile;
|
|
202
202
|
myApplications: ClanApplication[];
|
|
203
203
|
myClan: (Clan | null);
|
|
204
|
+
myClaw: PrivateClaw;
|
|
204
205
|
myClaws: PrivateClaw[];
|
|
205
206
|
myDirectives: (StandingOrder | null);
|
|
206
207
|
myProfile: Claw;
|
|
@@ -447,12 +448,22 @@ interface MutationGenqlSelection {
|
|
|
447
448
|
input: DeploySpyInput;
|
|
448
449
|
};
|
|
449
450
|
});
|
|
451
|
+
disableClaw?: (PrivateClawGenqlSelection & {
|
|
452
|
+
__args: {
|
|
453
|
+
clawId: Scalars['String'];
|
|
454
|
+
};
|
|
455
|
+
});
|
|
450
456
|
dismiss_units?: (UnitGenqlSelection & {
|
|
451
457
|
__args: {
|
|
452
458
|
input: DismissUnitInput;
|
|
453
459
|
};
|
|
454
460
|
});
|
|
455
461
|
dissolveClan?: ClanGenqlSelection;
|
|
462
|
+
enableClaw?: (PrivateClawGenqlSelection & {
|
|
463
|
+
__args: {
|
|
464
|
+
clawId: Scalars['String'];
|
|
465
|
+
};
|
|
466
|
+
});
|
|
456
467
|
initiate_siege?: (SiegeGenqlSelection & {
|
|
457
468
|
__args: {
|
|
458
469
|
attacker_pool_id: Scalars['String'];
|
|
@@ -548,7 +559,6 @@ interface PoolGenqlSelection {
|
|
|
548
559
|
}
|
|
549
560
|
interface PrivateClawGenqlSelection {
|
|
550
561
|
aggression?: boolean | number;
|
|
551
|
-
api_key_prefix?: boolean | number;
|
|
552
562
|
bio?: boolean | number;
|
|
553
563
|
created_at?: boolean | number;
|
|
554
564
|
deception?: boolean | number;
|
|
@@ -605,12 +615,6 @@ interface QueryGenqlSelection {
|
|
|
605
615
|
id: Scalars['String'];
|
|
606
616
|
};
|
|
607
617
|
});
|
|
608
|
-
claws?: (PublicClawGenqlSelection & {
|
|
609
|
-
__args?: {
|
|
610
|
-
limit?: Scalars['Int'];
|
|
611
|
-
offset?: Scalars['Int'];
|
|
612
|
-
};
|
|
613
|
-
});
|
|
614
618
|
countClaws?: boolean | number;
|
|
615
619
|
events?: (GameEventGenqlSelection & {
|
|
616
620
|
__args?: {
|
|
@@ -632,6 +636,11 @@ interface QueryGenqlSelection {
|
|
|
632
636
|
me?: PlayerProfileGenqlSelection;
|
|
633
637
|
myApplications?: ClanApplicationGenqlSelection;
|
|
634
638
|
myClan?: ClanGenqlSelection;
|
|
639
|
+
myClaw?: (PrivateClawGenqlSelection & {
|
|
640
|
+
__args: {
|
|
641
|
+
id: Scalars['String'];
|
|
642
|
+
};
|
|
643
|
+
});
|
|
635
644
|
myClaws?: PrivateClawGenqlSelection;
|
|
636
645
|
myDirectives?: StandingOrderGenqlSelection;
|
|
637
646
|
myProfile?: ClawGenqlSelection;
|
package/dist/index.js
CHANGED
|
@@ -959,6 +959,15 @@ var types_default = {
|
|
|
959
959
|
]
|
|
960
960
|
}
|
|
961
961
|
],
|
|
962
|
+
"disableClaw": [
|
|
963
|
+
30,
|
|
964
|
+
{
|
|
965
|
+
"clawId": [
|
|
966
|
+
43,
|
|
967
|
+
"String!"
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
],
|
|
962
971
|
"dismiss_units": [
|
|
963
972
|
45,
|
|
964
973
|
{
|
|
@@ -971,6 +980,15 @@ var types_default = {
|
|
|
971
980
|
"dissolveClan": [
|
|
972
981
|
4
|
|
973
982
|
],
|
|
983
|
+
"enableClaw": [
|
|
984
|
+
30,
|
|
985
|
+
{
|
|
986
|
+
"clawId": [
|
|
987
|
+
43,
|
|
988
|
+
"String!"
|
|
989
|
+
]
|
|
990
|
+
}
|
|
991
|
+
],
|
|
974
992
|
"initiate_siege": [
|
|
975
993
|
38,
|
|
976
994
|
{
|
|
@@ -1168,9 +1186,6 @@ var types_default = {
|
|
|
1168
1186
|
"aggression": [
|
|
1169
1187
|
17
|
|
1170
1188
|
],
|
|
1171
|
-
"api_key_prefix": [
|
|
1172
|
-
43
|
|
1173
|
-
],
|
|
1174
1189
|
"bio": [
|
|
1175
1190
|
43
|
|
1176
1191
|
],
|
|
@@ -1312,19 +1327,6 @@ var types_default = {
|
|
|
1312
1327
|
]
|
|
1313
1328
|
}
|
|
1314
1329
|
],
|
|
1315
|
-
"claws": [
|
|
1316
|
-
32,
|
|
1317
|
-
{
|
|
1318
|
-
"limit": [
|
|
1319
|
-
21,
|
|
1320
|
-
"Int!"
|
|
1321
|
-
],
|
|
1322
|
-
"offset": [
|
|
1323
|
-
21,
|
|
1324
|
-
"Int!"
|
|
1325
|
-
]
|
|
1326
|
-
}
|
|
1327
|
-
],
|
|
1328
1330
|
"countClaws": [
|
|
1329
1331
|
21
|
|
1330
1332
|
],
|
|
@@ -1378,6 +1380,15 @@ var types_default = {
|
|
|
1378
1380
|
"myClan": [
|
|
1379
1381
|
4
|
|
1380
1382
|
],
|
|
1383
|
+
"myClaw": [
|
|
1384
|
+
30,
|
|
1385
|
+
{
|
|
1386
|
+
"id": [
|
|
1387
|
+
43,
|
|
1388
|
+
"String!"
|
|
1389
|
+
]
|
|
1390
|
+
}
|
|
1391
|
+
],
|
|
1381
1392
|
"myClaws": [
|
|
1382
1393
|
30
|
|
1383
1394
|
],
|