UNPKG

@resourcefulhumans/rheactor-aws-lambda

Version:
14 lines (12 loc) 288 B
import Promise from 'bluebird' import {IndexType} from 'rheactor-models' /** * @param {Index} index * @return {Function} */ export const apiIndexOperation = (index) => { IndexType(index, ['apiIndexOperation()', 'index:Index']) return { get: () => Promise.resolve(index) } }