Skip to content

feat: add redundancy options #1211

feat: add redundancy options

feat: add redundancy options #1211

Triggered via pull request December 21, 2023 06:56
Status Failure
Total duration 43s
Artifacts

check.yaml

on: pull_request
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
check (18.x): src/command/upload.ts#L1
Module '"@ethersphere/bee-js"' has no exported member 'RedundancyLevel'.
check (18.x): src/command/upload.ts#L1
Argument of type '{ tag: number | undefined; pin: boolean; encrypt: boolean; contentType: string | undefined; deferred: boolean; redundancyLevel: any; }' is not assignable to parameter of type 'FileUploadOptions'.
check (18.x): src/command/upload.ts#L1
Argument of type '{ tag: number | undefined; deferred: boolean; encrypt: boolean; redundancyLevel: any; }' is not assignable to parameter of type 'UploadOptions'.
check (18.x): src/command/upload.ts#L1
Argument of type '{ indexDocument: string; errorDocument: string; tag: number | undefined; pin: boolean; encrypt: boolean; deferred: boolean; redundancyLevel: any; }' is not assignable to parameter of type 'CollectionUploadOptions'.
check (18.x): src/command/upload.ts#L1
Argument of type '{ tag: number | undefined; pin: boolean; encrypt: boolean; contentType: string | undefined; deferred: boolean; redundancyLevel: any; }' is not assignable to parameter of type 'FileUploadOptions'.
check (18.x): src/command/upload.ts#L1
Property 'getRedundancyStat' does not exist on type 'typeof import("/home/runner/work/swarm-cli/swarm-cli/node_modules/@ethersphere/bee-js/dist/types/utils/expose")'.
check (18.x): src/command/upload.ts#L1
Property 'approximateOverheadForRedundancyLevel' does not exist on type 'typeof import("/home/runner/work/swarm-cli/swarm-cli/node_modules/@ethersphere/bee-js/dist/types/utils/expose")'.
check (18.x)
Process completed with exit code 2.
check (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/