Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Fix ActionViz

Fix ActionViz #824

Triggered via push August 3, 2023 03:38
Status Failure
Total duration 1m 19s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
cypress-tests: src/ActionViz.tsx#L181
Argument of type 'PotentiallyStructurallyCloned<ActionObject<any, any, any, BaseActionObject>>' is not assignable to parameter of type 'ActionObject<any, any, any, BaseActionObject>'.
cypress-tests: src/CanvasContainer.tsx#L462
Argument of type 'State<{ ref: MutableRefObject<HTMLElement> | null; }, UnionFromCreatorsReturnTypes<FinalEventCreators<{ LOCK: () => {}; RELEASE: () => {}; ENABLE_PANNING: (sessionSeed?: DragSession | null) => { ...; }; ... 7 more ...; WHEEL_RELEASED: () => {}; }>>, any, { ...; }, ResolveTypegenMeta<...>>' is not assignable to parameter of type 'AnyState'.
cypress-tests: src/CanvasView.tsx#L55
Argument of type 'AnyStateMachine' is not assignable to parameter of type 'StateNode<any, any, EventObject, { value: any; context: any; }, ServiceMap, TypegenDisabled>'.
cypress-tests: src/EditorPanel.tsx#L173
Argument of type 'State<{ sourceID: string | null; sourceProvider: SourceProvider | null; sourceRawContent: string | null; sourceRegistryData: SourceRegistryData | null; notifRef: ActorRefWithDeprecatedState<...>; loggedInUserId: string | null; desiredMachineName: string | null; }, UnionFromCreatorsReturnTypes<...>, any, { ...; }, Re...' is not assignable to parameter of type 'SourceMachineState'.
cypress-tests: src/EditorPanel.tsx#L388
Argument of type 'State<{ sourceID: string | null; sourceProvider: SourceProvider | null; sourceRawContent: string | null; sourceRegistryData: SourceRegistryData | null; notifRef: ActorRefWithDeprecatedState<...>; loggedInUserId: string | null; desiredMachineName: string | null; }, UnionFromCreatorsReturnTypes<...>, any, { ...; }, Re...' is not assignable to parameter of type 'SourceMachineState'.
cypress-tests: src/EditorPanel.tsx#L397
Argument of type 'State<{ sourceID: string | null; sourceProvider: SourceProvider | null; sourceRawContent: string | null; sourceRegistryData: SourceRegistryData | null; notifRef: ActorRefWithDeprecatedState<...>; loggedInUserId: string | null; desiredMachineName: string | null; }, UnionFromCreatorsReturnTypes<...>, any, { ...; }, Re...' is not assignable to parameter of type 'SourceMachineState'.
cypress-tests: src/SimulationContext.tsx#L7
Type 'Interpreter<{ state: AnyState | undefined; notifRef: ActorRefWithDeprecatedState<{}, { message: string; status: "error" | "info" | "warning" | "success" | undefined; title: string | undefined; type: "BROADCAST"; }, { ...; }, ResolveTypegenMeta<...>>; serviceDataMap: Record<...>; currentSessionId: string | null; even...' does not satisfy the constraint 'Interpreter<any, any, any, { value: any; context: any; }, TypegenDisabled>'.
cypress-tests: src/StateNodeViz.tsx#L74
Argument of type 'AnyState | undefined' is not assignable to parameter of type 'StateValue | State<any, any, any, { value: any; context: any; }, ResolveTypegenMeta<TypegenDisabled, any, BaseActionObject, ServiceMap>> | undefined'.
cypress-tests: src/TransitionViz.tsx#L46
Object is possibly 'undefined'.
cypress-tests: src/authContext.tsx#L6
Type 'Interpreter<{ client: SupabaseClient; notifRef: ActorRefWithDeprecatedState<{}, { message: string; status: "error" | "info" | "warning" | "success" | undefined; title: string | undefined; type: "BROADCAST"; }, { ...; }, ResolveTypegenMeta<...>>; sourceRef: ActorRefWithDeprecatedState<...> | null; loggedInUserData: L...' does not satisfy the constraint 'Interpreter<any, any, any, { value: any; context: any; }, TypegenDisabled>'.