-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* first attempt * last edits Co-authored-by: abdelillah <aghomari.professionnel@gmail.com>
- Loading branch information
1 parent
1f78372
commit e2b2320
Showing
12 changed files
with
202 additions
and
73 deletions.
There are no files selected for viewing
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
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
14 changes: 12 additions & 2 deletions
14
src/resource-packs/interfaces/create-resource-pack.interface.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 |
---|---|---|
@@ -1,8 +1,18 @@ | ||
import ICreateTrack from '../../tracks/interfaces/create-track.interface'; | ||
import ICreateUser from '../../users/interfaces/create-user.interface'; | ||
import { AccessType } from '../dto/create-resource-pack.dto'; | ||
|
||
export default interface ICreateResourcePack { | ||
title: string; | ||
description: string; | ||
coverUrl: string; | ||
resources: ICreateTrack[]; | ||
resources: ICreateResource[]; | ||
} | ||
|
||
export interface ICreateResource { | ||
title: string; | ||
originalFileName: string; | ||
previewFileName: string; | ||
author: ICreateUser; | ||
accessType: AccessType; | ||
amount?: 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
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
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
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
Oops, something went wrong.