195 lines
4.5 KiB
TypeScript
195 lines
4.5 KiB
TypeScript
/**
|
|
* @generated SignedSource<<502600204c0e5180095f00fe3372ea5a>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type TaskState = "DONE" | "TODO";
|
|
export type CreateTaskInput = {
|
|
controlId: string;
|
|
description: string;
|
|
name: string;
|
|
timeEstimate: any;
|
|
};
|
|
export type ControlOverviewPageCreateTaskMutation$variables = {
|
|
connections: ReadonlyArray<string>;
|
|
input: CreateTaskInput;
|
|
};
|
|
export type ControlOverviewPageCreateTaskMutation$data = {
|
|
readonly createTask: {
|
|
readonly taskEdge: {
|
|
readonly node: {
|
|
readonly description: string;
|
|
readonly id: string;
|
|
readonly name: string;
|
|
readonly state: TaskState;
|
|
readonly timeEstimate: any;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
export type ControlOverviewPageCreateTaskMutation = {
|
|
response: ControlOverviewPageCreateTaskMutation$data;
|
|
variables: ControlOverviewPageCreateTaskMutation$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = {
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "connections"
|
|
},
|
|
v1 = {
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "input"
|
|
},
|
|
v2 = [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "input",
|
|
"variableName": "input"
|
|
}
|
|
],
|
|
v3 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "TaskEdge",
|
|
"kind": "LinkedField",
|
|
"name": "taskEdge",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Task",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "description",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "timeEstimate",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "state",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": [
|
|
(v0/*: any*/),
|
|
(v1/*: any*/)
|
|
],
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "ControlOverviewPageCreateTaskMutation",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": (v2/*: any*/),
|
|
"concreteType": "CreateTaskPayload",
|
|
"kind": "LinkedField",
|
|
"name": "createTask",
|
|
"plural": false,
|
|
"selections": [
|
|
(v3/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"type": "Mutation",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": [
|
|
(v1/*: any*/),
|
|
(v0/*: any*/)
|
|
],
|
|
"kind": "Operation",
|
|
"name": "ControlOverviewPageCreateTaskMutation",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": (v2/*: any*/),
|
|
"concreteType": "CreateTaskPayload",
|
|
"kind": "LinkedField",
|
|
"name": "createTask",
|
|
"plural": false,
|
|
"selections": [
|
|
(v3/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"filters": null,
|
|
"handle": "prependEdge",
|
|
"key": "",
|
|
"kind": "LinkedHandle",
|
|
"name": "taskEdge",
|
|
"handleArgs": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "connections",
|
|
"variableName": "connections"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "ed1842681cbb14392603c1b73e82b6f9",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "ControlOverviewPageCreateTaskMutation",
|
|
"operationKind": "mutation",
|
|
"text": "mutation ControlOverviewPageCreateTaskMutation(\n $input: CreateTaskInput!\n) {\n createTask(input: $input) {\n taskEdge {\n node {\n id\n name\n description\n timeEstimate\n state\n }\n }\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "d2e06ccdb00312c0862187a18f374d23";
|
|
|
|
export default node;
|