217 lines
4.8 KiB
TypeScript
217 lines
4.8 KiB
TypeScript
/**
|
|
* @generated SignedSource<<5e4ec3cfaeb52bc478d496e37349880c>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type MainLayoutQuery$variables = {
|
|
organizationId: string;
|
|
};
|
|
export type MainLayoutQuery$data = {
|
|
readonly organization: {
|
|
readonly id?: string;
|
|
readonly logoUrl?: string | null | undefined;
|
|
readonly name?: string;
|
|
};
|
|
readonly viewer: {
|
|
readonly id: string;
|
|
readonly user: {
|
|
readonly email: any;
|
|
readonly fullName: string;
|
|
};
|
|
};
|
|
};
|
|
export type MainLayoutQuery = {
|
|
response: MainLayoutQuery$data;
|
|
variables: MainLayoutQuery$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "organizationId"
|
|
}
|
|
],
|
|
v1 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
v2 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "fullName",
|
|
"storageKey": null
|
|
},
|
|
v3 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "email",
|
|
"storageKey": null
|
|
},
|
|
v4 = [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "id",
|
|
"variableName": "organizationId"
|
|
}
|
|
],
|
|
v5 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
v6 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "logoUrl",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "MainLayoutQuery",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Viewer",
|
|
"kind": "LinkedField",
|
|
"name": "viewer",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "User",
|
|
"kind": "LinkedField",
|
|
"name": "user",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
(v3/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": "organization",
|
|
"args": (v4/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
(v5/*: any*/),
|
|
(v6/*: any*/)
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"type": "Query",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "MainLayoutQuery",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Viewer",
|
|
"kind": "LinkedField",
|
|
"name": "viewer",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "User",
|
|
"kind": "LinkedField",
|
|
"name": "user",
|
|
"plural": false,
|
|
"selections": [
|
|
(v2/*: any*/),
|
|
(v3/*: any*/),
|
|
(v1/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": "organization",
|
|
"args": (v4/*: any*/),
|
|
"concreteType": null,
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
},
|
|
(v1/*: any*/),
|
|
{
|
|
"kind": "InlineFragment",
|
|
"selections": [
|
|
(v5/*: any*/),
|
|
(v6/*: any*/)
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "ee5a60e709dee856df7d2fef13974c9f",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "MainLayoutQuery",
|
|
"operationKind": "query",
|
|
"text": "query MainLayoutQuery(\n $organizationId: ID!\n) {\n viewer {\n id\n user {\n fullName\n email\n id\n }\n }\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n name\n logoUrl\n }\n id\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "9ea3e5a91a2d2be0993e7deebafa11b0";
|
|
|
|
export default node;
|