mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
[Breaking] newly uploaded file will conform to the default structure of `{uploadLocation}/{userId}/year/year-month-day/filename.ext`
14 lines
546 B
TypeScript
14 lines
546 B
TypeScript
import { AssetEntity } from '@app/database/entities/asset.entity';
|
|
import { SystemConfigEntity } from '@app/database/entities/system-config.entity';
|
|
import { ImmichConfigModule } from '@app/immich-config';
|
|
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { StorageService } from './storage.service';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([AssetEntity, SystemConfigEntity]), ImmichConfigModule],
|
|
providers: [StorageService],
|
|
exports: [StorageService],
|
|
})
|
|
export class StorageModule {}
|