UNPKG

@onereach/orest-input-cli

Version:

The tool for creating, serving, and publishing OREST Inputs

17 lines (13 loc) 384 B
import { getResolvedChildren } from './utils'; const RESOLVER_NAME = 'getInitialValueByUrn'; export default async ({ children = [] } = {}, ...restArgs) => async (...runtimeArgs) => { const [{ resolvers }] = runtimeArgs; return await getResolvedChildren({ children, resolvers, resolverName: RESOLVER_NAME, restArgs, runtimeArgs, }); };