Files
task-stream/libs/web/tracker/infrastructure/src/lib/graphql/fragments.graphql
Josep Piguillem c2928d2385 feat: several Git repositories per project
A project keeps a list of repositories (api, web, admin…), each with its
own secret, instead of a single webhook secret. They all call the same
URL; the secret that verifies the signature tells which one it was, and
every commit, branch or pull request is linked with its repository's
name (shown on the ticket and in the MCP). Rotating or removing one
leaves the others alone, and what it linked stays.

A project that had turned the single webhook on keeps its secret, as a
repository named "principal".

API: the enable/disable endpoints and mutations give way to adding a
repository, rotating its secret and removing it (REST and GraphQL). The
web settings card lists the repositories. Docs, Word and PDF updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 10:39:59 +02:00

179 lines
1.9 KiB
GraphQL

fragment UserRefFields on UserRef {
id
name
}
fragment ProjectFields on Project {
id
key
name
description
isPublic
updatedAt
version
owner {
...UserRefFields
}
members {
role
user {
...UserRefFields
}
}
settings {
statuses {
id
name
category
color
requiresReason
archived
wipLimit
}
transitions {
from
to
}
issueTypes {
id
name
icon
color
archived
template {
description
checklist
}
}
areas {
id
name
archived
}
}
}
fragment IssueSummaryFields on Issue {
id
projectId
key
type
area
title
status
statusCategory
priority
labels
commentCount
updatedAt
version
assignee {
...UserRefFields
}
release {
id
name
}
sprint {
id
name
}
parent {
id
key
title
}
rank
storyPoints
startDate
dueDate
trashedAt
}
fragment IssueFields on Issue {
...IssueSummaryFields
description
figmaUrl
createdAt
allowedTransitions
reporter {
...UserRefFields
}
links {
type
direction
issueId
issueKey
}
watchers {
...UserRefFields
}
checklist {
id
text
done
}
devLinks {
kind
url
title
ref
state
provider
repository
author
at
}
attachments {
id
fileName
mimeType
size
uploadedAt
commentId
uploadedBy {
...UserRefFields
}
}
}
fragment CommentFields on Comment {
id
issueId
body
createdAt
editedAt
author {
...UserRefFields
}
}
fragment ReleaseFields on Release {
id
projectId
name
description
targetDate
status
releasedAt
notes
}
fragment ActivityFields on Activity {
id
type
issueId
issueKey
summary
occurredAt
actor {
...UserRefFields
}
}
fragment CommandResultFields on CommandResult {
id
key
version
}