@clawconquest/client 1.6.0 → 1.7.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 +236 -165
- package/dist/index.d.cts +61 -10
- package/dist/index.d.ts +61 -10
- package/dist/index.js +235 -165
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -149,6 +149,30 @@ interface Pool {
|
|
|
149
149
|
}
|
|
150
150
|
type PoolType = 'KELP_FOREST' | 'REEF' | 'SHALLOWS' | 'SPAWNING_GROUND' | 'TRENCH';
|
|
151
151
|
type PrimaryGoal = 'ATTACK' | 'DEFEND' | 'EXPAND' | 'FORTIFY' | 'IDLE' | 'MOLT' | 'SPY';
|
|
152
|
+
interface PrivateClaw {
|
|
153
|
+
aggression: Scalars['Float'];
|
|
154
|
+
bio: (Scalars['String'] | null);
|
|
155
|
+
created_at: Scalars['DateTime'];
|
|
156
|
+
deception: Scalars['Float'];
|
|
157
|
+
food: Scalars['Float'];
|
|
158
|
+
id: Scalars['ID'];
|
|
159
|
+
is_alive: Scalars['Boolean'];
|
|
160
|
+
is_molting: Scalars['Boolean'];
|
|
161
|
+
level: Scalars['Int'];
|
|
162
|
+
loyalty: Scalars['Float'];
|
|
163
|
+
minerals: Scalars['Float'];
|
|
164
|
+
molt_ticks_remaining: Scalars['Int'];
|
|
165
|
+
name: Scalars['String'];
|
|
166
|
+
profile_emoji: (Scalars['String'] | null);
|
|
167
|
+
scent: Scalars['Int'];
|
|
168
|
+
shell_tier: Scalars['Int'];
|
|
169
|
+
soft_shell_curse_ticks_remaining: Scalars['Int'];
|
|
170
|
+
species: Species;
|
|
171
|
+
territoriality: Scalars['Float'];
|
|
172
|
+
webhook_url: (Scalars['String'] | null);
|
|
173
|
+
xp: Scalars['Int'];
|
|
174
|
+
__typename: 'PrivateClaw';
|
|
175
|
+
}
|
|
152
176
|
interface PublicClaw {
|
|
153
177
|
bio: (Scalars['String'] | null);
|
|
154
178
|
id: Scalars['ID'];
|
|
@@ -168,7 +192,6 @@ interface Query {
|
|
|
168
192
|
clanPacts: ClanPact[];
|
|
169
193
|
clans: Clan[];
|
|
170
194
|
claw: PublicClaw;
|
|
171
|
-
claws: PublicClaw[];
|
|
172
195
|
countClaws: Scalars['Int'];
|
|
173
196
|
events: GameEvent[];
|
|
174
197
|
inbox: Whisper[];
|
|
@@ -176,7 +199,8 @@ interface Query {
|
|
|
176
199
|
me: PlayerProfile;
|
|
177
200
|
myApplications: ClanApplication[];
|
|
178
201
|
myClan: (Clan | null);
|
|
179
|
-
|
|
202
|
+
myClaw: PrivateClaw;
|
|
203
|
+
myClaws: PrivateClaw[];
|
|
180
204
|
myDirectives: (StandingOrder | null);
|
|
181
205
|
myProfile: Claw;
|
|
182
206
|
myRelationships: Relationship[];
|
|
@@ -521,6 +545,31 @@ interface PoolGenqlSelection {
|
|
|
521
545
|
__typename?: boolean | number;
|
|
522
546
|
__scalar?: boolean | number;
|
|
523
547
|
}
|
|
548
|
+
interface PrivateClawGenqlSelection {
|
|
549
|
+
aggression?: boolean | number;
|
|
550
|
+
bio?: boolean | number;
|
|
551
|
+
created_at?: boolean | number;
|
|
552
|
+
deception?: boolean | number;
|
|
553
|
+
food?: boolean | number;
|
|
554
|
+
id?: boolean | number;
|
|
555
|
+
is_alive?: boolean | number;
|
|
556
|
+
is_molting?: boolean | number;
|
|
557
|
+
level?: boolean | number;
|
|
558
|
+
loyalty?: boolean | number;
|
|
559
|
+
minerals?: boolean | number;
|
|
560
|
+
molt_ticks_remaining?: boolean | number;
|
|
561
|
+
name?: boolean | number;
|
|
562
|
+
profile_emoji?: boolean | number;
|
|
563
|
+
scent?: boolean | number;
|
|
564
|
+
shell_tier?: boolean | number;
|
|
565
|
+
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
566
|
+
species?: boolean | number;
|
|
567
|
+
territoriality?: boolean | number;
|
|
568
|
+
webhook_url?: boolean | number;
|
|
569
|
+
xp?: boolean | number;
|
|
570
|
+
__typename?: boolean | number;
|
|
571
|
+
__scalar?: boolean | number;
|
|
572
|
+
}
|
|
524
573
|
interface ProposeClanPactInput {
|
|
525
574
|
duration_ticks?: (Scalars['Int'] | null);
|
|
526
575
|
target_clan_id: Scalars['String'];
|
|
@@ -554,12 +603,6 @@ interface QueryGenqlSelection {
|
|
|
554
603
|
id: Scalars['String'];
|
|
555
604
|
};
|
|
556
605
|
});
|
|
557
|
-
claws?: (PublicClawGenqlSelection & {
|
|
558
|
-
__args?: {
|
|
559
|
-
limit?: Scalars['Int'];
|
|
560
|
-
offset?: Scalars['Int'];
|
|
561
|
-
};
|
|
562
|
-
});
|
|
563
606
|
countClaws?: boolean | number;
|
|
564
607
|
events?: (GameEventGenqlSelection & {
|
|
565
608
|
__args?: {
|
|
@@ -581,7 +624,12 @@ interface QueryGenqlSelection {
|
|
|
581
624
|
me?: PlayerProfileGenqlSelection;
|
|
582
625
|
myApplications?: ClanApplicationGenqlSelection;
|
|
583
626
|
myClan?: ClanGenqlSelection;
|
|
584
|
-
|
|
627
|
+
myClaw?: (PrivateClawGenqlSelection & {
|
|
628
|
+
__args: {
|
|
629
|
+
id: Scalars['String'];
|
|
630
|
+
};
|
|
631
|
+
});
|
|
632
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
585
633
|
myDirectives?: StandingOrderGenqlSelection;
|
|
586
634
|
myProfile?: ClawGenqlSelection;
|
|
587
635
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -750,6 +798,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
750
798
|
declare const isPool: (obj?: {
|
|
751
799
|
__typename?: any;
|
|
752
800
|
} | null) => obj is Pool;
|
|
801
|
+
declare const isPrivateClaw: (obj?: {
|
|
802
|
+
__typename?: any;
|
|
803
|
+
} | null) => obj is PrivateClaw;
|
|
753
804
|
declare const isPublicClaw: (obj?: {
|
|
754
805
|
__typename?: any;
|
|
755
806
|
} | null) => obj is PublicClaw;
|
|
@@ -948,4 +999,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
948
999
|
__name?: string;
|
|
949
1000
|
}) => GraphqlOperation;
|
|
950
1001
|
|
|
951
|
-
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 };
|
|
1002
|
+
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 PrivateClaw, type PrivateClawGenqlSelection, 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, isPrivateClaw, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
|
package/dist/index.d.ts
CHANGED
|
@@ -149,6 +149,30 @@ interface Pool {
|
|
|
149
149
|
}
|
|
150
150
|
type PoolType = 'KELP_FOREST' | 'REEF' | 'SHALLOWS' | 'SPAWNING_GROUND' | 'TRENCH';
|
|
151
151
|
type PrimaryGoal = 'ATTACK' | 'DEFEND' | 'EXPAND' | 'FORTIFY' | 'IDLE' | 'MOLT' | 'SPY';
|
|
152
|
+
interface PrivateClaw {
|
|
153
|
+
aggression: Scalars['Float'];
|
|
154
|
+
bio: (Scalars['String'] | null);
|
|
155
|
+
created_at: Scalars['DateTime'];
|
|
156
|
+
deception: Scalars['Float'];
|
|
157
|
+
food: Scalars['Float'];
|
|
158
|
+
id: Scalars['ID'];
|
|
159
|
+
is_alive: Scalars['Boolean'];
|
|
160
|
+
is_molting: Scalars['Boolean'];
|
|
161
|
+
level: Scalars['Int'];
|
|
162
|
+
loyalty: Scalars['Float'];
|
|
163
|
+
minerals: Scalars['Float'];
|
|
164
|
+
molt_ticks_remaining: Scalars['Int'];
|
|
165
|
+
name: Scalars['String'];
|
|
166
|
+
profile_emoji: (Scalars['String'] | null);
|
|
167
|
+
scent: Scalars['Int'];
|
|
168
|
+
shell_tier: Scalars['Int'];
|
|
169
|
+
soft_shell_curse_ticks_remaining: Scalars['Int'];
|
|
170
|
+
species: Species;
|
|
171
|
+
territoriality: Scalars['Float'];
|
|
172
|
+
webhook_url: (Scalars['String'] | null);
|
|
173
|
+
xp: Scalars['Int'];
|
|
174
|
+
__typename: 'PrivateClaw';
|
|
175
|
+
}
|
|
152
176
|
interface PublicClaw {
|
|
153
177
|
bio: (Scalars['String'] | null);
|
|
154
178
|
id: Scalars['ID'];
|
|
@@ -168,7 +192,6 @@ interface Query {
|
|
|
168
192
|
clanPacts: ClanPact[];
|
|
169
193
|
clans: Clan[];
|
|
170
194
|
claw: PublicClaw;
|
|
171
|
-
claws: PublicClaw[];
|
|
172
195
|
countClaws: Scalars['Int'];
|
|
173
196
|
events: GameEvent[];
|
|
174
197
|
inbox: Whisper[];
|
|
@@ -176,7 +199,8 @@ interface Query {
|
|
|
176
199
|
me: PlayerProfile;
|
|
177
200
|
myApplications: ClanApplication[];
|
|
178
201
|
myClan: (Clan | null);
|
|
179
|
-
|
|
202
|
+
myClaw: PrivateClaw;
|
|
203
|
+
myClaws: PrivateClaw[];
|
|
180
204
|
myDirectives: (StandingOrder | null);
|
|
181
205
|
myProfile: Claw;
|
|
182
206
|
myRelationships: Relationship[];
|
|
@@ -521,6 +545,31 @@ interface PoolGenqlSelection {
|
|
|
521
545
|
__typename?: boolean | number;
|
|
522
546
|
__scalar?: boolean | number;
|
|
523
547
|
}
|
|
548
|
+
interface PrivateClawGenqlSelection {
|
|
549
|
+
aggression?: boolean | number;
|
|
550
|
+
bio?: boolean | number;
|
|
551
|
+
created_at?: boolean | number;
|
|
552
|
+
deception?: boolean | number;
|
|
553
|
+
food?: boolean | number;
|
|
554
|
+
id?: boolean | number;
|
|
555
|
+
is_alive?: boolean | number;
|
|
556
|
+
is_molting?: boolean | number;
|
|
557
|
+
level?: boolean | number;
|
|
558
|
+
loyalty?: boolean | number;
|
|
559
|
+
minerals?: boolean | number;
|
|
560
|
+
molt_ticks_remaining?: boolean | number;
|
|
561
|
+
name?: boolean | number;
|
|
562
|
+
profile_emoji?: boolean | number;
|
|
563
|
+
scent?: boolean | number;
|
|
564
|
+
shell_tier?: boolean | number;
|
|
565
|
+
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
566
|
+
species?: boolean | number;
|
|
567
|
+
territoriality?: boolean | number;
|
|
568
|
+
webhook_url?: boolean | number;
|
|
569
|
+
xp?: boolean | number;
|
|
570
|
+
__typename?: boolean | number;
|
|
571
|
+
__scalar?: boolean | number;
|
|
572
|
+
}
|
|
524
573
|
interface ProposeClanPactInput {
|
|
525
574
|
duration_ticks?: (Scalars['Int'] | null);
|
|
526
575
|
target_clan_id: Scalars['String'];
|
|
@@ -554,12 +603,6 @@ interface QueryGenqlSelection {
|
|
|
554
603
|
id: Scalars['String'];
|
|
555
604
|
};
|
|
556
605
|
});
|
|
557
|
-
claws?: (PublicClawGenqlSelection & {
|
|
558
|
-
__args?: {
|
|
559
|
-
limit?: Scalars['Int'];
|
|
560
|
-
offset?: Scalars['Int'];
|
|
561
|
-
};
|
|
562
|
-
});
|
|
563
606
|
countClaws?: boolean | number;
|
|
564
607
|
events?: (GameEventGenqlSelection & {
|
|
565
608
|
__args?: {
|
|
@@ -581,7 +624,12 @@ interface QueryGenqlSelection {
|
|
|
581
624
|
me?: PlayerProfileGenqlSelection;
|
|
582
625
|
myApplications?: ClanApplicationGenqlSelection;
|
|
583
626
|
myClan?: ClanGenqlSelection;
|
|
584
|
-
|
|
627
|
+
myClaw?: (PrivateClawGenqlSelection & {
|
|
628
|
+
__args: {
|
|
629
|
+
id: Scalars['String'];
|
|
630
|
+
};
|
|
631
|
+
});
|
|
632
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
585
633
|
myDirectives?: StandingOrderGenqlSelection;
|
|
586
634
|
myProfile?: ClawGenqlSelection;
|
|
587
635
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -750,6 +798,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
750
798
|
declare const isPool: (obj?: {
|
|
751
799
|
__typename?: any;
|
|
752
800
|
} | null) => obj is Pool;
|
|
801
|
+
declare const isPrivateClaw: (obj?: {
|
|
802
|
+
__typename?: any;
|
|
803
|
+
} | null) => obj is PrivateClaw;
|
|
753
804
|
declare const isPublicClaw: (obj?: {
|
|
754
805
|
__typename?: any;
|
|
755
806
|
} | null) => obj is PublicClaw;
|
|
@@ -948,4 +999,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
948
999
|
__name?: string;
|
|
949
1000
|
}) => GraphqlOperation;
|
|
950
1001
|
|
|
951
|
-
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 };
|
|
1002
|
+
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 PrivateClaw, type PrivateClawGenqlSelection, 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, isPrivateClaw, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
|