(options: ParseServerOptions)
| 133 | } |
| 134 | |
| 135 | export function getLiveQueryController(options: ParseServerOptions): LiveQueryController { |
| 136 | return new LiveQueryController(options.liveQuery); |
| 137 | } |
| 138 | |
| 139 | export function getDatabaseController(options: ParseServerOptions): DatabaseController { |
| 140 | const { databaseURI, collectionPrefix, databaseOptions } = options; |