/**
* @generated SignedSource<<1bc759929fa2ba409a0e512546a012ed>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
export type AnnotatorKind = "CODE" | "HUMAN" | "LLM";
export type DeleteAnnotationsInput = {
annotationIds: ReadonlyArray<string>;
};
export type DocumentAnnotationActionMenuDeleteMutation$variables = {
input: DeleteAnnotationsInput;
spanId: string;
};
export type DocumentAnnotationActionMenuDeleteMutation$data = {
readonly deleteDocumentAnnotations: {
readonly query: {
readonly node: {
readonly documentEvaluations?: ReadonlyArray<{
readonly annotatorKind: AnnotatorKind;
readonly createdAt: string;
readonly documentPosition: number;
readonly explanation: string | null;
readonly id: string;
readonly label: string | null;
readonly name: string;
readonly score: number | null;
readonly updatedAt: string;
readonly user: {
readonly profilePictureUrl: string | null;
readonly username: string;
} | null;
}>;
};
};
};
};
export type DocumentAnnotationActionMenuDeleteMutation = {
response: DocumentAnnotationActionMenuDeleteMutation$data;
variables: DocumentAnnotationActionMenuDeleteMutation$variables;
};
const node: ConcreteRequest = (function(){
var v0 = [
{
"defaultValue": null,
"kind": "LocalArgument",
"name": "input"
},
{
"defaultValue": null,
"kind": "LocalArgument",
"name": "spanId"
}
],
v1 = [
{
"kind": "Variable",
"name": "input",
"variableName": "input"
}
],
v2 = [
{
"kind": "Variable",
"name": "id",
"variableName": "spanId"
}
],
v3 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
},
v4 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "annotatorKind",
"storageKey": null
},
v5 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "documentPosition",
"storageKey": null
},
v6 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "name",
"storageKey": null
},
v7 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "label",
"storageKey": null
},
v8 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "score",
"storageKey": null
},
v9 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "explanation",
"storageKey": null
},
v10 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "createdAt",
"storageKey": null
},
v11 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "updatedAt",
"storageKey": null
},
v12 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "username",
"storageKey": null
},
v13 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "profilePictureUrl",
"storageKey": null
};
return {
"fragment": {
"argumentDefinitions": (v0/*: any*/),
"kind": "Fragment",
"metadata": null,
"name": "DocumentAnnotationActionMenuDeleteMutation",
"selections": [
{
"alias": null,
"args": (v1/*: any*/),
"concreteType": "DocumentAnnotationMutationPayload",
"kind": "LinkedField",
"name": "deleteDocumentAnnotations",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "Query",
"kind": "LinkedField",
"name": "query",
"plural": false,
"selections": [
{
"alias": null,
"args": (v2/*: any*/),
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
{
"kind": "InlineFragment",
"selections": [
{
"alias": null,
"args": null,
"concreteType": "DocumentAnnotation",
"kind": "LinkedField",
"name": "documentEvaluations",
"plural": true,
"selections": [
(v3/*: any*/),
(v4/*: any*/),
(v5/*: any*/),
(v6/*: any*/),
(v7/*: any*/),
(v8/*: any*/),
(v9/*: any*/),
(v10/*: any*/),
(v11/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "User",
"kind": "LinkedField",
"name": "user",
"plural": false,
"selections": [
(v12/*: any*/),
(v13/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Span",
"abstractKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Mutation",
"abstractKey": null
},
"kind": "Request",
"operation": {
"argumentDefinitions": (v0/*: any*/),
"kind": "Operation",
"name": "DocumentAnnotationActionMenuDeleteMutation",
"selections": [
{
"alias": null,
"args": (v1/*: any*/),
"concreteType": "DocumentAnnotationMutationPayload",
"kind": "LinkedField",
"name": "deleteDocumentAnnotations",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "Query",
"kind": "LinkedField",
"name": "query",
"plural": false,
"selections": [
{
"alias": null,
"args": (v2/*: any*/),
"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,
"concreteType": "DocumentAnnotation",
"kind": "LinkedField",
"name": "documentEvaluations",
"plural": true,
"selections": [
(v3/*: any*/),
(v4/*: any*/),
(v5/*: any*/),
(v6/*: any*/),
(v7/*: any*/),
(v8/*: any*/),
(v9/*: any*/),
(v10/*: any*/),
(v11/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "User",
"kind": "LinkedField",
"name": "user",
"plural": false,
"selections": [
(v12/*: any*/),
(v13/*: any*/),
(v3/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Span",
"abstractKey": null
},
(v3/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
]
},
"params": {
"cacheID": "4896fc68448c7c2b65d42b64ec91ce55",
"id": null,
"metadata": {},
"name": "DocumentAnnotationActionMenuDeleteMutation",
"operationKind": "mutation",
"text": "mutation DocumentAnnotationActionMenuDeleteMutation(\n $input: DeleteAnnotationsInput!\n $spanId: ID!\n) {\n deleteDocumentAnnotations(input: $input) {\n query {\n node(id: $spanId) {\n __typename\n ... on Span {\n documentEvaluations {\n id\n annotatorKind\n documentPosition\n name\n label\n score\n explanation\n createdAt\n updatedAt\n user {\n username\n profilePictureUrl\n id\n }\n }\n }\n id\n }\n }\n }\n}\n"
}
};
})();
(node as any).hash = "c214436a9781a7b964ae3c072b9835b0";
export default node;