Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync @subql dependencies #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Sync @subql dependencies #52

wants to merge 2 commits into from

Conversation

stwiname
Copy link
Contributor

Automated changes by create-pull-request GitHub action

Copy link

github-actions bot commented Oct 21, 2024

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 10.01% 387/3866
🔴 Branches 48.18% 53/110
🔴 Functions 32.61% 30/92
🔴 Lines 10.01% 387/3866

Test suite run failed

Failed tests: 0/20. Failed suites: 3/6.
  ● Test suite failed to run

    packages/types/src/project.ts:207:5 - error TS2314: Generic type 'SecondLayerHandlerProcessor_0_0_0<InputKinds, HandlerInput, BaseHandlerFilters, F, E, DS, API>' requires 7 type argument(s).

    207   | SecondLayerHandlerProcessor_0_0_0<ConcordiumRuntimeHandlerInputMap, K, F, E, DS, ConcordiumGRPCClient>
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    packages/types/src/project.ts:208:5 - error TS2314: Generic type 'SecondLayerHandlerProcessor_1_0_0<InputKinds, HandlerInput, BaseHandlerFilters, F, E, DS, API>' requires 7 type argument(s).

    208   | SecondLayerHandlerProcessor_1_0_0<ConcordiumRuntimeHandlerInputMap, K, F, E, DS, ConcordiumGRPCClient>;
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  ● Test suite failed to run

    packages/node/src/configure/SubqueryProject.ts:167:5 - error TS2345: Argument of type '(ds: ConcordiumDatasource) => ds is ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to parameter of type 'IsCustomDs<RuntimeDatasourceTemplate | CustomDatasourceTemplate, (RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<...>>'.
      Type predicate 'ds is ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to 'x is (RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<BaseHandler<any, string>, BaseMapping<BaseHandler<any, string>>>'.
        Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type '(RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<BaseHandler<any, string>, BaseMapping<BaseHandler<any, string>>>'.
          Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type 'Omit<ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>, "startBlock" | "endBlock"> & TemplateBase & BaseCustomDataSource<...>'.
            Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type 'TemplateBase'.
              Property 'name' is optional in type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' but required in type 'TemplateBase'.

    167     isCustomDs,
            ~~~~~~~~~~


  ● Test suite failed to run

    packages/node/src/configure/SubqueryProject.ts:167:5 - error TS2345: Argument of type '(ds: ConcordiumDatasource) => ds is ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to parameter of type 'IsCustomDs<RuntimeDatasourceTemplate | CustomDatasourceTemplate, (RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<...>>'.
      Type predicate 'ds is ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to 'x is (RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<BaseHandler<any, string>, BaseMapping<BaseHandler<any, string>>>'.
        Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type '(RuntimeDatasourceTemplate | CustomDatasourceTemplate) & BaseCustomDataSource<BaseHandler<any, string>, BaseMapping<BaseHandler<any, string>>>'.
          Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type 'Omit<ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>, "startBlock" | "endBlock"> & TemplateBase & BaseCustomDataSource<...>'.
            Type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' is not assignable to type 'TemplateBase'.
              Property 'name' is optional in type 'ConcordiumCustomDatasource<string, SubqlMapping<SubqlCustomHandler<string, Record<string, unknown>>>, any>' but required in type 'TemplateBase'.

    167     isCustomDs,
            ~~~~~~~~~~

Report generated by 🧪jest coverage report action from e2bfe0b

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.

2 participants