AnnotationConfigTableFragment.graphql.ts•5.62 kB
/**
* @generated SignedSource<<f88c57b8b8e1f70d774c1b377d6fd85c>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ReaderFragment } from 'relay-runtime';
export type AnnotationType = "CATEGORICAL" | "CONTINUOUS" | "FREEFORM";
export type OptimizationDirection = "MAXIMIZE" | "MINIMIZE" | "NONE";
import { FragmentRefs } from "relay-runtime";
export type AnnotationConfigTableFragment$data = {
readonly annotationConfigs: {
readonly edges: ReadonlyArray<{
readonly annotationConfig: {
readonly annotationType?: AnnotationType;
readonly description?: string | null;
readonly id?: string;
readonly lowerBound?: number | null;
readonly name?: string;
readonly optimizationDirection?: OptimizationDirection;
readonly upperBound?: number | null;
readonly values?: ReadonlyArray<{
readonly label: string;
readonly score: number | null;
}>;
};
}>;
};
readonly " $fragmentType": "AnnotationConfigTableFragment";
};
export type AnnotationConfigTableFragment$key = {
readonly " $data"?: AnnotationConfigTableFragment$data;
readonly " $fragmentSpreads": FragmentRefs<"AnnotationConfigTableFragment">;
};
const node: ReaderFragment = (function(){
var v0 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
},
v1 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "name",
"storageKey": null
},
v2 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "description",
"storageKey": null
},
v3 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "annotationType",
"storageKey": null
},
v4 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "optimizationDirection",
"storageKey": null
};
return {
"argumentDefinitions": [],
"kind": "Fragment",
"metadata": null,
"name": "AnnotationConfigTableFragment",
"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": "annotationConfig",
"args": null,
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
{
"kind": "InlineFragment",
"selections": [
(v0/*: any*/),
(v1/*: any*/),
(v2/*: any*/),
(v3/*: any*/),
(v4/*: any*/),
{
"alias": null,
"args": null,
"concreteType": "CategoricalAnnotationValue",
"kind": "LinkedField",
"name": "values",
"plural": true,
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "label",
"storageKey": null
},
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "score",
"storageKey": null
}
],
"storageKey": null
}
],
"type": "CategoricalAnnotationConfig",
"abstractKey": null
},
{
"kind": "InlineFragment",
"selections": [
(v0/*: any*/),
(v1/*: any*/),
(v2/*: any*/),
(v3/*: any*/),
(v4/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "upperBound",
"storageKey": null
},
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "lowerBound",
"storageKey": null
}
],
"type": "ContinuousAnnotationConfig",
"abstractKey": null
},
{
"kind": "InlineFragment",
"selections": [
(v0/*: any*/),
(v1/*: any*/),
(v2/*: any*/),
(v3/*: any*/)
],
"type": "FreeformAnnotationConfig",
"abstractKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Query",
"abstractKey": null
};
})();
(node as any).hash = "21da6fc76dc125423a2f4ecd8ef70866";
export default node;