Skip to content

Commit

Permalink
fix: fixed employee profile
Browse files Browse the repository at this point in the history
  • Loading branch information
bineenasc committed Dec 30, 2024
1 parent f4a39d1 commit 91f2267
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 198 deletions.
60 changes: 59 additions & 1 deletion api/.aeria/aeria-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,65 @@ declare type MirrorRouter = {
}
},
"/equipmentEmployee/getEquipmentsBorrowedByUser": {
"POST": null
"POST": {
"payload": {
"type": "object",
"properties": {
"employeeId": {
"type": "string"
}
}
},
"response": [
{
"type": "object",
"properties": {
"_tag": {
"const": "Error"
},
"result": {},
"error": {
"type": "object",
"required": [
"httpStatus",
"code"
],
"properties": {
"httpStatus": {
"type": "number"
},
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": true
}
}
}
}
},
{
"type": "object",
"properties": {
"_tag": {
"const": "Result"
},
"error": {},
"result": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}
]
}
}
}

Expand Down
60 changes: 59 additions & 1 deletion web/.aeria-ui/aeria-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,65 @@ declare type MirrorRouter = {
}
},
"/equipmentEmployee/getEquipmentsBorrowedByUser": {
"POST": null
"POST": {
"payload": {
"type": "object",
"properties": {
"employeeId": {
"type": "string"
}
}
},
"response": [
{
"type": "object",
"properties": {
"_tag": {
"const": "Error"
},
"result": {},
"error": {
"type": "object",
"required": [
"httpStatus",
"code"
],
"properties": {
"httpStatus": {
"type": "number"
},
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": true
}
}
}
}
},
{
"type": "object",
"properties": {
"_tag": {
"const": "Result"
},
"error": {},
"result": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
}
}
}
]
}
}
}

Expand Down
Loading

0 comments on commit 91f2267

Please sign in to comment.