UNPKG

@autobe/agent

Version:

AI backend server code generator

28 lines (27 loc) 1.15 kB
import { AutoBeDatabase, AutoBeInterfaceSchemaPropertyExclude, AutoBeInterfaceSchemaPropertyRefine, AutoBeOpenApi } from "@autobe/interface"; import { ILlmApplication, IValidation } from "typia"; export declare namespace AutoBeInterfaceSchemaRefineProgrammer { const fixApplication: (props: { application: ILlmApplication; typeName: string; everyModels: AutoBeDatabase.IModel[]; schema: AutoBeOpenApi.IJsonSchema.IObject; }) => void; const validate: (props: { path: string; errors: IValidation.IError[]; everyModels: AutoBeDatabase.IModel[]; typeName: string; databaseSchema: string | null; schema: AutoBeOpenApi.IJsonSchema.IObject; excludes: AutoBeInterfaceSchemaPropertyExclude[]; revises: AutoBeInterfaceSchemaPropertyRefine[]; }) => void; const execute: (props: { schema: AutoBeOpenApi.IJsonSchema.IObject; databaseSchema: string | null; specification: string; description: string; revises: AutoBeInterfaceSchemaPropertyRefine[]; }) => AutoBeOpenApi.IJsonSchemaDescriptive.IObject; }