1 |
|
-module(mongoose_graphql_user_mutation). |
2 |
|
-behaviour(mongoose_graphql). |
3 |
|
|
4 |
|
-export([execute/4]). |
5 |
|
|
6 |
|
-ignore_xref([execute/4]). |
7 |
|
|
8 |
|
execute(_Ctx, _Obj, <<"account">>, _Args) -> |
9 |
:-( |
{ok, account}; |
10 |
|
execute(_Ctx, _Obj, <<"httpUpload">>, _Args) -> |
11 |
:-( |
{ok, httpUpload}; |
12 |
|
execute(_Ctx, _Obj, <<"inbox">>, _Args) -> |
13 |
:-( |
{ok, inbox}; |
14 |
|
execute(_Ctx, _Obj, <<"last">>, _Args) -> |
15 |
:-( |
{ok, last}; |
16 |
|
execute(_Ctx, _Obj, <<"muc">>, _Args) -> |
17 |
:-( |
{ok, muc}; |
18 |
|
execute(_Ctx, _Obj, <<"muc_light">>, _Args) -> |
19 |
:-( |
{ok, muc_light}; |
20 |
|
execute(_Ctx, _Obj, <<"private">>, _Args) -> |
21 |
:-( |
{ok, private}; |
22 |
|
execute(_Ctx, _Obj, <<"roster">>, _Args) -> |
23 |
:-( |
{ok, roster}; |
24 |
|
execute(_Ctx, _Obj, <<"stanza">>, _Args) -> |
25 |
:-( |
{ok, stanza}; |
26 |
|
execute(_Ctx, _Obj, <<"vcard">>, _Args) -> |
27 |
:-( |
{ok, vcard}; |
28 |
|
execute(_Ctx, _Obj, <<"token">>, _Args) -> |
29 |
:-( |
{ok, token}. |