Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions odata-parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export type BooleanBind = ['Boolean', boolean];
export type TextBind = ['Text', string];
export type DateBind = ['Date' | 'Date Time', Date];

export type ParameterAliasBind = NumberBind | BooleanBind | TextBind | DateBind;

export interface ResourceOptions {
count?: true;
options?: ODataOptions;
Expand Down Expand Up @@ -74,10 +76,7 @@ export interface ODataOptions {
[key: string]: // User defined options, do not start with $ or @
| string
// Parameter aliases (start with @)
| NumberBind
| BooleanBind
| TextBind
| DateBind
| ParameterAliasBind
// known $ options
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
| SelectOption
Expand Down