@clawconquest/client 1.9.0 → 1.10.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 +269 -245
- package/dist/index.d.cts +19 -1
- package/dist/index.d.ts +19 -1
- package/dist/index.js +268 -245
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -91,6 +91,12 @@ interface GameEvent {
|
|
|
91
91
|
tick: Scalars['Int'];
|
|
92
92
|
__typename: 'GameEvent';
|
|
93
93
|
}
|
|
94
|
+
interface GameStateInfo {
|
|
95
|
+
current_cycle: Scalars['Int'];
|
|
96
|
+
current_tick: Scalars['Int'];
|
|
97
|
+
next_tick_at: (Scalars['DateTime'] | null);
|
|
98
|
+
__typename: 'GameStateInfo';
|
|
99
|
+
}
|
|
94
100
|
type GovernanceType = 'AUTOCRACY' | 'COUNCIL' | 'DEMOCRACY';
|
|
95
101
|
type MembershipPolicy = 'APPLICATION' | 'CLOSED' | 'FULLY_OPEN' | 'INVITATION_ONLY';
|
|
96
102
|
interface Mutation {
|
|
@@ -196,6 +202,7 @@ interface Query {
|
|
|
196
202
|
claw: PublicClaw;
|
|
197
203
|
countClaws: Scalars['Int'];
|
|
198
204
|
events: GameEvent[];
|
|
205
|
+
gameState: GameStateInfo;
|
|
199
206
|
inbox: Whisper[];
|
|
200
207
|
intercepted_whispers: Whisper[];
|
|
201
208
|
me: PlayerProfile;
|
|
@@ -407,6 +414,13 @@ interface GameEventGenqlSelection {
|
|
|
407
414
|
__typename?: boolean | number;
|
|
408
415
|
__scalar?: boolean | number;
|
|
409
416
|
}
|
|
417
|
+
interface GameStateInfoGenqlSelection {
|
|
418
|
+
current_cycle?: boolean | number;
|
|
419
|
+
current_tick?: boolean | number;
|
|
420
|
+
next_tick_at?: boolean | number;
|
|
421
|
+
__typename?: boolean | number;
|
|
422
|
+
__scalar?: boolean | number;
|
|
423
|
+
}
|
|
410
424
|
interface MutationGenqlSelection {
|
|
411
425
|
acceptClanPact?: (ClanPactGenqlSelection & {
|
|
412
426
|
__args: {
|
|
@@ -626,6 +640,7 @@ interface QueryGenqlSelection {
|
|
|
626
640
|
tick?: (Scalars['Int'] | null);
|
|
627
641
|
};
|
|
628
642
|
});
|
|
643
|
+
gameState?: GameStateInfoGenqlSelection;
|
|
629
644
|
inbox?: (WhisperGenqlSelection & {
|
|
630
645
|
__args?: {
|
|
631
646
|
limit?: Scalars['Int'];
|
|
@@ -798,6 +813,9 @@ declare const isCreateClawPayload: (obj?: {
|
|
|
798
813
|
declare const isGameEvent: (obj?: {
|
|
799
814
|
__typename?: any;
|
|
800
815
|
} | null) => obj is GameEvent;
|
|
816
|
+
declare const isGameStateInfo: (obj?: {
|
|
817
|
+
__typename?: any;
|
|
818
|
+
} | null) => obj is GameStateInfo;
|
|
801
819
|
declare const isMutation: (obj?: {
|
|
802
820
|
__typename?: any;
|
|
803
821
|
} | null) => obj is Mutation;
|
|
@@ -1012,4 +1030,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
1012
1030
|
__name?: string;
|
|
1013
1031
|
}) => GraphqlOperation;
|
|
1014
1032
|
|
|
1015
|
-
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 };
|
|
1033
|
+
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, type GameStateInfo, type GameStateInfoGenqlSelection, 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, isGameStateInfo, isMutation, isPlayer, isPlayerProfile, isPool, isPrivateClaw, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
|
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,12 @@ interface GameEvent {
|
|
|
91
91
|
tick: Scalars['Int'];
|
|
92
92
|
__typename: 'GameEvent';
|
|
93
93
|
}
|
|
94
|
+
interface GameStateInfo {
|
|
95
|
+
current_cycle: Scalars['Int'];
|
|
96
|
+
current_tick: Scalars['Int'];
|
|
97
|
+
next_tick_at: (Scalars['DateTime'] | null);
|
|
98
|
+
__typename: 'GameStateInfo';
|
|
99
|
+
}
|
|
94
100
|
type GovernanceType = 'AUTOCRACY' | 'COUNCIL' | 'DEMOCRACY';
|
|
95
101
|
type MembershipPolicy = 'APPLICATION' | 'CLOSED' | 'FULLY_OPEN' | 'INVITATION_ONLY';
|
|
96
102
|
interface Mutation {
|
|
@@ -196,6 +202,7 @@ interface Query {
|
|
|
196
202
|
claw: PublicClaw;
|
|
197
203
|
countClaws: Scalars['Int'];
|
|
198
204
|
events: GameEvent[];
|
|
205
|
+
gameState: GameStateInfo;
|
|
199
206
|
inbox: Whisper[];
|
|
200
207
|
intercepted_whispers: Whisper[];
|
|
201
208
|
me: PlayerProfile;
|
|
@@ -407,6 +414,13 @@ interface GameEventGenqlSelection {
|
|
|
407
414
|
__typename?: boolean | number;
|
|
408
415
|
__scalar?: boolean | number;
|
|
409
416
|
}
|
|
417
|
+
interface GameStateInfoGenqlSelection {
|
|
418
|
+
current_cycle?: boolean | number;
|
|
419
|
+
current_tick?: boolean | number;
|
|
420
|
+
next_tick_at?: boolean | number;
|
|
421
|
+
__typename?: boolean | number;
|
|
422
|
+
__scalar?: boolean | number;
|
|
423
|
+
}
|
|
410
424
|
interface MutationGenqlSelection {
|
|
411
425
|
acceptClanPact?: (ClanPactGenqlSelection & {
|
|
412
426
|
__args: {
|
|
@@ -626,6 +640,7 @@ interface QueryGenqlSelection {
|
|
|
626
640
|
tick?: (Scalars['Int'] | null);
|
|
627
641
|
};
|
|
628
642
|
});
|
|
643
|
+
gameState?: GameStateInfoGenqlSelection;
|
|
629
644
|
inbox?: (WhisperGenqlSelection & {
|
|
630
645
|
__args?: {
|
|
631
646
|
limit?: Scalars['Int'];
|
|
@@ -798,6 +813,9 @@ declare const isCreateClawPayload: (obj?: {
|
|
|
798
813
|
declare const isGameEvent: (obj?: {
|
|
799
814
|
__typename?: any;
|
|
800
815
|
} | null) => obj is GameEvent;
|
|
816
|
+
declare const isGameStateInfo: (obj?: {
|
|
817
|
+
__typename?: any;
|
|
818
|
+
} | null) => obj is GameStateInfo;
|
|
801
819
|
declare const isMutation: (obj?: {
|
|
802
820
|
__typename?: any;
|
|
803
821
|
} | null) => obj is Mutation;
|
|
@@ -1012,4 +1030,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
1012
1030
|
__name?: string;
|
|
1013
1031
|
}) => GraphqlOperation;
|
|
1014
1032
|
|
|
1015
|
-
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 };
|
|
1033
|
+
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, type GameStateInfo, type GameStateInfoGenqlSelection, 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, isGameStateInfo, isMutation, isPlayer, isPlayerProfile, isPool, isPrivateClaw, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isSiege, isSpyDeployment, isStandingOrder, isSubscription, isUnit, isWhisper };
|