Skip to content

* suffix all old references to types now extending Api with `['resp… #40

* suffix all old references to types now extending Api with `['resp…

* suffix all old references to types now extending Api with `['resp… #40

Triggered via push February 14, 2024 08:38
Status Failure
Total duration 1m 11s
Artifacts

fe.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 4 warnings
codechecks
Process completed with exit code 1.
tsc
Expected 2 arguments, but got 1.
tsc
Type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }[]' is not assignable to type '(CursorPagination & { pages: { matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: Pick<...>; threads: (Thread & { ...; })[]; users: User[]; })[]'.
tsc
Property 'pages' does not exist on type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }'.
tsc
Type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }' is not assignable to type 'CursorPagination & { pages: { matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: Pick<...>; threads: (Thread & { ...; })[]; users: User[]; }'.
tsc
Type '{ errorCode: number; errorInfo: string | Record<string, unknown[]>; }' is not assignable to type 'ApiErrorClass | null'.
tsc
Module '"@/api"' has no exported member 'apiPosts'.
tsc
Property 'forum' does not exist on type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }'.
tsc
Property 'threads' does not exist on type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }'.
tsc
Property 'pages' does not exist on type '{ response: { pages: { currentCursor: string; nextCursor: string; hasMore: boolean; matchQueryPostCount: { reply: number; subReply: number; thread: number; }; notMatchQueryParentPostCount: {}; }; type: "search" | "index"; forum: { ...; }; threads: { ...; }[]; users: { ...; }[]; }; queryParam: { ...; }; }'.
tsc
Property 'fid' does not exist on type '{ id: number; fid: number; name: string; isCrawling: BoolInt; }[]'. Did you mean 'find'?
eslint: fe/src/api/index.d.ts#L29
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L30
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L31
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L32
Expected indentation of 4 spaces but found 0
eslint: fe/src/api/index.d.ts#L40
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L41
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L42
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L43
Expected indentation of 8 spaces but found 4
eslint: fe/src/api/index.d.ts#L44
Expected indentation of 4 spaces but found 0
eslint: fe/src/components/Post/renderers/RendererTable.vue#L56
Using v-html on component may break component's content
eslint: fe/src/components/Post/renderers/RendererList.vue#L110
'v-html' directive can lead to XSS attack
eslint: fe/src/components/Post/renderers/RendererList.vue#L142
'v-html' directive can lead to XSS attack
eslint: fe/src/components/Post/renderers/RendererTable.vue#L56
'v-html' directive can lead to XSS attack
eslint: fe/src/components/Post/renderers/RendererTable.vue#L75
'v-html' directive can lead to XSS attack