mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
adapt to interface changes
This commit is contained in:
parent
48ef4cff5f
commit
70c0b5eaf0
@ -53,16 +53,16 @@ const additionalInformation: AdditionalInformation = {
|
|||||||
|
|
||||||
export default class MetaData {
|
export default class MetaData {
|
||||||
|
|
||||||
|
public additionalInformation: AdditionalInformation
|
||||||
public base: MetaDataBase
|
public base: MetaDataBase
|
||||||
public curation: Curation
|
public curation: Curation
|
||||||
public additionalInformation: AdditionalInformation
|
|
||||||
|
|
||||||
constructor(metaData?: MetaData) {
|
constructor(metaData?: MetaData) {
|
||||||
this.base = metaData ? metaData.base ? metaData.base : base : base
|
|
||||||
this.curation = metaData ? metaData.curation ? metaData.curation : curation : curation
|
|
||||||
this.additionalInformation = metaData ?
|
this.additionalInformation = metaData ?
|
||||||
metaData.additionalInformation ? metaData.additionalInformation :
|
metaData.additionalInformation ? metaData.additionalInformation :
|
||||||
additionalInformation : additionalInformation
|
additionalInformation : additionalInformation
|
||||||
|
this.base = metaData ? metaData.base ? metaData.base : base : base
|
||||||
|
this.curation = metaData ? metaData.curation ? metaData.curation : curation : curation
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user