Skip to content

refactor: 重构并适配新版本 #10

refactor: 重构并适配新版本

refactor: 重构并适配新版本 #10

Triggered via pull request December 18, 2024 14:22
@sj817sj817
opened #35
karin
Status Failure
Total duration 37s
Artifacts

build-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/core/adapter/adapter.ts#L4
Module '"node-karin"' has no exported member 'AdapterBase'. Did you mean to use 'import AdapterBase from "node-karin"' instead?
build: src/core/adapter/adapter.ts#L4
Module '"node-karin"' has no exported member 'karinToQQBot'. Did you mean to use 'import karinToQQBot from "node-karin"' instead?
build: src/core/adapter/adapter.ts#L13
'"node-karin"' has no exported member named 'ButtonElementType'. Did you mean 'ButtonElement'?
build: src/core/adapter/adapter.ts#L14
'"node-karin"' has no exported member named 'KeyboardElementType'. Did you mean 'KeyBoardElement'?
build: src/core/adapter/adapter.ts#L15
'"node-karin"' has no exported member named 'MarkdownElementType'. Did you mean 'MarkdownElement'?
build: src/core/adapter/adapter.ts#L16
'"node-karin"' has no exported member named 'MarkdownTplElementType'. Did you mean 'MarkdownElement'?
build: src/core/adapter/adapter.ts#L17
Module '"node-karin"' has no exported member 'SendMsgResults'. Did you mean to use 'import SendMsgResults from "node-karin"' instead?
build: src/core/adapter/adapter.ts#L79
Property 'adapter' does not exist on type 'AdapterQQBot'.
build: src/core/adapter/adapter.ts#L80
Property 'adapter' does not exist on type 'AdapterQQBot'.
build: src/core/adapter/adapter.ts#L81
Property 'adapter' does not exist on type 'AdapterQQBot'.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636