Skip to content

Commit 4fe16ec

Browse files
committed
Type tweaks
1 parent 84b590e commit 4fe16ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/alert/artifact.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type ArtifactAlertUpgrade = Remap<
3131
>
3232

3333
export type CompactSocketArtifactAlert = Remap<
34-
Omit<SocketArtifactAlert, 'category' | 'end' | 'file' | 'start'>
34+
Omit<SocketArtifactAlert, 'category' | 'end' | 'file' | 'severity' | 'start'>
3535
>
3636

3737
export type CompactSocketArtifact = Remap<
@@ -55,7 +55,7 @@ export type SocketArtifact = Remap<
5555
export type SocketArtifactAlert = Remap<
5656
Omit<components['schemas']['SocketAlert'], 'action' | 'props' | 'type'> & {
5757
type: ALERT_TYPE
58-
action?: 'error' | 'monitor' | 'warn' | 'ignore'
58+
action?: ALERT_ACTION
5959
props?: any | undefined
6060
}
6161
>

0 commit comments

Comments
 (0)