Skip to content

chore: Wip/oa v4 types #64

chore: Wip/oa v4 types

chore: Wip/oa v4 types #64

Triggered via pull request April 25, 2024 04:30
Status Failure
Total duration 53s
Artifacts

pull_requests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 6 warnings
Tests / Test Build: src/index.ts#L29
'"./4.0/wrap"' has no exported member named 'wrapDocuments'. Did you mean 'wrapDocument'?
Tests / Test Build: src/index.ts#L81
Property 'v4' does not exist on type 'typeof SchemaId'.
Tests / Test Build: src/index.ts#L98
Cannot find name 'OpenAttestationDocumentV4'. Did you mean 'OpenAttestationDocument'?
Tests / Test Build: src/index.ts#L118
Cannot find name 'OpenAttestationDocumentV4'. Did you mean 'OpenAttestationDocument'?
Tests / Test Build: src/index.ts#L124
Argument of type 'WrappedDocument<T> & OpenAttestationDocument & { version: SchemaId.v3; schema?: string | undefined; proof: { type: "OpenAttestationMerkleProofSignature2018"; ... 5 more ...; proofPurpose: "assertionMethod"; }; }' is not assignable to parameter of type 'WrappedDocument<OpenAttestationDocument>'.
Tests / Test Build: src/index.ts#L125
Argument of type 'WrappedDocument<T> & Omit<{ type: ["VerifiableCredential", "OpenAttestationCredential", ...string[]]; issuer: { type: "OpenAttestationIssuer"; name: string; identityProof: { ...; }; id: string; }; ... 10 more ...; renderMethod?: ({ ...; } | { ...; })[] | undefined; }, "proof"> & Pick<...>' is not assignable to parameter of type 'V4WrappedDocument<{ type: ["VerifiableCredential", "OpenAttestationCredential", ...string[]]; issuer: { type: "OpenAttestationIssuer"; name: string; identityProof: { identifier: string; identityProofType: "DNS-TXT" | ... 1 more ... | "DNS-DID"; }; id: string; }; ... 10 more ...; renderMethod?: ({ ...; } | { ...; })[...'.
Tests / Test Build: src/index.ts#L145
'"/home/runner/work/open-attestation/open-attestation/src/4.0/types"' has no exported member named 'SignedWrappedDocument'. Did you mean 'V4SignedWrappedDocument'?
Tests / Test Build: src/index.ts#L145
'"/home/runner/work/open-attestation/open-attestation/src/4.0/types"' has no exported member named 'WrappedDocument'. Did you mean 'V4WrappedDocument'?
Tests / Test Build: src/index.ts#L148
'"/home/runner/work/open-attestation/open-attestation/src/4.0/types"' has no exported member named 'SignedWrappedDocument'. Did you mean 'V4SignedWrappedDocument'?
Tests / Test Build: src/shared/@types/document.ts#L4
Cannot find module '../../__generated__/schema.4.0' or its corresponding type declarations.
Linters / Commit Lint
Error: subject-empty:subject may not be empty type-empty:type may not be empty
Linters / Commit Lint
subject-empty:subject may not be empty type-empty:type may not be empty
Tests / Run Tests
Process completed with exit code 1.
Tests / Test Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linters / Code Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linters / Commit Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, JulienKode/pull-request-name-linter-action@v0.5.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linters / Commit Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: JulienKode/pull-request-name-linter-action@v0.5.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests / Run Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ESLint Review
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.