angular-odata 0.158.0 → 0.160.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/angular-odata.d.ts
CHANGED
|
@@ -1419,8 +1419,7 @@ declare class ODataAnnotation {
|
|
|
1419
1419
|
string?: string;
|
|
1420
1420
|
bool?: boolean;
|
|
1421
1421
|
int?: number;
|
|
1422
|
-
|
|
1423
|
-
properties?: string[];
|
|
1422
|
+
values?: (string | ODataAnnotationValueConfig)[];
|
|
1424
1423
|
constructor(annot: ODataAnnotationConfig);
|
|
1425
1424
|
}
|
|
1426
1425
|
declare class ODataAnnotatable {
|
|
@@ -3135,6 +3134,7 @@ declare class CsdlCollection {
|
|
|
3135
3134
|
toJson(): {
|
|
3136
3135
|
[key: string]: any;
|
|
3137
3136
|
};
|
|
3137
|
+
toConfig(): string[] | ODataAnnotationValueConfig[];
|
|
3138
3138
|
}
|
|
3139
3139
|
declare class CsdlRecord {
|
|
3140
3140
|
PropertyValue: CsdlPropertyValue[];
|
|
@@ -3144,6 +3144,7 @@ declare class CsdlRecord {
|
|
|
3144
3144
|
toJson(): {
|
|
3145
3145
|
[key: string]: any;
|
|
3146
3146
|
};
|
|
3147
|
+
toConfig(): ODataAnnotationValueConfig[];
|
|
3147
3148
|
}
|
|
3148
3149
|
declare class CsdlPropertyValue {
|
|
3149
3150
|
Name: string;
|
|
@@ -3159,6 +3160,7 @@ declare class CsdlPropertyValue {
|
|
|
3159
3160
|
toJson(): {
|
|
3160
3161
|
[key: string]: any;
|
|
3161
3162
|
};
|
|
3163
|
+
toConfig(): ODataAnnotationValueConfig;
|
|
3162
3164
|
}
|
|
3163
3165
|
declare class CsdlEnumMember {
|
|
3164
3166
|
TextContent: string;
|
|
@@ -3168,6 +3170,7 @@ declare class CsdlEnumMember {
|
|
|
3168
3170
|
toJson(): {
|
|
3169
3171
|
TextContent: string;
|
|
3170
3172
|
};
|
|
3173
|
+
toConfig(): string;
|
|
3171
3174
|
}
|
|
3172
3175
|
declare class CsdlString {
|
|
3173
3176
|
TextContent: string;
|
|
@@ -3177,6 +3180,7 @@ declare class CsdlString {
|
|
|
3177
3180
|
toJson(): {
|
|
3178
3181
|
TextContent: string;
|
|
3179
3182
|
};
|
|
3183
|
+
toConfig(): string;
|
|
3180
3184
|
}
|
|
3181
3185
|
declare class CsdlPropertyPath {
|
|
3182
3186
|
TextContent: string;
|
|
@@ -3186,6 +3190,7 @@ declare class CsdlPropertyPath {
|
|
|
3186
3190
|
toJson(): {
|
|
3187
3191
|
TextContent: string;
|
|
3188
3192
|
};
|
|
3193
|
+
toConfig(): string;
|
|
3189
3194
|
}
|
|
3190
3195
|
declare class CsdlNavigationPropertyPath {
|
|
3191
3196
|
TextContent: string;
|
|
@@ -3195,6 +3200,7 @@ declare class CsdlNavigationPropertyPath {
|
|
|
3195
3200
|
toJson(): {
|
|
3196
3201
|
TextContent: string;
|
|
3197
3202
|
};
|
|
3203
|
+
toConfig(): string;
|
|
3198
3204
|
}
|
|
3199
3205
|
|
|
3200
3206
|
declare class CsdlCallable {
|
|
@@ -5164,13 +5170,18 @@ type ODataApiConfig = {
|
|
|
5164
5170
|
};
|
|
5165
5171
|
};
|
|
5166
5172
|
};
|
|
5173
|
+
type ODataAnnotationValueConfig = {
|
|
5174
|
+
name?: string;
|
|
5175
|
+
string?: string;
|
|
5176
|
+
date?: Date;
|
|
5177
|
+
enumMembers?: string[];
|
|
5178
|
+
};
|
|
5167
5179
|
type ODataAnnotationConfig = {
|
|
5168
5180
|
term: string;
|
|
5169
5181
|
string?: string;
|
|
5170
5182
|
bool?: boolean;
|
|
5171
5183
|
int?: number;
|
|
5172
|
-
|
|
5173
|
-
properties?: string[];
|
|
5184
|
+
values?: (string | ODataAnnotationValueConfig)[];
|
|
5174
5185
|
};
|
|
5175
5186
|
type ODataReferenceConfig = {
|
|
5176
5187
|
uri: string;
|
|
@@ -6627,4 +6638,4 @@ declare class ODataMetadataParser {
|
|
|
6627
6638
|
}
|
|
6628
6639
|
|
|
6629
6640
|
export { Aggregate, ApplyExpression, ArithmeticFunctions, ArithmeticOperators, BUBBLES, Casting, CastingOperators, CollectionFunctions, ComputeExpression, ConditionalFunctions, DateAndTimeFunctions, Dates, Durations, EDM_PARSERS, EdmType, Enums, ExpandExpression, ExpandField, Expression, FieldFactory, FilterExpression, Function, GeoFunctions, GroupBy, GroupByTransformations, Grouping, GroupingOperators, Http, INCLUDE_DEEP, INCLUDE_SHALLOW, ITEM_ROOT, JsonSchemaType, Lambda, LambdaOperators, LogicalOperators, Model, ModelField, NONE_PARSER, ODATA_CONFIG, OData, ODataActionResource, ODataAnnotations, ODataApi, ODataAsyncLoader, ODataBaseCache, ODataBaseService, ODataBatchRequest, ODataBatchResource, ODataCallable, ODataCallableParser, ODataClient, ODataCollection, ODataCountResource, ODataEntitiesAnnotations, ODataEntityAnnotations, ODataEntityContainer, ODataEntityResource, ODataEntitySet, ODataEntitySetResource, ODataEntitySetService, ODataEntityTypeKey, ODataEnumType, ODataEnumTypeFieldParser, ODataEnumTypeParser, ODataFunctionResource, ODataFunctions, ODataInMemoryCache, ODataInStorageCache, ODataIndexedDBCache, ODataLoader, ODataMediaResource, ODataMetadata, ODataMetadataLoader, ODataMetadataParser, ODataMetadataResource, ODataModel, ODataModelAttribute, ODataModelEvent, ODataModelEventEmitter, ODataModelEventType, ODataModelField, ODataModelOptions, ODataModelState, ODataModule, ODataNavigationPropertyResource, ODataOperators, ODataParameterParser, ODataPathSegments, ODataPathSegmentsHandler, ODataPropertyAnnotations, ODataPropertyResource, ODataQueryOptionHandler, ODataQueryOptions, ODataQueryOptionsHandler, ODataReferenceResource, ODataReferential, ODataRequest, ODataResource, ODataResponse, ODataSchema, ODataServiceFactory, ODataSettings, ODataSingleton, ODataSingletonResource, ODataSingletonService, ODataStructuredType, ODataStructuredTypeFieldParser, ODataStructuredTypeParser, ODataSyncLoader, ODataTransformations, ODataValueResource, Objects, Operator, OrderByExpression, OrderByField, PathSegment, QueryCustomTypes, QueryOption, RenderableFactory, SearchExpression, SearchTerm, SegmentHandler, SelectExpression, StandardAggregateMethods, StringAndCollectionFunctions, StringFunctions, Strings, Transformations, Type, TypeFunctions, Types, Urls, alias, binary, buildPathAndQuery, defaultHttpSyncLoader, duration, encode, functions, isQueryCustomType, isRawType, normalizeValue, operators, pathAndParamsFromQueryOptions, pathAndParamsFromSegments, provideODataClient, raw, render, resolve, transformations };
|
|
6630
|
-
export type { AggregateMethod, AggregateType, ApplyExpressionBuilder, CacheCacheability, ComputeExpressionBuilder, Duration, EntityKey, Expand, ExpandExpressionBuilder, ExpandObject, ExpandOptions, ExpandType, FetchPolicy, FieldParser, Filter, FilterConnector, FilterExpressionBuilder, FilterType, GroupByType, JsonSchemaCustom, JsonSchemaExpand, JsonSchemaFieldOptions, JsonSchemaOptions, JsonSchemaRequired, JsonSchemaSelect, LooseUnion, ModelFieldOptions, ModelInterface, ModelOptions, NestedExpandOptions, NestedOrderBy, Normalize, ODataActionOptions, ODataAnnotationConfig, ODataApiConfig, ODataApiConfigOptions, ODataCache, ODataCacheEntry, ODataCallableConfig, ODataEntities, ODataEntitiesOptions, ODataEntity, ODataEntityContainerConfig, ODataEntityOptions, ODataEntitySetConfig, ODataEnumTypeConfig, ODataEnumTypeFieldConfig, ODataFunctionOptions, ODataMetadataType, ODataModelEntry, ODataModelFieldOptions, ODataOptions, ODataParameterConfig, ODataProperty, ODataPropertyOptions, ODataQueryArguments, ODataQueryableOptions, ODataReferenceConfig, ODataResponseJson, ODataSchemaConfig, ODataSegment, ODataSingletonConfig, ODataStructuredTypeConfig, ODataStructuredTypeFieldConfig, ODataVersion, ObjectValues, OrderAttribute, OrderBy, OrderByExpressionBuilder, OrderByObject, OrderByType, Parser, ParserOptions, PassedInitialConfig, QueryCustomType, QueryOptions, Renderable, ResponseOptions, SearchConnector, SearchExpressionBuilder, Select, SelectExpressionBuilder, SelectType, StructuredTypeFieldOptions, Transform, Unpacked, Value };
|
|
6641
|
+
export type { AggregateMethod, AggregateType, ApplyExpressionBuilder, CacheCacheability, ComputeExpressionBuilder, Duration, EntityKey, Expand, ExpandExpressionBuilder, ExpandObject, ExpandOptions, ExpandType, FetchPolicy, FieldParser, Filter, FilterConnector, FilterExpressionBuilder, FilterType, GroupByType, JsonSchemaCustom, JsonSchemaExpand, JsonSchemaFieldOptions, JsonSchemaOptions, JsonSchemaRequired, JsonSchemaSelect, LooseUnion, ModelFieldOptions, ModelInterface, ModelOptions, NestedExpandOptions, NestedOrderBy, Normalize, ODataActionOptions, ODataAnnotationConfig, ODataAnnotationValueConfig, ODataApiConfig, ODataApiConfigOptions, ODataCache, ODataCacheEntry, ODataCallableConfig, ODataEntities, ODataEntitiesOptions, ODataEntity, ODataEntityContainerConfig, ODataEntityOptions, ODataEntitySetConfig, ODataEnumTypeConfig, ODataEnumTypeFieldConfig, ODataFunctionOptions, ODataMetadataType, ODataModelEntry, ODataModelFieldOptions, ODataOptions, ODataParameterConfig, ODataProperty, ODataPropertyOptions, ODataQueryArguments, ODataQueryableOptions, ODataReferenceConfig, ODataResponseJson, ODataSchemaConfig, ODataSegment, ODataSingletonConfig, ODataStructuredTypeConfig, ODataStructuredTypeFieldConfig, ODataVersion, ObjectValues, OrderAttribute, OrderBy, OrderByExpressionBuilder, OrderByObject, OrderByType, Parser, ParserOptions, PassedInitialConfig, QueryCustomType, QueryOptions, Renderable, ResponseOptions, SearchConnector, SearchExpressionBuilder, Select, SelectExpressionBuilder, SelectType, StructuredTypeFieldOptions, Transform, Unpacked, Value };
|