(options: ParseServerOptions)
| 26 | import SchemaCache from '../Adapters/Cache/SchemaCache'; |
| 27 | |
| 28 | export 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 | |
| 57 | export function getLoggerController(options: ParseServerOptions): LoggerController { |
| 58 | const { |
nothing calls this directly
no test coverage detected