-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #519 from deltaDAO/fix/catalogue-list-view
Fix: catalogue list view crash
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { Asset } from '@oceanprotocol/lib' | ||
import { Asset, Metadata } from '@oceanprotocol/lib' | ||
|
||
// declaring into global scope to be able to use this as | ||
// ambiant types despite the above imports | ||
declare global { | ||
interface AssetExtended extends Asset { | ||
accessDetails?: AccessDetails | ||
views?: number | ||
metadata: MetadataExtended | ||
metadata: Metadata | ||
services: ServiceExtended[] | ||
} | ||
} |
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