@crowdedkingdoms/crowdy-dsh 0.3.1-test.1 → 0.3.2-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.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "package": "@crowdedkingdoms/crowdy-dsh",
3
- "version": "0.3.1",
4
- "builtAt": "2026-09-13T21:06:31.527Z",
3
+ "version": "0.3.2",
4
+ "builtAt": "2026-09-15T04:50:47.776Z",
5
5
  "source": {
6
6
  "repository": "CrowdedKingdoms/crowdy-dsh",
7
- "commit": "9dbbdc7c9045024c906fae09e65ba4a1708b863d",
7
+ "commit": "0613346ef88968d4341c96e28d41da84549a88e1",
8
8
  "dirty": false
9
9
  },
10
10
  "upstream": {
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "crowdyjs": {
17
17
  "name": "@crowdedkingdoms/crowdyjs",
18
- "version": "17.1.0-test.1",
18
+ "version": "17.4.0-dev.1",
19
19
  "source": "node_modules"
20
20
  },
21
21
  "files": {
@@ -112,7 +112,7 @@
112
112
  "manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
113
113
  "preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
114
114
  "preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
115
- "preview/vfs-image.tar.gz": "sha256:c193c93c3c198e33159217a83f1a5f10dc479eef8e4ed3a44a7170eef34cd098",
115
+ "preview/vfs-image.tar.gz": "sha256:5d4ffca5be0e1cdc1d54bba686baac1ab2c9edf4298c79bbdd0d7b8b6f49ff0c",
116
116
  "preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
117
117
  }
118
118
  }
@@ -5236,6 +5236,20 @@ var GridTenure;
5236
5236
  GridTenure2["Owned"] = "OWNED";
5237
5237
  GridTenure2["Rented"] = "RENTED";
5238
5238
  })(GridTenure || (GridTenure = {}));
5239
+ var HostedGamePublishState;
5240
+ (function(HostedGamePublishState2) {
5241
+ HostedGamePublishState2["Abandoned"] = "ABANDONED";
5242
+ HostedGamePublishState2["Failed"] = "FAILED";
5243
+ HostedGamePublishState2["Live"] = "LIVE";
5244
+ HostedGamePublishState2["Staging"] = "STAGING";
5245
+ HostedGamePublishState2["Superseded"] = "SUPERSEDED";
5246
+ })(HostedGamePublishState || (HostedGamePublishState = {}));
5247
+ var HostedGameStatus;
5248
+ (function(HostedGameStatus2) {
5249
+ HostedGameStatus2["Disabled"] = "DISABLED";
5250
+ HostedGameStatus2["Live"] = "LIVE";
5251
+ HostedGameStatus2["TakenDown"] = "TAKEN_DOWN";
5252
+ })(HostedGameStatus || (HostedGameStatus = {}));
5239
5253
  var MeteredComputeEngine;
5240
5254
  (function(MeteredComputeEngine2) {
5241
5255
  MeteredComputeEngine2["Expression"] = "EXPRESSION";
@@ -5539,9 +5553,13 @@ var GameModelCancelTimerDocument = { "kind": "Document", "definitions": [{ "kind
5539
5553
  var GameModelTimersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelTimers" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelTimers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmTimerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmTimerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmTimer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "timerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "selfContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paramsJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fireAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dedupeKey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cascadeDepth" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "armedBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5540
5554
  var GameModelActivePlayerCountDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelActivePlayerCount" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelActivePlayerCount" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "activePlayerCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }] } }] } }] };
5541
5555
  var GameModelActivePlayerCountChangedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "GameModelActivePlayerCountChanged" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelActivePlayerCountChanged" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "previousCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "delta" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "observedAt" } }] } }] } }] };
5542
- var GameModelCreateSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelCreateSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelCreateSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5543
- var GameModelJoinSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelJoinSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JoinSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelJoinSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }] } }] } }] };
5544
- var GameModelSetSessionTurnDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetSessionTurn" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetSessionTurnInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetSessionTurn" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5556
+ var GameModelCreateSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelCreateSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelCreateSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5557
+ var GameModelJoinSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelJoinSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JoinSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelJoinSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionParticipantFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionParticipantFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionParticipant" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "incarnation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorUuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "joinedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftReason" } }] } }] };
5558
+ var GameModelLeaveSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelLeaveSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "LeaveSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelLeaveSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionParticipantFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionParticipantFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionParticipant" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "incarnation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorUuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "joinedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftReason" } }] } }] };
5559
+ var GameModelSetSessionTurnDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetSessionTurn" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetSessionTurnInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetSessionTurn" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5560
+ var GameModelSetSessionAdmissionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetSessionAdmission" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetSessionAdmissionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetSessionAdmission" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5561
+ var GameModelTransferSessionHostDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelTransferSessionHost" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "TransferSessionHostInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelTransferSessionHost" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5562
+ var GameModelEndSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelEndSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "EndSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelEndSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5545
5563
  var GameModelCreateContainerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelCreateContainer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateContainerInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelCreateContainer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5546
5564
  var GameModelDeleteContainerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeleteContainer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeleteContainer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "containerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } } }] }] } }] };
5547
5565
  var GameModelSetPropertyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetProperty" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetContainerPropertyInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetProperty" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
@@ -5553,8 +5571,12 @@ var GameModelContainersDocument = { "kind": "Document", "definitions": [{ "kind"
5553
5571
  var GameModelContainerChangedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "GameModelContainerChanged" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "typeName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelContainerChanged" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "typeName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "typeName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "source" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "changedKeys" } }, { "kind": "Field", "name": { "kind": "Name", "value": "occurredAt" } }] } }] } }] };
5554
5572
  var GameModelContainerStateDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelContainerState" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelContainerState" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "containerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "propertiesJson" } }] } }] } }] };
5555
5573
  var GameModelTraverseDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelTraverse" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "rootId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "relationshipType" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "depth" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelTraverse" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "rootId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "rootId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "relationshipType" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "relationshipType" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "depth" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "depth" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "rootId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "nodes" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edgeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "relationshipType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "weight" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5556
- var GameModelSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5557
- var GameModelSessionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSessions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
5574
+ var GameModelSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5575
+ var GameModelSessionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSessions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "admission" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "hostUserId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "status" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "status" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "admission" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "admission" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "hostUserId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "hostUserId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }] };
5576
+ var GameModelSessionSnapshotDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSessionSnapshot" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessionSnapshot" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "session" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "participants" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionParticipantFields" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionParticipantFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionParticipant" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "incarnation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorUuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "joinedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftReason" } }] } }] };
5577
+ var GameModelSessionEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSessionEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "afterRevision" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessionEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "afterRevision" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "afterRevision" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionEventFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionEventFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payloadJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5578
+ var GameModelSessionInspectDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelSessionInspect" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessionInspect" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "session" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "participants" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "presence" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presenceFrom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participant" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionParticipantFields" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "recentEvents" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionEventFields" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admission" } }, { "kind": "Field", "name": { "kind": "Name", "value": "maxParticipants" } }, { "kind": "Field", "name": { "kind": "Name", "value": "participantCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hostTerm" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "presence" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionParticipantFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionParticipant" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "incarnation" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorUuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "joinedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftReason" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionEventFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payloadJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5579
+ var GameModelSessionChangedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "GameModelSessionChanged" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "afterRevision" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSessionChanged" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "afterRevision" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "afterRevision" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionEventFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionEventFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSessionEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "revision" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payloadJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5558
5580
  var GameModelEventsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelEvents" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "selfContainerId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "functionName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "success" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelEvents" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "selfContainerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "selfContainerId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "functionName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "functionName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "success" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "success" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "offset" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "offset" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "selfContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paramsJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutationsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissionEffectsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "executedAt" } }] } }] } }] };
5559
5581
  var GameModelEventsConnectionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelEventsConnection" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "selfContainerId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "functionName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "success" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelEventsConnection" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "first" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "first" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "after" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "after" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "selfContainerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "selfContainerId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "functionName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "functionName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "success" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "success" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edges" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "cursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "node" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "selfContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paramsJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutationsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissionEffectsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "executedAt" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pageInfo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hasNextPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "hasPreviousPage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startCursor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "endCursor" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalCount" } }] } }] } }] };
5560
5582
  var GameModelFlowDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelFlow" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "flowId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelFlow" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "flowId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "flowId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "events" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "selfContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "callerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paramsJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutationsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissionEffectsAppliedJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "executedAt" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationRuns" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmAutomationRunFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "moduleRuns" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "ComputeRunFields" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ComputeRunFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "WasmModuleRun" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "moduleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "moduleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerSource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "entry" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationUs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fuelUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dbReads" } }, { "kind": "Field", "name": { "kind": "Name", "value": "dbWrites" } }, { "kind": "Field", "name": { "kind": "Name", "value": "egressMsgs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "egressBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circuitAction" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmAutomationRunFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmAutomationRun" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "runId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "flowId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerSource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "triggerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "parentRunId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cascadeDepth" } }, { "kind": "Field", "name": { "kind": "Name", "value": "startedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "finishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "durationUs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "targets" } }, { "kind": "Field", "name": { "kind": "Name", "value": "invocations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fnCalls" } }, { "kind": "Field", "name": { "kind": "Name", "value": "gasUsed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "circuitAction" } }, { "kind": "Field", "name": { "kind": "Name", "value": "computeUnits" } }] } }] };
@@ -5580,6 +5602,18 @@ var GameModelRevokeTierFeatureDocument = { "kind": "Document", "definitions": [{
5580
5602
  var GameHostDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameHost" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameHost" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "earliestActorJoinedAt" } }] } }] } }] };
5581
5603
  var AmIGameHostDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AmIGameHost" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amIGameHost" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }] }] } }] };
5582
5604
  var ActorHeartbeatDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ActorHeartbeat" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actorHeartbeat" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "earliestActorJoinedAt" } }] } }] } }] };
5605
+ var HostedGameDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "HostedGame" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostedGame" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5606
+ var HostedGamesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "HostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5607
+ var AllHostedGamesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AllHostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "allHostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5608
+ var MyHostedGamesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MyHostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myHostedGames" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5609
+ var HostedGamePublishesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "HostedGamePublishes" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostedGamePublishes" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGamePublishFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGamePublishFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGamePublish" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "publishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fileCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "failureReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] };
5610
+ var ClaimGameHostingDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ClaimGameHosting" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClaimGameHostingInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "claimGameHosting" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5611
+ var BeginGamePublishDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "BeginGamePublish" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BeginGamePublishInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "beginGamePublish" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "publishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uploads" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "path" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "method" } }, { "kind": "Field", "name": { "kind": "Name", "value": "headers" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "value" } }] } }] } }] } }] } }] };
5612
+ var CompleteGamePublishDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CompleteGamePublish" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "publishId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "completeGamePublish" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "publishId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "publishId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "invalidationId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "game" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "publish" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGamePublishFields" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGamePublishFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGamePublish" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "publishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fileCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "failureReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] };
5613
+ var AbandonGamePublishDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "AbandonGamePublish" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "publishId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "abandonGamePublish" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "publishId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "publishId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGamePublishFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGamePublishFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGamePublish" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "publishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fileCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "failureReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "completedAt" } }] } }] };
5614
+ var SetHostedGameEnabledDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetHostedGameEnabled" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetHostedGameEnabledInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setHostedGameEnabled" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5615
+ var SetHostedGameListingDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SetHostedGameListing" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetHostedGameListingInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "setHostedGameListing" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5616
+ var TakeDownHostedGameDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "TakeDownHostedGame" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "takenDown" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Boolean" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "takeDownHostedGame" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "slug" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "slug" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "takenDown" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "takenDown" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "HostedGameFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "HostedGameFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "HostedGame" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "slug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgSlug" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentOrigin" } }, { "kind": "Field", "name": { "kind": "Name", "value": "launchUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentPublishId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "updatedAt" } }] } }] };
5583
5617
  var MarketplaceListingsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceListings" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "playerCodeListings" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "PlayerCodeListingFields" } }, { "kind": "Field", "name": { "kind": "Name", "value": "admissionState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "latestVersionId" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PlayerCodeListingFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PlayerCodeListing" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "listingId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerKind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerRef" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mediaJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "licenseMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquisitionMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceCents" } }, { "kind": "Field", "name": { "kind": "Name", "value": "rentIntervalDays" } }, { "kind": "Field", "name": { "kind": "Name", "value": "windowDays" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unitBudget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5584
5618
  var MarketplaceListingVersionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceListingVersions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "listingId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "playerCodeListingVersions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "listingId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "listingId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "PlayerCodeListingVersionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PlayerCodeListingVersionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PlayerCodeListingVersion" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "versionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listingId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "versionNo" } }, { "kind": "Field", "name": { "kind": "Name", "value": "serverArtifactHashes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientArtifactHashes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "requirements" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "serverArtifactHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "clientArtifactHash" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilitySummaryJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "capabilityHash" } }, { "kind": "Field", "name": { "kind": "Name", "value": "openSource" } }, { "kind": "Field", "name": { "kind": "Name", "value": "licenseText" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] };
5585
5619
  var MarketplaceMyAcquisitionsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "MarketplaceMyAcquisitions" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "myPlayerCodeAcquisitions" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "PlayerCodeAcquisitionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PlayerCodeAcquisitionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "PlayerCodeAcquisition" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "acquisitionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "listingId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unitBudget" } }, { "kind": "Field", "name": { "kind": "Name", "value": "unitsConsumed" } }, { "kind": "Field", "name": { "kind": "Name", "value": "acquiredAt" } }] } }] };
@@ -10182,6 +10216,7 @@ var MatchesKit = class {
10182
10216
  this.channels = channels;
10183
10217
  this.udp = udp;
10184
10218
  this.engines = engines;
10219
+ this.incarnations = /* @__PURE__ */ new Map();
10185
10220
  this.names = matchesNames(options.typePrefix ?? "");
10186
10221
  this.engineModuleName = options.engineModuleName ?? "match-engine";
10187
10222
  this.actorUuid = options.actorUuid ?? generateCrowdyUuid();
@@ -10208,8 +10243,10 @@ var MatchesKit = class {
10208
10243
  async create(input) {
10209
10244
  const session = await this.gameModel.createSession({
10210
10245
  appId: this.appId,
10211
- name: input.displayName ?? `match-${input.mode ?? "default"}`
10246
+ name: input.displayName ?? `match-${input.mode ?? "default"}`,
10247
+ presence: "none"
10212
10248
  });
10249
+ this.incarnations.set(session.sessionId, 1);
10213
10250
  const channel = await this.requireChannels().create({
10214
10251
  appId: this.appId,
10215
10252
  name: `match-${session.sessionId}`,
@@ -10254,17 +10291,51 @@ var MatchesKit = class {
10254
10291
  });
10255
10292
  return this.toMatch(meta.containerId, meta.sessionId != null ? String(meta.sessionId) : "", meta.displayName);
10256
10293
  }
10257
- /** Join a match: session participation + the notification channel. */
10294
+ /**
10295
+ * Join a match: session participation + the notification channel. A rejoin
10296
+ * (you are already in) returns your row with `incarnation + 1`. The
10297
+ * incarnation is remembered on this kit instance for {@link leave}.
10298
+ */
10258
10299
  async join(match) {
10259
10300
  const participant = await this.gameModel.joinSession({
10260
10301
  appId: this.appId,
10261
10302
  sessionId: match.sessionId
10262
10303
  });
10304
+ this.incarnations.set(match.sessionId, participant.incarnation);
10263
10305
  if (match.channelId !== "0" && match.channelId !== "") {
10264
10306
  await this.requireChannels().join(match.channelId);
10265
10307
  }
10266
10308
  return participant;
10267
10309
  }
10310
+ /**
10311
+ * Leave a match: session departure + the notification channel. The server
10312
+ * requires the incarnation {@link join} returned to *this* client, so a
10313
+ * superseded client can never remove the one that took over; pass it, or
10314
+ * let the kit use the one it remembered from `create` / `join` on this
10315
+ * instance. A kit session is `presence: 'none'`, so this and {@link finish}
10316
+ * are the roster's only exits.
10317
+ *
10318
+ * @throws {Error} when no incarnation is known for the match on this
10319
+ * instance and none was passed.
10320
+ * @throws {CrowdyGraphQLError} `SESSION_INCARNATION_STALE` (a newer client
10321
+ * of yours rejoined), `SESSION_NOT_PARTICIPANT`, `NOT_FOUND`.
10322
+ */
10323
+ async leave(match, incarnation) {
10324
+ const known = incarnation ?? this.incarnations.get(match.sessionId);
10325
+ if (known === void 0) {
10326
+ throw new Error("kit.matches.leave needs the incarnation join() returned \u2014 pass it, or join through this kit instance");
10327
+ }
10328
+ const participant = await this.gameModel.leaveSession({
10329
+ appId: this.appId,
10330
+ sessionId: match.sessionId,
10331
+ incarnation: known
10332
+ });
10333
+ this.incarnations.delete(match.sessionId);
10334
+ if (match.channelId !== "0" && match.channelId !== "") {
10335
+ await this.requireChannels().leave(match.channelId);
10336
+ }
10337
+ return participant;
10338
+ }
10268
10339
  /** Start the match (creator or host). Pings the match channel post-commit. */
10269
10340
  async start(match) {
10270
10341
  return kitInvoke(this.gameModel, {
@@ -10395,6 +10466,18 @@ var MatchesKit = class {
10395
10466
  * Finish the match and record the winner (creator or host). Also drops the
10396
10467
  * pending turn deadline on a `turnTimer` match — `end_match` already
10397
10468
  * strands it, so this just saves the pointless fire and channel ping.
10469
+ *
10470
+ * When `end_match` succeeds the backing session is ended too
10471
+ * (`gameModelEndSession`, reason `completed`): every participant is marked
10472
+ * left, admission closes, and the session's events become eligible for
10473
+ * retention. The game-authoritative step runs first, so the match is
10474
+ * decided whatever happens next; `sessionEnd` on the result says what
10475
+ * happened to the session ({@link KitMatchSessionEnd}): `'ended'`, or
10476
+ * `'already_ended'` for a replayed finish, or `'forbidden'` when the caller
10477
+ * passed `end_match` (creator or the app's elected host) but is not admitted
10478
+ * to the session end (session host or app admin only) -- the match is
10479
+ * finished, the session is not, and nothing is thrown. Any other refusal of
10480
+ * the session end propagates.
10398
10481
  */
10399
10482
  async finish(match, winnerUserId) {
10400
10483
  const result = await kitInvoke(this.gameModel, {
@@ -10407,6 +10490,26 @@ var MatchesKit = class {
10407
10490
  if (result.success && match.turnSeq !== void 0) {
10408
10491
  await this.cancelTurnDeadline(match);
10409
10492
  }
10493
+ if (result.success) {
10494
+ try {
10495
+ await this.gameModel.endSession({
10496
+ appId: this.appId,
10497
+ sessionId: match.sessionId,
10498
+ reason: "completed"
10499
+ });
10500
+ result.sessionEnd = "ended";
10501
+ } catch (error) {
10502
+ if (error instanceof CrowdyGraphQLError && error.code === "SESSION_ENDED") {
10503
+ result.sessionEnd = "already_ended";
10504
+ } else if (error instanceof CrowdyGraphQLError && error.code === "FORBIDDEN") {
10505
+ result.sessionEnd = "forbidden";
10506
+ } else {
10507
+ throw error;
10508
+ }
10509
+ }
10510
+ if (result.sessionEnd !== "forbidden")
10511
+ this.incarnations.delete(match.sessionId);
10512
+ }
10410
10513
  return result;
10411
10514
  }
10412
10515
  /**
@@ -12891,6 +12994,203 @@ var AppsAPI = class {
12891
12994
  }
12892
12995
  };
12893
12996
 
12997
+ var EMBEDDED_HOST_PROTOCOL_VERSION = 1;
12998
+ var DEFAULT_HELLO_TIMEOUT_MS = 1500;
12999
+ function isHostHello(data) {
13000
+ if (typeof data !== "object" || data === null)
13001
+ return false;
13002
+ const d = data;
13003
+ return d.type === "crowdyjs:host-hello" && typeof d.returnUrl === "string" && typeof d.authorizeOrigin === "string" && typeof d.slug === "string";
13004
+ }
13005
+ var EmbeddedHost = class {
13006
+ constructor(win = defaultWindow(), options = {}) {
13007
+ this.win = win;
13008
+ this.info = null;
13009
+ this.pending = null;
13010
+ this.onHello = null;
13011
+ this.helloTimeoutMs = options.helloTimeoutMs ?? DEFAULT_HELLO_TIMEOUT_MS;
13012
+ this.listener = (event) => this.onMessage(event);
13013
+ if (this.isFramed()) {
13014
+ this.win.addEventListener("message", this.listener);
13015
+ }
13016
+ }
13017
+ /** True when this page is inside another (any) frame. Not the same as "framed by a shell". */
13018
+ isFramed() {
13019
+ const w = this.win;
13020
+ if (!w)
13021
+ return false;
13022
+ try {
13023
+ return w.parent !== null && w.parent !== void 0 && w.parent !== w;
13024
+ } catch {
13025
+ return false;
13026
+ }
13027
+ }
13028
+ /** The shell's facts, once a hello has arrived; null before that or when not framed. */
13029
+ current() {
13030
+ return this.info;
13031
+ }
13032
+ /**
13033
+ * Ask the parent to identify itself and wait (bounded) for a hello. Resolves null
13034
+ * when this page is not framed, or the parent never answers -- which is how a game
13035
+ * that is simply embedded in somebody's blog behaves like a top-level page.
13036
+ */
13037
+ hello(timeoutMs = this.helloTimeoutMs) {
13038
+ if (!this.isFramed())
13039
+ return Promise.resolve(null);
13040
+ if (this.info)
13041
+ return Promise.resolve(this.info);
13042
+ if (this.pending)
13043
+ return this.pending;
13044
+ this.pending = new Promise((resolve) => {
13045
+ const timer = setTimeout(() => {
13046
+ this.pending = null;
13047
+ resolve(this.info);
13048
+ }, timeoutMs);
13049
+ const check = () => {
13050
+ if (this.info) {
13051
+ clearTimeout(timer);
13052
+ this.pending = null;
13053
+ resolve(this.info);
13054
+ }
13055
+ };
13056
+ this.onHello = check;
13057
+ const request = {
13058
+ type: "crowdyjs:host-hello-request",
13059
+ version: EMBEDDED_HOST_PROTOCOL_VERSION
13060
+ };
13061
+ this.win.parent.postMessage(request, "*");
13062
+ });
13063
+ return this.pending;
13064
+ }
13065
+ /**
13066
+ * Ask the shell to take the tab to `url`. The shell honours only its tier's Studio
13067
+ * `/authorize` with a redirect_uri of its own page; anything else is dropped there.
13068
+ */
13069
+ navigate(url) {
13070
+ if (!this.info)
13071
+ throw new Error("embedded host: no shell has said hello; call hello() first");
13072
+ const message = {
13073
+ type: "crowdyjs:navigate",
13074
+ version: EMBEDDED_HOST_PROTOCOL_VERSION,
13075
+ url
13076
+ };
13077
+ this.win.parent.postMessage(message, this.info.hostOrigin);
13078
+ }
13079
+ close() {
13080
+ this.win?.removeEventListener("message", this.listener);
13081
+ }
13082
+ onMessage(event) {
13083
+ if (!this.win || event.source !== this.win.parent)
13084
+ return;
13085
+ if (!isHostHello(event.data))
13086
+ return;
13087
+ if (!this.acceptableReturnUrl(event.data.returnUrl, event.origin))
13088
+ return;
13089
+ let authorizeOrigin;
13090
+ try {
13091
+ authorizeOrigin = new URL(event.data.authorizeOrigin).origin;
13092
+ } catch {
13093
+ return;
13094
+ }
13095
+ this.info = {
13096
+ hostOrigin: event.origin,
13097
+ returnUrl: event.data.returnUrl,
13098
+ authorizeOrigin,
13099
+ slug: event.data.slug
13100
+ };
13101
+ this.onHello?.();
13102
+ }
13103
+ /**
13104
+ * The return URL must be a page ON THE SHELL'S OWN ORIGIN: the shell is the page
13105
+ * that will receive the code, so a hello naming anywhere else is malformed (or
13106
+ * hostile) and is ignored rather than acted on.
13107
+ */
13108
+ acceptableReturnUrl(returnUrl, hostOrigin) {
13109
+ try {
13110
+ const u = new URL(returnUrl);
13111
+ return u.origin === hostOrigin && (u.protocol === "https:" || u.hostname === "localhost" || u.hostname === "127.0.0.1");
13112
+ } catch {
13113
+ return false;
13114
+ }
13115
+ }
13116
+ };
13117
+ function defaultWindow() {
13118
+ const g2 = globalThis;
13119
+ return g2.window ?? null;
13120
+ }
13121
+
13122
+ var HostingAPI = class {
13123
+ constructor(api) {
13124
+ this.api = api;
13125
+ }
13126
+ /** Public: a hosted game by slug, or null. The shell's question. */
13127
+ async game(slug) {
13128
+ const data = await this.api.request(HostedGameDocument, { slug });
13129
+ return data.hostedGame;
13130
+ }
13131
+ /** Public: the LIVE, LISTED hosted games -- the lobby's list. */
13132
+ async listed() {
13133
+ const data = await this.api.request(HostedGamesDocument, {});
13134
+ return data.hostedGames;
13135
+ }
13136
+ /** Operator: every hosted game on the tier. */
13137
+ async all() {
13138
+ const data = await this.api.request(AllHostedGamesDocument, {});
13139
+ return data.allHostedGames;
13140
+ }
13141
+ /** The hosted games the caller can manage. Session token. */
13142
+ async mine() {
13143
+ const data = await this.api.request(MyHostedGamesDocument, {});
13144
+ return data.myHostedGames;
13145
+ }
13146
+ /** Publish history for a game, newest first. Session token + manage_apps. */
13147
+ async publishes(slug, limit) {
13148
+ const data = await this.api.request(HostedGamePublishesDocument, { slug, limit: limit ?? null });
13149
+ return data.hostedGamePublishes;
13150
+ }
13151
+ /**
13152
+ * Claim (or re-assert) the hosting slug for an app. Idempotent; a different slug
13153
+ * MOVES the game. Registers the shell page and the game origin as redirect URIs
13154
+ * and sets `launch_url`. Refuses reserved, taken or malformed slugs
13155
+ * (`HOSTED_SLUG_UNAVAILABLE`) and a tier without hosting (`CONTENT_HOSTING_DISABLED`).
13156
+ */
13157
+ async claim(params) {
13158
+ const data = await this.api.request(ClaimGameHostingDocument, {
13159
+ input: { appId: params.appId, slug: params.slug ?? null }
13160
+ });
13161
+ return data.claimGameHosting;
13162
+ }
13163
+ /** Declare a publish; returns one presigned PUT per file. */
13164
+ async beginPublish(params) {
13165
+ const data = await this.api.request(BeginGamePublishDocument, { input: params });
13166
+ return data.beginGamePublish;
13167
+ }
13168
+ /** Verify, promote, record LIVE, invalidate. */
13169
+ async completePublish(slug, publishId) {
13170
+ const data = await this.api.request(CompleteGamePublishDocument, { slug, publishId });
13171
+ return data.completeGamePublish;
13172
+ }
13173
+ async abandonPublish(slug, publishId) {
13174
+ const data = await this.api.request(AbandonGamePublishDocument, { slug, publishId });
13175
+ return data.abandonGamePublish;
13176
+ }
13177
+ /** Developer switch: off (DISABLED) or on (LIVE). */
13178
+ async setEnabled(slug, enabled) {
13179
+ const data = await this.api.request(SetHostedGameEnabledDocument, { input: { slug, enabled } });
13180
+ return data.setHostedGameEnabled;
13181
+ }
13182
+ /** Operator: list or unlist in the lobby and the management UI. */
13183
+ async setListing(slug, listed) {
13184
+ const data = await this.api.request(SetHostedGameListingDocument, { input: { slug, listed } });
13185
+ return data.setHostedGameListing;
13186
+ }
13187
+ /** Operator: take down (or restore with `false`). */
13188
+ async takeDown(slug, takenDown = true) {
13189
+ const data = await this.api.request(TakeDownHostedGameDocument, { slug, takenDown });
13190
+ return data.takeDownHostedGame;
13191
+ }
13192
+ };
13193
+
12894
13194
  var g = globalThis;
12895
13195
  function base64url(bytes) {
12896
13196
  let binary = "";
@@ -12975,10 +13275,15 @@ function defaultHostedSignInUrl(graphqlEndpoint2) {
12975
13275
  throw new Error(`Cannot derive the hosted sign-in page from ${graphqlEndpoint2}; pass authorizeUrl explicitly (the tier's Studio origin + /authorize).`);
12976
13276
  }
12977
13277
  var PortalAPI = class {
12978
- constructor(api, session, pkceStore = new BrowserSessionPkceStore()) {
13278
+ constructor(api, session, pkceStore = new BrowserSessionPkceStore(), embeddedHost = null) {
12979
13279
  this.api = api;
12980
13280
  this.session = session;
12981
13281
  this.pkceStore = pkceStore;
13282
+ this.embeddedHost = embeddedHost;
13283
+ }
13284
+ /** The shell framing this game, if one has said hello. Null when top-level or self-hosted. */
13285
+ embeddedHostInfo() {
13286
+ return this.embeddedHost?.current() ?? null;
12982
13287
  }
12983
13288
  /**
12984
13289
  * Native/direct mint: exchange the caller's identity session token for an
@@ -13075,15 +13380,23 @@ var PortalAPI = class {
13075
13380
  * navigated to (useful when `navigate: false`).
13076
13381
  */
13077
13382
  async signIn(params) {
13078
- const authorizeUrl = params.authorizeUrl ?? defaultHostedSignInUrl(this.api.getEndpoint());
13383
+ const host = params.embedded === false ? null : await this.embeddedHost?.hello() ?? null;
13384
+ const authorizeUrl = params.authorizeUrl ?? (host ? `${host.authorizeOrigin}/authorize` : defaultHostedSignInUrl(this.api.getEndpoint()));
13079
13385
  const url = await this.beginEntry({
13080
13386
  appId: params.appId,
13081
13387
  authorizeUrl,
13082
- redirectUri: params.redirectUri,
13388
+ // The shell's page is the registered return leg; the iframe's own URL is not.
13389
+ redirectUri: host ? host.returnUrl : params.redirectUri,
13083
13390
  state: params.state
13084
13391
  });
13392
+ if (params.navigate === false)
13393
+ return url;
13394
+ if (host) {
13395
+ this.embeddedHost.navigate(url);
13396
+ return url;
13397
+ }
13085
13398
  const loc = globalThis.location;
13086
- if (params.navigate !== false && typeof loc?.assign === "function") {
13399
+ if (typeof loc?.assign === "function") {
13087
13400
  loc.assign(url);
13088
13401
  }
13089
13402
  return url;
@@ -16606,6 +16919,54 @@ var GameModelAPI = class {
16606
16919
  void client.dispose();
16607
16920
  };
16608
16921
  }
16922
+ /**
16923
+ * **Subscriptions** — stream the revisions of one session as they commit
16924
+ * (`gameModelSessionChanged`): joins, rejoins, leaves, presence expiries,
16925
+ * host changes, admission changes, turn changes and the end. There is no
16926
+ * bootstrap event: pull {@link sessionSnapshot} first, or pass
16927
+ * `afterRevision` to replay retained events from there. Revisions are
16928
+ * strictly increasing; on a gap or after a reconnect, pull the snapshot
16929
+ * again. Cross-replica and best-effort over a bounded buffer; the events
16930
+ * table ({@link sessionEvents}) is the record. Requires a `wsUrl` in the
16931
+ * client config.
16932
+ *
16933
+ * @param variables - `{ appId, sessionId, afterRevision? }`.
16934
+ * @param handlers - `next` per revision; optional `error` / `complete` /
16935
+ * `webSocketImpl`.
16936
+ * @returns An unsubscribe function (closes this subscription's socket).
16937
+ * @throws {Error} Synchronously when the client config has no `wsUrl`.
16938
+ */
16939
+ sessionChanged(variables, handlers) {
16940
+ if (!this.ws?.wsUrl) {
16941
+ throw new Error("sessionChanged requires a wsUrl in the client config (graphql-transport-ws endpoint)");
16942
+ }
16943
+ const client = createClient({
16944
+ url: this.ws.wsUrl,
16945
+ lazy: false,
16946
+ retryAttempts: 8,
16947
+ ...handlers.webSocketImpl ? { webSocketImpl: handlers.webSocketImpl } : {},
16948
+ connectionParams: () => {
16949
+ const token = this.ws?.getToken();
16950
+ return token ? { Authorization: `Bearer ${token}` } : {};
16951
+ }
16952
+ });
16953
+ const dispose = client.subscribe({ query: print(GameModelSessionChangedDocument), variables }, {
16954
+ next: (msg) => {
16955
+ const data = msg.data;
16956
+ if (data?.gameModelSessionChanged) {
16957
+ handlers.next(data.gameModelSessionChanged);
16958
+ } else if (msg.errors) {
16959
+ handlers.error?.(msg.errors);
16960
+ }
16961
+ },
16962
+ error: (err) => handlers.error?.(err),
16963
+ complete: () => handlers.complete?.()
16964
+ });
16965
+ return () => {
16966
+ dispose();
16967
+ void client.dispose();
16968
+ };
16969
+ }
16609
16970
  // -- Runtime (player) -------------------------------------------------------
16610
16971
  /**
16611
16972
  * **Sessions** — create a runtime session: an isolated instance scope for
@@ -16613,12 +16974,21 @@ var GameModelAPI = class {
16613
16974
  * session-creation policy ({@link setPolicy}); the caller becomes the creator
16614
16975
  * and a participant.
16615
16976
  *
16977
+ * **Presence mode.** `presence: 'actor'` (the default) expires a joined
16978
+ * participant with no fresh Buddy actor in the app after the join grace
16979
+ * window. `presence: 'none'` never expires anybody: use it for turn-based
16980
+ * play that talks GraphQL and channel pings and never replicates an actor
16981
+ * (`kit.matches` does), where the roster's only exits are
16982
+ * {@link leaveSession}, {@link endSession} and the empty timeout once
16983
+ * everyone has left. The mode is fixed at creation.
16984
+ *
16616
16985
  * @param input - {@link CreateSessionInput}: `appId` (decimal string), an
16617
- * optional `name`, optional `metadataJson` (a JSON-object string), and
16986
+ * optional `name`, optional `metadataJson` (a JSON-object string),
16618
16987
  * optional `participantUserIds` (decimal-string ids of initial participants
16619
- * besides the creator).
16988
+ * besides the creator), optional `maxParticipants`, `admission`,
16989
+ * `emptyTimeoutSec`, `presence` and `idempotencyKey`.
16620
16990
  * @returns The created {@link GmSession} (`sessionId`, `status`, creator,
16621
- * current turn, metadata, …).
16991
+ * host, admission, `presence`, revision, …).
16622
16992
  * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING` if the token
16623
16993
  * is missing or not scoped to the app, `FORBIDDEN` if the session-creation
16624
16994
  * policy disallows the caller, or `BAD_USER_INPUT` for malformed input.
@@ -16628,15 +16998,28 @@ var GameModelAPI = class {
16628
16998
  return data.gameModelCreateSession;
16629
16999
  }
16630
17000
  /**
16631
- * **Sessions** — join an existing session as a participant, optionally with a
16632
- * role. Requires a valid token and access to the app.
17001
+ * **Sessions** — join a session, or **reconnect** to one you are already in.
17002
+ * A rejoin returns your row with `incarnation + 1` and supersedes any older
17003
+ * client of yours; keep the returned `incarnation`, {@link leaveSession}
17004
+ * needs it. Pass `actorUuid` (your own Buddy actor, 32 hex chars — the uuid
17005
+ * you replicate with) to bind this participant's presence to that actor;
17006
+ * without it any fresh actor of yours in the app keeps you present.
17007
+ * **Presence is your actor** (in a `presence: 'actor'` session, the default):
17008
+ * a participant with no fresh Buddy actor in the app after the join grace
17009
+ * window is expired by the server (`participant_expired`); a client that only
17010
+ * speaks GraphQL must rejoin to come back. In a `presence: 'none'` session
17011
+ * nobody is expired and `actorUuid` is recorded but not judged.
16633
17012
  *
16634
17013
  * @param input - {@link JoinSessionInput}: `appId` (decimal string),
16635
- * `sessionId`, and an optional participant `role`.
16636
- * @returns The {@link GmSessionParticipant} record (`sessionId`, `userId`,
16637
- * `role`).
16638
- * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`,
16639
- * `NOT_FOUND` if no such session, or `FORBIDDEN` if joining isn't permitted.
17014
+ * `sessionId`, optional `role`, optional `actorUuid`, optional
17015
+ * `idempotencyKey` (replaying returns the same incarnation).
17016
+ * @returns The {@link GmSessionParticipant} row (`state`, `incarnation`,
17017
+ * `actorUuid`, `joinedAt`, ...).
17018
+ * @throws {CrowdyGraphQLError} `SESSION_FULL` (every seat taken),
17019
+ * `SESSION_LOCKED` (admission locked and you never joined),
17020
+ * `SESSION_CLOSED`, `SESSION_ENDED`, `FORBIDDEN` (the `actorUuid` is not
17021
+ * yours or is already bound by another participant), `NOT_FOUND`,
17022
+ * `UNAUTHENTICATED` / `SCOPE_MISSING`.
16640
17023
  */
16641
17024
  async joinSession(input) {
16642
17025
  const data = await this.gql.request(GameModelJoinSessionDocument, { input });
@@ -16659,6 +17042,78 @@ var GameModelAPI = class {
16659
17042
  const data = await this.gql.request(GameModelSetSessionTurnDocument, { input });
16660
17043
  return data.gameModelSetSessionTurn;
16661
17044
  }
17045
+ /**
17046
+ * **Sessions** — leave a session you are joined to. `incarnation` is
17047
+ * **required**: it is the value {@link joinSession} returned to *this*
17048
+ * client (a creator starts at 1), so a superseded client can never remove
17049
+ * the one that took over. Leaving an already-left row is a no-op. If you
17050
+ * were host, the longest-joined present participant succeeds you
17051
+ * (`host_changed`).
17052
+ *
17053
+ * @param input - {@link LeaveSessionInput}: `appId`, `sessionId`,
17054
+ * `incarnation`, optional `idempotencyKey`.
17055
+ * @returns Your {@link GmSessionParticipant} row, now `state: 'left'` with
17056
+ * `leftReason: 'left'`.
17057
+ * @throws {CrowdyGraphQLError} `SESSION_INCARNATION_STALE` (a newer client
17058
+ * rejoined as you — stop acting from this one, or rejoin),
17059
+ * `SESSION_NOT_PARTICIPANT`, `NOT_FOUND`.
17060
+ */
17061
+ async leaveSession(input) {
17062
+ const data = await this.gql.request(GameModelLeaveSessionDocument, { input });
17063
+ return data.gameModelLeaveSession;
17064
+ }
17065
+ /**
17066
+ * **Sessions** — change who may still join: `'open'` (anyone the app
17067
+ * admits), `'locked'` (only participants who already joined may reconnect —
17068
+ * set it when the match starts), `'closed'` (nobody). Session host or app
17069
+ * admin (`manage_apps`). Emits `admission_changed`.
17070
+ *
17071
+ * @param input - {@link SetSessionAdmissionInput}: `appId`, `sessionId`,
17072
+ * `admission`, optional `expectedHostTerm` (the `hostTerm` you last read:
17073
+ * refused if the host changed since), optional `idempotencyKey`.
17074
+ * @returns The updated {@link GmSession}.
17075
+ * @throws {CrowdyGraphQLError} `FORBIDDEN` (not host / admin),
17076
+ * `SESSION_HOST_TERM_STALE`, `SESSION_ENDED`, `NOT_FOUND`.
17077
+ */
17078
+ async setSessionAdmission(input) {
17079
+ const data = await this.gql.request(GameModelSetSessionAdmissionDocument, { input });
17080
+ return data.gameModelSetSessionAdmission;
17081
+ }
17082
+ /**
17083
+ * **Sessions** — hand the host role to another *joined* participant.
17084
+ * Session host or app admin. Increments `hostTerm` and emits
17085
+ * `host_changed` (reason `transferred`).
17086
+ *
17087
+ * @param input - {@link TransferSessionHostInput}: `appId`, `sessionId`,
17088
+ * `toUserId` (decimal string), optional `expectedHostTerm`, optional
17089
+ * `idempotencyKey`.
17090
+ * @returns The updated {@link GmSession} (`hostUserId`, `hostTerm`).
17091
+ * @throws {CrowdyGraphQLError} `FORBIDDEN`, `SESSION_HOST_TERM_STALE`,
17092
+ * `SESSION_TARGET_NOT_PARTICIPANT` (the user named is not joined; refetch
17093
+ * the snapshot and pick a participant), `SESSION_ENDED`.
17094
+ */
17095
+ async transferSessionHost(input) {
17096
+ const data = await this.gql.request(GameModelTransferSessionHostDocument, { input });
17097
+ return data.gameModelTransferSessionHost;
17098
+ }
17099
+ /**
17100
+ * **Sessions** — end a session as `'completed'` (default) or `'abandoned'`.
17101
+ * Every joined participant is marked left (`session_ended`), admission
17102
+ * becomes `closed`, `endedAt` / `endReason` are set and an `ended` event
17103
+ * closes the revision log. Session host or app admin. (The server also ends a
17104
+ * session nobody has been joined to for longer than its `emptyTimeoutSec` as
17105
+ * `abandoned` / `empty_timeout`.)
17106
+ *
17107
+ * @param input - {@link EndSessionInput}: `appId`, `sessionId`, optional
17108
+ * `reason`, optional `expectedHostTerm`, optional `idempotencyKey`.
17109
+ * @returns The ended {@link GmSession}.
17110
+ * @throws {CrowdyGraphQLError} `FORBIDDEN`, `SESSION_HOST_TERM_STALE`,
17111
+ * `SESSION_ENDED` (already ended), `NOT_FOUND`.
17112
+ */
17113
+ async endSession(input) {
17114
+ const data = await this.gql.request(GameModelEndSessionDocument, { input });
17115
+ return data.gameModelEndSession;
17116
+ }
16662
17117
  /**
16663
17118
  * **Containers** — instantiate a container (a runtime entity of a given type),
16664
17119
  * optionally within a session, with an owner and initial property values.
@@ -16874,10 +17329,13 @@ var GameModelAPI = class {
16874
17329
  return data.gameModelSession;
16875
17330
  }
16876
17331
  /**
16877
- * **Sessions** — list sessions in an app, optionally filtered by status.
17332
+ * **Sessions** — list sessions in an app, newest first, optionally filtered
17333
+ * by `status` (`active | completed | abandoned`), `admission`
17334
+ * (`open | locked | closed` — `'open'` lists joinable lobbies) and/or
17335
+ * `hostUserId`.
16878
17336
  *
16879
- * @param variables - `{ appId, status? }`: `appId` (decimal string) and an
16880
- * optional `status` filter (e.g. `'active'`; omit for all statuses).
17337
+ * @param variables - `{ appId, status?, admission?, hostUserId?, limit? }`
17338
+ * (`limit` defaults to 200, max 1000).
16881
17339
  * @returns The matching {@link GmSession}s.
16882
17340
  * @throws {CrowdyGraphQLError} `UNAUTHENTICATED` / `SCOPE_MISSING`.
16883
17341
  */
@@ -16885,6 +17343,48 @@ var GameModelAPI = class {
16885
17343
  const data = await this.gql.request(GameModelSessionsDocument, variables);
16886
17344
  return data.gameModelSessions;
16887
17345
  }
17346
+ /**
17347
+ * **Sessions** — the authoritative state of one session at one revision: the
17348
+ * session row and every *joined* participant. Pull it when you subscribe
17349
+ * with {@link sessionChanged}, after a reconnect, or when the stream shows a
17350
+ * revision gap; then apply only events whose `revision` is above
17351
+ * `snapshot.revision`.
17352
+ *
17353
+ * @param variables - `{ appId, sessionId }`.
17354
+ * @returns `{ revision, session, participants }`.
17355
+ * @throws {CrowdyGraphQLError} `NOT_FOUND`, `UNAUTHENTICATED` / `SCOPE_MISSING`.
17356
+ */
17357
+ async sessionSnapshot(variables) {
17358
+ const data = await this.gql.request(GameModelSessionSnapshotDocument, variables);
17359
+ return data.gameModelSessionSnapshot;
17360
+ }
17361
+ /**
17362
+ * **Sessions** — the events of a session with a revision strictly greater
17363
+ * than `afterRevision`, oldest first: the gap-fill read behind
17364
+ * {@link sessionChanged}. Events of ended sessions are retained for a bounded
17365
+ * period, then purged.
17366
+ *
17367
+ * @param variables - `{ appId, sessionId, afterRevision, limit? }`;
17368
+ * `afterRevision` is a decimal string (`'0'` for everything retained).
17369
+ * @returns The matching {@link GmSessionEvent}s.
17370
+ */
17371
+ async sessionEvents(variables) {
17372
+ const data = await this.gql.request(GameModelSessionEventsDocument, variables);
17373
+ return data.gameModelSessionEvents;
17374
+ }
17375
+ /**
17376
+ * **Sessions (operators)** — the full roster including departed participants
17377
+ * (with `leftReason` and `incarnation`), each joined participant's live
17378
+ * presence verdict (`fresh | grace | stale | legacy | left`), and the most
17379
+ * recent events. Requires app-admin (`manage_apps`).
17380
+ *
17381
+ * @param variables - `{ appId, sessionId }`.
17382
+ * @throws {CrowdyGraphQLError} `FORBIDDEN` without `manage_apps`.
17383
+ */
17384
+ async sessionInspect(variables) {
17385
+ const data = await this.gql.request(GameModelSessionInspectDocument, variables);
17386
+ return data.gameModelSessionInspect;
17387
+ }
16888
17388
  /**
16889
17389
  * **Events** — query the function-invocation event log (audit trail) with
16890
17390
  * optional filters and pagination. Useful for debugging functions or showing
@@ -17927,7 +18427,7 @@ var PlayerComputeAPI = class {
17927
18427
  };
17928
18428
 
17929
18429
  var STATUS_FIELDS = `
17930
- configured connected accountLogin accountType owner repo branch githubSha installUrl
18430
+ configured connected accountLogin accountType owner repo branch githubSha repositorySelection installUrl
17931
18431
  `;
17932
18432
  var STATUS = `
17933
18433
  query CrowdyStudioGitHubStatus($appId: BigInt, $projectId: String) {
@@ -18940,7 +19440,9 @@ var CrowdyClient = class {
18940
19440
  this.auth = new AuthAPI(this.graphql, this.session);
18941
19441
  this.users = new UsersAPI(this.graphql);
18942
19442
  this.apps = new AppsAPI(this.graphql);
18943
- this.portal = new PortalAPI(this.graphql, this.session, config.pkceStore);
19443
+ this.embeddedHost = config.embeddedHost === false ? null : config.embeddedHost ?? (typeof globalThis.window !== "undefined" ? new EmbeddedHost() : null);
19444
+ this.portal = new PortalAPI(this.graphql, this.session, config.pkceStore, this.embeddedHost);
19445
+ this.hosting = new HostingAPI(this.graphql);
18944
19446
  this.discovery = new DiscoveryDomain(this.graphql);
18945
19447
  this.platform = new PlatformAPI(this.graphql);
18946
19448
  this.organizations = new OrganizationsAPI(this.graphql);
@@ -19096,6 +19598,7 @@ var CrowdyClient = class {
19096
19598
  close() {
19097
19599
  this.realtime.close();
19098
19600
  this.session.setToken(null);
19601
+ this.embeddedHost?.close();
19099
19602
  }
19100
19603
  /** The configured or discovered GraphQL endpoint URL. */
19101
19604
  get graphqlEndpoint() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@crowdedkingdoms/crowdyjs",
3
- "version": "17.1.0-test.1",
3
+ "version": "17.4.0-dev.1",
4
4
  "source": "node_modules"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdedkingdoms/crowdy-dsh",
3
- "version": "0.3.1-test.1",
3
+ "version": "0.3.2-dev.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -94,11 +94,11 @@
94
94
  "crowdyDsh": {
95
95
  "build": {
96
96
  "package": "@crowdedkingdoms/crowdy-dsh",
97
- "version": "0.3.1",
98
- "builtAt": "2026-09-13T21:06:31.527Z",
97
+ "version": "0.3.2",
98
+ "builtAt": "2026-09-15T04:50:47.776Z",
99
99
  "source": {
100
100
  "repository": "CrowdedKingdoms/crowdy-dsh",
101
- "commit": "9dbbdc7c9045024c906fae09e65ba4a1708b863d",
101
+ "commit": "0613346ef88968d4341c96e28d41da84549a88e1",
102
102
  "dirty": false
103
103
  },
104
104
  "upstream": {
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "crowdyjs": {
111
111
  "name": "@crowdedkingdoms/crowdyjs",
112
- "version": "17.1.0-test.1",
112
+ "version": "17.4.0-dev.1",
113
113
  "source": "node_modules"
114
114
  },
115
115
  "files": {
@@ -206,7 +206,7 @@
206
206
  "manifest.webmanifest": "sha256:9b54d57eea00f2fdd1affe6e7999a4209a515755f12ac1a3299da2d55e178d4c",
207
207
  "preview/bootstrap-CYECZNXt.js": "sha256:9f303a0485c0badfdd19fad0c357ef050c5b9a343744ab5bf0c70015e7d95092",
208
208
  "preview/crowdy-boot-Cklh1qNl.js": "sha256:b21e8eb126e1cd8a52159d2d577e610df6c8af36a436f9ed5028cfabd11a85ff",
209
- "preview/vfs-image.tar.gz": "sha256:c193c93c3c198e33159217a83f1a5f10dc479eef8e4ed3a44a7170eef34cd098",
209
+ "preview/vfs-image.tar.gz": "sha256:5d4ffca5be0e1cdc1d54bba686baac1ab2c9edf4298c79bbdd0d7b8b6f49ff0c",
210
210
  "preview/worker-C8-_ANaz.js": "sha256:81099e5732dfe0c32bacd5897316b7956c5a0a22da01b4a0c6e21d0a3b9d9aa1"
211
211
  }
212
212
  }