@clawconquest/client 1.23.0 → 1.24.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 +254 -236
- package/dist/index.d.cts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +253 -236
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -39,6 +39,11 @@ interface Claw {
|
|
|
39
39
|
webhook_url: (Scalars['String'] | null);
|
|
40
40
|
__typename: 'Claw';
|
|
41
41
|
}
|
|
42
|
+
interface ClawPosition {
|
|
43
|
+
q: Scalars['Int'];
|
|
44
|
+
r: Scalars['Int'];
|
|
45
|
+
__typename: 'ClawPosition';
|
|
46
|
+
}
|
|
42
47
|
interface ClawSummary {
|
|
43
48
|
id: Scalars['ID'];
|
|
44
49
|
is_alive: Scalars['Boolean'];
|
|
@@ -184,7 +189,7 @@ interface PublicClaw {
|
|
|
184
189
|
__typename: 'PublicClaw';
|
|
185
190
|
}
|
|
186
191
|
interface Query {
|
|
187
|
-
allClaws:
|
|
192
|
+
allClaws: ClawPosition[];
|
|
188
193
|
claw: PublicClaw;
|
|
189
194
|
colonies: Colony[];
|
|
190
195
|
colony: Colony;
|
|
@@ -288,6 +293,12 @@ interface ClawGenqlSelection {
|
|
|
288
293
|
__typename?: boolean | number;
|
|
289
294
|
__scalar?: boolean | number;
|
|
290
295
|
}
|
|
296
|
+
interface ClawPositionGenqlSelection {
|
|
297
|
+
q?: boolean | number;
|
|
298
|
+
r?: boolean | number;
|
|
299
|
+
__typename?: boolean | number;
|
|
300
|
+
__scalar?: boolean | number;
|
|
301
|
+
}
|
|
291
302
|
interface ClawSummaryGenqlSelection {
|
|
292
303
|
id?: boolean | number;
|
|
293
304
|
is_alive?: boolean | number;
|
|
@@ -470,7 +481,7 @@ interface PublicClawGenqlSelection {
|
|
|
470
481
|
__scalar?: boolean | number;
|
|
471
482
|
}
|
|
472
483
|
interface QueryGenqlSelection {
|
|
473
|
-
allClaws?:
|
|
484
|
+
allClaws?: ClawPositionGenqlSelection;
|
|
474
485
|
claw?: (PublicClawGenqlSelection & {
|
|
475
486
|
__args: {
|
|
476
487
|
id: Scalars['String'];
|
|
@@ -623,6 +634,9 @@ declare const isActionQueueEntry: (obj?: {
|
|
|
623
634
|
declare const isClaw: (obj?: {
|
|
624
635
|
__typename?: any;
|
|
625
636
|
} | null) => obj is Claw;
|
|
637
|
+
declare const isClawPosition: (obj?: {
|
|
638
|
+
__typename?: any;
|
|
639
|
+
} | null) => obj is ClawPosition;
|
|
626
640
|
declare const isClawSummary: (obj?: {
|
|
627
641
|
__typename?: any;
|
|
628
642
|
} | null) => obj is ClawSummary;
|
|
@@ -835,4 +849,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
835
849
|
__name?: string;
|
|
836
850
|
}) => GraphqlOperation;
|
|
837
851
|
|
|
838
|
-
export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type Colony, type ColonyGenqlSelection, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, type GameStateInfo, type GameStateInfoGenqlSelection, GenqlError, type GovernanceType, type LawModel, type LawModelGenqlSelection, type LawType, type MessageModel, type MessageModelGenqlSelection, type Mutation, type MutationGenqlSelection, type MutationResult, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type PrivateClaw, type PrivateClawGenqlSelection, type ProposalModel, type ProposalModelGenqlSelection, type ProposalStatus, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type Species, type StructureModel, type StructureModelGenqlSelection, type StructureType, type SubmitActionInput, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Tile, type TileGenqlSelection, type TreatyModel, type TreatyModelGenqlSelection, type TreatyStatus, type UpdateClawInput, type UpdatePlayerInput, createClient, enumBiome, enumGovernanceType, enumLawType, enumProposalStatus, enumSpecies, enumStructureType, enumTreatyStatus, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isActionQueueEntry, isClaw, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
|
|
852
|
+
export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawPosition, type ClawPositionGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type Colony, type ColonyGenqlSelection, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, type GameStateInfo, type GameStateInfoGenqlSelection, GenqlError, type GovernanceType, type LawModel, type LawModelGenqlSelection, type LawType, type MessageModel, type MessageModelGenqlSelection, type Mutation, type MutationGenqlSelection, type MutationResult, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type PrivateClaw, type PrivateClawGenqlSelection, type ProposalModel, type ProposalModelGenqlSelection, type ProposalStatus, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type Species, type StructureModel, type StructureModelGenqlSelection, type StructureType, type SubmitActionInput, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Tile, type TileGenqlSelection, type TreatyModel, type TreatyModelGenqlSelection, type TreatyStatus, type UpdateClawInput, type UpdatePlayerInput, createClient, enumBiome, enumGovernanceType, enumLawType, enumProposalStatus, enumSpecies, enumStructureType, enumTreatyStatus, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isActionQueueEntry, isClaw, isClawPosition, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,11 @@ interface Claw {
|
|
|
39
39
|
webhook_url: (Scalars['String'] | null);
|
|
40
40
|
__typename: 'Claw';
|
|
41
41
|
}
|
|
42
|
+
interface ClawPosition {
|
|
43
|
+
q: Scalars['Int'];
|
|
44
|
+
r: Scalars['Int'];
|
|
45
|
+
__typename: 'ClawPosition';
|
|
46
|
+
}
|
|
42
47
|
interface ClawSummary {
|
|
43
48
|
id: Scalars['ID'];
|
|
44
49
|
is_alive: Scalars['Boolean'];
|
|
@@ -184,7 +189,7 @@ interface PublicClaw {
|
|
|
184
189
|
__typename: 'PublicClaw';
|
|
185
190
|
}
|
|
186
191
|
interface Query {
|
|
187
|
-
allClaws:
|
|
192
|
+
allClaws: ClawPosition[];
|
|
188
193
|
claw: PublicClaw;
|
|
189
194
|
colonies: Colony[];
|
|
190
195
|
colony: Colony;
|
|
@@ -288,6 +293,12 @@ interface ClawGenqlSelection {
|
|
|
288
293
|
__typename?: boolean | number;
|
|
289
294
|
__scalar?: boolean | number;
|
|
290
295
|
}
|
|
296
|
+
interface ClawPositionGenqlSelection {
|
|
297
|
+
q?: boolean | number;
|
|
298
|
+
r?: boolean | number;
|
|
299
|
+
__typename?: boolean | number;
|
|
300
|
+
__scalar?: boolean | number;
|
|
301
|
+
}
|
|
291
302
|
interface ClawSummaryGenqlSelection {
|
|
292
303
|
id?: boolean | number;
|
|
293
304
|
is_alive?: boolean | number;
|
|
@@ -470,7 +481,7 @@ interface PublicClawGenqlSelection {
|
|
|
470
481
|
__scalar?: boolean | number;
|
|
471
482
|
}
|
|
472
483
|
interface QueryGenqlSelection {
|
|
473
|
-
allClaws?:
|
|
484
|
+
allClaws?: ClawPositionGenqlSelection;
|
|
474
485
|
claw?: (PublicClawGenqlSelection & {
|
|
475
486
|
__args: {
|
|
476
487
|
id: Scalars['String'];
|
|
@@ -623,6 +634,9 @@ declare const isActionQueueEntry: (obj?: {
|
|
|
623
634
|
declare const isClaw: (obj?: {
|
|
624
635
|
__typename?: any;
|
|
625
636
|
} | null) => obj is Claw;
|
|
637
|
+
declare const isClawPosition: (obj?: {
|
|
638
|
+
__typename?: any;
|
|
639
|
+
} | null) => obj is ClawPosition;
|
|
626
640
|
declare const isClawSummary: (obj?: {
|
|
627
641
|
__typename?: any;
|
|
628
642
|
} | null) => obj is ClawSummary;
|
|
@@ -835,4 +849,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
835
849
|
__name?: string;
|
|
836
850
|
}) => GraphqlOperation;
|
|
837
851
|
|
|
838
|
-
export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type Colony, type ColonyGenqlSelection, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, type GameStateInfo, type GameStateInfoGenqlSelection, GenqlError, type GovernanceType, type LawModel, type LawModelGenqlSelection, type LawType, type MessageModel, type MessageModelGenqlSelection, type Mutation, type MutationGenqlSelection, type MutationResult, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type PrivateClaw, type PrivateClawGenqlSelection, type ProposalModel, type ProposalModelGenqlSelection, type ProposalStatus, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type Species, type StructureModel, type StructureModelGenqlSelection, type StructureType, type SubmitActionInput, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Tile, type TileGenqlSelection, type TreatyModel, type TreatyModelGenqlSelection, type TreatyStatus, type UpdateClawInput, type UpdatePlayerInput, createClient, enumBiome, enumGovernanceType, enumLawType, enumProposalStatus, enumSpecies, enumStructureType, enumTreatyStatus, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isActionQueueEntry, isClaw, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
|
|
852
|
+
export { type ActionQueueEntry, type ActionQueueEntryGenqlSelection, type Biome, type Claw, type ClawGenqlSelection, type ClawPosition, type ClawPositionGenqlSelection, type ClawSummary, type ClawSummaryGenqlSelection, type Client, type Colony, type ColonyGenqlSelection, type CreateClawInput, type CreateClawPayload, type CreateClawPayloadGenqlSelection, type FieldsSelection, type GameEvent, type GameEventGenqlSelection, type GameStateInfo, type GameStateInfoGenqlSelection, GenqlError, type GovernanceType, type LawModel, type LawModelGenqlSelection, type LawType, type MessageModel, type MessageModelGenqlSelection, type Mutation, type MutationGenqlSelection, type MutationResult, type Player, type PlayerGenqlSelection, type PlayerProfile, type PlayerProfileGenqlSelection, type PrivateClaw, type PrivateClawGenqlSelection, type ProposalModel, type ProposalModelGenqlSelection, type ProposalStatus, type PublicClaw, type PublicClawGenqlSelection, type Query, type QueryGenqlSelection, type QueryResult, type RegenerateKeyPayload, type RegenerateKeyPayloadGenqlSelection, type Relationship, type RelationshipGenqlSelection, type Scalars, type Species, type StructureModel, type StructureModelGenqlSelection, type StructureType, type SubmitActionInput, type Subscription, type SubscriptionGenqlSelection, type SubscriptionResult, type Tile, type TileGenqlSelection, type TreatyModel, type TreatyModelGenqlSelection, type TreatyStatus, type UpdateClawInput, type UpdatePlayerInput, createClient, enumBiome, enumGovernanceType, enumLawType, enumProposalStatus, enumSpecies, enumStructureType, enumTreatyStatus, everything, generateMutationOp, generateQueryOp, generateSubscriptionOp, isActionQueueEntry, isClaw, isClawPosition, isClawSummary, isColony, isCreateClawPayload, isGameEvent, isGameStateInfo, isLawModel, isMessageModel, isMutation, isPlayer, isPlayerProfile, isPrivateClaw, isProposalModel, isPublicClaw, isQuery, isRegenerateKeyPayload, isRelationship, isStructureModel, isSubscription, isTile, isTreatyModel };
|