ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation.graphql.ts•7.09 kB
/**
* @generated SignedSource<<63f1c8a9a32bfe128e1a06f284b55fbd>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation$variables = {
annotationConfigId: string;
projectId: string;
};
export type ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation$data = {
readonly removeAnnotationConfigFromProject: {
readonly project: {
readonly " $fragmentSpreads": FragmentRefs<"ProjectAnnotationConfigCardContent_project_annotations">;
};
};
};
export type ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation = {
response: ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation$data;
variables: ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation$variables;
};
const node: ConcreteRequest = (function(){
var v0 = {
"defaultValue": null,
"kind": "LocalArgument",
"name": "annotationConfigId"
},
v1 = {
"defaultValue": null,
"kind": "LocalArgument",
"name": "projectId"
},
v2 = [
{
"fields": [
{
"kind": "Variable",
"name": "annotationConfigId",
"variableName": "annotationConfigId"
},
{
"kind": "Variable",
"name": "projectId",
"variableName": "projectId"
}
],
"kind": "ObjectValue",
"name": "input"
}
],
v3 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
};
return {
"fragment": {
"argumentDefinitions": [
(v0/*: any*/),
(v1/*: any*/)
],
"kind": "Fragment",
"metadata": null,
"name": "ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation",
"selections": [
{
"alias": null,
"args": (v2/*: any*/),
"concreteType": "RemoveAnnotationConfigFromProjectPayload",
"kind": "LinkedField",
"name": "removeAnnotationConfigFromProject",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "Project",
"kind": "LinkedField",
"name": "project",
"plural": false,
"selections": [
{
"args": null,
"kind": "FragmentSpread",
"name": "ProjectAnnotationConfigCardContent_project_annotations"
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Mutation",
"abstractKey": null
},
"kind": "Request",
"operation": {
"argumentDefinitions": [
(v1/*: any*/),
(v0/*: any*/)
],
"kind": "Operation",
"name": "ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation",
"selections": [
{
"alias": null,
"args": (v2/*: any*/),
"concreteType": "RemoveAnnotationConfigFromProjectPayload",
"kind": "LinkedField",
"name": "removeAnnotationConfigFromProject",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "Project",
"kind": "LinkedField",
"name": "project",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "AnnotationConfigConnection",
"kind": "LinkedField",
"name": "annotationConfigs",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "AnnotationConfigEdge",
"kind": "LinkedField",
"name": "edges",
"plural": true,
"selections": [
{
"alias": null,
"args": null,
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "__typename",
"storageKey": null
},
{
"kind": "InlineFragment",
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "name",
"storageKey": null
}
],
"type": "AnnotationConfigBase",
"abstractKey": "__isAnnotationConfigBase"
},
{
"kind": "InlineFragment",
"selections": [
(v3/*: any*/)
],
"type": "Node",
"abstractKey": "__isNode"
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
},
(v3/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
}
]
},
"params": {
"cacheID": "e4d29747630390022d08f376ad4c9d58",
"id": null,
"metadata": {},
"name": "ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation",
"operationKind": "mutation",
"text": "mutation ProjectAnnotationConfigCardContentRemoveAnnotationConfigFromProjectMutation(\n $projectId: ID!\n $annotationConfigId: ID!\n) {\n removeAnnotationConfigFromProject(input: {projectId: $projectId, annotationConfigId: $annotationConfigId}) {\n project {\n ...ProjectAnnotationConfigCardContent_project_annotations\n id\n }\n }\n}\n\nfragment ProjectAnnotationConfigCardContent_project_annotations on Project {\n annotationConfigs {\n edges {\n node {\n __typename\n ... on AnnotationConfigBase {\n __isAnnotationConfigBase: __typename\n name\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n id\n}\n"
}
};
})();
(node as any).hash = "26b991be7525781487a7a64abcbf7e50";
export default node;