**What**
Align the index engine API to be similar to the Query API
## Example
```ts
// Benefit from the same level of typing like the remote query
const { data, metadata } = await indexEngine.query<'product'>({
fields: [
"product.*",
"product.variants.*",
"product.variants.prices.*",
],
filters: {
product: {
variants: {
prices: {
amount: { $gt: 50 },
},
},
},
},
pagination: {
order: {
product: {
variants: {
prices: {
amount: "DESC",
},
},
},
},
},
})
```
12 lines
183 B
JSON
12 lines
183 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"include": ["src"],
|
|
"exclude": [
|
|
"dist",
|
|
"src/**/__tests__",
|
|
"src/**/__mocks__",
|
|
"src/**/__fixtures__",
|
|
"node_modules"
|
|
]
|
|
}
|