Skip to content

Migrate locator-tool to Vue #123

Migrate locator-tool to Vue

Migrate locator-tool to Vue #123

Triggered via push February 4, 2024 08:06
Status Failure
Total duration 23s
Artifacts

node-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: app/api/ltData.ts#L164
'document.body.parentElement' is possibly 'null'.
build: app/api/ltData.ts#L333
Argument of type '{ lang: string; cat: string; type: number; depth: number; json: number; }' is not assignable to parameter of type 'string | string[][] | Record<string, string> | URLSearchParams | undefined'.
build: app/api/ltData.ts#L353
Argument of type '{ language: string; project: string; depth: number; categories: string; "ns[6]": number; format: string; sparse: number; doit: number; }' is not assignable to parameter of type 'string | string[][] | Record<string, string> | URLSearchParams | undefined'.
build: app/components/useI18n.ts#L46
Element implicitly has an 'any' type because expression of type '"Limit" | "Tutorial" | "locator-tool" | "→ <a href=\"https://commons.wikimedia.org/wiki/Commons:Locator-tool\">Commons:Locator-tool</a>" | "Version:" | "LANGUAGE" | "Depth" | ... 50 more ... | "When a clipboard content containing HTML code (for instance a copied selection from a Commons gallery) is pasted here, loca...' can't be used to index type '{ Depth: { Category: string; }; "<a ui-sref=\"select\">Select files to geolocate</a> by querying a category or inputting a list of <code>File:</code>s.": string; About: string; "About locator-tool": string; ... 46 more ...; "\u2192 <a href=\"https://commons.wikimedia.org/wiki/Commons:Locator-tool\">Commons:Locator-t...'.
build: app/components/useLeafletMap.ts#L89
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "OSM <svg class=\"octicon\"><use xlink:href=\"#link-external\"></use></svg>": TileLayer; OpenTopoMap: TileLayer; "Wikimedia Maps": TileLayer; "Esri World Imagery": TileLayer; "basemap.at \uD83C\uDDE6\uD83C\uDDF9 <svg class=\"octicon\"><use xlink:href=\"#link-external\"></use></svg>": TileLayer; }'.
build: app/index.ts#L3
Cannot find module './App.vue' or its corresponding type declarations.
build: app/index.ts#L18
Cannot find module './components/ltAbout.vue' or its corresponding type declarations.
build: app/index.ts#L23
Cannot find module './components/ltFilesSelector.vue' or its corresponding type declarations.
build: app/index.ts#L28
Cannot find module './components/ltGeolocate.vue' or its corresponding type declarations.
build: app/index.ts#L33
Cannot find module './components/ltAllMap.vue' or its corresponding type declarations.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.