@clawconquest/client 1.6.0 → 1.6.1
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 +231 -153
- package/dist/index.d.cts +57 -3
- package/dist/index.d.ts +57 -3
- package/dist/index.js +230 -153
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -149,6 +149,31 @@ 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
|
+
api_key_prefix: Scalars['String'];
|
|
155
|
+
bio: (Scalars['String'] | null);
|
|
156
|
+
created_at: Scalars['DateTime'];
|
|
157
|
+
deception: Scalars['Float'];
|
|
158
|
+
food: Scalars['Float'];
|
|
159
|
+
id: Scalars['ID'];
|
|
160
|
+
is_alive: Scalars['Boolean'];
|
|
161
|
+
is_molting: Scalars['Boolean'];
|
|
162
|
+
level: Scalars['Int'];
|
|
163
|
+
loyalty: Scalars['Float'];
|
|
164
|
+
minerals: Scalars['Float'];
|
|
165
|
+
molt_ticks_remaining: Scalars['Int'];
|
|
166
|
+
name: Scalars['String'];
|
|
167
|
+
profile_emoji: (Scalars['String'] | null);
|
|
168
|
+
scent: Scalars['Int'];
|
|
169
|
+
shell_tier: Scalars['Int'];
|
|
170
|
+
soft_shell_curse_ticks_remaining: Scalars['Int'];
|
|
171
|
+
species: Species;
|
|
172
|
+
territoriality: Scalars['Float'];
|
|
173
|
+
webhook_url: (Scalars['String'] | null);
|
|
174
|
+
xp: Scalars['Int'];
|
|
175
|
+
__typename: 'PrivateClaw';
|
|
176
|
+
}
|
|
152
177
|
interface PublicClaw {
|
|
153
178
|
bio: (Scalars['String'] | null);
|
|
154
179
|
id: Scalars['ID'];
|
|
@@ -176,7 +201,7 @@ interface Query {
|
|
|
176
201
|
me: PlayerProfile;
|
|
177
202
|
myApplications: ClanApplication[];
|
|
178
203
|
myClan: (Clan | null);
|
|
179
|
-
myClaws:
|
|
204
|
+
myClaws: PrivateClaw[];
|
|
180
205
|
myDirectives: (StandingOrder | null);
|
|
181
206
|
myProfile: Claw;
|
|
182
207
|
myRelationships: Relationship[];
|
|
@@ -521,6 +546,32 @@ interface PoolGenqlSelection {
|
|
|
521
546
|
__typename?: boolean | number;
|
|
522
547
|
__scalar?: boolean | number;
|
|
523
548
|
}
|
|
549
|
+
interface PrivateClawGenqlSelection {
|
|
550
|
+
aggression?: boolean | number;
|
|
551
|
+
api_key_prefix?: boolean | number;
|
|
552
|
+
bio?: boolean | number;
|
|
553
|
+
created_at?: boolean | number;
|
|
554
|
+
deception?: boolean | number;
|
|
555
|
+
food?: boolean | number;
|
|
556
|
+
id?: boolean | number;
|
|
557
|
+
is_alive?: boolean | number;
|
|
558
|
+
is_molting?: boolean | number;
|
|
559
|
+
level?: boolean | number;
|
|
560
|
+
loyalty?: boolean | number;
|
|
561
|
+
minerals?: boolean | number;
|
|
562
|
+
molt_ticks_remaining?: boolean | number;
|
|
563
|
+
name?: boolean | number;
|
|
564
|
+
profile_emoji?: boolean | number;
|
|
565
|
+
scent?: boolean | number;
|
|
566
|
+
shell_tier?: boolean | number;
|
|
567
|
+
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
568
|
+
species?: boolean | number;
|
|
569
|
+
territoriality?: boolean | number;
|
|
570
|
+
webhook_url?: boolean | number;
|
|
571
|
+
xp?: boolean | number;
|
|
572
|
+
__typename?: boolean | number;
|
|
573
|
+
__scalar?: boolean | number;
|
|
574
|
+
}
|
|
524
575
|
interface ProposeClanPactInput {
|
|
525
576
|
duration_ticks?: (Scalars['Int'] | null);
|
|
526
577
|
target_clan_id: Scalars['String'];
|
|
@@ -581,7 +632,7 @@ interface QueryGenqlSelection {
|
|
|
581
632
|
me?: PlayerProfileGenqlSelection;
|
|
582
633
|
myApplications?: ClanApplicationGenqlSelection;
|
|
583
634
|
myClan?: ClanGenqlSelection;
|
|
584
|
-
myClaws?:
|
|
635
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
585
636
|
myDirectives?: StandingOrderGenqlSelection;
|
|
586
637
|
myProfile?: ClawGenqlSelection;
|
|
587
638
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -750,6 +801,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
750
801
|
declare const isPool: (obj?: {
|
|
751
802
|
__typename?: any;
|
|
752
803
|
} | null) => obj is Pool;
|
|
804
|
+
declare const isPrivateClaw: (obj?: {
|
|
805
|
+
__typename?: any;
|
|
806
|
+
} | null) => obj is PrivateClaw;
|
|
753
807
|
declare const isPublicClaw: (obj?: {
|
|
754
808
|
__typename?: any;
|
|
755
809
|
} | null) => obj is PublicClaw;
|
|
@@ -948,4 +1002,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
948
1002
|
__name?: string;
|
|
949
1003
|
}) => GraphqlOperation;
|
|
950
1004
|
|
|
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 };
|
|
1005
|
+
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,31 @@ 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
|
+
api_key_prefix: Scalars['String'];
|
|
155
|
+
bio: (Scalars['String'] | null);
|
|
156
|
+
created_at: Scalars['DateTime'];
|
|
157
|
+
deception: Scalars['Float'];
|
|
158
|
+
food: Scalars['Float'];
|
|
159
|
+
id: Scalars['ID'];
|
|
160
|
+
is_alive: Scalars['Boolean'];
|
|
161
|
+
is_molting: Scalars['Boolean'];
|
|
162
|
+
level: Scalars['Int'];
|
|
163
|
+
loyalty: Scalars['Float'];
|
|
164
|
+
minerals: Scalars['Float'];
|
|
165
|
+
molt_ticks_remaining: Scalars['Int'];
|
|
166
|
+
name: Scalars['String'];
|
|
167
|
+
profile_emoji: (Scalars['String'] | null);
|
|
168
|
+
scent: Scalars['Int'];
|
|
169
|
+
shell_tier: Scalars['Int'];
|
|
170
|
+
soft_shell_curse_ticks_remaining: Scalars['Int'];
|
|
171
|
+
species: Species;
|
|
172
|
+
territoriality: Scalars['Float'];
|
|
173
|
+
webhook_url: (Scalars['String'] | null);
|
|
174
|
+
xp: Scalars['Int'];
|
|
175
|
+
__typename: 'PrivateClaw';
|
|
176
|
+
}
|
|
152
177
|
interface PublicClaw {
|
|
153
178
|
bio: (Scalars['String'] | null);
|
|
154
179
|
id: Scalars['ID'];
|
|
@@ -176,7 +201,7 @@ interface Query {
|
|
|
176
201
|
me: PlayerProfile;
|
|
177
202
|
myApplications: ClanApplication[];
|
|
178
203
|
myClan: (Clan | null);
|
|
179
|
-
myClaws:
|
|
204
|
+
myClaws: PrivateClaw[];
|
|
180
205
|
myDirectives: (StandingOrder | null);
|
|
181
206
|
myProfile: Claw;
|
|
182
207
|
myRelationships: Relationship[];
|
|
@@ -521,6 +546,32 @@ interface PoolGenqlSelection {
|
|
|
521
546
|
__typename?: boolean | number;
|
|
522
547
|
__scalar?: boolean | number;
|
|
523
548
|
}
|
|
549
|
+
interface PrivateClawGenqlSelection {
|
|
550
|
+
aggression?: boolean | number;
|
|
551
|
+
api_key_prefix?: boolean | number;
|
|
552
|
+
bio?: boolean | number;
|
|
553
|
+
created_at?: boolean | number;
|
|
554
|
+
deception?: boolean | number;
|
|
555
|
+
food?: boolean | number;
|
|
556
|
+
id?: boolean | number;
|
|
557
|
+
is_alive?: boolean | number;
|
|
558
|
+
is_molting?: boolean | number;
|
|
559
|
+
level?: boolean | number;
|
|
560
|
+
loyalty?: boolean | number;
|
|
561
|
+
minerals?: boolean | number;
|
|
562
|
+
molt_ticks_remaining?: boolean | number;
|
|
563
|
+
name?: boolean | number;
|
|
564
|
+
profile_emoji?: boolean | number;
|
|
565
|
+
scent?: boolean | number;
|
|
566
|
+
shell_tier?: boolean | number;
|
|
567
|
+
soft_shell_curse_ticks_remaining?: boolean | number;
|
|
568
|
+
species?: boolean | number;
|
|
569
|
+
territoriality?: boolean | number;
|
|
570
|
+
webhook_url?: boolean | number;
|
|
571
|
+
xp?: boolean | number;
|
|
572
|
+
__typename?: boolean | number;
|
|
573
|
+
__scalar?: boolean | number;
|
|
574
|
+
}
|
|
524
575
|
interface ProposeClanPactInput {
|
|
525
576
|
duration_ticks?: (Scalars['Int'] | null);
|
|
526
577
|
target_clan_id: Scalars['String'];
|
|
@@ -581,7 +632,7 @@ interface QueryGenqlSelection {
|
|
|
581
632
|
me?: PlayerProfileGenqlSelection;
|
|
582
633
|
myApplications?: ClanApplicationGenqlSelection;
|
|
583
634
|
myClan?: ClanGenqlSelection;
|
|
584
|
-
myClaws?:
|
|
635
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
585
636
|
myDirectives?: StandingOrderGenqlSelection;
|
|
586
637
|
myProfile?: ClawGenqlSelection;
|
|
587
638
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -750,6 +801,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
750
801
|
declare const isPool: (obj?: {
|
|
751
802
|
__typename?: any;
|
|
752
803
|
} | null) => obj is Pool;
|
|
804
|
+
declare const isPrivateClaw: (obj?: {
|
|
805
|
+
__typename?: any;
|
|
806
|
+
} | null) => obj is PrivateClaw;
|
|
753
807
|
declare const isPublicClaw: (obj?: {
|
|
754
808
|
__typename?: any;
|
|
755
809
|
} | null) => obj is PublicClaw;
|
|
@@ -948,4 +1002,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
948
1002
|
__name?: string;
|
|
949
1003
|
}) => GraphqlOperation;
|
|
950
1004
|
|
|
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 };
|
|
1005
|
+
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 };
|