Refactor access review campaign source API
Expose campaign sources as first-class nodes, paginate fetch attempts instead of denormalized status fields, and bind entries to their campaign snapshot. Update GraphQL, MCP, CLI, console, and e2e coverage to match. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -27,7 +27,7 @@ import (
|
||||
const flagMutation = `
|
||||
mutation($input: FlagAccessReviewEntryInput!) {
|
||||
flagAccessReviewEntry(input: $input) {
|
||||
accessEntry {
|
||||
accessReviewEntry {
|
||||
id
|
||||
email
|
||||
fullName
|
||||
@@ -48,7 +48,7 @@ type flagResponse struct {
|
||||
Flags []string `json:"flags"`
|
||||
FlagReasons []string `json:"flagReasons"`
|
||||
Decision string `json:"decision"`
|
||||
} `json:"accessEntry"`
|
||||
} `json:"accessReviewEntry"`
|
||||
} `json:"flagAccessReviewEntry"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user