@sap-ux/odata-vocabularies
v0.4.4
Published
Supported OASIS and SAP vocabularies
Downloads
122,430
Readme
@sap-ux/odata-vocabularies
Library that contains the most recent copies of the OData vocabularies authored by OASIS and SAP
Supported Vocabularies
- Aggregation
- Authorization
- Core
- Capabilities
- Measures
- Temporal
- Repeatability
- Validation
- JSON
- Analytics
- CodeList
- Common
- Communication
- DataIntegration
- DirectEdit
- Graph
- Hierarchy
- HTML5
- ODM
- 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
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