Skip to content
Snippets Groups Projects
Commit 78a45d0f authored by Zdravko Iliev's avatar Zdravko Iliev
Browse files

fix: createdAt should be optional field

parent b070cc95
No related branches found
No related tags found
1 merge request!55fix: createdAt should be optional field
Pipeline #68361 waiting for manual action with stages
in 9 minutes and 34 seconds
...@@ -915,8 +915,7 @@ ...@@ -915,8 +915,7 @@
}, },
"required": [ "required": [
"state", "state",
"id", "id"
"createdAt"
] ]
}, },
"CreateSchemaRequestDto": { "CreateSchemaRequestDto": {
...@@ -984,8 +983,7 @@ ...@@ -984,8 +983,7 @@
"name", "name",
"attributes", "attributes",
"version", "version",
"id", "id"
"createdAt"
] ]
}, },
"IdReqDto": { "IdReqDto": {
...@@ -1027,8 +1025,7 @@ ...@@ -1027,8 +1025,7 @@
"schemaId", "schemaId",
"issuerId", "issuerId",
"tag", "tag",
"id", "id"
"createdAt"
] ]
}, },
"CreateCredentialDefinitionRequestDto": { "CreateCredentialDefinitionRequestDto": {
...@@ -1133,8 +1130,7 @@ ...@@ -1133,8 +1130,7 @@
"state", "state",
"credentialRecordType", "credentialRecordType",
"tags", "tags",
"id", "id"
"createdAt"
] ]
}, },
"CredentialOfferResponseDto": { "CredentialOfferResponseDto": {
...@@ -1265,8 +1261,7 @@ ...@@ -1265,8 +1261,7 @@
"role", "role",
"sentTime", "sentTime",
"content", "content",
"id", "id"
"createdAt"
] ]
}, },
"ProofRecordDto": { "ProofRecordDto": {
...@@ -1307,8 +1302,7 @@ ...@@ -1307,8 +1302,7 @@
"required": [ "required": [
"state", "state",
"tags", "tags",
"id", "id"
"createdAt"
] ]
}, },
"ProofFormatDataDto": { "ProofFormatDataDto": {
......
# OCM ENGINE - AGENT # OCM ENGINE - AGENT
Agent service is a wrapper around @ocm-engine/askar library. Agent service is a wrapper around @ocm-engine/askar library.
......
...@@ -6,8 +6,7 @@ export class BaseRecordDto { ...@@ -6,8 +6,7 @@ export class BaseRecordDto {
id: string; id: string;
@IsDateString() @IsDateString()
@IsNotEmpty() createdAt?: Date;
createdAt: Date;
@IsDateString() @IsDateString()
updatedAt?: Date; updatedAt?: Date;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment