0.0.4 • Published 7 years ago

@resolvr/results-engine v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Resolvr Results Engine

The Results Engine parses the output of core and the query-engine into a frontend ready format

Usage

const { ResultsEngine, ReturnType } = require('@resolvr/results-engine');

const engine = new ResultsEngine();
const type = new ReturnType(
  ReturnType.TYPES.LIST,
  null,
  {
    parseResults: {} // Parsing from core
  }
);
// queryResults is the array returned from the Query Engine
const json = engine.make(type, queryResults);

// json can now be sent back to the front end
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago