@balena/odata-parser
Advanced tools
Comparing version 2.0.1-improve-typings-393a90fd54f81e5fad1b179c64bad08f56d5d062 to 2.0.1-improve-typings-bb94134f7231ef71ce5b1ce52d255902b8e7e1a6
@@ -25,11 +25,13 @@ export type SupportedMethod = | ||
export interface PropertyPath<T extends PropertyPath> { | ||
interface GenericPropertyPath<T = any> { | ||
name: string; | ||
property?: T; | ||
} | ||
export interface OrderByPropertyPath extends PropertyPath<OrderByPropertyPath> { | ||
export interface PropertyPath extends GenericPropertyPath<PropertyPath> {} | ||
export interface OrderByPropertyPath | ||
extends GenericPropertyPath<OrderByPropertyPath> { | ||
order: 'asc' | 'desc'; | ||
} | ||
export interface ExpandPropertyPath | ||
extends PropertyPath<ExpandPropertyPath>, | ||
extends GenericPropertyPath<ExpandPropertyPath>, | ||
ResourceOptions {} | ||
@@ -95,3 +97,3 @@ export type SelectOption = | ||
): { | ||
tree: BindReference<string>; | ||
tree: { bind: string }; | ||
binds: ODataBinds; | ||
@@ -98,0 +100,0 @@ }; |
{ | ||
"name": "@balena/odata-parser", | ||
"version": "2.0.1-improve-typings-393a90fd54f81e5fad1b179c64bad08f56d5d062", | ||
"version": "2.0.1-improve-typings-bb94134f7231ef71ce5b1ce52d255902b8e7e1a6", | ||
"description": "An OData parser written in OMeta", | ||
@@ -5,0 +5,0 @@ "main": "odata-parser.js", |
Sorry, the diff of this file is not supported yet
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
239608
5767