@crowdedkingdoms/crowdyjs 18.4.1 → 18.6.0-dev.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/MIGRATION.md +54 -0
- package/README.md +23 -15
- package/dist/binary-wire.d.ts +22 -0
- package/dist/binary-wire.d.ts.map +1 -1
- package/dist/binary-wire.js +59 -0
- package/dist/crowdy-client.d.ts +3 -0
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +2 -0
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/apps.d.ts +7 -1
- package/dist/domains/apps.d.ts.map +1 -1
- package/dist/domains/apps.js +7 -1
- package/dist/domains/inputLog.d.ts +74 -0
- package/dist/domains/inputLog.d.ts.map +1 -0
- package/dist/domains/inputLog.js +74 -0
- package/dist/domains/udp.d.ts +29 -1
- package/dist/domains/udp.d.ts.map +1 -1
- package/dist/domains/udp.js +40 -2
- package/dist/generated/graphql-schema.d.ts +438 -1
- package/dist/generated/graphql-schema.d.ts.map +1 -1
- package/dist/generated/graphql-schema.js +27 -0
- package/dist/generated/graphql.d.ts +86 -0
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +9 -6
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
|
@@ -530,6 +530,33 @@ export var ServerState;
|
|
|
530
530
|
/** The server is draining and shutting down: existing sessions may continue briefly but no new clients should be routed here. */
|
|
531
531
|
ServerState["Stopping"] = "Stopping";
|
|
532
532
|
})(ServerState || (ServerState = {}));
|
|
533
|
+
/** How the dev/test staff-only gate behaves on this tier. OFF on prod and on any tier that is not dev or test; OBSERVE logs what would be refused; ENFORCE refuses. */
|
|
534
|
+
export var TierAccessMode;
|
|
535
|
+
(function (TierAccessMode) {
|
|
536
|
+
TierAccessMode["Enforce"] = "ENFORCE";
|
|
537
|
+
TierAccessMode["Observe"] = "OBSERVE";
|
|
538
|
+
TierAccessMode["Off"] = "OFF";
|
|
539
|
+
})(TierAccessMode || (TierAccessMode = {}));
|
|
540
|
+
/** An exact email address, or every address on one domain. */
|
|
541
|
+
export var TierAccessRuleKind;
|
|
542
|
+
(function (TierAccessRuleKind) {
|
|
543
|
+
TierAccessRuleKind["Email"] = "EMAIL";
|
|
544
|
+
TierAccessRuleKind["EmailDomain"] = "EMAIL_DOMAIN";
|
|
545
|
+
})(TierAccessRuleKind || (TierAccessRuleKind = {}));
|
|
546
|
+
/** An account on this tier: NOT_RESTRICTED (prod, or no gate), GRANTED, PENDING_VERIFICATION (a listed address that is not confirmed yet), or DENIED. */
|
|
547
|
+
export var TierAccessStatus;
|
|
548
|
+
(function (TierAccessStatus) {
|
|
549
|
+
TierAccessStatus["Denied"] = "DENIED";
|
|
550
|
+
TierAccessStatus["Granted"] = "GRANTED";
|
|
551
|
+
TierAccessStatus["NotRestricted"] = "NOT_RESTRICTED";
|
|
552
|
+
TierAccessStatus["PendingVerification"] = "PENDING_VERIFICATION";
|
|
553
|
+
})(TierAccessStatus || (TierAccessStatus = {}));
|
|
554
|
+
/** The mode an operator can set on a restricted tier. */
|
|
555
|
+
export var TierAccessStoredMode;
|
|
556
|
+
(function (TierAccessStoredMode) {
|
|
557
|
+
TierAccessStoredMode["Enforce"] = "ENFORCE";
|
|
558
|
+
TierAccessStoredMode["Observe"] = "OBSERVE";
|
|
559
|
+
})(TierAccessStoredMode || (TierAccessStoredMode = {}));
|
|
533
560
|
/** Error codes returned by UDP game servers (and surfaced on `GenericErrorResponse.errorCode`) in response to a spatial/realtime message. NO_ERROR (0) indicates success; every other value indicates a failure. The numeric value is the byte sent on the wire; GraphQL exposes the name. Note: a failed message does not always produce an error — some auth failures are dropped silently (see the docs). */
|
|
534
561
|
export var UdpErrorCode;
|
|
535
562
|
(function (UdpErrorCode) {
|
|
@@ -452,6 +452,7 @@ export type AppQuery = {
|
|
|
452
452
|
status: Types.AppStatus;
|
|
453
453
|
metadata: string | null;
|
|
454
454
|
wildernessWritesOpen: boolean;
|
|
455
|
+
replayLoggingEnabled: boolean;
|
|
455
456
|
splitMode: boolean;
|
|
456
457
|
deploymentTarget: string;
|
|
457
458
|
reservedUdpBytesPerSec: string;
|
|
@@ -487,6 +488,7 @@ export type AppBySlugQuery = {
|
|
|
487
488
|
status: Types.AppStatus;
|
|
488
489
|
metadata: string | null;
|
|
489
490
|
wildernessWritesOpen: boolean;
|
|
491
|
+
replayLoggingEnabled: boolean;
|
|
490
492
|
splitMode: boolean;
|
|
491
493
|
gameApiUrl: string | null;
|
|
492
494
|
createdAt: string;
|
|
@@ -523,6 +525,7 @@ export type AppsForOrgQuery = {
|
|
|
523
525
|
status: Types.AppStatus;
|
|
524
526
|
metadata: string | null;
|
|
525
527
|
wildernessWritesOpen: boolean;
|
|
528
|
+
replayLoggingEnabled: boolean;
|
|
526
529
|
splitMode: boolean;
|
|
527
530
|
gameApiUrl: string | null;
|
|
528
531
|
createdAt: string;
|
|
@@ -623,6 +626,7 @@ export type CreateAppMutation = {
|
|
|
623
626
|
status: Types.AppStatus;
|
|
624
627
|
metadata: string | null;
|
|
625
628
|
wildernessWritesOpen: boolean;
|
|
629
|
+
replayLoggingEnabled: boolean;
|
|
626
630
|
createdAt: string;
|
|
627
631
|
};
|
|
628
632
|
};
|
|
@@ -711,6 +715,7 @@ export type MyAppsQuery = {
|
|
|
711
715
|
status: Types.AppStatus;
|
|
712
716
|
metadata: string | null;
|
|
713
717
|
wildernessWritesOpen: boolean;
|
|
718
|
+
replayLoggingEnabled: boolean;
|
|
714
719
|
splitMode: boolean;
|
|
715
720
|
gameApiUrl: string | null;
|
|
716
721
|
createdAt: string;
|
|
@@ -754,6 +759,7 @@ export type UpdateAppMutation = {
|
|
|
754
759
|
status: Types.AppStatus;
|
|
755
760
|
metadata: string | null;
|
|
756
761
|
wildernessWritesOpen: boolean;
|
|
762
|
+
replayLoggingEnabled: boolean;
|
|
757
763
|
updatedAt: string;
|
|
758
764
|
};
|
|
759
765
|
};
|
|
@@ -3031,6 +3037,77 @@ export type SetHostedGameEnabledMutation = {
|
|
|
3031
3037
|
updatedAt: string;
|
|
3032
3038
|
};
|
|
3033
3039
|
};
|
|
3040
|
+
export type InputLogMessagesQueryVariables = Exact<{
|
|
3041
|
+
appId: string;
|
|
3042
|
+
gameTokenId: string;
|
|
3043
|
+
first?: number | null | undefined;
|
|
3044
|
+
after?: string | null | undefined;
|
|
3045
|
+
filter?: Types.InputLogMessageFilter | null | undefined;
|
|
3046
|
+
}>;
|
|
3047
|
+
export type InputLogMessagesQuery = {
|
|
3048
|
+
inputLogMessages: {
|
|
3049
|
+
totalCount: number | null;
|
|
3050
|
+
edges: Array<{
|
|
3051
|
+
cursor: string;
|
|
3052
|
+
node: {
|
|
3053
|
+
receivedAt: string;
|
|
3054
|
+
receivedAtMicros: string;
|
|
3055
|
+
userId: string;
|
|
3056
|
+
gameTokenId: string;
|
|
3057
|
+
messageType: number;
|
|
3058
|
+
seq: number;
|
|
3059
|
+
fromBundle: boolean;
|
|
3060
|
+
signed: boolean;
|
|
3061
|
+
sizeBytes: number;
|
|
3062
|
+
body: string;
|
|
3063
|
+
chunkX: string | null;
|
|
3064
|
+
chunkY: string | null;
|
|
3065
|
+
chunkZ: string | null;
|
|
3066
|
+
actorUuid: string | null;
|
|
3067
|
+
channelId: string | null;
|
|
3068
|
+
};
|
|
3069
|
+
}>;
|
|
3070
|
+
pageInfo: {
|
|
3071
|
+
hasNextPage: boolean;
|
|
3072
|
+
hasPreviousPage: boolean;
|
|
3073
|
+
startCursor: string | null;
|
|
3074
|
+
endCursor: string | null;
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
export type InputLogSessionsQueryVariables = Exact<{
|
|
3079
|
+
appId: string;
|
|
3080
|
+
first?: number | null | undefined;
|
|
3081
|
+
after?: string | null | undefined;
|
|
3082
|
+
filter?: Types.InputLogSessionFilter | null | undefined;
|
|
3083
|
+
}>;
|
|
3084
|
+
export type InputLogSessionsQuery = {
|
|
3085
|
+
inputLogSessions: {
|
|
3086
|
+
totalCount: number | null;
|
|
3087
|
+
edges: Array<{
|
|
3088
|
+
cursor: string;
|
|
3089
|
+
node: {
|
|
3090
|
+
appId: string;
|
|
3091
|
+
gameTokenId: string;
|
|
3092
|
+
userId: string;
|
|
3093
|
+
datacenter: string | null;
|
|
3094
|
+
startedAt: string;
|
|
3095
|
+
lastSeenAt: string;
|
|
3096
|
+
endedAt: string | null;
|
|
3097
|
+
endReason: string | null;
|
|
3098
|
+
messageCount: string;
|
|
3099
|
+
byteCount: string;
|
|
3100
|
+
messageTypes: Array<number>;
|
|
3101
|
+
};
|
|
3102
|
+
}>;
|
|
3103
|
+
pageInfo: {
|
|
3104
|
+
hasNextPage: boolean;
|
|
3105
|
+
hasPreviousPage: boolean;
|
|
3106
|
+
startCursor: string | null;
|
|
3107
|
+
endCursor: string | null;
|
|
3108
|
+
};
|
|
3109
|
+
};
|
|
3110
|
+
};
|
|
3034
3111
|
export type PlayerCodeListingFieldsFragment = {
|
|
3035
3112
|
listingId: string;
|
|
3036
3113
|
appId: string;
|
|
@@ -4648,6 +4725,12 @@ export type SendClientEventMutationVariables = Exact<{
|
|
|
4648
4725
|
export type SendClientEventMutation = {
|
|
4649
4726
|
sendClientEvent: boolean;
|
|
4650
4727
|
};
|
|
4728
|
+
export type SendRangedChannelMessageMutationVariables = Exact<{
|
|
4729
|
+
input: Types.RangedChannelMessageInput;
|
|
4730
|
+
}>;
|
|
4731
|
+
export type SendRangedChannelMessageMutation = {
|
|
4732
|
+
sendRangedChannelMessage: boolean;
|
|
4733
|
+
};
|
|
4651
4734
|
export type SendSingleActorMessageMutationVariables = Exact<{
|
|
4652
4735
|
input: Types.SingleActorMessageInput;
|
|
4653
4736
|
}>;
|
|
@@ -5322,6 +5405,8 @@ export declare const BeginGamePublishDocument: DocumentNode<BeginGamePublishMuta
|
|
|
5322
5405
|
export declare const CompleteGamePublishDocument: DocumentNode<CompleteGamePublishMutation, CompleteGamePublishMutationVariables>;
|
|
5323
5406
|
export declare const AbandonGamePublishDocument: DocumentNode<AbandonGamePublishMutation, AbandonGamePublishMutationVariables>;
|
|
5324
5407
|
export declare const SetHostedGameEnabledDocument: DocumentNode<SetHostedGameEnabledMutation, SetHostedGameEnabledMutationVariables>;
|
|
5408
|
+
export declare const InputLogMessagesDocument: DocumentNode<InputLogMessagesQuery, InputLogMessagesQueryVariables>;
|
|
5409
|
+
export declare const InputLogSessionsDocument: DocumentNode<InputLogSessionsQuery, InputLogSessionsQueryVariables>;
|
|
5325
5410
|
export declare const MarketplaceGridClaimPolicyDocument: DocumentNode<MarketplaceGridClaimPolicyQuery, MarketplaceGridClaimPolicyQueryVariables>;
|
|
5326
5411
|
export declare const MarketplaceGridClaimRequestsDocument: DocumentNode<MarketplaceGridClaimRequestsQuery, MarketplaceGridClaimRequestsQueryVariables>;
|
|
5327
5412
|
export declare const MarketplaceClaimGridOwnershipDocument: DocumentNode<MarketplaceClaimGridOwnershipMutation, MarketplaceClaimGridOwnershipMutationVariables>;
|
|
@@ -5425,6 +5510,7 @@ export declare const SendActorUpdateDocument: DocumentNode<SendActorUpdateMutati
|
|
|
5425
5510
|
export declare const SendAudioPacketDocument: DocumentNode<SendAudioPacketMutation, SendAudioPacketMutationVariables>;
|
|
5426
5511
|
export declare const SendChannelMessageDocument: DocumentNode<SendChannelMessageMutation, SendChannelMessageMutationVariables>;
|
|
5427
5512
|
export declare const SendClientEventDocument: DocumentNode<SendClientEventMutation, SendClientEventMutationVariables>;
|
|
5513
|
+
export declare const SendRangedChannelMessageDocument: DocumentNode<SendRangedChannelMessageMutation, SendRangedChannelMessageMutationVariables>;
|
|
5428
5514
|
export declare const SendSingleActorMessageDocument: DocumentNode<SendSingleActorMessageMutation, SendSingleActorMessageMutationVariables>;
|
|
5429
5515
|
export declare const SendTextPacketDocument: DocumentNode<SendTextPacketMutation, SendTextPacketMutationVariables>;
|
|
5430
5516
|
export declare const SendVideoPacketDocument: DocumentNode<SendVideoPacketMutation, SendVideoPacketMutationVariables>;
|