mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 19:35:13 +01:00
Implement delegated recovery backend contract
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
f51cba33fa
commit
82d4e4162b
12 files changed
+672
-1
No files matched your search
@@ -317,6 +317,13 @@ export const issueRecoveryActionReadModelSchema = z.object({
|
||||
|
||||
export type IssueRecoveryActionReadModel = z.infer<typeof issueRecoveryActionReadModelSchema>;
|
||||
|
||||
export const delegateIssueRecoveryActionSchema = z.object({
|
||||
actionId: z.string().uuid(),
|
||||
target: z.enum(["ceo"]),
|
||||
}).strict();
|
||||
|
||||
export type DelegateIssueRecoveryAction = z.infer<typeof delegateIssueRecoveryActionSchema>;
|
||||
|
||||
const RESOLVE_ISSUE_RECOVERY_ACTION_OUTCOMES = [
|
||||
"restored",
|
||||
"false_positive",
|
||||
|
||||
Reference in new issue
Block a user