mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Matthias Kretschmann
02beb0f8c3
* edit refactors * fix logic around `publisherTrustedAlgorithms` * typing fix * copy & typos * conditionally add compute tab to edit screen * more logic fixes * fix various app crashes because of Debug component * semi-deal with publisherTrustedAlgorithmPublishers * more fixes, bound submit button to touched state
66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
{
|
|
"form": {
|
|
"success": "🎉 Successfully updated. 🎉\n\nUpdates might not show up right away on your asset. In this case, wait some seconds and reload your asset details page in your browser.",
|
|
"error": "Updating DDO failed.",
|
|
"data": [
|
|
{
|
|
"name": "name",
|
|
"label": "New Title",
|
|
"placeholder": "e.g. Shapes of Desert Plants",
|
|
"help": "Enter a concise title.",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "description",
|
|
"label": "New Description",
|
|
"help": "Add a thorough description with as much detail as possible. You can use [Markdown](https://daringfireball.net/projects/markdown/basics).",
|
|
"type": "textarea",
|
|
"rows": 10,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "price",
|
|
"label": "New Price",
|
|
"type": "number",
|
|
"min": "1",
|
|
"placeholder": "0",
|
|
"help": "Enter a new price.",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "files",
|
|
"label": "New file",
|
|
"placeholder": "e.g. https://file.com/file.json",
|
|
"help": "This URL will be stored encrypted after publishing. **Please make sure that the endpoint is accessible over the internet and is not protected by a firewall or by credentials.** For a compute data set, your file should match the file type required by the algorithm, and should not exceed 1 GB in file size. Leaving this field empty will not remove the current value.",
|
|
"prominentHelp": true,
|
|
"type": "files"
|
|
},
|
|
{
|
|
"name": "links",
|
|
"label": "New sample file",
|
|
"placeholder": "e.g. https://file.com/samplefile.json",
|
|
"help": "Please provide a URL to a sample of your data set file. This file should reveal the data structure of your data set, e.g. by including the header and one line of a CSV file. This file URL will be publicly available after publishing. **Please make sure that the endpoint is accessible over the internet and is not protected by a firewall or by credentials.** Leaving this field empty will not remove the current value.",
|
|
"prominentHelp": true,
|
|
"type": "files"
|
|
},
|
|
|
|
{
|
|
"name": "timeout",
|
|
"label": "Timeout",
|
|
"help": "Define how long buyers should be able to download the data set again after the initial purchase.",
|
|
"type": "select",
|
|
"options": ["Forever", "1 day", "1 week", "1 month", "1 year"],
|
|
"sortOptions": false,
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "author",
|
|
"label": "New Author",
|
|
"placeholder": "e.g. Mrs McJellyfish",
|
|
"help": "Give proper attribution for your data set.",
|
|
"required": false
|
|
}
|
|
]
|
|
}
|
|
}
|