AnnotationSummaryValueQuery.graphql.ts•9.37 kB
/**
* @generated SignedSource<<3951fb0219aff790c47e90f6cf0f7dee>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type TimeRange = {
end?: string | null;
start?: string | null;
};
export type AnnotationSummaryValueQuery$variables = {
annotationName: string;
id: string;
timeRange: TimeRange;
};
export type AnnotationSummaryValueQuery$data = {
readonly node: {
readonly " $fragmentSpreads": FragmentRefs<"AnnotationSummaryValueFragment">;
};
};
export type AnnotationSummaryValueQuery = {
response: AnnotationSummaryValueQuery$data;
variables: AnnotationSummaryValueQuery$variables;
};
const node: ConcreteRequest = (function(){
var v0 = {
"defaultValue": null,
"kind": "LocalArgument",
"name": "annotationName"
},
v1 = {
"defaultValue": null,
"kind": "LocalArgument",
"name": "id"
},
v2 = {
"defaultValue": null,
"kind": "LocalArgument",
"name": "timeRange"
},
v3 = [
{
"kind": "Variable",
"name": "id",
"variableName": "id"
}
],
v4 = [
{
"kind": "Variable",
"name": "annotationName",
"variableName": "annotationName"
},
{
"kind": "Variable",
"name": "timeRange",
"variableName": "timeRange"
}
],
v5 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "__typename",
"storageKey": null
},
v6 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
},
v7 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "annotationType",
"storageKey": null
},
v8 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "name",
"storageKey": null
},
v9 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "label",
"storageKey": null
};
return {
"fragment": {
"argumentDefinitions": [
(v0/*: any*/),
(v1/*: any*/),
(v2/*: any*/)
],
"kind": "Fragment",
"metadata": null,
"name": "AnnotationSummaryValueQuery",
"selections": [
{
"alias": null,
"args": (v3/*: any*/),
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
{
"args": (v4/*: any*/),
"kind": "FragmentSpread",
"name": "AnnotationSummaryValueFragment"
}
],
"storageKey": null
}
],
"type": "Query",
"abstractKey": null
},
"kind": "Request",
"operation": {
"argumentDefinitions": [
(v0/*: any*/),
(v2/*: any*/),
(v1/*: any*/)
],
"kind": "Operation",
"name": "AnnotationSummaryValueQuery",
"selections": [
{
"alias": null,
"args": (v3/*: any*/),
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
(v5/*: any*/),
(v6/*: any*/),
{
"kind": "InlineFragment",
"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": [
(v5/*: any*/),
{
"kind": "InlineFragment",
"selections": [
(v7/*: any*/)
],
"type": "AnnotationConfigBase",
"abstractKey": "__isAnnotationConfigBase"
},
{
"kind": "InlineFragment",
"selections": [
(v7/*: any*/),
(v6/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "optimizationDirection",
"storageKey": null
},
(v8/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "CategoricalAnnotationValue",
"kind": "LinkedField",
"name": "values",
"plural": true,
"selections": [
(v9/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "score",
"storageKey": null
}
],
"storageKey": null
}
],
"type": "CategoricalAnnotationConfig",
"abstractKey": null
},
{
"kind": "InlineFragment",
"selections": [
(v6/*: any*/)
],
"type": "Node",
"abstractKey": "__isNode"
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
},
{
"alias": null,
"args": (v4/*: any*/),
"concreteType": "AnnotationSummary",
"kind": "LinkedField",
"name": "spanAnnotationSummary",
"plural": false,
"selections": [
(v8/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "LabelFraction",
"kind": "LinkedField",
"name": "labelFractions",
"plural": true,
"selections": [
(v9/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "fraction",
"storageKey": null
}
],
"storageKey": null
},
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "meanScore",
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Project",
"abstractKey": null
}
],
"storageKey": null
}
]
},
"params": {
"cacheID": "c867c2c9c74b0c472ca6763b8fc50752",
"id": null,
"metadata": {},
"name": "AnnotationSummaryValueQuery",
"operationKind": "query",
"text": "query AnnotationSummaryValueQuery(\n $annotationName: String!\n $timeRange: TimeRange!\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...AnnotationSummaryValueFragment_4BTVrq\n id\n }\n}\n\nfragment AnnotationSummaryValueFragment_4BTVrq on Project {\n annotationConfigs {\n edges {\n node {\n __typename\n ... on AnnotationConfigBase {\n __isAnnotationConfigBase: __typename\n annotationType\n }\n ... on CategoricalAnnotationConfig {\n annotationType\n id\n optimizationDirection\n name\n values {\n label\n score\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n }\n }\n spanAnnotationSummary(annotationName: $annotationName, timeRange: $timeRange) {\n name\n labelFractions {\n label\n fraction\n }\n meanScore\n }\n id\n}\n"
}
};
})();
(node as any).hash = "5d114f6c3ea85467bd6c915907c07d87";
export default node;