feat: implement new RevocationsStorage
methods
#869
Annotations
10 errors
upload-api/tables/delegations.js#L7
'UpdateItemCommand' is declared but its value is never read.
|
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; }'.
|
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>>'.
|
upload-api/tables/delegations.js#L164
Parameter 'delegationCID' implicitly has an 'any' type.
|
upload-api/tables/delegations.js#L164
Parameter 'contextCID' implicitly has an 'any' type.
|
upload-api/tables/delegations.js#L164
Parameter 'causeCID' implicitly has an 'any' type.
|
upload-api/tables/delegations.js#L169
Parameter 'delegationCIDs' implicitly has an 'any' type.
|
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'.
|
upload-api/types.ts#L6
Module '"@web3-storage/upload-api"' has no exported member 'RevocationsToMeta'.
|
|
The logs for this run have expired and are no longer available.
Loading