diff --git a/alfa-client/libs/binary-file-shared/src/lib/binary-file.service.ts b/alfa-client/libs/binary-file-shared/src/lib/binary-file.service.ts index b07c5227429ca08dbcc8670c09243a3cdf0d91c7..22804839eb9396f5b62268abaafc785e46e18c7a 100644 --- a/alfa-client/libs/binary-file-shared/src/lib/binary-file.service.ts +++ b/alfa-client/libs/binary-file-shared/src/lib/binary-file.service.ts @@ -21,39 +21,17 @@ * Die sprachspezifischen Genehmigungen und Beschränkungen * unter der Lizenz sind dem Lizenztext zu entnehmen. */ -import { - BlobWithFileName, - createEmptyStateResource, - createErrorStateResource, - createStateResource, - EMPTY_ARRAY, - EMPTY_STRING, - getMessageForInvalidParam, - HttpError, - HttpHeader, - isNotNil, - isUnprocessableEntity, - isValidationFieldFileSizeExceedError, - sanitizeFileName, - StateResource, -} from '@alfa-client/tech-shared'; +import { BlobWithFileName, createEmptyStateResource, createErrorStateResource, createStateResource, EMPTY_ARRAY, EMPTY_STRING, getMessageForInvalidParam, HttpError, HttpHeader, isNotNil, isUnprocessableEntity, isValidationFieldFileSizeExceedError, sanitizeFileName, StateResource, } from '@alfa-client/tech-shared'; import { SnackBarService } from '@alfa-client/ui'; import { HttpErrorResponse, HttpResponse } from '@angular/common/http'; import { Injectable } from '@angular/core'; -import { faker } from '@faker-js/faker/.'; +import { faker } from '@faker-js/faker'; import { getUrl, Resource, ResourceUri } from '@ngxp/rest'; import { saveAs } from 'file-saver'; import { isNil } from 'lodash-es'; import { BehaviorSubject, forkJoin, Observable, of, throwError } from 'rxjs'; import { catchError, map, mergeMap, startWith, switchMap } from 'rxjs/operators'; -import { - BinaryFileListResource, - BinaryFileResource, - FileUploadType, - ToUploadFile, - UploadFile, - UploadFilesByType, -} from './binary-file.model'; +import { BinaryFileListResource, BinaryFileResource, FileUploadType, ToUploadFile, UploadFile, UploadFilesByType, } from './binary-file.model'; import { BinaryFileRepository } from './binary-file.repository'; @Injectable({ providedIn: 'root' })