MCPcopy Index your code
hub / github.com/parse-community/parse-server / getControllers

Function getControllers

src/Controllers/index.js:28–55  ·  view source on GitHub ↗
(options: ParseServerOptions)

Source from the content-addressed store, hash-verified

26import SchemaCache from '../Adapters/Cache/SchemaCache';
27
28export function getControllers(options: ParseServerOptions) {
29 const loggerController = getLoggerController(options);
30 const filesController = getFilesController(options);
31 const userController = getUserController(options);
32 const cacheController = getCacheController(options);
33 const analyticsController = getAnalyticsController(options);
34 const liveQueryController = getLiveQueryController(options);
35 const databaseController = getDatabaseController(options);
36 const hooksController = getHooksController(options, databaseController);
37 const authDataManager = getAuthDataManager(options);
38 const parseGraphQLController = getParseGraphQLController(options, {
39 databaseController,
40 cacheController,
41 });
42 return {
43 loggerController,
44 filesController,
45 userController,
46 analyticsController,
47 cacheController,
48 parseGraphQLController,
49 liveQueryController,
50 databaseController,
51 hooksController,
52 authDataManager,
53 schemaCache: SchemaCache,
54 };
55}
56
57export function getLoggerController(options: ParseServerOptions): LoggerController {
58 const {

Callers

nothing calls this directly

Calls 10

getLoggerControllerFunction · 0.85
getFilesControllerFunction · 0.85
getUserControllerFunction · 0.85
getCacheControllerFunction · 0.85
getAnalyticsControllerFunction · 0.85
getLiveQueryControllerFunction · 0.85
getDatabaseControllerFunction · 0.85
getHooksControllerFunction · 0.85
getAuthDataManagerFunction · 0.85

Tested by

no test coverage detected