Skip to content

Commit

Permalink
chore(audit-log): update types
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Sauerer committed Oct 25, 2024
1 parent bbec3a0 commit 18eabec
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clients/audit-logs-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/audit-logs-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/audit-logs-client",
"version": "0.3.0",
"version": "0.3.1",
"description": "JavaScript client library for the epilot Audit Logs API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
10 changes: 10 additions & 0 deletions clients/audit-logs-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ declare namespace Components {
* {"workflow_id": "123456"}
*/
detail?: string;
/**
* Description of the event
* example:
* Workflow with ID 123456 was deleted
*/
activity?: string;
/**
* URL of the ressource that was modified
*/
source_url?: string;
}
export interface HttpContext {
/**
Expand Down
9 changes: 9 additions & 0 deletions clients/audit-logs-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,15 @@
"type": "string",
"description": "Contains the stringified request body",
"example": "{\"workflow_id\": \"123456\"}"
},
"activity": {
"type": "string",
"description": "Description of the event",
"example": "Workflow with ID 123456 was deleted"
},
"source_url": {
"type": "string",
"description": "URL of the ressource that was modified"
}
}
}
Expand Down

0 comments on commit 18eabec

Please sign in to comment.