import Cmf from "cmf.lbos"; /** * Types of objects that can be displayed in the WhereUsed section. */ export declare type ValidObjectDisplay = Cmf.Foundation.BusinessObjects.Entity | Cmf.Foundation.BusinessObjects.EntityVersion | Cmf.Foundation.BusinessObjects.SmartTables.SmartTable | Cmf.Foundation.BusinessObjects.GenericTables.GenericTable; /** * Object that is used to store the data about a single entity that * was retrieved from the service backend. */ export interface WhereUsedData { /** * The object to be displayed to the user. */ entity: ValidObjectDisplay; /** * The version of the entity to be displayed to the user. Is the * value "0" if the entity doesn't have a version */ entityVersion: number; /** * "true" if this entity is a relation of the main entity, "false" * otherwise. */ isRelation: boolean; } /** * Object used to store all of the entities of a given type that were * retrieved from the service backend after parsing. */ export interface EntityTypeWhereUsedData { /** * The entity type name of the entities stored in the "items" * array. */ entityTypeName: string; /** * The parsed entities that were retrieved from the service * backend. */ items: WhereUsedData[]; /** * The total number of rows that the service backend can return. * * This value is not the length of the "items" fields because the * service backend does not return all of its entities all at * once. */ totalRows: number; }