Bonfire.Geolocate.GraphQL (Bonfire v1.0.1-social-alpha.28)

View Source

Summary

Functions

all_geolocations(page_opts, info)

create_geolocation(map, info)

delete_geolocation(map, info)

ensure_delete_allowed(user, geo)

ensure_update_allowed(user, geo)

fetch_geolocation(info, id)

fetch_geolocation_edge(_, ids)

fetch_geolocations(page_opts, info)

fields(group_fn, filters \\ [])

geolocation(map, info)

geolocation_edge(arg1, _, info)

geolocations(page_opts, info)

last_activity_edge(_, _, info)

page(cursor_fn, page_opts, base_filters \\ [], data_filters \\ [], count_filters \\ [])

Retrieves an Page of geolocations according to various filters

Used by:

  • GraphQL resolver single-parent resolution

pages(cursor_fn, group_fn, page_opts, base_filters \\ [], data_filters \\ [], count_filters \\ [])

Retrieves an Pages of geolocations according to various filters

Used by:

  • GraphQL resolver bulk resolution

update_geolocation(map, info)