Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/apps/dashboard/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"target": "es2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"esModuleInterop": true
"esModuleInterop": true,
"types": ["node", "jest"]
}
}
1 change: 0 additions & 1 deletion packages/apps/faucet/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jsx": "react-jsx",
"resolveJsonModule": true,
"downlevelIteration": true,
"baseUrl": "./",
"types": ["node"]
},
"include": ["src"]
Expand Down
3 changes: 2 additions & 1 deletion packages/apps/faucet/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"outDir": "build",
"useUnknownInCatchVariables": false,
"strictNullChecks": false,
"allowJs": true
"allowJs": true,
"types": ["node", "jest"]
}
}
1 change: 0 additions & 1 deletion packages/apps/fortune/exchange-oracle/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jsx": "react-jsx",
"resolveJsonModule": true,
"downlevelIteration": true,
"baseUrl": ".",
"types": ["node", "jest", "@testing-library/jest-dom"]
},
"include": ["src", "tests"]
Expand Down
4 changes: 2 additions & 2 deletions packages/apps/fortune/exchange-oracle/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"target": "es2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true
"esModuleInterop": true,
"types": ["node", "jest"]
}
}
1 change: 1 addition & 0 deletions packages/apps/fortune/recording-oracle/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"strictNullChecks": true,
"strictPropertyInitialization": false,
"baseUrl": ".",
"types": ["node", "jest"],
"paths": {
"@/*": ["src/*"]
}
Expand Down
6 changes: 3 additions & 3 deletions packages/apps/human-app/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"target": "es2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
Expand All @@ -19,6 +18,7 @@
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node", "jest"]
}
}
}
1 change: 0 additions & 1 deletion packages/apps/job-launcher/client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jsx": "react-jsx",
"resolveJsonModule": true,
"downlevelIteration": true,
"baseUrl": ".",
"types": ["node", "jest"]
},
"include": ["src", "tests"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
ValidatorConstraint,
ValidatorConstraintInterface,
} from 'class-validator';
import { JobDto } from 'src/modules/job/job.dto';
import { JobDto } from '../../modules/job/job.dto';
import { TOKEN_ADDRESSES } from '../constants/tokens';
import { ChainId } from '@human-protocol/sdk';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
JobCountDto,
} from '../statistic/statistic.dto';
import { convertToDatabaseSortDirection } from '../../database/database.utils';
import { PaymentSource } from 'src/common/enums/payment';
import { PaymentSource } from '../../common/enums/payment';

@Injectable()
export class JobRepository extends BaseRepository<JobEntity> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ import { JobRepository } from './job.repository';
@Injectable()
export class JobService {
private readonly logger = logger.child({ context: JobService.name });
public readonly bucket: string;
private cronJobRepository: CronJobRepository;
private cronJobRepository!: CronJobRepository;

constructor(
@Inject(Web3Service)
Expand Down Expand Up @@ -454,7 +453,7 @@ export class JobService {
});

return new PageDto(data.page!, data.pageSize!, itemCount, jobs);
} catch (error) {
} catch (error: any) {
throw new ServerError(error.message, error.stack);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ import {

@Injectable()
export class ManifestService {
public readonly bucket: string;

constructor(
private readonly web3Service: Web3Service,
private readonly cvatConfigService: CvatConfigService,
Expand Down
4 changes: 2 additions & 2 deletions packages/apps/job-launcher/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"target": "es2023",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"esModuleInterop": true
"esModuleInterop": true,
"types": ["node", "jest"]
}
}
9 changes: 4 additions & 5 deletions packages/apps/reputation-oracle/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,23 @@
"target": "es2024",
"rootDir": ".",
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"strictBindCallApply": true,
"isolatedModules": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"~/test/*": ["test/*"]
},
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node", "jest"]
},
"ts-node": {
"files": true,
"require": [
"tsconfig-paths/register"
]
"require": ["tsconfig-paths/register"]
}
}
1 change: 0 additions & 1 deletion packages/apps/staking/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"jsx": "react-jsx",
"resolveJsonModule": true,
"downlevelIteration": true,
"baseUrl": ".",
"types": ["node", "jest"]
},
"include": ["src"]
Expand Down
1 change: 0 additions & 1 deletion packages/subgraph/hmt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"types": ["@graphprotocol/graph-ts", "node"]
},
"include": ["src", "tests"]
Expand Down
1 change: 0 additions & 1 deletion packages/subgraph/human-protocol/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": ".",
"types": ["@graphprotocol/graph-ts", "node"]
},
"include": ["src", "tests"]
Expand Down
Loading