@futo-org/backups-orchestrator-ui 1.8.1 → 1.9.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.
- package/dist/components/backups/BackupItem.svelte +11 -0
- package/dist/components/backups/BackupStatus.svelte +16 -6
- package/dist/components/backups/BackupStatus.svelte.d.ts +1 -2
- package/dist/components/backups/BackupTaskMonitor.svelte +2 -2
- package/dist/components/backups/dialogs/CancelJobModal.svelte +59 -0
- package/dist/components/backups/dialogs/CancelJobModal.svelte.d.ts +8 -0
- package/dist/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte +39 -0
- package/dist/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte.d.ts +6 -0
- package/dist/components/backups/dialogs/RestoreSnapshotModal.svelte +2 -2
- package/dist/components/backups/dialogs/SelectRepositoryModal.svelte +35 -17
- package/dist/components/backups/dialogs/ViewStatusModal.svelte +61 -62
- package/dist/components/backups/dialogs/ViewStatusModal.svelte.d.ts +1 -1
- package/dist/components/backups/metrics-history/MetricsHistoryModal.svelte +2 -7
- package/dist/components/backups/run-history/RepositoryRunHistory.svelte +10 -10
- package/dist/components/backups/run-history/RepositoryRunHistoryItem.svelte +43 -18
- package/dist/components/backups/run-history/RepositoryRunHistoryItem.svelte.d.ts +2 -2
- package/dist/components/backups/run-history/RepositoryRunHistoryPage.svelte +17 -16
- package/dist/components/backups/snapshots-list/RepositorySnapshotsList.svelte +2 -2
- package/dist/components/backups/snapshots-list/RepositorySnapshotsPage.svelte +2 -2
- package/dist/components/integrations/immich/ImmichBackupSettingsPage.svelte +2 -0
- package/dist/components/integrations/immich/ImmichManageBackupOverview.svelte +7 -3
- package/dist/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte +0 -1
- package/dist/components/integrations/immich/settings/ImmichSettingsSchedule.svelte +0 -1
- package/dist/components/jobs/JobProgressLabel.svelte +30 -0
- package/dist/components/jobs/JobProgressLabel.svelte.d.ts +6 -0
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow3ConfirmRestore.svelte +4 -4
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte +32 -20
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte.d.ts +1 -2
- package/dist/components/schedules/dialogs/ConfigureScheduleModal.svelte +6 -1
- package/dist/components/schedules/dialogs/CreateScheduleModal.svelte +7 -2
- package/dist/components/settings/GlobalSettings.svelte +2 -0
- package/dist/components/settings/SettingsSupportMode.svelte +154 -0
- package/dist/components/settings/SettingsSupportMode.svelte.d.ts +3 -0
- package/dist/components/test/dashboard/Dashboard.svelte +0 -3
- package/dist/components/util/RelativeTime.svelte +8 -1
- package/dist/components/util/RelativeTime.svelte.d.ts +1 -0
- package/dist/fetch-client.d.ts +110 -59
- package/dist/fetch-client.js +70 -49
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -3
- package/dist/locales/en-XA.js +1 -1
- package/dist/locales/en-XA.po +209 -30
- package/dist/locales/en.js +1 -1
- package/dist/locales/en.po +210 -31
- package/dist/services/immich.integration.service.d.ts +6 -3
- package/dist/services/immich.integration.service.js +5 -4
- package/dist/services/job.service.d.ts +42 -0
- package/dist/services/job.service.js +146 -0
- package/dist/services/repository.service.d.ts +2 -2
- package/dist/services/repository.service.js +37 -2
- package/dist/services/snapshot.service.d.ts +5 -9
- package/dist/services/snapshot.service.js +2 -3
- package/dist/services/supportMode.service.d.ts +8 -0
- package/dist/services/supportMode.service.js +19 -0
- package/dist/utils/cron.d.ts +1 -0
- package/dist/utils/cron.js +18 -0
- package/dist/utils/repository.d.ts +4 -0
- package/dist/utils/repository.js +15 -0
- package/dist/utils/supportMode.d.ts +2 -0
- package/dist/utils/supportMode.js +2 -0
- package/package.json +2 -2
- package/dist/components/test/dashboard/ActiveJobs.svelte +0 -393
- package/dist/components/test/dashboard/ActiveJobs.svelte.d.ts +0 -3
- package/dist/services/log.service.svelte.d.ts +0 -67
- package/dist/services/log.service.svelte.js +0 -123
- package/dist/services/runHistory.service.d.ts +0 -37
- package/dist/services/runHistory.service.js +0 -102
- package/dist/services/task.service.d.ts +0 -3
- package/dist/services/task.service.js +0 -21
package/dist/locales/en.po
CHANGED
|
@@ -65,6 +65,10 @@ msgstr "{name} completed with warnings"
|
|
|
65
65
|
msgid "{name} failed"
|
|
66
66
|
msgstr "{name} failed"
|
|
67
67
|
|
|
68
|
+
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
69
|
+
msgid "{name} interrupted"
|
|
70
|
+
msgstr "{name} interrupted"
|
|
71
|
+
|
|
68
72
|
#: src/lib/components/ui/PathPickerModal.svelte
|
|
69
73
|
msgid "{name} selected"
|
|
70
74
|
msgstr "{name} selected"
|
|
@@ -73,6 +77,10 @@ msgstr "{name} selected"
|
|
|
73
77
|
msgid "{num, plural, one {# backup removed} other {# backups removed}}"
|
|
74
78
|
msgstr "{num, plural, one {# backup removed} other {# backups removed}}"
|
|
75
79
|
|
|
80
|
+
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
81
|
+
msgid "{num, plural, one {# backup} other {# backups}}"
|
|
82
|
+
msgstr "{num, plural, one {# backup} other {# backups}}"
|
|
83
|
+
|
|
76
84
|
#: src/lib/components/backups/snapshots-list/RepositorySnapshotsListItem.svelte
|
|
77
85
|
msgid "{num, plural, one {# file} other {# files}}"
|
|
78
86
|
msgstr "{num, plural, one {# file} other {# files}}"
|
|
@@ -85,6 +93,10 @@ msgstr "{num, plural, one {# repository} other {# repositories}}"
|
|
|
85
93
|
msgid "{num, plural, one {Completed with # warning.} other {Completed with # warnings.}}"
|
|
86
94
|
msgstr "{num, plural, one {Completed with # warning.} other {Completed with # warnings.}}"
|
|
87
95
|
|
|
96
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
97
|
+
msgid "{num, plural, one {Support mode is on for the next run.} other {Support mode is on for the next # runs.}}"
|
|
98
|
+
msgstr "{num, plural, one {Support mode is on for the next run.} other {Support mode is on for the next # runs.}}"
|
|
99
|
+
|
|
88
100
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
89
101
|
msgid "{phase} · {percent}%"
|
|
90
102
|
msgstr "{phase} · {percent}%"
|
|
@@ -93,6 +105,10 @@ msgstr "{phase} · {percent}%"
|
|
|
93
105
|
msgid "{running} in progress"
|
|
94
106
|
msgstr "{running} in progress"
|
|
95
107
|
|
|
108
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
109
|
+
msgid "{running} queued"
|
|
110
|
+
msgstr "{running} queued"
|
|
111
|
+
|
|
96
112
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
97
113
|
msgid "{successful} of {total} successful"
|
|
98
114
|
msgstr "{successful} of {total} successful"
|
|
@@ -118,7 +134,7 @@ msgstr "A folder on this computer."
|
|
|
118
134
|
msgid "A memorable name for this backup"
|
|
119
135
|
msgstr "A memorable name for this backup"
|
|
120
136
|
|
|
121
|
-
#: src/lib/services/
|
|
137
|
+
#: src/lib/services/job.service.ts
|
|
122
138
|
msgid "About {duration} remaining"
|
|
123
139
|
msgstr "About {duration} remaining"
|
|
124
140
|
|
|
@@ -257,15 +273,15 @@ msgid "Backup"
|
|
|
257
273
|
msgstr "Backup"
|
|
258
274
|
|
|
259
275
|
#: src/lib/components/backups/metrics-history/MetricsHistoryModal.svelte
|
|
260
|
-
#: src/lib/services/
|
|
276
|
+
#: src/lib/services/job.service.ts
|
|
261
277
|
msgid "Backup cancelled"
|
|
262
278
|
msgstr "Backup cancelled"
|
|
263
279
|
|
|
264
|
-
#: src/lib/services/
|
|
280
|
+
#: src/lib/services/job.service.ts
|
|
265
281
|
msgid "Backup complete"
|
|
266
282
|
msgstr "Backup complete"
|
|
267
283
|
|
|
268
|
-
#: src/lib/services/
|
|
284
|
+
#: src/lib/services/job.service.ts
|
|
269
285
|
msgid "Backup completed with warnings"
|
|
270
286
|
msgstr "Backup completed with warnings"
|
|
271
287
|
|
|
@@ -288,7 +304,7 @@ msgstr "Backup did not complete"
|
|
|
288
304
|
|
|
289
305
|
#: src/lib/components/backups/metrics-history/MetricsHistoryModal.svelte
|
|
290
306
|
#: src/lib/components/integrations/immich/ImmichBackupsSidebarItem.svelte
|
|
291
|
-
#: src/lib/services/
|
|
307
|
+
#: src/lib/services/job.service.ts
|
|
292
308
|
msgid "Backup failed"
|
|
293
309
|
msgstr "Backup failed"
|
|
294
310
|
|
|
@@ -320,6 +336,10 @@ msgstr "Backup includes"
|
|
|
320
336
|
msgid "Backup incomplete"
|
|
321
337
|
msgstr "Backup incomplete"
|
|
322
338
|
|
|
339
|
+
#: src/lib/services/job.service.ts
|
|
340
|
+
msgid "Backup interrupted"
|
|
341
|
+
msgstr "Backup interrupted"
|
|
342
|
+
|
|
323
343
|
#: src/lib/components/integrations/immich/ImmichManageBackupOverview.svelte
|
|
324
344
|
msgid "Backup is missing on the service."
|
|
325
345
|
msgstr "Backup is missing on the service."
|
|
@@ -427,6 +447,7 @@ msgstr "Can't read repository."
|
|
|
427
447
|
|
|
428
448
|
#: src/lib/components/backends/dialogs/OAuthDeviceFlowModal.svelte
|
|
429
449
|
#: src/lib/components/backends/dialogs/SelectBackendModal.svelte
|
|
450
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
430
451
|
#: src/lib/components/backups/dialogs/RollbackSnapshotModal.svelte
|
|
431
452
|
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
432
453
|
#: src/lib/components/onboarding/steps/OnboardingStepBackupServices.svelte
|
|
@@ -436,18 +457,37 @@ msgid "Cancel"
|
|
|
436
457
|
msgstr "Cancel"
|
|
437
458
|
|
|
438
459
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
460
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
439
461
|
#: src/lib/components/integrations/immich/ImmichManageBackupOverview.svelte
|
|
440
462
|
msgid "Cancel backup"
|
|
441
463
|
msgstr "Cancel backup"
|
|
442
464
|
|
|
443
465
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
466
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
444
467
|
msgid "Cancel prune"
|
|
445
468
|
msgstr "Cancel prune"
|
|
446
469
|
|
|
447
470
|
#: src/lib/components/backups/BackupStatus.svelte
|
|
471
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
448
472
|
msgid "Cancel restore"
|
|
449
473
|
msgstr "Cancel restore"
|
|
450
474
|
|
|
475
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
476
|
+
msgid "Cancel this backup?"
|
|
477
|
+
msgstr "Cancel this backup?"
|
|
478
|
+
|
|
479
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
480
|
+
msgid "Cancel this prune?"
|
|
481
|
+
msgstr "Cancel this prune?"
|
|
482
|
+
|
|
483
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
484
|
+
msgid "Cancel this restore?"
|
|
485
|
+
msgstr "Cancel this restore?"
|
|
486
|
+
|
|
487
|
+
#: src/lib/components/backups/BackupItem.svelte
|
|
488
|
+
msgid "Cancelled"
|
|
489
|
+
msgstr "Cancelled"
|
|
490
|
+
|
|
451
491
|
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
452
492
|
msgid "Cancelled {noun}"
|
|
453
493
|
msgstr "Cancelled {noun}"
|
|
@@ -599,7 +639,7 @@ msgstr "Copy"
|
|
|
599
639
|
msgid "Copy code"
|
|
600
640
|
msgstr "Copy code"
|
|
601
641
|
|
|
602
|
-
#: src/lib/services/
|
|
642
|
+
#: src/lib/services/job.service.ts
|
|
603
643
|
msgid "Could not finish backing up."
|
|
604
644
|
msgstr "Could not finish backing up."
|
|
605
645
|
|
|
@@ -690,7 +730,7 @@ msgstr "Disable write-only"
|
|
|
690
730
|
msgid "Discord account linked. You can head back to Discord."
|
|
691
731
|
msgstr "Discord account linked. You can head back to Discord."
|
|
692
732
|
|
|
693
|
-
#: src/lib/services/
|
|
733
|
+
#: src/lib/services/job.service.ts
|
|
694
734
|
msgid "Download Full Log"
|
|
695
735
|
msgstr "Download Full Log"
|
|
696
736
|
|
|
@@ -698,6 +738,10 @@ msgstr "Download Full Log"
|
|
|
698
738
|
msgid "Download recovery key"
|
|
699
739
|
msgstr "Download recovery key"
|
|
700
740
|
|
|
741
|
+
#: src/lib/services/job.service.ts
|
|
742
|
+
msgid "Download Support Log"
|
|
743
|
+
msgstr "Download Support Log"
|
|
744
|
+
|
|
701
745
|
#: src/lib/components/onboarding/RecoveryKeyDisplay.svelte
|
|
702
746
|
msgid "Downloaded"
|
|
703
747
|
msgstr "Downloaded"
|
|
@@ -733,8 +777,8 @@ msgstr "Enter a backup name."
|
|
|
733
777
|
|
|
734
778
|
#: src/lib/components/schedules/dialogs/ConfigureScheduleModal.svelte
|
|
735
779
|
#: src/lib/components/schedules/dialogs/CreateScheduleModal.svelte
|
|
736
|
-
msgid "Enter a valid cron expression, for example
|
|
737
|
-
msgstr "Enter a valid cron expression, for example
|
|
780
|
+
msgid "Enter a valid cron expression, for example 0 3 * * *"
|
|
781
|
+
msgstr "Enter a valid cron expression, for example 0 3 * * *"
|
|
738
782
|
|
|
739
783
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
740
784
|
msgid "Enter an invite code to continue."
|
|
@@ -757,10 +801,6 @@ msgstr "Estimated {size}"
|
|
|
757
801
|
msgid "Event"
|
|
758
802
|
msgstr "Event"
|
|
759
803
|
|
|
760
|
-
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
761
|
-
msgid "Event Log"
|
|
762
|
-
msgstr "Event Log"
|
|
763
|
-
|
|
764
804
|
#: src/lib/components/backends/dialogs/SelectBackendModal.svelte
|
|
765
805
|
msgid "Existing Local Storage"
|
|
766
806
|
msgstr "Existing Local Storage"
|
|
@@ -784,7 +824,7 @@ msgstr "Failed {noun}"
|
|
|
784
824
|
msgid "Failed only"
|
|
785
825
|
msgstr "Failed only"
|
|
786
826
|
|
|
787
|
-
#: src/lib/services/
|
|
827
|
+
#: src/lib/services/job.service.ts
|
|
788
828
|
msgid "Failed to cancel task"
|
|
789
829
|
msgstr "Failed to cancel task"
|
|
790
830
|
|
|
@@ -841,14 +881,6 @@ msgstr "Failed to load onboarding status"
|
|
|
841
881
|
msgid "Failed to load recovery key"
|
|
842
882
|
msgstr "Failed to load recovery key"
|
|
843
883
|
|
|
844
|
-
#: src/lib/services/runHistory.service.ts
|
|
845
|
-
msgid "Failed to load run history"
|
|
846
|
-
msgstr "Failed to load run history"
|
|
847
|
-
|
|
848
|
-
#: src/lib/services/task.service.ts
|
|
849
|
-
msgid "Failed to load running tasks"
|
|
850
|
-
msgstr "Failed to load running tasks"
|
|
851
|
-
|
|
852
884
|
#: src/lib/services/schedule.service.ts
|
|
853
885
|
msgid "Failed to load schedules"
|
|
854
886
|
msgstr "Failed to load schedules"
|
|
@@ -869,6 +901,10 @@ msgstr "Failed to pause schedule"
|
|
|
869
901
|
msgid "Failed to reconfigure backend"
|
|
870
902
|
msgstr "Failed to reconfigure backend"
|
|
871
903
|
|
|
904
|
+
#: src/lib/services/repository.service.ts
|
|
905
|
+
msgid "Failed to remove repository"
|
|
906
|
+
msgstr "Failed to remove repository"
|
|
907
|
+
|
|
872
908
|
#: src/lib/services/onboarding.service.ts
|
|
873
909
|
msgid "Failed to report error"
|
|
874
910
|
msgstr "Failed to report error"
|
|
@@ -890,6 +926,10 @@ msgstr "Failed to save preferences"
|
|
|
890
926
|
msgid "Failed to save settings"
|
|
891
927
|
msgstr "Failed to save settings"
|
|
892
928
|
|
|
929
|
+
#: src/lib/services/supportMode.service.ts
|
|
930
|
+
msgid "Failed to save support mode"
|
|
931
|
+
msgstr "Failed to save support mode"
|
|
932
|
+
|
|
893
933
|
#: src/lib/services/repository.service.ts
|
|
894
934
|
msgid "Failed to start backup"
|
|
895
935
|
msgstr "Failed to start backup"
|
|
@@ -1096,6 +1136,10 @@ msgstr "I saved my recovery key somewhere safe."
|
|
|
1096
1136
|
msgid "I understand my beta backups may be deleted."
|
|
1097
1137
|
msgstr "I understand my beta backups may be deleted."
|
|
1098
1138
|
|
|
1139
|
+
#: src/lib/components/backups/dialogs/SelectRepositoryModal.svelte
|
|
1140
|
+
msgid "ID {id}"
|
|
1141
|
+
msgstr "ID {id}"
|
|
1142
|
+
|
|
1099
1143
|
#: src/lib/components/integrations/immich/ImmichDatabaseDumpAlert.svelte
|
|
1100
1144
|
msgid "Ignore"
|
|
1101
1145
|
msgstr "Ignore"
|
|
@@ -1149,6 +1193,10 @@ msgstr "In-place restore"
|
|
|
1149
1193
|
msgid "In-progress or incomplete"
|
|
1150
1194
|
msgstr "In-progress or incomplete"
|
|
1151
1195
|
|
|
1196
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1197
|
+
msgid "Include file names"
|
|
1198
|
+
msgstr "Include file names"
|
|
1199
|
+
|
|
1152
1200
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte
|
|
1153
1201
|
msgid "Include these backup settings, so they survive a restore."
|
|
1154
1202
|
msgstr "Include these backup settings, so they survive a restore."
|
|
@@ -1161,6 +1209,14 @@ msgstr "Included"
|
|
|
1161
1209
|
msgid "Included: {names}"
|
|
1162
1210
|
msgstr "Included: {names}"
|
|
1163
1211
|
|
|
1212
|
+
#: src/lib/components/backups/BackupItem.svelte
|
|
1213
|
+
msgid "Interrupted"
|
|
1214
|
+
msgstr "Interrupted"
|
|
1215
|
+
|
|
1216
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1217
|
+
msgid "Interrupted {noun}"
|
|
1218
|
+
msgstr "Interrupted {noun}"
|
|
1219
|
+
|
|
1164
1220
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
1165
1221
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
1166
1222
|
#: ../../web/src/routes/login/invite/+page.svelte
|
|
@@ -1175,10 +1231,22 @@ msgstr "It is highly recommended you back this up!"
|
|
|
1175
1231
|
msgid "Join the beta"
|
|
1176
1232
|
msgstr "Join the beta"
|
|
1177
1233
|
|
|
1234
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1235
|
+
msgid "Keep backing up"
|
|
1236
|
+
msgstr "Keep backing up"
|
|
1237
|
+
|
|
1178
1238
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1179
1239
|
msgid "Keep latest two backups"
|
|
1180
1240
|
msgstr "Keep latest two backups"
|
|
1181
1241
|
|
|
1242
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1243
|
+
msgid "Keep pruning"
|
|
1244
|
+
msgstr "Keep pruning"
|
|
1245
|
+
|
|
1246
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1247
|
+
msgid "Keep restoring"
|
|
1248
|
+
msgstr "Keep restoring"
|
|
1249
|
+
|
|
1182
1250
|
#: src/lib/components/onboarding/dialogs/BackupsRecoveryKeyModal.svelte
|
|
1183
1251
|
msgid "Keep this key somewhere safe. It is required to restore your backups."
|
|
1184
1252
|
msgstr "Keep this key somewhere safe. It is required to restore your backups."
|
|
@@ -1223,7 +1291,7 @@ msgstr "Learn More"
|
|
|
1223
1291
|
msgid "Libraries stored outside of Immich. New libraries are included automatically unless you choose specific ones."
|
|
1224
1292
|
msgstr "Libraries stored outside of Immich. New libraries are included automatically unless you choose specific ones."
|
|
1225
1293
|
|
|
1226
|
-
#: src/lib/services/
|
|
1294
|
+
#: src/lib/services/job.service.ts
|
|
1227
1295
|
msgid "Library successfully backed up."
|
|
1228
1296
|
msgstr "Library successfully backed up."
|
|
1229
1297
|
|
|
@@ -1349,6 +1417,18 @@ msgstr "Metrics history"
|
|
|
1349
1417
|
msgid "Metrics history for {name}"
|
|
1350
1418
|
msgstr "Metrics history for {name}"
|
|
1351
1419
|
|
|
1420
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1421
|
+
msgid "metrics sync"
|
|
1422
|
+
msgstr "metrics sync"
|
|
1423
|
+
|
|
1424
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1425
|
+
msgid "Metrics sync"
|
|
1426
|
+
msgstr "Metrics sync"
|
|
1427
|
+
|
|
1428
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1429
|
+
msgid "Metrics synced"
|
|
1430
|
+
msgstr "Metrics synced"
|
|
1431
|
+
|
|
1352
1432
|
#: src/lib/components/backends/BackendItem.svelte
|
|
1353
1433
|
msgid "Missing on service"
|
|
1354
1434
|
msgstr "Missing on service"
|
|
@@ -1376,7 +1456,7 @@ msgstr "Move {name} up"
|
|
|
1376
1456
|
msgid "Name"
|
|
1377
1457
|
msgstr "Name"
|
|
1378
1458
|
|
|
1379
|
-
#: src/lib/services/
|
|
1459
|
+
#: src/lib/services/job.service.ts
|
|
1380
1460
|
msgid "Nearly done."
|
|
1381
1461
|
msgstr "Nearly done."
|
|
1382
1462
|
|
|
@@ -1536,6 +1616,10 @@ msgstr "Notify me when backup storage is unavailable or running low."
|
|
|
1536
1616
|
msgid "Notify me when FUTO Backups billing needs attention."
|
|
1537
1617
|
msgstr "Notify me when FUTO Backups billing needs attention."
|
|
1538
1618
|
|
|
1619
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1620
|
+
msgid "Off"
|
|
1621
|
+
msgstr "Off"
|
|
1622
|
+
|
|
1539
1623
|
#: src/lib/components/backends/BackendItem.svelte
|
|
1540
1624
|
#: src/lib/components/backups/BackupItem.svelte
|
|
1541
1625
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
@@ -1641,6 +1725,10 @@ msgstr "Preparing prune"
|
|
|
1641
1725
|
msgid "Preparing restore"
|
|
1642
1726
|
msgstr "Preparing restore"
|
|
1643
1727
|
|
|
1728
|
+
#: src/lib/components/jobs/JobProgressLabel.svelte
|
|
1729
|
+
msgid "Preparing…"
|
|
1730
|
+
msgstr "Preparing…"
|
|
1731
|
+
|
|
1644
1732
|
#: src/lib/components/backups/dialogs/CreateRepositoryModal.svelte
|
|
1645
1733
|
msgid "Prevent anything being deleted"
|
|
1646
1734
|
msgstr "Prevent anything being deleted"
|
|
@@ -1657,6 +1745,10 @@ msgstr "Print"
|
|
|
1657
1745
|
msgid "processed"
|
|
1658
1746
|
msgstr "processed"
|
|
1659
1747
|
|
|
1748
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1749
|
+
msgid "Progress since the last snapshot will be lost."
|
|
1750
|
+
msgstr "Progress since the last snapshot will be lost."
|
|
1751
|
+
|
|
1660
1752
|
#: src/lib/components/onboarding/upsell/UpsellProtectYourImmichLibrary.svelte
|
|
1661
1753
|
msgid "Protect your Immich library"
|
|
1662
1754
|
msgstr "Protect your Immich library"
|
|
@@ -1686,6 +1778,18 @@ msgstr "Pruning old backups"
|
|
|
1686
1778
|
msgid "Pruning old backups was cancelled"
|
|
1687
1779
|
msgstr "Pruning old backups was cancelled"
|
|
1688
1780
|
|
|
1781
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
1782
|
+
msgid "Pruning old backups was interrupted"
|
|
1783
|
+
msgstr "Pruning old backups was interrupted"
|
|
1784
|
+
|
|
1785
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
1786
|
+
msgid "Pruning will stop and will need to be started again."
|
|
1787
|
+
msgstr "Pruning will stop and will need to be started again."
|
|
1788
|
+
|
|
1789
|
+
#: src/lib/components/backups/run-history/RepositoryRunHistoryItem.svelte
|
|
1790
|
+
msgid "Queued"
|
|
1791
|
+
msgstr "Queued"
|
|
1792
|
+
|
|
1689
1793
|
#: src/lib/components/schedules/ScheduleItem.svelte
|
|
1690
1794
|
msgid "Ran"
|
|
1691
1795
|
msgstr "Ran"
|
|
@@ -1702,6 +1806,10 @@ msgstr "Recent backups"
|
|
|
1702
1806
|
msgid "Reconfigure"
|
|
1703
1807
|
msgstr "Reconfigure"
|
|
1704
1808
|
|
|
1809
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1810
|
+
msgid "Record detailed logs to help FUTO support look into a problem."
|
|
1811
|
+
msgstr "Record detailed logs to help FUTO support look into a problem."
|
|
1812
|
+
|
|
1705
1813
|
#: src/lib/components/onboarding/dialogs/BackupsRecoveryKeyModal.svelte
|
|
1706
1814
|
msgid "Recovery key"
|
|
1707
1815
|
msgstr "Recovery key"
|
|
@@ -1728,6 +1836,10 @@ msgstr "Remove {name}"
|
|
|
1728
1836
|
msgid "Remove {path}"
|
|
1729
1837
|
msgstr "Remove {path}"
|
|
1730
1838
|
|
|
1839
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
1840
|
+
msgid "Remove from this machine"
|
|
1841
|
+
msgstr "Remove from this machine"
|
|
1842
|
+
|
|
1731
1843
|
#: src/lib/components/integrations/immich/ImmichManageBackupPage.svelte
|
|
1732
1844
|
msgid "Report An Issue"
|
|
1733
1845
|
msgstr "Report An Issue"
|
|
@@ -1748,9 +1860,14 @@ msgstr "Repositories"
|
|
|
1748
1860
|
msgid "Repository is readable and accessible!"
|
|
1749
1861
|
msgstr "Repository is readable and accessible!"
|
|
1750
1862
|
|
|
1863
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
1864
|
+
msgid "Repository no longer on FUTO Backups"
|
|
1865
|
+
msgstr "Repository no longer on FUTO Backups"
|
|
1866
|
+
|
|
1751
1867
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
|
|
1752
1868
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsSchedule.svelte
|
|
1753
1869
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1870
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1754
1871
|
msgid "Reset"
|
|
1755
1872
|
msgstr "Reset"
|
|
1756
1873
|
|
|
@@ -1774,6 +1891,10 @@ msgstr "Restore"
|
|
|
1774
1891
|
msgid "Restore Backup"
|
|
1775
1892
|
msgstr "Restore Backup"
|
|
1776
1893
|
|
|
1894
|
+
#: src/lib/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte
|
|
1895
|
+
msgid "Restore cancelled"
|
|
1896
|
+
msgstr "Restore cancelled"
|
|
1897
|
+
|
|
1777
1898
|
#: src/lib/components/onboarding/restore-point-flow/RestorePointFlow3ConfirmRestore.svelte
|
|
1778
1899
|
msgid "Restore configuration"
|
|
1779
1900
|
msgstr "Restore configuration"
|
|
@@ -1867,6 +1988,10 @@ msgstr "Run backups automatically"
|
|
|
1867
1988
|
msgid "Run History for {name}"
|
|
1868
1989
|
msgstr "Run History for {name}"
|
|
1869
1990
|
|
|
1991
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1992
|
+
msgid "Runs in support mode"
|
|
1993
|
+
msgstr "Runs in support mode"
|
|
1994
|
+
|
|
1870
1995
|
#: src/lib/components/onboarding/steps/OnboardingStepChooseStorage.svelte
|
|
1871
1996
|
msgid "S3 Bucket"
|
|
1872
1997
|
msgstr "S3 Bucket"
|
|
@@ -1882,6 +2007,7 @@ msgstr "S3 Server"
|
|
|
1882
2007
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsStorage.svelte
|
|
1883
2008
|
#: src/lib/components/onboarding/steps/OnboardingStepImportRecoveryKey.svelte
|
|
1884
2009
|
#: src/lib/components/settings/SettingsNotifications.svelte
|
|
2010
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
1885
2011
|
#: src/lib/components/ui/PathPickerModal.svelte
|
|
1886
2012
|
msgid "Save"
|
|
1887
2013
|
msgstr "Save"
|
|
@@ -1945,6 +2071,14 @@ msgstr "Select where a copy of your Immich library should be stored."
|
|
|
1945
2071
|
msgid "Selected paths"
|
|
1946
2072
|
msgstr "Selected paths"
|
|
1947
2073
|
|
|
2074
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2075
|
+
msgid "Send file and folder names as they are. When off, they are replaced with placeholders before they leave this server."
|
|
2076
|
+
msgstr "Send file and folder names as they are. When off, they are replaced with placeholders before they leave this server."
|
|
2077
|
+
|
|
2078
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2079
|
+
msgid "Send logs to FUTO"
|
|
2080
|
+
msgstr "Send logs to FUTO"
|
|
2081
|
+
|
|
1948
2082
|
#: src/lib/components/integrations/immich/ImmichBackupsSidebarItem.svelte
|
|
1949
2083
|
msgid "Set up"
|
|
1950
2084
|
msgstr "Set up"
|
|
@@ -1991,7 +2125,7 @@ msgstr "Snapshots"
|
|
|
1991
2125
|
msgid "Snapshots for {name}"
|
|
1992
2126
|
msgstr "Snapshots for {name}"
|
|
1993
2127
|
|
|
1994
|
-
#: src/lib/services/
|
|
2128
|
+
#: src/lib/services/job.service.ts
|
|
1995
2129
|
msgid "Some files could not be backed up. Check the backup log for details."
|
|
1996
2130
|
msgstr "Some files could not be backed up. Check the backup log for details."
|
|
1997
2131
|
|
|
@@ -2067,6 +2201,10 @@ msgstr "Store backups on storage shared by someone you trust."
|
|
|
2067
2201
|
msgid "Store backups on storage you manage."
|
|
2068
2202
|
msgstr "Store backups on storage you manage."
|
|
2069
2203
|
|
|
2204
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2205
|
+
msgid "Stream the detailed logs to FUTO while each run happens, so support can read them. Runs with a lot of files produce a lot of logs."
|
|
2206
|
+
msgstr "Stream the detailed logs to FUTO while each run happens, so support can read them. Runs with a lot of files produce a lot of logs."
|
|
2207
|
+
|
|
2070
2208
|
#: src/lib/components/onboarding/steps/OnboardingStepChooseStorage.svelte
|
|
2071
2209
|
msgid "Subscription"
|
|
2072
2210
|
msgstr "Subscription"
|
|
@@ -2084,6 +2222,18 @@ msgstr "Successful {noun}"
|
|
|
2084
2222
|
msgid "Successful only"
|
|
2085
2223
|
msgstr "Successful only"
|
|
2086
2224
|
|
|
2225
|
+
#: src/lib/components/backups/dialogs/ViewStatusModal.svelte
|
|
2226
|
+
msgid "Support code: {code}. Share it with FUTO support so they can find this run's logs."
|
|
2227
|
+
msgstr "Support code: {code}. Share it with FUTO support so they can find this run's logs."
|
|
2228
|
+
|
|
2229
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2230
|
+
msgid "Support mode"
|
|
2231
|
+
msgstr "Support mode"
|
|
2232
|
+
|
|
2233
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2234
|
+
msgid "Support mode is off."
|
|
2235
|
+
msgstr "Support mode is off."
|
|
2236
|
+
|
|
2087
2237
|
#: src/lib/components/backups/dialogs/RestoreSnapshotModal.svelte
|
|
2088
2238
|
msgid "Target"
|
|
2089
2239
|
msgstr "Target"
|
|
@@ -2102,10 +2252,22 @@ msgstr "Temporary beta access"
|
|
|
2102
2252
|
msgid "That account does not own this instance. Log in with the account it was connected with."
|
|
2103
2253
|
msgstr "That account does not own this instance. Log in with the account it was connected with."
|
|
2104
2254
|
|
|
2105
|
-
#: src/lib/services/
|
|
2255
|
+
#: src/lib/services/job.service.ts
|
|
2256
|
+
msgid "The backup stopped before it could finish."
|
|
2257
|
+
msgstr "The backup stopped before it could finish."
|
|
2258
|
+
|
|
2259
|
+
#: src/lib/services/job.service.ts
|
|
2106
2260
|
msgid "The backup was stopped before it finished."
|
|
2107
2261
|
msgstr "The backup was stopped before it finished."
|
|
2108
2262
|
|
|
2263
|
+
#: src/lib/components/settings/SettingsSupportMode.svelte
|
|
2264
|
+
msgid "The next backups, cleanups and restores record detailed logs, which you can download from their history. Support mode turns itself off once they have run."
|
|
2265
|
+
msgstr "The next backups, cleanups and restores record detailed logs, which you can download from their history. Support mode turns itself off once they have run."
|
|
2266
|
+
|
|
2267
|
+
#: src/lib/components/backups/dialogs/CancelJobModal.svelte
|
|
2268
|
+
msgid "The restore will stop and will need to be started again."
|
|
2269
|
+
msgstr "The restore will stop and will need to be started again."
|
|
2270
|
+
|
|
2109
2271
|
#: src/lib/components/onboarding/steps/OnboardingStepBetaDisclaimer.svelte
|
|
2110
2272
|
msgid "The service may be reset and your backup data may be deleted when the beta ends."
|
|
2111
2273
|
msgstr "The service may be reset and your backup data may be deleted when the beta ends."
|
|
@@ -2134,6 +2296,15 @@ msgstr "This is an early version of FUTO Backups. The service may be reset and y
|
|
|
2134
2296
|
msgid "This link is invalid or has expired. Click the support button in Discord to get a new one."
|
|
2135
2297
|
msgstr "This link is invalid or has expired. Click the support button in Discord to get a new one."
|
|
2136
2298
|
|
|
2299
|
+
#: src/lib/components/backups/dialogs/RemoveDeletedRepositoryModal.svelte
|
|
2300
|
+
msgid "This repository no longer exists on FUTO Backups. Remove it from this machine? Local settings (paths, schedules) will be removed; no backup data is affected."
|
|
2301
|
+
msgstr "This repository no longer exists on FUTO Backups. Remove it from this machine? Local settings (paths, schedules) will be removed; no backup data is affected."
|
|
2302
|
+
|
|
2303
|
+
#: src/lib/components/schedules/dialogs/ConfigureScheduleModal.svelte
|
|
2304
|
+
#: src/lib/components/schedules/dialogs/CreateScheduleModal.svelte
|
|
2305
|
+
msgid "This schedule runs more than once an hour. A * in the minute field runs a backup every minute."
|
|
2306
|
+
msgstr "This schedule runs more than once an hour. A * in the minute field runs a backup every minute."
|
|
2307
|
+
|
|
2137
2308
|
#: src/lib/services/schedule.service.ts
|
|
2138
2309
|
msgid "This schedule will be removed."
|
|
2139
2310
|
msgstr "This schedule will be removed."
|
|
@@ -2177,10 +2348,6 @@ msgstr "Unable to copy to clipboard"
|
|
|
2177
2348
|
msgid "Unable to link your Discord account."
|
|
2178
2349
|
msgstr "Unable to link your Discord account."
|
|
2179
2350
|
|
|
2180
|
-
#: src/lib/services/log.service.svelte.ts
|
|
2181
|
-
msgid "Unknown error"
|
|
2182
|
-
msgstr "Unknown error"
|
|
2183
|
-
|
|
2184
2351
|
#: src/lib/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte
|
|
2185
2352
|
msgid "Until"
|
|
2186
2353
|
msgstr "Until"
|
|
@@ -2220,7 +2387,7 @@ msgstr "View all"
|
|
|
2220
2387
|
msgid "View history"
|
|
2221
2388
|
msgstr "View history"
|
|
2222
2389
|
|
|
2223
|
-
#: src/lib/services/
|
|
2390
|
+
#: src/lib/services/job.service.ts
|
|
2224
2391
|
msgid "View Log"
|
|
2225
2392
|
msgstr "View Log"
|
|
2226
2393
|
|
|
@@ -2233,6 +2400,10 @@ msgstr "View recovery key"
|
|
|
2233
2400
|
msgid "Waiting for you to confirm login..."
|
|
2234
2401
|
msgstr "Waiting for you to confirm login..."
|
|
2235
2402
|
|
|
2403
|
+
#: src/lib/components/jobs/JobProgressLabel.svelte
|
|
2404
|
+
msgid "Waiting to start"
|
|
2405
|
+
msgstr "Waiting to start"
|
|
2406
|
+
|
|
2236
2407
|
#: src/lib/components/backups/BackupItem.svelte
|
|
2237
2408
|
msgid "Warnings"
|
|
2238
2409
|
msgstr "Warnings"
|
|
@@ -2334,6 +2505,10 @@ msgstr "Your backup is encrypted and requires your recovery key to restore."
|
|
|
2334
2505
|
msgid "Your backup was cancelled"
|
|
2335
2506
|
msgstr "Your backup was cancelled"
|
|
2336
2507
|
|
|
2508
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
2509
|
+
msgid "Your backup was interrupted"
|
|
2510
|
+
msgstr "Your backup was interrupted"
|
|
2511
|
+
|
|
2337
2512
|
#: src/lib/components/dashboard/DashboardBackupHealth.svelte
|
|
2338
2513
|
msgid "Your backups"
|
|
2339
2514
|
msgstr "Your backups"
|
|
@@ -2402,6 +2577,10 @@ msgstr "Your photos, files, and recovery key are never collected and never leave
|
|
|
2402
2577
|
msgid "Your restore was cancelled"
|
|
2403
2578
|
msgstr "Your restore was cancelled"
|
|
2404
2579
|
|
|
2580
|
+
#: src/lib/components/backups/BackupStatus.svelte
|
|
2581
|
+
msgid "Your restore was interrupted"
|
|
2582
|
+
msgstr "Your restore was interrupted"
|
|
2583
|
+
|
|
2405
2584
|
#: src/lib/components/onboarding/steps/OnboardingStep1FinishSetup.svelte
|
|
2406
2585
|
msgid "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
|
|
2407
2586
|
msgstr "Your subscription is active. Finish setup to create your recovery key and start backing up your Immich library."
|
|
@@ -14,11 +14,14 @@ export declare const useImmichBackupStatusEventHandler: () => {
|
|
|
14
14
|
onRepositoryUpdate: () => undefined;
|
|
15
15
|
onRepositoryDelete: () => undefined;
|
|
16
16
|
onScheduleUpdate: () => undefined;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
onJobCreate: () => undefined;
|
|
18
|
+
onJobUpdate: () => undefined;
|
|
19
19
|
};
|
|
20
20
|
export type ImmichBackupStatus = {
|
|
21
|
-
kind: 'loading' | 'offline' | 'missing' | '
|
|
21
|
+
kind: 'loading' | 'offline' | 'missing' | 'paused' | 'unconfigured' | 'never';
|
|
22
|
+
} | {
|
|
23
|
+
kind: 'running';
|
|
24
|
+
jobId: string;
|
|
22
25
|
} | {
|
|
23
26
|
kind: 'complete' | 'warn' | 'incomplete' | 'failed' | 'cancelled';
|
|
24
27
|
lastBackup: string;
|
|
@@ -6,6 +6,7 @@ import { queryClient } from '../query-client';
|
|
|
6
6
|
import { handleError } from '../utils/handle-error';
|
|
7
7
|
import { getBackupOutcome } from '../utils/backup-status';
|
|
8
8
|
import { createMutation, createQuery } from '@tanstack/svelte-query';
|
|
9
|
+
import { isJobFinished } from './job.service';
|
|
9
10
|
import { handleCreateBackup } from './repository.service';
|
|
10
11
|
import { gt, msg } from 'svelte-i18n-lingui';
|
|
11
12
|
export const getBackupPageActions = (repositoryId, onConfigure, t) => {
|
|
@@ -39,8 +40,8 @@ export const useImmichBackupStatusEventHandler = () => ({
|
|
|
39
40
|
onRepositoryUpdate: invalidateImmichBackupStatus,
|
|
40
41
|
onRepositoryDelete: invalidateImmichBackupStatus,
|
|
41
42
|
onScheduleUpdate: invalidateImmichBackupStatus,
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
onJobCreate: invalidateImmichBackupStatus,
|
|
44
|
+
onJobUpdate: invalidateImmichBackupStatus,
|
|
44
45
|
});
|
|
45
46
|
export const toImmichBackupStatus = (data, loading) => {
|
|
46
47
|
if (loading || !data) {
|
|
@@ -52,8 +53,8 @@ export const toImmichBackupStatus = (data, loading) => {
|
|
|
52
53
|
if (data.repository?.backends?.primary.online === false) {
|
|
53
54
|
return { kind: 'missing' };
|
|
54
55
|
}
|
|
55
|
-
if (data.
|
|
56
|
-
return { kind: 'running' };
|
|
56
|
+
if (data.latestBackupJob && !isJobFinished(data.latestBackupJob.status)) {
|
|
57
|
+
return { kind: 'running', jobId: data.latestBackupJob.id };
|
|
57
58
|
}
|
|
58
59
|
const outcome = getBackupOutcome(data.repository?.metrics);
|
|
59
60
|
const lastBackup = data.repository?.metrics.lastBackup;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { BackupStatusType } from '../components/backups/BackupStatus.svelte';
|
|
2
|
+
import { SocketEvent } from '../events';
|
|
3
|
+
import { type JobDto, type JobName, type JobProgressDto, type JobStatus } from '../fetch-client';
|
|
4
|
+
import { type ActionItem } from '@immich/ui';
|
|
5
|
+
import { gt } from 'svelte-i18n-lingui';
|
|
6
|
+
export type JobCreateEvent = SocketEvent<{
|
|
7
|
+
job: JobDto;
|
|
8
|
+
}>;
|
|
9
|
+
export type JobUpdateEvent = SocketEvent<{
|
|
10
|
+
jobId: string;
|
|
11
|
+
repositoryId: string;
|
|
12
|
+
job: Partial<JobDto>;
|
|
13
|
+
}>;
|
|
14
|
+
export type JobTickEvent = SocketEvent<{
|
|
15
|
+
jobId: string;
|
|
16
|
+
repositoryId: string;
|
|
17
|
+
progress: JobProgressDto;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const jobKeys: {
|
|
20
|
+
byRepository: (id: string) => readonly ["jobs", string];
|
|
21
|
+
byId: (id: string) => readonly ["job", string];
|
|
22
|
+
};
|
|
23
|
+
export declare const jobKinds: Record<JobName, 'backup' | 'restore' | 'forget' | 'syncMetrics'>;
|
|
24
|
+
export declare const isJobFinished: (status?: JobStatus) => status is Exclude<JobStatus, "queued" | "running">;
|
|
25
|
+
export declare const getRemainingText: (progress?: JobProgressDto) => string;
|
|
26
|
+
export declare const useJobs: (repositoryId: () => string | undefined, name?: JobName) => import("@tanstack/svelte-query").CreateQueryResult<JobDto[], Error>;
|
|
27
|
+
export declare const useJob: (jobId: string) => import("@tanstack/svelte-query").CreateQueryResult<JobDto, Error>;
|
|
28
|
+
export declare const useJobEventHandler: () => {
|
|
29
|
+
onJobCreate(event: JobCreateEvent): void;
|
|
30
|
+
onJobUpdate(event: JobUpdateEvent): void;
|
|
31
|
+
onJobTick(event: JobTickEvent): void;
|
|
32
|
+
};
|
|
33
|
+
export declare const useBackupJobMonitor: () => {
|
|
34
|
+
onJobCreate(event: JobCreateEvent): void;
|
|
35
|
+
onJobUpdate(event: JobUpdateEvent): void;
|
|
36
|
+
};
|
|
37
|
+
export declare const handleCancelJob: (jobId: string, type: BackupStatusType) => Promise<void>;
|
|
38
|
+
export declare const getJobActions: (job: JobDto, t: typeof gt) => {
|
|
39
|
+
ViewLog: ActionItem;
|
|
40
|
+
DownloadLog: ActionItem;
|
|
41
|
+
DownloadSupportLog: ActionItem;
|
|
42
|
+
};
|