UNPKG

@sap-cloud-sdk/odata-common

Version:

SAP Cloud SDK for JavaScript common functions of OData client generator and OpenAPI clint generator.

8 lines (7 loc) 479 B
import type { DeSerializers } from '../de-serializers'; import type { Constructable, EntityBase } from '../entity-base'; import type { ComplexTypeField } from './complex-type-field'; /** * Union type to represent the parent of a field. This can either be an entity constructor or a complex type field. */ export type ConstructorOrField<EntityT extends EntityBase, ComplexT = any> = Constructable<EntityT> | ComplexTypeField<EntityT, DeSerializers, ComplexT, boolean, boolean>;