d2b0d35119
* feat(issues): add apply changes workflow for parameter updater * chore(issues): remove my wip comments * chore: conflicts on generated * chore: resolving conflicts * chore: new queries * chore: reverting * feat: refactor to dedicated IParametersBinding * feat(dui): disable apply changes button for resolved issues * fix(dui): assert workspaceId is non-null in issue query
36 lines
715 B
TypeScript
36 lines
715 B
TypeScript
import { graphql } from '~~/lib/common/generated/gql'
|
|
|
|
export const issuesListQuery = graphql(`
|
|
query IssuesList($projectId: String!) {
|
|
project(id: $projectId) {
|
|
id
|
|
issues {
|
|
totalCount
|
|
items {
|
|
...IssuesItem
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`)
|
|
|
|
export const issueResourceMetaSearchQuery = graphql(`
|
|
query IssueResourceMetaSearch(
|
|
$workspaceId: String!
|
|
$resourceType: ResourceMetaType!
|
|
$resourceId: String!
|
|
$projectId: String
|
|
$metaType: String
|
|
) {
|
|
resourceMetaSearch(
|
|
workspaceId: $workspaceId
|
|
resourceType: $resourceType
|
|
resourceId: $resourceId
|
|
projectId: $projectId
|
|
metaType: $metaType
|
|
) {
|
|
data
|
|
}
|
|
}
|
|
`)
|