feat: blob capability implementation #355
Annotations
17 errors and 7 warnings
test (18)
Property 'blob' is missing in type '{ access: { authorize: Server.ServiceMethod<Server.API.Capability<"access/authorize", `did:key:${string}` & `did:${string}` & Server.API.Phantom<{ protocol: "did:"; }>, Pick<{ iss: `did:mailto:${string}` & `did:${string}` & Server.API.Phantom<{ protocol: "did:"; }>; att: Server.Schema.InferStruct<...>[]; }, Required...' but required in type 'Service'.
|
test (18)
'BlobItemNotFound' is declared but its value is never read.
|
test (18)
Argument of type '({ capability }: ProviderInput<ParsedCapability<"blob/accept", `did:key:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }>, Pick<{ content: Uint8Array; exp: number & Phantom<{ typeof: "integer"; }>; }, RequiredKeys<...>>>>) => Promise<...>' is not assignable to parameter of type '(input: ProviderInput<ParsedCapability<"blob/accept", `did:key:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }>, Pick<{ content: Uint8Array; exp: number & Phantom<{ typeof: "integer"; }>; }, RequiredKeys<...>>>>) => Await<...>'.
|
test (18)
Type '{ content: Uint8Array; size: number & Server.API.Phantom<{ typeof: "integer"; }>; }' is not assignable to type 'InferStruct<{ content: Schema<Uint8Array, unknown>; cause: typeof import("/home/runner/work/w3up/w3up/node_modules/.pnpm/@[email protected]/node_modules/@ucanto/core/dist/src/schema/link", { assert: { "resolution-mode": "import" } }); space: Schema<...>; }>'.
|
test (18)
Cannot find name 'link'.
|
test (18)
Cannot find name 'size'.
|
test (18)
Type '{ validateAuthorization: (args_0: Authorization<ParsedCapability<Ability, URI, {}>>) => Promise<Result<{}, Revoked>>; ... 24 more ...; dealTrackerService: { ...; }; }' is missing the following properties from type 'UcantoServerContext': allocationStore, blobStore
|
test (18)
Process completed with exit code 1.
|
test (20)
The job was canceled because "_18" failed.
|
test (20)
Property 'blob' is missing in type '{ access: { authorize: Server.ServiceMethod<Server.API.Capability<"access/authorize", `did:key:${string}` & `did:${string}` & Server.API.Phantom<{ protocol: "did:"; }>, Pick<{ iss: `did:mailto:${string}` & `did:${string}` & Server.API.Phantom<{ protocol: "did:"; }>; att: Server.Schema.InferStruct<...>[]; }, Required...' but required in type 'Service'.
|
test (20)
'BlobItemNotFound' is declared but its value is never read.
|
test (20)
Argument of type '({ capability }: ProviderInput<ParsedCapability<"blob/accept", `did:key:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }>, Pick<{ content: Uint8Array; exp: number & Phantom<{ typeof: "integer"; }>; }, RequiredKeys<...>>>>) => Promise<...>' is not assignable to parameter of type '(input: ProviderInput<ParsedCapability<"blob/accept", `did:key:${string}` & `did:${string}` & Phantom<{ protocol: "did:"; }>, Pick<{ content: Uint8Array; exp: number & Phantom<{ typeof: "integer"; }>; }, RequiredKeys<...>>>>) => Await<...>'.
|
test (20)
Type '{ content: Uint8Array; size: number & Server.API.Phantom<{ typeof: "integer"; }>; }' is not assignable to type 'InferStruct<{ content: Schema<Uint8Array, unknown>; cause: typeof import("/home/runner/work/w3up/w3up/node_modules/.pnpm/@[email protected]/node_modules/@ucanto/core/dist/src/schema/link", { assert: { "resolution-mode": "import" } }); space: Schema<...>; }>'.
|
test (20)
Cannot find name 'link'.
|
test (20)
Cannot find name 'size'.
|
test (20)
Type '{ validateAuthorization: (args_0: Authorization<ParsedCapability<Ability, URI, {}>>) => Promise<Result<{}, Revoked>>; ... 24 more ...; dealTrackerService: { ...; }; }' is missing the following properties from type 'UcantoServerContext': allocationStore, blobStore
|
test (20)
Process completed with exit code 1.
|
test (18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (18)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (18)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (20)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (20)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|