eservices-core 1.0.571 → 1.0.573
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.
|
@@ -74,11 +74,12 @@ export interface Metadata {
|
|
|
74
74
|
fields: MetadataField[];
|
|
75
75
|
}
|
|
76
76
|
export interface MetadataField {
|
|
77
|
+
aggregatedEntity: null | string;
|
|
77
78
|
canGet: boolean;
|
|
78
79
|
canSet: boolean;
|
|
79
80
|
canSetForEdit: boolean;
|
|
80
81
|
canSetForNew: boolean;
|
|
81
|
-
dataType: "Entity" | "Integer" | "Guid" | "String" | "Decimal" | "DateTime";
|
|
82
|
+
dataType: "Entity" | "Integer" | "Guid" | "String" | "Decimal" | "DateTime" | "List";
|
|
82
83
|
description: boolean;
|
|
83
84
|
entityEnum: null | string;
|
|
84
85
|
foreignEntityPrimaryKeyField: null | string;
|
|
@@ -92,7 +93,8 @@ export interface MetadataField {
|
|
|
92
93
|
referencedEntity: string | null;
|
|
93
94
|
releatedLocalField: null | string;
|
|
94
95
|
required: boolean;
|
|
95
|
-
type: "Reference" | "ValueType";
|
|
96
|
+
type: "Reference" | "ValueType" | "Aggregate" | "Owned";
|
|
97
|
+
valueUnit: null | string;
|
|
96
98
|
}
|
|
97
99
|
export declare type MetadataResponse = Metadata & {
|
|
98
100
|
_filter: string;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* eservices-core v1.0.
|
|
2
|
+
* eservices-core v1.0.573
|
|
3
3
|
* (c) 2023 ESERVICES
|
|
4
4
|
*/
|
|
5
5
|
'use strict';
|
|
@@ -2226,6 +2226,7 @@ function Request(url, params = {}) {
|
|
|
2226
2226
|
// @ts-ignore
|
|
2227
2227
|
params.headers["Context-Id"] = Manager.contextId;
|
|
2228
2228
|
}
|
|
2229
|
+
params.redirect = "error";
|
|
2229
2230
|
return fetch(url, params)
|
|
2230
2231
|
.catch(() => {
|
|
2231
2232
|
throw CoreError.ApiNotAvailable();
|