@omer-x/buttler 0.4.1 → 1.0.0

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 (130) hide show
  1. package/drizzle/{0000_illegal_mattie_franklin.sql → 0000_bored_night_thrasher.sql} +31 -5
  2. package/drizzle/meta/0000_snapshot.json +190 -12
  3. package/drizzle/meta/_journal.json +2 -2
  4. package/package.json +28 -24
  5. package/ui/.next/BUILD_ID +1 -1
  6. package/ui/.next/app-build-manifest.json +67 -50
  7. package/ui/.next/app-path-routes-manifest.json +1 -1
  8. package/ui/.next/build-manifest.json +15 -15
  9. package/ui/.next/prerender-manifest.json +1 -1
  10. package/ui/.next/react-loadable-manifest.json +1886 -1
  11. package/ui/.next/required-server-files.json +1 -1
  12. package/ui/.next/routes-manifest.json +1 -1
  13. package/ui/.next/server/app/_not-found/page.js +1 -1
  14. package/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
  15. package/ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  16. package/ui/.next/server/app/_not-found.html +1 -1
  17. package/ui/.next/server/app/_not-found.rsc +9 -9
  18. package/ui/.next/server/app/api/db/backup/route.js +1 -0
  19. package/ui/.next/server/app/api/db/backup/route.js.nft.json +1 -0
  20. package/ui/.next/server/app/api/logs/route.js +1 -0
  21. package/ui/.next/server/app/api/logs/route.js.nft.json +1 -0
  22. package/ui/.next/server/app/index.html +1 -1
  23. package/ui/.next/server/app/index.rsc +9 -9
  24. package/ui/.next/server/app/page.js +1 -1
  25. package/ui/.next/server/app/page.js.nft.json +1 -1
  26. package/ui/.next/server/app/page_client-reference-manifest.js +1 -1
  27. package/ui/.next/server/app/services/[id]/databases/page.js +1 -0
  28. package/ui/.next/server/app/services/[id]/databases/page.js.nft.json +1 -0
  29. package/ui/.next/server/app/services/[id]/databases/page_client-reference-manifest.js +1 -0
  30. package/ui/.next/server/app/services/[id]/edit/page.js +1 -22
  31. package/ui/.next/server/app/services/[id]/edit/page.js.nft.json +1 -1
  32. package/ui/.next/server/app/services/[id]/edit/page_client-reference-manifest.js +1 -1
  33. package/ui/.next/server/app/services/[id]/page.js +1 -1
  34. package/ui/.next/server/app/services/[id]/page.js.nft.json +1 -1
  35. package/ui/.next/server/app/services/[id]/page_client-reference-manifest.js +1 -1
  36. package/ui/.next/server/app/services/page.js +1 -1
  37. package/ui/.next/server/app/services/page.js.nft.json +1 -1
  38. package/ui/.next/server/app/services/page_client-reference-manifest.js +1 -1
  39. package/ui/.next/server/app/settings/page.js +1 -1
  40. package/ui/.next/server/app/settings/page.js.nft.json +1 -1
  41. package/ui/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  42. package/ui/.next/server/app/settings.html +1 -1
  43. package/ui/.next/server/app/settings.rsc +19 -13
  44. package/ui/.next/server/app/webhook/route.js +1 -1
  45. package/ui/.next/server/app/webhook/route.js.nft.json +1 -1
  46. package/ui/.next/server/app-paths-manifest.json +3 -0
  47. package/ui/.next/server/chunks/116.js +13 -0
  48. package/ui/.next/server/chunks/269.js +2 -0
  49. package/ui/.next/server/chunks/361.js +1 -0
  50. package/ui/.next/server/chunks/397.js +1 -6
  51. package/ui/.next/server/chunks/549.js +1 -0
  52. package/ui/.next/server/chunks/659.js +1 -0
  53. package/ui/.next/server/chunks/681.js +1 -0
  54. package/ui/.next/server/chunks/682.js +1 -1
  55. package/ui/.next/server/chunks/719.js +1 -0
  56. package/ui/.next/server/chunks/863.js +1 -0
  57. package/ui/.next/server/chunks/871.js +2 -0
  58. package/ui/.next/server/chunks/902.js +13 -0
  59. package/ui/.next/server/chunks/948.js +2 -2
  60. package/ui/.next/server/edge-instrumentation.js +1 -1
  61. package/ui/.next/server/instrumentation.js +1 -1
  62. package/ui/.next/server/middleware-build-manifest.js +1 -1
  63. package/ui/.next/server/middleware-react-loadable-manifest.js +1 -1
  64. package/ui/.next/server/pages/404.html +1 -1
  65. package/ui/.next/server/pages/500.html +1 -1
  66. package/ui/.next/server/pages/_document.js +1 -1
  67. package/ui/.next/server/pages/_error.js +1 -1
  68. package/ui/.next/server/server-reference-manifest.js +1 -1
  69. package/ui/.next/server/server-reference-manifest.json +1 -1
  70. package/ui/.next/static/chunks/117-3b8d34fa94485032.js +2 -0
  71. package/ui/.next/static/chunks/146-5b9462531053a4c5.js +1 -0
  72. package/ui/.next/static/chunks/303-c65efd1cc09d56fd.js +1 -0
  73. package/ui/.next/static/chunks/355-1e51ac955ff8955f.js +1 -0
  74. package/ui/.next/static/chunks/391-496467ca6f95afde.js +1 -0
  75. package/ui/.next/static/chunks/392-27b37c7f04898266.js +1 -0
  76. package/ui/.next/static/chunks/581-2e3e69ca13e0474f.js +1 -0
  77. package/ui/.next/static/chunks/734-02b6331f3bd9c318.js +1 -0
  78. package/ui/.next/static/chunks/857-f888440b100832b8.js +1 -0
  79. package/ui/.next/static/chunks/app/_not-found/page-31d3ea3db635cbc2.js +1 -0
  80. package/ui/.next/static/chunks/app/layout-dd91aec6218093d2.js +1 -0
  81. package/ui/.next/static/chunks/app/page-6b7dd63af3dd45de.js +1 -0
  82. package/ui/.next/static/chunks/app/services/[id]/databases/page-0ab83677f41e4872.js +1 -0
  83. package/ui/.next/static/chunks/app/services/[id]/edit/page-4e855fc95079d3b0.js +1 -0
  84. package/ui/.next/static/chunks/app/services/[id]/page-91c945af4fe4b38f.js +1 -0
  85. package/ui/.next/static/chunks/app/services/page-e1eb6d0670544d2c.js +1 -0
  86. package/ui/.next/static/chunks/app/settings/page-972e8f623bc80dde.js +1 -0
  87. package/ui/.next/static/chunks/fd9d1056-2fd070b6bf76421a.js +1 -0
  88. package/ui/.next/static/chunks/framework-00a8ba1a63cfdc9e.js +1 -0
  89. package/ui/.next/static/chunks/main-003047948bd01e37.js +1 -0
  90. package/ui/.next/static/chunks/main-app-65b07a3d5b8df539.js +1 -0
  91. package/ui/.next/static/chunks/pages/_app-15e2daefa259f0b5.js +1 -0
  92. package/ui/.next/static/chunks/pages/_error-28b803cb2479b966.js +1 -0
  93. package/ui/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  94. package/ui/.next/static/chunks/{webpack-a69de51c95087569.js → webpack-87d7cc477c47986b.js} +1 -1
  95. package/ui/.next/static/css/59996bdb2e04e5fb.css +1 -0
  96. package/ui/.next/static/css/ec6ebd6699fb7dbb.css +1 -0
  97. package/ui/.next/static/iPuJc_dz0G66oW0IF7CF9/_buildManifest.js +1 -0
  98. package/ui/package.json +28 -24
  99. package/ui/server.js +1 -1
  100. package/ui/.next/prerender-manifest.js +0 -1
  101. package/ui/.next/server/chunks/128.js +0 -6
  102. package/ui/.next/server/chunks/227.js +0 -13
  103. package/ui/.next/server/chunks/600.js +0 -1
  104. package/ui/.next/server/chunks/714.js +0 -13
  105. package/ui/.next/server/chunks/827.js +0 -1
  106. package/ui/.next/static/_Zi7qFoieimeI2cFtnG1C/_buildManifest.js +0 -1
  107. package/ui/.next/static/chunks/23-bb15da2f9712f1ee.js +0 -2
  108. package/ui/.next/static/chunks/501-8a347119a0299ef2.js +0 -22
  109. package/ui/.next/static/chunks/508-cd606e43a654c84c.js +0 -1
  110. package/ui/.next/static/chunks/639-5a16d1a387d3d90a.js +0 -5
  111. package/ui/.next/static/chunks/824-abddc9fde212a017.js +0 -1
  112. package/ui/.next/static/chunks/847-25f57fbfdbf40943.js +0 -1
  113. package/ui/.next/static/chunks/app/_not-found/page-dea2b9568f6e4d73.js +0 -1
  114. package/ui/.next/static/chunks/app/layout-3c41fcd8af4993e8.js +0 -1
  115. package/ui/.next/static/chunks/app/page-ffc06cd4473239c6.js +0 -1
  116. package/ui/.next/static/chunks/app/services/[id]/edit/page-d6a51117ff0f3181.js +0 -1
  117. package/ui/.next/static/chunks/app/services/[id]/page-33c71f6c45d4f629.js +0 -1
  118. package/ui/.next/static/chunks/app/services/page-b9fbb200ff18c8aa.js +0 -1
  119. package/ui/.next/static/chunks/app/settings/page-b8301bc5f37b7c4a.js +0 -5
  120. package/ui/.next/static/chunks/fd9d1056-f761286b613acfb1.js +0 -1
  121. package/ui/.next/static/chunks/framework-f66176bb897dc684.js +0 -33
  122. package/ui/.next/static/chunks/main-app-550ee52788cc088b.js +0 -1
  123. package/ui/.next/static/chunks/main-bc817a05693febb1.js +0 -1
  124. package/ui/.next/static/chunks/pages/_app-6a626577ffa902a4.js +0 -1
  125. package/ui/.next/static/chunks/pages/_error-1be831200e60c5c0.js +0 -1
  126. package/ui/.next/static/chunks/polyfills-78c92fac7aa8fdd8.js +0 -1
  127. package/ui/.next/static/css/294dd07620d1a861.css +0 -1
  128. package/ui/.next/static/css/475865983e61b131.css +0 -1
  129. package/ui/.next/static/css/ce0509a911764719.css +0 -1
  130. /package/ui/.next/static/{_Zi7qFoieimeI2cFtnG1C → iPuJc_dz0G66oW0IF7CF9}/_ssgManifest.js +0 -0
@@ -7,6 +7,7 @@ CREATE TABLE `build_images` (
7
7
  FOREIGN KEY (`service_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE restrict
8
8
  );
9
9
  --> statement-breakpoint
10
+ CREATE INDEX `build_image_created_at_index` ON `build_images` (`created_at`);--> statement-breakpoint
10
11
  CREATE TABLE `environment_variables` (
11
12
  `service_id` text NOT NULL,
12
13
  `key` text NOT NULL,
@@ -15,8 +16,14 @@ CREATE TABLE `environment_variables` (
15
16
  FOREIGN KEY (`service_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade
16
17
  );
17
18
  --> statement-breakpoint
19
+ CREATE TABLE `global_variables` (
20
+ `key` text PRIMARY KEY NOT NULL,
21
+ `value` text NOT NULL
22
+ );
23
+ --> statement-breakpoint
18
24
  CREATE TABLE `services` (
19
25
  `id` text PRIMARY KEY NOT NULL,
26
+ `kind` text NOT NULL,
20
27
  `name` text NOT NULL,
21
28
  `repo` text NOT NULL,
22
29
  `status` text DEFAULT 'idle' NOT NULL,
@@ -26,13 +33,32 @@ CREATE TABLE `services` (
26
33
  `updated_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL
27
34
  );
28
35
  --> statement-breakpoint
36
+ CREATE INDEX `service_created_at_index` ON `services` (`created_at`);--> statement-breakpoint
29
37
  CREATE TABLE `ports` (
30
38
  `service_id` text NOT NULL,
31
- `key` integer NOT NULL,
32
- `value` integer NOT NULL,
33
- PRIMARY KEY(`service_id`, `key`),
39
+ `external` integer NOT NULL,
40
+ `internal` integer NOT NULL,
41
+ PRIMARY KEY(`service_id`, `external`),
34
42
  FOREIGN KEY (`service_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade
35
43
  );
36
44
  --> statement-breakpoint
37
- CREATE INDEX `build_image_created_at_index` ON `build_images` (`created_at`);--> statement-breakpoint
38
- CREATE INDEX `service_created_at_index` ON `services` (`created_at`);
45
+ CREATE TABLE `volumes` (
46
+ `id` text PRIMARY KEY NOT NULL,
47
+ `service_id` text NOT NULL,
48
+ `container_path` text NOT NULL,
49
+ FOREIGN KEY (`service_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade
50
+ );
51
+ --> statement-breakpoint
52
+ CREATE TABLE `networks` (
53
+ `id` text PRIMARY KEY NOT NULL,
54
+ `service_id` text NOT NULL,
55
+ FOREIGN KEY (`service_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade
56
+ );
57
+ --> statement-breakpoint
58
+ CREATE TABLE `service_links` (
59
+ `client_id` text NOT NULL,
60
+ `provider_id` text NOT NULL,
61
+ PRIMARY KEY(`client_id`, `provider_id`),
62
+ FOREIGN KEY (`client_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade,
63
+ FOREIGN KEY (`provider_id`) REFERENCES `services`(`id`) ON UPDATE restrict ON DELETE cascade
64
+ );
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "6",
3
3
  "dialect": "sqlite",
4
- "id": "d4978208-4104-43fe-b88e-49e2caa5fc6f",
4
+ "id": "5a9bc5ee-f3b3-4407-b37e-626d8c266488",
5
5
  "prevId": "00000000-0000-0000-0000-000000000000",
6
6
  "tables": {
7
7
  "build_images": {
@@ -71,7 +71,8 @@
71
71
  }
72
72
  },
73
73
  "compositePrimaryKeys": {},
74
- "uniqueConstraints": {}
74
+ "uniqueConstraints": {},
75
+ "checkConstraints": {}
75
76
  },
76
77
  "environment_variables": {
77
78
  "name": "environment_variables",
@@ -123,7 +124,32 @@
123
124
  "name": "environment_variables_service_id_key_pk"
124
125
  }
125
126
  },
126
- "uniqueConstraints": {}
127
+ "uniqueConstraints": {},
128
+ "checkConstraints": {}
129
+ },
130
+ "global_variables": {
131
+ "name": "global_variables",
132
+ "columns": {
133
+ "key": {
134
+ "name": "key",
135
+ "type": "text",
136
+ "primaryKey": true,
137
+ "notNull": true,
138
+ "autoincrement": false
139
+ },
140
+ "value": {
141
+ "name": "value",
142
+ "type": "text",
143
+ "primaryKey": false,
144
+ "notNull": true,
145
+ "autoincrement": false
146
+ }
147
+ },
148
+ "indexes": {},
149
+ "foreignKeys": {},
150
+ "compositePrimaryKeys": {},
151
+ "uniqueConstraints": {},
152
+ "checkConstraints": {}
127
153
  },
128
154
  "services": {
129
155
  "name": "services",
@@ -135,6 +161,13 @@
135
161
  "notNull": true,
136
162
  "autoincrement": false
137
163
  },
164
+ "kind": {
165
+ "name": "kind",
166
+ "type": "text",
167
+ "primaryKey": false,
168
+ "notNull": true,
169
+ "autoincrement": false
170
+ },
138
171
  "name": {
139
172
  "name": "name",
140
173
  "type": "text",
@@ -199,7 +232,8 @@
199
232
  },
200
233
  "foreignKeys": {},
201
234
  "compositePrimaryKeys": {},
202
- "uniqueConstraints": {}
235
+ "uniqueConstraints": {},
236
+ "checkConstraints": {}
203
237
  },
204
238
  "ports": {
205
239
  "name": "ports",
@@ -211,15 +245,15 @@
211
245
  "notNull": true,
212
246
  "autoincrement": false
213
247
  },
214
- "key": {
215
- "name": "key",
248
+ "external": {
249
+ "name": "external",
216
250
  "type": "integer",
217
251
  "primaryKey": false,
218
252
  "notNull": true,
219
253
  "autoincrement": false
220
254
  },
221
- "value": {
222
- "name": "value",
255
+ "internal": {
256
+ "name": "internal",
223
257
  "type": "integer",
224
258
  "primaryKey": false,
225
259
  "notNull": true,
@@ -243,17 +277,161 @@
243
277
  }
244
278
  },
245
279
  "compositePrimaryKeys": {
246
- "ports_service_id_key_pk": {
280
+ "ports_service_id_external_pk": {
247
281
  "columns": [
248
282
  "service_id",
249
- "key"
283
+ "external"
284
+ ],
285
+ "name": "ports_service_id_external_pk"
286
+ }
287
+ },
288
+ "uniqueConstraints": {},
289
+ "checkConstraints": {}
290
+ },
291
+ "volumes": {
292
+ "name": "volumes",
293
+ "columns": {
294
+ "id": {
295
+ "name": "id",
296
+ "type": "text",
297
+ "primaryKey": true,
298
+ "notNull": true,
299
+ "autoincrement": false
300
+ },
301
+ "service_id": {
302
+ "name": "service_id",
303
+ "type": "text",
304
+ "primaryKey": false,
305
+ "notNull": true,
306
+ "autoincrement": false
307
+ },
308
+ "container_path": {
309
+ "name": "container_path",
310
+ "type": "text",
311
+ "primaryKey": false,
312
+ "notNull": true,
313
+ "autoincrement": false
314
+ }
315
+ },
316
+ "indexes": {},
317
+ "foreignKeys": {
318
+ "volumes_service_id_services_id_fk": {
319
+ "name": "volumes_service_id_services_id_fk",
320
+ "tableFrom": "volumes",
321
+ "tableTo": "services",
322
+ "columnsFrom": [
323
+ "service_id"
324
+ ],
325
+ "columnsTo": [
326
+ "id"
327
+ ],
328
+ "onDelete": "cascade",
329
+ "onUpdate": "restrict"
330
+ }
331
+ },
332
+ "compositePrimaryKeys": {},
333
+ "uniqueConstraints": {},
334
+ "checkConstraints": {}
335
+ },
336
+ "networks": {
337
+ "name": "networks",
338
+ "columns": {
339
+ "id": {
340
+ "name": "id",
341
+ "type": "text",
342
+ "primaryKey": true,
343
+ "notNull": true,
344
+ "autoincrement": false
345
+ },
346
+ "service_id": {
347
+ "name": "service_id",
348
+ "type": "text",
349
+ "primaryKey": false,
350
+ "notNull": true,
351
+ "autoincrement": false
352
+ }
353
+ },
354
+ "indexes": {},
355
+ "foreignKeys": {
356
+ "networks_service_id_services_id_fk": {
357
+ "name": "networks_service_id_services_id_fk",
358
+ "tableFrom": "networks",
359
+ "tableTo": "services",
360
+ "columnsFrom": [
361
+ "service_id"
362
+ ],
363
+ "columnsTo": [
364
+ "id"
365
+ ],
366
+ "onDelete": "cascade",
367
+ "onUpdate": "restrict"
368
+ }
369
+ },
370
+ "compositePrimaryKeys": {},
371
+ "uniqueConstraints": {},
372
+ "checkConstraints": {}
373
+ },
374
+ "service_links": {
375
+ "name": "service_links",
376
+ "columns": {
377
+ "client_id": {
378
+ "name": "client_id",
379
+ "type": "text",
380
+ "primaryKey": false,
381
+ "notNull": true,
382
+ "autoincrement": false
383
+ },
384
+ "provider_id": {
385
+ "name": "provider_id",
386
+ "type": "text",
387
+ "primaryKey": false,
388
+ "notNull": true,
389
+ "autoincrement": false
390
+ }
391
+ },
392
+ "indexes": {},
393
+ "foreignKeys": {
394
+ "service_links_client_id_services_id_fk": {
395
+ "name": "service_links_client_id_services_id_fk",
396
+ "tableFrom": "service_links",
397
+ "tableTo": "services",
398
+ "columnsFrom": [
399
+ "client_id"
400
+ ],
401
+ "columnsTo": [
402
+ "id"
403
+ ],
404
+ "onDelete": "cascade",
405
+ "onUpdate": "restrict"
406
+ },
407
+ "service_links_provider_id_services_id_fk": {
408
+ "name": "service_links_provider_id_services_id_fk",
409
+ "tableFrom": "service_links",
410
+ "tableTo": "services",
411
+ "columnsFrom": [
412
+ "provider_id"
413
+ ],
414
+ "columnsTo": [
415
+ "id"
416
+ ],
417
+ "onDelete": "cascade",
418
+ "onUpdate": "restrict"
419
+ }
420
+ },
421
+ "compositePrimaryKeys": {
422
+ "service_links_client_id_provider_id_pk": {
423
+ "columns": [
424
+ "client_id",
425
+ "provider_id"
250
426
  ],
251
- "name": "ports_service_id_key_pk"
427
+ "name": "service_links_client_id_provider_id_pk"
252
428
  }
253
429
  },
254
- "uniqueConstraints": {}
430
+ "uniqueConstraints": {},
431
+ "checkConstraints": {}
255
432
  }
256
433
  },
434
+ "views": {},
257
435
  "enums": {},
258
436
  "_meta": {
259
437
  "schemas": {},
@@ -5,8 +5,8 @@
5
5
  {
6
6
  "idx": 0,
7
7
  "version": "6",
8
- "when": 1725167576516,
9
- "tag": "0000_illegal_mattie_franklin",
8
+ "when": 1733009126467,
9
+ "tag": "0000_bored_night_thrasher",
10
10
  "breakpoints": true
11
11
  }
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omer-x/buttler",
3
- "version": "0.4.1",
3
+ "version": "1.0.0",
4
4
  "description": "automates CI/CD workflows using Docker and GitHub webhooks",
5
5
  "keywords": [
6
6
  "automation",
@@ -51,50 +51,54 @@
51
51
  "lint": "next lint",
52
52
  "lint:fix": "next lint --fix",
53
53
  "dev": "next dev",
54
+ "build:migration": "tsx scripts/migrate.ts",
54
55
  "build:ui": "next build",
55
56
  "postbuild:ui": "rimraf ui && copyfiles -u 2 -a '.next/standalone/**/*' ui && copyfiles -a '.next/static/**/*' ui && copyfiles -a 'public/**/*' ui && rimraf ui/node_modules",
56
57
  "build": "npm run build:cli && npm run build:ui"
57
58
  },
58
59
  "dependencies": {
59
- "@fortawesome/fontawesome-svg-core": "^6.6.0",
60
- "@fortawesome/free-brands-svg-icons": "^6.6.0",
61
- "@fortawesome/free-solid-svg-icons": "^6.6.0",
60
+ "@fortawesome/fontawesome-svg-core": "^6.7.1",
61
+ "@fortawesome/free-brands-svg-icons": "^6.7.1",
62
+ "@fortawesome/free-solid-svg-icons": "^6.7.1",
62
63
  "@fortawesome/react-fontawesome": "^0.2.2",
63
- "@omer-x/bs-ui-kit": "^0.17.0",
64
- "better-sqlite3": "^11.2.1",
64
+ "@omer-x/bs-ui-kit": "^1.7.1",
65
+ "better-sqlite3": "^11.6.0",
65
66
  "bootstrap": "^5.3.3",
66
67
  "change-case": "^5.4.4",
67
68
  "commander": "^12.1.0",
68
69
  "dockerode": "^4.0.2",
69
- "drizzle-orm": "^0.33.0",
70
+ "drizzle-orm": "^0.36.4",
70
71
  "drizzle-zod": "^0.5.1",
71
- "next": "^14.2.7",
72
+ "megajs": "^1.3.4",
73
+ "next": "^14.2.18",
72
74
  "react": "^18.3.1",
73
- "react-bootstrap": "^2.10.4",
75
+ "react-bootstrap": "^2.10.6",
74
76
  "react-dom": "^18.3.1",
77
+ "react-syntax-highlighter": "^15.6.1",
75
78
  "sharp": "^0.33.5",
76
- "simple-git": "^3.26.0",
79
+ "simple-git": "^3.27.0",
77
80
  "tar-fs": "^3.0.6",
78
- "uuid": "^10.0.0",
81
+ "uuid": "^11.0.3",
79
82
  "zod": "^3.23.8"
80
83
  },
81
84
  "devDependencies": {
82
- "@next/eslint-plugin-next": "^14.2.7",
85
+ "@next/eslint-plugin-next": "^14.2.18",
83
86
  "@omer-x/eslint-config": "^1.0.7",
84
87
  "@omer-x/next-openapi-scaffold-generator": "^0.3.0",
85
- "@types/better-sqlite3": "^7.6.11",
86
- "@types/dockerode": "^3.3.31",
87
- "@types/node": "^22.5.2",
88
- "@types/react": "^18.3.5",
88
+ "@types/better-sqlite3": "^7.6.12",
89
+ "@types/dockerode": "^3.3.32",
90
+ "@types/node": "^22.10.0",
91
+ "@types/react": "^18.3.12",
92
+ "@types/react-syntax-highlighter": "^15.5.13",
89
93
  "@types/tar-fs": "^2.0.4",
90
- "@types/uuid": "^10.0.0",
91
94
  "copyfiles": "^2.4.1",
92
- "drizzle-kit": "^0.24.2",
93
- "eslint": "^8.57.0",
94
- "sass": "^1.77.8",
95
- "ts-unused-exports": "^10.1.0",
96
- "tsup": "^8.2.4",
97
- "tsx": "^4.19.0",
98
- "typescript": "^5.5.4"
95
+ "drizzle-kit": "^0.28.1",
96
+ "eslint": "^8.57.1",
97
+ "sass": "^1.81.0",
98
+ "semantic-release": "^24.2.0",
99
+ "ts-unused-exports": "^11.0.1",
100
+ "tsup": "^8.3.5",
101
+ "tsx": "^4.19.2",
102
+ "typescript": "^5.7.2"
99
103
  }
100
104
  }
package/ui/.next/BUILD_ID CHANGED
@@ -1 +1 @@
1
- _Zi7qFoieimeI2cFtnG1C
1
+ iPuJc_dz0G66oW0IF7CF9
@@ -1,70 +1,87 @@
1
1
  {
2
2
  "pages": {
3
3
  "/_not-found/page": [
4
- "static/chunks/webpack-a69de51c95087569.js",
5
- "static/chunks/fd9d1056-f761286b613acfb1.js",
6
- "static/chunks/23-bb15da2f9712f1ee.js",
7
- "static/chunks/main-app-550ee52788cc088b.js",
8
- "static/chunks/app/_not-found/page-dea2b9568f6e4d73.js"
4
+ "static/chunks/webpack-87d7cc477c47986b.js",
5
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
6
+ "static/chunks/117-3b8d34fa94485032.js",
7
+ "static/chunks/main-app-65b07a3d5b8df539.js",
8
+ "static/chunks/app/_not-found/page-31d3ea3db635cbc2.js"
9
9
  ],
10
10
  "/layout": [
11
- "static/chunks/webpack-a69de51c95087569.js",
12
- "static/chunks/fd9d1056-f761286b613acfb1.js",
13
- "static/chunks/23-bb15da2f9712f1ee.js",
14
- "static/chunks/main-app-550ee52788cc088b.js",
15
- "static/css/475865983e61b131.css",
16
- "static/css/294dd07620d1a861.css",
17
- "static/chunks/639-5a16d1a387d3d90a.js",
18
- "static/chunks/824-abddc9fde212a017.js",
19
- "static/chunks/508-cd606e43a654c84c.js",
20
- "static/chunks/app/layout-3c41fcd8af4993e8.js"
11
+ "static/chunks/webpack-87d7cc477c47986b.js",
12
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
13
+ "static/chunks/117-3b8d34fa94485032.js",
14
+ "static/chunks/main-app-65b07a3d5b8df539.js",
15
+ "static/css/ec6ebd6699fb7dbb.css",
16
+ "static/css/59996bdb2e04e5fb.css",
17
+ "static/chunks/581-2e3e69ca13e0474f.js",
18
+ "static/chunks/392-27b37c7f04898266.js",
19
+ "static/chunks/857-f888440b100832b8.js",
20
+ "static/chunks/app/layout-dd91aec6218093d2.js"
21
21
  ],
22
22
  "/page": [
23
- "static/chunks/webpack-a69de51c95087569.js",
24
- "static/chunks/fd9d1056-f761286b613acfb1.js",
25
- "static/chunks/23-bb15da2f9712f1ee.js",
26
- "static/chunks/main-app-550ee52788cc088b.js",
27
- "static/chunks/app/page-ffc06cd4473239c6.js"
23
+ "static/chunks/webpack-87d7cc477c47986b.js",
24
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
25
+ "static/chunks/117-3b8d34fa94485032.js",
26
+ "static/chunks/main-app-65b07a3d5b8df539.js",
27
+ "static/chunks/app/page-6b7dd63af3dd45de.js"
28
28
  ],
29
- "/services/[id]/edit/page": [
30
- "static/chunks/webpack-a69de51c95087569.js",
31
- "static/chunks/fd9d1056-f761286b613acfb1.js",
32
- "static/chunks/23-bb15da2f9712f1ee.js",
33
- "static/chunks/main-app-550ee52788cc088b.js",
34
- "static/css/ce0509a911764719.css",
29
+ "/services/[id]/databases/page": [
30
+ "static/chunks/webpack-87d7cc477c47986b.js",
31
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
32
+ "static/chunks/117-3b8d34fa94485032.js",
33
+ "static/chunks/main-app-65b07a3d5b8df539.js",
35
34
  "static/css/001936a28cd34ad6.css",
36
- "static/chunks/639-5a16d1a387d3d90a.js",
37
- "static/chunks/847-25f57fbfdbf40943.js",
38
- "static/chunks/824-abddc9fde212a017.js",
39
- "static/chunks/501-8a347119a0299ef2.js",
40
- "static/chunks/app/services/[id]/edit/page-d6a51117ff0f3181.js"
35
+ "static/chunks/581-2e3e69ca13e0474f.js",
36
+ "static/chunks/146-5b9462531053a4c5.js",
37
+ "static/chunks/355-1e51ac955ff8955f.js",
38
+ "static/chunks/391-496467ca6f95afde.js",
39
+ "static/chunks/app/services/[id]/databases/page-0ab83677f41e4872.js"
40
+ ],
41
+ "/services/[id]/edit/page": [
42
+ "static/chunks/webpack-87d7cc477c47986b.js",
43
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
44
+ "static/chunks/117-3b8d34fa94485032.js",
45
+ "static/chunks/main-app-65b07a3d5b8df539.js",
46
+ "static/chunks/581-2e3e69ca13e0474f.js",
47
+ "static/chunks/146-5b9462531053a4c5.js",
48
+ "static/chunks/355-1e51ac955ff8955f.js",
49
+ "static/chunks/392-27b37c7f04898266.js",
50
+ "static/chunks/734-02b6331f3bd9c318.js",
51
+ "static/chunks/app/services/[id]/edit/page-4e855fc95079d3b0.js"
41
52
  ],
42
53
  "/services/[id]/page": [
43
- "static/chunks/webpack-a69de51c95087569.js",
44
- "static/chunks/fd9d1056-f761286b613acfb1.js",
45
- "static/chunks/23-bb15da2f9712f1ee.js",
46
- "static/chunks/main-app-550ee52788cc088b.js",
54
+ "static/chunks/webpack-87d7cc477c47986b.js",
55
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
56
+ "static/chunks/117-3b8d34fa94485032.js",
57
+ "static/chunks/main-app-65b07a3d5b8df539.js",
47
58
  "static/css/001936a28cd34ad6.css",
48
- "static/chunks/639-5a16d1a387d3d90a.js",
49
- "static/chunks/847-25f57fbfdbf40943.js",
50
- "static/chunks/app/services/[id]/page-33c71f6c45d4f629.js"
59
+ "static/chunks/581-2e3e69ca13e0474f.js",
60
+ "static/chunks/146-5b9462531053a4c5.js",
61
+ "static/chunks/355-1e51ac955ff8955f.js",
62
+ "static/chunks/391-496467ca6f95afde.js",
63
+ "static/chunks/303-c65efd1cc09d56fd.js",
64
+ "static/chunks/app/services/[id]/page-91c945af4fe4b38f.js"
51
65
  ],
52
66
  "/settings/page": [
53
- "static/chunks/webpack-a69de51c95087569.js",
54
- "static/chunks/fd9d1056-f761286b613acfb1.js",
55
- "static/chunks/23-bb15da2f9712f1ee.js",
56
- "static/chunks/main-app-550ee52788cc088b.js",
57
- "static/chunks/app/settings/page-b8301bc5f37b7c4a.js"
67
+ "static/chunks/webpack-87d7cc477c47986b.js",
68
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
69
+ "static/chunks/117-3b8d34fa94485032.js",
70
+ "static/chunks/main-app-65b07a3d5b8df539.js",
71
+ "static/chunks/146-5b9462531053a4c5.js",
72
+ "static/chunks/app/settings/page-972e8f623bc80dde.js"
58
73
  ],
59
74
  "/services/page": [
60
- "static/chunks/webpack-a69de51c95087569.js",
61
- "static/chunks/fd9d1056-f761286b613acfb1.js",
62
- "static/chunks/23-bb15da2f9712f1ee.js",
63
- "static/chunks/main-app-550ee52788cc088b.js",
75
+ "static/chunks/webpack-87d7cc477c47986b.js",
76
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
77
+ "static/chunks/117-3b8d34fa94485032.js",
78
+ "static/chunks/main-app-65b07a3d5b8df539.js",
64
79
  "static/css/001936a28cd34ad6.css",
65
- "static/chunks/639-5a16d1a387d3d90a.js",
66
- "static/chunks/847-25f57fbfdbf40943.js",
67
- "static/chunks/app/services/page-b9fbb200ff18c8aa.js"
80
+ "static/chunks/581-2e3e69ca13e0474f.js",
81
+ "static/chunks/146-5b9462531053a4c5.js",
82
+ "static/chunks/355-1e51ac955ff8955f.js",
83
+ "static/chunks/391-496467ca6f95afde.js",
84
+ "static/chunks/app/services/page-e1eb6d0670544d2c.js"
68
85
  ]
69
86
  }
70
87
  }
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/page":"/","/services/[id]/edit/page":"/services/[id]/edit","/services/[id]/page":"/services/[id]","/settings/page":"/settings","/webhook/route":"/webhook","/services/page":"/services"}
1
+ {"/_not-found/page":"/_not-found","/api/logs/route":"/api/logs","/api/db/backup/route":"/api/db/backup","/page":"/","/services/[id]/databases/page":"/services/[id]/databases","/services/[id]/edit/page":"/services/[id]/edit","/services/[id]/page":"/services/[id]","/settings/page":"/settings","/webhook/route":"/webhook","/services/page":"/services"}
@@ -1,31 +1,31 @@
1
1
  {
2
2
  "polyfillFiles": [
3
- "static/chunks/polyfills-78c92fac7aa8fdd8.js"
3
+ "static/chunks/polyfills-42372ed130431b0a.js"
4
4
  ],
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/_Zi7qFoieimeI2cFtnG1C/_buildManifest.js",
9
- "static/_Zi7qFoieimeI2cFtnG1C/_ssgManifest.js"
8
+ "static/iPuJc_dz0G66oW0IF7CF9/_buildManifest.js",
9
+ "static/iPuJc_dz0G66oW0IF7CF9/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
- "static/chunks/webpack-a69de51c95087569.js",
13
- "static/chunks/fd9d1056-f761286b613acfb1.js",
14
- "static/chunks/23-bb15da2f9712f1ee.js",
15
- "static/chunks/main-app-550ee52788cc088b.js"
12
+ "static/chunks/webpack-87d7cc477c47986b.js",
13
+ "static/chunks/fd9d1056-2fd070b6bf76421a.js",
14
+ "static/chunks/117-3b8d34fa94485032.js",
15
+ "static/chunks/main-app-65b07a3d5b8df539.js"
16
16
  ],
17
17
  "pages": {
18
18
  "/_app": [
19
- "static/chunks/webpack-a69de51c95087569.js",
20
- "static/chunks/framework-f66176bb897dc684.js",
21
- "static/chunks/main-bc817a05693febb1.js",
22
- "static/chunks/pages/_app-6a626577ffa902a4.js"
19
+ "static/chunks/webpack-87d7cc477c47986b.js",
20
+ "static/chunks/framework-00a8ba1a63cfdc9e.js",
21
+ "static/chunks/main-003047948bd01e37.js",
22
+ "static/chunks/pages/_app-15e2daefa259f0b5.js"
23
23
  ],
24
24
  "/_error": [
25
- "static/chunks/webpack-a69de51c95087569.js",
26
- "static/chunks/framework-f66176bb897dc684.js",
27
- "static/chunks/main-bc817a05693febb1.js",
28
- "static/chunks/pages/_error-1be831200e60c5c0.js"
25
+ "static/chunks/webpack-87d7cc477c47986b.js",
26
+ "static/chunks/framework-00a8ba1a63cfdc9e.js",
27
+ "static/chunks/main-003047948bd01e37.js",
28
+ "static/chunks/pages/_error-28b803cb2479b966.js"
29
29
  ]
30
30
  },
31
31
  "ampFirstPages": []
@@ -1 +1 @@
1
- {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"},"/settings":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/settings","dataRoute":"/settings.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"7723b8e8cd59ed84d6a2ec9e47a45b1a","previewModeSigningKey":"50bd70b2ef2b32e25bbb92cb055e6f9d8bb95c6808342472e2fbfa4ef6ea7136","previewModeEncryptionKey":"c46b0ba43a6e01bae1c08cdfd2cdf965a67dc347054d69fd321c096c328c9fe4"}}
1
+ {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"},"/settings":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/settings","dataRoute":"/settings.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"cc8c04271a405ae179fd151da9fd2a22","previewModeSigningKey":"0d1f3f247a5cb5e332bfd10c1728402d98ef47886df45ab47d7c7cf55be6a611","previewModeEncryptionKey":"c0b3f5f1e8fe2aa4cbb896228bf8fc8aa940834e9f435bf35df5f55a477f40ab"}}