move types to types file #40
Annotations
20 errors and 1 warning
unit-test
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../diagram-api/types.js'?
|
unit-test
Type '{ box: Box | undefined; name: string; description: string; wrap: boolean; prevActor: string | undefined; links: {}; properties: {}; actorCnt: null; rectData: null; type: string; }' is missing the following properties from type 'Actor': stopx, stopy, height, startx, and 4 more.
|
unit-test
Type 'Record<string, unknown>' is not assignable to type 'Record<string, string>'.
|
unit-test
Type 'unknown' is not assignable to type 'string'.
|
unit-test
Parameter 'elem' implicitly has an 'any' type.
|
unit-test
Parameter 'actor' implicitly has an 'any' type.
|
unit-test
Parameter 'conf' implicitly has an 'any' type.
|
unit-test
Parameter 'isFooter' implicitly has an 'any' type.
|
unit-test
Parameter 'elem' implicitly has an 'any' type.
|
unit-test
Parameter 'actor' implicitly has an 'any' type.
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when parsing a sequenceDiagram > should not show sequence numbers per default:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:212:5
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when parsing a sequenceDiagram > should show sequence numbers when autonumber is enabled:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:224:5
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA >
it should handle one actor, when textPlacement is tspan:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1651:7
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA >
it should handle one actor, when textPlacement is fo:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1651:7
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA >
it should handle one actor, when textPlacement is old:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1651:7
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA >
it should handle one actor, when textPlacement is undefined:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1651:7
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA > should handle one actor and a centered note:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1682:5
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA > should handle one actor and a note to the left:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1698:5
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA > should handle one actor and a note to the right:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1714:5
|
packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js > when rendering a sequenceDiagram APA > should handle two actors:
packages/mermaid/src/diagrams/sequence/svgDraw.ts#L409
TypeError: rectElem.node is not a function
❯ drawActorTypeParticipant packages/mermaid/src/diagrams/sequence/svgDraw.ts:409:29
❯ Object.drawActor packages/mermaid/src/diagrams/sequence/svgDraw.ts:519:20
❯ drawActors packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:563:21
❯ Object.draw packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts:1042:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDiagram.spec.js:1729:5
|
unit-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|