./ct_report/coverage/mongoose_graphql_admin_query.COVER.html

1 -module(mongoose_graphql_admin_query).
2 -behaviour(mongoose_graphql).
3
4 -export([execute/4]).
5
6 -ignore_xref([execute/4]).
7
8 -include("../mongoose_graphql_types.hrl").
9
10 execute(_Ctx, _Obj, <<"domains">>, _Args) ->
11 4 {ok, admin};
12 execute(_Ctx, _Obj, <<"account">>, _Args) ->
13 18 {ok, account};
14 execute(_Ctx, _Obj, <<"muc">>, _Args) ->
15 13 {ok, muc};
16 execute(_Ctx, _Obj, <<"muc_light">>, _Args) ->
17 17 {ok, muc_light};
18 execute(_Ctx, _Obj, <<"session">>, _Args) ->
19 14 {ok, session};
20 execute(_Ctx, _Obj, <<"stanza">>, _Args) ->
21 8 {ok, #{}};
22 execute(_Ctx, _Obj, <<"roster">>, _Args) ->
23 6 {ok, roster};
24 execute(_Ctx, _Obj, <<"checkAuth">>, _Args) ->
25 5 {ok, admin}.
Line Hits Source