Skip to content

Commit 85978a5

Browse files
authored
Add unit error payload meta field existingIds (#385)
1 parent 95c323e commit 85978a5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

types/common.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,11 @@ export interface UnitErrorPayload {
514514
code?: string
515515
detail?: string // to be deprecated
516516
details?: string
517-
meta?: { supportId?: string; }
518-
source?: { pointer: string; }
517+
meta?: {
518+
supportId?: string
519+
existingIds?: string[]
520+
}
521+
source?: { pointer: string }
519522
[k: string]: unknown // allow for other keys
520523
}
521524

0 commit comments

Comments
 (0)