Signed-off-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
240 lines
5.8 KiB
TypeScript
240 lines
5.8 KiB
TypeScript
/**
|
|
* @generated SignedSource<<4b559d5e004d1657ab8d52cf5770ac79>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ReaderFragment } from 'relay-runtime';
|
|
export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED";
|
|
import { FragmentRefs } from "relay-runtime";
|
|
export type usePaginatedMeasuresFragment$data = {
|
|
readonly id: string;
|
|
readonly measures: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly category: string;
|
|
readonly description: string;
|
|
readonly id: string;
|
|
readonly name: string;
|
|
readonly state: MeasureState;
|
|
};
|
|
}>;
|
|
};
|
|
readonly " $fragmentType": "usePaginatedMeasuresFragment";
|
|
};
|
|
export type usePaginatedMeasuresFragment$key = {
|
|
readonly " $data"?: usePaginatedMeasuresFragment$data;
|
|
readonly " $fragmentSpreads": FragmentRefs<"usePaginatedMeasuresFragment">;
|
|
};
|
|
|
|
import usePaginatedMeasuresQuery_fragment_graphql from './usePaginatedMeasuresQuery_fragment.graphql';
|
|
|
|
const node: ReaderFragment = (function(){
|
|
var v0 = [
|
|
"measures"
|
|
],
|
|
v1 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"argumentDefinitions": [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "after"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "before"
|
|
},
|
|
{
|
|
"defaultValue": 20,
|
|
"kind": "LocalArgument",
|
|
"name": "first"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "last"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "order"
|
|
}
|
|
],
|
|
"kind": "Fragment",
|
|
"metadata": {
|
|
"connection": [
|
|
{
|
|
"count": null,
|
|
"cursor": null,
|
|
"direction": "bidirectional",
|
|
"path": (v0/*: any*/)
|
|
}
|
|
],
|
|
"refetch": {
|
|
"connection": {
|
|
"forward": {
|
|
"count": "first",
|
|
"cursor": "after"
|
|
},
|
|
"backward": {
|
|
"count": "last",
|
|
"cursor": "before"
|
|
},
|
|
"path": (v0/*: any*/)
|
|
},
|
|
"fragmentPathInResult": [
|
|
"node"
|
|
],
|
|
"operation": usePaginatedMeasuresQuery_fragment_graphql,
|
|
"identifierInfo": {
|
|
"identifierField": "id",
|
|
"identifierQueryVariableName": "id"
|
|
}
|
|
}
|
|
},
|
|
"name": "usePaginatedMeasuresFragment",
|
|
"selections": [
|
|
{
|
|
"alias": "measures",
|
|
"args": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "orderBy",
|
|
"variableName": "order"
|
|
}
|
|
],
|
|
"concreteType": "MeasureConnection",
|
|
"kind": "LinkedField",
|
|
"name": "__usePaginatedMeasuresQuery_measures_connection",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "MeasureEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Measure",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "state",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "description",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "category",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "cursor",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "PageInfo",
|
|
"kind": "LinkedField",
|
|
"name": "pageInfo",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "endCursor",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "hasNextPage",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "hasPreviousPage",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "startCursor",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
(v1/*: any*/)
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "7d9401a3b7aad78951093dcac34df06e";
|
|
|
|
export default node;
|