Skip to content

Commit

Permalink
fix: Missing case_title change
Browse files Browse the repository at this point in the history
  • Loading branch information
daryllimyt committed Apr 23, 2024
1 parent c4f4aa2 commit 7221ced
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions frontend/src/types/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ export type IntegrationType = (typeof integrationTypes)[number]
/**
* All platforms that are supported by the system.
*/
const integrationPlatforms = ["sublime_security", "datadog", "virustotal", "urlscan"] as const
const integrationPlatforms = [
"sublime_security",
"datadog",
"virustotal",
"urlscan",
] as const
export type IntegrationPlatform = (typeof integrationPlatforms)[number]

export type NodeType = ActionType | IntegrationType
Expand Down Expand Up @@ -170,7 +175,7 @@ export const caseSchema = z.object({
updated_at: z.string(),
// Case related data
workflow_id: z.string(),
title: z.string(),
case_title: z.string(),
payload: z.record(z.string()),
malice: z.enum(caseMaliceTypes),
status: z.enum(caseStatusTypes),
Expand Down

0 comments on commit 7221ced

Please sign in to comment.