import { Provider } from "@nestjs/common";
import { resolveAttachmentsRoot } from "./attachment.config";
export const ATTACHMENTS_ROOT = Symbol('ATTACHMENTS_ROOT');

export const attachmentsRootProvider: Provider = {
    provide: ATTACHMENTS_ROOT,
    useFactory: () => resolveAttachmentsRoot(),
};