forked from hasura/graphql-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
59 lines (48 loc) · 2.15 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// import GraphiQL parts
import GraphiQLWrapper from './src/components/Services/ApiExplorer/GraphiQLWrapper/GraphiQLWrapper';
// import Data Tab parts
import dataRouter from './src/components/Services/Data/DataRouter';
import { dataReducer } from './src/components/Services/Data';
import dataHeaders from './src/components/Services/Data/Common/Headers';
import { handleMigrationErrors } from './src/components/Services/Data/TableModify/ModifyActions';
import {
fetchSchemaList,
updateSchemaInfo,
UPDATE_CURRENT_SCHEMA,
UPDATE_DATA_HEADERS,
ACCESS_KEY_ERROR,
} from './src/components/Services/Data/DataActions';
// import Event Tab parts
import eventRouterUtils from './src/components/Services/EventTrigger/EventRouter';
import { eventReducer } from './src/components/Services/EventTrigger';
// import Remote Schema parts
import getCustomResolverRouter from './src/components/Services/CustomResolver/CustomResolverRouter.js';
import customResolverReducer from './src/components/Services/CustomResolver/customResolverReducer.js';
// import other globals
import routes from './src/routes';
import globals from './src/Globals';
import endpoints from './src/Endpoints';
import mainState from './src/components/Main/State';
import { changeRequestHeader } from './src/components/Services/ApiExplorer/Actions';
import { validateLogin } from './src/components/Main/Actions';
const filterQueryScss = require('./src/components/Common/FilterQuery/FilterQuery.scss');
const tableScss = require('./src/components/Common/TableCommon/Table.scss');
// export GraphiQL parts
export { GraphiQLWrapper };
// export Data Tab parts
export { dataRouter, dataReducer };
export { fetchSchemaList, updateSchemaInfo };
export { UPDATE_CURRENT_SCHEMA, UPDATE_DATA_HEADERS, ACCESS_KEY_ERROR };
export { dataHeaders };
// export Event Tab parts
export { eventRouterUtils, eventReducer };
// export Remote Schema parts
export { getCustomResolverRouter, customResolverReducer };
// export other globals
export default routes;
export { globals, endpoints, mainState };
export { changeRequestHeader };
export { validateLogin };
export { handleMigrationErrors };
// export styles
export { filterQueryScss, tableScss };