mirror of
https://github.com/unraid/api.git
synced 2026-02-12 11:08:31 -06:00
ensure info/apps is published to when docker events happen
Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
17
app/index.js
17
app/index.js
@@ -18,15 +18,15 @@ const $injector = new Injector();
|
||||
$injector.registerImports([
|
||||
'net',
|
||||
'http',
|
||||
'express',
|
||||
'apollo-server',
|
||||
'apollo-server-express',
|
||||
'graphql',
|
||||
'apollo-server',
|
||||
'deepmerge',
|
||||
'stoppable',
|
||||
'graphql-tools',
|
||||
'express',
|
||||
'graphql-subscriptions',
|
||||
'set-interval-async/dynamic'
|
||||
'graphql-tools',
|
||||
'graphql',
|
||||
'set-interval-async/dynamic',
|
||||
'stoppable'
|
||||
]);
|
||||
|
||||
// Register modules that need require and not import
|
||||
@@ -36,13 +36,14 @@ $injector.registerRequires([
|
||||
|
||||
// Register the imported modules with custom names.
|
||||
$injector.registerImports({
|
||||
dee: '@gridplus/docker-events',
|
||||
get: 'lodash.get',
|
||||
gql: 'graphql-tag',
|
||||
graphqlDirective: 'graphql-directive',
|
||||
mergeGraphqlSchemas: 'merge-graphql-schemas',
|
||||
GraphQLJSON: 'graphql-type-json',
|
||||
GraphQLLong: 'graphql-type-long',
|
||||
GraphQLUUID: 'graphql-type-uuid',
|
||||
gql: 'graphql-tag'
|
||||
mergeGraphqlSchemas: 'merge-graphql-schemas'
|
||||
});
|
||||
|
||||
$injector.registerValue('setIntervalAsync', $injector.resolve('set-interval-async/dynamic').setIntervalAsync);
|
||||
|
||||
Reference in New Issue
Block a user