1 | import { EdmTypeShared } from '../../edm-types';
|
2 | import { Entity, ODataVersionOf, Constructable } from '../../entity';
|
3 | import { ConstructorOrField } from '../constructor-or-field';
|
4 | import { EdmTypeField } from '../edm-type-field';
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export declare class BinaryFieldBase<EntityT extends Entity, SelectableT extends boolean = false> extends EdmTypeField<EntityT, string, false, SelectableT> {
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare class BinaryField<EntityT extends Entity> extends BinaryFieldBase<EntityT, true> {
|
18 | }
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare class ComplexTypeBinaryPropertyField<EntityT extends Entity, ComplexT = any> extends BinaryFieldBase<EntityT> {
|
25 | |
26 |
|
27 |
|
28 | readonly fieldOf: ConstructorOrField<EntityT, ComplexT>;
|
29 | |
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | constructor(fieldName: string, fieldOf: ConstructorOrField<EntityT, ComplexT>, edmType: EdmTypeShared<ODataVersionOf<EntityT>>);
|
36 | /**
|
37 | * @deprecated Since v1.19.0.
|
38 | *
|
39 | * Creates an instance of ComplexTypeBinaryPropertyField.
|
40 | * @param fieldName - Actual name of the field used in the OData request
|
41 | * @param entityConstructor - Constructor type of the entity the field belongs to
|
42 | * @param parentTypeName - Name of the parent complex type
|
43 | * @param edmType - Type of the field according to the metadata description
|
44 | */
|
45 | constructor(fieldName: string, entityConstructor: Constructable<EntityT>, parentTypeName: string, edmType: EdmTypeShared<ODataVersionOf<EntityT>>);
|
46 | /**
|
47 | * Path to the field to be used in filter and order by queries. Combines the parent complex type name with the field name.
|
48 | * @returns Path to the field to be used in filter and order by queries.
|
49 | */
|
50 | fieldPath(): string;
|
51 | }
|
52 | //# sourceMappingURL=binary-field.d.ts.map |
\ | No newline at end of file |