UNPKG

@odata2ts/odata-service

Version:

Main runtime dependency of odata2ts for generated odata client services

20 lines (19 loc) 708 B
export interface ODataServiceOptions { /** * By default, specific parts of the URL are encoded by odata2ts. * However, there exist servers which cannot handle URL encoding (see issue #324) and this * option allows to switch off URL encoding entirely. */ noUrlEncoding?: boolean; } export interface ODataServiceOptionsInternal extends ODataServiceOptions { /** * On the one hand it is only needed for v4. On the other hand this must be set internally * as it plays together with converters, which are handled by the generator, not at runtime. */ bigNumbersAsString?: boolean; /** * Marks service as subtype service. */ subtype?: boolean; }