1query T3ExpoViewer {
2 meActor {
3 __typename
4 ... on UserActor {
5 username
6 }
7 ... on Robot {
8 firstName
9 }
10 accounts {
11 name
12 appsPaginated(first: 100) {
13 edges {
14 node {
15 id
16 fullName
17 }
18 }
19 }
20 }
21 }
22}
23
24query T3EasSimulatorAvailability($appId: String!, $filter: [String!]) {
25 app {
26 byId(appId: $appId) {
27 ownerAccount {
28 name
29 accountFeatureGates(filter: $filter)
30 }
31 }
32 }
33}
34
35mutation T3CreateEasSimulatorSession($input: CreateDeviceRunSessionInput!) {
36 deviceRunSession {
37 createDeviceRunSession(deviceRunSessionInput: $input) {
38 id
39 }
40 }
41}
42
43query T3EasSimulatorSession($id: ID!) {
44 deviceRunSessions {
45 byId(deviceRunSessionId: $id) {
46 id
47 status
48 remoteConfig {
49 ... on AgentDeviceRunSessionRemoteConfig {
50 agentDeviceRemoteSessionUrl
51 agentDeviceRemoteSessionToken
52 webPreviewToken
53 previewApiUrl
54 }
55 }
56 }
57 }
58}
59
60query T3ActiveEasSimulatorSessions($appId: String!, $filter: DeviceRunSessionFilterInput) {
61 app {
62 byId(appId: $appId) {
63 deviceRunSessionsPaginated(first: 50, filter: $filter) {
64 edges {
65 node {
66 id
67 status
68 name
69 }
70 }
71 }
72 }
73 }
74}
75
76mutation T3StopEasSimulatorSession($id: ID!) {
77 deviceRunSession {
78 ensureDeviceRunSessionStopped(deviceRunSessionId: $id) {
79 id
80 status
81 }
82 }
83}