diff --git a/apps/api/openapi.json b/apps/api/openapi.json index 16063be..a82862c 100644 --- a/apps/api/openapi.json +++ b/apps/api/openapi.json @@ -2018,6 +2018,15 @@ "type": "boolean" } }, + { + "name": "watching", + "required": false, + "in": "query", + "description": "Only the tickets I follow (with assignedToMe=false, whoever they are assigned to)", + "schema": { + "type": "boolean" + } + }, { "name": "status", "required": false, @@ -2278,6 +2287,15 @@ "type": "boolean" } }, + { + "name": "watching", + "required": false, + "in": "query", + "description": "Only the tickets I follow (none without a token)", + "schema": { + "type": "boolean" + } + }, { "name": "dueFrom", "required": false, diff --git a/apps/api/schema.gql b/apps/api/schema.gql index 2f05504..e9c1903 100644 --- a/apps/api/schema.gql +++ b/apps/api/schema.gql @@ -508,6 +508,9 @@ input IssueFilterInput { statuses: [String!] types: [String!] unassigned: Boolean + + """Only the tickets I follow (none when anonymous)""" + watching: Boolean } type IssueLink { @@ -960,6 +963,9 @@ type Query { """Matches key, title or description (global search)""" search: String statuses: [String!] + + """Only the tickets I follow""" + watching: Boolean! = false ): IssuePage! """My notifications, newest first, and how many are unread""" diff --git a/apps/mcp/src/app/api/taskstream.schema.ts b/apps/mcp/src/app/api/taskstream.schema.ts index c20aa96..44e4f52 100644 --- a/apps/mcp/src/app/api/taskstream.schema.ts +++ b/apps/mcp/src/app/api/taskstream.schema.ts @@ -3933,6 +3933,8 @@ export interface operations { offset?: number; /** @description true: tickets assigned to me. false: any ticket of my projects (e.g. ?assignedToMe=false&category=QA) */ assignedToMe?: boolean; + /** @description Only the tickets I follow (with assignedToMe=false, whoever they are assigned to) */ + watching?: boolean; /** @description Status ids. Repeat the parameter or separate with commas */ status?: string[]; /** @description Whatever each project calls its statuses */ @@ -4017,6 +4019,8 @@ export interface operations { sprintId?: string; /** @description Only tickets in no sprint */ noSprint?: boolean; + /** @description Only the tickets I follow (none without a token) */ + watching?: boolean; /** @description Due on or after this day */ dueFrom?: string; /** @description Due on or before this day */ diff --git a/apps/mcp/src/app/tools/issues.resolver.ts b/apps/mcp/src/app/tools/issues.resolver.ts index 0b5778a..648bf55 100644 --- a/apps/mcp/src/app/tools/issues.resolver.ts +++ b/apps/mcp/src/app/tools/issues.resolver.ts @@ -67,9 +67,15 @@ export class IssuesResolver { @Tool({ name: 'my_issues', description: - "Tickets across all the user's projects: assigned to them (default) or anyone's, filtered by status category (e.g. QA to see what waits for testing).", + "Tickets across all the user's projects: assigned to them (default) or anyone's, filtered by status category (e.g. QA to see what waits for testing); watching: only the ones they follow.", paramsSchema: z.object({ assignedToMe: z.boolean().default(true), + watching: z + .boolean() + .default(false) + .describe( + 'Only the tickets the user follows (use with assignedToMe false)', + ), categories: z .array(CATEGORY) .optional() @@ -81,6 +87,7 @@ export class IssuesResolver { mine( params: { assignedToMe: boolean; + watching: boolean; categories?: z.infer[]; limit: number; }, @@ -92,6 +99,7 @@ export class IssuesResolver { params: { query: { assignedToMe: params.assignedToMe, + watching: params.watching, category: params.categories ?? ['TODO', 'IN_PROGRESS', 'QA'], limit: params.limit, }, @@ -127,6 +135,10 @@ export class IssuesResolver { .boolean() .optional() .describe('Only tickets in no sprint (the backlog)'), + watching: z + .boolean() + .optional() + .describe('Only the tickets the user follows'), dueFrom: z.string().optional().describe('Due on or after (ISO date)'), dueTo: z.string().optional().describe('Due on or before (ISO date)'), sort: z @@ -154,6 +166,7 @@ export class IssuesResolver { parent?: string; sprintId?: string; noSprint?: boolean; + watching?: boolean; dueFrom?: string; dueTo?: string; sort: 'RECENT' | 'RANK'; @@ -181,6 +194,7 @@ export class IssuesResolver { parent: params.parent, sprintId: params.sprintId, noSprint: params.noSprint, + watching: params.watching, dueFrom: params.dueFrom, dueTo: params.dueTo, sort: params.sort, diff --git a/docs/01-vision-general.md b/docs/01-vision-general.md index ea27040..eae36fc 100644 --- a/docs/01-vision-general.md +++ b/docs/01-vision-general.md @@ -27,7 +27,7 @@ | 🗺️ Hoja de ruta | Las épicas en el tiempo (fecha de inicio y límite), con los sprints y las releases como referencias | | 🌐 Web del colectivo | La página de cada proyecto en pireon.dev enseña su hoja de ruta, versiones, sprint y tickets para recién llegados (`good-first-issue`) | | 🧩 Desglose | Épicas → tickets → subtareas (tres niveles), con su progreso; y una checklist dentro de cada ticket para los pasos pequeños | -| 👀 Seguir | Cualquier miembro sigue los tickets que le interesan; quien comenta, los sigue solo | +| 👀 Seguir | Cualquier miembro sigue los tickets que le interesan y los ve juntos en «Que sigo»; quien comenta, los sigue solo | | 🔔 Avisos | Campana con lo que te concierne (asignaciones, cambios de estado, QA fallido, comentarios, respuestas), en vivo y opcionalmente por correo | | ⏰ Recordatorios | Aviso (y correo, si se quiere) el día antes, el mismo día y al vencer la fecha límite, a quien lo tiene y a quien lo sigue; las tarjetas marcan lo que vence | | 📎 Adjuntos | Capturas, logs y vídeos en el ticket o bajo un comentario; arrastrar, elegir o pegar con Ctrl+V; miniaturas de las imágenes | diff --git a/docs/03-api.md b/docs/03-api.md index b24a053..9512895 100644 --- a/docs/03-api.md +++ b/docs/03-api.md @@ -237,6 +237,7 @@ ningún agregado, solo cada uno lee y descarta las suyas. | Un ticket cambia de estado | Quien lo tiene asignado y quien lo abrió | `STATUS_CHANGED` | | Un ticket vuelve de QA sin pasar a hecho | Los mismos, con el motivo | `QA_FAILED` | | Alguien comenta | Quien lo tiene asignado y quien lo abrió | `COMMENTED` | +| Alguien responde a un comentario | Quien escribió el comentario | `REPLIED` | | Te añaden a un proyecto | La persona añadida | `ADDED_TO_PROJECT` | **Recordatorios** (`REMINDER`): cada hora la API mira los tickets sin terminar con fecha límite y avisa a quien lo @@ -250,7 +251,11 @@ Nadie recibe aviso de lo que hizo él mismo, y cada persona recibe uno por event **Menciones**: se escriben `@[Nombre](id-de-usuario)` (la web las inserta al escribir `@`); el id dice a quién avisar y el nombre es lo que se ve, así que renombrar a alguien no rompe comentarios antiguos. Solo avisan a miembros del proyecto. **Seguir**: cualquier miembro, también los lectores, puede seguir un ticket (`watchIssue`/`unwatchIssue`, -eventos `IssueWatchedEvent`/`IssueUnwatchedEvent`), y quien comenta pasa a seguirlo (`CommentersFollowSaga`). El id es +eventos `IssueWatchedEvent`/`IssueUnwatchedEvent`), y quien comenta pasa a seguirlo (`CommentersFollowSaga`). Quien +sigue un ticket (`WATCHED`) sabe cuándo cambia de estado, se asigna, se comenta, cambia su prioridad o su fecha límite, +o entra o sale de un sprint; las ediciones menores (título, etiquetas…) no avisan. «Los que sigo»: `watching` en +`myIssues` / `GET /api/me/issues` y en la búsqueda de un proyecto (`issues(filter: { watching: true })`, +`?watching=true`; sin sesión, ninguno). El id es `::`, así que reentregar un evento no duplica avisos. Llegan en vivo por la subscription `notificationAdded` y, si la instalación tiene `SMTP_URL`, también por correo a quien lo active (`email`, desactivado por defecto); un correo que falla se registra y no bloquea el stream. diff --git a/docs/09-mcp.md b/docs/09-mcp.md index f813bbb..820c3a1 100644 --- a/docs/09-mcp.md +++ b/docs/09-mcp.md @@ -49,7 +49,7 @@ flowchart LR | | `get_project_stats` | Cifras de seguimiento | | | `get_project_analytics` | Estadísticas de los últimos días (creados/resueltos, flujo, tiempos, throughput, QA) | | | `get_project_activity` | Actividad reciente | -| Tickets | `my_issues` | Mi trabajo en todos los proyectos (o de cualquiera, por categoría: p. ej. lo que espera QA) | +| Tickets | `my_issues` | Mi trabajo en todos los proyectos (o de cualquiera, por categoría; o los que sigo) | | | `search_issues` | Buscar por texto y filtros (épica, sprint, fechas…); el backlog: `noSprint` y orden `RANK` | | | `get_issue` | Detalle: épica, lista de comprobación, relaciones, commits, seguidores, transiciones, comentarios | | | `create_issue` | Crear un ticket (también colgado de una épica) | diff --git a/docs/TaskStream-Documentacion.docx b/docs/TaskStream-Documentacion.docx index 0ce59a7..4837c3b 100644 Binary files a/docs/TaskStream-Documentacion.docx and b/docs/TaskStream-Documentacion.docx differ diff --git a/docs/TaskStream-Documentacion.pdf b/docs/TaskStream-Documentacion.pdf index ccf93ee..da9851e 100644 Binary files a/docs/TaskStream-Documentacion.pdf and b/docs/TaskStream-Documentacion.pdf differ diff --git a/libs/api/tracker/application/src/lib/notifications/notifications.event-handler.ts b/libs/api/tracker/application/src/lib/notifications/notifications.event-handler.ts index 697e6fc..838f162 100644 --- a/libs/api/tracker/application/src/lib/notifications/notifications.event-handler.ts +++ b/libs/api/tracker/application/src/lib/notifications/notifications.event-handler.ts @@ -3,7 +3,10 @@ import { CommentAddedEvent, IssueAssignedEvent, IssueCreatedEvent, + IssuePriority, + IssueSprintChangedEvent, IssueStatusChangedEvent, + IssueUpdatedEvent, mentionedUserIds, NotificationKind, ProjectMemberAddedEvent, @@ -14,11 +17,30 @@ import { import { FindCommentsRepository } from '../ports/find-comments.repository'; import { FindIssuesRepository } from '../ports/find-issues.repository'; import { FindProjectsRepository } from '../ports/find-projects.repository'; +import { FindSprintsRepository } from '../ports/find-sprints.repository'; import { UserDirectory } from '../ports/user-directory'; import { NotificationDraft, Notifier } from './notifier'; /* Read by people, like the activity feed: Spanish. */ +/** Same labels as the web app. */ +const PRIORITY: Record = { + [IssuePriority.CRITICAL]: 'Crítica', + [IssuePriority.HIGH]: 'Alta', + [IssuePriority.MEDIUM]: 'Media', + [IssuePriority.LOW]: 'Baja', + [IssuePriority.LOWEST]: 'Mínima', +}; + +/** 2026-11-14 → 14 de noviembre de 2026. */ +const day = (date: string) => + new Date(`${date.slice(0, 10)}T00:00:00Z`).toLocaleDateString('es-ES', { + day: 'numeric', + month: 'long', + year: 'numeric', + timeZone: 'UTC', + }); + const excerpt = (text: string, max = 120) => { const flat = withoutMentionMarkup(text).replace(/\s+/g, ' ').trim(); return flat.length > max ? `${flat.slice(0, max - 1)}…` : flat; @@ -35,6 +57,8 @@ const excerpt = (text: string, max = 120) => { IssueCreatedEvent, IssueAssignedEvent, IssueStatusChangedEvent, + IssueUpdatedEvent, + IssueSprintChangedEvent, CommentAddedEvent, ProjectMemberAddedEvent, ) @@ -45,6 +69,7 @@ export class NotificationsEventHandler implements IEventHandler { private readonly findProjects: FindProjectsRepository, private readonly users: UserDirectory, private readonly findComments: FindCommentsRepository, + private readonly findSprints: FindSprintsRepository, ) {} async handle(event: TrackerEvent): Promise { @@ -183,6 +208,14 @@ export class NotificationsEventHandler implements IEventHandler { } } + // Followers also hear of the changes that move their plans. + const news = await this.followerNews(event, actor, ticket); + if (news) { + for (const userId of watcherIds) { + drafts.push({ userId, kind: NotificationKind.WATCHED, summary: news }); + } + } + await this.notifier.deliver( event, { @@ -194,4 +227,34 @@ export class NotificationsEventHandler implements IEventHandler { drafts, ); } + + /** + * What a follower should hear of a change of priority, due date or + * sprint; null for the other edits (title, labels…), too small to tell. + */ + private async followerNews( + event: TrackerEvent, + actor: string, + ticket: string, + ): Promise { + if (event instanceof IssueUpdatedEvent) { + const { priority, dueDate } = event.changes; + const parts: string[] = []; + if (priority) parts.push(`prioridad ${PRIORITY[priority]}`); + if (dueDate !== undefined) + parts.push( + dueDate ? `fecha límite el ${day(dueDate)}` : 'sin fecha límite', + ); + return parts.length + ? `${actor} cambió ${ticket}: ${parts.join(', ')}` + : null; + } + if (event instanceof IssueSprintChangedEvent) { + if (!event.sprintId) + return `${actor} sacó ${ticket} del sprint y lo devolvió al backlog`; + const sprint = await this.findSprints.findById(event.sprintId); + return `${actor} metió ${ticket} en ${sprint ? `el sprint ${sprint.name}` : 'un sprint'}`; + } + return null; + } } diff --git a/libs/api/tracker/application/src/lib/notifications/notifications.spec.ts b/libs/api/tracker/application/src/lib/notifications/notifications.spec.ts index 33b9dcd..2f52108 100644 --- a/libs/api/tracker/application/src/lib/notifications/notifications.spec.ts +++ b/libs/api/tracker/application/src/lib/notifications/notifications.spec.ts @@ -1,7 +1,10 @@ import { CommentAddedEvent, IssueAssignedEvent, + IssuePriority, + IssueSprintChangedEvent, IssueStatusChangedEvent, + IssueUpdatedEvent, NotificationKind, NotificationReadModel, NotificationSettingsReadModel, @@ -14,6 +17,7 @@ import { FakeUserDirectory } from '../../testing/in-memory'; import { ChangeFeed } from '../ports/change-feed'; import { FindCommentsRepository } from '../ports/find-comments.repository'; import { FindIssuesRepository } from '../ports/find-issues.repository'; +import { FindSprintsRepository } from '../ports/find-sprints.repository'; import { FindProjectsRepository } from '../ports/find-projects.repository'; import { NotificationMailer } from '../ports/notification-mailer'; import { NotificationsRepository } from '../ports/notifications.repository'; @@ -108,6 +112,10 @@ function setup(mailEnabled = false) { ? { id, author: { id: 'pm', name: 'PM' }, deleted: false } : null, } as unknown as FindCommentsRepository, + { + findById: async (id: string) => + id === 's-14' ? { id, name: 'Sprint 14' } : null, + } as unknown as FindSprintsRepository, ); return { repo, published, mailed, handler }; } @@ -236,6 +244,60 @@ describe('notifications', () => { expect(repo.all[0].summary).toContain('respondió a tu comentario'); }); + it('tells followers of a new priority, due date or sprint, not of smaller edits', async () => { + const { handler, repo } = setup(); + await handler.handle( + at( + new IssueUpdatedEvent('ana', 'i-1', 'p-1', { + priority: IssuePriority.HIGH, + dueDate: '2026-11-14', + }), + ), + ); + await handler.handle( + at(new IssueUpdatedEvent('ana', 'i-1', 'p-1', { title: 'Login' }), 3), + ); + await handler.handle( + at(new IssueSprintChangedEvent('ana', 'i-1', 'p-1', 's-14', null), 4), + ); + await handler.handle( + at(new IssueSprintChangedEvent('ana', 'i-1', 'p-1', null, 's-14'), 5), + ); + + expect(repo.all.map((n) => [n.userId, n.kind, n.summary])).toEqual([ + [ + 'pm', + NotificationKind.WATCHED, + 'user ana cambió WEB-1: Login roto: prioridad Alta, fecha límite el 14 de noviembre de 2026', + ], + [ + 'bob', + NotificationKind.WATCHED, + 'user ana cambió WEB-1: Login roto: prioridad Alta, fecha límite el 14 de noviembre de 2026', + ], + [ + 'pm', + NotificationKind.WATCHED, + 'user ana metió WEB-1: Login roto en el sprint Sprint 14', + ], + [ + 'bob', + NotificationKind.WATCHED, + 'user ana metió WEB-1: Login roto en el sprint Sprint 14', + ], + [ + 'pm', + NotificationKind.WATCHED, + 'user ana sacó WEB-1: Login roto del sprint y lo devolvió al backlog', + ], + [ + 'bob', + NotificationKind.WATCHED, + 'user ana sacó WEB-1: Login roto del sprint y lo devolvió al backlog', + ], + ]); + }); + it('copies by e-mail only to whoever asked for it, when mail is configured', async () => { const { handler, repo, mailed } = setup(true); repo.emailOn.add('bob'); diff --git a/libs/api/tracker/application/src/lib/ports/find-issues.repository.ts b/libs/api/tracker/application/src/lib/ports/find-issues.repository.ts index d231981..c1954d2 100644 --- a/libs/api/tracker/application/src/lib/ports/find-issues.repository.ts +++ b/libs/api/tracker/application/src/lib/ports/find-issues.repository.ts @@ -33,6 +33,10 @@ export interface IssueFilter { dueTo?: string; /** Only tickets in no sprint (wins over `sprintId`). */ noSprint?: boolean; + /** Only the ones the viewer follows (the query handler turns it into `watcherId`). */ + watching?: boolean; + /** Only the ones this person follows. */ + watcherId?: string; /** RECENT (default): last updated first. RANK: backlog order. */ sort?: IssueSort; search?: string; @@ -44,6 +48,8 @@ export interface IssueFilter { export interface CrossProjectIssueFilter { projectIds: string[]; assigneeId?: string; + /** Only the ones this person follows. */ + watcherId?: string; statuses?: string[]; categories?: StatusCategory[]; search?: string; diff --git a/libs/api/tracker/application/src/lib/queries/search-issues.query-handler.ts b/libs/api/tracker/application/src/lib/queries/search-issues.query-handler.ts index 847c9ab..30db508 100644 --- a/libs/api/tracker/application/src/lib/queries/search-issues.query-handler.ts +++ b/libs/api/tracker/application/src/lib/queries/search-issues.query-handler.ts @@ -15,8 +15,12 @@ export class SearchIssuesQueryHandler async execute(query: SearchIssuesQuery): Promise> { await this.access.assertCanView(query.filter.projectId, query.viewerId); + const { watching, ...filter } = query.filter; + // Someone anonymous follows nothing. + if (watching && !query.viewerId) return { items: [], total: 0 }; return this.findIssues.search({ - ...query.filter, + ...filter, + watcherId: watching ? (query.viewerId ?? undefined) : undefined, limit: Math.min(query.filter.limit, 200), }); } diff --git a/libs/api/tracker/application/src/lib/queries/search-my-issues.query-handler.ts b/libs/api/tracker/application/src/lib/queries/search-my-issues.query-handler.ts index 0242526..e4481c9 100644 --- a/libs/api/tracker/application/src/lib/queries/search-my-issues.query-handler.ts +++ b/libs/api/tracker/application/src/lib/queries/search-my-issues.query-handler.ts @@ -19,6 +19,7 @@ export class SearchMyIssuesQueryHandler return this.findIssues.searchAcross({ projectIds: projects.map((project) => project.id), assigneeId: query.filter.assignedToMe ? query.viewerId : undefined, + watcherId: query.filter.watching ? query.viewerId : undefined, statuses: query.filter.statuses, categories: query.filter.categories, search: query.filter.search?.trim().slice(0, 200) || undefined, diff --git a/libs/api/tracker/application/src/lib/queries/search-my-issues.query.ts b/libs/api/tracker/application/src/lib/queries/search-my-issues.query.ts index 3c6d8c2..a7a6c37 100644 --- a/libs/api/tracker/application/src/lib/queries/search-my-issues.query.ts +++ b/libs/api/tracker/application/src/lib/queries/search-my-issues.query.ts @@ -8,6 +8,8 @@ import { Page } from '../ports/find-issues.repository'; export interface MyIssuesFilter { /** true: assigned to the viewer. false: any ticket of the viewer's projects. */ assignedToMe: boolean; + /** Only the tickets the viewer follows. */ + watching?: boolean; statuses?: string[]; /** e.g. TODO + IN_PROGRESS + QA = still open, whatever the project calls them. */ categories?: StatusCategory[]; diff --git a/libs/api/tracker/infrastructure/src/lib/mongo/find.repositories.ts b/libs/api/tracker/infrastructure/src/lib/mongo/find.repositories.ts index 78979f9..57510ac 100644 --- a/libs/api/tracker/infrastructure/src/lib/mongo/find.repositories.ts +++ b/libs/api/tracker/infrastructure/src/lib/mongo/find.repositories.ts @@ -166,6 +166,7 @@ export class MongoFindIssuesRepository extends FindIssuesRepository { trashedAt: null, }; if (filter.assigneeId) query['assignee.id'] = filter.assigneeId; + if (filter.watcherId) query['watchers.id'] = filter.watcherId; if (filter.statuses?.length) query['status'] = { $in: filter.statuses }; if (filter.categories?.length) query['statusCategory'] = { $in: filter.categories }; @@ -431,6 +432,7 @@ function toMongoFilter(filter: IssueFilter): FilterQuery { else if (filter.sprintId) query['sprint.id'] = filter.sprintId; if (filter.unassigned) query['assignee'] = null; else if (filter.assigneeId) query['assignee.id'] = filter.assigneeId; + if (filter.watcherId) query['watchers.id'] = filter.watcherId; if (filter.search?.trim()) { const pattern = new RegExp(escapeRegex(filter.search.trim()), 'i'); query.$or = [ diff --git a/libs/api/tracker/presenters/src/lib/graphql/inputs.ts b/libs/api/tracker/presenters/src/lib/graphql/inputs.ts index e08eb62..33d8161 100644 --- a/libs/api/tracker/presenters/src/lib/graphql/inputs.ts +++ b/libs/api/tracker/presenters/src/lib/graphql/inputs.ts @@ -508,6 +508,13 @@ export class IssueFilterInput { @IsOptional() @IsBoolean() noSprint?: boolean; + @Field({ + nullable: true, + description: 'Only the tickets I follow (none when anonymous)', + }) + @IsOptional() + @IsBoolean() + watching?: boolean; @Field({ nullable: true, description: 'Due on or after this day (YYYY-MM-DD)', diff --git a/libs/api/tracker/presenters/src/lib/graphql/issue.resolver.ts b/libs/api/tracker/presenters/src/lib/graphql/issue.resolver.ts index bbe98a4..d576987 100644 --- a/libs/api/tracker/presenters/src/lib/graphql/issue.resolver.ts +++ b/libs/api/tracker/presenters/src/lib/graphql/issue.resolver.ts @@ -98,6 +98,11 @@ export class IssueResolver { myIssues( @CurrentUser() me: User, @Args('assignedToMe', { defaultValue: true }) assignedToMe: boolean, + @Args('watching', { + defaultValue: false, + description: 'Only the tickets I follow', + }) + watching: boolean, @Args('statuses', { type: () => [String], nullable: true }) statuses: string[] | undefined, @Args('categories', { type: () => [StatusCategory], nullable: true }) @@ -113,6 +118,7 @@ export class IssueResolver { ) { return this.issuesService.mine(me.id, { assignedToMe, + watching, statuses: statuses ?? undefined, categories: categories ?? undefined, search: search ?? undefined, diff --git a/libs/api/tracker/presenters/src/lib/http/dto/requests.dto.ts b/libs/api/tracker/presenters/src/lib/http/dto/requests.dto.ts index 9a4b184..d388a74 100644 --- a/libs/api/tracker/presenters/src/lib/http/dto/requests.dto.ts +++ b/libs/api/tracker/presenters/src/lib/http/dto/requests.dto.ts @@ -389,6 +389,16 @@ export class MyIssuesQueryDto extends PageQueryDto { @IsBoolean() assignedToMe = true; + @ApiPropertyOptional({ + type: Boolean, + description: + 'Only the tickets I follow (with assignedToMe=false, whoever they are assigned to)', + }) + @IsOptional() + @Transform(toBoolean) + @IsBoolean() + watching?: boolean; + @ApiPropertyOptional({ type: [String], description: 'Status ids. Repeat the parameter or separate with commas', @@ -509,6 +519,15 @@ export class IssueSearchQueryDto extends PageQueryDto { @IsBoolean() noSprint?: boolean; + @ApiPropertyOptional({ + type: Boolean, + description: 'Only the tickets I follow (none without a token)', + }) + @IsOptional() + @Transform(toBoolean) + @IsBoolean() + watching?: boolean; + @ApiPropertyOptional({ format: 'date', description: 'Due on or after this day', diff --git a/libs/api/tracker/presenters/src/lib/http/issues.controller.ts b/libs/api/tracker/presenters/src/lib/http/issues.controller.ts index 73d3d46..9f06f9f 100644 --- a/libs/api/tracker/presenters/src/lib/http/issues.controller.ts +++ b/libs/api/tracker/presenters/src/lib/http/issues.controller.ts @@ -128,6 +128,7 @@ export class IssuesController { async mine(@CurrentUser() me: User, @Query() query: MyIssuesQueryDto) { const page = await this.issues.mine(me.id, { assignedToMe: query.assignedToMe, + watching: query.watching, statuses: query.status, categories: query.category, search: query.search, @@ -164,6 +165,7 @@ export class IssuesController { labels: query.label, sprintId: query.sprintId, noSprint: query.noSprint, + watching: query.watching, dueFrom: query.dueFrom, dueTo: query.dueTo, sort: query.sort, diff --git a/libs/web/tracker/application/src/lib/events/home.events.ts b/libs/web/tracker/application/src/lib/events/home.events.ts index 9822caa..08d16db 100644 --- a/libs/web/tracker/application/src/lib/events/home.events.ts +++ b/libs/web/tracker/application/src/lib/events/home.events.ts @@ -16,6 +16,7 @@ export const homeApiEvents = eventGroup({ loaded: type<{ mine: IssuePage; awaitingQa: IssuePage; + following: IssuePage; releases: Release[]; }>(), loadFailed: type(), diff --git a/libs/web/tracker/application/src/lib/facades/facades.spec.ts b/libs/web/tracker/application/src/lib/facades/facades.spec.ts index 414674c..d2840dc 100644 --- a/libs/web/tracker/application/src/lib/facades/facades.spec.ts +++ b/libs/web/tracker/application/src/lib/facades/facades.spec.ts @@ -390,19 +390,22 @@ describe('HomeFacade', () => { ({ id: key, key, status, statusCategory, title: key }) as never; it('loads my work and groups it by category, QA failures first', () => { - const mine = vi.fn((filter: { assignedToMe: boolean }) => - of( - filter.assignedToMe - ? { - items: [ - issue('WEB-1', 'IN_PROGRESS', 'IN_PROGRESS'), - issue('WEB-4', 'BACKLOG', 'TODO'), - issue('WEB-2', 'QA_FAILED', 'IN_PROGRESS'), - ], - total: 3, - } - : { items: [issue('WEB-3', 'STAGING', 'QA')], total: 1 }, - ), + const mine = vi.fn( + (filter: { assignedToMe: boolean; watching?: boolean }) => + of( + filter.watching + ? { items: [issue('API-7', 'IN_REVIEW', 'IN_PROGRESS')], total: 1 } + : filter.assignedToMe + ? { + items: [ + issue('WEB-1', 'IN_PROGRESS', 'IN_PROGRESS'), + issue('WEB-4', 'BACKLOG', 'TODO'), + issue('WEB-2', 'QA_FAILED', 'IN_PROGRESS'), + ], + total: 3, + } + : { items: [issue('WEB-3', 'STAGING', 'QA')], total: 1 }, + ), ); TestBed.configureTestingModule({ providers: [ @@ -437,6 +440,10 @@ describe('HomeFacade', () => { ]); expect(home.qaFailed()).toBe(1); expect(home.awaitingQaTotal()).toBe(1); + expect(mine).toHaveBeenCalledWith( + expect.objectContaining({ assignedToMe: false, watching: true }), + ); + expect(home.following().map((i) => i.key)).toEqual(['API-7']); expect(home.releases().map((r) => r.name)).toEqual(['v1.4.0']); }); }); diff --git a/libs/web/tracker/application/src/lib/facades/home.facade.ts b/libs/web/tracker/application/src/lib/facades/home.facade.ts index bfafa45..7122e98 100644 --- a/libs/web/tracker/application/src/lib/facades/home.facade.ts +++ b/libs/web/tracker/application/src/lib/facades/home.facade.ts @@ -18,6 +18,9 @@ export class HomeFacade { /** Tickets of my projects in a QA-category status (anyone's). */ readonly awaitingQa = this.store.awaitingQa; readonly awaitingQaTotal = this.store.awaitingQaTotal; + /** Open tickets I follow, whoever works on them. */ + readonly following = this.store.following; + readonly followingTotal = this.store.followingTotal; /** Planned releases of my projects, soonest first. */ readonly releases = this.store.releases; /** False until the first load: show skeletons, not empty states. */ diff --git a/libs/web/tracker/application/src/lib/stores/home.store.ts b/libs/web/tracker/application/src/lib/stores/home.store.ts index 8a93a87..69c2eb5 100644 --- a/libs/web/tracker/application/src/lib/stores/home.store.ts +++ b/libs/web/tracker/application/src/lib/stores/home.store.ts @@ -32,6 +32,8 @@ interface HomeState { mineTotal: number; awaitingQa: IssueSummary[]; awaitingQaTotal: number; + following: IssueSummary[]; + followingTotal: number; releases: Release[]; loaded: boolean; loading: boolean; @@ -40,7 +42,7 @@ interface HomeState { /** * "My work" across every project I belong to: my open tickets, tickets - * waiting for QA and upcoming releases. Root-scoped, so coming back to the + * waiting for QA, the open ones I follow and upcoming releases. Root-scoped, so coming back to the * home page shows the last data at once while it refreshes. */ export const HomeStore = signalStore( @@ -50,6 +52,8 @@ export const HomeStore = signalStore( mineTotal: 0, awaitingQa: [], awaitingQaTotal: 0, + following: [], + followingTotal: 0, releases: [], loaded: false, loading: false, @@ -82,6 +86,8 @@ export const HomeStore = signalStore( mineTotal: payload.mine.total, awaitingQa: payload.awaitingQa.items, awaitingQaTotal: payload.awaitingQa.total, + following: payload.following.items, + followingTotal: payload.following.total, releases: payload.releases, loaded: true, loading: false, @@ -111,6 +117,12 @@ export const HomeStore = signalStore( categories: [StatusCategory.QA], limit: 20, }), + following: issues.mine({ + assignedToMe: false, + watching: true, + categories: [...OPEN_CATEGORIES], + limit: 20, + }), releases: releases.upcoming(5), }).pipe( mapResponse({ diff --git a/libs/web/tracker/domain/src/lib/models/inputs.ts b/libs/web/tracker/domain/src/lib/models/inputs.ts index d416f04..33986f7 100644 --- a/libs/web/tracker/domain/src/lib/models/inputs.ts +++ b/libs/web/tracker/domain/src/lib/models/inputs.ts @@ -72,6 +72,8 @@ export interface CreateReleaseInput { export interface MyIssuesFilter { /** true: assigned to me. false: any ticket of my projects. */ assignedToMe: boolean; + /** Only the tickets I follow. */ + watching?: boolean; categories?: StatusCategory[]; /** Matches key, title or description. */ search?: string; diff --git a/libs/web/tracker/infrastructure/src/lib/adapters/graphql-issues.gateway.ts b/libs/web/tracker/infrastructure/src/lib/adapters/graphql-issues.gateway.ts index ac2f789..06866d3 100644 --- a/libs/web/tracker/infrastructure/src/lib/adapters/graphql-issues.gateway.ts +++ b/libs/web/tracker/infrastructure/src/lib/adapters/graphql-issues.gateway.ts @@ -89,6 +89,7 @@ export class GraphqlIssuesGateway extends IssuesGateway { return this.gql .query(MyIssuesDocument, { assignedToMe: filter.assignedToMe, + watching: filter.watching ?? false, categories: filter.categories as never, limit: filter.limit, search: filter.search?.trim() || null, diff --git a/libs/web/tracker/infrastructure/src/lib/graphql/generated.ts b/libs/web/tracker/infrastructure/src/lib/graphql/generated.ts index c7dd19d..62271fe 100644 --- a/libs/web/tracker/infrastructure/src/lib/graphql/generated.ts +++ b/libs/web/tracker/infrastructure/src/lib/graphql/generated.ts @@ -1,11 +1,7 @@ /** Internal type. DO NOT USE DIRECTLY. */ type Exact = { [K in keyof T]: T[K] }; /** Internal type. DO NOT USE DIRECTLY. */ -export type Incremental = - | T - | { - [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; - }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type AddChecklistItemInput = { issueId: string; @@ -141,9 +137,15 @@ export type CreateWebhookInput = { url: string; }; -export type DevLinkKind = 'BRANCH' | 'COMMIT' | 'PULL_REQUEST'; +export type DevLinkKind = + | 'BRANCH' + | 'COMMIT' + | 'PULL_REQUEST'; -export type DevLinkState = 'CLOSED' | 'MERGED' | 'OPEN'; +export type DevLinkState = + | 'CLOSED' + | 'MERGED' + | 'OPEN'; export type IssueFilterInput = { areas?: Array | null | undefined; @@ -168,6 +170,8 @@ export type IssueFilterInput = { statuses?: Array | null | undefined; types?: Array | null | undefined; unassigned?: boolean | null | undefined; + /** Only the tickets I follow (none when anonymous) */ + watching?: boolean | null | undefined; }; export type IssueLinkType = @@ -177,10 +181,17 @@ export type IssueLinkType = | 'RELATES_TO' | 'TESTS'; -export type IssuePriority = 'CRITICAL' | 'HIGH' | 'LOW' | 'LOWEST' | 'MEDIUM'; +export type IssuePriority = + | 'CRITICAL' + | 'HIGH' + | 'LOW' + | 'LOWEST' + | 'MEDIUM'; /** RECENT: last updated first. RANK: backlog order. */ -export type IssueSort = 'RANK' | 'RECENT'; +export type IssueSort = + | 'RANK' + | 'RECENT'; export type IssueTemplateInput = { checklist?: Array; @@ -196,7 +207,9 @@ export type IssueTypeOptionInput = { template?: IssueTemplateInput | null | undefined; }; -export type LinkDirection = 'INWARD' | 'OUTWARD'; +export type LinkDirection = + | 'INWARD' + | 'OUTWARD'; export type LinkIssuesInput = { issueId: string; @@ -223,7 +236,11 @@ export type ProjectMemberInput = { userId: string; }; -export type ProjectRole = 'ADMIN' | 'MEMBER' | 'OWNER' | 'VIEWER'; +export type ProjectRole = + | 'ADMIN' + | 'MEMBER' + | 'OWNER' + | 'VIEWER'; /** The whole configuration (replaces the previous one). Statuses go in board order. */ export type ProjectSettingsInput = { @@ -241,7 +258,10 @@ export type RankIssueInput = { issueId: string; }; -export type ReleaseStatus = 'ARCHIVED' | 'PLANNED' | 'RELEASED'; +export type ReleaseStatus = + | 'ARCHIVED' + | 'PLANNED' + | 'RELEASED'; export type SaveFilterInput = { criteria: SavedFilterCriteriaInput; @@ -263,7 +283,10 @@ export type SavedFilterCriteriaInput = { }; /** PLANNED, ACTIVE (one per project at a time) or CLOSED */ -export type SprintStatus = 'ACTIVE' | 'CLOSED' | 'PLANNED'; +export type SprintStatus = + | 'ACTIVE' + | 'CLOSED' + | 'PLANNED'; /** What a status means, whatever each project calls it. DONE and CANCELLED are finished. */ export type StatusCategory = @@ -335,71 +358,21 @@ export type WorkflowStatusInput = { wipLimit?: number | null | undefined; }; -export type AutomationFieldsFragment = { - id: string; - name: string; - active: boolean; - runs: number; - lastRunAt: string | null; - lastError: string | null; - trigger: { kind: AutomationTrigger; status: string | null }; - conditions: { - types: Array | null; - priorities: Array | null; - areas: Array | null; - label: string | null; - }; - action: { kind: AutomationAction; value: string | null }; - createdBy: { id: string; name: string }; -}; +export type AutomationFieldsFragment = { id: string, name: string, active: boolean, runs: number, lastRunAt: string | null, lastError: string | null, trigger: { kind: AutomationTrigger, status: string | null }, conditions: { types: Array | null, priorities: Array | null, areas: Array | null, label: string | null }, action: { kind: AutomationAction, value: string | null }, createdBy: { id: string, name: string } }; export type AutomationsQueryVariables = Exact<{ projectId: string; }>; -export type AutomationsQuery = { - automations: Array<{ - id: string; - name: string; - active: boolean; - runs: number; - lastRunAt: string | null; - lastError: string | null; - trigger: { kind: AutomationTrigger; status: string | null }; - conditions: { - types: Array | null; - priorities: Array | null; - areas: Array | null; - label: string | null; - }; - action: { kind: AutomationAction; value: string | null }; - createdBy: { id: string; name: string }; - }>; -}; + +export type AutomationsQuery = { automations: Array<{ id: string, name: string, active: boolean, runs: number, lastRunAt: string | null, lastError: string | null, trigger: { kind: AutomationTrigger, status: string | null }, conditions: { types: Array | null, priorities: Array | null, areas: Array | null, label: string | null }, action: { kind: AutomationAction, value: string | null }, createdBy: { id: string, name: string } }> }; export type CreateAutomationMutationVariables = Exact<{ input: CreateAutomationInput; }>; -export type CreateAutomationMutation = { - createAutomation: { - id: string; - name: string; - active: boolean; - runs: number; - lastRunAt: string | null; - lastError: string | null; - trigger: { kind: AutomationTrigger; status: string | null }; - conditions: { - types: Array | null; - priorities: Array | null; - areas: Array | null; - label: string | null; - }; - action: { kind: AutomationAction; value: string | null }; - createdBy: { id: string; name: string }; - }; -}; + +export type CreateAutomationMutation = { createAutomation: { id: string, name: string, active: boolean, runs: number, lastRunAt: string | null, lastError: string | null, trigger: { kind: AutomationTrigger, status: string | null }, conditions: { types: Array | null, priorities: Array | null, areas: Array | null, label: string | null }, action: { kind: AutomationAction, value: string | null }, createdBy: { id: string, name: string } } }; export type UpdateAutomationMutationVariables = Exact<{ automationId: string; @@ -407,245 +380,63 @@ export type UpdateAutomationMutationVariables = Exact<{ active?: boolean | null | undefined; }>; -export type UpdateAutomationMutation = { - updateAutomation: { - id: string; - name: string; - active: boolean; - runs: number; - lastRunAt: string | null; - lastError: string | null; - trigger: { kind: AutomationTrigger; status: string | null }; - conditions: { - types: Array | null; - priorities: Array | null; - areas: Array | null; - label: string | null; - }; - action: { kind: AutomationAction; value: string | null }; - createdBy: { id: string; name: string }; - }; -}; + +export type UpdateAutomationMutation = { updateAutomation: { id: string, name: string, active: boolean, runs: number, lastRunAt: string | null, lastError: string | null, trigger: { kind: AutomationTrigger, status: string | null }, conditions: { types: Array | null, priorities: Array | null, areas: Array | null, label: string | null }, action: { kind: AutomationAction, value: string | null }, createdBy: { id: string, name: string } } }; export type DeleteAutomationMutationVariables = Exact<{ automationId: string; }>; + export type DeleteAutomationMutation = { deleteAutomation: boolean }; -export type UserRefFieldsFragment = { id: string; name: string }; +export type UserRefFieldsFragment = { id: string, name: string }; -export type ProjectFieldsFragment = { - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { description: string | null; checklist: Array } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; -}; +export type ProjectFieldsFragment = { id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } }; -export type IssueSummaryFieldsFragment = { - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; -}; +export type IssueSummaryFieldsFragment = { id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }; -export type IssueFieldsFragment = { - description: string | null; - figmaUrl: string | null; - createdAt: string; - allowedTransitions: Array; - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - reporter: { id: string; name: string }; - links: Array<{ - type: IssueLinkType; - direction: LinkDirection; - issueId: string; - issueKey: string; - }>; - watchers: Array<{ id: string; name: string }>; - checklist: Array<{ id: string; text: string; done: boolean }>; - devLinks: Array<{ - kind: DevLinkKind; - url: string; - title: string; - ref: string; - state: DevLinkState | null; - provider: string; - repository: string | null; - author: string | null; - at: string; - }>; - attachments: Array<{ - id: string; - fileName: string; - mimeType: string; - size: number; - uploadedAt: string; - commentId: string | null; - uploadedBy: { id: string; name: string }; - }>; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; -}; +export type IssueFieldsFragment = { description: string | null, figmaUrl: string | null, createdAt: string, allowedTransitions: Array, id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, reporter: { id: string, name: string }, links: Array<{ type: IssueLinkType, direction: LinkDirection, issueId: string, issueKey: string }>, watchers: Array<{ id: string, name: string }>, checklist: Array<{ id: string, text: string, done: boolean }>, devLinks: Array<{ kind: DevLinkKind, url: string, title: string, ref: string, state: DevLinkState | null, provider: string, repository: string | null, author: string | null, at: string }>, attachments: Array<{ id: string, fileName: string, mimeType: string, size: number, uploadedAt: string, commentId: string | null, uploadedBy: { id: string, name: string } }>, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }; -export type CommentFieldsFragment = { - id: string; - issueId: string; - body: string; - replyTo: string | null; - deleted: boolean; - createdAt: string; - editedAt: string | null; - author: { id: string; name: string }; -}; +export type CommentFieldsFragment = { id: string, issueId: string, body: string, replyTo: string | null, deleted: boolean, createdAt: string, editedAt: string | null, author: { id: string, name: string } }; -export type ReleaseFieldsFragment = { - id: string; - projectId: string; - name: string; - description: string | null; - targetDate: string | null; - status: ReleaseStatus; - releasedAt: string | null; - notes: string | null; -}; +export type ReleaseFieldsFragment = { id: string, projectId: string, name: string, description: string | null, targetDate: string | null, status: ReleaseStatus, releasedAt: string | null, notes: string | null }; -export type ActivityFieldsFragment = { - id: string; - type: string; - issueId: string | null; - issueKey: string | null; - summary: string; - occurredAt: string; - actor: { id: string; name: string }; -}; +export type ActivityFieldsFragment = { id: string, type: string, issueId: string | null, issueKey: string | null, summary: string, occurredAt: string, actor: { id: string, name: string } }; -export type CommandResultFieldsFragment = { - id: string; - key: string | null; - version: number; -}; +export type CommandResultFieldsFragment = { id: string, key: string | null, version: number }; -export type GitRepositoryFieldsFragment = { - id: string; - name: string; - secret: string | null; - createdAt: string; -}; +export type GitRepositoryFieldsFragment = { id: string, name: string, secret: string | null, createdAt: string }; export type GitIntegrationQueryVariables = Exact<{ projectId: string; }>; -export type GitIntegrationQuery = { - gitIntegration: { - enabled: boolean; - webhookPath: string; - repositories: Array<{ - id: string; - name: string; - secret: string | null; - createdAt: string; - }>; - }; -}; + +export type GitIntegrationQuery = { gitIntegration: { enabled: boolean, webhookPath: string, repositories: Array<{ id: string, name: string, secret: string | null, createdAt: string }> } }; export type AddGitRepositoryMutationVariables = Exact<{ projectId: string; name: string; }>; -export type AddGitRepositoryMutation = { - addGitRepository: { - id: string; - name: string; - secret: string | null; - createdAt: string; - }; -}; + +export type AddGitRepositoryMutation = { addGitRepository: { id: string, name: string, secret: string | null, createdAt: string } }; export type RotateGitRepositorySecretMutationVariables = Exact<{ projectId: string; repositoryId: string; }>; -export type RotateGitRepositorySecretMutation = { - rotateGitRepositorySecret: { - id: string; - name: string; - secret: string | null; - createdAt: string; - }; -}; + +export type RotateGitRepositorySecretMutation = { rotateGitRepositorySecret: { id: string, name: string, secret: string | null, createdAt: string } }; export type RemoveGitRepositoryMutationVariables = Exact<{ projectId: string; repositoryId: string; }>; + export type RemoveGitRepositoryMutation = { removeGitRepository: boolean }; export type BoardQueryVariables = Exact<{ @@ -661,232 +452,94 @@ export type BoardQueryVariables = Exact<{ sprintId?: string | null | undefined; }>; -export type BoardQuery = { - project: { - id: string; - board: Array<{ - status: string; - total: number; - issues: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }>; - }; -}; + +export type BoardQuery = { project: { id: string, board: Array<{ status: string, total: number, issues: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> }> } }; export type IssueQueryVariables = Exact<{ idOrKey: string; }>; -export type IssueQuery = { - issue: { - description: string | null; - figmaUrl: string | null; - createdAt: string; - allowedTransitions: Array; - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - reporter: { id: string; name: string }; - links: Array<{ - type: IssueLinkType; - direction: LinkDirection; - issueId: string; - issueKey: string; - }>; - watchers: Array<{ id: string; name: string }>; - checklist: Array<{ id: string; text: string; done: boolean }>; - devLinks: Array<{ - kind: DevLinkKind; - url: string; - title: string; - ref: string; - state: DevLinkState | null; - provider: string; - repository: string | null; - author: string | null; - at: string; - }>; - attachments: Array<{ - id: string; - fileName: string; - mimeType: string; - size: number; - uploadedAt: string; - commentId: string | null; - uploadedBy: { id: string; name: string }; - }>; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }; -}; + +export type IssueQuery = { issue: { description: string | null, figmaUrl: string | null, createdAt: string, allowedTransitions: Array, id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, reporter: { id: string, name: string }, links: Array<{ type: IssueLinkType, direction: LinkDirection, issueId: string, issueKey: string }>, watchers: Array<{ id: string, name: string }>, checklist: Array<{ id: string, text: string, done: boolean }>, devLinks: Array<{ kind: DevLinkKind, url: string, title: string, ref: string, state: DevLinkState | null, provider: string, repository: string | null, author: string | null, at: string }>, attachments: Array<{ id: string, fileName: string, mimeType: string, size: number, uploadedAt: string, commentId: string | null, uploadedBy: { id: string, name: string } }>, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null } }; export type SearchIssuesQueryVariables = Exact<{ filter: IssueFilterInput; }>; -export type SearchIssuesQuery = { - issues: { - items: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }; -}; + +export type SearchIssuesQuery = { issues: { items: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> } }; export type CreateIssueMutationVariables = Exact<{ input: CreateIssueInput; }>; -export type CreateIssueMutation = { - createIssue: { id: string; key: string | null; version: number }; -}; + +export type CreateIssueMutation = { createIssue: { id: string, key: string | null, version: number } }; export type UpdateIssueMutationVariables = Exact<{ input: UpdateIssueInput; }>; -export type UpdateIssueMutation = { - updateIssue: { id: string; key: string | null; version: number }; -}; + +export type UpdateIssueMutation = { updateIssue: { id: string, key: string | null, version: number } }; export type ChangeIssueStatusMutationVariables = Exact<{ input: ChangeIssueStatusInput; }>; -export type ChangeIssueStatusMutation = { - changeIssueStatus: { id: string; key: string | null; version: number }; -}; + +export type ChangeIssueStatusMutation = { changeIssueStatus: { id: string, key: string | null, version: number } }; export type AssignIssueMutationVariables = Exact<{ issueId: string; assigneeId?: string | null | undefined; }>; -export type AssignIssueMutation = { - assignIssue: { id: string; key: string | null; version: number }; -}; + +export type AssignIssueMutation = { assignIssue: { id: string, key: string | null, version: number } }; export type LinkIssuesMutationVariables = Exact<{ input: LinkIssuesInput; }>; -export type LinkIssuesMutation = { - linkIssues: { id: string; key: string | null; version: number }; -}; + +export type LinkIssuesMutation = { linkIssues: { id: string, key: string | null, version: number } }; export type UnlinkIssuesMutationVariables = Exact<{ input: LinkIssuesInput; }>; -export type UnlinkIssuesMutation = { - unlinkIssues: { id: string; key: string | null; version: number }; -}; + +export type UnlinkIssuesMutation = { unlinkIssues: { id: string, key: string | null, version: number } }; export type WatchIssueMutationVariables = Exact<{ issueId: string; }>; -export type WatchIssueMutation = { - watchIssue: { id: string; key: string | null; version: number }; -}; + +export type WatchIssueMutation = { watchIssue: { id: string, key: string | null, version: number } }; export type UnwatchIssueMutationVariables = Exact<{ issueId: string; }>; -export type UnwatchIssueMutation = { - unwatchIssue: { id: string; key: string | null; version: number }; -}; + +export type UnwatchIssueMutation = { unwatchIssue: { id: string, key: string | null, version: number } }; export type SetIssueReleaseMutationVariables = Exact<{ issueId: string; releaseId?: string | null | undefined; }>; -export type SetIssueReleaseMutation = { - setIssueRelease: { id: string; key: string | null; version: number }; -}; + +export type SetIssueReleaseMutation = { setIssueRelease: { id: string, key: string | null, version: number } }; export type IssueCommentsQueryVariables = Exact<{ idOrKey: string; }>; -export type IssueCommentsQuery = { - issue: { - id: string; - comments: { - items: Array<{ - id: string; - issueId: string; - body: string; - replyTo: string | null; - deleted: boolean; - createdAt: string; - editedAt: string | null; - author: { id: string; name: string }; - }>; - }; - }; -}; + +export type IssueCommentsQuery = { issue: { id: string, comments: { items: Array<{ id: string, issueId: string, body: string, replyTo: string | null, deleted: boolean, createdAt: string, editedAt: string | null, author: { id: string, name: string } }> } } }; export type AddCommentMutationVariables = Exact<{ issueId: string; @@ -894,1152 +547,462 @@ export type AddCommentMutationVariables = Exact<{ replyTo?: string | null | undefined; }>; -export type AddCommentMutation = { - addComment: { id: string; key: string | null; version: number }; -}; + +export type AddCommentMutation = { addComment: { id: string, key: string | null, version: number } }; export type EditCommentMutationVariables = Exact<{ commentId: string; body: string; }>; -export type EditCommentMutation = { - editComment: { id: string; key: string | null; version: number }; -}; + +export type EditCommentMutation = { editComment: { id: string, key: string | null, version: number } }; export type DeleteCommentMutationVariables = Exact<{ commentId: string; }>; -export type DeleteCommentMutation = { - deleteComment: { id: string; key: string | null; version: number }; -}; + +export type DeleteCommentMutation = { deleteComment: { id: string, key: string | null, version: number } }; export type MyIssuesQueryVariables = Exact<{ assignedToMe: boolean; + watching?: boolean | null | undefined; categories?: Array | StatusCategory | null | undefined; limit: number; search?: string | null | undefined; }>; -export type MyIssuesQuery = { - myIssues: { - total: number; - items: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }; -}; + +export type MyIssuesQuery = { myIssues: { total: number, items: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> } }; export type IssueChildrenQueryVariables = Exact<{ filter: IssueFilterInput; }>; -export type IssueChildrenQuery = { - issues: { - items: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }; -}; + +export type IssueChildrenQuery = { issues: { items: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> } }; export type EpicsQueryVariables = Exact<{ projectId: string; }>; -export type EpicsQuery = { - epics: Array<{ - issue: { - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }; - progress: { - total: number; - finished: number; - percent: number; - storyPoints: number; - finishedStoryPoints: number; - }; - }>; -}; + +export type EpicsQuery = { epics: Array<{ issue: { id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }, progress: { total: number, finished: number, percent: number, storyPoints: number, finishedStoryPoints: number } }> }; export type SetIssueParentMutationVariables = Exact<{ issueId: string; parentId?: string | null | undefined; }>; -export type SetIssueParentMutation = { - setIssueParent: { id: string; key: string | null; version: number }; -}; + +export type SetIssueParentMutation = { setIssueParent: { id: string, key: string | null, version: number } }; export type AddChecklistItemMutationVariables = Exact<{ input: AddChecklistItemInput; }>; -export type AddChecklistItemMutation = { - addChecklistItem: { id: string; key: string | null; version: number }; -}; + +export type AddChecklistItemMutation = { addChecklistItem: { id: string, key: string | null, version: number } }; export type UpdateChecklistItemMutationVariables = Exact<{ input: UpdateChecklistItemInput; }>; -export type UpdateChecklistItemMutation = { - updateChecklistItem: { id: string; key: string | null; version: number }; -}; + +export type UpdateChecklistItemMutation = { updateChecklistItem: { id: string, key: string | null, version: number } }; export type RemoveChecklistItemMutationVariables = Exact<{ issueId: string; itemId: string; }>; -export type RemoveChecklistItemMutation = { - removeChecklistItem: { id: string; key: string | null; version: number }; -}; + +export type RemoveChecklistItemMutation = { removeChecklistItem: { id: string, key: string | null, version: number } }; export type BacklogQueryVariables = Exact<{ filter: IssueFilterInput; }>; -export type BacklogQuery = { - issues: { - total: number; - items: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }; -}; + +export type BacklogQuery = { issues: { total: number, items: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> } }; export type RankIssueMutationVariables = Exact<{ input: RankIssueInput; }>; -export type RankIssueMutation = { - rankIssue: { id: string; key: string | null; version: number }; -}; + +export type RankIssueMutation = { rankIssue: { id: string, key: string | null, version: number } }; export type BulkUpdateIssuesMutationVariables = Exact<{ input: BulkUpdateIssuesInput; }>; -export type BulkUpdateIssuesMutation = { - bulkUpdateIssues: { - updated: number; - results: Array<{ issueId: string; ok: boolean; error: string | null }>; - }; -}; + +export type BulkUpdateIssuesMutation = { bulkUpdateIssues: { updated: number, results: Array<{ issueId: string, ok: boolean, error: string | null }> } }; export type TrashIssueMutationVariables = Exact<{ issueId: string; }>; -export type TrashIssueMutation = { - trashIssue: { id: string; key: string | null; version: number }; -}; + +export type TrashIssueMutation = { trashIssue: { id: string, key: string | null, version: number } }; export type RestoreIssueMutationVariables = Exact<{ issueId: string; }>; -export type RestoreIssueMutation = { - restoreIssue: { id: string; key: string | null; version: number }; -}; + +export type RestoreIssueMutation = { restoreIssue: { id: string, key: string | null, version: number } }; export type TrashQueryVariables = Exact<{ projectId: string; }>; -export type TrashQuery = { - trash: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; -}; + +export type TrashQuery = { trash: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> }; export type DueIssuesQueryVariables = Exact<{ filter: IssueFilterInput; }>; -export type DueIssuesQuery = { - issues: { - items: Array<{ - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }>; - }; -}; -export type NotificationFieldsFragment = { - id: string; - kind: NotificationKind; - projectId: string; - projectKey: string; - issueId: string | null; - issueKey: string | null; - summary: string; - readAt: string | null; - createdAt: string; - actor: { id: string; name: string }; -}; +export type DueIssuesQuery = { issues: { items: Array<{ id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null }> } }; + +export type NotificationFieldsFragment = { id: string, kind: NotificationKind, projectId: string, projectKey: string, issueId: string | null, issueKey: string | null, summary: string, readAt: string | null, createdAt: string, actor: { id: string, name: string } }; export type MyNotificationsQueryVariables = Exact<{ unreadOnly: boolean; limit: number; }>; -export type MyNotificationsQuery = { - myNotifications: { - unread: number; - items: Array<{ - id: string; - kind: NotificationKind; - projectId: string; - projectKey: string; - issueId: string | null; - issueKey: string | null; - summary: string; - readAt: string | null; - createdAt: string; - actor: { id: string; name: string }; - }>; - }; -}; -export type NotificationSettingsQueryVariables = Exact<{ - [key: string]: never; -}>; +export type MyNotificationsQuery = { myNotifications: { unread: number, items: Array<{ id: string, kind: NotificationKind, projectId: string, projectKey: string, issueId: string | null, issueKey: string | null, summary: string, readAt: string | null, createdAt: string, actor: { id: string, name: string } }> } }; -export type NotificationSettingsQuery = { - notificationSettings: { email: boolean; emailAvailable: boolean }; -}; +export type NotificationSettingsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type NotificationSettingsQuery = { notificationSettings: { email: boolean, emailAvailable: boolean } }; export type MarkNotificationsReadMutationVariables = Exact<{ ids?: Array | string | null | undefined; }>; + export type MarkNotificationsReadMutation = { markNotificationsRead: boolean }; export type UpdateNotificationSettingsMutationVariables = Exact<{ email: boolean; }>; -export type UpdateNotificationSettingsMutation = { - updateNotificationSettings: { email: boolean; emailAvailable: boolean }; -}; -export type NotificationAddedSubscriptionVariables = Exact<{ - [key: string]: never; -}>; +export type UpdateNotificationSettingsMutation = { updateNotificationSettings: { email: boolean, emailAvailable: boolean } }; -export type NotificationAddedSubscription = { - notificationAdded: { - id: string; - kind: NotificationKind; - projectId: string; - projectKey: string; - issueId: string | null; - issueKey: string | null; - summary: string; - readAt: string | null; - createdAt: string; - actor: { id: string; name: string }; - }; -}; +export type NotificationAddedSubscriptionVariables = Exact<{ [key: string]: never; }>; -export type MyProjectsQueryVariables = Exact<{ [key: string]: never }>; -export type MyProjectsQuery = { - myProjects: Array<{ - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { - description: string | null; - checklist: Array; - } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; - }>; -}; +export type NotificationAddedSubscription = { notificationAdded: { id: string, kind: NotificationKind, projectId: string, projectKey: string, issueId: string | null, issueKey: string | null, summary: string, readAt: string | null, createdAt: string, actor: { id: string, name: string } } }; + +export type MyProjectsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type MyProjectsQuery = { myProjects: Array<{ id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } }> }; export type ProjectQueryVariables = Exact<{ idOrKey: string; }>; -export type ProjectQuery = { - project: { - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { - description: string | null; - checklist: Array; - } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; - }; -}; + +export type ProjectQuery = { project: { id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } } }; export type ProjectStatsQueryVariables = Exact<{ idOrKey: string; }>; -export type ProjectStatsQuery = { - project: { - id: string; - stats: { - total: number; - open: number; - byStatus: Array<{ key: string; count: number }>; - byType: Array<{ key: string; count: number }>; - byPriority: Array<{ key: string; count: number }>; - byArea: Array<{ key: string; count: number }>; - byAssignee: Array<{ - count: number; - user: { id: string; name: string } | null; - }>; - }; - }; -}; + +export type ProjectStatsQuery = { project: { id: string, stats: { total: number, open: number, byStatus: Array<{ key: string, count: number }>, byType: Array<{ key: string, count: number }>, byPriority: Array<{ key: string, count: number }>, byArea: Array<{ key: string, count: number }>, byAssignee: Array<{ count: number, user: { id: string, name: string } | null }> } } }; export type CreateProjectMutationVariables = Exact<{ input: CreateProjectInput; }>; -export type CreateProjectMutation = { - createProject: { id: string; key: string | null; version: number }; -}; + +export type CreateProjectMutation = { createProject: { id: string, key: string | null, version: number } }; export type AddProjectMemberMutationVariables = Exact<{ input: ProjectMemberInput; }>; -export type AddProjectMemberMutation = { - addProjectMember: { id: string; key: string | null; version: number }; -}; + +export type AddProjectMemberMutation = { addProjectMember: { id: string, key: string | null, version: number } }; export type ChangeProjectMemberRoleMutationVariables = Exact<{ input: ProjectMemberInput; }>; -export type ChangeProjectMemberRoleMutation = { - changeProjectMemberRole: { id: string; key: string | null; version: number }; -}; + +export type ChangeProjectMemberRoleMutation = { changeProjectMemberRole: { id: string, key: string | null, version: number } }; export type RemoveProjectMemberMutationVariables = Exact<{ projectId: string; userId: string; }>; -export type RemoveProjectMemberMutation = { - removeProjectMember: { id: string; key: string | null; version: number }; -}; + +export type RemoveProjectMemberMutation = { removeProjectMember: { id: string, key: string | null, version: number } }; export type SearchUsersQueryVariables = Exact<{ search: string; }>; -export type SearchUsersQuery = { - users: Array<{ id: string; name: string; email: string }>; -}; + +export type SearchUsersQuery = { users: Array<{ id: string, name: string, email: string }> }; export type UpdateProjectSettingsMutationVariables = Exact<{ projectId: string; settings: ProjectSettingsInput; }>; -export type UpdateProjectSettingsMutation = { - updateProjectSettings: { id: string; key: string | null; version: number }; -}; + +export type UpdateProjectSettingsMutation = { updateProjectSettings: { id: string, key: string | null, version: number } }; export type ProjectAnalyticsQueryVariables = Exact<{ idOrKey: string; days: number; }>; -export type ProjectAnalyticsQuery = { - project: { - id: string; - analytics: { - from: string; - to: string; - createdVsResolved: Array<{ - week: string; - created: number; - resolved: number; - }>; - cumulativeFlow: { - dates: Array; - series: Array<{ status: string; counts: Array }>; - }; - cycleTime: { - count: number; - averageDays: number | null; - p85Days: number | null; - }; - leadTime: { - count: number; - averageDays: number | null; - p85Days: number | null; - }; - throughput: Array<{ - week: string; - count: number; - user: { id: string; name: string } | null; - }>; - qa: { passed: number; failed: number; failureRate: number | null }; - }; - }; -}; -export type PublicProjectsQueryVariables = Exact<{ [key: string]: never }>; +export type ProjectAnalyticsQuery = { project: { id: string, analytics: { from: string, to: string, createdVsResolved: Array<{ week: string, created: number, resolved: number }>, cumulativeFlow: { dates: Array, series: Array<{ status: string, counts: Array }> }, cycleTime: { count: number, averageDays: number | null, p85Days: number | null }, leadTime: { count: number, averageDays: number | null, p85Days: number | null }, throughput: Array<{ week: string, count: number, user: { id: string, name: string } | null }>, qa: { passed: number, failed: number, failureRate: number | null } } } }; -export type PublicProjectsQuery = { - publicProjects: Array<{ - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { - description: string | null; - checklist: Array; - } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; - }>; -}; +export type PublicProjectsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type PublicProjectsQuery = { publicProjects: Array<{ id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } }> }; export type UpdateProjectMutationVariables = Exact<{ input: UpdateProjectInput; }>; -export type UpdateProjectMutation = { - updateProject: { id: string; key: string | null; version: number }; -}; + +export type UpdateProjectMutation = { updateProject: { id: string, key: string | null, version: number } }; export type DeleteProjectMutationVariables = Exact<{ projectId: string; confirmKey: string; }>; -export type DeleteProjectMutation = { - deleteProject: { id: string; key: string | null; version: number }; -}; + +export type DeleteProjectMutation = { deleteProject: { id: string, key: string | null, version: number } }; export type ReleasesQueryVariables = Exact<{ idOrKey: string; }>; -export type ReleasesQuery = { - project: { - id: string; - releases: Array<{ - id: string; - projectId: string; - name: string; - description: string | null; - targetDate: string | null; - status: ReleaseStatus; - releasedAt: string | null; - notes: string | null; - progress: { total: number; finished: number; percent: number }; - }>; - }; -}; + +export type ReleasesQuery = { project: { id: string, releases: Array<{ id: string, projectId: string, name: string, description: string | null, targetDate: string | null, status: ReleaseStatus, releasedAt: string | null, notes: string | null, progress: { total: number, finished: number, percent: number } }> } }; export type CreateReleaseMutationVariables = Exact<{ input: CreateReleaseInput; }>; -export type CreateReleaseMutation = { - createRelease: { id: string; key: string | null; version: number }; -}; + +export type CreateReleaseMutation = { createRelease: { id: string, key: string | null, version: number } }; export type PublishReleaseMutationVariables = Exact<{ releaseId: string; force: boolean; }>; -export type PublishReleaseMutation = { - publishRelease: { id: string; key: string | null; version: number }; -}; + +export type PublishReleaseMutation = { publishRelease: { id: string, key: string | null, version: number } }; export type ArchiveReleaseMutationVariables = Exact<{ releaseId: string; }>; -export type ArchiveReleaseMutation = { - archiveRelease: { id: string; key: string | null; version: number }; -}; + +export type ArchiveReleaseMutation = { archiveRelease: { id: string, key: string | null, version: number } }; export type ActivityQueryVariables = Exact<{ projectId: string; issueId?: string | null | undefined; }>; -export type ActivityQuery = { - activity: Array<{ - id: string; - type: string; - issueId: string | null; - issueKey: string | null; - summary: string; - occurredAt: string; - actor: { id: string; name: string }; - }>; -}; + +export type ActivityQuery = { activity: Array<{ id: string, type: string, issueId: string | null, issueKey: string | null, summary: string, occurredAt: string, actor: { id: string, name: string } }> }; export type UpcomingReleasesQueryVariables = Exact<{ limit: number; }>; -export type UpcomingReleasesQuery = { - upcomingReleases: Array<{ - id: string; - projectId: string; - name: string; - description: string | null; - targetDate: string | null; - status: ReleaseStatus; - releasedAt: string | null; - notes: string | null; - progress: { total: number; finished: number; percent: number }; - }>; -}; + +export type UpcomingReleasesQuery = { upcomingReleases: Array<{ id: string, projectId: string, name: string, description: string | null, targetDate: string | null, status: ReleaseStatus, releasedAt: string | null, notes: string | null, progress: { total: number, finished: number, percent: number } }> }; export type ReleaseBurnupQueryVariables = Exact<{ id: string; }>; -export type ReleaseBurnupQuery = { - release: { - id: string; - burnup: { - releaseId: string; - targetDate: string | null; - dates: Array; - scope: Array; - done: Array; - }; - }; -}; + +export type ReleaseBurnupQuery = { release: { id: string, burnup: { releaseId: string, targetDate: string | null, dates: Array, scope: Array, done: Array } } }; export type ReleaseNotesDraftQueryVariables = Exact<{ id: string; }>; -export type ReleaseNotesDraftQuery = { - release: { id: string; notesDraft: string }; -}; + +export type ReleaseNotesDraftQuery = { release: { id: string, notesDraft: string } }; export type WriteReleaseNotesMutationVariables = Exact<{ releaseId: string; notes?: string | null | undefined; }>; -export type WriteReleaseNotesMutation = { - writeReleaseNotes: { id: string; key: string | null; version: number }; -}; -export type SavedFilterFieldsFragment = { - id: string; - projectId: string; - name: string; - shared: boolean; - createdAt: string; - owner: { id: string; name: string }; - criteria: { - types: Array | null; - areas: Array | null; - priorities: Array | null; - assigneeId: string | null; - unassigned: boolean | null; - releaseId: string | null; - labels: Array | null; - search: string | null; - }; -}; +export type WriteReleaseNotesMutation = { writeReleaseNotes: { id: string, key: string | null, version: number } }; + +export type SavedFilterFieldsFragment = { id: string, projectId: string, name: string, shared: boolean, createdAt: string, owner: { id: string, name: string }, criteria: { types: Array | null, areas: Array | null, priorities: Array | null, assigneeId: string | null, unassigned: boolean | null, releaseId: string | null, labels: Array | null, search: string | null } }; export type SavedFiltersQueryVariables = Exact<{ projectId: string; }>; -export type SavedFiltersQuery = { - savedFilters: Array<{ - id: string; - projectId: string; - name: string; - shared: boolean; - createdAt: string; - owner: { id: string; name: string }; - criteria: { - types: Array | null; - areas: Array | null; - priorities: Array | null; - assigneeId: string | null; - unassigned: boolean | null; - releaseId: string | null; - labels: Array | null; - search: string | null; - }; - }>; -}; + +export type SavedFiltersQuery = { savedFilters: Array<{ id: string, projectId: string, name: string, shared: boolean, createdAt: string, owner: { id: string, name: string }, criteria: { types: Array | null, areas: Array | null, priorities: Array | null, assigneeId: string | null, unassigned: boolean | null, releaseId: string | null, labels: Array | null, search: string | null } }> }; export type SaveFilterMutationVariables = Exact<{ input: SaveFilterInput; }>; + export type SaveFilterMutation = { saveFilter: string }; export type DeleteSavedFilterMutationVariables = Exact<{ id: string; }>; + export type DeleteSavedFilterMutation = { deleteSavedFilter: boolean }; -export type SprintFieldsFragment = { - id: string; - projectId: string; - name: string; - goal: string | null; - startDate: string; - endDate: string; - status: SprintStatus; - startedAt: string | null; - closedAt: string | null; - progress: { - total: number; - finished: number; - percent: number; - storyPoints: number; - finishedStoryPoints: number; - }; -}; +export type SprintFieldsFragment = { id: string, projectId: string, name: string, goal: string | null, startDate: string, endDate: string, status: SprintStatus, startedAt: string | null, closedAt: string | null, progress: { total: number, finished: number, percent: number, storyPoints: number, finishedStoryPoints: number } }; export type SprintsQueryVariables = Exact<{ projectId: string; }>; -export type SprintsQuery = { - sprints: Array<{ - id: string; - projectId: string; - name: string; - goal: string | null; - startDate: string; - endDate: string; - status: SprintStatus; - startedAt: string | null; - closedAt: string | null; - progress: { - total: number; - finished: number; - percent: number; - storyPoints: number; - finishedStoryPoints: number; - }; - }>; -}; + +export type SprintsQuery = { sprints: Array<{ id: string, projectId: string, name: string, goal: string | null, startDate: string, endDate: string, status: SprintStatus, startedAt: string | null, closedAt: string | null, progress: { total: number, finished: number, percent: number, storyPoints: number, finishedStoryPoints: number } }> }; export type SprintBurndownQueryVariables = Exact<{ id: string; }>; -export type SprintBurndownQuery = { - sprint: { - id: string; - burndown: { - sprintId: string; - dates: Array; - scope: Array; - remaining: Array; - remainingPoints: Array; - ideal: Array; - }; - }; -}; + +export type SprintBurndownQuery = { sprint: { id: string, burndown: { sprintId: string, dates: Array, scope: Array, remaining: Array, remainingPoints: Array, ideal: Array } } }; export type CreateSprintMutationVariables = Exact<{ input: CreateSprintInput; }>; -export type CreateSprintMutation = { - createSprint: { id: string; key: string | null; version: number }; -}; + +export type CreateSprintMutation = { createSprint: { id: string, key: string | null, version: number } }; export type UpdateSprintMutationVariables = Exact<{ input: UpdateSprintInput; }>; -export type UpdateSprintMutation = { - updateSprint: { id: string; key: string | null; version: number }; -}; + +export type UpdateSprintMutation = { updateSprint: { id: string, key: string | null, version: number } }; export type StartSprintMutationVariables = Exact<{ sprintId: string; }>; -export type StartSprintMutation = { - startSprint: { id: string; key: string | null; version: number }; -}; + +export type StartSprintMutation = { startSprint: { id: string, key: string | null, version: number } }; export type CloseSprintMutationVariables = Exact<{ sprintId: string; carryOverToSprintId?: string | null | undefined; }>; -export type CloseSprintMutation = { - closeSprint: { id: string; key: string | null; version: number }; -}; + +export type CloseSprintMutation = { closeSprint: { id: string, key: string | null, version: number } }; export type DeleteSprintMutationVariables = Exact<{ sprintId: string; }>; -export type DeleteSprintMutation = { - deleteSprint: { id: string; key: string | null; version: number }; -}; + +export type DeleteSprintMutation = { deleteSprint: { id: string, key: string | null, version: number } }; export type SetIssueSprintMutationVariables = Exact<{ issueId: string; sprintId?: string | null | undefined; }>; -export type SetIssueSprintMutation = { - setIssueSprint: { id: string; key: string | null; version: number }; -}; + +export type SetIssueSprintMutation = { setIssueSprint: { id: string, key: string | null, version: number } }; export type SprintChangedSubscriptionVariables = Exact<{ projectId: string; }>; -export type SprintChangedSubscription = { - sprintChanged: { action: string; sprintId: string }; -}; + +export type SprintChangedSubscription = { sprintChanged: { action: string, sprintId: string } }; export type IssueChangedSubscriptionVariables = Exact<{ projectId: string; }>; -export type IssueChangedSubscription = { - issueChanged: { - action: string; - version: number; - actorId: string; - issue: { - id: string; - projectId: string; - key: string; - type: string; - area: string | null; - title: string; - status: string; - statusCategory: StatusCategory; - priority: IssuePriority; - labels: Array; - commentCount: number; - updatedAt: string; - version: number; - rank: string; - storyPoints: number | null; - startDate: string | null; - dueDate: string | null; - trashedAt: string | null; - assignee: { id: string; name: string } | null; - release: { id: string; name: string } | null; - sprint: { id: string; name: string } | null; - parent: { id: string; key: string; title: string } | null; - }; - }; -}; + +export type IssueChangedSubscription = { issueChanged: { action: string, version: number, actorId: string, issue: { id: string, projectId: string, key: string, type: string, area: string | null, title: string, status: string, statusCategory: StatusCategory, priority: IssuePriority, labels: Array, commentCount: number, updatedAt: string, version: number, rank: string, storyPoints: number | null, startDate: string | null, dueDate: string | null, trashedAt: string | null, assignee: { id: string, name: string } | null, release: { id: string, name: string } | null, sprint: { id: string, name: string } | null, parent: { id: string, key: string, title: string } | null } } }; export type CommentChangedSubscriptionVariables = Exact<{ issueId: string; }>; -export type CommentChangedSubscription = { - commentChanged: { - action: string; - commentId: string; - comment: { - id: string; - issueId: string; - body: string; - replyTo: string | null; - deleted: boolean; - createdAt: string; - editedAt: string | null; - author: { id: string; name: string }; - } | null; - }; -}; + +export type CommentChangedSubscription = { commentChanged: { action: string, commentId: string, comment: { id: string, issueId: string, body: string, replyTo: string | null, deleted: boolean, createdAt: string, editedAt: string | null, author: { id: string, name: string } } | null } }; export type ActivityAddedSubscriptionVariables = Exact<{ projectId: string; }>; -export type ActivityAddedSubscription = { - activityAdded: { - id: string; - type: string; - issueId: string | null; - issueKey: string | null; - summary: string; - occurredAt: string; - actor: { id: string; name: string }; - }; -}; + +export type ActivityAddedSubscription = { activityAdded: { id: string, type: string, issueId: string | null, issueKey: string | null, summary: string, occurredAt: string, actor: { id: string, name: string } } }; export type ReleaseChangedSubscriptionVariables = Exact<{ projectId: string; }>; -export type ReleaseChangedSubscription = { - releaseChanged: { - release: { - id: string; - projectId: string; - name: string; - description: string | null; - targetDate: string | null; - status: ReleaseStatus; - releasedAt: string | null; - notes: string | null; - }; - }; -}; + +export type ReleaseChangedSubscription = { releaseChanged: { release: { id: string, projectId: string, name: string, description: string | null, targetDate: string | null, status: ReleaseStatus, releasedAt: string | null, notes: string | null } } }; export type ProjectChangedSubscriptionVariables = Exact<{ projectId: string; }>; -export type ProjectChangedSubscription = { - projectChanged: { - action: string; - project: { - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { - description: string | null; - checklist: Array; - } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; - }; - }; -}; -export type MyProjectsChangedSubscriptionVariables = Exact<{ - [key: string]: never; -}>; +export type ProjectChangedSubscription = { projectChanged: { action: string, project: { id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } } } }; -export type MyProjectsChangedSubscription = { - myProjectsChanged: { - action: string; - project: { - id: string; - key: string; - name: string; - description: string | null; - isPublic: boolean; - updatedAt: string; - version: number; - owner: { id: string; name: string }; - members: Array<{ role: ProjectRole; user: { id: string; name: string } }>; - settings: { - statuses: Array<{ - id: string; - name: string; - category: StatusCategory; - color: string; - requiresReason: boolean; - archived: boolean; - wipLimit: number | null; - }>; - transitions: Array<{ from: string; to: Array }>; - issueTypes: Array<{ - id: string; - name: string; - icon: string; - color: string; - archived: boolean; - template: { - description: string | null; - checklist: Array; - } | null; - }>; - areas: Array<{ id: string; name: string; archived: boolean }>; - }; - }; - }; -}; +export type MyProjectsChangedSubscriptionVariables = Exact<{ [key: string]: never; }>; -export type WebhookFieldsFragment = { - id: string; - url: string; - events: Array; - active: boolean; - createdAt: string; - createdBy: { id: string; name: string }; - lastDelivery: { - at: string; - event: string; - status: number | null; - ok: boolean; - error: string | null; - } | null; -}; -export type WebhookDeliveryFieldsFragment = { - at: string; - event: string; - status: number | null; - ok: boolean; - error: string | null; -}; +export type MyProjectsChangedSubscription = { myProjectsChanged: { action: string, project: { id: string, key: string, name: string, description: string | null, isPublic: boolean, updatedAt: string, version: number, owner: { id: string, name: string }, members: Array<{ role: ProjectRole, user: { id: string, name: string } }>, settings: { statuses: Array<{ id: string, name: string, category: StatusCategory, color: string, requiresReason: boolean, archived: boolean, wipLimit: number | null }>, transitions: Array<{ from: string, to: Array }>, issueTypes: Array<{ id: string, name: string, icon: string, color: string, archived: boolean, template: { description: string | null, checklist: Array } | null }>, areas: Array<{ id: string, name: string, archived: boolean }> } } } }; + +export type WebhookFieldsFragment = { id: string, url: string, events: Array, active: boolean, createdAt: string, createdBy: { id: string, name: string }, lastDelivery: { at: string, event: string, status: number | null, ok: boolean, error: string | null } | null }; + +export type WebhookDeliveryFieldsFragment = { at: string, event: string, status: number | null, ok: boolean, error: string | null }; export type WebhooksQueryVariables = Exact<{ projectId: string; }>; -export type WebhooksQuery = { - webhooks: Array<{ - id: string; - url: string; - events: Array; - active: boolean; - createdAt: string; - createdBy: { id: string; name: string }; - lastDelivery: { - at: string; - event: string; - status: number | null; - ok: boolean; - error: string | null; - } | null; - }>; -}; -export type WebhookEventsQueryVariables = Exact<{ [key: string]: never }>; +export type WebhooksQuery = { webhooks: Array<{ id: string, url: string, events: Array, active: boolean, createdAt: string, createdBy: { id: string, name: string }, lastDelivery: { at: string, event: string, status: number | null, ok: boolean, error: string | null } | null }> }; + +export type WebhookEventsQueryVariables = Exact<{ [key: string]: never; }>; + export type WebhookEventsQuery = { webhookEvents: Array }; @@ -2047,10314 +1010,131 @@ export type CreateWebhookMutationVariables = Exact<{ input: CreateWebhookInput; }>; -export type CreateWebhookMutation = { - createWebhook: { id: string; secret: string }; -}; + +export type CreateWebhookMutation = { createWebhook: { id: string, secret: string } }; export type UpdateWebhookMutationVariables = Exact<{ input: UpdateWebhookInput; }>; -export type UpdateWebhookMutation = { - updateWebhook: { - id: string; - url: string; - events: Array; - active: boolean; - createdAt: string; - createdBy: { id: string; name: string }; - lastDelivery: { - at: string; - event: string; - status: number | null; - ok: boolean; - error: string | null; - } | null; - }; -}; + +export type UpdateWebhookMutation = { updateWebhook: { id: string, url: string, events: Array, active: boolean, createdAt: string, createdBy: { id: string, name: string }, lastDelivery: { at: string, event: string, status: number | null, ok: boolean, error: string | null } | null } }; export type DeleteWebhookMutationVariables = Exact<{ webhookId: string; }>; + export type DeleteWebhookMutation = { deleteWebhook: boolean }; export type TestWebhookMutationVariables = Exact<{ webhookId: string; }>; -export type TestWebhookMutation = { - testWebhook: { - at: string; - event: string; - status: number | null; - ok: boolean; - error: string | null; - }; -}; -export const UserRefFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AutomationFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AutomationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Automation' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'runs' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastRunAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastError' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'trigger' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'conditions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'action' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProjectFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IssueSummaryFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IssueFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'figmaUrl' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'allowedTransitions' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'reporter' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'links' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'direction' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'watchers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'text' } }, - { kind: 'Field', name: { kind: 'Name', value: 'done' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'devLinks' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ref' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'provider' } }, - { kind: 'Field', name: { kind: 'Name', value: 'repository' } }, - { kind: 'Field', name: { kind: 'Name', value: 'author' } }, - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'attachments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'fileName' } }, - { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, - { kind: 'Field', name: { kind: 'Name', value: 'size' } }, - { kind: 'Field', name: { kind: 'Name', value: 'uploadedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'uploadedBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CommentFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommentFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Comment' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'body' } }, - { kind: 'Field', name: { kind: 'Name', value: 'replyTo' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deleted' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'author' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ReleaseFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ReleaseFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Release' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'notes' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ActivityFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ActivityFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Activity' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CommandResultFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const GitRepositoryFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'GitRepository' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'secret' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const NotificationFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'NotificationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Notification' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SavedFilterFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'SavedFilterFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'SavedFilter' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shared' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'criteria' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'assigneeId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unassigned' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releaseId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'search' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SprintFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'SprintFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Sprint' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'goal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'closedAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'progress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'finished' } }, - { kind: 'Field', name: { kind: 'Name', value: 'percent' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finishedStoryPoints' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const WebhookDeliveryFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'WebhookDelivery' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'event' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const WebhookFieldsFragmentDoc = { - kind: 'Document', - definitions: [ - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Webhook' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'events' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lastDelivery' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'WebhookDelivery' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'event' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AutomationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Automations' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'automations' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AutomationFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AutomationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Automation' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'runs' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastRunAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastError' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'trigger' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'conditions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'action' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateAutomationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateAutomation' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateAutomationInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createAutomation' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AutomationFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AutomationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Automation' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'runs' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastRunAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastError' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'trigger' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'conditions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'action' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateAutomationMutation, - CreateAutomationMutationVariables ->; -export const UpdateAutomationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateAutomation' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'automationId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'active' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateAutomation' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'automationId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'automationId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'name' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'name' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'active' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'active' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'AutomationFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'AutomationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Automation' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'runs' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastRunAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'lastError' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'trigger' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'conditions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'label' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'action' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'value' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateAutomationMutation, - UpdateAutomationMutationVariables ->; -export const DeleteAutomationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteAutomation' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'automationId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteAutomation' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'automationId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'automationId' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteAutomationMutation, - DeleteAutomationMutationVariables ->; -export const GitIntegrationDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'GitIntegration' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'gitIntegration' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'enabled' } }, - { kind: 'Field', name: { kind: 'Name', value: 'webhookPath' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'repositories' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'GitRepository' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'secret' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AddGitRepositoryDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AddGitRepository' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'name' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'addGitRepository' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'name' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'name' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'GitRepository' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'secret' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AddGitRepositoryMutation, - AddGitRepositoryMutationVariables ->; -export const RotateGitRepositorySecretDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RotateGitRepositorySecret' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'repositoryId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'rotateGitRepositorySecret' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'repositoryId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'repositoryId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'GitRepositoryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'GitRepository' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'secret' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RotateGitRepositorySecretMutation, - RotateGitRepositorySecretMutationVariables ->; -export const RemoveGitRepositoryDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RemoveGitRepository' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'repositoryId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'removeGitRepository' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'repositoryId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'repositoryId' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveGitRepositoryMutation, - RemoveGitRepositoryMutationVariables ->; -export const BoardDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Board' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'assigneeId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'area' } }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'types' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'priorities' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'IssuePriority' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'labels' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'unassigned' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'board' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'releaseId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'assigneeId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'assigneeId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'area' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'area' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'types' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'types' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'priorities' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'priorities' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'labels' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'labels' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'search' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'unassigned' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'unassigned' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'sprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'perColumn' }, - value: { kind: 'IntValue', value: '100' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'status' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issues' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'IssueSummaryFields', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Issue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'figmaUrl' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'allowedTransitions' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'reporter' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'links' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'direction' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'watchers' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'text' } }, - { kind: 'Field', name: { kind: 'Name', value: 'done' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'devLinks' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ref' } }, - { kind: 'Field', name: { kind: 'Name', value: 'state' } }, - { kind: 'Field', name: { kind: 'Name', value: 'provider' } }, - { kind: 'Field', name: { kind: 'Name', value: 'repository' } }, - { kind: 'Field', name: { kind: 'Name', value: 'author' } }, - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'attachments' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'fileName' } }, - { kind: 'Field', name: { kind: 'Name', value: 'mimeType' } }, - { kind: 'Field', name: { kind: 'Name', value: 'size' } }, - { kind: 'Field', name: { kind: 'Name', value: 'uploadedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'uploadedBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SearchIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'IssueFilterInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'filter' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '20' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateIssueInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UpdateIssueInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ChangeIssueStatusDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'ChangeIssueStatus' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'ChangeIssueStatusInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'changeIssueStatus' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ChangeIssueStatusMutation, - ChangeIssueStatusMutationVariables ->; -export const AssignIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AssignIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'assigneeId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'assignIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'assigneeId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'assigneeId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const LinkIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'LinkIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'LinkIssuesInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'linkIssues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UnlinkIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UnlinkIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'LinkIssuesInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'unlinkIssues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UnlinkIssuesMutation, - UnlinkIssuesMutationVariables ->; -export const WatchIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'WatchIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'watchIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UnwatchIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UnwatchIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'unwatchIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UnwatchIssueMutation, - UnwatchIssueMutationVariables ->; -export const SetIssueReleaseDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'SetIssueRelease' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'setIssueRelease' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'releaseId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetIssueReleaseMutation, - SetIssueReleaseMutationVariables ->; -export const IssueCommentsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IssueComments' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'comments' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '200' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommentFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommentFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Comment' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'body' } }, - { kind: 'Field', name: { kind: 'Name', value: 'replyTo' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deleted' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'author' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const AddCommentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AddComment' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'body' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'replyTo' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'addComment' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'body' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'body' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'replyTo' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'replyTo' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const EditCommentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'EditComment' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'commentId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'body' } }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'editComment' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'commentId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'commentId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'body' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'body' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DeleteCommentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteComment' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'commentId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteComment' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'commentId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'commentId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteCommentMutation, - DeleteCommentMutationVariables ->; -export const MyIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'MyIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'assignedToMe' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Boolean' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'categories' }, - }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'StatusCategory' }, - }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'myIssues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'assignedToMe' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'assignedToMe' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'categories' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'categories' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'search' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const IssueChildrenDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'IssueChildren' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'IssueFilterInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'filter' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '200' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const EpicsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Epics' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'epics' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issue' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'progress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finished' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'percent' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'storyPoints' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finishedStoryPoints' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SetIssueParentDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'SetIssueParent' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'parentId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'setIssueParent' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'parentId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'parentId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetIssueParentMutation, - SetIssueParentMutationVariables ->; -export const AddChecklistItemDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AddChecklistItem' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'AddChecklistItemInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'addChecklistItem' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AddChecklistItemMutation, - AddChecklistItemMutationVariables ->; -export const UpdateChecklistItemDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateChecklistItem' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UpdateChecklistItemInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateChecklistItem' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateChecklistItemMutation, - UpdateChecklistItemMutationVariables ->; -export const RemoveChecklistItemDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RemoveChecklistItem' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'itemId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'removeChecklistItem' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'itemId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'itemId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveChecklistItemMutation, - RemoveChecklistItemMutationVariables ->; -export const BacklogDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Backlog' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'IssueFilterInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'filter' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '200' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const RankIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RankIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'RankIssueInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'rankIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const BulkUpdateIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'BulkUpdateIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'BulkUpdateIssuesInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'bulkUpdateIssues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'updated' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'results' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issueId' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - BulkUpdateIssuesMutation, - BulkUpdateIssuesMutationVariables ->; -export const TrashIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TrashIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'trashIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const RestoreIssueDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RestoreIssue' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'restoreIssue' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RestoreIssueMutation, - RestoreIssueMutationVariables ->; -export const TrashDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Trash' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'trash' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DueIssuesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'DueIssues' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'IssueFilterInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issues' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'filter' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'filter' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '200' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const MyNotificationsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'MyNotifications' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'unreadOnly' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Boolean' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'myNotifications' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'unreadOnly' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'unreadOnly' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'unread' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'items' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'NotificationFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'NotificationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Notification' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - MyNotificationsQuery, - MyNotificationsQueryVariables ->; -export const NotificationSettingsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'NotificationSettings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'notificationSettings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'email' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emailAvailable' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - NotificationSettingsQuery, - NotificationSettingsQueryVariables ->; -export const MarkNotificationsReadDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'MarkNotificationsRead' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'ids' } }, - type: { - kind: 'ListType', - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'markNotificationsRead' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'ids' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'ids' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - MarkNotificationsReadMutation, - MarkNotificationsReadMutationVariables ->; -export const UpdateNotificationSettingsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateNotificationSettings' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'email' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Boolean' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateNotificationSettings' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'email' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'email' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'email' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'emailAvailable' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateNotificationSettingsMutation, - UpdateNotificationSettingsMutationVariables ->; -export const NotificationAddedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'NotificationAdded' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'notificationAdded' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'NotificationFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'NotificationFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Notification' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'kind' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'readAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - NotificationAddedSubscription, - NotificationAddedSubscriptionVariables ->; -export const MyProjectsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'MyProjects' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'myProjects' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProjectFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProjectDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Project' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProjectFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ProjectStatsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'ProjectStats' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'stats' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'open' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'byStatus' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'key' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'byType' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'key' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'byPriority' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'key' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'byArea' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'key' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'byAssignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'UserRefFields', - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateProjectDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateProject' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateProjectInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createProject' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateProjectMutation, - CreateProjectMutationVariables ->; -export const AddProjectMemberDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'AddProjectMember' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'ProjectMemberInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'addProjectMember' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - AddProjectMemberMutation, - AddProjectMemberMutationVariables ->; -export const ChangeProjectMemberRoleDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'ChangeProjectMemberRole' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'ProjectMemberInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'changeProjectMemberRole' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ChangeProjectMemberRoleMutation, - ChangeProjectMemberRoleMutationVariables ->; -export const RemoveProjectMemberDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'RemoveProjectMember' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'userId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'removeProjectMember' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'userId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'userId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - RemoveProjectMemberMutation, - RemoveProjectMemberMutationVariables ->; -export const SearchUsersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SearchUsers' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'users' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'search' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'search' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '20' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'email' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateProjectSettingsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateProjectSettings' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'settings' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'ProjectSettingsInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateProjectSettings' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'settings' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'settings' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateProjectSettingsMutation, - UpdateProjectSettingsMutationVariables ->; -export const ProjectAnalyticsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'ProjectAnalytics' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'days' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'analytics' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'days' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'days' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdVsResolved' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'week' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'created' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'resolved' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'cumulativeFlow' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'dates' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'series' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'status' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'counts' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'cycleTime' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'averageDays' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'p85Days' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'leadTime' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'averageDays' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'p85Days' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'throughput' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'week' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'count' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { - kind: 'Name', - value: 'UserRefFields', - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'qa' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'passed' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'failed' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'failureRate' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ProjectAnalyticsQuery, - ProjectAnalyticsQueryVariables ->; -export const PublicProjectsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'PublicProjects' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'publicProjects' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProjectFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpdateProjectDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateProject' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UpdateProjectInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateProject' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateProjectMutation, - UpdateProjectMutationVariables ->; -export const DeleteProjectDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteProject' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'confirmKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteProject' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'confirmKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'confirmKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteProjectMutation, - DeleteProjectMutationVariables ->; -export const ReleasesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Releases' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'String' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'idOrKey' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'idOrKey' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'releases' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ReleaseFields' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'progress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'total' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finished' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'percent' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ReleaseFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Release' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'notes' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateReleaseDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateRelease' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateReleaseInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createRelease' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateReleaseMutation, - CreateReleaseMutationVariables ->; -export const PublishReleaseDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'PublishRelease' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'force' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Boolean' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'publishRelease' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'releaseId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'force' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'force' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - PublishReleaseMutation, - PublishReleaseMutationVariables ->; -export const ArchiveReleaseDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'ArchiveRelease' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'archiveRelease' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'releaseId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ArchiveReleaseMutation, - ArchiveReleaseMutationVariables ->; -export const ActivityDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Activity' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'activity' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { kind: 'IntValue', value: '100' }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ActivityFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ActivityFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Activity' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const UpcomingReleasesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'UpcomingReleases' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'upcomingReleases' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'limit' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'limit' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ReleaseFields' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'progress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finished' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'percent' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ReleaseFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Release' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'notes' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpcomingReleasesQuery, - UpcomingReleasesQueryVariables ->; -export const ReleaseBurnupDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'ReleaseBurnup' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'burnup' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'releaseId' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'targetDate' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'dates' } }, - { kind: 'Field', name: { kind: 'Name', value: 'scope' } }, - { kind: 'Field', name: { kind: 'Name', value: 'done' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const ReleaseNotesDraftDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'ReleaseNotesDraft' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'notesDraft' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ReleaseNotesDraftQuery, - ReleaseNotesDraftQueryVariables ->; -export const WriteReleaseNotesDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'WriteReleaseNotes' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'notes' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'writeReleaseNotes' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'releaseId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'releaseId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'notes' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'notes' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - WriteReleaseNotesMutation, - WriteReleaseNotesMutationVariables ->; -export const SavedFiltersDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SavedFilters' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'savedFilters' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'SavedFilterFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'SavedFilterFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'SavedFilter' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'shared' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'criteria' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'types' } }, - { kind: 'Field', name: { kind: 'Name', value: 'areas' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priorities' } }, - { kind: 'Field', name: { kind: 'Name', value: 'assigneeId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'unassigned' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releaseId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'search' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SaveFilterDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'SaveFilter' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'SaveFilterInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'saveFilter' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DeleteSavedFilterDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteSavedFilter' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteSavedFilter' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteSavedFilterMutation, - DeleteSavedFilterMutationVariables ->; -export const SprintsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Sprints' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sprints' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'SprintFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'SprintFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Sprint' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'goal' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'endDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'closedAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'progress' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'total' } }, - { kind: 'Field', name: { kind: 'Name', value: 'finished' } }, - { kind: 'Field', name: { kind: 'Name', value: 'percent' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'finishedStoryPoints' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const SprintBurndownDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'SprintBurndown' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'id' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'id' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'burndown' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sprintId' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'dates' } }, - { kind: 'Field', name: { kind: 'Name', value: 'scope' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'remaining' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'remainingPoints' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'ideal' } }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateSprintInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateSprintMutation, - CreateSprintMutationVariables ->; -export const UpdateSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UpdateSprintInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateSprintMutation, - UpdateSprintMutationVariables ->; -export const StartSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'StartSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'startSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'sprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CloseSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CloseSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'carryOverToSprintId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'closeSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'sprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'carryOverToSprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'carryOverToSprintId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const DeleteSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'sprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteSprintMutation, - DeleteSprintMutationVariables ->; -export const SetIssueSprintDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'SetIssueSprint' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'setIssueSprint' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - { - kind: 'Argument', - name: { kind: 'Name', value: 'sprintId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'sprintId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommandResultFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommandResultFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CommandResult' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SetIssueSprintMutation, - SetIssueSprintMutationVariables ->; -export const SprintChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'SprintChanged' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'sprintChanged' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'action' } }, - { kind: 'Field', name: { kind: 'Name', value: 'sprintId' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - SprintChangedSubscription, - SprintChangedSubscriptionVariables ->; -export const IssueChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'IssueChanged' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'issueChanged' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'action' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { kind: 'Field', name: { kind: 'Name', value: 'actorId' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issue' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'IssueSummaryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Issue' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'area' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'statusCategory' } }, - { kind: 'Field', name: { kind: 'Name', value: 'priority' } }, - { kind: 'Field', name: { kind: 'Name', value: 'labels' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentCount' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'assignee' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'sprint' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'parent' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'title' } }, - ], - }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'rank' } }, - { kind: 'Field', name: { kind: 'Name', value: 'storyPoints' } }, - { kind: 'Field', name: { kind: 'Name', value: 'startDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'dueDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'trashedAt' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - IssueChangedSubscription, - IssueChangedSubscriptionVariables ->; -export const CommentChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'CommentChanged' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'commentChanged' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'issueId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'issueId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'action' } }, - { kind: 'Field', name: { kind: 'Name', value: 'commentId' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'comment' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'CommentFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'CommentFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Comment' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'body' } }, - { kind: 'Field', name: { kind: 'Name', value: 'replyTo' } }, - { kind: 'Field', name: { kind: 'Name', value: 'deleted' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'editedAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'author' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CommentChangedSubscription, - CommentChangedSubscriptionVariables ->; -export const ActivityAddedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'ActivityAdded' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'activityAdded' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ActivityFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ActivityFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Activity' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'type' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'issueKey' } }, - { kind: 'Field', name: { kind: 'Name', value: 'summary' } }, - { kind: 'Field', name: { kind: 'Name', value: 'occurredAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'actor' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ActivityAddedSubscription, - ActivityAddedSubscriptionVariables ->; -export const ReleaseChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'ReleaseChanged' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'releaseChanged' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'release' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ReleaseFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ReleaseFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Release' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'projectId' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'targetDate' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'releasedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'notes' } }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ReleaseChangedSubscription, - ReleaseChangedSubscriptionVariables ->; -export const ProjectChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'ProjectChanged' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'projectChanged' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'action' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProjectFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - ProjectChangedSubscription, - ProjectChangedSubscriptionVariables ->; -export const MyProjectsChangedDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'subscription', - name: { kind: 'Name', value: 'MyProjectsChanged' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'myProjectsChanged' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'action' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'project' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'ProjectFields' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'ProjectFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Project' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'key' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'description' } }, - { kind: 'Field', name: { kind: 'Name', value: 'isPublic' } }, - { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, - { kind: 'Field', name: { kind: 'Name', value: 'version' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'owner' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'members' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'role' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'user' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'settings' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'statuses' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'category' }, - }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'requiresReason' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'wipLimit' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'transitions' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'from' } }, - { kind: 'Field', name: { kind: 'Name', value: 'to' } }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'issueTypes' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { kind: 'Field', name: { kind: 'Name', value: 'icon' } }, - { kind: 'Field', name: { kind: 'Name', value: 'color' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'template' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'description' }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'checklist' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'areas' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'archived' }, - }, - ], - }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - MyProjectsChangedSubscription, - MyProjectsChangedSubscriptionVariables ->; -export const WebhooksDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'Webhooks' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'webhooks' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'projectId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'projectId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'WebhookDelivery' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'event' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Webhook' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'events' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lastDelivery' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const WebhookEventsDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'query', - name: { kind: 'Name', value: 'WebhookEvents' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'webhookEvents' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; -export const CreateWebhookDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'CreateWebhook' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'CreateWebhookInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'createWebhook' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'secret' } }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - CreateWebhookMutation, - CreateWebhookMutationVariables ->; -export const UpdateWebhookDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'UpdateWebhook' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - type: { - kind: 'NonNullType', - type: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UpdateWebhookInput' }, - }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'updateWebhook' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'input' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'input' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'UserRefFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'UserRef' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'name' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'WebhookDelivery' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'event' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'Webhook' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'id' } }, - { kind: 'Field', name: { kind: 'Name', value: 'url' } }, - { kind: 'Field', name: { kind: 'Name', value: 'events' } }, - { kind: 'Field', name: { kind: 'Name', value: 'active' } }, - { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, - { - kind: 'Field', - name: { kind: 'Name', value: 'createdBy' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'UserRefFields' }, - }, - ], - }, - }, - { - kind: 'Field', - name: { kind: 'Name', value: 'lastDelivery' }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - }, - ], - }, - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - UpdateWebhookMutation, - UpdateWebhookMutationVariables ->; -export const DeleteWebhookDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'DeleteWebhook' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'webhookId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'deleteWebhook' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'webhookId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'webhookId' }, - }, - }, - ], - }, - ], - }, - }, - ], -} as unknown as DocumentNode< - DeleteWebhookMutation, - DeleteWebhookMutationVariables ->; -export const TestWebhookDocument = { - kind: 'Document', - definitions: [ - { - kind: 'OperationDefinition', - operation: 'mutation', - name: { kind: 'Name', value: 'TestWebhook' }, - variableDefinitions: [ - { - kind: 'VariableDefinition', - variable: { - kind: 'Variable', - name: { kind: 'Name', value: 'webhookId' }, - }, - type: { - kind: 'NonNullType', - type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'Field', - name: { kind: 'Name', value: 'testWebhook' }, - arguments: [ - { - kind: 'Argument', - name: { kind: 'Name', value: 'webhookId' }, - value: { - kind: 'Variable', - name: { kind: 'Name', value: 'webhookId' }, - }, - }, - ], - selectionSet: { - kind: 'SelectionSet', - selections: [ - { - kind: 'FragmentSpread', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - }, - ], - }, - }, - ], - }, - }, - { - kind: 'FragmentDefinition', - name: { kind: 'Name', value: 'WebhookDeliveryFields' }, - typeCondition: { - kind: 'NamedType', - name: { kind: 'Name', value: 'WebhookDelivery' }, - }, - selectionSet: { - kind: 'SelectionSet', - selections: [ - { kind: 'Field', name: { kind: 'Name', value: 'at' } }, - { kind: 'Field', name: { kind: 'Name', value: 'event' } }, - { kind: 'Field', name: { kind: 'Name', value: 'status' } }, - { kind: 'Field', name: { kind: 'Name', value: 'ok' } }, - { kind: 'Field', name: { kind: 'Name', value: 'error' } }, - ], - }, - }, - ], -} as unknown as DocumentNode; +export type TestWebhookMutation = { testWebhook: { at: string, event: string, status: number | null, ok: boolean, error: string | null } }; + +export const UserRefFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const AutomationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Automation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"runs"}},{"kind":"Field","name":{"kind":"Name","value":"lastRunAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"trigger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"action"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const ProjectFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const IssueSummaryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const IssueFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"figmaUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"allowedTransitions"}},{"kind":"Field","name":{"kind":"Name","value":"reporter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}}]}},{"kind":"Field","name":{"kind":"Name","value":"watchers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checklist"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"done"}}]}},{"kind":"Field","name":{"kind":"Name","value":"devLinks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"ref"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"provider"}},{"kind":"Field","name":{"kind":"Name","value":"repository"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"at"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fileName"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"uploadedAt"}},{"kind":"Field","name":{"kind":"Name","value":"commentId"}},{"kind":"Field","name":{"kind":"Name","value":"uploadedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const CommentFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"replyTo"}},{"kind":"Field","name":{"kind":"Name","value":"deleted"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedAt"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const ReleaseFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReleaseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Release"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"targetDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"releasedAt"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}}]}}]} as unknown as DocumentNode; +export const ActivityFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ActivityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Activity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const CommandResultFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const GitRepositoryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GitRepositoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GitRepository"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"secret"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]} as unknown as DocumentNode; +export const NotificationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"projectKey"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"readAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const SavedFilterFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SavedFilterFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SavedFilter"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"shared"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"criteria"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"assigneeId"}},{"kind":"Field","name":{"kind":"Name","value":"unassigned"}},{"kind":"Field","name":{"kind":"Name","value":"releaseId"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"search"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const SprintFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SprintFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Sprint"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"goal"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"progress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"finished"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"finishedStoryPoints"}}]}}]}}]} as unknown as DocumentNode; +export const WebhookDeliveryFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookDeliveryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WebhookDelivery"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"at"}},{"kind":"Field","name":{"kind":"Name","value":"event"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]} as unknown as DocumentNode; +export const WebhookFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Webhook"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"events"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastDelivery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookDeliveryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookDeliveryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WebhookDelivery"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"at"}},{"kind":"Field","name":{"kind":"Name","value":"event"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]} as unknown as DocumentNode; +export const AutomationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Automations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"automations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Automation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"runs"}},{"kind":"Field","name":{"kind":"Name","value":"lastRunAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"trigger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"action"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const CreateAutomationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAutomation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateAutomationInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createAutomation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Automation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"runs"}},{"kind":"Field","name":{"kind":"Name","value":"lastRunAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"trigger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"action"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const UpdateAutomationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateAutomation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"automationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"active"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateAutomation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"automationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"automationId"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"active"},"value":{"kind":"Variable","name":{"kind":"Name","value":"active"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Automation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"runs"}},{"kind":"Field","name":{"kind":"Name","value":"lastRunAt"}},{"kind":"Field","name":{"kind":"Name","value":"lastError"}},{"kind":"Field","name":{"kind":"Name","value":"trigger"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}},{"kind":"Field","name":{"kind":"Name","value":"conditions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"Field","name":{"kind":"Name","value":"action"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const DeleteAutomationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAutomation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"automationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteAutomation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"automationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"automationId"}}}]}]}}]} as unknown as DocumentNode; +export const GitIntegrationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GitIntegration"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"gitIntegration"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"enabled"}},{"kind":"Field","name":{"kind":"Name","value":"webhookPath"}},{"kind":"Field","name":{"kind":"Name","value":"repositories"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GitRepositoryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GitRepositoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GitRepository"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"secret"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]} as unknown as DocumentNode; +export const AddGitRepositoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddGitRepository"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addGitRepository"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GitRepositoryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GitRepositoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GitRepository"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"secret"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]} as unknown as DocumentNode; +export const RotateGitRepositorySecretDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RotateGitRepositorySecret"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"repositoryId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rotateGitRepositorySecret"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"repositoryId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"repositoryId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"GitRepositoryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"GitRepositoryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"GitRepository"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"secret"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}}]}}]} as unknown as DocumentNode; +export const RemoveGitRepositoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveGitRepository"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"repositoryId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeGitRepository"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"repositoryId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"repositoryId"}}}]}]}}]} as unknown as DocumentNode; +export const BoardDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Board"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assigneeId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"area"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"types"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"priorities"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IssuePriority"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"labels"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"unassigned"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"board"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"releaseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}}},{"kind":"Argument","name":{"kind":"Name","value":"assigneeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assigneeId"}}},{"kind":"Argument","name":{"kind":"Name","value":"area"},"value":{"kind":"Variable","name":{"kind":"Name","value":"area"}}},{"kind":"Argument","name":{"kind":"Name","value":"types"},"value":{"kind":"Variable","name":{"kind":"Name","value":"types"}}},{"kind":"Argument","name":{"kind":"Name","value":"priorities"},"value":{"kind":"Variable","name":{"kind":"Name","value":"priorities"}}},{"kind":"Argument","name":{"kind":"Name","value":"labels"},"value":{"kind":"Variable","name":{"kind":"Name","value":"labels"}}},{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}},{"kind":"Argument","name":{"kind":"Name","value":"unassigned"},"value":{"kind":"Variable","name":{"kind":"Name","value":"unassigned"}}},{"kind":"Argument","name":{"kind":"Name","value":"sprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}}},{"kind":"Argument","name":{"kind":"Name","value":"perColumn"},"value":{"kind":"IntValue","value":"100"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"issues"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const IssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Issue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"figmaUrl"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"allowedTransitions"}},{"kind":"Field","name":{"kind":"Name","value":"reporter"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"links"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"direction"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}}]}},{"kind":"Field","name":{"kind":"Name","value":"watchers"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"checklist"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"done"}}]}},{"kind":"Field","name":{"kind":"Name","value":"devLinks"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"ref"}},{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"provider"}},{"kind":"Field","name":{"kind":"Name","value":"repository"}},{"kind":"Field","name":{"kind":"Name","value":"author"}},{"kind":"Field","name":{"kind":"Name","value":"at"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attachments"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fileName"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"uploadedAt"}},{"kind":"Field","name":{"kind":"Name","value":"commentId"}},{"kind":"Field","name":{"kind":"Name","value":"uploadedBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]}}]} as unknown as DocumentNode; +export const SearchIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IssueFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"20"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const CreateIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateIssueInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const UpdateIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateIssueInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ChangeIssueStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ChangeIssueStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ChangeIssueStatusInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"changeIssueStatus"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const AssignIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AssignIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assigneeId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"assignIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"assigneeId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assigneeId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const LinkIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"LinkIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LinkIssuesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"linkIssues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const UnlinkIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UnlinkIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"LinkIssuesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unlinkIssues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const WatchIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"WatchIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"watchIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const UnwatchIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UnwatchIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unwatchIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const SetIssueReleaseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetIssueRelease"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setIssueRelease"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"releaseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const IssueCommentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IssueComments"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"comments"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentFields"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"replyTo"}},{"kind":"Field","name":{"kind":"Name","value":"deleted"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedAt"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const AddCommentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddComment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"body"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"replyTo"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addComment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"body"},"value":{"kind":"Variable","name":{"kind":"Name","value":"body"}}},{"kind":"Argument","name":{"kind":"Name","value":"replyTo"},"value":{"kind":"Variable","name":{"kind":"Name","value":"replyTo"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const EditCommentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EditComment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"commentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"body"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"editComment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"commentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"commentId"}}},{"kind":"Argument","name":{"kind":"Name","value":"body"},"value":{"kind":"Variable","name":{"kind":"Name","value":"body"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const DeleteCommentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteComment"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"commentId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteComment"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"commentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"commentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const MyIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MyIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"assignedToMe"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"watching"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"categories"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"StatusCategory"}}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"myIssues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"assignedToMe"},"value":{"kind":"Variable","name":{"kind":"Name","value":"assignedToMe"}}},{"kind":"Argument","name":{"kind":"Name","value":"watching"},"value":{"kind":"Variable","name":{"kind":"Name","value":"watching"}}},{"kind":"Argument","name":{"kind":"Name","value":"categories"},"value":{"kind":"Variable","name":{"kind":"Name","value":"categories"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const IssueChildrenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"IssueChildren"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IssueFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const EpicsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Epics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"epics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"progress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"finished"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"finishedStoryPoints"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const SetIssueParentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetIssueParent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"parentId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setIssueParent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"parentId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"parentId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const AddChecklistItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddChecklistItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AddChecklistItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addChecklistItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const UpdateChecklistItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateChecklistItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateChecklistItemInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateChecklistItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const RemoveChecklistItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveChecklistItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeChecklistItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"itemId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"itemId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const BacklogDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Backlog"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IssueFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const RankIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RankIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RankIssueInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"rankIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const BulkUpdateIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"BulkUpdateIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"BulkUpdateIssuesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bulkUpdateIssues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updated"}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]}}]} as unknown as DocumentNode; +export const TrashIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TrashIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trashIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const RestoreIssueDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RestoreIssue"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"restoreIssue"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const TrashDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Trash"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trash"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const DueIssuesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"DueIssues"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"IssueFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issues"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"200"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const MyNotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MyNotifications"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"unreadOnly"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"myNotifications"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"unreadOnly"},"value":{"kind":"Variable","name":{"kind":"Name","value":"unreadOnly"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unread"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"projectKey"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"readAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const NotificationSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"NotificationSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationSettings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"emailAvailable"}}]}}]}}]} as unknown as DocumentNode; +export const MarkNotificationsReadDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MarkNotificationsRead"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"ids"}},"type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markNotificationsRead"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"ids"},"value":{"kind":"Variable","name":{"kind":"Name","value":"ids"}}}]}]}}]} as unknown as DocumentNode; +export const UpdateNotificationSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateNotificationSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"email"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateNotificationSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"email"},"value":{"kind":"Variable","name":{"kind":"Name","value":"email"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"emailAvailable"}}]}}]}}]} as unknown as DocumentNode; +export const NotificationAddedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"NotificationAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"kind"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"projectKey"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"readAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const MyProjectsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"MyProjects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"myProjects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Project"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ProjectStatsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectStats"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"stats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"open"}},{"kind":"Field","name":{"kind":"Name","value":"byStatus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"byType"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"byPriority"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"byArea"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"byAssignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const CreateProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateProjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createProject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const AddProjectMemberDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"AddProjectMember"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectMemberInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"addProjectMember"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ChangeProjectMemberRoleDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ChangeProjectMemberRole"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectMemberInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"changeProjectMemberRole"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const RemoveProjectMemberDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveProjectMember"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"userId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeProjectMember"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"userId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"userId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const SearchUsersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SearchUsers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"search"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"users"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"search"},"value":{"kind":"Variable","name":{"kind":"Name","value":"search"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"20"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"email"}}]}}]}}]} as unknown as DocumentNode; +export const UpdateProjectSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProjectSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"settings"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectSettingsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProjectSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"settings"},"value":{"kind":"Variable","name":{"kind":"Name","value":"settings"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ProjectAnalyticsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectAnalytics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"days"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"analytics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"days"},"value":{"kind":"Variable","name":{"kind":"Name","value":"days"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}},{"kind":"Field","name":{"kind":"Name","value":"createdVsResolved"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"week"}},{"kind":"Field","name":{"kind":"Name","value":"created"}},{"kind":"Field","name":{"kind":"Name","value":"resolved"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeFlow"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"dates"}},{"kind":"Field","name":{"kind":"Name","value":"series"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"counts"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cycleTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"averageDays"}},{"kind":"Field","name":{"kind":"Name","value":"p85Days"}}]}},{"kind":"Field","name":{"kind":"Name","value":"leadTime"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"averageDays"}},{"kind":"Field","name":{"kind":"Name","value":"p85Days"}}]}},{"kind":"Field","name":{"kind":"Name","value":"throughput"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"week"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"qa"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"passed"}},{"kind":"Field","name":{"kind":"Name","value":"failed"}},{"kind":"Field","name":{"kind":"Name","value":"failureRate"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]} as unknown as DocumentNode; +export const PublicProjectsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"PublicProjects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publicProjects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}}]} as unknown as DocumentNode; +export const UpdateProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateProjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateProject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const DeleteProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"confirmKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteProject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"confirmKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"confirmKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ReleasesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Releases"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"idOrKey"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idOrKey"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"releases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReleaseFields"}},{"kind":"Field","name":{"kind":"Name","value":"progress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"finished"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReleaseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Release"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"targetDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"releasedAt"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}}]}}]} as unknown as DocumentNode; +export const CreateReleaseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateRelease"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateReleaseInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createRelease"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const PublishReleaseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PublishRelease"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"force"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publishRelease"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"releaseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}}},{"kind":"Argument","name":{"kind":"Name","value":"force"},"value":{"kind":"Variable","name":{"kind":"Name","value":"force"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ArchiveReleaseDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveRelease"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveRelease"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"releaseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const ActivityDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Activity"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activity"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}},{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"100"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ActivityFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ActivityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Activity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const UpcomingReleasesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"UpcomingReleases"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"upcomingReleases"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReleaseFields"}},{"kind":"Field","name":{"kind":"Name","value":"progress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"finished"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReleaseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Release"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"targetDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"releasedAt"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}}]}}]} as unknown as DocumentNode; +export const ReleaseBurnupDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReleaseBurnup"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"release"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"burnup"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"releaseId"}},{"kind":"Field","name":{"kind":"Name","value":"targetDate"}},{"kind":"Field","name":{"kind":"Name","value":"dates"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"done"}}]}}]}}]}}]} as unknown as DocumentNode; +export const ReleaseNotesDraftDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ReleaseNotesDraft"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"release"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"notesDraft"}}]}}]}}]} as unknown as DocumentNode; +export const WriteReleaseNotesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"WriteReleaseNotes"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"notes"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"writeReleaseNotes"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"releaseId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"releaseId"}}},{"kind":"Argument","name":{"kind":"Name","value":"notes"},"value":{"kind":"Variable","name":{"kind":"Name","value":"notes"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const SavedFiltersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SavedFilters"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"savedFilters"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SavedFilterFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SavedFilterFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"SavedFilter"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"shared"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"criteria"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"types"}},{"kind":"Field","name":{"kind":"Name","value":"areas"}},{"kind":"Field","name":{"kind":"Name","value":"priorities"}},{"kind":"Field","name":{"kind":"Name","value":"assigneeId"}},{"kind":"Field","name":{"kind":"Name","value":"unassigned"}},{"kind":"Field","name":{"kind":"Name","value":"releaseId"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"search"}}]}}]}}]} as unknown as DocumentNode; +export const SaveFilterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SaveFilter"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SaveFilterInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"saveFilter"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode; +export const DeleteSavedFilterDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSavedFilter"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteSavedFilter"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}]}]}}]} as unknown as DocumentNode; +export const SprintsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Sprints"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sprints"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"SprintFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SprintFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Sprint"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"goal"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"endDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"closedAt"}},{"kind":"Field","name":{"kind":"Name","value":"progress"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"finished"}},{"kind":"Field","name":{"kind":"Name","value":"percent"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"finishedStoryPoints"}}]}}]}}]} as unknown as DocumentNode; +export const SprintBurndownDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"SprintBurndown"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"burndown"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sprintId"}},{"kind":"Field","name":{"kind":"Name","value":"dates"}},{"kind":"Field","name":{"kind":"Name","value":"scope"}},{"kind":"Field","name":{"kind":"Name","value":"remaining"}},{"kind":"Field","name":{"kind":"Name","value":"remainingPoints"}},{"kind":"Field","name":{"kind":"Name","value":"ideal"}}]}}]}}]}}]} as unknown as DocumentNode; +export const CreateSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateSprintInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const UpdateSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateSprintInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const StartSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"StartSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"startSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const CloseSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CloseSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"carryOverToSprintId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"closeSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}}},{"kind":"Argument","name":{"kind":"Name","value":"carryOverToSprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"carryOverToSprintId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const DeleteSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"sprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const SetIssueSprintDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SetIssueSprint"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setIssueSprint"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}},{"kind":"Argument","name":{"kind":"Name","value":"sprintId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sprintId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommandResultFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommandResultFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CommandResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"version"}}]}}]} as unknown as DocumentNode; +export const SprintChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"SprintChanged"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sprintChanged"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"sprintId"}}]}}]}}]} as unknown as DocumentNode; +export const IssueChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"IssueChanged"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"issueChanged"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"actorId"}},{"kind":"Field","name":{"kind":"Name","value":"issue"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"IssueSummaryFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"IssueSummaryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Issue"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"area"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusCategory"}},{"kind":"Field","name":{"kind":"Name","value":"priority"}},{"kind":"Field","name":{"kind":"Name","value":"labels"}},{"kind":"Field","name":{"kind":"Name","value":"commentCount"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"assignee"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sprint"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"title"}}]}},{"kind":"Field","name":{"kind":"Name","value":"rank"}},{"kind":"Field","name":{"kind":"Name","value":"storyPoints"}},{"kind":"Field","name":{"kind":"Name","value":"startDate"}},{"kind":"Field","name":{"kind":"Name","value":"dueDate"}},{"kind":"Field","name":{"kind":"Name","value":"trashedAt"}}]}}]} as unknown as DocumentNode; +export const CommentChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"CommentChanged"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"commentChanged"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"issueId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"issueId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"commentId"}},{"kind":"Field","name":{"kind":"Name","value":"comment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"CommentFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"CommentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Comment"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"body"}},{"kind":"Field","name":{"kind":"Name","value":"replyTo"}},{"kind":"Field","name":{"kind":"Name","value":"deleted"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"editedAt"}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const ActivityAddedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ActivityAdded"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activityAdded"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ActivityFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ActivityFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Activity"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"issueId"}},{"kind":"Field","name":{"kind":"Name","value":"issueKey"}},{"kind":"Field","name":{"kind":"Name","value":"summary"}},{"kind":"Field","name":{"kind":"Name","value":"occurredAt"}},{"kind":"Field","name":{"kind":"Name","value":"actor"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}}]} as unknown as DocumentNode; +export const ReleaseChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ReleaseChanged"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"releaseChanged"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"release"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ReleaseFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ReleaseFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Release"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projectId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"targetDate"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"releasedAt"}},{"kind":"Field","name":{"kind":"Name","value":"notes"}}]}}]} as unknown as DocumentNode; +export const ProjectChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ProjectChanged"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectChanged"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}}]} as unknown as DocumentNode; +export const MyProjectsChangedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"MyProjectsChanged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"myProjectsChanged"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectFields"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isPublic"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"members"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"statuses"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"category"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"requiresReason"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"wipLimit"}}]}},{"kind":"Field","name":{"kind":"Name","value":"transitions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"from"}},{"kind":"Field","name":{"kind":"Name","value":"to"}}]}},{"kind":"Field","name":{"kind":"Name","value":"issueTypes"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}},{"kind":"Field","name":{"kind":"Name","value":"template"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"checklist"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"areas"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"archived"}}]}}]}}]}}]} as unknown as DocumentNode; +export const WebhooksDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Webhooks"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"webhooks"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookDeliveryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WebhookDelivery"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"at"}},{"kind":"Field","name":{"kind":"Name","value":"event"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Webhook"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"events"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastDelivery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookDeliveryFields"}}]}}]}}]} as unknown as DocumentNode; +export const WebhookEventsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"WebhookEvents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"webhookEvents"}}]}}]} as unknown as DocumentNode; +export const CreateWebhookDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateWebhook"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateWebhookInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createWebhook"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"secret"}}]}}]}}]} as unknown as DocumentNode; +export const UpdateWebhookDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateWebhook"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateWebhookInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateWebhook"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"UserRefFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserRef"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookDeliveryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WebhookDelivery"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"at"}},{"kind":"Field","name":{"kind":"Name","value":"event"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Webhook"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"events"}},{"kind":"Field","name":{"kind":"Name","value":"active"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"createdBy"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"UserRefFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"lastDelivery"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookDeliveryFields"}}]}}]}}]} as unknown as DocumentNode; +export const DeleteWebhookDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteWebhook"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"webhookId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteWebhook"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"webhookId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"webhookId"}}}]}]}}]} as unknown as DocumentNode; +export const TestWebhookDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TestWebhook"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"webhookId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"testWebhook"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"webhookId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"webhookId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WebhookDeliveryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WebhookDeliveryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"WebhookDelivery"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"at"}},{"kind":"Field","name":{"kind":"Name","value":"event"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"ok"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]} as unknown as DocumentNode; \ No newline at end of file diff --git a/libs/web/tracker/infrastructure/src/lib/graphql/issues.graphql b/libs/web/tracker/infrastructure/src/lib/graphql/issues.graphql index 11a17ba..042eeac 100644 --- a/libs/web/tracker/infrastructure/src/lib/graphql/issues.graphql +++ b/libs/web/tracker/infrastructure/src/lib/graphql/issues.graphql @@ -132,12 +132,14 @@ mutation DeleteComment($commentId: ID!) { query MyIssues( $assignedToMe: Boolean! + $watching: Boolean $categories: [StatusCategory!] $limit: Int! $search: String ) { myIssues( assignedToMe: $assignedToMe + watching: $watching categories: $categories limit: $limit search: $search diff --git a/libs/web/tracker/presenters/src/lib/pages/my-work.ts b/libs/web/tracker/presenters/src/lib/pages/my-work.ts index 52e1954..ef53cfd 100644 --- a/libs/web/tracker/presenters/src/lib/pages/my-work.ts +++ b/libs/web/tracker/presenters/src/lib/pages/my-work.ts @@ -33,7 +33,8 @@ const VISIBLE = 12; /** * "Mi trabajo" on the home page, across every project I belong to: my open - * tickets (QA failures first), tickets waiting for QA and upcoming releases. + * tickets (QA failures first), tickets waiting for QA, the open ones I follow + * and upcoming releases. * Reloads when the tab becomes visible again. */ @Component({ @@ -147,6 +148,39 @@ const VISIBLE = 12; +
+
+

Que sigo

+ {{ home.followingTotal() }} +
+ +
+