mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 09:55:19 +00:00
refactor: update volume backup imports for improved organization
- Changed import paths for findVolumeBackupById and findComposeById to enhance clarity and maintainability. - Updated import structure to align with the latest service organization in the @dokploy/server package.
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
import { type findVolumeBackupById, paths } from "@dokploy/server";
|
import type { findVolumeBackupById } from "@dokploy/server/services/volume-backups";
|
||||||
import { normalizeS3Path } from "../backups/utils";
|
import { normalizeS3Path } from "../backups/utils";
|
||||||
import { getS3Credentials } from "../backups/utils";
|
import { getS3Credentials } from "../backups/utils";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import { findComposeById } from "@dokploy/server";
|
import { paths } from "@dokploy/server/constants";
|
||||||
|
import { findComposeById } from "@dokploy/server/services/compose";
|
||||||
|
|
||||||
export const backupVolume = async (
|
export const backupVolume = async (
|
||||||
volumeBackup: Awaited<ReturnType<typeof findVolumeBackupById>>,
|
volumeBackup: Awaited<ReturnType<typeof findVolumeBackupById>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user