Skip to content

Commit

Permalink
fix: linter issues[3834]
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihar committed Jul 16, 2024
1 parent eb23dc9 commit 2ae5afa
Show file tree
Hide file tree
Showing 11 changed files with 220 additions and 217 deletions.
Binary file modified ai-service/faiss-vector/faiss.index
Binary file not shown.
2 changes: 1 addition & 1 deletion api-gateway/src/api/service/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { EntityOwner, Permissions } from '@guardian/interfaces';
import { FilterDocumentsDTO, FilterModulesDTO, FilterPoliciesDTO, FilterSchemasDTO, FilterSearchPoliciesDTO, InternalServerErrorDTO, CompareDocumentsDTO, CompareModulesDTO, ComparePoliciesDTO, CompareSchemasDTO, SearchPoliciesDTO, FilterToolsDTO, CompareToolsDTO, FilterSearchBlocksDTO, SearchBlocksDTO, Examples } from '#middlewares';
import { AuthUser, Auth } from '#auth';
import { IAuthUser, PinoLogger } from '@guardian/common';
import { Guardians, ONLY_SR, InternalException, CacheService } from '#helpers';
import { Guardians, ONLY_SR, InternalException } from '#helpers';

function getPolicyId(filters: FilterPoliciesDTO): {
type: 'id' | 'file' | 'message',
Expand Down
3 changes: 1 addition & 2 deletions api-gateway/src/api/service/websockets.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import WebSocket, { WebSocketServer } from 'ws'
import { IncomingMessage, Server } from 'http';
import { ExternalProviders, GenerateUUIDv4, MessageAPI, NotifyAPI, UserRole } from '@guardian/interfaces';
import { generateNumberFromString, IAuthUser, Logger, MeecoApprovedSubmission, MessageResponse, NatsService, NotificationHelper, PinoLogger, Singleton } from '@guardian/common';
import { generateNumberFromString, IAuthUser, MeecoApprovedSubmission, MessageResponse, NatsService, NotificationHelper, PinoLogger, Singleton } from '@guardian/common';
import { NatsConnection } from 'nats';
// import { Injectable } from '@nestjs/common';
import { MeecoAuth, Users } from '#helpers';
import { Mutex } from 'async-mutex';

Expand Down
3 changes: 1 addition & 2 deletions api-gateway/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { PolicyEngine } from './helpers/policy-engine.js';
import { WebSocketsService } from './api/service/websockets.js';
import { Users } from './helpers/users.js';
import { Wallet } from './helpers/wallet.js';
import { LargePayloadContainer, Logger, MessageBrokerChannel } from '@guardian/common';
import { LargePayloadContainer, MessageBrokerChannel, PinoLogger } from '@guardian/common';
import { TaskManager } from './helpers/task-manager.js';
import { AppModule } from './app.module.js';
import { NestFactory } from '@nestjs/core';
Expand All @@ -20,7 +20,6 @@ import { AISuggestions } from './helpers/ai-suggestions.js';
import { FastifyAdapter, NestFastifyApplication } from '@nestjs/platform-fastify';
import fastifyFormbody from '@fastify/formbody'
import fastifyMultipart from '@fastify/multipart';
import { PinoLogger } from '@guardian/common';

const PORT = process.env.PORT || 3002;

Expand Down
Loading

0 comments on commit 2ae5afa

Please sign in to comment.