Pls help my check.
I could not build parse-server-migration
Error
yarn run v1.22.19
$ tsc
src/cloud/generated/evmApi.ts:32:46 - error TS2339: Property ‘name’ does not exist on type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: EvmTradeCollectionJSON): EvmTradeCollection; serializeRequest(request: GetNFTTradesOperationRequest): GetNFTTradesOperationRequestJSON; } | … 8 m…’.
Property ‘name’ does not exist on type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: EvmTradeCollectionJSON): EvmTradeCollection; serializeRequest(request: GetNFTTradesOperationRequest): GetNFTTradesOperationRequestJSON; }’.
32 const operation = operations.find((o) => o.name === operationName);
~~~~
src/cloud/generated/evmApi.ts:36:10 - error TS2352: Conversion of type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: EvmTradeCollectionJSON): EvmTradeCollection; serializeRequest(request: GetNFTTradesOperationRequest): GetNFTTradesOperationRequestJSON; } | … 8 m…’ to type ‘Operation<unknown, unknown, unknown, unknown>’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.
Type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: EvmWalletActiveChainsJSON): EvmWalletActiveChains; serializeRequest(request: GetWalletActiveChainsOperationRequest): GetWalletActiveChainsOperation…’ is missing the following properties from type ‘Operation<unknown, unknown, unknown, unknown>’: name, id, method, urlPathPattern, and 3 more.
36 return operation as Operation<unknown, unknown, unknown, unknown>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/cloud/generated/solApi.ts:32:46 - error TS2339: Property ‘name’ does not exist on type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: SolSPLTokenPriceJSON): SolSPLTokenPrice; serializeRequest(request: GetTokenPriceOperationRequest): GetTokenPriceOperationRequestJSON; }’.
32 const operation = operations.find((o) => o.name === operationName);
~~~~
src/cloud/generated/solApi.ts:36:10 - error TS2352: Conversion of type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: SolSPLTokenPriceJSON): SolSPLTokenPrice; serializeRequest(request: GetTokenPriceOperationRequest): GetTokenPriceOperationRequestJSON; }’ to type ‘Operation<unknown, unknown, unknown, unknown>’ may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to ‘unknown’ first.
Type ‘{ operationId: string; groupName: string; httpMethod: string; routePattern: string; parameterNames: string[]; hasResponse: boolean; hasBody: boolean; parseResponse(json: SolSPLTokenPriceJSON): SolSPLTokenPrice; serializeRequest(request: GetTokenPriceOperationRequest): GetTokenPriceOperationRequestJSON; }’ is missing the following properties from type ‘Operation<unknown, unknown, unknown, unknown>’: name, id, method, urlPathPattern, and 3 more.
36 return operation as Operation<unknown, unknown, unknown, unknown>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 4 errors in 2 files.
Errors Files
2 src/cloud/generated/evmApi.ts:32
2 src/cloud/generated/solApi.ts:32
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.