feat(aih): adds posts api and oauth device flow #2164
Annotations
10 errors and 1 warning
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'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading