Merge branch 'main' of https://gitapp.workolik.com/Nearle/developer_docs
This commit is contained in:
@@ -206,11 +206,27 @@ export const graphqlMeta = {
|
||||
},
|
||||
getlocationsconfig: {
|
||||
query: /* GraphQL */ /* GraphQL */ `
|
||||
query GetLocationsConfig {
|
||||
app_location_config {
|
||||
configid
|
||||
configvalue
|
||||
locationid
|
||||
query GetLocations {
|
||||
details: app_location(where: {status: {_eq: "Active"}}) {
|
||||
applocationid
|
||||
locationname
|
||||
image
|
||||
city
|
||||
state
|
||||
postcode
|
||||
latitude
|
||||
longitude
|
||||
opentime
|
||||
closetime
|
||||
radius
|
||||
applocationadmins: app_locationconfigs(where: {notify: {_eq: "true"}}) {
|
||||
applocationid
|
||||
userid
|
||||
notify
|
||||
app_user {
|
||||
userfcmtokem: userfcmtoken
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
@@ -1152,6 +1168,7 @@ export const graphqlTopics = [
|
||||
name: "getlocationsconfig",
|
||||
method: "GET",
|
||||
url: "/api/rest/getlocationsconfig",
|
||||
useGraphql: true,
|
||||
description: "Get location configuration settings.",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user