Skip to content

Commit 95a46e1

Browse files
enhancement(contract): fetch assets with allowed typenames for contracts
1 parent 339e206 commit 95a46e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

adapters/api/get-contract-asset.js

+9
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ export default async function getContractAsset({
3535
term: {
3636
qualifiedName: assetQualifiedName
3737
}
38+
},
39+
{
40+
terms: {
41+
"__typeName.keyword": [
42+
"Table",
43+
"MaterialisedView",
44+
"View"
45+
]
46+
}
3847
}
3948
]
4049
}

0 commit comments

Comments
 (0)