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 createMutation = `
|
||||
mutation($input: CreateAccessReviewSourceInput!) {
|
||||
createAccessReviewSource(input: $input) {
|
||||
accessSourceEdge {
|
||||
accessReviewSourceEdge {
|
||||
node {
|
||||
id
|
||||
name
|
||||
@@ -44,7 +44,7 @@ type createResponse struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
} `json:"node"`
|
||||
} `json:"accessSourceEdge"`
|
||||
} `json:"accessReviewSourceEdge"`
|
||||
} `json:"createAccessReviewSource"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user