154 lines
3.9 KiB
TypeScript
154 lines
3.9 KiB
TypeScript
/**
|
|
* @generated SignedSource<<18d62863109c347d5fcf7b5701a9c57b>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT";
|
|
export type UpdatePeopleInput = {
|
|
additionalEmailAddresses?: ReadonlyArray<string> | null | undefined;
|
|
contractEndDate?: any | null | undefined;
|
|
contractStartDate?: any | null | undefined;
|
|
fullName?: string | null | undefined;
|
|
id: string;
|
|
kind?: PeopleKind | null | undefined;
|
|
position?: string | null | undefined;
|
|
primaryEmailAddress?: string | null | undefined;
|
|
};
|
|
export type PeopleGraphUpdateMutation$variables = {
|
|
input: UpdatePeopleInput;
|
|
};
|
|
export type PeopleGraphUpdateMutation$data = {
|
|
readonly updatePeople: {
|
|
readonly people: {
|
|
readonly additionalEmailAddresses: ReadonlyArray<string>;
|
|
readonly fullName: string;
|
|
readonly id: string;
|
|
readonly kind: PeopleKind;
|
|
readonly position: string | null | undefined;
|
|
readonly primaryEmailAddress: string;
|
|
};
|
|
};
|
|
};
|
|
export type PeopleGraphUpdateMutation = {
|
|
response: PeopleGraphUpdateMutation$data;
|
|
variables: PeopleGraphUpdateMutation$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "input"
|
|
}
|
|
],
|
|
v1 = [
|
|
{
|
|
"alias": null,
|
|
"args": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "input",
|
|
"variableName": "input"
|
|
}
|
|
],
|
|
"concreteType": "UpdatePeoplePayload",
|
|
"kind": "LinkedField",
|
|
"name": "updatePeople",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "People",
|
|
"kind": "LinkedField",
|
|
"name": "people",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "fullName",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "primaryEmailAddress",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "position",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "kind",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "additionalEmailAddresses",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
];
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "PeopleGraphUpdateMutation",
|
|
"selections": (v1/*: any*/),
|
|
"type": "Mutation",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "PeopleGraphUpdateMutation",
|
|
"selections": (v1/*: any*/)
|
|
},
|
|
"params": {
|
|
"cacheID": "814551d1fb24548c41d417342625071f",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "PeopleGraphUpdateMutation",
|
|
"operationKind": "mutation",
|
|
"text": "mutation PeopleGraphUpdateMutation(\n $input: UpdatePeopleInput!\n) {\n updatePeople(input: $input) {\n people {\n id\n fullName\n primaryEmailAddress\n position\n kind\n additionalEmailAddresses\n }\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "ecc5666046434d5c8e80eaab0e508c11";
|
|
|
|
export default node;
|