UNPKG

sql-code-generator

Version:

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

16 lines (15 loc) 586 B
import { DomainObject } from 'domain-objects'; import Joi from 'joi'; export interface TypeDefinitionReference { /** * e.g., "i.externalId", if references a table defined in "tableReference"s for the query w/ alias i */ tableReferencePath: string | null; /** * e.g., "upsert_image.0" if references first arg of function "upsert_image" */ functionReferencePath: string | null; } export declare class TypeDefinitionReference extends DomainObject<TypeDefinitionReference> implements TypeDefinitionReference { static schema: Joi.ObjectSchema<any>; }