feat: implement RateLimitStorage and integrate it into upload-api #747
Annotations
10 errors
Test:
upload-api/access.js#L13
Namespace '"/home/runner/work/w3infra/w3infra/node_modules/@web3-storage/upload-api/dist/src/lib"' has no exported member 'AccessVerifier'.
|
Test:
upload-api/access.js#L34
Parameter 'invocation' implicitly has an 'any' type.
|
Test:
upload-api/access.js#L43
Unused '@ts-expect-error' directive.
|
Test:
upload-api/functions/ucan-invocation-router.js#L151
Argument of type '{ codec: API.InboundCodec; storeTable: StoreTable & TestStoreTable; carStoreBucket: CarStoreBucket; dudewhereBucket: DudewhereBucket; ... 7 more ...; rateLimitsStorage: RateLimitsStorage; }' is not assignable to parameter of type 'Omit<UcantoServerContext, "errorReporter" | "id" | "maxUploadSize">'.
|
Test:
upload-api/test/access-verifier.js#L48
Namespace '"/home/runner/work/w3infra/w3infra/node_modules/@web3-storage/upload-api/dist/src/lib"' has no exported member 'AccessVerifier'.
|
Test:
upload-api/test/access-verifier.js#L66
Parameter 'space' implicitly has an 'any' type.
|
Test:
upload-api/test/access-verifier.js#L69
Parameter 'invocation' implicitly has an 'any' type.
|
Test:
upload-api/test/access-verifier.js#L77
Unused '@ts-expect-error' directive.
|
Test:
upload-api/test/helpers/ucan.js#L17
'createAccessVerifier' is declared but its value is never read.
|
Test
Process completed with exit code 1.
|