Skip to content

fix: omg

fix: omg #36

Triggered via push July 16, 2023 07:32
Status Failure
Total duration 1m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
ci: pages/dashboard/index.vue#L125
'__VLS_ctx.surveys' is possibly 'null'.
ci: pages/dashboard/index.vue#L151
'__VLS_ctx.surveys' is possibly 'null'.
ci: pages/dashboard/surveys/[id]/index.vue#L63
Argument of type '{ title: string; id: string; description: string; workshop: boolean; questions: string | number | boolean | JsonObject | { [x: number]: string | number | boolean | JsonObject | ... | null; ... 36 more ...; readonly [Symbol.unscopables]: { ...; }; } | null; permissions: string | ... 4 more ... | null; } | { ...; }' is not assignable to parameter of type '{ title: string; id: string; description: string; workshop: boolean; questions: { title: string; type: "text" | "mcq"; options: string[]; description: string; }[]; permissions: { email: string; permission: "read"; }[]; }'.
ci: pages/dashboard/surveys/[id]/index.vue#L74
'formData.value.questions' is possibly 'null'.
ci: pages/dashboard/surveys/[id]/index.vue#L74
Property 'push' does not exist on type 'string | number | boolean | JsonObject | { [x: number]: string | number | boolean | JsonObject | ... | null; length: number; toString: () => string; toLocaleString: () => string; ... 33 more ...; readonly [Symbol.unscopables]: { ...; }; } | { ...; }[]'.
ci: pages/dashboard/surveys/[id]/index.vue#L88
'formData.value.questions' is possibly 'null'.
ci: pages/dashboard/surveys/[id]/index.vue#L88
Property 'splice' does not exist on type 'string | number | boolean | JsonObject | { [x: number]: string | number | boolean | JsonObject | ... | null; length: number; toString: () => string; toLocaleString: () => string; ... 33 more ...; readonly [Symbol.unscopables]: { ...; }; } | { ...; }[]'.
ci: pages/dashboard/surveys/[id]/index.vue#L96
'formData.value.questions' is possibly 'null'.
ci: pages/dashboard/surveys/[id]/index.vue#L96
Element implicitly has an 'any' type because expression of type 'number' can't be used to index type 'string | number | boolean | JsonObject | { [x: number]: string | number | boolean | JsonObject | ... | null; length: number; toString: () => string; toLocaleString: () => string; ... 33 more ...; readonly [Symbol.unscopables]: { ...; }; } | { ...; }[]'.
ci: pages/dashboard/surveys/[id]/index.vue#L100
'formData.value.questions' is possibly 'null'.
ci: docs/.vitepress/theme/index.ts#L13
'app' is defined but never used. Allowed unused args must match /^_/u
ci: docs/.vitepress/theme/index.ts#L13
'router' is defined but never used. Allowed unused args must match /^_/u
ci: docs/.vitepress/theme/index.ts#L13
'siteData' is defined but never used. Allowed unused args must match /^_/u
ci: pages/dashboard/index.vue#L21
'pastWinnersPending' is assigned a value but never used. Allowed unused vars must match /^_/u
ci: pages/dashboard/index.vue#L21
'pastWinnersError' is assigned a value but never used. Allowed unused vars must match /^_/u
ci: pages/dashboard/surveys/[id]/index.vue#L148
UnoCSS attributes are not ordered
ci: pages/dashboard/surveys/[id]/index.vue#L258
Variable '_' is already declared in the upper scope
ci: pages/s/[id]/index.vue#L14
'config' is assigned a value but never used. Allowed unused vars must match /^_/u
ci: server/api/healthz.get.ts#L5
'event' is defined but never used. Allowed unused args must match /^_/u