Skip to content

feat: Post API route testing and fine tuning #2250

feat: Post API route testing and fine tuning

feat: Post API route testing and fine tuning #2250

Triggered via pull request January 18, 2025 17:47
Status Failure
Total duration 1m 24s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 15 warnings
typecheck
Argument of type '{ id: string; title: string; description: string; content: string; type: string; status: string; createdAt: string; updatedAt: string; } | undefined' is not assignable to parameter of type '{} | any[]'.
typecheck
Type 'undefined' cannot be used as an index type.
typecheck
'body' is possibly 'null' or 'undefined'.
typecheck
Property 'title' does not exist on type 'string | number | boolean | Record<string, any> | DefaultRequestMultipartBody'.
typecheck
ai-hero#typecheck: command (/home/runner/work/course-builder/course-builder/apps/ai-hero) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (1)
typecheck
'body' is possibly 'null' or 'undefined'.
typecheck
Property 'title' does not exist on type 'string | number | boolean | Record<string, any> | DefaultRequestMultipartBody'.
typecheck
Spread types may only be created from object types.
typecheck
Process completed with exit code 1.
Check Changeset
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: cli/src/cli/index.ts#L83
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/base.ts#L51
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/with-drizzle.ts#L55
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-app/with-prisma.ts#L54
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/base.ts#L52
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/with-drizzle.ts#L56
Comment is not formatted correctly
lint: cli/template/extras/src/server/auth-pages/with-prisma.ts#L55
Comment is not formatted correctly
lint: cli/template/extras/src/trpc/server.ts#L39
Comment is not formatted correctly
lint: cli/template/extras/src/utils/api.ts#L24
Comment is not formatted correctly
lint: cli/template/extras/src/utils/api.ts#L31
Comment is not formatted correctly
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636