268 lines
6.5 KiB
TypeScript
268 lines
6.5 KiB
TypeScript
/**
|
|
* @generated SignedSource<<b005acefd80f6091d29b4e095f4d271c>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type ControlOverviewPageOrganizationQuery$variables = {
|
|
organizationId: string;
|
|
};
|
|
export type ControlOverviewPageOrganizationQuery$data = {
|
|
readonly organization: {
|
|
readonly id: string;
|
|
readonly peoples?: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly fullName: string;
|
|
readonly id: string;
|
|
readonly primaryEmailAddress: string;
|
|
};
|
|
}>;
|
|
};
|
|
};
|
|
};
|
|
export type ControlOverviewPageOrganizationQuery = {
|
|
response: ControlOverviewPageOrganizationQuery$data;
|
|
variables: ControlOverviewPageOrganizationQuery$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "organizationId"
|
|
}
|
|
],
|
|
v1 = [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "id",
|
|
"variableName": "organizationId"
|
|
}
|
|
],
|
|
v2 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
v3 = {
|
|
"kind": "Literal",
|
|
"name": "orderBy",
|
|
"value": {
|
|
"direction": "ASC",
|
|
"field": "FULL_NAME"
|
|
}
|
|
},
|
|
v4 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
},
|
|
v5 = [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "PeopleEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "People",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "fullName",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "primaryEmailAddress",
|
|
"storageKey": null
|
|
},
|
|
(v4/*: any*/)
|
|
],
|
|
"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
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
v6 = [
|
|
{
|
|
"kind": "Literal",
|
|
"name": "first",
|
|
"value": 100
|
|
},
|
|
(v3/*: any*/)
|
|
];
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "ControlOverviewPageOrganizationQuery",
|
|
"selections": [
|
|
{
|
|
"alias": "organization",
|
|
"args": (v1/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
{
|
|
"alias": "peoples",
|
|
"args": [
|
|
(v3/*: any*/)
|
|
],
|
|
"concreteType": "PeopleConnection",
|
|
"kind": "LinkedField",
|
|
"name": "__ControlOverviewPage_peoples_connection",
|
|
"plural": false,
|
|
"selections": (v5/*: any*/),
|
|
"storageKey": "__ControlOverviewPage_peoples_connection(orderBy:{\"direction\":\"ASC\",\"field\":\"FULL_NAME\"})"
|
|
}
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"type": "Query",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "ControlOverviewPageOrganizationQuery",
|
|
"selections": [
|
|
{
|
|
"alias": "organization",
|
|
"args": (v1/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v4/*: any*/),
|
|
(v2/*: any*/),
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"concreteType": "PeopleConnection",
|
|
"kind": "LinkedField",
|
|
"name": "peoples",
|
|
"plural": false,
|
|
"selections": (v5/*: any*/),
|
|
"storageKey": "peoples(first:100,orderBy:{\"direction\":\"ASC\",\"field\":\"FULL_NAME\"})"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": (v6/*: any*/),
|
|
"filters": [
|
|
"orderBy"
|
|
],
|
|
"handle": "connection",
|
|
"key": "ControlOverviewPage_peoples",
|
|
"kind": "LinkedHandle",
|
|
"name": "peoples"
|
|
}
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "b92e9c3fbb4dcdb62652d4f9dd9f3712",
|
|
"id": null,
|
|
"metadata": {
|
|
"connection": [
|
|
{
|
|
"count": null,
|
|
"cursor": null,
|
|
"direction": "forward",
|
|
"path": [
|
|
"organization",
|
|
"peoples"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"name": "ControlOverviewPageOrganizationQuery",
|
|
"operationKind": "query",
|
|
"text": "query ControlOverviewPageOrganizationQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n peoples(first: 100, orderBy: {direction: ASC, field: FULL_NAME}) {\n edges {\n node {\n id\n fullName\n primaryEmailAddress\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "215186695662d7c8344e35b1f053ee5f";
|
|
|
|
export default node;
|