Socket
Socket
Sign inDemoInstall

dictaet

Package Overview
Dependencies
243
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dictaet

Root project for odata2ts


Version published
Maintainers
1
Install size
4.51 MB
Created

Readme

Source

odata2ts Example: Trippin

OData2ts generation example based on the publicly available Trippin service.

The Trippin service is a V4 OData service and features a variety of different types (enums, complex types, collections of those, collections of primitive types) and functionalities.

This repo serves as example of how to integrate odata2ts, but its also used internally as basis for V4 integration tests.

The Domain

Contains a lot of features like different data types, Enum, Complex Type extending Complex Type, primitive collections, Singleton etc. Hence, the model is more complex than other examples.

Here's just an excerpt of the most important domain models:

  • Person
    • key: "UserName"
    • associations
      • Friends (Collection<Person>)
      • BestFriend (Person)
      • Trips (Collection<Trip>)
  • Trip
    • key: "TripId"
    • associations
      • multiple PlanItems (Flights)
  • Flight
    • extends PublicTransportation extends PlanItems
    • key: "PlanItemId"
    • associations
      • one Airline
      • two Airports (from & to)
  • Airline
    • key: "AirlineCode"
  • Airport
    • key: "IcaoCode"
    • complex types
      • Location

Entry Points

  • People
  • Airlines
  • Airports
  • Me (example of a Singleton)

FAQs

Last updated on 19 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc