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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ updates:
schedule:
interval: "weekly"
target-branch: "develop"
ignore:
# Ignore versions of Jest and related packages that are equal to
# or greater than 30.0.0 because it introduces module system change
# and it must be updated together with some other packages (nest, ts-jest, etc.)
# including some extra configuration changes
- dependency-name: "*jest*"
versions: [">=30.0.0"]

# Maintain dependencies for pip
- package-ecosystem: "pip"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-cvat-exchange-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy CVAT Exchange Oracle
on:
push:
branches: [ develop, main, cvat-milestone-2 ]
tags-ignore: '*'
paths:
- 'packages/examples/cvat/exchange-oracle/**'
pull_request:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-cvat-recording-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy CVAT Recording Oracle
on:
push:
branches: [ develop, main, cvat-milestone-2 ]
tags-ignore: '*'
paths:
- 'packages/examples/cvat/recording-oracle/**'
pull_request:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-job-launcher-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy Job launcher server
on:
push:
branches: [ develop, main ]
tags-ignore: '*'
paths:
- 'packages/apps/job-launcher/server/**'
pull_request:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
push:
branches:
- main
tags-ignore: '*'
paths-ignore:
- "docs/**"
- "packages/apps/**"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-python-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
push:
branches:
- main
tags-ignore: '*'
paths:
- "packages/sdk/python/human-protocol-sdk/**"

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cd-reputation-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Deploy Reputation oracle
on:
push:
branches: [ develop, main ]
tags-ignore: '*'
paths:
- 'packages/apps/reputation-oracle/server/**'
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint-cvat-exchange-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CVAT Exchange Oracle Lint

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/examples/cvat/exchange-oracle/**'
- '.github/workflows/ci-lint-cvat-exchange-oracle.yaml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint-cvat-recording-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CVAT Recording Oracle Lint

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/examples/cvat/recording-oracle/**'
- '.github/workflows/ci-lint-cvat-recording-oracle.yaml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint check

on:
push:
tags-ignore: '*'
branches: '**'
paths-ignore:
- 'packages/examples/cvat/**'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Protocol check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/core/**'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-cvat-exchange-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CVAT Exchange Oracle Tests

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/examples/cvat/exchange-oracle/**'
- 'packages/sdk/python/human-protocol-sdk/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-cvat-recording-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CVAT Recording Oracle Tests

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/examples/cvat/recording-oracle/**'
- 'packages/core/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Dashboard Check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-faucet-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Faucet server check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-fortune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Fortune check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-human-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Human App Check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-job-launcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Job Launcher Check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-node-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node.js SDK check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/core/**'
- 'packages/sdk/typescript/human-protocol-sdk/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-python-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Python SDK check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- 'packages/core/**'
- 'packages/sdk/python/human-protocol-sdk/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-reputation-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Reputation Oracle Check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/human-protocol-sdk/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Subgraph check

on:
push:
tags-ignore: '*'
branches: '**'
paths:
- "packages/core/**"
- "packages/sdk/typescript/subgraph/**"
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/dashboard/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "30.2.0",
"jest": "^29.7.0",
"prettier": "^3.7.4",
"source-map-support": "^0.5.20",
"ts-jest": "29.2.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/faucet/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"concurrently": "^9.1.2",
"eslint": "^9.39.1",
"hardhat": "^2.26.0",
"jest": "^30.2.0",
"jest": "^29.7.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/fortune/exchange-oracle/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "30.2.0",
"jest": "^29.7.0",
"prettier": "^3.7.4",
"source-map-support": "^0.5.20",
"ts-jest": "29.2.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddEscrowCompletedEventTypeToWebhookTable1720453476309
implements MigrationInterface
{
export class AddEscrowCompletedEventTypeToWebhookTable1720453476309 implements MigrationInterface {
name = 'AddEscrowCompletedEventTypeToWebhookTable1720453476309';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class UpdateWebhookEnumValuesToLowerCase1728641716264
implements MigrationInterface
{
export class UpdateWebhookEnumValuesToLowerCase1728641716264 implements MigrationInterface {
name = 'UpdateWebhookEnumValuesToLowerCase1728641716264';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddRewardTokenToJobTable1733127731356
implements MigrationInterface
{
export class AddRewardTokenToJobTable1733127731356 implements MigrationInterface {
name = 'AddRewardTokenToJobTable1733127731356';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/fortune/recording-oracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint": "^9.39.1",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^30.2.0",
"jest": "^29.7.0",
"prettier": "^3.7.4",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export const shouldNavigateToRegistration = (
): boolean =>
Boolean(
oracle.registrationNeeded &&
!registrationData?.oracle_addresses.includes(oracle.address)
!registrationData?.oracle_addresses.includes(oracle.address)
);
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import { Typography } from '@mui/material';
import { type InputMask } from '@/shared/components/data-entry/input-masks';
import { useColorMode } from '@/shared/contexts/color-mode';

export interface InputProps
extends Omit<TextFieldProps, 'name' | 'error' | 'helperText'> {
export interface InputProps extends Omit<
TextFieldProps,
'name' | 'error' | 'helperText'
> {
name: string;
label?: string;
autoComplete?: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/human-app/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "30.2.0",
"jest": "^29.7.0",
"nock": "^13.5.1",
"prettier": "^3.7.4",
"source-map-support": "^0.5.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/job-launcher/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "30.2.0",
"jest": "^29.7.0",
"prettier": "^3.7.4",
"source-map-support": "^0.5.20",
"ts-jest": "29.2.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ import { ChainId } from '@human-protocol/sdk';
import { PaymentCurrency } from '../enums/payment';

@ValidatorConstraint({ async: false })
export class IsValidTokenDecimalsConstraint
implements ValidatorConstraintInterface
{
export class IsValidTokenDecimalsConstraint implements ValidatorConstraintInterface {
validate(value: number, args: ValidationArguments) {
const [tokenProperty] = args.constraints;
const dto = args.object as Record<string, any>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class UpdateJobStatusAndWebhookOracleTypeEnum1703041584469
implements MigrationInterface
{
export class UpdateJobStatusAndWebhookOracleTypeEnum1703041584469 implements MigrationInterface {
name = 'UpdateJobStatusAndWebhookOracleTypeEnum1703041584469';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class UpdateWebhookEnumValuesToLowerCase1728411922919
implements MigrationInterface
{
export class UpdateWebhookEnumValuesToLowerCase1728411922919 implements MigrationInterface {
name = 'UpdateWebhookEnumValuesToLowerCase1728411922919';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddJobTypeToJobsRequestTypeEnum1732612497937
implements MigrationInterface
{
export class AddJobTypeToJobsRequestTypeEnum1732612497937 implements MigrationInterface {
name = 'AddJobTypeToJobsRequestTypeEnum1732612497937';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddContentModerationRequests1741773586440
implements MigrationInterface
{
export class AddContentModerationRequests1741773586440 implements MigrationInterface {
name = 'AddContentModerationRequests1741773586440';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class RemoveNullableFromJobEntity1748612934037
implements MigrationInterface
{
export class RemoveNullableFromJobEntity1748612934037 implements MigrationInterface {
name = 'RemoveNullableFromJobEntity1748612934037';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class RenameStripeCustomerIdColumn1749498615107
implements MigrationInterface
{
export class RenameStripeCustomerIdColumn1749498615107 implements MigrationInterface {
name = 'RenameStripeCustomerIdColumn1749498615107';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AddAudioAttributeAnnotation1756902190591
implements MigrationInterface
{
export class AddAudioAttributeAnnotation1756902190591 implements MigrationInterface {
name = 'AddAudioAttributeAnnotation1756902190591';

public async up(queryRunner: QueryRunner): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/reputation-oracle/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^16.3.0",
"jest": "30.2.0",
"jest": "^29.7.0",
"nock": "^14.0.3",
"prettier": "^3.7.4",
"ts-jest": "29.2.5",
Expand Down
Loading
Loading