Skip to content

feat(aih): adds posts api and oauth device flow #2164

feat(aih): adds posts api and oauth device flow

feat(aih): adds posts api and oauth device flow #2164

Triggered via pull request January 7, 2025 02:37
Status Failure
Total duration 1m 54s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 15 warnings
typecheck
Property 'user' does not exist on type '{ user: { id: string; role: "user" | "admin"; email: string; memberships: { id: string; organizationId: string; }[] | null; roles: { id: string; name: string; description: string | null; active: boolean; createdAt?: Date | ... 1 more ... | undefined; updatedAt?: Date | ... 1 more ... | undefined; deletedAt?: Date | ...'.
typecheck
Type '(input: { title: string; videoResourceId: string; postType: "lesson" | "tip" | "podcast"; }) => Promise<{ type: string; id: string; fields: { state: "draft" | "published" | "archived" | "deleted"; ... 8 more ...; gitpod?: string | ... 1 more ... | undefined; }; ... 8 more ...; tags?: any[] | ... 1 more ... | undefin...' is not assignable to type '(values: { title: string; videoResourceId: string; }) => Promise<{ id: string; organizationId: string | null; type: string; createdAt: Date | null; updatedAt: Date | null; deletedAt: Date | null; ... 4 more ...; fields?: Record<...> | ... 1 more ... | undefined; } | null>'.
typecheck
'session' is possibly 'null'.
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
'session' is possibly 'null'.
typecheck
'session' is possibly 'null'.
typecheck
'session' is possibly 'null'.
typecheck
'session' is possibly 'null'.
typecheck
'session' is possibly 'null'.
typecheck
'session' is possibly 'null'.
format
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
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
typecheck
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