Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #323 from kmcwebdev/development
Browse files Browse the repository at this point in the history
Update lexisnexis search service and controller
  • Loading branch information
csulit authored Oct 10, 2023
2 parents 3165bb1 + 4c8c0b3 commit faece9f
Show file tree
Hide file tree
Showing 22 changed files with 328 additions and 116 deletions.
18 changes: 13 additions & 5 deletions kysely-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,19 @@ export interface Groups {
created_at: Generated<Timestamp | null>;
}

export interface LexisnexisDiligenceSearch {
audit_log_id: Generated<string>;
legacy_client_id: string | null;
export interface LexisnexisSearch {
lexisnexis_search_id: Generated<string>;
search_query: string;
erp_client_id: string | null;
search_category: string | null;
created_at: number;
query_type: string | null;
total_size: Generated<number | null>;
download_id: string | null;
pdf_report_url: string | null;
report_generation_status: Generated<string | null>;
report_generation_desc: string | null;
finished_at: Timestamp | null;
created_at: Generated<Timestamp | null>;
}

export interface Users {
Expand Down Expand Up @@ -157,6 +165,6 @@ export interface DB {
finance_reimbursement_request_types: FinanceReimbursementRequestTypes;
finance_reimbursement_requests: FinanceReimbursementRequests;
groups: Groups;
lexisnexis_diligence_search: LexisnexisDiligenceSearch;
lexisnexis_search: LexisnexisSearch;
users: Users;
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"dependencies": {
"@highlight-run/nest": "^3.2.0",
"@nestjs/axios": "^3.0.0",
"@nestjs/common": "^10.2.6",
"@nestjs/common": "^10.2.7",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.2.6",
"@nestjs/core": "^10.2.7",
"@nestjs/devtools-integration": "^0.1.5",
"@nestjs/event-emitter": "^2.0.2",
"@nestjs/mapped-types": "*",
"@nestjs/platform-express": "^10.2.6",
"@nestjs/platform-express": "^10.2.7",
"@nestjs/schedule": "^3.0.4",
"@propelauth/node": "^2.1.3",
"axios": "^1.5.0",
Expand All @@ -60,7 +60,7 @@
"devDependencies": {
"@nestjs/cli": "^10.1.18",
"@nestjs/schematics": "^10.0.2",
"@nestjs/testing": "^10.2.6",
"@nestjs/testing": "^10.2.7",
"@types/compression": "^1.7.3",
"@types/express": "^4.17.17",
"@types/hpp": "^0.2.2",
Expand Down
110 changes: 55 additions & 55 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ConfigModule } from '@nestjs/config';
import { configSchema } from './common/schema/config.schema';
import { FinanceModule } from './finance/finance.module';
import { LegalAndComplianceModule } from './legal-and-compliance/legal-and-compliance.module';
import { APP_PIPE } from '@nestjs/core';
import { APP_GUARD, APP_PIPE } from '@nestjs/core';
import { ZodValidationPipe } from 'nestjs-zod';
import { DevtoolsModule } from '@nestjs/devtools-integration';
import { UsersModule } from './users/users.module';
Expand All @@ -12,6 +12,7 @@ import { AuthModule } from './auth/auth.module';
import { EventEmitterModule } from '@nestjs/event-emitter';
import { MemphisDevModule } from './memphis-dev/memphis-dev.module';
import { FilestackModule } from './filestack/filestack.module';
import { PropelauthGuard } from './auth/common/guard/propelauth.guard';

@Module({
imports: [
Expand Down Expand Up @@ -39,6 +40,10 @@ import { FilestackModule } from './filestack/filestack.module';
provide: APP_PIPE,
useClass: ZodValidationPipe,
},
{
provide: APP_GUARD,
useClass: PropelauthGuard,
},
],
})
export class AppModule {}
Loading

0 comments on commit faece9f

Please sign in to comment.