Refactor/chart config custom color palettes #3068
lint-types.yml
on: pull_request
lint-typecheck-test
2m 39s
Annotations
9 errors and 1 warning
lint-typecheck-test:
app/charts/chart-config-ui-options.ts#L417
Argument of type '({ x: { componentId: string; } & { useAbbreviations?: boolean | undefined; } & { sorting?: { sortingType: "byDimensionLabel" | "byMeasure" | "byTotalSize" | "byAuto"; sortingOrder: "desc" | "asc"; } | undefined; }; y: { ...; } & ... 1 more ... & { ...; }; color: { ...; } | { ...; }; } & { ...; }) | { ...; } | ({ ......' is not assignable to parameter of type 'ArrayLike<{ componentId: string; } & { useAbbreviations?: boolean | undefined; }> | { [s: string]: { componentId: string; } & { useAbbreviations?: boolean | undefined; }; }'.
|
lint-typecheck-test:
app/charts/index.ts#L1626
Type '{ value: string | undefined; label: string | undefined; }[]' is not assignable to type 'DimensionValue[]'.
|
lint-typecheck-test:
app/configurator/components/chart-options-selector.tsx#L304
Property 'color' is missing in type '{ animation: string; x: string; y: string; segment: string; baseLayer: string; areaLayer: string; symbolLayer: string; }' but required in type 'Record<EncodingFieldType, string>'.
|
lint-typecheck-test:
app/configurator/components/chart-options-selector.tsx#L623
Property 'y' does not exist on type '({ x: { componentId: string; } & { useAbbreviations?: boolean | undefined; }; y: { componentId: string; } & { useAbbreviations?: boolean | undefined; } & { imputationType?: "none" | "linear" | "zeros" | undefined; }; color: { ...; } | { ...; }; } & { ...; }) | ... 8 more ... | { ...; }'.
|
lint-typecheck-test:
app/configurator/components/chart-options-selector.tsx#L665
Property 'color' does not exist on type '({ x: { componentId: string; } & { useAbbreviations?: boolean | undefined; }; y: { componentId: string; } & { useAbbreviations?: boolean | undefined; } & { imputationType?: "none" | "linear" | "zeros" | undefined; }; color: { ...; } | { ...; }; } & { ...; }) | ... 8 more ... | { ...; }'.
|
lint-typecheck-test:
app/configurator/components/filters.tsx#L330
Property 'colorMapping' does not exist on type '{ componentId: string; } & { useAbbreviations?: boolean | undefined; }'.
|
lint-typecheck-test:
app/configurator/components/filters.tsx#L333
Property 'colorMapping' does not exist on type '{ componentId: string; } & { useAbbreviations?: boolean | undefined; }'.
|
lint-typecheck-test:
app/configurator/components/filters.tsx#L384
Property 'paletteId' does not exist on type '{ componentId: string; } & { useAbbreviations?: boolean | undefined; }'.
|
lint-typecheck-test
Process completed with exit code 2.
|
lint-typecheck-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|