tmex-cli 0.4.0 → 0.4.2

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 (34) hide show
  1. package/dist/runtime/server.js +736 -186
  2. package/package.json +1 -1
  3. package/resources/fe-dist/assets/DevicePage-CKaPUo7L.js +26 -0
  4. package/resources/fe-dist/assets/DevicePage-CKaPUo7L.js.map +1 -0
  5. package/resources/fe-dist/assets/DevicesPage-FqU-Dxhu.js +17 -0
  6. package/resources/fe-dist/assets/{DevicesPage-CtNzaW_c.js.map → DevicesPage-FqU-Dxhu.js.map} +1 -1
  7. package/resources/fe-dist/assets/SettingsPage-BfkOW0fc.js +17 -0
  8. package/resources/fe-dist/assets/SettingsPage-BfkOW0fc.js.map +1 -0
  9. package/resources/fe-dist/assets/index-EgHfq93I.js +449 -0
  10. package/resources/fe-dist/assets/index-EgHfq93I.js.map +1 -0
  11. package/resources/fe-dist/assets/index-Ytlj3p_q.css +1 -0
  12. package/resources/fe-dist/assets/select-CNlE6MiW.js +17 -0
  13. package/resources/fe-dist/assets/{select-BNsiC9zT.js.map → select-CNlE6MiW.js.map} +1 -1
  14. package/resources/fe-dist/assets/switch-CxkzOIL6.js +12 -0
  15. package/resources/fe-dist/assets/{switch-CIU4AisU.js.map → switch-CxkzOIL6.js.map} +1 -1
  16. package/resources/fe-dist/assets/useValueChanged-CO2U5MoL.js +7 -0
  17. package/resources/fe-dist/assets/{useValueChanged-V23H0VpC.js.map → useValueChanged-CO2U5MoL.js.map} +1 -1
  18. package/resources/fe-dist/index.html +2 -2
  19. package/resources/gateway-drizzle/0002_broad_vengeance.sql +3 -0
  20. package/resources/gateway-drizzle/meta/0000_snapshot.json +17 -6
  21. package/resources/gateway-drizzle/meta/0001_snapshot.json +17 -6
  22. package/resources/gateway-drizzle/meta/0002_snapshot.json +535 -0
  23. package/resources/gateway-drizzle/meta/_journal.json +8 -1
  24. package/resources/fe-dist/assets/DevicePage-iSkEDEpS.js +0 -4570
  25. package/resources/fe-dist/assets/DevicePage-iSkEDEpS.js.map +0 -1
  26. package/resources/fe-dist/assets/DevicesPage-CtNzaW_c.js +0 -2143
  27. package/resources/fe-dist/assets/SettingsPage-D25_d6j9.js +0 -1144
  28. package/resources/fe-dist/assets/SettingsPage-D25_d6j9.js.map +0 -1
  29. package/resources/fe-dist/assets/index-CJaX5rlK.css +0 -4527
  30. package/resources/fe-dist/assets/index-dsVN7rgz.js +0 -200
  31. package/resources/fe-dist/assets/index-dsVN7rgz.js.map +0 -1
  32. package/resources/fe-dist/assets/select-BNsiC9zT.js +0 -2805
  33. package/resources/fe-dist/assets/switch-CIU4AisU.js +0 -234
  34. package/resources/fe-dist/assets/useValueChanged-V23H0VpC.js +0 -351
@@ -0,0 +1,535 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "366135f1-7e36-4b8c-9864-99af3f353e64",
5
+ "prevId": "e732d466-ee77-402f-9b0b-98dacad60671",
6
+ "tables": {
7
+ "device_runtime_status": {
8
+ "name": "device_runtime_status",
9
+ "columns": {
10
+ "device_id": {
11
+ "name": "device_id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "last_seen_at": {
18
+ "name": "last_seen_at",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": false,
22
+ "autoincrement": false
23
+ },
24
+ "tmux_available": {
25
+ "name": "tmux_available",
26
+ "type": "integer",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false,
30
+ "default": false
31
+ },
32
+ "last_error": {
33
+ "name": "last_error",
34
+ "type": "text",
35
+ "primaryKey": false,
36
+ "notNull": false,
37
+ "autoincrement": false
38
+ }
39
+ },
40
+ "indexes": {},
41
+ "foreignKeys": {
42
+ "device_runtime_status_device_id_devices_id_fk": {
43
+ "name": "device_runtime_status_device_id_devices_id_fk",
44
+ "tableFrom": "device_runtime_status",
45
+ "tableTo": "devices",
46
+ "columnsFrom": [
47
+ "device_id"
48
+ ],
49
+ "columnsTo": [
50
+ "id"
51
+ ],
52
+ "onDelete": "cascade",
53
+ "onUpdate": "no action"
54
+ }
55
+ },
56
+ "compositePrimaryKeys": {},
57
+ "uniqueConstraints": {},
58
+ "checkConstraints": {}
59
+ },
60
+ "devices": {
61
+ "name": "devices",
62
+ "columns": {
63
+ "id": {
64
+ "name": "id",
65
+ "type": "text",
66
+ "primaryKey": true,
67
+ "notNull": true,
68
+ "autoincrement": false
69
+ },
70
+ "name": {
71
+ "name": "name",
72
+ "type": "text",
73
+ "primaryKey": false,
74
+ "notNull": true,
75
+ "autoincrement": false
76
+ },
77
+ "type": {
78
+ "name": "type",
79
+ "type": "text",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "autoincrement": false
83
+ },
84
+ "host": {
85
+ "name": "host",
86
+ "type": "text",
87
+ "primaryKey": false,
88
+ "notNull": false,
89
+ "autoincrement": false
90
+ },
91
+ "port": {
92
+ "name": "port",
93
+ "type": "integer",
94
+ "primaryKey": false,
95
+ "notNull": false,
96
+ "autoincrement": false,
97
+ "default": 22
98
+ },
99
+ "username": {
100
+ "name": "username",
101
+ "type": "text",
102
+ "primaryKey": false,
103
+ "notNull": false,
104
+ "autoincrement": false
105
+ },
106
+ "ssh_config_ref": {
107
+ "name": "ssh_config_ref",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": false,
111
+ "autoincrement": false
112
+ },
113
+ "session": {
114
+ "name": "session",
115
+ "type": "text",
116
+ "primaryKey": false,
117
+ "notNull": false,
118
+ "autoincrement": false,
119
+ "default": "'tmex'"
120
+ },
121
+ "auth_mode": {
122
+ "name": "auth_mode",
123
+ "type": "text",
124
+ "primaryKey": false,
125
+ "notNull": true,
126
+ "autoincrement": false
127
+ },
128
+ "password_enc": {
129
+ "name": "password_enc",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": false,
133
+ "autoincrement": false
134
+ },
135
+ "private_key_enc": {
136
+ "name": "private_key_enc",
137
+ "type": "text",
138
+ "primaryKey": false,
139
+ "notNull": false,
140
+ "autoincrement": false
141
+ },
142
+ "private_key_passphrase_enc": {
143
+ "name": "private_key_passphrase_enc",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": false,
147
+ "autoincrement": false
148
+ },
149
+ "created_at": {
150
+ "name": "created_at",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": true,
154
+ "autoincrement": false
155
+ },
156
+ "updated_at": {
157
+ "name": "updated_at",
158
+ "type": "text",
159
+ "primaryKey": false,
160
+ "notNull": true,
161
+ "autoincrement": false
162
+ }
163
+ },
164
+ "indexes": {},
165
+ "foreignKeys": {},
166
+ "compositePrimaryKeys": {},
167
+ "uniqueConstraints": {},
168
+ "checkConstraints": {
169
+ "devices_type_check": {
170
+ "name": "devices_type_check",
171
+ "value": "\"devices\".\"type\" in ('local', 'ssh')"
172
+ },
173
+ "devices_auth_mode_check": {
174
+ "name": "devices_auth_mode_check",
175
+ "value": "\"devices\".\"auth_mode\" in ('password', 'key', 'agent', 'configRef', 'auto')"
176
+ }
177
+ }
178
+ },
179
+ "site_settings": {
180
+ "name": "site_settings",
181
+ "columns": {
182
+ "id": {
183
+ "name": "id",
184
+ "type": "integer",
185
+ "primaryKey": true,
186
+ "notNull": true,
187
+ "autoincrement": false
188
+ },
189
+ "site_name": {
190
+ "name": "site_name",
191
+ "type": "text",
192
+ "primaryKey": false,
193
+ "notNull": true,
194
+ "autoincrement": false
195
+ },
196
+ "site_url": {
197
+ "name": "site_url",
198
+ "type": "text",
199
+ "primaryKey": false,
200
+ "notNull": true,
201
+ "autoincrement": false
202
+ },
203
+ "bell_throttle_seconds": {
204
+ "name": "bell_throttle_seconds",
205
+ "type": "integer",
206
+ "primaryKey": false,
207
+ "notNull": true,
208
+ "autoincrement": false
209
+ },
210
+ "notification_throttle_seconds": {
211
+ "name": "notification_throttle_seconds",
212
+ "type": "integer",
213
+ "primaryKey": false,
214
+ "notNull": true,
215
+ "autoincrement": false,
216
+ "default": 3
217
+ },
218
+ "enable_browser_bell_toast": {
219
+ "name": "enable_browser_bell_toast",
220
+ "type": "integer",
221
+ "primaryKey": false,
222
+ "notNull": true,
223
+ "autoincrement": false,
224
+ "default": true
225
+ },
226
+ "enable_browser_notification_toast": {
227
+ "name": "enable_browser_notification_toast",
228
+ "type": "integer",
229
+ "primaryKey": false,
230
+ "notNull": true,
231
+ "autoincrement": false,
232
+ "default": true
233
+ },
234
+ "enable_telegram_bell_push": {
235
+ "name": "enable_telegram_bell_push",
236
+ "type": "integer",
237
+ "primaryKey": false,
238
+ "notNull": true,
239
+ "autoincrement": false,
240
+ "default": true
241
+ },
242
+ "enable_telegram_notification_push": {
243
+ "name": "enable_telegram_notification_push",
244
+ "type": "integer",
245
+ "primaryKey": false,
246
+ "notNull": true,
247
+ "autoincrement": false,
248
+ "default": true
249
+ },
250
+ "ssh_reconnect_max_retries": {
251
+ "name": "ssh_reconnect_max_retries",
252
+ "type": "integer",
253
+ "primaryKey": false,
254
+ "notNull": true,
255
+ "autoincrement": false
256
+ },
257
+ "ssh_reconnect_delay_seconds": {
258
+ "name": "ssh_reconnect_delay_seconds",
259
+ "type": "integer",
260
+ "primaryKey": false,
261
+ "notNull": true,
262
+ "autoincrement": false
263
+ },
264
+ "language": {
265
+ "name": "language",
266
+ "type": "text",
267
+ "primaryKey": false,
268
+ "notNull": true,
269
+ "autoincrement": false,
270
+ "default": "'en_US'"
271
+ },
272
+ "updated_at": {
273
+ "name": "updated_at",
274
+ "type": "text",
275
+ "primaryKey": false,
276
+ "notNull": true,
277
+ "autoincrement": false
278
+ }
279
+ },
280
+ "indexes": {},
281
+ "foreignKeys": {},
282
+ "compositePrimaryKeys": {},
283
+ "uniqueConstraints": {},
284
+ "checkConstraints": {
285
+ "site_settings_singleton_check": {
286
+ "name": "site_settings_singleton_check",
287
+ "value": "\"site_settings\".\"id\" = 1"
288
+ }
289
+ }
290
+ },
291
+ "telegram_bot_chats": {
292
+ "name": "telegram_bot_chats",
293
+ "columns": {
294
+ "id": {
295
+ "name": "id",
296
+ "type": "text",
297
+ "primaryKey": true,
298
+ "notNull": true,
299
+ "autoincrement": false
300
+ },
301
+ "bot_id": {
302
+ "name": "bot_id",
303
+ "type": "text",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false
307
+ },
308
+ "chat_id": {
309
+ "name": "chat_id",
310
+ "type": "text",
311
+ "primaryKey": false,
312
+ "notNull": true,
313
+ "autoincrement": false
314
+ },
315
+ "chat_type": {
316
+ "name": "chat_type",
317
+ "type": "text",
318
+ "primaryKey": false,
319
+ "notNull": true,
320
+ "autoincrement": false
321
+ },
322
+ "display_name": {
323
+ "name": "display_name",
324
+ "type": "text",
325
+ "primaryKey": false,
326
+ "notNull": true,
327
+ "autoincrement": false
328
+ },
329
+ "status": {
330
+ "name": "status",
331
+ "type": "text",
332
+ "primaryKey": false,
333
+ "notNull": true,
334
+ "autoincrement": false
335
+ },
336
+ "applied_at": {
337
+ "name": "applied_at",
338
+ "type": "text",
339
+ "primaryKey": false,
340
+ "notNull": true,
341
+ "autoincrement": false
342
+ },
343
+ "authorized_at": {
344
+ "name": "authorized_at",
345
+ "type": "text",
346
+ "primaryKey": false,
347
+ "notNull": false,
348
+ "autoincrement": false
349
+ },
350
+ "updated_at": {
351
+ "name": "updated_at",
352
+ "type": "text",
353
+ "primaryKey": false,
354
+ "notNull": true,
355
+ "autoincrement": false
356
+ }
357
+ },
358
+ "indexes": {
359
+ "telegram_bot_chats_bot_chat_unique": {
360
+ "name": "telegram_bot_chats_bot_chat_unique",
361
+ "columns": [
362
+ "bot_id",
363
+ "chat_id"
364
+ ],
365
+ "isUnique": true
366
+ }
367
+ },
368
+ "foreignKeys": {
369
+ "telegram_bot_chats_bot_id_telegram_bots_id_fk": {
370
+ "name": "telegram_bot_chats_bot_id_telegram_bots_id_fk",
371
+ "tableFrom": "telegram_bot_chats",
372
+ "tableTo": "telegram_bots",
373
+ "columnsFrom": [
374
+ "bot_id"
375
+ ],
376
+ "columnsTo": [
377
+ "id"
378
+ ],
379
+ "onDelete": "cascade",
380
+ "onUpdate": "no action"
381
+ }
382
+ },
383
+ "compositePrimaryKeys": {},
384
+ "uniqueConstraints": {},
385
+ "checkConstraints": {
386
+ "telegram_bot_chats_status_check": {
387
+ "name": "telegram_bot_chats_status_check",
388
+ "value": "\"telegram_bot_chats\".\"status\" in ('pending', 'authorized')"
389
+ },
390
+ "telegram_bot_chats_chat_type_check": {
391
+ "name": "telegram_bot_chats_chat_type_check",
392
+ "value": "\"telegram_bot_chats\".\"chat_type\" in ('private', 'group', 'supergroup', 'channel', 'unknown')"
393
+ }
394
+ }
395
+ },
396
+ "telegram_bots": {
397
+ "name": "telegram_bots",
398
+ "columns": {
399
+ "id": {
400
+ "name": "id",
401
+ "type": "text",
402
+ "primaryKey": true,
403
+ "notNull": true,
404
+ "autoincrement": false
405
+ },
406
+ "name": {
407
+ "name": "name",
408
+ "type": "text",
409
+ "primaryKey": false,
410
+ "notNull": true,
411
+ "autoincrement": false
412
+ },
413
+ "token_enc": {
414
+ "name": "token_enc",
415
+ "type": "text",
416
+ "primaryKey": false,
417
+ "notNull": true,
418
+ "autoincrement": false
419
+ },
420
+ "enabled": {
421
+ "name": "enabled",
422
+ "type": "integer",
423
+ "primaryKey": false,
424
+ "notNull": true,
425
+ "autoincrement": false,
426
+ "default": true
427
+ },
428
+ "allow_auth_requests": {
429
+ "name": "allow_auth_requests",
430
+ "type": "integer",
431
+ "primaryKey": false,
432
+ "notNull": true,
433
+ "autoincrement": false,
434
+ "default": true
435
+ },
436
+ "last_update_id": {
437
+ "name": "last_update_id",
438
+ "type": "integer",
439
+ "primaryKey": false,
440
+ "notNull": false,
441
+ "autoincrement": false
442
+ },
443
+ "created_at": {
444
+ "name": "created_at",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": true,
448
+ "autoincrement": false
449
+ },
450
+ "updated_at": {
451
+ "name": "updated_at",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": true,
455
+ "autoincrement": false
456
+ }
457
+ },
458
+ "indexes": {},
459
+ "foreignKeys": {},
460
+ "compositePrimaryKeys": {},
461
+ "uniqueConstraints": {},
462
+ "checkConstraints": {}
463
+ },
464
+ "webhook_endpoints": {
465
+ "name": "webhook_endpoints",
466
+ "columns": {
467
+ "id": {
468
+ "name": "id",
469
+ "type": "text",
470
+ "primaryKey": true,
471
+ "notNull": true,
472
+ "autoincrement": false
473
+ },
474
+ "enabled": {
475
+ "name": "enabled",
476
+ "type": "integer",
477
+ "primaryKey": false,
478
+ "notNull": true,
479
+ "autoincrement": false,
480
+ "default": true
481
+ },
482
+ "url": {
483
+ "name": "url",
484
+ "type": "text",
485
+ "primaryKey": false,
486
+ "notNull": true,
487
+ "autoincrement": false
488
+ },
489
+ "secret": {
490
+ "name": "secret",
491
+ "type": "text",
492
+ "primaryKey": false,
493
+ "notNull": true,
494
+ "autoincrement": false
495
+ },
496
+ "event_mask": {
497
+ "name": "event_mask",
498
+ "type": "text",
499
+ "primaryKey": false,
500
+ "notNull": true,
501
+ "autoincrement": false
502
+ },
503
+ "created_at": {
504
+ "name": "created_at",
505
+ "type": "text",
506
+ "primaryKey": false,
507
+ "notNull": true,
508
+ "autoincrement": false
509
+ },
510
+ "updated_at": {
511
+ "name": "updated_at",
512
+ "type": "text",
513
+ "primaryKey": false,
514
+ "notNull": true,
515
+ "autoincrement": false
516
+ }
517
+ },
518
+ "indexes": {},
519
+ "foreignKeys": {},
520
+ "compositePrimaryKeys": {},
521
+ "uniqueConstraints": {},
522
+ "checkConstraints": {}
523
+ }
524
+ },
525
+ "views": {},
526
+ "enums": {},
527
+ "_meta": {
528
+ "schemas": {},
529
+ "tables": {},
530
+ "columns": {}
531
+ },
532
+ "internal": {
533
+ "indexes": {}
534
+ }
535
+ }
@@ -15,6 +15,13 @@
15
15
  "when": 1770838678181,
16
16
  "tag": "0001_lowly_the_twelve",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "6",
22
+ "when": 1776371321124,
23
+ "tag": "0002_broad_vengeance",
24
+ "breakpoints": true
18
25
  }
19
26
  ]
20
- }
27
+ }