@futo-org/backups-orchestrator-ui 0.47.0 → 0.49.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/backends/dialogs/OAuthDeviceFlowModal.svelte +7 -3
- package/dist/components/backups/BackupStatus.svelte +30 -5
- package/dist/components/backups/BackupStatus.svelte.d.ts +2 -0
- package/dist/components/backups/BackupTaskMonitor.svelte +6 -0
- package/dist/components/{dashboard/DashboardInstall.svelte.d.ts → backups/BackupTaskMonitor.svelte.d.ts} +3 -3
- package/dist/components/backups/dialogs/RestoreSnapshotModal.svelte +7 -11
- package/dist/components/backups/dialogs/ViewStatusModal.svelte +4 -1
- package/dist/components/backups/metrics-history/MetricsHistoryModal.svelte +131 -124
- package/dist/components/dashboard/DashboardAvgBackupTime.svelte +2 -0
- package/dist/components/dashboard/DashboardBackupHealth.svelte +73 -67
- package/dist/components/dashboard/DashboardCurrentUsage.svelte +6 -1
- package/dist/components/dashboard/DashboardDailyBackupTime.svelte +2 -0
- package/dist/components/dashboard/DashboardPage.svelte +51 -23
- package/dist/components/dashboard/DashboardRecentBackups.svelte +1 -1
- package/dist/components/dashboard/DashboardTotalStored.svelte +3 -1
- package/dist/components/integrations/immich/ImmichBackupsAdminNavButton.svelte +3 -2
- package/dist/components/integrations/immich/ImmichBackupsAdminNavButton.svelte.d.ts +1 -0
- package/dist/components/integrations/immich/ImmichBackupsPage.svelte +1 -5
- package/dist/components/integrations/immich/ImmichBackupsPage.svelte.d.ts +0 -2
- package/dist/components/integrations/immich/ImmichBackupsSidebarItem.svelte +3 -1
- package/dist/components/integrations/immich/ImmichBackupsSidebarItem.svelte.d.ts +1 -0
- package/dist/components/integrations/immich/ImmichManageBackupOverview.svelte +34 -28
- package/dist/components/integrations/immich/ImmichManageBackupPage.svelte +2 -0
- package/dist/components/integrations/immich/ImmichOnboardingRestoreFlow.svelte +43 -22
- package/dist/components/integrations/immich/ImmichOnboardingSetupFlow.svelte +71 -73
- package/dist/components/integrations/immich/settings/ImmichSettingsBackupContents.svelte +24 -16
- package/dist/components/integrations/immich/settings/ImmichSettingsBandwidth.svelte +25 -21
- package/dist/components/integrations/immich/settings/ImmichSettingsStorage.svelte +8 -1
- package/dist/components/onboarding/OnboardingLogin.svelte +4 -2
- package/dist/components/onboarding/RecoveryKeyDisplay.svelte +17 -10
- package/dist/components/onboarding/SampleOnboarding.svelte +39 -38
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow2SelectSnapshot.svelte +8 -4
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow3ConfirmRestore.svelte +25 -15
- package/dist/components/onboarding/restore-point-flow/RestorePointFlow4Restore.svelte +8 -3
- package/dist/components/onboarding/steps/OnboardingStep1FinishSetup.svelte +0 -1
- package/dist/components/onboarding/steps/OnboardingStep2ConnectAccount.svelte +4 -4
- package/dist/components/onboarding/steps/OnboardingStep3SaveRecoveryKey.svelte +14 -3
- package/dist/components/onboarding/steps/OnboardingStep3SaveRecoveryKey.svelte.d.ts +1 -0
- package/dist/components/onboarding/steps/OnboardingStep4FirstBackup.svelte +4 -4
- package/dist/components/onboarding/steps/OnboardingStepBackupServices.svelte +52 -0
- package/dist/components/onboarding/steps/OnboardingStepBackupServices.svelte.d.ts +7 -0
- package/dist/components/onboarding/steps/OnboardingStepChooseStorage.svelte +82 -0
- package/dist/components/onboarding/steps/OnboardingStepChooseStorage.svelte.d.ts +6 -0
- package/dist/components/onboarding/steps/OnboardingStepConfirmRecoveryKey.svelte +62 -0
- package/dist/components/onboarding/steps/OnboardingStepConfirmRecoveryKey.svelte.d.ts +9 -0
- package/dist/components/onboarding/steps/OnboardingStepImportRecoveryKey.svelte +42 -0
- package/dist/components/onboarding/steps/OnboardingStepImportRecoveryKey.svelte.d.ts +8 -0
- package/dist/components/onboarding/steps/OnboardingStepLayout.svelte +15 -9
- package/dist/components/onboarding/steps/OnboardingStepLayout.svelte.d.ts +2 -2
- package/dist/components/onboarding/steps/OnboardingStepModal.svelte +19 -0
- package/dist/components/onboarding/steps/OnboardingStepModal.svelte.d.ts +11 -0
- package/dist/components/onboarding/steps/OnboardingStepTelemetry.svelte +44 -0
- package/dist/components/onboarding/steps/OnboardingStepTelemetry.svelte.d.ts +7 -0
- package/dist/components/onboarding/upsell/UpsellBackupFeaturesGrid.svelte +3 -3
- package/dist/components/onboarding/upsell/UpsellExplainFutoBackups.svelte +3 -16
- package/dist/components/onboarding/upsell/UpsellExplainFutoBackups.svelte.d.ts +0 -2
- package/dist/components/onboarding/upsell/UpsellFrequentlyAskedQuestions.svelte +3 -3
- package/dist/components/onboarding/upsell/UpsellFutoBackupsBadge.svelte +1 -1
- package/dist/components/onboarding/upsell/UpsellHowItWorks.svelte +4 -4
- package/dist/components/onboarding/upsell/UpsellModal.svelte +7 -13
- package/dist/components/onboarding/upsell/UpsellModal.svelte.d.ts +0 -1
- package/dist/components/onboarding/upsell/UpsellPage.svelte +3 -5
- package/dist/components/onboarding/upsell/UpsellPage.svelte.d.ts +0 -2
- package/dist/components/onboarding/upsell/UpsellProtectYourImmichLibrary.svelte +6 -14
- package/dist/components/onboarding/upsell/UpsellProtectYourImmichLibrary.svelte.d.ts +0 -1
- package/dist/components/schedules/RepositoryPicker.svelte +28 -10
- package/dist/components/schedules/dialogs/ConfigureScheduleModal.svelte +14 -3
- package/dist/components/schedules/dialogs/CreateScheduleModal.svelte +14 -3
- package/dist/components/settings/SettingsBilling.svelte +1 -0
- package/dist/components/test/ImmichTestUi.svelte +62 -44
- package/dist/components/test/TestUi.svelte +53 -69
- package/dist/components/test/dashboard/BackupHealth.svelte +6 -7
- package/dist/components/test/immich/MockImmichHideBackupsReminder.svelte +3 -2
- package/dist/components/test/immich/MockImmichHideBackupsReminder.svelte.d.ts +17 -2
- package/dist/components/ui/Accordion.svelte +43 -30
- package/dist/components/ui/Accordion.svelte.d.ts +1 -0
- package/dist/components/ui/IconTile.svelte +27 -0
- package/dist/components/ui/IconTile.svelte.d.ts +10 -0
- package/dist/components/ui/ListToolbar.svelte +1 -0
- package/dist/components/ui/PageLayout.svelte +1 -1
- package/dist/components/ui/PathListField.svelte +21 -4
- package/dist/components/ui/PathPickerField.svelte +14 -3
- package/dist/components/ui/PathPickerModal.svelte +30 -12
- package/dist/components/ui/Section.svelte +26 -0
- package/dist/components/ui/Section.svelte.d.ts +9 -0
- package/dist/components/ui/SkipLink.svelte +19 -0
- package/dist/components/ui/SkipLink.svelte.d.ts +6 -0
- package/dist/components/ui/StackList.svelte +4 -13
- package/dist/components/ui/StackListItem.svelte +4 -16
- package/dist/components/ui/StackListItem.svelte.d.ts +3 -3
- package/dist/components/ui/VisualisationGauge.svelte +18 -11
- package/dist/components/ui/VisualisationGauge.svelte.d.ts +1 -0
- package/dist/components/ui/VisualisationSegmentedBar.svelte +14 -22
- package/dist/components/ui/VisualisationSegmentedBar.svelte.d.ts +0 -3
- package/dist/components/util/DeviceFlowCode.svelte +6 -5
- package/dist/fetch-client.d.ts +146 -1
- package/dist/fetch-client.js +144 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/locales/en-XA.js +1 -1
- package/dist/locales/en-XA.po +272 -125
- package/dist/locales/en.js +1 -1
- package/dist/locales/en.po +288 -389
- package/dist/options.d.ts +1 -0
- package/dist/options.js +1 -0
- package/dist/services/immich.integration.service.d.ts +2 -1
- package/dist/services/immich.integration.service.js +5 -2
- package/dist/services/log.service.svelte.js +1 -1
- package/dist/services/runHistory.service.d.ts +9 -0
- package/dist/services/runHistory.service.js +43 -2
- package/dist/utils/clipboard.d.ts +1 -0
- package/dist/utils/clipboard.js +11 -0
- package/dist/utils/focus.d.ts +12 -0
- package/dist/utils/focus.js +34 -0
- package/package.json +22 -22
- package/dist/components/dashboard/DashboardInstall.svelte +0 -16
- package/dist/components/onboarding/stages/OnboardingStageBackupServices.svelte +0 -71
- package/dist/components/onboarding/stages/OnboardingStageBackupServices.svelte.d.ts +0 -8
- package/dist/components/onboarding/stages/OnboardingStageKeyImport.svelte +0 -58
- package/dist/components/onboarding/stages/OnboardingStageKeyImport.svelte.d.ts +0 -8
- package/dist/components/onboarding/stages/OnboardingStageTelemetry.svelte +0 -59
- package/dist/components/onboarding/stages/OnboardingStageTelemetry.svelte.d.ts +0 -7
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Button } from "@immich/ui";
|
|
3
|
+
import { t } from "svelte-i18n-lingui";
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
target: string;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const { target }: Props = $props();
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<div class="absolute inset-s-2 top-2 z-50 not-focus-within:sr-only">
|
|
13
|
+
<Button
|
|
14
|
+
size="small"
|
|
15
|
+
onclick={() => document.getElementById(target)?.focus()}
|
|
16
|
+
>
|
|
17
|
+
{$t`Skip to content`}
|
|
18
|
+
</Button>
|
|
19
|
+
</div>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { Card, CardBody
|
|
2
|
+
import { Card, CardBody } from "@immich/ui";
|
|
3
3
|
import type { Snippet } from "svelte";
|
|
4
|
+
import Section from "./Section.svelte";
|
|
4
5
|
|
|
5
6
|
type Props = {
|
|
6
7
|
title?: Snippet;
|
|
@@ -11,20 +12,10 @@
|
|
|
11
12
|
const { title, action, children }: Props = $props();
|
|
12
13
|
</script>
|
|
13
14
|
|
|
14
|
-
<
|
|
15
|
-
{#if title || action}
|
|
16
|
-
<HStack class="items-center justify-between px-1">
|
|
17
|
-
{#if title}
|
|
18
|
-
<Heading size="tiny">{@render title()}</Heading>
|
|
19
|
-
{/if}
|
|
20
|
-
|
|
21
|
-
{@render action?.()}
|
|
22
|
-
</HStack>
|
|
23
|
-
{/if}
|
|
24
|
-
|
|
15
|
+
<Section {title} {action}>
|
|
25
16
|
<Card class="border-primary-100 shadow-none">
|
|
26
17
|
<CardBody class="divide-y p-0">
|
|
27
18
|
{@render children?.()}
|
|
28
19
|
</CardBody>
|
|
29
20
|
</Card>
|
|
30
|
-
</
|
|
21
|
+
</Section>
|
|
@@ -10,18 +10,17 @@
|
|
|
10
10
|
import { mdiDotsVertical } from "@mdi/js";
|
|
11
11
|
import type { Snippet } from "svelte";
|
|
12
12
|
import { t } from "svelte-i18n-lingui";
|
|
13
|
-
|
|
14
|
-
type Color = "primary" | "success" | "warning" | "danger";
|
|
13
|
+
import IconTile, { tints, type TileColor } from "./IconTile.svelte";
|
|
15
14
|
|
|
16
15
|
type Props = {
|
|
17
16
|
class?: string;
|
|
18
17
|
title?: string;
|
|
19
|
-
color?:
|
|
18
|
+
color?: TileColor;
|
|
20
19
|
icon?: Snippet;
|
|
21
20
|
children: Snippet;
|
|
22
21
|
trailing?: Snippet;
|
|
23
22
|
footer?: Snippet;
|
|
24
|
-
footerColor?:
|
|
23
|
+
footerColor?: TileColor;
|
|
25
24
|
actions?: ActionItem[];
|
|
26
25
|
};
|
|
27
26
|
|
|
@@ -36,23 +35,12 @@
|
|
|
36
35
|
footerColor = "primary",
|
|
37
36
|
actions = [],
|
|
38
37
|
}: Props = $props();
|
|
39
|
-
|
|
40
|
-
const tints: Record<Color, string> = {
|
|
41
|
-
primary: "bg-primary-50 text-primary",
|
|
42
|
-
success: "bg-success-50 text-success-700",
|
|
43
|
-
warning: "bg-warning-50 text-warning-800",
|
|
44
|
-
danger: "bg-danger-50 text-danger-700",
|
|
45
|
-
};
|
|
46
38
|
</script>
|
|
47
39
|
|
|
48
40
|
<div>
|
|
49
41
|
<HStack gap={4} class={`${className} items-center px-5 py-4`}>
|
|
50
42
|
{#if icon}
|
|
51
|
-
<
|
|
52
|
-
class={`flex size-10 shrink-0 items-center justify-center rounded-lg text-xl ${tints[color]}`}
|
|
53
|
-
>
|
|
54
|
-
{@render icon()}
|
|
55
|
-
</div>
|
|
43
|
+
<IconTile {color}>{@render icon()}</IconTile>
|
|
56
44
|
{/if}
|
|
57
45
|
|
|
58
46
|
{#if title}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { type ActionItem } from "@immich/ui";
|
|
2
2
|
import type { Snippet } from "svelte";
|
|
3
|
-
|
|
3
|
+
import { type TileColor } from "./IconTile.svelte";
|
|
4
4
|
type Props = {
|
|
5
5
|
class?: string;
|
|
6
6
|
title?: string;
|
|
7
|
-
color?:
|
|
7
|
+
color?: TileColor;
|
|
8
8
|
icon?: Snippet;
|
|
9
9
|
children: Snippet;
|
|
10
10
|
trailing?: Snippet;
|
|
11
11
|
footer?: Snippet;
|
|
12
|
-
footerColor?:
|
|
12
|
+
footerColor?: TileColor;
|
|
13
13
|
actions?: ActionItem[];
|
|
14
14
|
};
|
|
15
15
|
declare const StackListItem: import("svelte").Component<Props, {}, "">;
|
|
@@ -1,25 +1,32 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { Text } from "@immich/ui";
|
|
2
|
+
import { HStack, Icon, Stack, Text } from "@immich/ui";
|
|
3
3
|
import type { Snippet } from "svelte";
|
|
4
|
+
import IconTile from "./IconTile.svelte";
|
|
4
5
|
|
|
5
6
|
type Props = {
|
|
6
7
|
title: string;
|
|
7
8
|
content: string;
|
|
9
|
+
icon?: string;
|
|
8
10
|
compact?: boolean;
|
|
9
11
|
subtitle?: Snippet;
|
|
10
12
|
};
|
|
11
13
|
|
|
12
|
-
const { title, content, compact = false, subtitle }: Props = $props();
|
|
14
|
+
const { title, content, icon, compact = false, subtitle }: Props = $props();
|
|
13
15
|
</script>
|
|
14
16
|
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
<Text
|
|
22
|
-
{
|
|
17
|
+
<HStack gap={4} class="items-center">
|
|
18
|
+
{#if icon}
|
|
19
|
+
<IconTile><Icon {icon} /></IconTile>
|
|
20
|
+
{/if}
|
|
21
|
+
|
|
22
|
+
<Stack gap={0} class="min-w-0">
|
|
23
|
+
<Text class={`tabular-nums ${compact ? "text-lg" : "text-xl"}`}>
|
|
24
|
+
{content}
|
|
23
25
|
</Text>
|
|
26
|
+
<Text size="small" color="secondary">{title}</Text>
|
|
27
|
+
</Stack>
|
|
28
|
+
|
|
29
|
+
{#if subtitle}
|
|
30
|
+
<div class="ms-auto">{@render subtitle()}</div>
|
|
24
31
|
{/if}
|
|
25
|
-
</
|
|
32
|
+
</HStack>
|
|
@@ -1,47 +1,39 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {
|
|
2
|
+
import { HStack, Stack, Text } from "@immich/ui";
|
|
3
3
|
|
|
4
4
|
type Segment = {
|
|
5
5
|
value: number;
|
|
6
6
|
label: string;
|
|
7
7
|
color: string;
|
|
8
|
-
badge: "success" | "warning" | "danger" | "secondary" | "info";
|
|
9
8
|
};
|
|
10
9
|
|
|
11
10
|
type Props = {
|
|
12
|
-
title: string;
|
|
13
|
-
summary: string;
|
|
14
11
|
segments: Segment[];
|
|
15
12
|
};
|
|
16
13
|
|
|
17
|
-
const {
|
|
14
|
+
const { segments }: Props = $props();
|
|
18
15
|
</script>
|
|
19
16
|
|
|
20
|
-
<Stack>
|
|
21
|
-
<
|
|
22
|
-
<Text size="large">{title}</Text>
|
|
23
|
-
<Text color="secondary">{summary}</Text>
|
|
24
|
-
</HStack>
|
|
25
|
-
|
|
26
|
-
<div
|
|
27
|
-
style="display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px;"
|
|
28
|
-
>
|
|
17
|
+
<Stack gap={4}>
|
|
18
|
+
<div class="flex h-2.5 gap-0.5 overflow-hidden rounded-full">
|
|
29
19
|
{#each segments as segment (segment.label)}
|
|
30
20
|
{#if segment.value > 0}
|
|
31
|
-
<div
|
|
32
|
-
style="flex: {segment.value}; background: {segment.color}; border-radius: 3px;"
|
|
33
|
-
></div>
|
|
21
|
+
<div style="flex: {segment.value}; background: {segment.color};"></div>
|
|
34
22
|
{/if}
|
|
35
23
|
{/each}
|
|
36
24
|
</div>
|
|
37
25
|
|
|
38
|
-
<HStack wrap>
|
|
26
|
+
<HStack gap={8} wrap>
|
|
39
27
|
{#each segments as segment (segment.label)}
|
|
40
28
|
{#if segment.value > 0}
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
29
|
+
<HStack gap={3} class="items-center">
|
|
30
|
+
<span
|
|
31
|
+
class="size-4 shrink-0 rounded-sm"
|
|
32
|
+
style="background: {segment.color};"
|
|
33
|
+
aria-hidden="true"
|
|
34
|
+
></span>
|
|
35
|
+
<Text>{segment.label} - {segment.value}</Text>
|
|
36
|
+
</HStack>
|
|
45
37
|
{/if}
|
|
46
38
|
{/each}
|
|
47
39
|
</HStack>
|
|
@@ -2,11 +2,8 @@ type Segment = {
|
|
|
2
2
|
value: number;
|
|
3
3
|
label: string;
|
|
4
4
|
color: string;
|
|
5
|
-
badge: "success" | "warning" | "danger" | "secondary" | "info";
|
|
6
5
|
};
|
|
7
6
|
type Props = {
|
|
8
|
-
title: string;
|
|
9
|
-
summary: string;
|
|
10
7
|
segments: Segment[];
|
|
11
8
|
};
|
|
12
9
|
declare const VisualisationSegmentedBar: import("svelte").Component<Props, {}, "">;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { DeviceFlow } from "../../services/deviceFlow.service.svelte";
|
|
3
|
+
import { copyToClipboard } from "../../utils/clipboard";
|
|
3
4
|
import { Code, HStack, IconButton, LoadingSpinner, Stack, Text } from "@immich/ui";
|
|
4
5
|
import { mdiContentCopy } from "@mdi/js";
|
|
5
6
|
import { t } from "svelte-i18n-lingui";
|
|
@@ -10,9 +11,7 @@
|
|
|
10
11
|
|
|
11
12
|
const { flow }: Props = $props();
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
navigator.clipboard.writeText(flow.state.userCode!);
|
|
15
|
-
}
|
|
14
|
+
const onCopy = () => copyToClipboard(flow.state.userCode!);
|
|
16
15
|
</script>
|
|
17
16
|
|
|
18
17
|
<Stack gap={4}>
|
|
@@ -27,11 +26,13 @@
|
|
|
27
26
|
aria-label={$t`Copy code`}
|
|
28
27
|
/>
|
|
29
28
|
</Stack>
|
|
29
|
+
</Stack>
|
|
30
30
|
|
|
31
|
+
<div role="status">
|
|
31
32
|
{#if flow.state.opened}
|
|
32
|
-
<HStack>
|
|
33
|
+
<HStack class="mt-4">
|
|
33
34
|
<LoadingSpinner />
|
|
34
35
|
<Text>{$t`Waiting for you to confirm login...`}</Text>
|
|
35
36
|
</HStack>
|
|
36
37
|
{/if}
|
|
37
|
-
</
|
|
38
|
+
</div>
|
package/dist/fetch-client.d.ts
CHANGED
|
@@ -91,10 +91,11 @@ export type IntegrationsResponseDto = {
|
|
|
91
91
|
immichState?: ImmichStateDto;
|
|
92
92
|
immichIntegration?: ImmichIntegrationDto;
|
|
93
93
|
};
|
|
94
|
+
export type BackupStatus = "incomplete" | "complete" | "warn" | "failed" | "cancelled";
|
|
94
95
|
export type RepositoryMetricsDto = {
|
|
95
96
|
lastStarted?: string | null;
|
|
96
97
|
lastBackup?: string | null;
|
|
97
|
-
lastBackupStatus?: (
|
|
98
|
+
lastBackupStatus?: (BackupStatus) | null;
|
|
98
99
|
lastBackupDuration?: number | null;
|
|
99
100
|
sizeBytes: number;
|
|
100
101
|
};
|
|
@@ -327,61 +328,205 @@ export type ScheduleUpdateRequestDto = {
|
|
|
327
328
|
export type ScheduleUpdateResponseDto = {
|
|
328
329
|
schedule: ScheduleDto;
|
|
329
330
|
};
|
|
331
|
+
/**
|
|
332
|
+
* Connect a FUTO Backups account
|
|
333
|
+
*/
|
|
330
334
|
export declare function connectDeviceFlow(opts?: Oazapfts.RequestOpts): Promise<DeviceFlowEventDto>;
|
|
335
|
+
/**
|
|
336
|
+
* Sign in with FUTO Backups account
|
|
337
|
+
*/
|
|
331
338
|
export declare function sessionDeviceFlow(opts?: Oazapfts.RequestOpts): Promise<DeviceFlowEventDto>;
|
|
339
|
+
/**
|
|
340
|
+
* Create session
|
|
341
|
+
*/
|
|
332
342
|
export declare function createSession(createSessionRequestDto: CreateSessionRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
343
|
+
/**
|
|
344
|
+
* Create a ticket
|
|
345
|
+
*/
|
|
333
346
|
export declare function createTicket(ticketCreateRequestDto: TicketCreateRequestDto, opts?: Oazapfts.RequestOpts): Promise<TicketCreateResponseDto>;
|
|
347
|
+
/**
|
|
348
|
+
* List backends
|
|
349
|
+
*/
|
|
334
350
|
export declare function getBackends(opts?: Oazapfts.RequestOpts): Promise<BackendsResponseDto>;
|
|
351
|
+
/**
|
|
352
|
+
* Create a local backend
|
|
353
|
+
*/
|
|
335
354
|
export declare function createLocalBackend(createLocalBackendRequestDto: CreateLocalBackendRequestDto, opts?: Oazapfts.RequestOpts): Promise<BackendResponseDto>;
|
|
355
|
+
/**
|
|
356
|
+
* Get backups orchestrator configuration
|
|
357
|
+
*/
|
|
336
358
|
export declare function getConfig(opts?: Oazapfts.RequestOpts): Promise<ConfigResponseDto>;
|
|
359
|
+
/**
|
|
360
|
+
* Update backups orchestrator configuration
|
|
361
|
+
*/
|
|
337
362
|
export declare function updateConfig(configUpdateRequestDto: ConfigUpdateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ConfigResponseDto>;
|
|
363
|
+
/**
|
|
364
|
+
* Reset the backups orchestrator
|
|
365
|
+
*/
|
|
338
366
|
export declare function resetOrchestrator(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
367
|
+
/**
|
|
368
|
+
* List files
|
|
369
|
+
*/
|
|
339
370
|
export declare function getFileListing({ path }?: {
|
|
340
371
|
path?: string;
|
|
341
372
|
}, opts?: Oazapfts.RequestOpts): Promise<FilesystemListingResponseDto>;
|
|
373
|
+
/**
|
|
374
|
+
* Get backup integrations
|
|
375
|
+
*/
|
|
342
376
|
export declare function getIntegrations(opts?: Oazapfts.RequestOpts): Promise<IntegrationsResponseDto>;
|
|
377
|
+
/**
|
|
378
|
+
* Get Immich backup status
|
|
379
|
+
*/
|
|
343
380
|
export declare function getImmichBackupStatus(opts?: Oazapfts.RequestOpts): Promise<ImmichBackupStatusDto>;
|
|
381
|
+
/**
|
|
382
|
+
* Configure the Immich backup integration
|
|
383
|
+
*/
|
|
344
384
|
export declare function configureImmichIntegration(configureImmichIntegrationRequestDto: ConfigureImmichIntegrationRequestDto, opts?: Oazapfts.RequestOpts): Promise<ConfigureImmichIntegrationResponseDto>;
|
|
385
|
+
/**
|
|
386
|
+
* Ignore the Immich database dump warning
|
|
387
|
+
*/
|
|
345
388
|
export declare function ignoreImmichDatabaseDumpWarning(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
389
|
+
/**
|
|
390
|
+
* Configure Immich database dumps
|
|
391
|
+
*/
|
|
346
392
|
export declare function configureImmichDatabaseDump(configureImmichDatabaseDumpRequestDto: ConfigureImmichDatabaseDumpRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
393
|
+
/**
|
|
394
|
+
* Roll Immich back to a snapshot
|
|
395
|
+
*/
|
|
347
396
|
export declare function startImmichRollback(immichRollbackRequestDto: ImmichRollbackRequestDto, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
397
|
+
/**
|
|
398
|
+
* Get backup onboarding status
|
|
399
|
+
*/
|
|
348
400
|
export declare function onboardingStatus(opts?: Oazapfts.RequestOpts): Promise<OnboardingStatusResponseDto>;
|
|
401
|
+
/**
|
|
402
|
+
* Get the backup recovery key
|
|
403
|
+
*/
|
|
349
404
|
export declare function currentRecoveryKey(opts?: Oazapfts.RequestOpts): Promise<CurrentRecoveryKeyResponse>;
|
|
405
|
+
/**
|
|
406
|
+
* Import a backup recovery key
|
|
407
|
+
*/
|
|
350
408
|
export declare function importRecoveryKey(importRecoveryKeyRequest: ImportRecoveryKeyRequest, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
409
|
+
/**
|
|
410
|
+
* Confirm the backup recovery key
|
|
411
|
+
*/
|
|
351
412
|
export declare function confirmRecoveryKey(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
413
|
+
/**
|
|
414
|
+
* Skip optional backup onboarding
|
|
415
|
+
*/
|
|
352
416
|
export declare function skipOnboardingExtraConfig(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
417
|
+
/**
|
|
418
|
+
* Enable FUTO Backups telemetry
|
|
419
|
+
*/
|
|
353
420
|
export declare function enableTelemetry(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
421
|
+
/**
|
|
422
|
+
* Report a startup error
|
|
423
|
+
*/
|
|
354
424
|
export declare function reportError(opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
425
|
+
/**
|
|
426
|
+
* Create a new backup
|
|
427
|
+
*/
|
|
355
428
|
export declare function createRepository(repositoryCreateRequestDto: RepositoryCreateRequestDto, { backend }?: {
|
|
356
429
|
backend?: string;
|
|
357
430
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
431
|
+
/**
|
|
432
|
+
* List backups
|
|
433
|
+
*/
|
|
358
434
|
export declare function getRepositories(opts?: Oazapfts.RequestOpts): Promise<RepositoryListResponseDto>;
|
|
435
|
+
/**
|
|
436
|
+
* List remote backups
|
|
437
|
+
*/
|
|
359
438
|
export declare function inspectRepositories({ backend }?: {
|
|
360
439
|
backend?: string;
|
|
361
440
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryInspectResponseDto>;
|
|
441
|
+
/**
|
|
442
|
+
* Update a backup
|
|
443
|
+
*/
|
|
362
444
|
export declare function updateRepository(id: string, repositoryUpdateRequestDto: RepositoryUpdateRequestDto, { backend }?: {
|
|
363
445
|
backend?: string;
|
|
364
446
|
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryUpdateResponseDto>;
|
|
447
|
+
/**
|
|
448
|
+
* Remove a backup
|
|
449
|
+
*/
|
|
365
450
|
export declare function deleteRepository(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
451
|
+
/**
|
|
452
|
+
* Start a backup
|
|
453
|
+
*/
|
|
366
454
|
export declare function createBackup(id: string, opts?: Oazapfts.RequestOpts): Promise<LogResponseDto>;
|
|
455
|
+
/**
|
|
456
|
+
* Check a repository import
|
|
457
|
+
*/
|
|
367
458
|
export declare function checkImportRepository(id: string, backend: string, opts?: Oazapfts.RequestOpts): Promise<RepositoryCheckImportResponseDto>;
|
|
459
|
+
/**
|
|
460
|
+
* Import a repository
|
|
461
|
+
*/
|
|
368
462
|
export declare function importRepository(id: string, backend: string, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
463
|
+
/**
|
|
464
|
+
* Change the primary backend
|
|
465
|
+
*/
|
|
369
466
|
export declare function reconfigureRepositoryPrimaryBackend(id: string, repositoryPrimaryBackendReconfigureRequestDto: RepositoryPrimaryBackendReconfigureRequestDto, opts?: Oazapfts.RequestOpts): Promise<RepositoryCreateResponseDto>;
|
|
467
|
+
/**
|
|
468
|
+
* List backup runs
|
|
469
|
+
*/
|
|
370
470
|
export declare function getRunHistory(id: string, opts?: Oazapfts.RequestOpts): Promise<RunHistoryResponseDto>;
|
|
471
|
+
/**
|
|
472
|
+
* List snapshots
|
|
473
|
+
*/
|
|
371
474
|
export declare function getSnapshots(id: string, opts?: Oazapfts.RequestOpts): Promise<ListSnapshotsResponseDto>;
|
|
475
|
+
/**
|
|
476
|
+
* Prune a repository
|
|
477
|
+
*/
|
|
372
478
|
export declare function pruneRepository(id: string, opts?: Oazapfts.RequestOpts): Promise<LogResponseDto>;
|
|
479
|
+
/**
|
|
480
|
+
* Restore a snapshot
|
|
481
|
+
*/
|
|
373
482
|
export declare function restoreSnapshot(id: string, snapshot: string, repositorySnapshotRestoreRequestDto: RepositorySnapshotRestoreRequestDto, opts?: Oazapfts.RequestOpts): Promise<LogResponseDto>;
|
|
483
|
+
/**
|
|
484
|
+
* Delete a snapshot
|
|
485
|
+
*/
|
|
374
486
|
export declare function forgetSnapshot(id: string, snapshot: string, opts?: Oazapfts.RequestOpts): Promise<ListSnapshotsResponseDto>;
|
|
487
|
+
/**
|
|
488
|
+
* Restore from snapshot
|
|
489
|
+
*/
|
|
375
490
|
export declare function restoreFromPoint(id: string, snapshot: string, backend: string, repositorySnapshotRestoreFromPointRequestDto: RepositorySnapshotRestoreFromPointRequestDto, opts?: Oazapfts.RequestOpts): Promise<LogResponseDto>;
|
|
491
|
+
/**
|
|
492
|
+
* List snapshot files
|
|
493
|
+
*/
|
|
376
494
|
export declare function getSnapshotListing(id: string, snapshot: string, { path }?: {
|
|
377
495
|
path?: string;
|
|
378
496
|
}, opts?: Oazapfts.RequestOpts): Promise<FilesystemListingResponseDto>;
|
|
497
|
+
/**
|
|
498
|
+
* Get a run
|
|
499
|
+
*/
|
|
379
500
|
export declare function getRun(id: string, opts?: Oazapfts.RequestOpts): Promise<RunResponseDto>;
|
|
501
|
+
/**
|
|
502
|
+
* Download a run log
|
|
503
|
+
*/
|
|
380
504
|
export declare function downloadRunLog(id: string, opts?: Oazapfts.RequestOpts): Promise<Blob>;
|
|
505
|
+
/**
|
|
506
|
+
* Stream a run log
|
|
507
|
+
*/
|
|
381
508
|
export declare function logStreamSse(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
509
|
+
/**
|
|
510
|
+
* List running tasks
|
|
511
|
+
*/
|
|
382
512
|
export declare function getRunningTasks(opts?: Oazapfts.RequestOpts): Promise<RunningTaskListResponse>;
|
|
513
|
+
/**
|
|
514
|
+
* Cancel a task
|
|
515
|
+
*/
|
|
383
516
|
export declare function cancelTask(parentId: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|
|
517
|
+
/**
|
|
518
|
+
* Create a schedule
|
|
519
|
+
*/
|
|
384
520
|
export declare function createSchedule(scheduleCreateRequestDto: ScheduleCreateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ScheduleCreateResponseDto>;
|
|
521
|
+
/**
|
|
522
|
+
* List schedules
|
|
523
|
+
*/
|
|
385
524
|
export declare function getSchedules(opts?: Oazapfts.RequestOpts): Promise<ScheduleListResponseDto>;
|
|
525
|
+
/**
|
|
526
|
+
* Update a schedule
|
|
527
|
+
*/
|
|
386
528
|
export declare function updateSchedule(id: string, scheduleUpdateRequestDto: ScheduleUpdateRequestDto, opts?: Oazapfts.RequestOpts): Promise<ScheduleUpdateResponseDto>;
|
|
529
|
+
/**
|
|
530
|
+
* Delete a schedule
|
|
531
|
+
*/
|
|
387
532
|
export declare function removeSchedule(id: string, opts?: Oazapfts.RequestOpts): Promise<never>;
|