# OMX Plugin

## Run on local environment
1. Install dependencies with `yarn install`
2. Build artifacts with `yarn build`
3. Start development server with `yarn start`

## Manifests

To enable query checks in your manifests, wrap your query in the `gql` tag and use the parse method to convert it to a string:

```json
'data': {
    'query': parse(gql`query getLocationById($id: ID!) { locationById(id: $id){ ref type status } }`)
}
```

## Further reading

1. [OMX SDK documentation in Lingo](https://lingo.fluentcommerce.com/extend/component-sdk/)

