-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create own GetLibraryFile Dto for UC
- Loading branch information
1 parent
d395712
commit 8ab5968
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
apps/server/src/modules/h5p-editor/uc/dto/h5p-getLibraryFile.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { Readable } from 'stream'; | ||
|
||
export interface GetLibraryFile { | ||
data: Readable; | ||
contentType: string; | ||
contentLength: number; | ||
contentRange?: { start: number; end: number }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters