Fix transform schema mapping #37
Annotations
4 errors and 13 warnings
|
test
Process completed with exit code 1.
|
|
typecheck
Process completed with exit code 2.
|
|
typecheck:
src/lib/yaml/transform.ts#L64
Conversion of type '{ webhookUrl: string; mentionText?: string | undefined; channelType: "email" | "webhook" | "slack" | "pagerduty" | "opsgenie" | "teams" | "discord"; } | { webhookUrl: string; mentionRoleId?: string | undefined; channelType: "email" | ... 5 more ... | "discord"; } | ... 4 more ... | { ...; }' to type '({ channelType: "DiscordChannelConfig"; } & Omit<{ channelType: string; }, "channelType"> & { webhookUrl: string; mentionRoleId?: string | null | undefined; }) | ({ channelType: "EmailChannelConfig"; } & Omit<...> & { ...; }) | ... 4 more ... | ({ ...; } & ... 1 more ... & { ...; })' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
test:
src/lib/yaml/transform.ts#L64
Conversion of type '{ webhookUrl: string; mentionText?: string | undefined; channelType: "email" | "webhook" | "slack" | "pagerduty" | "opsgenie" | "teams" | "discord"; } | { webhookUrl: string; mentionRoleId?: string | undefined; channelType: "email" | ... 5 more ... | "discord"; } | ... 4 more ... | { ...; }' to type '({ channelType: "DiscordChannelConfig"; } & Omit<{ channelType: string; }, "channelType"> & { webhookUrl: string; mentionRoleId?: string | null | undefined; }) | ({ channelType: "EmailChannelConfig"; } & Omit<...> & { ...; }) | ... 4 more ... | ({ ...; } & ... 1 more ... & { ...; })' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint:
src/commands/status-pages/groups/list.ts#L16
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/domains/list.ts#L19
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/domains/list.ts#L18
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/domains/list.ts#L17
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/domains/list.ts#L16
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/components/list.ts#L20
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/components/list.ts#L19
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/components/list.ts#L18
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/components/list.ts#L17
Unexpected any. Specify a different type
|
|
lint:
src/commands/status-pages/components/list.ts#L16
Unexpected any. Specify a different type
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|