File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export interface ICollectionsRepository {
4545 ) : Promise < MyDataCollectionItemSubset >
4646 updateCollection (
4747 collectionIdOrAlias : number | string ,
48- updatedCollection : CollectionDTO
48+ updatedCollection : Partial < CollectionDTO >
4949 ) : Promise < void >
5050 getCollectionFeaturedItems ( collectionIdOrAlias : number | string ) : Promise < FeaturedItem [ ] >
5151 updateCollectionFeaturedItems (
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export class UpdateCollection implements UseCase<void> {
1919 */
2020 async execute (
2121 collectionIdOrAlias : number | string ,
22- updatedCollection : CollectionDTO
22+ updatedCollection : Partial < CollectionDTO >
2323 ) : Promise < void > {
2424 return await this . collectionsRepository . updateCollection ( collectionIdOrAlias , updatedCollection )
2525 }
You can’t perform that action at this time.
0 commit comments