1 | import { ODataVersion } from '@sap-cloud-sdk/util';
|
2 | export declare type EdmTypeCommon = EdmTypeSameConverters | EdmTypeDifferentConverters;
|
3 | export declare type EdmTypeSameConverters = 'Edm.String' | 'Edm.Boolean' | 'Edm.Decimal' | 'Edm.Double' | 'Edm.Single' | 'Edm.Float' | 'Edm.Int16' | 'Edm.Int32' | 'Edm.Int64' | 'Edm.SByte' | 'Edm.Binary' | 'Edm.Guid' | 'Edm.Byte' | 'Edm.Any';
|
4 | export declare type EdmTypeDifferentConverters = 'Edm.DateTimeOffset';
|
5 | export declare type ExclusiveEdmTypeV2 = 'Edm.DateTime' | 'Edm.Time';
|
6 | export declare type ExclusiveEdmTypeV4 = 'Edm.Date' | 'Edm.Duration' | 'Edm.TimeOfDay' | 'Edm.Enum';
|
7 | export declare type EdmTypeShared<VersionT extends ODataVersion | 'any'> = VersionT extends any ? EdmTypeCommon | ExclusiveEdmTypeV2 | ExclusiveEdmTypeV4 : EdmTypeCommon | ExclusiveEdmTypeV2 | ExclusiveEdmTypeV4;
|
8 | export declare type EdmTypeSameConvertersUri = Exclude<EdmTypeSameConverters, 'Edm.Guid' | 'Edm.Decimal'>;
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare function isEdmType(val: any): val is EdmTypeShared<'any'>;
|
15 |
|
16 |
|
17 |
|
18 | export declare type OrderableEdmType = 'Edm.Decimal' | 'Edm.Double' | 'Edm.Single' | 'Edm.Float' | 'Edm.Int16' | 'Edm.Int32' | 'Edm.Int64' | 'Edm.SByte' | 'Edm.Byte' | 'Edm.DateTime' | 'Edm.DateTimeOffset' | 'Edm.Time' | 'Edm.Date' | 'Edm.Duration' | 'Edm.TimeOfDay';
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function isOrderableEdmType(edmType: EdmTypeShared<'any'>): boolean;
|
25 |
|
\ | No newline at end of file |