odata-metadata
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

OData metadata classes

This library implements the EDM and EMDX classes from the OData CSDL V4.

Features

  • Edm and Edmx classes
  • will provide Validation logic - based on specs (-on the way)
  • will Download and parse metadata from $metadata document or uri endpoint

Usage

$ npm install odata-metadata

then just

import {Edm} from 'odata-metadata'
 
let entityType = new edm.EntityType({ name: "Orders", property: [{ name:"OrderID", type:edm.Integer}]
entityType.properties.push(new Edm.Property(...))

Edm classes implemented

Edm.Action

Edm.ComplexType

Edm.EntityType

Edm.EnumType

Edm.Function

Edm.Member

Edm.NavigationProperty

Edm.Parameter

Edm.Property

Edm.PropertyRef

Edm.ReferentialConstraint

Edm.ReturnType

Edm.Schema

Readme

Keywords

none

Package Sidebar

Install

npm i odata-metadata

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • borzav
  • jaydata
  • jaystack
  • lazarv
  • peterzentai