UNPKG

sql-code-generator

Version:

Generate code from your SQL schema and queries for type safety and development speed.

14 lines (13 loc) 645 B
import { DomainObject } from 'domain-objects'; import Joi from 'joi'; import { DataType } from '../constants'; import { TypeDefinitionOfResourceInput } from './TypeDefinitionOfResourceInput'; import { TypeDefinitionOfResourceTable } from './TypeDefinitionOfResourceTable'; export interface TypeDefinitionOfResourceFunction { name: string; inputs: TypeDefinitionOfResourceInput[]; output: DataType[] | TypeDefinitionOfResourceTable; } export declare class TypeDefinitionOfResourceFunction extends DomainObject<TypeDefinitionOfResourceFunction> implements TypeDefinitionOfResourceFunction { static schema: Joi.ObjectSchema<any>; }