Skip to content

Commit 9438637

Browse files
adding created_at to the event metadata
1 parent fd679ca commit 9438637

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/dto/event-metadata.dto.ts

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
22
Equals,
3+
IsDate,
34
IsNotEmpty,
45
IsOptional,
56
IsPositive,
@@ -92,4 +93,11 @@ export class EventMetadataDto {
9293
@IsString()
9394
@IsNotEmpty()
9495
correlation_id: string;
96+
97+
/**
98+
* Business process unique id
99+
* @example 15d5f8d5-869e-4107-9961-5035495fe416
100+
*/
101+
@IsDate()
102+
created_at?: string;
95103
}

0 commit comments

Comments
 (0)