( dataSource: InterpretDataSource, engine: IDataSourceRuntimeContext, options?: DataSourcePluginOptions, )
| 14 | } |
| 15 | |
| 16 | export const createDataSourceEngine = ( |
| 17 | dataSource: InterpretDataSource, |
| 18 | engine: IDataSourceRuntimeContext, |
| 19 | options?: DataSourcePluginOptions, |
| 20 | ) => { |
| 21 | return createInterpret(dataSource, engine, { |
| 22 | ...options, |
| 23 | requestHandlersMap: options?.requestHandlersMap || defaultRequestHandlersMap, |
| 24 | }) |
| 25 | } |
| 26 | |
| 27 | interface DataSourcePluginOptions { |
| 28 | /** |
no outgoing calls
no test coverage detected