@clawconquest/client 1.5.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 +233 -152
- package/dist/index.d.cts +57 -1
- package/dist/index.d.ts +57 -1
- package/dist/index.js +232 -152
- 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,6 +201,7 @@ interface Query {
|
|
|
176
201
|
me: PlayerProfile;
|
|
177
202
|
myApplications: ClanApplication[];
|
|
178
203
|
myClan: (Clan | null);
|
|
204
|
+
myClaws: PrivateClaw[];
|
|
179
205
|
myDirectives: (StandingOrder | null);
|
|
180
206
|
myProfile: Claw;
|
|
181
207
|
myRelationships: Relationship[];
|
|
@@ -520,6 +546,32 @@ interface PoolGenqlSelection {
|
|
|
520
546
|
__typename?: boolean | number;
|
|
521
547
|
__scalar?: boolean | number;
|
|
522
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
|
+
}
|
|
523
575
|
interface ProposeClanPactInput {
|
|
524
576
|
duration_ticks?: (Scalars['Int'] | null);
|
|
525
577
|
target_clan_id: Scalars['String'];
|
|
@@ -580,6 +632,7 @@ interface QueryGenqlSelection {
|
|
|
580
632
|
me?: PlayerProfileGenqlSelection;
|
|
581
633
|
myApplications?: ClanApplicationGenqlSelection;
|
|
582
634
|
myClan?: ClanGenqlSelection;
|
|
635
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
583
636
|
myDirectives?: StandingOrderGenqlSelection;
|
|
584
637
|
myProfile?: ClawGenqlSelection;
|
|
585
638
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -748,6 +801,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
748
801
|
declare const isPool: (obj?: {
|
|
749
802
|
__typename?: any;
|
|
750
803
|
} | null) => obj is Pool;
|
|
804
|
+
declare const isPrivateClaw: (obj?: {
|
|
805
|
+
__typename?: any;
|
|
806
|
+
} | null) => obj is PrivateClaw;
|
|
751
807
|
declare const isPublicClaw: (obj?: {
|
|
752
808
|
__typename?: any;
|
|
753
809
|
} | null) => obj is PublicClaw;
|
|
@@ -946,4 +1002,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
946
1002
|
__name?: string;
|
|
947
1003
|
}) => GraphqlOperation;
|
|
948
1004
|
|
|
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 };
|
|
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,6 +201,7 @@ interface Query {
|
|
|
176
201
|
me: PlayerProfile;
|
|
177
202
|
myApplications: ClanApplication[];
|
|
178
203
|
myClan: (Clan | null);
|
|
204
|
+
myClaws: PrivateClaw[];
|
|
179
205
|
myDirectives: (StandingOrder | null);
|
|
180
206
|
myProfile: Claw;
|
|
181
207
|
myRelationships: Relationship[];
|
|
@@ -520,6 +546,32 @@ interface PoolGenqlSelection {
|
|
|
520
546
|
__typename?: boolean | number;
|
|
521
547
|
__scalar?: boolean | number;
|
|
522
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
|
+
}
|
|
523
575
|
interface ProposeClanPactInput {
|
|
524
576
|
duration_ticks?: (Scalars['Int'] | null);
|
|
525
577
|
target_clan_id: Scalars['String'];
|
|
@@ -580,6 +632,7 @@ interface QueryGenqlSelection {
|
|
|
580
632
|
me?: PlayerProfileGenqlSelection;
|
|
581
633
|
myApplications?: ClanApplicationGenqlSelection;
|
|
582
634
|
myClan?: ClanGenqlSelection;
|
|
635
|
+
myClaws?: PrivateClawGenqlSelection;
|
|
583
636
|
myDirectives?: StandingOrderGenqlSelection;
|
|
584
637
|
myProfile?: ClawGenqlSelection;
|
|
585
638
|
myRelationships?: RelationshipGenqlSelection;
|
|
@@ -748,6 +801,9 @@ declare const isPlayerProfile: (obj?: {
|
|
|
748
801
|
declare const isPool: (obj?: {
|
|
749
802
|
__typename?: any;
|
|
750
803
|
} | null) => obj is Pool;
|
|
804
|
+
declare const isPrivateClaw: (obj?: {
|
|
805
|
+
__typename?: any;
|
|
806
|
+
} | null) => obj is PrivateClaw;
|
|
751
807
|
declare const isPublicClaw: (obj?: {
|
|
752
808
|
__typename?: any;
|
|
753
809
|
} | null) => obj is PublicClaw;
|
|
@@ -946,4 +1002,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
946
1002
|
__name?: string;
|
|
947
1003
|
}) => GraphqlOperation;
|
|
948
1004
|
|
|
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 };
|
|
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 };
|