Skip to content

added optional outline prop to board-builder #156

added optional outline prop to board-builder

added optional outline prop to board-builder #156

Triggered via pull request August 26, 2024 21:06
Status Failure
Total duration 31s
Artifacts

buildcheck.yml

on: pull_request
build-check
18s
build-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build-check: src/lib/builder/trace-builder/build-pcb-trace-elements.ts#L191
Property 'route_thickness_mode' is missing in type '{ type: "pcb_trace"; pcb_trace_id: string; source_trace_id: string; route: ({ x: number; y: number; width: number; layer: string; route_type: "wire"; start_pcb_port_id?: string | undefined; end_pcb_port_id?: string | undefined; } | { ...; })[]; }' but required in type '{ type: "pcb_trace"; pcb_trace_id: string; route_thickness_mode: "constant" | "interpolated"; route: ({ x: number; y: number; width: number; layer: string; route_type: "wire"; start_pcb_port_id?: string | undefined; end_pcb_port_id?: string | undefined; } | { ...; })[]; source_trace_id?: string | undefined; pcb_comp...'.
build-check: src/lib/builder/board-builder.ts#L104
Type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 51 more ... | { ...; }' is not assignable to type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 50 more ... | { ...; }'.
build-check: src/lib/builder/board-builder.ts#L105
Type '{ type: "pcb_board"; center: { x: number; y: number; }; width: number; height: number; outline: { x: number; y: number; }[]; }' is not assignable to type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 50 more ... | { ...; }'.
build-check: src/lib/builder/component-builder/BugBuilder.ts#L206
Argument of type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 48 more ... | { ...; }' is not assignable to parameter of type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 50 more ... | { ...; }'.
build-check: src/lib/builder/component-builder/CapacitorBuilder.ts#L123
Argument of type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 48 more ... | { ...; }' is not assignable to parameter of type '{ type: "source_trace"; source_trace_id: string; connected_source_port_ids: string[]; connected_source_net_ids: string[]; } | { type: "source_port"; source_component_id: string; name: string; source_port_id: string; pin_number?: number | undefined; port_hints?: string[] | undefined; } | ... 50 more ... | { ...; }'.
build-check: src/lib/builder/component-builder/ComponentBuilder.ts#L458
Property 'rotationOffset' does not exist on type '{}'.
build-check: src/lib/builder/component-builder/ComponentBuilder.ts#L493
Type '{}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.
build-check: src/lib/builder/component-builder/ComponentBuilder.ts#L494
Type 'unknown' is not assignable to type 'string | undefined'.
build-check: src/lib/builder/component-builder/ComponentBuilder.ts#L495
Type '{}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.
build-check: src/lib/builder/component-builder/ComponentBuilder.ts#L496
Type 'unknown' is not assignable to type 'string | undefined'.
build-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/