Skip to content
Triggered via pull request October 23, 2023 18:15
@bryantgillespiebryantgillespie
synchronize #27
dev
Status Failure
Total duration 1m 51s
Artifacts

typecheck.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Typecheck: layers/portal/pages/portal/projects/index.vue#L103
Type 'undefined' cannot be used as an index type.
Typecheck: modules/directus/runtime/composables/useDirectusAuth.ts#L24
Property 'login' does not exist on type 'RestClient<Schema>'.
Typecheck: modules/directus/runtime/composables/useDirectusAuth.ts#L38
Property 'getToken' does not exist on type 'RestClient<Schema>'.
Typecheck: modules/directus/runtime/composables/useDirectusAuth.ts#L40
Property 'logout' does not exist on type 'RestClient<Schema>'.
Typecheck: modules/directus/runtime/composables/useDirectusAuth.ts#L53
Type '(string | {})[]' is not assignable to type 'readonly ("github" | "linkedin" | "theme" | "avatar" | "title" | "description" | "id" | "*" | "status" | "location" | "tags" | "first_name" | "last_name" | "email" | "password" | "language" | ... 21 more ... | FunctionFields<...>)[]'.
Typecheck: modules/directus/runtime/plugins/auth.ts#L31
Property '_loggedIn' does not exist on type '{ user: Ref<unknown>; login: (email: string, password: string, otp?: string | undefined) => Promise<void>; logout: () => Promise<void>; fetchUser: (params?: object | undefined) => Promise<...>; isTokenExpired: (token: string) => Promise<...>; }'.
Typecheck: modules/directus/runtime/plugins/auth.ts#L36
Property '_loggedIn' does not exist on type '{ user: Ref<unknown>; login: (email: string, password: string, otp?: string | undefined) => Promise<void>; logout: () => Promise<void>; fetchUser: (params?: object | undefined) => Promise<...>; isTokenExpired: (token: string) => Promise<...>; }'.
Typecheck: modules/directus/runtime/plugins/auth.ts#L37
'$directus' is of type 'unknown'.
Typecheck: modules/directus/runtime/plugins/directus.ts#L39
Type 'CookieStorage' is not assignable to type 'AuthenticationStorage'.
Typecheck: server/api/_sitemap-urls.ts#L12
Type '{ status: { _eq: string; }; }' is missing the following properties from type 'QueryFilter<Schema, Post>': title, type, id, content, and 20 more.