Mensa france bundle for Directus
This package is an extension bundle for directus used by Mensa france for internal need.
It provides an interface component embedding codemirror6 with graphql language using internal directus schema for completion, and liquidjs language.
It also provide a module to render liquidjs html pages using graphql requests.
It needs to be bind to a collection containing:
- an id
- a field “title” of type string
- a field “description” of type string
- a field “query” of type text (containing graphql query)
- a field “template” of type text (containing liquidjs template, result of the query is accessible on variable data)
- a field “style” of type text containing style to be apply to the generated template.