@sap-ux/odata-vocabularies
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

@sap-ux/odata-vocabularies

Library that contains the most recent copies of the OData vocabularies authored by OASIS and SAP

Supported Vocabularies

OASIS Vocabularies

  • Aggregation
  • Authorization
  • Core
  • Capabilities
  • Measures
  • Temporal
  • Repeatability
  • Validation
  • JSON

SAP Vocabularies

  • Analytics
  • CodeList
  • Common
  • Communication
  • DataIntegration
  • DirectEdit
  • Graph
  • Hierarchy
  • HTML5
  • ODM
  • PDF
  • PersonalData
  • Session
  • UI

Installation

Npm npm install --save @sap-ux/odata-vocabularies

Yarn yarn add @sap-ux/odata-vocabularies

Pnpm pnpm add @sap-ux/odata-vocabularies

Usage

  1. Import the needed functions in your modules

    import { VocabularyService } from '@sap/ux-odata-vocabularies';

Vocabulary API

The vocabulary API is implemented via class VocabularyService and currently exposes the following functions:

  • checkTermApplicability

  • getComplexType

  • getComplexTypeProperty

  • getDerivedTypeNames

  • getDocumentation

  • getTerm

  • getTermsForTargetKinds

  • getType

  • getVocabularies

  • getVocabulary

  • getVocabularyNamespace

/@sap-ux/odata-vocabularies/

    Package Sidebar

    Install

    npm i @sap-ux/odata-vocabularies

    Weekly Downloads

    30,150

    Version

    0.4.4

    License

    Apache-2.0

    Unpacked Size

    887 kB

    Total Files

    131

    Last publish

    Collaborators

    • sap_extncrepos
    • kranthie.sap
    • tqueck