Skip to content

fix(common): yarn check #446

fix(common): yarn check

fix(common): yarn check #446

Triggered via pull request January 14, 2025 16:15
Status Success
Total duration 4m 34s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

89 errors and 1 warning
Argument of type 'Record<keyof TelegramBotFormattedContextType, any>' is not assignable to parameter of type 'Record<keyof TelegramBotFormattedContextType, never>'.: .yarn/__virtual__/@booking-telegram-bot-tgsnake-adapter-virtual-665230af63/1/booking-telegram-bot/adapters/tgsnake-adapter/src/getters/get-formatted-context.getter.ts#L19
Argument of type 'Record<keyof TelegramBotFormattedContextType, any>' is not assignable to parameter of type 'Record<keyof TelegramBotFormattedContextType, never>'. Types of property 'userId' are incompatible. Type 'any' is not assignable to type 'never'.
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'.: .yarn/__virtual__/@globals-data-virtual-44e28f67e7/1/globals/data/src/getters/aqsi-data-getter/format-output-data-helper/format-output-data.helper.ts#L78
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'. Type '{ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Type '{ service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Types of property 'carBody' are incompatible. Type '{ wpVariant: string; aqsiVariant: string; }' is not assignable to type 'string'.
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'.: .yarn/__virtual__/@globals-data-virtual-d8255fbbef/1/globals/data/src/getters/aqsi-data-getter/format-output-data-helper/format-output-data.helper.ts#L78
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'. Type '{ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Type '{ service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Types of property 'carBody' are incompatible. Type '{ wpVariant: string; aqsiVariant: string; }' is not assignable to type 'string'.
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.: .yarn/__virtual__/@telegram-bot-application-module-virtual-46abbb83d2/1/booking-telegram-bot/contexts/telegram-bot/application-module/src/interfaces/question-answer-pair.abstract-class.ts#L42
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'.
Argument of type 'Record<keyof TelegramBotFormattedContextType, any>' is not assignable to parameter of type 'Record<keyof TelegramBotFormattedContextType, never>'.: booking-telegram-bot/adapters/tgsnake-adapter/src/getters/get-formatted-context.getter.ts#L19
Argument of type 'Record<keyof TelegramBotFormattedContextType, any>' is not assignable to parameter of type 'Record<keyof TelegramBotFormattedContextType, never>'. Types of property 'userId' are incompatible. Type 'any' is not assignable to type 'never'.
Argument of type 'object' is not assignable to parameter of type 'Record<string, unknown>'.: booking-telegram-bot/contexts/api/application-module/src/use-cases/write-booking-data.use-case.ts#L18
Argument of type 'object' is not assignable to parameter of type 'Record<string, unknown>'. Index signature for type 'string' is missing in type '{}'.
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.: booking-telegram-bot/contexts/telegram-bot/application-module/src/interfaces/question-answer-pair.abstract-class.ts#L42
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'.
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'.: globals/data/src/getters/aqsi-data-getter/format-output-data-helper/format-output-data.helper.ts#L78
Type '({ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; })[]' is not assignable to type 'ServicesDataToReplaceType'. Type '{ service: string; radii: string; carBody: string; price: number; } | { service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Type '{ service: string; radii: string; carBody: { wpVariant: string; aqsiVariant: string; }; price: number; }' is not assignable to type '{ service: string; carBody: string; radii: string; price: number; }'. Types of property 'carBody' are incompatible. Type '{ wpVariant: string; aqsiVariant: string; }' is not assignable to type 'string'.
'Container' cannot be used as a value because it was exported using 'export type'.: ui/radio/src/radio.component.tsx#L14
'Container' cannot be used as a value because it was exported using 'export type'.
'Container' cannot be used as a value because it was exported using 'export type'.: ui/radio/src/radio.component.tsx#L18
'Container' cannot be used as a value because it was exported using 'export type'.
'Arrow' cannot be used as a value because it was exported using 'export type'.: ui/select/src/select.component.tsx#L49
'Arrow' cannot be used as a value because it was exported using 'export type'.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: blog/app/next.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/blog/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: blog/app/sentry.client.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: blog/app/sentry.edge.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: blog/app/sentry.server.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/blog/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: site/app/next.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/site/app/next.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: site/app/sentry.client.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.client.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: site/app/sentry.edge.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.edge.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(unknown): Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.: site/app/sentry.server.config.js#L1
Parsing error: /home/runner/work/shdvor/shdvor/site/app/sentry.server.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject.
(react/jsx-no-leaked-render): Potential leaked value that might cause unintentionally rendered values or rendering crashes: ui/button/src/button.component.tsx#L53
Potential leaked value that might cause unintentionally rendered values or rendering crashes
(react/jsx-no-leaked-render): Potential leaked value that might cause unintentionally rendered values or rendering crashes: ui/button/src/button.component.tsx#L55
Potential leaked value that might cause unintentionally rendered values or rendering crashes
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/ArrowDown.icon.tsx#L20
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/ArrowLeft.icon.tsx#L20
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/ArrowRight.icon.tsx#L20
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/Back.icon.tsx#L22
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/Check.icon.tsx#L20
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/Close.icon.tsx#L22
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
(prefer-object-spread): Use an object spread instead of `Object.assign` eg: `{ ...foo }`.: ui/icons/src/DropDown.icon.tsx#L20
Use an object spread instead of `Object.assign` eg: `{ ...foo }`.
Checks / Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636