Rename Key/Value field to JSON field

This commit is contained in:
Andrew Kingston 2021-12-10 15:26:43 +00:00
parent 6fd53b134a
commit f4c3435e98
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@
</script> </script>
<ModalContent <ModalContent
title={"Key/Value Schema Editor"} title={"JSON Schema Editor"}
confirmText="Save Column" confirmText="Save Column"
onConfirm={saveSchema} onConfirm={saveSchema}
bind:disabled={invalid} bind:disabled={invalid}

View File

@ -250,7 +250,7 @@
{#if jsonArrays?.length} {#if jsonArrays?.length}
<Divider size="S" /> <Divider size="S" />
<div class="title"> <div class="title">
<Heading size="XS">Key/Value Arrays</Heading> <Heading size="XS">JSON Arrays</Heading>
</div> </div>
<ul> <ul>
{#each jsonArrays as field} {#each jsonArrays as field}

View File

@ -90,7 +90,7 @@ export const FIELDS = {
}, },
}, },
JSON: { JSON: {
name: "Key/Value", name: "JSON",
type: "json", type: "json",
constraints: { constraints: {
type: "object", type: "object",

View File

@ -2470,7 +2470,7 @@
] ]
}, },
"jsonfield": { "jsonfield": {
"name": "Key/Value Field", "name": "JSON Field",
"icon": "Brackets", "icon": "Brackets",
"styles": ["size"], "styles": ["size"],
"editable": true, "editable": true,