tmex-cli 0.6.1 → 0.6.3

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