@clawconquest/client 1.22.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 +256 -253
- package/dist/index.d.cts +17 -13
- package/dist/index.d.ts +17 -13
- package/dist/index.js +255 -253
- 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'];
|
|
@@ -109,8 +114,6 @@ interface MessageModel {
|
|
|
109
114
|
}
|
|
110
115
|
interface Mutation {
|
|
111
116
|
createClaw: CreateClawPayload;
|
|
112
|
-
disableClaw: PrivateClaw;
|
|
113
|
-
enableClaw: PrivateClaw;
|
|
114
117
|
ping: Scalars['Boolean'];
|
|
115
118
|
regenerateClawKey: RegenerateKeyPayload;
|
|
116
119
|
signIn: Player;
|
|
@@ -186,6 +189,7 @@ interface PublicClaw {
|
|
|
186
189
|
__typename: 'PublicClaw';
|
|
187
190
|
}
|
|
188
191
|
interface Query {
|
|
192
|
+
allClaws: ClawPosition[];
|
|
189
193
|
claw: PublicClaw;
|
|
190
194
|
colonies: Colony[];
|
|
191
195
|
colony: Colony;
|
|
@@ -289,6 +293,12 @@ interface ClawGenqlSelection {
|
|
|
289
293
|
__typename?: boolean | number;
|
|
290
294
|
__scalar?: boolean | number;
|
|
291
295
|
}
|
|
296
|
+
interface ClawPositionGenqlSelection {
|
|
297
|
+
q?: boolean | number;
|
|
298
|
+
r?: boolean | number;
|
|
299
|
+
__typename?: boolean | number;
|
|
300
|
+
__scalar?: boolean | number;
|
|
301
|
+
}
|
|
292
302
|
interface ClawSummaryGenqlSelection {
|
|
293
303
|
id?: boolean | number;
|
|
294
304
|
is_alive?: boolean | number;
|
|
@@ -374,16 +384,6 @@ interface MutationGenqlSelection {
|
|
|
374
384
|
input: CreateClawInput;
|
|
375
385
|
};
|
|
376
386
|
});
|
|
377
|
-
disableClaw?: (PrivateClawGenqlSelection & {
|
|
378
|
-
__args: {
|
|
379
|
-
clawId: Scalars['String'];
|
|
380
|
-
};
|
|
381
|
-
});
|
|
382
|
-
enableClaw?: (PrivateClawGenqlSelection & {
|
|
383
|
-
__args: {
|
|
384
|
-
clawId: Scalars['String'];
|
|
385
|
-
};
|
|
386
|
-
});
|
|
387
387
|
ping?: boolean | number;
|
|
388
388
|
regenerateClawKey?: (RegenerateKeyPayloadGenqlSelection & {
|
|
389
389
|
__args: {
|
|
@@ -481,6 +481,7 @@ interface PublicClawGenqlSelection {
|
|
|
481
481
|
__scalar?: boolean | number;
|
|
482
482
|
}
|
|
483
483
|
interface QueryGenqlSelection {
|
|
484
|
+
allClaws?: ClawPositionGenqlSelection;
|
|
484
485
|
claw?: (PublicClawGenqlSelection & {
|
|
485
486
|
__args: {
|
|
486
487
|
id: Scalars['String'];
|
|
@@ -633,6 +634,9 @@ declare const isActionQueueEntry: (obj?: {
|
|
|
633
634
|
declare const isClaw: (obj?: {
|
|
634
635
|
__typename?: any;
|
|
635
636
|
} | null) => obj is Claw;
|
|
637
|
+
declare const isClawPosition: (obj?: {
|
|
638
|
+
__typename?: any;
|
|
639
|
+
} | null) => obj is ClawPosition;
|
|
636
640
|
declare const isClawSummary: (obj?: {
|
|
637
641
|
__typename?: any;
|
|
638
642
|
} | null) => obj is ClawSummary;
|
|
@@ -845,4 +849,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
845
849
|
__name?: string;
|
|
846
850
|
}) => GraphqlOperation;
|
|
847
851
|
|
|
848
|
-
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'];
|
|
@@ -109,8 +114,6 @@ interface MessageModel {
|
|
|
109
114
|
}
|
|
110
115
|
interface Mutation {
|
|
111
116
|
createClaw: CreateClawPayload;
|
|
112
|
-
disableClaw: PrivateClaw;
|
|
113
|
-
enableClaw: PrivateClaw;
|
|
114
117
|
ping: Scalars['Boolean'];
|
|
115
118
|
regenerateClawKey: RegenerateKeyPayload;
|
|
116
119
|
signIn: Player;
|
|
@@ -186,6 +189,7 @@ interface PublicClaw {
|
|
|
186
189
|
__typename: 'PublicClaw';
|
|
187
190
|
}
|
|
188
191
|
interface Query {
|
|
192
|
+
allClaws: ClawPosition[];
|
|
189
193
|
claw: PublicClaw;
|
|
190
194
|
colonies: Colony[];
|
|
191
195
|
colony: Colony;
|
|
@@ -289,6 +293,12 @@ interface ClawGenqlSelection {
|
|
|
289
293
|
__typename?: boolean | number;
|
|
290
294
|
__scalar?: boolean | number;
|
|
291
295
|
}
|
|
296
|
+
interface ClawPositionGenqlSelection {
|
|
297
|
+
q?: boolean | number;
|
|
298
|
+
r?: boolean | number;
|
|
299
|
+
__typename?: boolean | number;
|
|
300
|
+
__scalar?: boolean | number;
|
|
301
|
+
}
|
|
292
302
|
interface ClawSummaryGenqlSelection {
|
|
293
303
|
id?: boolean | number;
|
|
294
304
|
is_alive?: boolean | number;
|
|
@@ -374,16 +384,6 @@ interface MutationGenqlSelection {
|
|
|
374
384
|
input: CreateClawInput;
|
|
375
385
|
};
|
|
376
386
|
});
|
|
377
|
-
disableClaw?: (PrivateClawGenqlSelection & {
|
|
378
|
-
__args: {
|
|
379
|
-
clawId: Scalars['String'];
|
|
380
|
-
};
|
|
381
|
-
});
|
|
382
|
-
enableClaw?: (PrivateClawGenqlSelection & {
|
|
383
|
-
__args: {
|
|
384
|
-
clawId: Scalars['String'];
|
|
385
|
-
};
|
|
386
|
-
});
|
|
387
387
|
ping?: boolean | number;
|
|
388
388
|
regenerateClawKey?: (RegenerateKeyPayloadGenqlSelection & {
|
|
389
389
|
__args: {
|
|
@@ -481,6 +481,7 @@ interface PublicClawGenqlSelection {
|
|
|
481
481
|
__scalar?: boolean | number;
|
|
482
482
|
}
|
|
483
483
|
interface QueryGenqlSelection {
|
|
484
|
+
allClaws?: ClawPositionGenqlSelection;
|
|
484
485
|
claw?: (PublicClawGenqlSelection & {
|
|
485
486
|
__args: {
|
|
486
487
|
id: Scalars['String'];
|
|
@@ -633,6 +634,9 @@ declare const isActionQueueEntry: (obj?: {
|
|
|
633
634
|
declare const isClaw: (obj?: {
|
|
634
635
|
__typename?: any;
|
|
635
636
|
} | null) => obj is Claw;
|
|
637
|
+
declare const isClawPosition: (obj?: {
|
|
638
|
+
__typename?: any;
|
|
639
|
+
} | null) => obj is ClawPosition;
|
|
636
640
|
declare const isClawSummary: (obj?: {
|
|
637
641
|
__typename?: any;
|
|
638
642
|
} | null) => obj is ClawSummary;
|
|
@@ -845,4 +849,4 @@ declare const generateSubscriptionOp: (fields: SubscriptionGenqlSelection & {
|
|
|
845
849
|
__name?: string;
|
|
846
850
|
}) => GraphqlOperation;
|
|
847
851
|
|
|
848
|
-
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 };
|