@swipt/cli 0.1.0-nightly.97 → 0.1.0-nightly.99

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.
Files changed (247) hide show
  1. package/dist/availability.d.ts +3 -1
  2. package/dist/availability.js +173 -151
  3. package/dist/availability.js.map +1 -1
  4. package/dist/cli/cli.js +52 -66
  5. package/dist/cli/cli.js.map +1 -1
  6. package/dist/cli/command.d.ts +9 -0
  7. package/dist/cli/command.js.map +1 -1
  8. package/dist/cli/commands/data/clear.js +2 -2
  9. package/dist/cli/commands/data/clear.js.map +1 -1
  10. package/dist/cli/commands/data/data.js +2 -2
  11. package/dist/cli/commands/data/data.js.map +1 -1
  12. package/dist/cli/commands/data/list.js +3 -3
  13. package/dist/cli/commands/data/list.js.map +1 -1
  14. package/dist/cli/commands/data/operand.js.map +1 -1
  15. package/dist/cli/commands/data/read.js +4 -7
  16. package/dist/cli/commands/data/read.js.map +1 -1
  17. package/dist/cli/commands/data/remove.js +3 -3
  18. package/dist/cli/commands/data/remove.js.map +1 -1
  19. package/dist/cli/commands/data/write.js +2 -2
  20. package/dist/cli/commands/data/write.js.map +1 -1
  21. package/dist/cli/commands/device/add.js +2 -2
  22. package/dist/cli/commands/device/add.js.map +1 -1
  23. package/dist/cli/commands/device/device.js +2 -2
  24. package/dist/cli/commands/device/device.js.map +1 -1
  25. package/dist/cli/commands/device/list.js +2 -2
  26. package/dist/cli/commands/device/list.js.map +1 -1
  27. package/dist/cli/commands/device/logs.js +44 -46
  28. package/dist/cli/commands/device/logs.js.map +1 -1
  29. package/dist/cli/commands/device/remove.js +2 -2
  30. package/dist/cli/commands/device/remove.js.map +1 -1
  31. package/dist/cli/commands/device/stop.js +3 -3
  32. package/dist/cli/commands/device/stop.js.map +1 -1
  33. package/dist/cli/commands/driver/driver.js +6 -6
  34. package/dist/cli/commands/driver/driver.js.map +1 -1
  35. package/dist/cli/commands/flags.js +9 -9
  36. package/dist/cli/commands/flags.js.map +1 -1
  37. package/dist/cli/commands/index.js +2 -2
  38. package/dist/cli/commands/index.js.map +1 -1
  39. package/dist/cli/commands/project/build.js +2 -2
  40. package/dist/cli/commands/project/build.js.map +1 -1
  41. package/dist/cli/commands/project/create.js +3 -3
  42. package/dist/cli/commands/project/create.js.map +1 -1
  43. package/dist/cli/commands/project/deploy.js +2 -2
  44. package/dist/cli/commands/project/deploy.js.map +1 -1
  45. package/dist/cli/commands/project/develop.js +19 -19
  46. package/dist/cli/commands/project/develop.js.map +1 -1
  47. package/dist/cli/commands/project/project.js +2 -2
  48. package/dist/cli/commands/project/project.js.map +1 -1
  49. package/dist/cli/commands/project/source.js +62 -37
  50. package/dist/cli/commands/project/source.js.map +1 -1
  51. package/dist/cli/commands/repl/api.js +2 -2
  52. package/dist/cli/commands/repl/api.js.map +1 -1
  53. package/dist/cli/commands/repl/repl.js +4 -4
  54. package/dist/cli/commands/repl/repl.js.map +1 -1
  55. package/dist/cli/commands/repl/reset.js +2 -2
  56. package/dist/cli/commands/repl/reset.js.map +1 -1
  57. package/dist/cli/commands/repl/run.js +5 -5
  58. package/dist/cli/commands/repl/run.js.map +1 -1
  59. package/dist/cli/commands/sideload/install.js +4 -4
  60. package/dist/cli/commands/sideload/install.js.map +1 -1
  61. package/dist/cli/commands/sideload/setup.js +3 -3
  62. package/dist/cli/commands/sideload/setup.js.map +1 -1
  63. package/dist/cli/commands/sideload/sideload.js +2 -2
  64. package/dist/cli/commands/sideload/sideload.js.map +1 -1
  65. package/dist/cli/commands/sideload/uninstall.js +2 -2
  66. package/dist/cli/commands/sideload/uninstall.js.map +1 -1
  67. package/dist/cli/commands/sideload/update.js +3 -3
  68. package/dist/cli/commands/sideload/update.js.map +1 -1
  69. package/dist/cli/commands/swiplet/call.js +6 -6
  70. package/dist/cli/commands/swiplet/call.js.map +1 -1
  71. package/dist/cli/commands/swiplet/install.js +3 -3
  72. package/dist/cli/commands/swiplet/install.js.map +1 -1
  73. package/dist/cli/commands/swiplet/list.js +8 -8
  74. package/dist/cli/commands/swiplet/list.js.map +1 -1
  75. package/dist/cli/commands/swiplet/remove.js +3 -3
  76. package/dist/cli/commands/swiplet/remove.js.map +1 -1
  77. package/dist/cli/commands/swiplet/service/disable.js +3 -3
  78. package/dist/cli/commands/swiplet/service/disable.js.map +1 -1
  79. package/dist/cli/commands/swiplet/service/enable.js +3 -3
  80. package/dist/cli/commands/swiplet/service/enable.js.map +1 -1
  81. package/dist/cli/commands/swiplet/service/service.js +2 -2
  82. package/dist/cli/commands/swiplet/service/service.js.map +1 -1
  83. package/dist/cli/commands/swiplet/service/services.js +2 -2
  84. package/dist/cli/commands/swiplet/service/services.js.map +1 -1
  85. package/dist/cli/commands/swiplet/service/watch.js +2 -2
  86. package/dist/cli/commands/swiplet/service/watch.js.map +1 -1
  87. package/dist/cli/commands/swiplet/show.js +6 -6
  88. package/dist/cli/commands/swiplet/show.js.map +1 -1
  89. package/dist/cli/commands/swiplet/swiplet.js +4 -4
  90. package/dist/cli/commands/swiplet/swiplet.js.map +1 -1
  91. package/dist/cli/commands/version/version.js +2 -2
  92. package/dist/cli/commands/version/version.js.map +1 -1
  93. package/dist/cli/deploy.js +9 -7
  94. package/dist/cli/deploy.js.map +1 -1
  95. package/dist/cli/session.js.map +1 -1
  96. package/dist/client.d.ts +145 -7
  97. package/dist/client.js +20 -22
  98. package/dist/client.js.map +1 -1
  99. package/dist/connection.d.ts +292 -25
  100. package/dist/connection.js +36 -35
  101. package/dist/connection.js.map +1 -1
  102. package/dist/driver.d.ts +62 -23
  103. package/dist/driver.js +29 -33
  104. package/dist/driver.js.map +1 -1
  105. package/dist/i18n.d.ts +2 -5
  106. package/dist/i18n.js +15 -13
  107. package/dist/i18n.js.map +1 -1
  108. package/dist/i18next.d.ts +7 -0
  109. package/dist/ignore.d.ts +14 -7
  110. package/dist/ignore.js +13 -14
  111. package/dist/ignore.js.map +1 -1
  112. package/dist/mdns.d.ts +2 -2
  113. package/dist/mdns.js +1 -1
  114. package/dist/mdns.js.map +1 -1
  115. package/dist/metro.d.ts +19 -5
  116. package/dist/metro.js +61 -63
  117. package/dist/metro.js.map +1 -1
  118. package/dist/output.d.ts +29 -14
  119. package/dist/output.js +17 -15
  120. package/dist/output.js.map +1 -1
  121. package/dist/passcode.d.ts +12 -8
  122. package/dist/passcode.js +18 -18
  123. package/dist/passcode.js.map +1 -1
  124. package/dist/project.d.ts +20 -10
  125. package/dist/project.js +72 -49
  126. package/dist/project.js.map +1 -1
  127. package/dist/proto/common_pb.d.ts +240 -0
  128. package/dist/proto/common_pb.js +7 -2
  129. package/dist/proto/common_pb.js.map +1 -1
  130. package/dist/proto/logs_pb.d.ts +38 -0
  131. package/dist/proto/repl_pb.d.ts +96 -0
  132. package/dist/proto/swiplets_pb.d.ts +361 -0
  133. package/dist/proto/swiplets_pb.js +7 -2
  134. package/dist/proto/swiplets_pb.js.map +1 -1
  135. package/dist/proto/system_pb.d.ts +33 -0
  136. package/dist/resources.d.ts +400 -0
  137. package/dist/serve.d.ts +9 -1
  138. package/dist/serve.js +17 -16
  139. package/dist/serve.js.map +1 -1
  140. package/dist/sideload.d.ts +27 -14
  141. package/dist/sideload.js +102 -89
  142. package/dist/sideload.js.map +1 -1
  143. package/dist/swipt-app.d.ts +19 -9
  144. package/dist/swipt-app.js +1 -1
  145. package/dist/swipt-app.js.map +1 -1
  146. package/locales/ar/translation.json +413 -0
  147. package/locales/bg/translation.json +397 -0
  148. package/locales/bn/translation.json +397 -0
  149. package/locales/ca/translation.json +401 -0
  150. package/locales/cs/translation.json +405 -0
  151. package/locales/da/translation.json +397 -0
  152. package/locales/de/translation.json +397 -0
  153. package/locales/el/translation.json +397 -0
  154. package/locales/en/translation.json +397 -0
  155. package/locales/es/translation.json +401 -0
  156. package/locales/es-419/translation.json +401 -0
  157. package/locales/fi/translation.json +397 -0
  158. package/locales/fr/translation.json +401 -0
  159. package/locales/fr-CA/translation.json +401 -0
  160. package/locales/gu/translation.json +397 -0
  161. package/locales/he/translation.json +401 -0
  162. package/locales/hi/translation.json +397 -0
  163. package/locales/hr/translation.json +401 -0
  164. package/locales/hu/translation.json +397 -0
  165. package/locales/id/translation.json +393 -0
  166. package/locales/it/translation.json +401 -0
  167. package/locales/ja/translation.json +393 -0
  168. package/locales/kk/translation.json +397 -0
  169. package/locales/kn/translation.json +397 -0
  170. package/locales/ko/translation.json +393 -0
  171. package/locales/lt/translation.json +405 -0
  172. package/locales/ml/translation.json +397 -0
  173. package/locales/mr/translation.json +397 -0
  174. package/locales/ms/translation.json +393 -0
  175. package/locales/nb/translation.json +397 -0
  176. package/locales/nl/translation.json +397 -0
  177. package/locales/or/translation.json +397 -0
  178. package/locales/pa/translation.json +397 -0
  179. package/locales/pl/translation.json +405 -0
  180. package/locales/pt-BR/translation.json +401 -0
  181. package/locales/pt-PT/translation.json +401 -0
  182. package/locales/ro/translation.json +401 -0
  183. package/locales/ru/translation.json +405 -0
  184. package/locales/sk/translation.json +405 -0
  185. package/locales/sl/translation.json +405 -0
  186. package/locales/sv/translation.json +397 -0
  187. package/locales/ta/translation.json +397 -0
  188. package/locales/te/translation.json +397 -0
  189. package/locales/th/translation.json +393 -0
  190. package/locales/tr/translation.json +397 -0
  191. package/locales/uk/translation.json +405 -0
  192. package/locales/ur/translation.json +397 -0
  193. package/locales/vi/translation.json +397 -0
  194. package/locales/zh-HK/translation.json +393 -0
  195. package/locales/zh-Hans/translation.json +393 -0
  196. package/locales/zh-Hant/translation.json +393 -0
  197. package/package.json +14 -9
  198. package/locales/ar.json +0 -311
  199. package/locales/bg.json +0 -295
  200. package/locales/bn.json +0 -295
  201. package/locales/ca.json +0 -299
  202. package/locales/cs.json +0 -303
  203. package/locales/da.json +0 -295
  204. package/locales/de.json +0 -295
  205. package/locales/el.json +0 -295
  206. package/locales/es-419.json +0 -299
  207. package/locales/es.json +0 -299
  208. package/locales/fi.json +0 -295
  209. package/locales/fr-CA.json +0 -299
  210. package/locales/fr.json +0 -299
  211. package/locales/gu.json +0 -295
  212. package/locales/he.json +0 -299
  213. package/locales/hi.json +0 -295
  214. package/locales/hr.json +0 -299
  215. package/locales/hu.json +0 -295
  216. package/locales/id.json +0 -283
  217. package/locales/it.json +0 -299
  218. package/locales/ja.json +0 -283
  219. package/locales/kk.json +0 -295
  220. package/locales/kn.json +0 -295
  221. package/locales/ko.json +0 -283
  222. package/locales/lt.json +0 -303
  223. package/locales/ml.json +0 -295
  224. package/locales/mr.json +0 -295
  225. package/locales/ms.json +0 -283
  226. package/locales/nb.json +0 -295
  227. package/locales/nl.json +0 -295
  228. package/locales/or.json +0 -295
  229. package/locales/pa.json +0 -295
  230. package/locales/pl.json +0 -303
  231. package/locales/pt-BR.json +0 -299
  232. package/locales/pt-PT.json +0 -299
  233. package/locales/ro.json +0 -299
  234. package/locales/ru.json +0 -303
  235. package/locales/sk.json +0 -303
  236. package/locales/sl.json +0 -303
  237. package/locales/sv.json +0 -295
  238. package/locales/ta.json +0 -295
  239. package/locales/te.json +0 -295
  240. package/locales/th.json +0 -283
  241. package/locales/tr.json +0 -295
  242. package/locales/uk.json +0 -303
  243. package/locales/ur.json +0 -295
  244. package/locales/vi.json +0 -295
  245. package/locales/zh-HK.json +0 -283
  246. package/locales/zh-Hans.json +0 -283
  247. package/locales/zh-Hant.json +0 -283
@@ -0,0 +1,240 @@
1
+ import { Message } from "@bufbuild/protobuf";
2
+ import "@bufbuild/protobuf/codegenv2";
3
+ import { Timestamp, Value } from "@bufbuild/protobuf/wkt";
4
+ /**
5
+ * @generated from message swipt.LogEntry
6
+ */
7
+ export type LogEntry = Message<"swipt.LogEntry"> & {
8
+ /**
9
+ * @generated from field: google.protobuf.Timestamp time = 1;
10
+ */
11
+ time?: Timestamp | undefined;
12
+ /**
13
+ * @generated from field: swipt.LogLevel level = 2;
14
+ */
15
+ level: LogLevel;
16
+ /**
17
+ * @generated from field: string tag = 3;
18
+ */
19
+ tag: string;
20
+ /**
21
+ * @generated from field: string message = 4;
22
+ */
23
+ message: string;
24
+ };
25
+ /**
26
+ * @generated from message swipt.FileInfo
27
+ */
28
+ export type FileInfo = Message<"swipt.FileInfo"> & {
29
+ /**
30
+ * @generated from field: string path = 1;
31
+ */
32
+ path: string;
33
+ /**
34
+ * @generated from field: bool directory = 2;
35
+ */
36
+ directory: boolean;
37
+ /**
38
+ * @generated from field: int64 size = 3;
39
+ */
40
+ size: bigint;
41
+ /**
42
+ * @generated from field: google.protobuf.Timestamp modified = 4;
43
+ */
44
+ modified?: Timestamp | undefined;
45
+ };
46
+ /**
47
+ * @generated from message swipt.FileChunk
48
+ */
49
+ export type FileChunk = Message<"swipt.FileChunk"> & {
50
+ /**
51
+ * @generated from field: string path = 1;
52
+ */
53
+ path: string;
54
+ /**
55
+ * @generated from field: int64 offset = 2;
56
+ */
57
+ offset: bigint;
58
+ /**
59
+ * @generated from field: bytes data = 3;
60
+ */
61
+ data: Uint8Array;
62
+ };
63
+ /**
64
+ * @generated from message swipt.StackFrame
65
+ */
66
+ export type StackFrame = Message<"swipt.StackFrame"> & {
67
+ /**
68
+ * @generated from field: string function = 1;
69
+ */
70
+ function: string;
71
+ /**
72
+ * @generated from field: string file = 2;
73
+ */
74
+ file: string;
75
+ /**
76
+ * @generated from field: uint32 line = 3;
77
+ */
78
+ line: number;
79
+ /**
80
+ * @generated from field: uint32 column = 4;
81
+ */
82
+ column: number;
83
+ };
84
+ /**
85
+ * @generated from message swipt.ScriptError
86
+ */
87
+ export type ScriptError = Message<"swipt.ScriptError"> & {
88
+ /**
89
+ * @generated from field: string name = 1;
90
+ */
91
+ name: string;
92
+ /**
93
+ * @generated from field: string message = 2;
94
+ */
95
+ message: string;
96
+ /**
97
+ * @generated from field: repeated swipt.StackFrame stack = 4;
98
+ */
99
+ stack: StackFrame[];
100
+ };
101
+ /**
102
+ * @generated from message swipt.ActionResult
103
+ */
104
+ export type ActionResult = Message<"swipt.ActionResult"> & {
105
+ /**
106
+ * @generated from oneof swipt.ActionResult.outcome
107
+ */
108
+ outcome: {
109
+ /**
110
+ * @generated from field: google.protobuf.Value output = 1;
111
+ */
112
+ value: Value;
113
+ case: "output";
114
+ } | {
115
+ /**
116
+ * @generated from field: swipt.ScriptError error = 2;
117
+ */
118
+ value: ScriptError;
119
+ case: "error";
120
+ } | {
121
+ case: undefined;
122
+ value?: undefined;
123
+ };
124
+ };
125
+ /**
126
+ * @generated from message swipt.DeviceConnection
127
+ */
128
+ export type DeviceConnection = Message<"swipt.DeviceConnection"> & {
129
+ /**
130
+ * @generated from field: swipt.DeviceConnectionState state = 1;
131
+ */
132
+ state: DeviceConnectionState;
133
+ /**
134
+ * @generated from field: swipt.DeviceConnectionProblem problem = 2;
135
+ */
136
+ problem: DeviceConnectionProblem;
137
+ /**
138
+ * @generated from field: string message = 3;
139
+ */
140
+ message: string;
141
+ };
142
+ /**
143
+ * @generated from enum swipt.LogLevel
144
+ */
145
+ export declare enum LogLevel {
146
+ /**
147
+ * @generated from enum value: LOG_LEVEL_UNSPECIFIED = 0;
148
+ */
149
+ UNSPECIFIED = 0,
150
+ /**
151
+ * @generated from enum value: LOG_LEVEL_ERROR = 1;
152
+ */
153
+ ERROR = 1,
154
+ /**
155
+ * @generated from enum value: LOG_LEVEL_WARN = 2;
156
+ */
157
+ WARN = 2,
158
+ /**
159
+ * @generated from enum value: LOG_LEVEL_INFO = 3;
160
+ */
161
+ INFO = 3,
162
+ /**
163
+ * @generated from enum value: LOG_LEVEL_DEBUG = 4;
164
+ */
165
+ DEBUG = 4
166
+ }
167
+ /**
168
+ * @generated from enum swipt.DeviceConnectionState
169
+ */
170
+ export declare enum DeviceConnectionState {
171
+ /**
172
+ * @generated from enum value: DEVICE_CONNECTION_STATE_UNSPECIFIED = 0;
173
+ */
174
+ UNSPECIFIED = 0,
175
+ /**
176
+ * @generated from enum value: DEVICE_CONNECTION_STATE_STOPPED = 1;
177
+ */
178
+ STOPPED = 1,
179
+ /**
180
+ * @generated from enum value: DEVICE_CONNECTION_STATE_CONNECTING = 2;
181
+ */
182
+ CONNECTING = 2,
183
+ /**
184
+ * @generated from enum value: DEVICE_CONNECTION_STATE_PREPARING = 3;
185
+ */
186
+ PREPARING = 3,
187
+ /**
188
+ * @generated from enum value: DEVICE_CONNECTION_STATE_RUNNING = 4;
189
+ */
190
+ RUNNING = 4,
191
+ /**
192
+ * @generated from enum value: DEVICE_CONNECTION_STATE_FAILED = 5;
193
+ */
194
+ FAILED = 5
195
+ }
196
+ /**
197
+ * @generated from enum swipt.DeviceConnectionProblem
198
+ */
199
+ export declare enum DeviceConnectionProblem {
200
+ /**
201
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNSPECIFIED = 0;
202
+ */
203
+ UNSPECIFIED = 0,
204
+ /**
205
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNREACHABLE = 1;
206
+ */
207
+ UNREACHABLE = 1,
208
+ /**
209
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_PAIRING_REJECTED = 2;
210
+ */
211
+ PAIRING_REJECTED = 2,
212
+ /**
213
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVELOPER_MODE_OFF = 3;
214
+ */
215
+ DEVELOPER_MODE_OFF = 3,
216
+ /**
217
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MISSING = 4;
218
+ */
219
+ DISK_IMAGE_MISSING = 4,
220
+ /**
221
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MOUNT_FAILED = 5;
222
+ */
223
+ DISK_IMAGE_MOUNT_FAILED = 5,
224
+ /**
225
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVICE_UNSUPPORTED = 6;
226
+ */
227
+ DEVICE_UNSUPPORTED = 6,
228
+ /**
229
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_SCREEN_IN_USE = 7;
230
+ */
231
+ SCREEN_IN_USE = 7,
232
+ /**
233
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_VPN_PEER_ADDRESS_MISSING = 8;
234
+ */
235
+ VPN_PEER_ADDRESS_MISSING = 8,
236
+ /**
237
+ * @generated from enum value: DEVICE_CONNECTION_PROBLEM_OTHER = 9;
238
+ */
239
+ OTHER = 9
240
+ }
@@ -1,4 +1,4 @@
1
- import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv2";
1
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
2
2
  import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
3
3
  // src/proto/common_pb.ts
4
4
  /**
@@ -6,9 +6,14 @@ import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bu
6
6
  */
7
7
  const file_common = /*@__PURE__*/ fileDesc("Cgxjb21tb24ucHJvdG8SBXN3aXB0InIKCExvZ0VudHJ5EigKBHRpbWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEh4KBWxldmVsGAIgASgOMg8uc3dpcHQuTG9nTGV2ZWwSCwoDdGFnGAMgASgJEg8KB21lc3NhZ2UYBCABKAkiZwoIRmlsZUluZm8SDAoEcGF0aBgBIAEoCRIRCglkaXJlY3RvcnkYAiABKAgSDAoEc2l6ZRgDIAEoAxIsCghtb2RpZmllZBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiNwoJRmlsZUNodW5rEgwKBHBhdGgYASABKAkSDgoGb2Zmc2V0GAIgASgDEgwKBGRhdGEYAyABKAwiSgoKU3RhY2tGcmFtZRIQCghmdW5jdGlvbhgBIAEoCRIMCgRmaWxlGAIgASgJEgwKBGxpbmUYAyABKA0SDgoGY29sdW1uGAQgASgNIlQKC1NjcmlwdEVycm9yEgwKBG5hbWUYASABKAkSDwoHbWVzc2FnZRgCIAEoCRIgCgVzdGFjaxgEIAMoCzIRLnN3aXB0LlN0YWNrRnJhbWVKBAgDEAQiaAoMQWN0aW9uUmVzdWx0EigKBm91dHB1dBgBIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZUgAEiMKBWVycm9y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TU0lORxAEEjUKMURFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fRElTS19JTUFHRV9NT1VOVF9GQUlMRUQQBRIwCixERVZJQ0VfQ09OTkVDVElPTl9QUk9CTEVNX0RFVklDRV9VTlNVUFBPUlRFRBAGEisKJ0RFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fU0NSRUVOX0lOX1VTRRAHEjYKMkRFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fVlBOX1BFRVJfQUREUkVTU19NSVNTSU5HEAgSIwofREVWSUNFX0NPTk5FQ1RJT05fUFJPQkxFTV9PVEhFUhAJQjJaMGdpdGh1Yi5jb20vc3dpcHQtYXV0b21hdGlvbi9zd2lwdC9pbnRlcm5hbC9wcm90b2IGcHJvdG8z", [file_google_protobuf_struct, file_google_protobuf_timestamp]);
8
8
  /**
9
+ * Describes the message swipt.LogEntry.
10
+ * Use `create(LogEntrySchema)` to create a new message.
11
+ */
12
+ const LogEntrySchema = /*@__PURE__*/ messageDesc(file_common, 0);
13
+ /**
9
14
  * Describes the enum swipt.LogLevel.
10
15
  */
11
16
  const LogLevelSchema = /*@__PURE__*/ enumDesc(file_common, 0);
12
- export { LogLevelSchema, file_common };
17
+ export { LogEntrySchema, LogLevelSchema, file_common };
13
18
 
14
19
  //# sourceMappingURL=common_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"common_pb.js","names":[],"sources":["../../src/proto/common_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.16.0 with parameter \"target=ts\"\n// @generated from file common.proto (package swipt, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp, Value } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_struct, file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n *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9PVEhFUhAJQjJaMGdpdGh1Yi5jb20vc3dpcHQtYXV0b21hdGlvbi9zd2lwdC9pbnRlcm5hbC9wcm90b2IGcHJvdG8z\", [file_google_protobuf_struct, file_google_protobuf_timestamp]);\n\n/**\n * @generated from message swipt.LogEntry\n */\nexport type LogEntry = Message<\"swipt.LogEntry\"> & {\n /**\n * @generated from field: google.protobuf.Timestamp time = 1;\n */\n time?: Timestamp | undefined;\n\n /**\n * @generated from field: swipt.LogLevel level = 2;\n */\n level: LogLevel;\n\n /**\n * @generated from field: string tag = 3;\n */\n tag: string;\n\n /**\n * @generated from field: string message = 4;\n */\n message: string;\n};\n\n/**\n * Describes the message swipt.LogEntry.\n * Use `create(LogEntrySchema)` to create a new message.\n */\nexport const LogEntrySchema: GenMessage<LogEntry> = /*@__PURE__*/\n messageDesc(file_common, 0);\n\n/**\n * @generated from message swipt.FileInfo\n */\nexport type FileInfo = Message<\"swipt.FileInfo\"> & {\n /**\n * @generated from field: string path = 1;\n */\n path: string;\n\n /**\n * @generated from field: bool directory = 2;\n */\n directory: boolean;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp modified = 4;\n */\n modified?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swipt.FileInfo.\n * Use `create(FileInfoSchema)` to create a new message.\n */\nexport const FileInfoSchema: GenMessage<FileInfo> = /*@__PURE__*/\n messageDesc(file_common, 1);\n\n/**\n * @generated from message swipt.FileChunk\n */\nexport type FileChunk = Message<\"swipt.FileChunk\"> & {\n /**\n * @generated from field: string path = 1;\n */\n path: string;\n\n /**\n * @generated from field: int64 offset = 2;\n */\n offset: bigint;\n\n /**\n * @generated from field: bytes data = 3;\n */\n data: Uint8Array;\n};\n\n/**\n * Describes the message swipt.FileChunk.\n * Use `create(FileChunkSchema)` to create a new message.\n */\nexport const FileChunkSchema: GenMessage<FileChunk> = /*@__PURE__*/\n messageDesc(file_common, 2);\n\n/**\n * @generated from message swipt.StackFrame\n */\nexport type StackFrame = Message<\"swipt.StackFrame\"> & {\n /**\n * @generated from field: string function = 1;\n */\n function: string;\n\n /**\n * @generated from field: string file = 2;\n */\n file: string;\n\n /**\n * @generated from field: uint32 line = 3;\n */\n line: number;\n\n /**\n * @generated from field: uint32 column = 4;\n */\n column: number;\n};\n\n/**\n * Describes the message swipt.StackFrame.\n * Use `create(StackFrameSchema)` to create a new message.\n */\nexport const StackFrameSchema: GenMessage<StackFrame> = /*@__PURE__*/\n messageDesc(file_common, 3);\n\n/**\n * @generated from message swipt.ScriptError\n */\nexport type ScriptError = Message<\"swipt.ScriptError\"> & {\n /**\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * @generated from field: string message = 2;\n */\n message: string;\n\n /**\n * @generated from field: repeated swipt.StackFrame stack = 4;\n */\n stack: StackFrame[];\n};\n\n/**\n * Describes the message swipt.ScriptError.\n * Use `create(ScriptErrorSchema)` to create a new message.\n */\nexport const ScriptErrorSchema: GenMessage<ScriptError> = /*@__PURE__*/\n messageDesc(file_common, 4);\n\n/**\n * @generated from message swipt.ActionResult\n */\nexport type ActionResult = Message<\"swipt.ActionResult\"> & {\n /**\n * @generated from oneof swipt.ActionResult.outcome\n */\n outcome: {\n /**\n * @generated from field: google.protobuf.Value output = 1;\n */\n value: Value;\n case: \"output\";\n } | {\n /**\n * @generated from field: swipt.ScriptError error = 2;\n */\n value: ScriptError;\n case: \"error\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swipt.ActionResult.\n * Use `create(ActionResultSchema)` to create a new message.\n */\nexport const ActionResultSchema: GenMessage<ActionResult> = /*@__PURE__*/\n messageDesc(file_common, 5);\n\n/**\n * @generated from message swipt.DeviceConnection\n */\nexport type DeviceConnection = Message<\"swipt.DeviceConnection\"> & {\n /**\n * @generated from field: swipt.DeviceConnectionState state = 1;\n */\n state: DeviceConnectionState;\n\n /**\n * @generated from field: swipt.DeviceConnectionProblem problem = 2;\n */\n problem: DeviceConnectionProblem;\n\n /**\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message swipt.DeviceConnection.\n * Use `create(DeviceConnectionSchema)` to create a new message.\n */\nexport const DeviceConnectionSchema: GenMessage<DeviceConnection> = /*@__PURE__*/\n messageDesc(file_common, 6);\n\n/**\n * @generated from enum swipt.LogLevel\n */\nexport enum LogLevel {\n /**\n * @generated from enum value: LOG_LEVEL_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: LOG_LEVEL_ERROR = 1;\n */\n ERROR = 1,\n\n /**\n * @generated from enum value: LOG_LEVEL_WARN = 2;\n */\n WARN = 2,\n\n /**\n * @generated from enum value: LOG_LEVEL_INFO = 3;\n */\n INFO = 3,\n\n /**\n * @generated from enum value: LOG_LEVEL_DEBUG = 4;\n */\n DEBUG = 4,\n}\n\n/**\n * Describes the enum swipt.LogLevel.\n */\nexport const LogLevelSchema: GenEnum<LogLevel> = /*@__PURE__*/\n enumDesc(file_common, 0);\n\n/**\n * @generated from enum swipt.DeviceConnectionState\n */\nexport enum DeviceConnectionState {\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_STOPPED = 1;\n */\n STOPPED = 1,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_CONNECTING = 2;\n */\n CONNECTING = 2,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_PREPARING = 3;\n */\n PREPARING = 3,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_RUNNING = 4;\n */\n RUNNING = 4,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_FAILED = 5;\n */\n FAILED = 5,\n}\n\n/**\n * Describes the enum swipt.DeviceConnectionState.\n */\nexport const DeviceConnectionStateSchema: GenEnum<DeviceConnectionState> = /*@__PURE__*/\n enumDesc(file_common, 1);\n\n/**\n * @generated from enum swipt.DeviceConnectionProblem\n */\nexport enum DeviceConnectionProblem {\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNREACHABLE = 1;\n */\n UNREACHABLE = 1,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_PAIRING_REJECTED = 2;\n */\n PAIRING_REJECTED = 2,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVELOPER_MODE_OFF = 3;\n */\n DEVELOPER_MODE_OFF = 3,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MISSING = 4;\n */\n DISK_IMAGE_MISSING = 4,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MOUNT_FAILED = 5;\n */\n DISK_IMAGE_MOUNT_FAILED = 5,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVICE_UNSUPPORTED = 6;\n */\n DEVICE_UNSUPPORTED = 6,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_SCREEN_IN_USE = 7;\n */\n SCREEN_IN_USE = 7,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_VPN_PEER_ADDRESS_MISSING = 8;\n */\n VPN_PEER_ADDRESS_MISSING = 8,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_OTHER = 9;\n */\n OTHER = 9,\n}\n\n/**\n * Describes the enum swipt.DeviceConnectionProblem.\n */\nexport const DeviceConnectionProblemSchema: GenEnum<DeviceConnectionProblem> = /*@__PURE__*/\n enumDesc(file_common, 2);\n\n"],"mappings":";;;;;;AAaA,MAAa,cACX,uBAAS,gpEAAgpE,CAAC,6BAA6B,8BAA8B,CAAC;;;;AAiPxtE,MAAa,iBACX,uBAAS,aAAa,CAAC"}
1
+ {"version":3,"file":"common_pb.js","names":[],"sources":["../../src/proto/common_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.16.0 with parameter \"target=ts\"\n// @generated from file common.proto (package swipt, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp, Value } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_struct, file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file common.proto.\n */\nexport const file_common: GenFile = /*@__PURE__*/\n fileDesc(\"Cgxjb21tb24ucHJvdG8SBXN3aXB0InIKCExvZ0VudHJ5EigKBHRpbWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEh4KBWxldmVsGAIgASgOMg8uc3dpcHQuTG9nTGV2ZWwSCwoDdGFnGAMgASgJEg8KB21lc3NhZ2UYBCABKAkiZwoIRmlsZUluZm8SDAoEcGF0aBgBIAEoCRIRCglkaXJlY3RvcnkYAiABKAgSDAoEc2l6ZRgDIAEoAxIsCghtb2RpZmllZBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiNwoJRmlsZUNodW5rEgwKBHBhdGgYASABKAkSDgoGb2Zmc2V0GAIgASgDEgwKBGRhdGEYAyABKAwiSgoKU3RhY2tGcmFtZRIQCghmdW5jdGlvbhgBIAEoCRIMCgRmaWxlGAIgASgJEgwKBGxpbmUYAyABKA0SDgoGY29sdW1uGAQgASgNIlQKC1NjcmlwdEVycm9yEgwKBG5hbWUYASABKAkSDwoHbWVzc2FnZRgCIAEoCRIgCgVzdGFjaxgEIAMoCzIRLnN3aXB0LlN0YWNrRnJhbWVKBAgDEAQiaAoMQWN0aW9uUmVzdWx0EigKBm91dHB1dBgBIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZUgAEiMKBWVycm9yG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U0lORxAEEjUKMURFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fRElTS19JTUFHRV9NT1VOVF9GQUlMRUQQBRIwCixERVZJQ0VfQ09OTkVDVElPTl9QUk9CTEVNX0RFVklDRV9VTlNVUFBPUlRFRBAGEisKJ0RFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fU0NSRUVOX0lOX1VTRRAHEjYKMkRFVklDRV9DT05ORUNUSU9OX1BST0JMRU1fVlBOX1BFRVJfQUREUkVTU19NSVNTSU5HEAgSIwofREVWSUNFX0NPTk5FQ1RJT05fUFJPQkxFTV9PVEhFUhAJQjJaMGdpdGh1Yi5jb20vc3dpcHQtYXV0b21hdGlvbi9zd2lwdC9pbnRlcm5hbC9wcm90b2IGcHJvdG8z\", [file_google_protobuf_struct, file_google_protobuf_timestamp]);\n\n/**\n * @generated from message swipt.LogEntry\n */\nexport type LogEntry = Message<\"swipt.LogEntry\"> & {\n /**\n * @generated from field: google.protobuf.Timestamp time = 1;\n */\n time?: Timestamp | undefined;\n\n /**\n * @generated from field: swipt.LogLevel level = 2;\n */\n level: LogLevel;\n\n /**\n * @generated from field: string tag = 3;\n */\n tag: string;\n\n /**\n * @generated from field: string message = 4;\n */\n message: string;\n};\n\n/**\n * Describes the message swipt.LogEntry.\n * Use `create(LogEntrySchema)` to create a new message.\n */\nexport const LogEntrySchema: GenMessage<LogEntry> = /*@__PURE__*/\n messageDesc(file_common, 0);\n\n/**\n * @generated from message swipt.FileInfo\n */\nexport type FileInfo = Message<\"swipt.FileInfo\"> & {\n /**\n * @generated from field: string path = 1;\n */\n path: string;\n\n /**\n * @generated from field: bool directory = 2;\n */\n directory: boolean;\n\n /**\n * @generated from field: int64 size = 3;\n */\n size: bigint;\n\n /**\n * @generated from field: google.protobuf.Timestamp modified = 4;\n */\n modified?: Timestamp | undefined;\n};\n\n/**\n * Describes the message swipt.FileInfo.\n * Use `create(FileInfoSchema)` to create a new message.\n */\nexport const FileInfoSchema: GenMessage<FileInfo> = /*@__PURE__*/\n messageDesc(file_common, 1);\n\n/**\n * @generated from message swipt.FileChunk\n */\nexport type FileChunk = Message<\"swipt.FileChunk\"> & {\n /**\n * @generated from field: string path = 1;\n */\n path: string;\n\n /**\n * @generated from field: int64 offset = 2;\n */\n offset: bigint;\n\n /**\n * @generated from field: bytes data = 3;\n */\n data: Uint8Array;\n};\n\n/**\n * Describes the message swipt.FileChunk.\n * Use `create(FileChunkSchema)` to create a new message.\n */\nexport const FileChunkSchema: GenMessage<FileChunk> = /*@__PURE__*/\n messageDesc(file_common, 2);\n\n/**\n * @generated from message swipt.StackFrame\n */\nexport type StackFrame = Message<\"swipt.StackFrame\"> & {\n /**\n * @generated from field: string function = 1;\n */\n function: string;\n\n /**\n * @generated from field: string file = 2;\n */\n file: string;\n\n /**\n * @generated from field: uint32 line = 3;\n */\n line: number;\n\n /**\n * @generated from field: uint32 column = 4;\n */\n column: number;\n};\n\n/**\n * Describes the message swipt.StackFrame.\n * Use `create(StackFrameSchema)` to create a new message.\n */\nexport const StackFrameSchema: GenMessage<StackFrame> = /*@__PURE__*/\n messageDesc(file_common, 3);\n\n/**\n * @generated from message swipt.ScriptError\n */\nexport type ScriptError = Message<\"swipt.ScriptError\"> & {\n /**\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * @generated from field: string message = 2;\n */\n message: string;\n\n /**\n * @generated from field: repeated swipt.StackFrame stack = 4;\n */\n stack: StackFrame[];\n};\n\n/**\n * Describes the message swipt.ScriptError.\n * Use `create(ScriptErrorSchema)` to create a new message.\n */\nexport const ScriptErrorSchema: GenMessage<ScriptError> = /*@__PURE__*/\n messageDesc(file_common, 4);\n\n/**\n * @generated from message swipt.ActionResult\n */\nexport type ActionResult = Message<\"swipt.ActionResult\"> & {\n /**\n * @generated from oneof swipt.ActionResult.outcome\n */\n outcome: {\n /**\n * @generated from field: google.protobuf.Value output = 1;\n */\n value: Value;\n case: \"output\";\n } | {\n /**\n * @generated from field: swipt.ScriptError error = 2;\n */\n value: ScriptError;\n case: \"error\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message swipt.ActionResult.\n * Use `create(ActionResultSchema)` to create a new message.\n */\nexport const ActionResultSchema: GenMessage<ActionResult> = /*@__PURE__*/\n messageDesc(file_common, 5);\n\n/**\n * @generated from message swipt.DeviceConnection\n */\nexport type DeviceConnection = Message<\"swipt.DeviceConnection\"> & {\n /**\n * @generated from field: swipt.DeviceConnectionState state = 1;\n */\n state: DeviceConnectionState;\n\n /**\n * @generated from field: swipt.DeviceConnectionProblem problem = 2;\n */\n problem: DeviceConnectionProblem;\n\n /**\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message swipt.DeviceConnection.\n * Use `create(DeviceConnectionSchema)` to create a new message.\n */\nexport const DeviceConnectionSchema: GenMessage<DeviceConnection> = /*@__PURE__*/\n messageDesc(file_common, 6);\n\n/**\n * @generated from enum swipt.LogLevel\n */\nexport enum LogLevel {\n /**\n * @generated from enum value: LOG_LEVEL_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: LOG_LEVEL_ERROR = 1;\n */\n ERROR = 1,\n\n /**\n * @generated from enum value: LOG_LEVEL_WARN = 2;\n */\n WARN = 2,\n\n /**\n * @generated from enum value: LOG_LEVEL_INFO = 3;\n */\n INFO = 3,\n\n /**\n * @generated from enum value: LOG_LEVEL_DEBUG = 4;\n */\n DEBUG = 4,\n}\n\n/**\n * Describes the enum swipt.LogLevel.\n */\nexport const LogLevelSchema: GenEnum<LogLevel> = /*@__PURE__*/\n enumDesc(file_common, 0);\n\n/**\n * @generated from enum swipt.DeviceConnectionState\n */\nexport enum DeviceConnectionState {\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_STOPPED = 1;\n */\n STOPPED = 1,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_CONNECTING = 2;\n */\n CONNECTING = 2,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_PREPARING = 3;\n */\n PREPARING = 3,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_RUNNING = 4;\n */\n RUNNING = 4,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_STATE_FAILED = 5;\n */\n FAILED = 5,\n}\n\n/**\n * Describes the enum swipt.DeviceConnectionState.\n */\nexport const DeviceConnectionStateSchema: GenEnum<DeviceConnectionState> = /*@__PURE__*/\n enumDesc(file_common, 1);\n\n/**\n * @generated from enum swipt.DeviceConnectionProblem\n */\nexport enum DeviceConnectionProblem {\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_UNREACHABLE = 1;\n */\n UNREACHABLE = 1,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_PAIRING_REJECTED = 2;\n */\n PAIRING_REJECTED = 2,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVELOPER_MODE_OFF = 3;\n */\n DEVELOPER_MODE_OFF = 3,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MISSING = 4;\n */\n DISK_IMAGE_MISSING = 4,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DISK_IMAGE_MOUNT_FAILED = 5;\n */\n DISK_IMAGE_MOUNT_FAILED = 5,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_DEVICE_UNSUPPORTED = 6;\n */\n DEVICE_UNSUPPORTED = 6,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_SCREEN_IN_USE = 7;\n */\n SCREEN_IN_USE = 7,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_VPN_PEER_ADDRESS_MISSING = 8;\n */\n VPN_PEER_ADDRESS_MISSING = 8,\n\n /**\n * @generated from enum value: DEVICE_CONNECTION_PROBLEM_OTHER = 9;\n */\n OTHER = 9,\n}\n\n/**\n * Describes the enum swipt.DeviceConnectionProblem.\n */\nexport const DeviceConnectionProblemSchema: GenEnum<DeviceConnectionProblem> = /*@__PURE__*/\n enumDesc(file_common, 2);\n\n"],"mappings":";;;;;;AAaA,MAAa,cACX,uBAAS,gpEAAgpE,CAAC,6BAA6B,8BAA8B,CAAC;;;;;AA+BxtE,MAAa,iBACX,0BAAY,aAAa,CAAC;;;;AAiN5B,MAAa,iBACX,uBAAS,aAAa,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { LogEntry, LogLevel } from "./common_pb.js";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import "@bufbuild/protobuf/codegenv2";
4
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ /**
6
+ * @generated from message swipt.ReadLogsRequest
7
+ */
8
+ export type ReadLogsRequest = Message<"swipt.ReadLogsRequest"> & {
9
+ /**
10
+ * @generated from field: swipt.LogLevel level = 1;
11
+ */
12
+ level: LogLevel;
13
+ /**
14
+ * @generated from field: string swiplet_id = 2;
15
+ */
16
+ swipletId: string;
17
+ /**
18
+ * @generated from field: google.protobuf.Timestamp since = 3;
19
+ */
20
+ since?: Timestamp | undefined;
21
+ /**
22
+ * @generated from field: uint32 tail = 4;
23
+ */
24
+ tail: number;
25
+ /**
26
+ * @generated from field: bool follow = 5;
27
+ */
28
+ follow: boolean;
29
+ };
30
+ /**
31
+ * @generated from message swipt.ReadLogsResponse
32
+ */
33
+ export type ReadLogsResponse = Message<"swipt.ReadLogsResponse"> & {
34
+ /**
35
+ * @generated from field: swipt.LogEntry entry = 1;
36
+ */
37
+ entry?: LogEntry | undefined;
38
+ };
@@ -0,0 +1,96 @@
1
+ import { LogLevel, ScriptError } from "./common_pb.js";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import "@bufbuild/protobuf/codegenv2";
4
+ import "@bufbuild/protobuf/wkt";
5
+ /**
6
+ * @generated from message swipt.ExecuteRequest
7
+ */
8
+ export type ExecuteRequest = Message<"swipt.ExecuteRequest"> & {
9
+ /**
10
+ * @generated from field: string code = 1;
11
+ */
12
+ code: string;
13
+ /**
14
+ * @generated from field: uint32 timeout_ms = 2;
15
+ */
16
+ timeoutMs: number;
17
+ /**
18
+ * @generated from field: repeated string args = 3;
19
+ */
20
+ args: string[];
21
+ /**
22
+ * @generated from field: bool program = 4;
23
+ */
24
+ program: boolean;
25
+ };
26
+ /**
27
+ * @generated from message swipt.ConsoleOutput
28
+ */
29
+ export type ConsoleOutput = Message<"swipt.ConsoleOutput"> & {
30
+ /**
31
+ * @generated from field: swipt.LogLevel level = 1;
32
+ */
33
+ level: LogLevel;
34
+ /**
35
+ * @generated from field: string text = 2;
36
+ */
37
+ text: string;
38
+ };
39
+ /**
40
+ * @generated from message swipt.ScriptValue
41
+ */
42
+ export type ScriptValue = Message<"swipt.ScriptValue"> & {
43
+ /**
44
+ * @generated from field: string json = 1;
45
+ */
46
+ json: string;
47
+ /**
48
+ * @generated from field: string text = 2;
49
+ */
50
+ text: string;
51
+ };
52
+ /**
53
+ * @generated from message swipt.ExecuteResponse
54
+ */
55
+ export type ExecuteResponse = Message<"swipt.ExecuteResponse"> & {
56
+ /**
57
+ * @generated from oneof swipt.ExecuteResponse.part
58
+ */
59
+ part: {
60
+ /**
61
+ * @generated from field: swipt.ConsoleOutput console = 1;
62
+ */
63
+ value: ConsoleOutput;
64
+ case: "console";
65
+ } | {
66
+ /**
67
+ * @generated from field: swipt.ScriptValue value = 2;
68
+ */
69
+ value: ScriptValue;
70
+ case: "value";
71
+ } | {
72
+ /**
73
+ * @generated from field: bytes image = 3;
74
+ */
75
+ value: Uint8Array;
76
+ case: "image";
77
+ } | {
78
+ /**
79
+ * @generated from field: swipt.ScriptError error = 4;
80
+ */
81
+ value: ScriptError;
82
+ case: "error";
83
+ } | {
84
+ case: undefined;
85
+ value?: undefined;
86
+ };
87
+ };
88
+ /**
89
+ * @generated from message swipt.GetDeclarationsResponse
90
+ */
91
+ export type GetDeclarationsResponse = Message<"swipt.GetDeclarationsResponse"> & {
92
+ /**
93
+ * @generated from field: string typescript = 1;
94
+ */
95
+ typescript: string;
96
+ };