openpanel/packages/inferencer/src/index.tsx
2024-02-05 10:23:04 +01:00

41 lines
806 B
TypeScript

export { createInferencer } from "./create-inferencer";
export { SharedCodeViewer } from "./components/shared-code-viewer";
export {
jsx,
accessor,
componentName,
dataProviderFromResource,
shouldDotAccess,
getAccessorKey,
dotAccessor,
getFieldableKeys,
getOptionLabel,
getVariableName,
isIDKey,
noOp,
prettyString,
toPlural,
toSingular,
printImports,
removeRelationSuffix,
idQuoteWrapper,
} from "./utilities";
export type {
AdditionalScopeType,
CodeViewerProps,
CreateInferencer,
CreateInferencerConfig,
FieldInferencer,
FieldTransformer,
ImportElement,
InferField,
InferType,
InferencerComponentProps,
InferencerResultComponent,
RecordField,
RendererContext,
} from "./types";