feat: point field localization and graphql

This commit is contained in:
Dan Ribbens
2021-08-24 17:28:08 -04:00
parent 7504155e17
commit 30f17509ea
12 changed files with 174 additions and 33 deletions

View File

@@ -45,6 +45,15 @@ const numeric = [
},
];
const geo = [
...base,
...boolean,
{
label: 'near',
value: 'near',
},
];
const like = {
label: 'is like',
value: 'like',
@@ -79,6 +88,10 @@ const fieldTypeConditions = {
component: 'Date',
operators: [...base, ...numeric],
},
point: {
component: 'Point',
operators: [...geo],
},
upload: {
component: 'Text',
operators: [...base],