mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -6,6 +6,15 @@ import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
import {PassThrough, pipeline, Readable} from 'node:stream';
|
||||
import {promisify} from 'node:util';
|
||||
import {Config} from '@app/api/Config';
|
||||
import {
|
||||
type IStorageService,
|
||||
type ProcessedStorageObjectMetadata,
|
||||
StorageObjectListingOverflowError,
|
||||
StorageObjectRangeNotSatisfiableError,
|
||||
} from '@app/api/infrastructure/IStorageService';
|
||||
import {processMediaFile} from '@app/api/infrastructure/StorageObjectHelpers';
|
||||
import {Logger} from '@app/api/Logger';
|
||||
import {
|
||||
AbortMultipartUploadCommand,
|
||||
CompleteMultipartUploadCommand,
|
||||
@@ -30,15 +39,6 @@ import type {S3ProviderSettings} from '@fluxer/config/src/S3DownloadsProvider';
|
||||
import {isSupportedMediaContentType} from '@pkgs/mime_utils/src/ContentTypeUtils';
|
||||
import {seconds} from 'itty-time';
|
||||
import {temporaryFile} from 'tempy';
|
||||
import {Config} from '../Config';
|
||||
import {Logger} from '../Logger';
|
||||
import {
|
||||
type IStorageService,
|
||||
type ProcessedStorageObjectMetadata,
|
||||
StorageObjectListingOverflowError,
|
||||
StorageObjectRangeNotSatisfiableError,
|
||||
} from './IStorageService';
|
||||
import {processMediaFile} from './StorageObjectHelpers';
|
||||
|
||||
const STREAM_UPLOAD_PART_BYTES = 8 * 1024 * 1024;
|
||||
const STREAM_UPLOAD_CONCURRENCY = 4;
|
||||
|
||||
Reference in new issue
Block a user