UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

14 lines (13 loc) 770 B
import type { Server as httpServer } from 'http'; import { GraphQLSubscriptionController } from './graphql.js'; import { LogsController } from './logs.js'; import { WebSocketController } from './rest.js'; export declare function createWebSocketController(server: httpServer): void; export declare function getWebSocketController(): WebSocketController | undefined; export declare function createSubscriptionController(server: httpServer): void; export declare function getSubscriptionController(): GraphQLSubscriptionController | undefined; export declare function createLogsController(server: httpServer): void; export declare function getLogsController(): LogsController | undefined; export * from './graphql.js'; export * from './logs.js'; export * from './rest.js';