Skip to content

refactor(types): fix kanbanItem circular types #13268

refactor(types): fix kanbanItem circular types

refactor(types): fix kanbanItem circular types #13268

Triggered via push October 29, 2024 13:19
Status Failure
Total duration 10m 53s
Artifacts

e2e.yml

on: push
Matrix: e2e
Fit to window
Zoom out
Zoom in

Annotations

65 errors
cache
Unused '@ts-expect-error' directive.
cache
'generateShapeMap' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
cache
'shapes' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
cache
Type alias 'ShapeID' circularly references itself.
cache
'kanbanItem' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
cache
'shapeSvg' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
cache
Untyped function calls may not accept type arguments.
cache
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
cache
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
cache
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (1)
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
e2e (1)
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
e2e (1)
Object is possibly 'null'.
e2e (1)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (1)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (1)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (1)
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (1)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (1)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (1)
Expected 1 arguments, but got 2.
e2e (1)
Could not find Cypress test run results
e2e (2)
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
e2e (2)
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
e2e (2)
Object is possibly 'null'.
e2e (2)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (2)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (2)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (2)
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (2)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (2)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (2)
Expected 1 arguments, but got 2.
e2e (2)
Could not find Cypress test run results
e2e (5)
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
e2e (5)
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
e2e (5)
Object is possibly 'null'.
e2e (5)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (5)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (5)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (5)
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (5)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (5)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (5)
Expected 1 arguments, but got 2.
e2e (5)
Could not find Cypress test run results
e2e (4)
Could not find Cypress test run results
e2e (4)
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
e2e (4)
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
e2e (4)
Object is possibly 'null'.
e2e (4)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (4)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (4)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (4)
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (4)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (4)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (4)
Expected 1 arguments, but got 2.
e2e (3)
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
e2e (3)
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
e2e (3)
Object is possibly 'null'.
e2e (3)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (3)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (3)
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
e2e (3)
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (3)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (3)
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
e2e (3)
Expected 1 arguments, but got 2.
e2e (3)
Could not find Cypress test run results