Skip to content

feat(#3247, #3307): add skeleton on cards while validating #2193

feat(#3247, #3307): add skeleton on cards while validating

feat(#3247, #3307): add skeleton on cards while validating #2193

Status Failure
Total duration 30m 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
Fit to window
Zoom out
Zoom in

Annotations

14 errors
type_check
Property 'metadataStatus' does not exist on type 'ProposalData'.
type_check
Property 'metadataValid' does not exist on type 'ProposalData'.
type_check
Property 'metadataStatus' does not exist on type 'DRepData'.
type_check
Property 'metadataStatus' does not exist on type 'DRepData'.
type_check
'MetadataValidationStatus' is declared but its value is never read.
type_check
'isValidating' is declared but its value is never read.
type_check
Conversion of type '{ deposit: number; drepId: string; latestRegistrationDate: string; status: DRepStatus.Active; type: "DRep"; url: string; view: string; votingPower: number; paymentAddress: string; givenName: string; ... 6 more ...; metadataValid: boolean; }' to type 'DRepData' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
type_check
Object literal may only specify known properties, and 'metadataStatus' does not exist in type 'DRepData'.
type_check
Type '{ about: string; createdDate: string; createdEpochNo: number; expiryDate: string; expiryEpochNo: number; index: number; inProgress: boolean; onClick: Mock<Procedure>; title: string; ... 15 more ...; prevGovActionTxHash: null; }' is not assignable to type 'Partial<{ type: GovernanceActionType; index: number; references?: Reference[] | undefined; title?: string | undefined; url: string; abstract?: string | undefined; ... 19 more ...; inProgress?: boolean | undefined; }> & { ...; }'.
type_check
Type '{ inProgress: true; about: string; createdDate: string; createdEpochNo: number; expiryDate: string; expiryEpochNo: number; index: number; onClick: Mock<Procedure>; title: string; ... 15 more ...; prevGovActionTxHash: null; }' is not assignable to type 'Partial<{ type: GovernanceActionType; index: number; references?: Reference[] | undefined; title?: string | undefined; url: string; abstract?: string | undefined; ... 19 more ...; inProgress?: boolean | undefined; }> & { ...; }'.
lint: govtool/frontend/src/models/api.ts#L1
'MetadataValidationStatus' is defined but never used
lint: govtool/frontend/src/pages/GovernanceActionDetails.tsx#L56
'isValidating' is assigned a value but never used
lint
Process completed with exit code 1.
test
Process completed with exit code 1.