Open History to see the last commit
1export type ExpoRuntimeCommand =
2 | {
3 id: string
4 type: `db:exec`
5 databaseId: string
6 databaseName: string
7 sql: string
8 }
9 | {
10 id: string
11 type: `db:getAll`
12 databaseId: string
13 databaseName: string
14 sql: string
15 params?: ReadonlyArray<unknown> | Record<string, unknown>
16 }
17 | {
18 id: string
19 type: `db:run`
20 databaseId: string
21 databaseName: string
22 sql: string
23 params?: ReadonlyArray<unknown> | Record<string, unknown>
24 }
25 | {
26 id: string
27 type: `db:close`
28 databaseId: string
29 databaseName: string
30 }
31 | {
32 id: string
33 type: `tx:start`
34 databaseId: string
35 databaseName: string
36 transactionId: string
37 }
38 | {
39 id: string
40 type: `tx:exec`
41 transactionId: string
42 sql: string
43 }
44 | {
45 id: string
46 type: `tx:getAll`
47 transactionId: string
48 sql: string
49 params?: ReadonlyArray<unknown> | Record<string, unknown>
50 }
51 | {
52 id: string
53 type: `tx:run`
54 transactionId: string
55 sql: string
56 params?: ReadonlyArray<unknown> | Record<string, unknown>
57 }
58 | {
59 id: string
60 type: `tx:commit`
61 transactionId: string
62 }
63 | {
64 id: string
65 type: `tx:rollback`
66 transactionId: string
67 }
68 | {
69 id: string
70 type: `app:runPersistenceSmokeTest`
71 databaseName: string
72 }
73
74export type ExpoRuntimeCommandResult =
75 | {
76 commandId: string
77 ok: true
78 result?: unknown
79 }
80 | {
81 commandId: string
82 ok: false
83 error: string
84 }
85
86export type ExpoRuntimeRegistration = {
87 sessionId: string
88 platform: string
89}
90
91export type ExpoRuntimeSmokeTestResult = {
92 insertedTitle: string
93 reloadedCount: number
94}