@sap-ux/vocabularies-types
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -240,2 +240,3 @@ import type { ActionAnnotations, ActionImportAnnotations, AnnotationAnnotations, ComplexTypeAnnotations, EntityContainerAnnotations, EntitySetAnnotations, EntityTypeAnnotations, EnumTypeAnnotations, FunctionAnnotations, FunctionImportAnnotations, IncludeAnnotations, NavigationPropertyAnnotations, ParameterAnnotations, PropertyAnnotations, ReferenceAnnotations, ReturnTypeAnnotations, SchemaAnnotations, SingletonAnnotations, TermAnnotations, TypeDefinitionAnnotations, PropertyValueAnnotations, RecordAnnotations, CollectionAnnotations } from './vocabularies/Edm_Types'; | ||
isEntitySet: boolean; | ||
isCollection: boolean; | ||
name: string; | ||
@@ -242,0 +243,0 @@ fullyQualifiedName: string; |
{ | ||
"name": "@sap-ux/vocabularies-types", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "SAP Fiori OData - TS types for vocabularies", | ||
@@ -28,4 +28,4 @@ "repository": { | ||
"engines": { | ||
"pnpm": ">=6.26.1", | ||
"node": ">=12.22.5 < 13.0.0 || >= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0" | ||
"pnpm": ">=7.3.0", | ||
"node": ">= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0" | ||
}, | ||
@@ -42,4 +42,3 @@ "scripts": { | ||
"unlink": "pnpm unlink --global" | ||
}, | ||
"readme": "# @sap-ux/vocabularies-types\n\nDefines Typescript types based on the OData vocabularies.\n\nThe types are meant to be used in conjuction with the annotation-converter in order to get an object structure that provide those them.\n\n\n\n## Installation\nnpm\n`npm install --save-dev @sap-ux/vocabularies-types`\n\nyarn\n`yarn add @sap-ux/vocabularies-types --dev`\n\npnpm\n`pnpm add @sap-ux/vocabularies-types --dev`\n\n## Usage\n\nAdd this to your project as a dev dependency and add it to the types section of your ts-config.json\n\n```\n...\n\"compilerOptions\": {\n \"types\": [\"@sap-ux/vocabularies-types\"]\n}\n...\n```\n\n## Keywords\nOData Vocabularies\n" | ||
} | ||
} |
@@ -618,2 +618,6 @@ import * as Auth from "./Auth"; | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
Possible error responses returned by the request. | ||
*/ | ||
ErrorResponses: HttpResponseTypes[]; | ||
}; | ||
@@ -731,2 +735,6 @@ export declare type PermissionType = ComplexType & { | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
Possible error responses returned by the request. | ||
*/ | ||
ErrorResponses: HttpResponseTypes[]; | ||
}; | ||
@@ -849,2 +857,6 @@ export declare const enum HttpMethod { | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
Possible error responses returned by the request. | ||
*/ | ||
ErrorResponses: HttpResponseTypes[]; | ||
}; | ||
@@ -928,2 +940,6 @@ /** | ||
CustomQueryOptions: CustomParameterTypes[]; | ||
/** | ||
Possible error responses returned by the request. | ||
*/ | ||
ErrorResponses: HttpResponseTypes[]; | ||
}; | ||
@@ -1001,2 +1017,6 @@ /** | ||
LongDescription?: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
Possible error responses returned by the request. | ||
*/ | ||
ErrorResponses: HttpResponseTypes[]; | ||
}; | ||
@@ -1060,2 +1080,13 @@ /** | ||
} & AnnotationTerm<PropertyAnnotationValue<Core.Tag>>; | ||
export declare type HttpResponse = ComplexType & { | ||
$Type: CapabilitiesAnnotationTypes.HttpResponse; | ||
/** | ||
HTTP response status code, for example 400, 403, 501 | ||
*/ | ||
StatusCode: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
Human-readable description of the response | ||
*/ | ||
Description: PropertyAnnotationValue<Edm.String>; | ||
}; | ||
export declare const enum CapabilitiesAnnotationTerms { | ||
@@ -1129,3 +1160,4 @@ ConformanceLevel = "Org.OData.Capabilities.V1.ConformanceLevel", | ||
ReadRestrictionsType = "Org.OData.Capabilities.V1.ReadRestrictionsType", | ||
CustomParameter = "Org.OData.Capabilities.V1.CustomParameter" | ||
CustomParameter = "Org.OData.Capabilities.V1.CustomParameter", | ||
HttpResponse = "Org.OData.Capabilities.V1.HttpResponse" | ||
} | ||
@@ -1159,1 +1191,2 @@ export declare type CallbackTypeTypes = CallbackType; | ||
export declare type CustomParameterTypes = CustomParameter; | ||
export declare type HttpResponseTypes = HttpResponse; |
@@ -235,2 +235,3 @@ "use strict"; | ||
CapabilitiesAnnotationTypes["CustomParameter"] = "Org.OData.Capabilities.V1.CustomParameter"; | ||
CapabilitiesAnnotationTypes["HttpResponse"] = "Org.OData.Capabilities.V1.HttpResponse"; | ||
})(CapabilitiesAnnotationTypes = exports.CapabilitiesAnnotationTypes || (exports.CapabilitiesAnnotationTypes = {})); |
@@ -412,3 +412,3 @@ import * as Edm from "../Edm"; | ||
*/ | ||
Type?: PropertyAnnotationValue<Edm.String>; | ||
Type: PropertyAnnotationValue<Edm.String>; | ||
/** | ||
@@ -415,0 +415,0 @@ The proposed filename for downloading the binary or stream value, see [RFC 6266, Disposition Parameter: 'Filename'](https://datatracker.ietf.org/doc/html/rfc6266#section-4.3) |
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
512898
140108
11279
3