We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c33487 + 2f357db commit a95ed54Copy full SHA for a95ed54
1 file changed
odata-parser.d.ts
@@ -18,6 +18,8 @@ export type BooleanBind = ['Boolean', boolean];
18
export type TextBind = ['Text', string];
19
export type DateBind = ['Date' | 'Date Time', Date];
20
21
+export type ParameterAliasBind = NumberBind | BooleanBind | TextBind | DateBind;
22
+
23
export interface ResourceOptions {
24
count?: true;
25
options?: ODataOptions;
@@ -74,10 +76,7 @@ export interface ODataOptions {
74
76
[key: string]: // User defined options, do not start with $ or @
75
77
| string
78
// Parameter aliases (start with @)
- | NumberBind
- | BooleanBind
79
- | TextBind
80
- | DateBind
+ | ParameterAliasBind
81
// known $ options
82
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
83
| SelectOption
0 commit comments