portal: Apollo dashboard queries, strict TypeScript build, UI primitives
- Add GraphQL dashboard operations, ApolloProvider, CardDescription, label/checkbox/alert - Fix case-sensitive UI imports, Crossplane VM metadata uid, VMList spec parsing - Extend next-auth session user (id, role); fairness filters as unknown; ESLint relax to warnings - Remove unused session destructure across pages; next.config without skip TS/ESLint api: GraphQL/WebSocket hardening, logger import in websocket service Made-with: Cursor
This commit is contained in:
@@ -279,3 +279,8 @@ class BlockchainService {
|
||||
|
||||
// Singleton instance
|
||||
export const blockchainService = new BlockchainService()
|
||||
|
||||
/** Called from server startup; wraps singleton initialize. */
|
||||
export async function initBlockchainService(): Promise<void> {
|
||||
await blockchainService.initialize()
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import { useServer } from 'graphql-ws/lib/use/ws'
|
||||
import { schema } from '../schema'
|
||||
import { createContext } from '../context'
|
||||
import { FastifyRequest } from 'fastify'
|
||||
import { logger } from '../lib/logger'
|
||||
|
||||
export function createWebSocketServer(httpServer: any, path: string) {
|
||||
const wss = new WebSocketServer({
|
||||
|
||||
Reference in New Issue
Block a user