View Source Bonfire.Classify.GraphQL.CategoryResolver (bonfire v0.3.5-classic-beta.7)

GraphQL tag/category queries

Link to this section Summary

Link to this section Functions

Link to this function

categories(page_opts, info)

View Source
Link to this function

categories_toplevel(page_opts, info)

View Source
Link to this function

category_children(map, page_opts, info)

View Source

List child categories

Link to this function

create_category(attrs, info)

View Source
Link to this function

ensure_update_allowed(user, c)

View Source
Link to this function

fetch_categories(page_opts, info)

View Source
Link to this function

fetch_categories_children(page_opts, info, id)

View Source
Link to this function

fetch_categories_toplevel(page_opts, info)

View Source
Link to this function

fetch_category(info, id)

View Source
Link to this function

fetch_parent_category(_, ids)

View Source
Link to this function

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

View Source

Retrieves an Page of categorys according to various filters

Used by:

  • GraphQL resolver single-parent resolution
Link to this function

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

View Source

Retrieves an Pages of categorys according to various filters

Used by:

  • GraphQL resolver bulk resolution
Link to this function

parent_category(category, _, info)

View Source
Link to this function

update_category(changes, info)

View Source