@sap-ux/vocabularies-types
Advanced tools
Comparing version 0.11.2 to 0.11.3
{ | ||
"name": "@sap-ux/vocabularies-types", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "SAP Fiori OData - TS types for vocabularies", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -7,2 +7,3 @@ import * as com_sap_vocabularies_Common_v1 from "./Common"; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -31,2 +32,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -52,2 +54,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -72,2 +75,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'SecondaryKey'?: com_sap_vocabularies_Common_v1.SecondaryKey; | ||
@@ -111,2 +115,3 @@ 'AssociationEntity'?: com_sap_vocabularies_Common_v1.AssociationEntity; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -131,2 +136,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -153,2 +159,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'Text'?: com_sap_vocabularies_Common_v1.Text; | ||
@@ -231,2 +238,3 @@ 'TextFor'?: com_sap_vocabularies_Common_v1.TextFor; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'MinOccurs'?: com_sap_vocabularies_Common_v1.MinOccurs; | ||
@@ -257,2 +265,3 @@ 'MaxOccurs'?: com_sap_vocabularies_Common_v1.MaxOccurs; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -277,2 +286,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'MinOccurs'?: com_sap_vocabularies_Common_v1.MinOccurs; | ||
@@ -302,2 +312,3 @@ 'MaxOccurs'?: com_sap_vocabularies_Common_v1.MaxOccurs; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExternalID'?: com_sap_vocabularies_Common_v1.ExternalID; | ||
@@ -338,2 +349,3 @@ 'TextFormat'?: com_sap_vocabularies_Common_v1.TextFormat; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'TextFormat'?: com_sap_vocabularies_Common_v1.TextFormat; | ||
@@ -359,2 +371,3 @@ 'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'MinOccurs'?: com_sap_vocabularies_Common_v1.MinOccurs; | ||
@@ -391,2 +404,3 @@ 'MaxOccurs'?: com_sap_vocabularies_Common_v1.MaxOccurs; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -411,2 +425,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -432,2 +447,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -453,2 +469,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -476,2 +493,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -498,2 +516,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -518,2 +537,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -540,2 +560,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -560,2 +581,3 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'FieldControl'?: com_sap_vocabularies_Common_v1.FieldControl; | ||
@@ -583,2 +605,3 @@ 'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
'QuickInfo'?: com_sap_vocabularies_Common_v1.QuickInfo; | ||
'DocumentationRef'?: com_sap_vocabularies_Common_v1.DocumentationRef; | ||
'ExceptionCategory'?: com_sap_vocabularies_Common_v1.ExceptionCategory; | ||
@@ -585,0 +608,0 @@ 'Application'?: com_sap_vocabularies_Common_v1.Application; |
@@ -45,2 +45,8 @@ import * as Core from "./Core"; | ||
/** | ||
A URI referencing language-dependent documentation for the annotated model element | ||
*/ | ||
export type DocumentationRef = { | ||
term: CommonAnnotationTerms.DocumentationRef; | ||
} & AnnotationTerm<Edm.String>; | ||
/** | ||
A descriptive text for values of the annotated property. Value MUST be a dynamic expression when used as metadata annotation. | ||
@@ -212,7 +218,14 @@ */ | ||
term: CommonAnnotationTerms.SemanticObjectMapping; | ||
} & AnnotationTerm<SemanticObjectMappingTypeTypes[]>; | ||
} & AnnotationTerm<SemanticObjectMappingAbstractTypes[]>; | ||
/** | ||
Maps a property of the annotated entity type or a sibling property of the annotated property to a property of the Semantic Object | ||
Maps a property of the Semantic Object to a property of the annotated entity type or a sibling property of the annotated property or a constant value | ||
*/ | ||
export type SemanticObjectMappingType = ComplexType & { | ||
export type SemanticObjectMappingAbstract = ComplexType & { | ||
$Type: CommonAnnotationTypes.SemanticObjectMappingAbstract; | ||
/** | ||
Name of the Semantic Object property | ||
*/ | ||
SemanticObjectProperty: Edm.String; | ||
}; | ||
export type SemanticObjectMappingType = ComplexType & Omit<SemanticObjectMappingAbstract, '$Type'> & { | ||
$Type: CommonAnnotationTypes.SemanticObjectMappingType; | ||
@@ -223,6 +236,9 @@ /** | ||
LocalProperty: Edm.PropertyPath; | ||
}; | ||
export type SemanticObjectMappingConstant = ComplexType & Omit<SemanticObjectMappingAbstract, '$Type'> & { | ||
$Type: CommonAnnotationTypes.SemanticObjectMappingConstant; | ||
/** | ||
Name of the Semantic Object property | ||
Constant value for the Semantic Object property | ||
*/ | ||
SemanticObjectProperty: Edm.String; | ||
Constant: Edm.PrimitiveType; | ||
}; | ||
@@ -1287,2 +1303,3 @@ /** | ||
QuickInfo = "com.sap.vocabularies.Common.v1.QuickInfo", | ||
DocumentationRef = "com.sap.vocabularies.Common.v1.DocumentationRef", | ||
Text = "com.sap.vocabularies.Common.v1.Text", | ||
@@ -1387,3 +1404,5 @@ TextFor = "com.sap.vocabularies.Common.v1.TextFor", | ||
export declare const enum CommonAnnotationTypes { | ||
SemanticObjectMappingAbstract = "com.sap.vocabularies.Common.v1.SemanticObjectMappingAbstract", | ||
SemanticObjectMappingType = "com.sap.vocabularies.Common.v1.SemanticObjectMappingType", | ||
SemanticObjectMappingConstant = "com.sap.vocabularies.Common.v1.SemanticObjectMappingConstant", | ||
FilterExpressionRestrictionType = "com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType", | ||
@@ -1410,3 +1429,5 @@ ApplicationType = "com.sap.vocabularies.Common.v1.ApplicationType", | ||
} | ||
export type SemanticObjectMappingAbstractTypes = SemanticObjectMappingTypeTypes | SemanticObjectMappingConstantTypes; | ||
export type SemanticObjectMappingTypeTypes = SemanticObjectMappingType; | ||
export type SemanticObjectMappingConstantTypes = SemanticObjectMappingConstant; | ||
export type FilterExpressionRestrictionTypeTypes = FilterExpressionRestrictionType; | ||
@@ -1413,0 +1434,0 @@ export type ApplicationTypeTypes = ApplicationType; |
@@ -269,2 +269,3 @@ "use strict"; | ||
CommonAnnotationTerms["QuickInfo"] = "com.sap.vocabularies.Common.v1.QuickInfo"; | ||
CommonAnnotationTerms["DocumentationRef"] = "com.sap.vocabularies.Common.v1.DocumentationRef"; | ||
CommonAnnotationTerms["Text"] = "com.sap.vocabularies.Common.v1.Text"; | ||
@@ -370,3 +371,5 @@ CommonAnnotationTerms["TextFor"] = "com.sap.vocabularies.Common.v1.TextFor"; | ||
(function (CommonAnnotationTypes) { | ||
CommonAnnotationTypes["SemanticObjectMappingAbstract"] = "com.sap.vocabularies.Common.v1.SemanticObjectMappingAbstract"; | ||
CommonAnnotationTypes["SemanticObjectMappingType"] = "com.sap.vocabularies.Common.v1.SemanticObjectMappingType"; | ||
CommonAnnotationTypes["SemanticObjectMappingConstant"] = "com.sap.vocabularies.Common.v1.SemanticObjectMappingConstant"; | ||
CommonAnnotationTypes["FilterExpressionRestrictionType"] = "com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType"; | ||
@@ -373,0 +376,0 @@ CommonAnnotationTypes["ApplicationType"] = "com.sap.vocabularies.Common.v1.ApplicationType"; |
@@ -124,3 +124,3 @@ export declare enum TermToTypes { | ||
"com.sap.vocabularies.Common.v1.RevealOnDemand" = "Edm.Boolean", | ||
"com.sap.vocabularies.Common.v1.SemanticObjectMapping" = "com.sap.vocabularies.Common.v1.SemanticObjectMappingType", | ||
"com.sap.vocabularies.Common.v1.SemanticObjectMapping" = "com.sap.vocabularies.Common.v1.SemanticObjectMappingAbstract", | ||
"com.sap.vocabularies.Common.v1.IsInstanceAnnotation" = "Org.OData.Core.V1.Tag", | ||
@@ -127,0 +127,0 @@ "com.sap.vocabularies.Common.v1.FilterExpressionRestrictions" = "com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType", |
@@ -128,3 +128,3 @@ "use strict"; | ||
TermToTypes["com.sap.vocabularies.Common.v1.RevealOnDemand"] = "Edm.Boolean"; | ||
TermToTypes["com.sap.vocabularies.Common.v1.SemanticObjectMapping"] = "com.sap.vocabularies.Common.v1.SemanticObjectMappingType"; | ||
TermToTypes["com.sap.vocabularies.Common.v1.SemanticObjectMapping"] = "com.sap.vocabularies.Common.v1.SemanticObjectMappingAbstract"; | ||
TermToTypes["com.sap.vocabularies.Common.v1.IsInstanceAnnotation"] = "Org.OData.Core.V1.Tag"; | ||
@@ -131,0 +131,0 @@ TermToTypes["com.sap.vocabularies.Common.v1.FilterExpressionRestrictions"] = "com.sap.vocabularies.Common.v1.FilterExpressionRestrictionType"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
725686
15342