@sap-ux/fe-mockserver-core
Advanced tools
Comparing version 1.2.35 to 1.2.36
@@ -16,9 +16,16 @@ import type { Action, EntitySet, EntityType, Property } from '@sap-ux/vocabularies-types'; | ||
DraftUUID: string; | ||
DraftEntityType: string; | ||
CreationDateTime: string; | ||
LastChangeDateTime: string; | ||
CreatedByUser: string; | ||
DraftIsCreatedByMe: boolean; | ||
LastChangeDateTime: string; | ||
LastChangedByUser: string; | ||
DraftAccessType: string; | ||
InProcessByUser: string; | ||
DraftIsKeptByUser: boolean; | ||
DraftIsCreatedByMe: boolean; | ||
DraftIsLastChangedByMe: boolean; | ||
DraftIsProcessedByMe: boolean; | ||
CreatedByUserDescription: string; | ||
LastChangedByUserDescription: string; | ||
InProcessByUserDescription: string; | ||
}; | ||
@@ -25,0 +32,0 @@ export declare class DraftMockEntitySet extends MockDataEntitySet { |
@@ -138,9 +138,16 @@ "use strict"; | ||
DraftUUID: (0, common_1.uuidv4)(), | ||
DraftEntityType: this.entityTypeDefinition.fullyQualifiedName, | ||
CreationDateTime: currentDate, | ||
CreatedByUser: 'nobody', | ||
DraftIsCreatedByMe: true, | ||
LastChangeDateTime: currentDate, | ||
LastChangedByUser: 'nobody', | ||
DraftAccessType: '', | ||
InProcessByUser: 'nobody', | ||
DraftIsProcessedByMe: true | ||
DraftIsKeptByUser: false, | ||
DraftIsCreatedByMe: true, | ||
DraftIsLastChangedByMe: true, | ||
DraftIsProcessedByMe: true, | ||
CreatedByUserDescription: 'nobody', | ||
LastChangedByUserDescription: 'nobody', | ||
InProcessByUserDescription: 'nobody' | ||
}; | ||
@@ -269,9 +276,16 @@ await currentMockData.addEntry(duplicate, odataRequest); | ||
DraftUUID: (_d = postData.DraftUUID) !== null && _d !== void 0 ? _d : (0, common_1.uuidv4)(), | ||
DraftEntityType: this.entityTypeDefinition.fullyQualifiedName, | ||
CreationDateTime: currentDate, | ||
CreatedByUser: 'nobody', | ||
DraftIsCreatedByMe: true, | ||
LastChangeDateTime: currentDate, | ||
LastChangedByUser: 'nobody', | ||
DraftAccessType: '', | ||
InProcessByUser: 'nobody', | ||
DraftIsProcessedByMe: true | ||
DraftIsKeptByUser: false, | ||
DraftIsCreatedByMe: true, | ||
DraftIsLastChangedByMe: true, | ||
DraftIsProcessedByMe: true, | ||
CreatedByUserDescription: 'nobody', | ||
LastChangedByUserDescription: 'nobody', | ||
InProcessByUserDescription: 'nobody' | ||
}; | ||
@@ -278,0 +292,0 @@ return super.performPOST(keyValues, postData, tenantId, odataRequest); |
{ | ||
"name": "@sap-ux/fe-mockserver-core", | ||
"version": "1.2.35", | ||
"version": "1.2.36", | ||
"description": "SAP Fiori OData - Fiori elements mock server core", | ||
@@ -43,4 +43,4 @@ "repository": { | ||
"finalhandler": "1.2.0", | ||
"@sap-ux/fe-mockserver-plugin-cds": "1.1.0", | ||
"@sap-ux/vocabularies-types": "0.10.8" | ||
"@sap-ux/vocabularies-types": "0.10.8", | ||
"@sap-ux/fe-mockserver-plugin-cds": "1.1.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
612359
7020