mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
4fc5862654
* #638 Initial design * #638 fix import and get value from env file * #638 Fix UI * #638 Improved UI * #638 Add deny credential and isOrderDisabled * UI update * Fix lint * Attempt fix issue * Revert "Attempt fix issue" This reverts commite3d916fe61
. * Extract default credential type * Fix complexity issue * Fix complexity issue * Fix typo error * Enhance UI * Enhance Credentials Component UI * Reduce duplication * Revert "Reduce duplication" This reverts commite3bf6b4a2a
. Co-authored-by: KY Lau <kian_yee.lau@daimler.com>
32 lines
1.2 KiB
JSON
32 lines
1.2 KiB
JSON
{
|
|
"description": "Update advanced settings of this data set. Updating these settings will create an on-chain transaction you have to approve in your wallet.",
|
|
"form": {
|
|
"success": "🎉 Successfully updated. 🎉",
|
|
"successAction": "Close",
|
|
"error": "Updating DDO failed.",
|
|
"data": [
|
|
{
|
|
"name": "allow",
|
|
"label": "Allow ETH Address",
|
|
"placeholder": "e.g. 0x12345678901234567890abcd",
|
|
"help": "Enter ETH address and click ADD button to append the list. Only ETH address in allow list can consume this asset. If the list is empty means anyone can download or compute this asset",
|
|
"type": "credentials"
|
|
},
|
|
{
|
|
"name": "deny",
|
|
"label": "Deny ETH Address",
|
|
"placeholder": "e.g. 0x12345678901234567890abcd",
|
|
"help": "Enter ETH address and click ADD button to append the list. If ETH address is fall under deny list, download or compute of this asset is denied",
|
|
"type": "credentials"
|
|
},
|
|
{
|
|
"name": "isOrderDisabled",
|
|
"label": "Disable Consumption",
|
|
"help": "Disable dataset being download or compute when dataset undergoing maintenance.",
|
|
"type": "checkbox",
|
|
"options": ["Disable"]
|
|
}
|
|
]
|
|
}
|
|
}
|