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,511 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "e732d466-ee77-402f-9b0b-98dacad60671",
5
- "prevId": "25e820fb-f95f-46de-ae52-10b67c645ae4",
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
- "enable_browser_bell_toast": {
211
- "name": "enable_browser_bell_toast",
212
- "type": "integer",
213
- "primaryKey": false,
214
- "notNull": true,
215
- "autoincrement": false,
216
- "default": true
217
- },
218
- "enable_telegram_bell_push": {
219
- "name": "enable_telegram_bell_push",
220
- "type": "integer",
221
- "primaryKey": false,
222
- "notNull": true,
223
- "autoincrement": false,
224
- "default": true
225
- },
226
- "ssh_reconnect_max_retries": {
227
- "name": "ssh_reconnect_max_retries",
228
- "type": "integer",
229
- "primaryKey": false,
230
- "notNull": true,
231
- "autoincrement": false
232
- },
233
- "ssh_reconnect_delay_seconds": {
234
- "name": "ssh_reconnect_delay_seconds",
235
- "type": "integer",
236
- "primaryKey": false,
237
- "notNull": true,
238
- "autoincrement": false
239
- },
240
- "language": {
241
- "name": "language",
242
- "type": "text",
243
- "primaryKey": false,
244
- "notNull": true,
245
- "autoincrement": false,
246
- "default": "'en_US'"
247
- },
248
- "updated_at": {
249
- "name": "updated_at",
250
- "type": "text",
251
- "primaryKey": false,
252
- "notNull": true,
253
- "autoincrement": false
254
- }
255
- },
256
- "indexes": {},
257
- "foreignKeys": {},
258
- "compositePrimaryKeys": {},
259
- "uniqueConstraints": {},
260
- "checkConstraints": {
261
- "site_settings_singleton_check": {
262
- "name": "site_settings_singleton_check",
263
- "value": "\"site_settings\".\"id\" = 1"
264
- }
265
- }
266
- },
267
- "telegram_bot_chats": {
268
- "name": "telegram_bot_chats",
269
- "columns": {
270
- "id": {
271
- "name": "id",
272
- "type": "text",
273
- "primaryKey": true,
274
- "notNull": true,
275
- "autoincrement": false
276
- },
277
- "bot_id": {
278
- "name": "bot_id",
279
- "type": "text",
280
- "primaryKey": false,
281
- "notNull": true,
282
- "autoincrement": false
283
- },
284
- "chat_id": {
285
- "name": "chat_id",
286
- "type": "text",
287
- "primaryKey": false,
288
- "notNull": true,
289
- "autoincrement": false
290
- },
291
- "chat_type": {
292
- "name": "chat_type",
293
- "type": "text",
294
- "primaryKey": false,
295
- "notNull": true,
296
- "autoincrement": false
297
- },
298
- "display_name": {
299
- "name": "display_name",
300
- "type": "text",
301
- "primaryKey": false,
302
- "notNull": true,
303
- "autoincrement": false
304
- },
305
- "status": {
306
- "name": "status",
307
- "type": "text",
308
- "primaryKey": false,
309
- "notNull": true,
310
- "autoincrement": false
311
- },
312
- "applied_at": {
313
- "name": "applied_at",
314
- "type": "text",
315
- "primaryKey": false,
316
- "notNull": true,
317
- "autoincrement": false
318
- },
319
- "authorized_at": {
320
- "name": "authorized_at",
321
- "type": "text",
322
- "primaryKey": false,
323
- "notNull": false,
324
- "autoincrement": false
325
- },
326
- "updated_at": {
327
- "name": "updated_at",
328
- "type": "text",
329
- "primaryKey": false,
330
- "notNull": true,
331
- "autoincrement": false
332
- }
333
- },
334
- "indexes": {
335
- "telegram_bot_chats_bot_chat_unique": {
336
- "name": "telegram_bot_chats_bot_chat_unique",
337
- "columns": [
338
- "bot_id",
339
- "chat_id"
340
- ],
341
- "isUnique": true
342
- }
343
- },
344
- "foreignKeys": {
345
- "telegram_bot_chats_bot_id_telegram_bots_id_fk": {
346
- "name": "telegram_bot_chats_bot_id_telegram_bots_id_fk",
347
- "tableFrom": "telegram_bot_chats",
348
- "tableTo": "telegram_bots",
349
- "columnsFrom": [
350
- "bot_id"
351
- ],
352
- "columnsTo": [
353
- "id"
354
- ],
355
- "onDelete": "cascade",
356
- "onUpdate": "no action"
357
- }
358
- },
359
- "compositePrimaryKeys": {},
360
- "uniqueConstraints": {},
361
- "checkConstraints": {
362
- "telegram_bot_chats_status_check": {
363
- "name": "telegram_bot_chats_status_check",
364
- "value": "\"telegram_bot_chats\".\"status\" in ('pending', 'authorized')"
365
- },
366
- "telegram_bot_chats_chat_type_check": {
367
- "name": "telegram_bot_chats_chat_type_check",
368
- "value": "\"telegram_bot_chats\".\"chat_type\" in ('private', 'group', 'supergroup', 'channel', 'unknown')"
369
- }
370
- }
371
- },
372
- "telegram_bots": {
373
- "name": "telegram_bots",
374
- "columns": {
375
- "id": {
376
- "name": "id",
377
- "type": "text",
378
- "primaryKey": true,
379
- "notNull": true,
380
- "autoincrement": false
381
- },
382
- "name": {
383
- "name": "name",
384
- "type": "text",
385
- "primaryKey": false,
386
- "notNull": true,
387
- "autoincrement": false
388
- },
389
- "token_enc": {
390
- "name": "token_enc",
391
- "type": "text",
392
- "primaryKey": false,
393
- "notNull": true,
394
- "autoincrement": false
395
- },
396
- "enabled": {
397
- "name": "enabled",
398
- "type": "integer",
399
- "primaryKey": false,
400
- "notNull": true,
401
- "autoincrement": false,
402
- "default": true
403
- },
404
- "allow_auth_requests": {
405
- "name": "allow_auth_requests",
406
- "type": "integer",
407
- "primaryKey": false,
408
- "notNull": true,
409
- "autoincrement": false,
410
- "default": true
411
- },
412
- "last_update_id": {
413
- "name": "last_update_id",
414
- "type": "integer",
415
- "primaryKey": false,
416
- "notNull": false,
417
- "autoincrement": false
418
- },
419
- "created_at": {
420
- "name": "created_at",
421
- "type": "text",
422
- "primaryKey": false,
423
- "notNull": true,
424
- "autoincrement": false
425
- },
426
- "updated_at": {
427
- "name": "updated_at",
428
- "type": "text",
429
- "primaryKey": false,
430
- "notNull": true,
431
- "autoincrement": false
432
- }
433
- },
434
- "indexes": {},
435
- "foreignKeys": {},
436
- "compositePrimaryKeys": {},
437
- "uniqueConstraints": {},
438
- "checkConstraints": {}
439
- },
440
- "webhook_endpoints": {
441
- "name": "webhook_endpoints",
442
- "columns": {
443
- "id": {
444
- "name": "id",
445
- "type": "text",
446
- "primaryKey": true,
447
- "notNull": true,
448
- "autoincrement": false
449
- },
450
- "enabled": {
451
- "name": "enabled",
452
- "type": "integer",
453
- "primaryKey": false,
454
- "notNull": true,
455
- "autoincrement": false,
456
- "default": true
457
- },
458
- "url": {
459
- "name": "url",
460
- "type": "text",
461
- "primaryKey": false,
462
- "notNull": true,
463
- "autoincrement": false
464
- },
465
- "secret": {
466
- "name": "secret",
467
- "type": "text",
468
- "primaryKey": false,
469
- "notNull": true,
470
- "autoincrement": false
471
- },
472
- "event_mask": {
473
- "name": "event_mask",
474
- "type": "text",
475
- "primaryKey": false,
476
- "notNull": true,
477
- "autoincrement": false
478
- },
479
- "created_at": {
480
- "name": "created_at",
481
- "type": "text",
482
- "primaryKey": false,
483
- "notNull": true,
484
- "autoincrement": false
485
- },
486
- "updated_at": {
487
- "name": "updated_at",
488
- "type": "text",
489
- "primaryKey": false,
490
- "notNull": true,
491
- "autoincrement": false
492
- }
493
- },
494
- "indexes": {},
495
- "foreignKeys": {},
496
- "compositePrimaryKeys": {},
497
- "uniqueConstraints": {},
498
- "checkConstraints": {}
499
- }
500
- },
501
- "views": {},
502
- "enums": {},
503
- "_meta": {
504
- "schemas": {},
505
- "tables": {},
506
- "columns": {}
507
- },
508
- "internal": {
509
- "indexes": {}
510
- }
511
- }