Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ODataUri

Union of necessary methods for the OData URI conversion. In v2/uri-conversion/odata-uri.ts and v4/uri-conversion/odata-uri.ts the instance for v2 and v4 are created.

Hierarchy

  • ODataUri

Index

Methods

convertToUriFormat

getEntityKeys

  • getEntityKeys<EntityT>(entity: EntityT, entityConstructor: Constructable<EntityT>): Record<string, any>

getExpand

  • getExpand<EntityT>(selects: Selectable<EntityT>[], expands: Expandable<EntityT>[], entityConstructor: Constructable<EntityT>): Partial<{ expand: string }>

getFilter

  • getFilter<EntityT>(filter: Filterable<EntityT>, entityConstructor: Constructable<EntityT>): Partial<{ filter: string }>

getOrderBy

  • getOrderBy<EntityT>(orderBy: Orderable<EntityT>[]): Partial<{ orderby: string }>

getResourcePathForKeys

  • getResourcePathForKeys<EntityT>(keys: Record<string, FieldType>, entityConstructor: Constructable<EntityT>): string

getSelect

  • getSelect<EntityT>(selects: Selectable<EntityT>[]): Partial<{ select: string }>