UNPKG

sofa-api

Version:

Create REST APIs with GraphQL

11 lines (10 loc) 481 B
import { createSofaRouter } from './router.cjs'; import type { SofaConfig } from './sofa.cjs'; import { createSofa } from './sofa.cjs'; export { OpenAPI } from './open-api/index.cjs'; export { resolveFieldType, buildSchemaObjectFromType } from './open-api/types.cjs'; export { mapToPrimitive } from './open-api/utils.cjs'; export declare function useSofa(config: SofaConfig): import("fets").Router<any, {}, { [TKey: string]: never; }>; export { createSofaRouter, createSofa };