Skip to content

feat: schema changes#156

Merged
Philippoes merged 1 commit intomainfrom
feat/schema-changes
Jun 24, 2025
Merged

feat: schema changes#156
Philippoes merged 1 commit intomainfrom
feat/schema-changes

Conversation

@petar-omni
Copy link
Copy Markdown
Collaborator

Added

Description of new functionality, feature, or content that has been added in this pull request.

Changed

Description of the modifications made to existing functionality, feature, or content in this pull request. This could include changes to code, CI, documentation, etc.

@petar-omni petar-omni requested review from Philippoes and Copilot June 24, 2025 16:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces several schema changes and new API endpoints for reporting daily revenues and performance. Key changes include adding new yield providers and networks, introducing additional transaction types and schema interfaces, and updating API query functions and their corresponding MSW mocks.

Reviewed Changes

Copilot reviewed 38 out of 38 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/api-hooks/src/api/schemas/yieldV2YieldsProviderId.ts Added new yield providers ("blend", "synthetix")
packages/api-hooks/src/api/schemas/yieldV2YieldsNetwork.ts Added new network entries ("ethereum-hoodi", "stellar", "stellar-testnet")
packages/api-hooks/src/api/schemas/yieldProviders.ts Added new yield provider entries similar to yieldV2 changes
packages/api-hooks/src/api/schemas/walletViewDto.ts, unauthorizedDto.ts, stakeResponseDto*.ts, serverErrorDto.ts Introduced new schema interfaces and types
packages/api-hooks/src/api/schemas/reportProject* Defined new types and interfaces for reporting daily revenues and performance
packages/api-hooks/src/api/index.ts & index.msw.ts Added new API endpoints and updated mock handlers for reporting functionality
packages/api-hooks/package.json & .vscode/settings.json Updated package version and editor settings
Comments suppressed due to low confidence (1)

packages/api-hooks/src/api/schemas/argumentOptionsDto.ts:13

  • [nitpick] Consider adding a documentation comment for the new 'providerId' property to maintain consistency with the other documented properties.
  providerId?: RequiredArgumentWithOptionsDto;

limit: faker.number.int({ min: undefined, max: undefined }),
page: faker.number.int({ min: undefined, max: undefined }),
...overrideResponse,
...overrideResponse,
Copy link

Copilot AI Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate spreading of overrideResponse is present. Please remove one instance unless intentionally merging multiple override objects.

Suggested change
...overrideResponse,

Copilot uses AI. Check for mistakes.
@Philippoes Philippoes merged commit e0ceb4f into main Jun 24, 2025
2 checks passed
@petar-omni petar-omni deleted the feat/schema-changes branch July 11, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants