1
1
{
2
2
"key" : " graphiql" ,
3
- "lastId" : 2 ,
4
- "tabIds" : [
5
- " tab1" ,
6
- " tab2"
7
- ],
3
+ "lastId" : 3 ,
4
+ "tabIds" : [" tab1" , " tab2" , " tab3" ],
8
5
"closedTabs" : [],
9
6
"defaultUrl" : " http://localhost:4000/playground" ,
10
7
"defaultWebsocketUrl" : " " ,
11
8
"defaultQuery" : " " ,
12
9
"defaultVariables" : " " ,
13
10
"defaultProxy" : false ,
14
11
"defaultHeaders" : [],
15
- "usedUrls" : [
16
- " http://localhost:4000/playground"
17
- ],
12
+ "usedUrls" : [" http://localhost:4000/playground" ],
18
13
"recentHeaders" : [],
19
14
"maxTabHistory" : 20 ,
20
15
"maxUrlHistory" : 20 ,
21
16
"maxHistory" : 20 ,
22
17
"savedQueries" : [],
23
- "activeId" : " tab2 " ,
18
+ "activeId" : " tab3 " ,
24
19
"tabs" : [
25
20
{
26
21
"id" : " tab1" ,
31
26
"headers" : [],
32
27
"collapsed" : false ,
33
28
"maxHistory" : 20 ,
34
- "history" : [],
29
+ "history" : [
30
+ {
31
+ "query" : " query Search($term: String!) {\n search(matching: $term) {\n ...MenuItemFields\n ...CategoryFields\n }\n }\n\n fragment MenuItemFields on MenuItem {\n name\n price\n description\n }\n\n fragment CategoryFields on Category {\n name\n items {\n ...MenuItemFields\n }\n }" ,
32
+ "variables" : {
33
+ "term" : " s"
34
+ }
35
+ }
36
+ ],
35
37
"graphiql:query" : " query Search($term: String!) {\n search(matching: $term) {\n ...MenuItemFields\n ...CategoryFields\n }\n }\n\n fragment MenuItemFields on MenuItem {\n name\n price\n description\n }\n\n fragment CategoryFields on Category {\n name\n items {\n ...MenuItemFields\n }\n }" ,
36
38
"graphiql:variables" : " {\n \" term\" : \" s\"\n }" ,
37
- "graphiql:operationName" : " Search" ,
38
- "graphiql:editorFlex" : 1 ,
39
+ "graphiql:docExplorerWidth" : 350 ,
39
40
"graphiql:variableEditorHeight" : 200 ,
40
- "graphiql:docExplorerWidth" : 350
41
+ "graphiql:editorFlex" : 1 ,
42
+ "graphiql:operationName" : " Search" ,
43
+ "graphiql:queries" : " {\" queries\" :[{\" query\" :\" query Search($term: String!) {\\ n search(matching: $term) {\\ n ...MenuItemFields\\ n ...CategoryFields\\ n }\\ n}\\ n\\ nfragment MenuItemFields on MenuItem {\\ n name\\ n price\\ n description\\ n}\\ n\\ nfragment CategoryFields on Category {\\ n name\\ n items {\\ n ...MenuItemFields\\ n }\\ n}\" ,\" variables\" :\" {\\ n \\\" term\\\" : \\\" s\\\"\\ n}\" ,\" operationName\" :\" Search\" }]}"
41
44
},
42
45
{
43
46
"id" : " tab2" ,
65
68
"graphiql:editorFlex" : 1 ,
66
69
"graphiql:variableEditorHeight" : 200 ,
67
70
"graphiql:docExplorerWidth" : 350
71
+ },
72
+ {
73
+ "id" : " tab3" ,
74
+ "name" : " Add menu item" ,
75
+ "url" : " http://localhost:4000/playground" ,
76
+ "websocketUrl" : " " ,
77
+ "proxy" : false ,
78
+ "headers" : [],
79
+ "collapsed" : false ,
80
+ "maxHistory" : 20 ,
81
+ "history" : [
82
+ {
83
+ "query" : " mutation ($menuItem: MenuItemInput!) {\n createMenuItem(input: $menuItem) {\n name\n description\n price\n }\n }" ,
84
+ "variables" : {
85
+ "menuItem" : {
86
+ "name" : " French Dip" ,
87
+ "description" : " Roast beef, caramelized onions, horseradish, ..." ,
88
+ "price" : " 5.75" ,
89
+ "categoryId" : 1
90
+ }
91
+ }
92
+ }
93
+ ],
94
+ "graphiql:query" : " mutation ($menuItem: MenuItemInput!) {\n createMenuItem(input: $menuItem) {\n name\n description\n price\n }\n }" ,
95
+ "graphiql:variables" : " {\n \" menuItem\" : {\n \" name\" : \" French Dip\" ,\n \" description\" : \" Roast beef, caramelized onions, horseradish, ...\" ,\n \" price\" : \" 5.75\" ,\n \" categoryId\" : 1\n }\n }" ,
96
+ "graphiql:queries": "{\"queries\":[{\"query\":\"mutation ($menuItem: MenuItemInput!) {\\n createMenuItem(input: $menuItem) {\\n name\\n description\\n price\\n }\\n }\",\"variables\":\"{\\n \\\"menuItem\\\": {\\n \\\"name\\\": \\\"French Dip\\\",\\n \\\"description\\\": \\\"Roast beef, caramelized onions, horseradish, ...\\\",\\n \\\"price\\\": \\\"5.75\\\",\\n \\\"categoryId\\\": 1\\n }\\n}\"},{\"query\":\"mutation ($menuItem: MenuItemInput!) {\\n createMenuItem(input: $menuItem) {\\n name\\n description\\n price\\n }\\n }\",\"variables\":\"{\\n \\\"menuItem\\\": {\\n \\\"name\\\": \\\"French Dip\\\",\\n \\\"description\\\": \\\"Roast beef, caramelized onions, horseradish, ...\\\",\\n \\\"price\\\": \\\"5.75\\\",\\n \\\"categoryId\\\": \\\"1\\\"\\n }\\n}\"},{\"query\":\"mutation ($menuItem: MenuItemInput!) {\\n createMenuItem(input: $menuItem) {\\n name\\n description\\n price\\n }\\n }\",\"variables\":\"{\\n \\\"menuItem\\\": {\\n \\\"name\\\": \\\"French Dip\\\",\\n \\\"description\\\": \\\"Roast beef, caramelized onions, horseradish, ...\\\",\\n \\\"price\\\": \\\"5.75\\\",\\n \\\"categoryId\\\": 1\\n }\\n}\"}]}",
97
+ "graphiql:editorFlex" : 1 ,
98
+ "graphiql:variableEditorHeight" : 200 ,
99
+ "graphiql:docExplorerWidth" : 350
68
100
}
69
101
]
70
- }
102
+ }
0 commit comments