Skip to content

Commit

Permalink
feat: Added getImportedFileName and getImportedFilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayur committed Oct 9, 2024
1 parent 45cf4c1 commit 069cfc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/services/src/name/file-name.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ export class FileNameService {
getUploadedFilePath(uploadId: string, fileName: string): string {
return `${uploadId}/${this.getUploadedFileName(fileName)}`;
}
getImportedFileName(uploadId: string) {
return `imported-${uploadId}.csv`;
}
getImportedFilePath(uploadId: string) {
return `${uploadId}/${this.getImportedFileName(uploadId)}`;
}
getUploadedFileName(fileName: string): string {
return `uploaded.${this.getFileExtension(fileName)}`;
}
Expand Down

0 comments on commit 069cfc2

Please sign in to comment.