feat: implement new RevocationsStorage
methods
#869
Annotations
10 errors
Test:
upload-api/tables/delegations.js#L7
'UpdateItemCommand' is declared but its value is never read.
|
Test:
upload-api/tables/delegations.js#L57
Argument of type '{ bucket: DelegationsBucket; invocationBucket: InvocationBucket; workflowBucket: WorkflowBucket; }' is not assignable to parameter of type '{ bucket: DelegationsBucket; invocationBucket: InvocationBucket; workflowBucket: WorkflowBucket; revocationsTable: RevocationsTable; }'.
|
Test:
upload-api/tables/delegations.js#L164
Type '{ putMany: (delegations: Delegation<Tuple<Capability<Ability, `${string}:${string}`, unknown>>>[], options?: { cause?: Link<unknown, number, number, 1> | undefined; } | undefined) => Promise<...>; count: () => Promise<...>; find: (query: ByAudience) => Promise<...>; revoke: (delegationCID: any, contextCID: any, caus...' is not assignable to type 'DelegationsStorage<Capability<Ability, `${string}:${string}`, unknown>>'.
|
Test:
upload-api/tables/delegations.js#L164
Parameter 'delegationCID' implicitly has an 'any' type.
|
Test:
upload-api/tables/delegations.js#L164
Parameter 'contextCID' implicitly has an 'any' type.
|
Test:
upload-api/tables/delegations.js#L164
Parameter 'causeCID' implicitly has an 'any' type.
|
Test:
upload-api/tables/delegations.js#L169
Parameter 'delegationCIDs' implicitly has an 'any' type.
|
Test:
upload-api/tables/revocations.js#L84
Namespace '"/home/runner/work/w3infra/w3infra/node_modules/@web3-storage/upload-api/dist/src/lib"' has no exported member 'RevocationsToMeta'.
|
Test:
upload-api/types.ts#L6
Module '"@web3-storage/upload-api"' has no exported member 'RevocationsToMeta'.
|
Test
Process completed with exit code 1.
|