/*! * Copyright (C) 2018-2019 Silas B. Domingos * This source code is licensed under the MIT License as described in the file LICENSE. */ import * as Types from '../types'; import * as Filters from '../filters'; import { Base } from './base'; /** * Virtual column interface. */ export interface Virtual extends Base { /** * Local column name. */ local: string; /** * Foreign column name. */ foreign: string; /** * Determines whether the local column contains multiples IDs. */ multiple?: boolean; /** * Column entity model. */ model: Types.ModelInput; /** * Column query. */ query?: Filters.Query; /** * Determines whether or not all values from the foreign column must be loaded. */ all?: boolean; }