Page MenuHomePhabricator

Use eslint-config-wikimedia 0.17.x in wikibase/termbox
Open, Needs TriagePublic

Description

When updating the wikibase/termbox repo's eslint-config-wikimedia to its current 0.17.0 release and updating eslint to 7.10.0 for task T254495: Use eslint-config-wikimedia 0.17.x in all repositories with Selenium tests, I receive nearly 900 errors when running npm run test:lint.

Most errors are node/no-object-assign, node/no-missing-import, es/no-object-values.

I understand that the node/no-missing-import errors are mostly coming from an issue with the module alias @ defined in package.json but I'm not certain how to resolve this or proceed on the other errors. Does anyone have any advice?

Event Timeline

jaredblumer updated the task description. (Show Details)
jaredblumer updated the task description. (Show Details)

@jaredblumer can you please push the commit to gerrit?

@zeljkofilipin By that do you mean committing to the repo with a patch that fails to add comments? Or is there a way to push this directly to Gerrit?

@jaredblumer I'm not sure I understood you. 😬

What I've suggested is to push the patch to gerrit the usual way. If I understood you correctly, you've started working on a patch for wikibase/termbox. Just create a commit and push it to gerrit the usual way. It doesn't matter if CI fails in Gerrit.

@zeljkofilipin I see. That makes sense. I will do that at some point today. Thanks!

Change 635103 had a related patch set uploaded (by Jared Blumer; owner: Jared Blumer):
[wikibase/termbox@master] eslint: Update to eslint-config-wikimedia 0.17.0

https://gerrit.wikimedia.org/r/635103

@jaredblumer how do you run this locally? I'm getting this (for master branch):

1~/Documents/gerrit/wikibase/termbox$ npm run test
2
3> wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
4> npm-run-all test:*
5
6
7> wikibase-termbox@0.1.0 test:lint /Users/z/Documents/gerrit/wikibase/termbox
8> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
9
10 DONE No lint errors found!
11Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
12
13> wikibase-termbox@0.1.0 test:unit /Users/z/Documents/gerrit/wikibase/termbox
14> vue-cli-service test:unit
15
16 PASS tests/unit/components/AliasesEdit.spec.ts
17 PASS tests/unit/components/AllEnteredLanguagesExpandable.spec.ts
18 PASS tests/unit/components/MonolingualFingerprintView.spec.ts
19 PASS tests/unit/server-entry.spec.ts
20 PASS tests/unit/components/TermBox.spec.ts
21 PASS tests/unit/components/AnonEditWarning.spec.ts
22 PASS tests/unit/components/LicenseAgreement.spec.ts
23 PASS tests/unit/components/InMoreLanguagesExpandable.spec.ts
24 PASS tests/unit/server/assertAndGetConfig.spec.ts
25 PASS tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts
26 PASS tests/unit/components/Sectionedit.spec.ts
27 PASS tests/unit/store/entity/mutations.spec.ts
28 PASS tests/unit/store/entity/actions.spec.ts
29 PASS tests/unit/components/LabelEdit.spec.ts
30 PASS tests/unit/client/axios/editTokenRequestInterceptor.spec.ts
31 PASS tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts
32 PASS tests/unit/server/buildOpenApiSpec.spec.ts
33 PASS tests/unit/components/App.spec.ts
34 PASS tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts
35 PASS tests/unit/client/axios/axiosFactory.spec.ts
36 PASS tests/unit/common/buildApp.spec.ts
37 PASS tests/unit/components/DescriptionEdit.spec.ts
38 PASS tests/unit/client/buildAndAttemptHydration.spec.ts
39 PASS tests/unit/common/getChildComponents.spec.ts
40 PASS tests/unit/client/init.spec.ts
41 PASS tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts
42 PASS tests/unit/components/Label.spec.ts
43 PASS tests/unit/server/axios/axiosFactory.spec.ts
44 PASS tests/unit/components/Aliases.spec.ts
45 PASS tests/unit/components/AllEnteredLanguages.spec.ts
46 PASS tests/unit/components/Description.spec.ts
47 PASS tests/unit/store/user/actions.spec.ts
48 PASS tests/unit/client/data-access/EntityRepository.spec.ts
49 PASS tests/unit/server/reportResponseTimeMetrics.spec.ts
50 PASS tests/unit/components/InMoreLanguages.spec.ts
51 PASS tests/unit/store/language/index.spec.ts
52 PASS tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts
53 PASS tests/unit/newFingerprintable.spec.ts
54 PASS tests/unit/components/MessageBanner.spec.ts
55 PASS tests/unit/store/messages/index.spec.ts
56 PASS tests/unit/components/Checkbox.spec.ts
57 PASS tests/unit/store/links/mutations.spec.ts
58 PASS tests/unit/components/EventEmittingButton.spec.ts
59 PASS tests/unit/client/data-access/BooleanCookieStore.spec.ts
60 PASS tests/unit/client/data-access/StringMWCookieStore.spec.ts
61 PASS tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts
62 PASS tests/unit/components/EditTools.spec.ts
63 PASS tests/unit/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.spec.ts
64 PASS tests/unit/store/links/index.spec.ts
65 PASS tests/unit/common/EntityInitializer.spec.ts
66 PASS tests/unit/datamodel/EntityRevision.spec.ts
67 PASS tests/unit/client/axios/formDataRequestTransformation.spec.ts
68 PASS tests/unit/store/user/mutations.spec.ts
69 PASS tests/unit/server/axios/getMwUserAgentString.spec.ts
70 PASS tests/unit/store/entity/getters.spec.ts
71 PASS tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts
72 PASS tests/unit/components/Modal.spec.ts
73 PASS tests/unit/common/TermboxServices.spec.ts
74 PASS tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts
75 PASS tests/unit/store/messages/mutations.spec.ts
76 PASS tests/unit/store/user/index.spec.ts
77 PASS tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts
78 PASS tests/unit/client/data-access/UlsLanguageRepository.spec.ts
79 PASS tests/unit/server/route-handler/termbox/CoercingQueryValidator.spec.ts
80 PASS tests/unit/common/data-access/DelegatingUserPreferenceRepository.spec.ts
81 PASS tests/unit/components/Overlay.spec.ts
82 PASS tests/unit/store/mutations.spec.ts
83 PASS tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts
84 PASS tests/unit/common/data-access/CompoundSingleUserPreferenceRepository.spec.ts
85 PASS tests/unit/store/language/mutations.spec.ts
86 PASS tests/unit/store/entity/index.spec.ts
87 PASS tests/unit/store/messages/getters.spec.ts
88 PASS tests/unit/store/index.spec.ts
89 PASS tests/unit/client/directives/inlanguage.spec.ts
90 PASS tests/unit/store/language/getters.spec.ts
91 PASS tests/unit/components/IconMessageBox.spec.ts
92 PASS tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts
93 PASS tests/unit/server/data-access/CachingMethodDecorator.spec.ts
94 PASS tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts
95 PASS tests/unit/server/bundle-renderer/BundleRendererServices.spec.ts
96 PASS tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts
97 PASS tests/unit/components/mixins/Messages.spec.ts
98 PASS tests/unit/server/directives/inlanguage.spec.ts
99 PASS tests/unit/client/data-access/MessagesRepository.spec.ts
100 PASS tests/unit/store/language/actions.spec.ts
101 PASS tests/unit/store/links/actions.spec.ts
102 PASS tests/unit/store/user/getters.spec.ts
103 PASS tests/unit/common/error/ContextError.spec.ts
104 PASS tests/unit/store/messages/actions.spec.ts
105 PASS tests/unit/common/TermboxRequest.spec.ts
106 PASS tests/unit/client/axios/assertUserRequestInterceptor.spec.ts
107 PASS tests/unit/client/directives/focus.spec.ts
108 PASS tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts
109 PASS tests/unit/common/data-access/AxiosTechnicalProblem.spec.ts
110 PASS tests/unit/store/actions.spec.ts
111 PASS tests/unit/components/mixins/newConfigMixin.spec.ts
112 FAIL tests/edge-to-edge/server/app.spec.ts
113 ● Test suite failed to run
114
115 Cannot locate bundle file: /Users/z/Documents/gerrit/wikibase/termbox/serverDist/vue-ssr-server-bundle.json
116
117 30 | app.use( responseTime( reportResponseTimeMetrics( services.metrics ) ) );
118 31 |
119 > 32 | const renderer = createBundleRenderer(
120 | ^
121 33 | resolve( './serverDist/vue-ssr-server-bundle.json' ),
122 34 | {
123 35 | runInNewContext: false,
124
125 at Object.createBundleRenderer (node_modules/vue-server-renderer/build.dev.js:9501:15)
126 at Object.default_1 [as default] (src/server/app.ts:32:19)
127 at Object.<anonymous> (tests/edge-to-edge/server/app.spec.ts:77:22)
128
129Summary of all failing tests
130 FAIL tests/edge-to-edge/server/app.spec.ts
131 ● Test suite failed to run
132
133 Cannot locate bundle file: /Users/z/Documents/gerrit/wikibase/termbox/serverDist/vue-ssr-server-bundle.json
134
135 30 | app.use( responseTime( reportResponseTimeMetrics( services.metrics ) ) );
136 31 |
137 > 32 | const renderer = createBundleRenderer(
138 | ^
139 33 | resolve( './serverDist/vue-ssr-server-bundle.json' ),
140 34 | {
141 35 | runInNewContext: false,
142
143 at Object.createBundleRenderer (node_modules/vue-server-renderer/build.dev.js:9501:15)
144 at Object.default_1 [as default] (src/server/app.ts:32:19)
145 at Object.<anonymous> (tests/edge-to-edge/server/app.spec.ts:77:22)
146
147
148Test Suites: 1 failed, 96 passed, 97 total
149Tests: 366 passed, 366 total
150Snapshots: 0 total
151Time: 8.242s, estimated 13s
152Ran all test suites.
153npm ERR! code ELIFECYCLE
154npm ERR! errno 1
155npm ERR! wikibase-termbox@0.1.0 test:unit: `vue-cli-service test:unit`
156npm ERR! Exit status 1
157npm ERR!
158npm ERR! Failed at the wikibase-termbox@0.1.0 test:unit script.
159npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
160
161npm ERR! A complete log of this run can be found in:
162npm ERR! /Users/z/.npm/_logs/2020-10-20T14_48_57_826Z-debug.log
163ERROR: "test:unit" exited with 1.
164npm ERR! code ELIFECYCLE
165npm ERR! errno 1
166npm ERR! wikibase-termbox@0.1.0 test: `npm-run-all test:*`
167npm ERR! Exit status 1
168npm ERR!
169npm ERR! Failed at the wikibase-termbox@0.1.0 test script.
170npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
171
172npm ERR! A complete log of this run can be found in:
173npm ERR! /Users/z/.npm/_logs/2020-10-20T14_48_57_851Z-debug.log

@zeljkofilipin Is this after you implement the changes to eslint and eslint-config-wikimedia and add the eslint config updates? I receive the same output as you, but only before my changes. Here is my log following my changes.

1jaredblumer@jdot:~/Desktop/wikibase/termbox$ npm run test
2
3> wikibase-termbox@0.1.0 test /home/jaredblumer/Desktop/wikibase/termbox
4> npm-run-all test:*
5
6
7> wikibase-termbox@0.1.0 test:lint /home/jaredblumer/Desktop/wikibase/termbox
8> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
9
10error: "../../tests/unit/store/mockMessageMixin" is not found (node/no-missing-import) at .storybook/helpers/stubMessagesMixin.js:1:30:
11> 1 | import mockMessageMixin from '../../tests/unit/store/mockMessageMixin';
12 | ^
13 2 |
14 3 | export default function stubMessagesMixin( component, messages ) {
15 4 | return {
16
17
18error: "@/client/directives" is not found (node/no-missing-import) at .storybook/preview.js:5:8:
19 3 | addParameters,
20 4 | } from '@storybook/vue';
21> 5 | import '@/client/directives';
22 | ^
23 6 | import { withKnobs } from '@storybook/addon-knobs';
24 7 |
25 8 | addDecorator( withKnobs );
26
27
28error: "@/common/constants" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:2:39:
29 1 | import Axios, { AxiosInstance } from 'axios';
30> 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
31 | ^
32 3 | import formDataRequestTransformation from './formDataRequestTransformation';
33 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
34 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
35
36
37error: "./formDataRequestTransformation" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:3:43:
38 1 | import Axios, { AxiosInstance } from 'axios';
39 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
40> 3 | import formDataRequestTransformation from './formDataRequestTransformation';
41 | ^
42 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
43 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
44 6 |
45
46
47error: "./editTokenRequestInterceptor" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:4:41:
48 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
49 3 | import formDataRequestTransformation from './formDataRequestTransformation';
50> 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
51 | ^
52 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
53 6 |
54 7 | export default function axiosFactory( baseUrl: string, username: string | null ): AxiosInstance {
55
56
57error: "@/client/axios/assertUserRequestInterceptor" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:5:42:
58 3 | import formDataRequestTransformation from './formDataRequestTransformation';
59 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
60> 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
61 | ^
62 6 |
63 7 | export default function axiosFactory( baseUrl: string, username: string | null ): AxiosInstance {
64 8 | const axios = Axios.create( {
65
66
67error: "@/common/constants" is not found (node/no-missing-import) at src/client/axios/editTokenRequestInterceptor.ts:2:38:
68 1 | import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
69> 2 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
70 | ^
71 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
72 4 |
73 5 | /**
74
75
76error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/axios/editTokenRequestInterceptor.ts:3:30:
77 1 | import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
78 2 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
79> 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
80 | ^
81 4 |
82 5 | /**
83 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
84
85
86warning: Missing JSDoc @param "axios" declaration (jsdoc/require-param) at src/client/axios/editTokenRequestInterceptor.ts:5:1:
87 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
88 4 |
89> 5 | /**
90 | ^
91 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
92 7 | * Tokens are requested via MediaWiki's API.
93 8 | */
94
95
96warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/client/axios/editTokenRequestInterceptor.ts:5:1:
97 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
98 4 |
99> 5 | /**
100 | ^
101 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
102 7 | * Tokens are requested via MediaWiki's API.
103 8 | */
104
105
106error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/client/axios/formDataRequestTransformation.ts:7:2:
107 5 |
108 6 | const formData = new FormData();
109> 7 | Object.entries( data )
110 | ^
111 8 | .forEach( ( [ key, value ] ) => formData.append( key, value as string ) );
112 9 |
113 10 | return formData;
114
115
116error: "@/common/buildApp" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:1:22:
117> 1 | import buildApp from '@/common/buildApp';
118 | ^
119 2 | import TermboxServices from '@/common/TermboxServices';
120 3 | import TermboxRequest from '@/common/TermboxRequest';
121 4 |
122
123
124error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:2:29:
125 1 | import buildApp from '@/common/buildApp';
126> 2 | import TermboxServices from '@/common/TermboxServices';
127 | ^
128 3 | import TermboxRequest from '@/common/TermboxRequest';
129 4 |
130 5 | export default function buildAndAttemptHydration(
131
132
133error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:3:28:
134 1 | import buildApp from '@/common/buildApp';
135 2 | import TermboxServices from '@/common/TermboxServices';
136> 3 | import TermboxRequest from '@/common/TermboxRequest';
137 | ^
138 4 |
139 5 | export default function buildAndAttemptHydration(
140 6 | termboxRequest: TermboxRequest,
141
142
143error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:1:37:
144> 1 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
145 | ^
146 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
147 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
148 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
149
150
151error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:2:35:
152 1 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
153> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
154 | ^
155 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
156 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
157 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
158
159
160error: "@/common/constants" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:4:38:
161 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
162 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
163> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
164 | ^
165 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
166 6 | import EntityRevision from '@/datamodel/EntityRevision';
167 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
168
169
170error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:5:30:
171 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
172 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
173> 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
174 | ^
175 6 | import EntityRevision from '@/datamodel/EntityRevision';
176 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
177 8 |
178
179
180error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:6:28:
181 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
182 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
183> 6 | import EntityRevision from '@/datamodel/EntityRevision';
184 | ^
185 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
186 8 |
187 9 | export default class AxiosWritingEntityRepository implements WritingEntityRepository {
188
189
190error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:7:40:
191 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
192 6 | import EntityRevision from '@/datamodel/EntityRevision';
193> 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
194 | ^
195 8 |
196 9 | export default class AxiosWritingEntityRepository implements WritingEntityRepository {
197 10 | private axios: AxiosInstance;
198
199
200error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:1:55:
201> 1 | import { WritingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
202 | ^
203 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
204 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
205 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
206
207
208error: "@/common/constants" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:3:38:
209 1 | import { WritingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
210 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
211> 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
212 | ^
213 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
214 5 |
215 6 | /**
216
217
218error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:4:30:
219 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
220 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
221> 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
222 | ^
223 5 |
224 6 | /**
225 7 | * This repository can only be used for logged in users.
226
227
228error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/BooleanCookieStore.ts:4:8:
229 2 | CookieOptions,
230 3 | CookieStore,
231> 4 | } from '@/client/data-access/CookieStore';
232 | ^
233 5 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
234 6 |
235 7 | export const truthyCookieValue = '1';
236
237
238error: "@/client/data-access/StringMWCookieStore" is not found (node/no-missing-import) at src/client/data-access/BooleanCookieStore.ts:5:33:
239 3 | CookieStore,
240 4 | } from '@/client/data-access/CookieStore';
241> 5 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
242 | ^
243 6 |
244 7 | export const truthyCookieValue = '1';
245 8 |
246
247
248error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/CookieUserPreferenceRepository.ts:1:44:
249> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
250 | ^
251 2 | import {
252 3 | CookieOptions,
253 4 | CookieStore,
254
255
256error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/CookieUserPreferenceRepository.ts:5:8:
257 3 | CookieOptions,
258 4 | CookieStore,
259> 5 | } from '@/client/data-access/CookieStore';
260 | ^
261 6 |
262 7 | export default class CookieUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
263 8 | private cookieStore: CookieStore<T>;
264
265
266error: Default parameters should be last (default-param-last) at src/client/data-access/CookieUserPreferenceRepository.ts:16:3:
267 14 | cookieStore: CookieStore<T>,
268 15 | cookieName: string,
269> 16 | options: CookieOptions = {},
270 | ^
271 17 | defaultValue?: T,
272 18 | ) {
273 19 | this.cookieStore = cookieStore;
274
275
276error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:1:39:
277> 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
278 | ^
279 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
280 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
281 4 | import HookHandler from '@/client/mediawiki/HookHandler';
282
283
284error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:2:35:
285 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
286> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
287 | ^
288 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
289 4 | import HookHandler from '@/client/mediawiki/HookHandler';
290 5 |
291
292
293error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:3:40:
294 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
295 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
296> 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
297 | ^
298 4 | import HookHandler from '@/client/mediawiki/HookHandler';
299 5 |
300 6 | export default class EntityRepository implements EntityRepositoryInterface {
301
302
303error: "@/client/mediawiki/HookHandler" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:4:25:
304 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
305 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
306> 4 | import HookHandler from '@/client/mediawiki/HookHandler';
307 | ^
308 5 |
309 6 | export default class EntityRepository implements EntityRepositoryInterface {
310 7 |
311
312
313error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.ts:1:55:
314> 1 | import { ReadingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
315 | ^
316 2 | import { MWUserOptions } from '@/client/mediawiki/MwWindow';
317 3 |
318 4 | export default class MWUserOptionsReadingSingleUserPreferenceRepository implements
319
320
321error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.ts:2:31:
322 1 | import { ReadingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
323> 2 | import { MWUserOptions } from '@/client/mediawiki/MwWindow';
324 | ^
325 3 |
326 4 | export default class MWUserOptionsReadingSingleUserPreferenceRepository implements
327 5 | ReadingSingleUserPreferenceRepository<unknown> {
328
329
330error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:1:41:
331> 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
332 | ^
333 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
334 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
335 4 | import { MessageKey } from '@/common/MessageKey';
336
337
338error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:2:42:
339 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
340> 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
341 | ^
342 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
343 4 | import { MessageKey } from '@/common/MessageKey';
344 5 |
345
346
347error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:3:28:
348 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
349 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
350> 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
351 | ^
352 4 | import { MessageKey } from '@/common/MessageKey';
353 5 |
354 6 | export default class MessagesRepository implements MessagesRepositoryInterface {
355
356
357error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:4:28:
358 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
359 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
360> 4 | import { MessageKey } from '@/common/MessageKey';
361 | ^
362 5 |
363 6 | export default class MessagesRepository implements MessagesRepositoryInterface {
364 7 |
365
366
367error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/StringMWCookieStore.ts:4:8:
368 2 | CookieOptions,
369 3 | CookieStore,
370> 4 | } from '@/client/data-access/CookieStore';
371 | ^
372 5 | import { MWCookie } from '@/client/mediawiki/MwWindow';
373 6 |
374 7 | type ActualType = string;
375
376
377error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/StringMWCookieStore.ts:5:26:
378 3 | CookieStore,
379 4 | } from '@/client/data-access/CookieStore';
380> 5 | import { MWCookie } from '@/client/mediawiki/MwWindow';
381 | ^
382 6 |
383 7 | type ActualType = string;
384 8 | type CookieStoreTypes = ActualType | null;
385
386
387error: "@/common/data-access/LanguageRepository.ts" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:1:32:
388> 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
389 | ^
390 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
391 3 | import Language from '@/datamodel/Language.ts';
392 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
393
394
395error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:2:32:
396 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
397> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
398 | ^
399 3 | import Language from '@/datamodel/Language.ts';
400 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
401 5 |
402
403
404error: "@/datamodel/Language.ts" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:3:22:
405 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
406 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
407> 3 | import Language from '@/datamodel/Language.ts';
408 | ^
409 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
410 5 |
411 6 | export default class UlsLanguageRepository implements LanguageRepository {
412
413
414error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:4:51:
415 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
416 3 | import Language from '@/datamodel/Language.ts';
417> 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
418 | ^
419 5 |
420 6 | export default class UlsLanguageRepository implements LanguageRepository {
421 7 |
422
423
424error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:1:43:
425> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
426 | ^
427 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
428 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
429 4 |
430
431
432error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:2:50:
433 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
434> 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
435 | ^
436 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
437 4 |
438 5 | export default class UlsLanguageTranslationRepository implements LanguageTranslationRepository {
439
440
441error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:3:42:
442 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
443 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
444> 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
445 | ^
446 4 |
447 5 | export default class UlsLanguageTranslationRepository implements LanguageTranslationRepository {
448 6 |
449
450
451error: "./inlanguage" is not found (node/no-missing-import) at src/client/directives/index.ts:2:24:
452 1 | import Vue from 'vue';
453> 2 | import inlanguage from './inlanguage';
454 | ^
455 3 | import focus from './focus';
456 4 |
457 5 | Vue.directive( 'inlanguage', inlanguage );
458
459
460error: "./focus" is not found (node/no-missing-import) at src/client/directives/index.ts:3:19:
461 1 | import Vue from 'vue';
462 2 | import inlanguage from './inlanguage';
463> 3 | import focus from './focus';
464 | ^
465 4 |
466 5 | Vue.directive( 'inlanguage', inlanguage );
467 6 | Vue.directive( 'focus', { inserted: focus } );
468
469
470error: "@/datamodel/Language" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:1:22:
471> 1 | import Language from '@/datamodel/Language';
472 | ^
473 2 | import { DirectiveBinding } from 'vue/types/options';
474 3 | import { VNode } from 'vue/types/vnode';
475 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
476
477
478error: "vue/types/options" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:2:34:
479 1 | import Language from '@/datamodel/Language';
480> 2 | import { DirectiveBinding } from 'vue/types/options';
481 | ^
482 3 | import { VNode } from 'vue/types/vnode';
483 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
484 5 | import { NS_LANGUAGE } from '@/store/namespaces';
485
486
487error: "vue/types/vnode" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:3:23:
488 1 | import Language from '@/datamodel/Language';
489 2 | import { DirectiveBinding } from 'vue/types/options';
490> 3 | import { VNode } from 'vue/types/vnode';
491 | ^
492 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
493 5 | import { NS_LANGUAGE } from '@/store/namespaces';
494 6 |
495
496
497error: "@/store/namespaces" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:5:29:
498 3 | import { VNode } from 'vue/types/vnode';
499 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
500> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
501 | ^
502 6 |
503 7 | export default function inlanguage( el: HTMLElement, binding: DirectiveBinding, vnode: VNode ): void {
504 8 | if ( !binding.value ) {
505
506
507error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client/init.ts:1:28:
508> 1 | import TermboxRequest from '@/common/TermboxRequest';
509 | ^
510 2 | import MwWindow from '@/client/mediawiki/MwWindow';
511 3 |
512 4 | export default function (): Promise<TermboxRequest> {
513
514
515error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/init.ts:2:22:
516 1 | import TermboxRequest from '@/common/TermboxRequest';
517> 2 | import MwWindow from '@/client/mediawiki/MwWindow';
518 | ^
519 3 |
520 4 | export default function (): Promise<TermboxRequest> {
521 5 | return new Promise<TermboxRequest>( ( resolve ) => {
522
523
524error: "@/client/mediawiki/MwConfig" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:1:22:
525> 1 | import MwConfig from '@/client/mediawiki/MwConfig';
526 | ^
527 2 | import HookHandler from '@/client/mediawiki/HookHandler';
528 3 | import { Hooks } from '@/client/mediawiki/Hooks';
529 4 | import { MessageKey } from '@/common/MessageKey';
530
531
532error: "@/client/mediawiki/HookHandler" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:2:25:
533 1 | import MwConfig from '@/client/mediawiki/MwConfig';
534> 2 | import HookHandler from '@/client/mediawiki/HookHandler';
535 | ^
536 3 | import { Hooks } from '@/client/mediawiki/Hooks';
537 4 | import { MessageKey } from '@/common/MessageKey';
538 5 |
539
540
541error: "@/client/mediawiki/Hooks" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:3:23:
542 1 | import MwConfig from '@/client/mediawiki/MwConfig';
543 2 | import HookHandler from '@/client/mediawiki/HookHandler';
544> 3 | import { Hooks } from '@/client/mediawiki/Hooks';
545 | ^
546 4 | import { MessageKey } from '@/common/MessageKey';
547 5 |
548 6 | interface MwTitleInstance {
549
550
551error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:4:28:
552 2 | import HookHandler from '@/client/mediawiki/HookHandler';
553 3 | import { Hooks } from '@/client/mediawiki/Hooks';
554> 4 | import { MessageKey } from '@/common/MessageKey';
555 | ^
556 5 |
557 6 | interface MwTitleInstance {
558 7 | getUrl: ( query?: object ) => string;
559
560
561error: "@/client/init" is not found (node/no-missing-import) at src/client-entry.ts:2:18:
562 1 | import Vue from 'vue';
563> 2 | import init from '@/client/init';
564 | ^
565 3 | import TermboxRequest from '@/common/TermboxRequest';
566 4 | import TermboxServices from '@/common/TermboxServices';
567 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
568
569
570error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client-entry.ts:3:28:
571 1 | import Vue from 'vue';
572 2 | import init from '@/client/init';
573> 3 | import TermboxRequest from '@/common/TermboxRequest';
574 | ^
575 4 | import TermboxServices from '@/common/TermboxServices';
576 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
577 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
578
579
580error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/client-entry.ts:4:29:
581 2 | import init from '@/client/init';
582 3 | import TermboxRequest from '@/common/TermboxRequest';
583> 4 | import TermboxServices from '@/common/TermboxServices';
584 | ^
585 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
586 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
587 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
588
589
590error: "@/client/data-access/UlsLanguageTranslationRepository" is not found (node/no-missing-import) at src/client-entry.ts:5:46:
591 3 | import TermboxRequest from '@/common/TermboxRequest';
592 4 | import TermboxServices from '@/common/TermboxServices';
593> 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
594 | ^
595 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
596 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
597 8 | import EntityRepository from '@/client/data-access/EntityRepository';
598
599
600error: "@/client/data-access/UlsLanguageRepository" is not found (node/no-missing-import) at src/client-entry.ts:6:35:
601 4 | import TermboxServices from '@/common/TermboxServices';
602 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
603> 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
604 | ^
605 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
606 8 | import EntityRepository from '@/client/data-access/EntityRepository';
607 9 | import MwWindow from '@/client/mediawiki/MwWindow';
608
609
610error: "@/client/data-access/MessagesRepository" is not found (node/no-missing-import) at src/client-entry.ts:7:32:
611 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
612 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
613> 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
614 | ^
615 8 | import EntityRepository from '@/client/data-access/EntityRepository';
616 9 | import MwWindow from '@/client/mediawiki/MwWindow';
617 10 | import { Hooks } from '@/client/mediawiki/Hooks';
618
619
620error: "@/client/data-access/EntityRepository" is not found (node/no-missing-import) at src/client-entry.ts:8:30:
621 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
622 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
623> 8 | import EntityRepository from '@/client/data-access/EntityRepository';
624 | ^
625 9 | import MwWindow from '@/client/mediawiki/MwWindow';
626 10 | import { Hooks } from '@/client/mediawiki/Hooks';
627 11 | import { MessageKey } from '@/common/MessageKey';
628
629
630error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client-entry.ts:9:22:
631 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
632 8 | import EntityRepository from '@/client/data-access/EntityRepository';
633> 9 | import MwWindow from '@/client/mediawiki/MwWindow';
634 | ^
635 10 | import { Hooks } from '@/client/mediawiki/Hooks';
636 11 | import { MessageKey } from '@/common/MessageKey';
637 12 | import '@/client/directives';
638
639
640error: "@/client/mediawiki/Hooks" is not found (node/no-missing-import) at src/client-entry.ts:10:23:
641 8 | import EntityRepository from '@/client/data-access/EntityRepository';
642 9 | import MwWindow from '@/client/mediawiki/MwWindow';
643> 10 | import { Hooks } from '@/client/mediawiki/Hooks';
644 | ^
645 11 | import { MessageKey } from '@/common/MessageKey';
646 12 | import '@/client/directives';
647 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
648
649
650error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client-entry.ts:11:28:
651 9 | import MwWindow from '@/client/mediawiki/MwWindow';
652 10 | import { Hooks } from '@/client/mediawiki/Hooks';
653> 11 | import { MessageKey } from '@/common/MessageKey';
654 | ^
655 12 | import '@/client/directives';
656 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
657 14 | import EntityInitializer from '@/common/EntityInitializer';
658
659
660error: "@/client/directives" is not found (node/no-missing-import) at src/client-entry.ts:12:8:
661 10 | import { Hooks } from '@/client/mediawiki/Hooks';
662 11 | import { MessageKey } from '@/common/MessageKey';
663> 12 | import '@/client/directives';
664 | ^
665 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
666 14 | import EntityInitializer from '@/common/EntityInitializer';
667 15 | import axiosFactory from '@/client/axios/axiosFactory';
668
669
670error: "@/client/data-access/AxiosWritingEntityRepository" is not found (node/no-missing-import) at src/client-entry.ts:13:42:
671 11 | import { MessageKey } from '@/common/MessageKey';
672 12 | import '@/client/directives';
673> 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
674 | ^
675 14 | import EntityInitializer from '@/common/EntityInitializer';
676 15 | import axiosFactory from '@/client/axios/axiosFactory';
677 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
678
679
680error: "@/common/EntityInitializer" is not found (node/no-missing-import) at src/client-entry.ts:14:31:
681 12 | import '@/client/directives';
682 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
683> 14 | import EntityInitializer from '@/common/EntityInitializer';
684 | ^
685 15 | import axiosFactory from '@/client/axios/axiosFactory';
686 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
687 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
688
689
690error: "@/client/axios/axiosFactory" is not found (node/no-missing-import) at src/client-entry.ts:15:26:
691 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
692 14 | import EntityInitializer from '@/common/EntityInitializer';
693> 15 | import axiosFactory from '@/client/axios/axiosFactory';
694 | ^
695 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
696 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
697 18 | import { UserPreference } from '@/common/UserPreference';
698
699
700error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/client-entry.ts:16:28:
701 14 | import EntityInitializer from '@/common/EntityInitializer';
702 15 | import axiosFactory from '@/client/axios/axiosFactory';
703> 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
704 | ^
705 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
706 18 | import { UserPreference } from '@/common/UserPreference';
707 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
708
709
710error: "@/common/data-access/DispatchingUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:17:49:
711 15 | import axiosFactory from '@/client/axios/axiosFactory';
712 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
713> 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
714 | ^
715 18 | import { UserPreference } from '@/common/UserPreference';
716 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
717 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
718
719
720error: "@/common/UserPreference" is not found (node/no-missing-import) at src/client-entry.ts:18:32:
721 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
722 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
723> 18 | import { UserPreference } from '@/common/UserPreference';
724 | ^
725 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
726 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
727 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
728
729
730error: "@/client/data-access/CookieUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:19:44:
731 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
732 18 | import { UserPreference } from '@/common/UserPreference';
733> 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
734 | ^
735 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
736 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
737 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
738
739
740error: "@/client/data-access/BooleanCookieStore" is not found (node/no-missing-import) at src/client-entry.ts:20:32:
741 18 | import { UserPreference } from '@/common/UserPreference';
742 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
743> 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
744 | ^
745 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
746 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
747 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
748
749
750error: "@/client/data-access/StringMWCookieStore" is not found (node/no-missing-import) at src/client-entry.ts:21:33:
751 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
752 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
753> 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
754 | ^
755 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
756 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
757 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
758
759
760error: "@/common/data-access/DelegatingUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:22:48:
761 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
762 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
763> 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
764 | ^
765 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
766 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
767 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
768
769
770error: "@/common/data-access/CompoundUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:23:46:
771 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
772 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
773> 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
774 | ^
775 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
776 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
777 26 | import AxiosWritingSingleUserPreferenceRepository
778
779
780error: "@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:25:7:
781 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
782 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
783> 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
784 | ^
785 26 | import AxiosWritingSingleUserPreferenceRepository
786 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
787 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
788
789
790error: "@/client/data-access/AxiosWritingSingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:27:7:
791 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
792 26 | import AxiosWritingSingleUserPreferenceRepository
793> 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
794 | ^
795 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
796 29 |
797 30 | Vue.config.productionTip = false;
798
799
800error: "@/client/buildAndAttemptHydration" is not found (node/no-missing-import) at src/client-entry.ts:28:38:
801 26 | import AxiosWritingSingleUserPreferenceRepository
802 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
803> 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
804 | ^
805 29 |
806 30 | Vue.config.productionTip = false;
807 31 | Vue.mixin( newConfigMixin(
808
809
810error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/client-entry.ts:62:3:
811 60 | new MessagesRepository(
812 61 | ( window as MwWindow ).mw.message,
813> 62 | Object.values( MessageKey ),
814 | ^
815 63 | ),
816 64 | );
817 65 |
818
819
820error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:1:35:
821> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
822 | ^
823 2 | import EntityInitializerInterface from './EntityInitializerInterface';
824 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
825 4 |
826
827
828error: "./EntityInitializerInterface" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:2:40:
829 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
830> 2 | import EntityInitializerInterface from './EntityInitializerInterface';
831 | ^
832 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
833 4 |
834 5 | export default class EntityInitializer implements EntityInitializerInterface {
835
836
837error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:3:33:
838 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
839 2 | import EntityInitializerInterface from './EntityInitializerInterface';
840> 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
841 | ^
842 4 |
843 5 | export default class EntityInitializer implements EntityInitializerInterface {
844 6 |
845
846
847warning: Missing JSDoc @param "field" declaration (jsdoc/require-param) at src/common/EntityInitializer.ts:35:2:
848 33 | }
849 34 |
850> 35 | /**
851 | ^
852 36 | * This method exists because we're often dealing with entities serialized in PHP,
853 37 | * which does not do a good job at guessing whether [] is an array (list) or an object.
854 38 | */
855
856
857warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/common/EntityInitializer.ts:35:2:
858 33 | }
859 34 |
860> 35 | /**
861 | ^
862 36 | * This method exists because we're often dealing with entities serialized in PHP,
863 37 | * which does not do a good job at guessing whether [] is an array (list) or an object.
864 38 | */
865
866
867error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/EntityInitializerInterface.ts:1:35:
868> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
869 | ^
870 2 |
871 3 | interface EntityInitializerInterface {
872 4 | newFromSerialization( entity: unknown ): FingerprintableEntity;
873
874
875error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/common/TermboxRequest.ts:1:26:
876> 1 | import TermboxLinks from '@/common/TermboxLinks';
877 | ^
878 2 |
879 3 | export default class TermboxRequest {
880 4 | public readonly language: string;
881
882
883error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:1:43:
884> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
885 | ^
886 2 | import EntityRepository from '@/common/data-access/EntityRepository';
887 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
888 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
889
890
891error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:2:30:
892 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
893> 2 | import EntityRepository from '@/common/data-access/EntityRepository';
894 | ^
895 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
896 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
897 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
898
899
900error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:3:32:
901 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
902 2 | import EntityRepository from '@/common/data-access/EntityRepository';
903> 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
904 | ^
905 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
906 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
907 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
908
909
910error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:4:32:
911 2 | import EntityRepository from '@/common/data-access/EntityRepository';
912 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
913> 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
914 | ^
915 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
916 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
917 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
918
919
920error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/common/TermboxServices.ts:5:39:
921 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
922 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
923> 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
924 | ^
925 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
926 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
927 8 |
928
929
930error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:6:37:
931 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
932 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
933> 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
934 | ^
935 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
936 8 |
937 9 | export interface Services {
938
939
940error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:7:38:
941 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
942 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
943> 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
944 | ^
945 8 |
946 9 | export interface Services {
947 10 | languageTranslationRepository: LanguageTranslationRepository;
948
949
950error: "@/components/App.vue" is not found (node/no-missing-import) at src/common/buildApp.ts:1:17:
951> 1 | import App from '@/components/App.vue';
952 | ^
953 2 | import { createStore } from '@/store';
954 3 | import TermboxServices from '@/common/TermboxServices';
955 4 | import TermboxRequest from '@/common/TermboxRequest';
956
957
958error: "@/store" is not found (node/no-missing-import) at src/common/buildApp.ts:2:29:
959 1 | import App from '@/components/App.vue';
960> 2 | import { createStore } from '@/store';
961 | ^
962 3 | import TermboxServices from '@/common/TermboxServices';
963 4 | import TermboxRequest from '@/common/TermboxRequest';
964 5 | import getChildComponents from './getChildComponents';
965
966
967error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/common/buildApp.ts:3:29:
968 1 | import App from '@/components/App.vue';
969 2 | import { createStore } from '@/store';
970> 3 | import TermboxServices from '@/common/TermboxServices';
971 | ^
972 4 | import TermboxRequest from '@/common/TermboxRequest';
973 5 | import getChildComponents from './getChildComponents';
974 6 |
975
976
977error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/common/buildApp.ts:4:28:
978 2 | import { createStore } from '@/store';
979 3 | import TermboxServices from '@/common/TermboxServices';
980> 4 | import TermboxRequest from '@/common/TermboxRequest';
981 | ^
982 5 | import getChildComponents from './getChildComponents';
983 6 |
984 7 | export default ( termboxRequest: TermboxRequest, services: TermboxServices ): Promise<App> => {
985
986
987error: "./getChildComponents" is not found (node/no-missing-import) at src/common/buildApp.ts:5:32:
988 3 | import TermboxServices from '@/common/TermboxServices';
989 4 | import TermboxRequest from '@/common/TermboxRequest';
990> 5 | import getChildComponents from './getChildComponents';
991 | ^
992 6 |
993 7 | export default ( termboxRequest: TermboxRequest, services: TermboxServices ): Promise<App> => {
994 8 | const store = createStore( services );
995
996
997error: Array.prototype.map() expects a value to be returned at the end of arrow function (array-callback-return) at src/common/buildApp.ts:14:60:
998 12 |
999 13 | const componentList = getChildComponents( app );
1000> 14 | return Promise.all( componentList.map( ( componentClass ) => {
1001 | ^
1002 15 | if ( componentClass.asyncData ) {
1003 16 | return componentClass.asyncData(
1004 17 | store,
1005
1006
1007error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/CompoundUserPreferenceRepository.ts:4:8:
1008 2 | ReadingSingleUserPreferenceRepository,
1009 3 | WritingSingleUserPreferenceRepository,
1010> 4 | } from '@/common/data-access/SingleUserPreferenceRepository';
1011 | ^
1012 5 |
1013 6 | export default class CompoundUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
1014 7 | private readingRepository: ReadingSingleUserPreferenceRepository<T>;
1015
1016
1017error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DelegatingUserPreferenceRepository.ts:1:44:
1018> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1019 | ^
1020 2 |
1021 3 | export default class DelegatingUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
1022 4 | private readonly repoOne: SingleUserPreferenceRepository<T>;
1023
1024
1025error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:1:44:
1026> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1027 | ^
1028 2 | import { UserPreference } from '@/common/UserPreference';
1029 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1030 4 |
1031
1032
1033error: "@/common/UserPreference" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:2:32:
1034 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1035> 2 | import { UserPreference } from '@/common/UserPreference';
1036 | ^
1037 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1038 4 |
1039 5 | type RepoMapping = {
1040
1041
1042error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:3:38:
1043 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1044 2 | import { UserPreference } from '@/common/UserPreference';
1045> 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1046 | ^
1047 4 |
1048 5 | type RepoMapping = {
1049 6 | [ Preference in UserPreference ]: SingleUserPreferenceRepository<unknown>
1050
1051
1052error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/data-access/EntityRepository.ts:1:35:
1053> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1054 | ^
1055 2 |
1056 3 | interface EntityRepository {
1057 4 | /**
1058
1059
1060error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/common/data-access/LanguageRepository.ts:1:32:
1061> 1 | import LanguageCollection from '@/datamodel/LanguageCollection';
1062 | ^
1063 2 |
1064 3 | interface LanguageRepository {
1065 4 | getLanguages(): Promise<LanguageCollection>;
1066
1067
1068error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/common/data-access/LanguageTranslationRepository.ts:1:34:
1069> 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
1070 | ^
1071 2 |
1072 3 | interface LanguageTranslationRepository {
1073 4 |
1074
1075
1076error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/common/data-access/MessagesRepository.ts:1:42:
1077> 1 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
1078 | ^
1079 2 |
1080 3 | interface MessagesRepository {
1081 4 | getMessagesInLanguage( inLanguage: string ): Promise<MessageTranslationCollection>;
1082
1083
1084error: "@/common/UserPreference" is not found (node/no-missing-import) at src/common/data-access/UserPreferenceRepository.ts:1:32:
1085> 1 | import { UserPreference } from '@/common/UserPreference';
1086 | ^
1087 2 |
1088 3 | interface UserPreferenceRepository {
1089 4 | setPreference( preference: UserPreference, value: unknown ): Promise<void>;
1090
1091
1092error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/data-access/WritingEntityRepository.ts:1:35:
1093> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1094 | ^
1095 2 | import EntityRevision from '@/datamodel/EntityRevision';
1096 3 |
1097 4 | interface WritingEntityRepository {
1098
1099
1100error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/common/data-access/WritingEntityRepository.ts:2:28:
1101 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1102> 2 | import EntityRevision from '@/datamodel/EntityRevision';
1103 | ^
1104 3 |
1105 4 | interface WritingEntityRepository {
1106 5 |
1107
1108
1109error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/common/data-access/error/AxiosTechnicalProblem.ts:2:27:
1110 1 | import { AxiosError } from 'axios';
1111> 2 | import LoggableError from '@/common/error/LoggableError';
1112 | ^
1113 3 |
1114 4 | type AxiosErrorContext = {
1115 5 | message: string;
1116
1117
1118error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/EntityNotFound.ts:1:26:
1119> 1 | import ContextError from '@/common/error/ContextError';
1120 | ^
1121 2 |
1122 3 | export default class EntityNotFound extends ContextError {}
1123 4 |
1124
1125
1126error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/MessageNotFound.ts:1:26:
1127> 1 | import ContextError from '@/common/error/ContextError';
1128 | ^
1129 2 |
1130 3 | export default class MessageNotFound extends ContextError {}
1131 4 |
1132
1133
1134error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/TechnicalProblem.ts:1:26:
1135> 1 | import ContextError from '@/common/error/ContextError';
1136 | ^
1137 2 |
1138 3 | export default class TechnicalProblem extends ContextError {}
1139 4 |
1140
1141
1142error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/TranslationLanguageNotFound.ts:1:26:
1143> 1 | import ContextError from '@/common/error/ContextError';
1144 | ^
1145 2 |
1146 3 | export default class TranslationLanguageNotFound extends ContextError {}
1147 4 |
1148
1149
1150error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/common/error/ContextError.ts:1:27:
1151> 1 | import LoggableError from '@/common/error/LoggableError';
1152 | ^
1153 2 |
1154 3 | export default class ContextError extends Error implements LoggableError {
1155 4 | private context: object;
1156
1157
1158error: "@/common/exceptions/TypeException" is not found (node/no-missing-import) at src/common/exceptions/ParameterException.ts:1:27:
1159> 1 | import TypeException from '@/common/exceptions/TypeException';
1160 | ^
1161 2 |
1162 3 | export default class ParameterException extends TypeException {
1163 4 | public constructor( message?: string ) {
1164
1165
1166warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/common/getChildComponents.ts:5:1:
1167 3 | import Vue from 'vue';
1168 4 |
1169> 5 | /**
1170 | ^
1171 6 | * Get a uniquely identifying name for a component
1172 7 | * Using .name is tempting but it may get optimized away in production builds.
1173 8 | *
1174
1175
1176warning: Missing JSDoc @param "component" type (jsdoc/require-param-type) at src/common/getChildComponents.ts:
1177 7 | * Using .name is tempting but it may get optimized away in production builds.
1178 8 | *
1179> 9 | * @param component A vue class component
1180 | ^
1181 10 | */
1182 11 | function getComponentIdentifier( component: any ) {
1183 12 | return component.cid;
1184
1185
1186error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/common/getChildComponents.ts:38:9:
1187 36 | const rootClass = root.constructor;
1188 37 |
1189> 38 | return Object.values( getComponentsRecursively( rootClass ) );
1190 | ^
1191 39 | };
1192 40 |
1193
1194
1195error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Aliases.vue:21:22:
1196 19 | <script lang="ts">
1197 20 | import Component, { mixins } from 'vue-class-component';
1198> 21 | import { Term } from '@wmde/wikibase-datamodel-types';
1199 | ^
1200 22 | import Messages from '@/components/mixins/Messages';
1201 23 | import { Prop } from 'vue-property-decorator';
1202 24 |
1203
1204
1205error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Aliases.vue:22:22:
1206 20 | import Component, { mixins } from 'vue-class-component';
1207 21 | import { Term } from '@wmde/wikibase-datamodel-types';
1208> 22 | import Messages from '@/components/mixins/Messages';
1209 | ^
1210 23 | import { Prop } from 'vue-property-decorator';
1211 24 |
1212 25 | @Component
1213
1214
1215error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:24:27:
1216 22 | <script lang="ts">
1217 23 | import Component, { mixins } from 'vue-class-component';
1218> 24 | import { NS_ENTITY } from '@/store/namespaces';
1219 | ^
1220 25 | import Messages from '@/components/mixins/Messages';
1221 26 | import { Prop } from 'vue-property-decorator';
1222 27 | import { namespace } from 'vuex-class';
1223
1224
1225error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:25:22:
1226 23 | import Component, { mixins } from 'vue-class-component';
1227 24 | import { NS_ENTITY } from '@/store/namespaces';
1228> 25 | import Messages from '@/components/mixins/Messages';
1229 | ^
1230 26 | import { Prop } from 'vue-property-decorator';
1231 27 | import { namespace } from 'vuex-class';
1232 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1233
1234
1235error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:28:22:
1236 26 | import { Prop } from 'vue-property-decorator';
1237 27 | import { namespace } from 'vuex-class';
1238> 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1239 | ^
1240 29 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1241 30 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
1242 31 |
1243
1244
1245error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:30:58:
1246 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1247 29 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1248> 30 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
1249 | ^
1250 31 |
1251 32 | @Component( {
1252 33 | components: { ResizingTextField },
1253
1254
1255error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/AllEnteredLanguages.vue:14:40:
1256 12 | import Vue from 'vue';
1257 13 | import Component from 'vue-class-component';
1258> 14 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1259 | ^
1260 15 | import { NS_ENTITY, NS_USER } from '@/store/namespaces';
1261 16 | import { namespace } from 'vuex-class';
1262 17 |
1263
1264
1265error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AllEnteredLanguages.vue:15:36:
1266 13 | import Component from 'vue-class-component';
1267 14 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1268> 15 | import { NS_ENTITY, NS_USER } from '@/store/namespaces';
1269 | ^
1270 16 | import { namespace } from 'vuex-class';
1271 17 |
1272 18 | @Component( {
1273
1274
1275error: "./mixins/Messages" is not found (node/no-missing-import) at src/components/AllEnteredLanguagesExpandable.vue:30:22:
1276 28 | <script lang="ts">
1277 29 | import Component, { mixins } from 'vue-class-component';
1278> 30 | import Messages from './mixins/Messages';
1279 | ^
1280 31 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
1281 32 |
1282 33 | @Component( {
1283
1284
1285error: "@/components/AllEnteredLanguages.vue" is not found (node/no-missing-import) at src/components/AllEnteredLanguagesExpandable.vue:31:33:
1286 29 | import Component, { mixins } from 'vue-class-component';
1287 30 | import Messages from './mixins/Messages';
1288> 31 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
1289 | ^
1290 32 |
1291 33 | @Component( {
1292 34 | components: { AllEnteredLanguages },
1293
1294
1295error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:43:22:
1296 41 | <script lang="ts">
1297 42 | import Component, { mixins } from 'vue-class-component';
1298> 43 | import Messages from '@/components/mixins/Messages';
1299 | ^
1300 44 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1301 45 | import { namespace } from 'vuex-class';
1302 46 | import {
1303
1304
1305error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:44:33:
1306 42 | import Component, { mixins } from 'vue-class-component';
1307 43 | import Messages from '@/components/mixins/Messages';
1308> 44 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1309 | ^
1310 45 | import { namespace } from 'vuex-class';
1311 46 | import {
1312 47 | NS_LINKS,
1313
1314
1315error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:49:8:
1316 47 | NS_LINKS,
1317 48 | NS_USER,
1318> 49 | } from '@/store/namespaces';
1319 | ^
1320 50 | import Checkbox from '@/components/Checkbox.vue';
1321 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1322 52 | import { UserPreference } from '@/common/UserPreference';
1323
1324
1325error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:50:22:
1326 48 | NS_USER,
1327 49 | } from '@/store/namespaces';
1328> 50 | import Checkbox from '@/components/Checkbox.vue';
1329 | ^
1330 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1331 52 | import { UserPreference } from '@/common/UserPreference';
1332 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1333
1334
1335error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:51:37:
1336 49 | } from '@/store/namespaces';
1337 50 | import Checkbox from '@/components/Checkbox.vue';
1338> 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1339 | ^
1340 52 | import { UserPreference } from '@/common/UserPreference';
1341 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1342 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1343
1344
1345error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:52:32:
1346 50 | import Checkbox from '@/components/Checkbox.vue';
1347 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1348> 52 | import { UserPreference } from '@/common/UserPreference';
1349 | ^
1350 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1351 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1352 55 |
1353
1354
1355error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:54:28:
1356 52 | import { UserPreference } from '@/common/UserPreference';
1357 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1358> 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1359 | ^
1360 55 |
1361 56 | @Component( {
1362 57 | components: { IconMessageBox, Checkbox, EventEmittingButton },
1363
1364
1365error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/App.vue:12:59:
1366 10 | import TermBox from './TermBox.vue';
1367 11 | import { Store } from 'vuex';
1368> 12 | import { NS_ENTITY, NS_LANGUAGE, NS_LINKS, NS_USER } from '@/store/namespaces';
1369 | ^
1370 13 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
1371 14 | import {
1372 15 | LANGUAGE_PREFERENCE,
1373
1374
1375error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:13:29:
1376 11 | import { Store } from 'vuex';
1377 12 | import { NS_ENTITY, NS_LANGUAGE, NS_LINKS, NS_USER } from '@/store/namespaces';
1378> 13 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
1379 | ^
1380 14 | import {
1381 15 | LANGUAGE_PREFERENCE,
1382 16 | USER_NAME_SET,
1383
1384
1385error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:18:8:
1386 16 | USER_NAME_SET,
1387 17 | USER_PREFERENCES_INIT,
1388> 18 | } from '@/store/user/actionTypes';
1389 | ^
1390 19 | import TermboxRequest from '@/common/TermboxRequest';
1391 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1392 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1393
1394
1395error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/components/App.vue:19:28:
1396 17 | USER_PREFERENCES_INIT,
1397 18 | } from '@/store/user/actionTypes';
1398> 19 | import TermboxRequest from '@/common/TermboxRequest';
1399 | ^
1400 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1401 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1402 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1403
1404
1405error: "@/store/language/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:20:31:
1406 18 | } from '@/store/user/actionTypes';
1407 19 | import TermboxRequest from '@/common/TermboxRequest';
1408> 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1409 | ^
1410 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1411 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1412 23 | import { namespace } from 'vuex-class';
1413
1414
1415error: "@/store/links/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:21:28:
1416 19 | import TermboxRequest from '@/common/TermboxRequest';
1417 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1418> 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1419 | ^
1420 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1421 23 | import { namespace } from 'vuex-class';
1422 24 | import Root from '@/store/Root';
1423
1424
1425error: "@/store/Root" is not found (node/no-missing-import) at src/components/App.vue:24:18:
1426 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1427 23 | import { namespace } from 'vuex-class';
1428> 24 | import Root from '@/store/Root';
1429 | ^
1430 25 |
1431 26 | @Component( {
1432 27 | components: {
1433
1434
1435error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Description.vue:19:22:
1436 17 | <script lang="ts">
1437 18 | import Component, { mixins } from 'vue-class-component';
1438> 19 | import Messages from '@/components/mixins/Messages';
1439 | ^
1440 20 | import { Term } from '@wmde/wikibase-datamodel-types';
1441 21 | import { Prop } from 'vue-property-decorator';
1442 22 |
1443
1444
1445error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Description.vue:20:22:
1446 18 | import Component, { mixins } from 'vue-class-component';
1447 19 | import Messages from '@/components/mixins/Messages';
1448> 20 | import { Term } from '@wmde/wikibase-datamodel-types';
1449 | ^
1450 21 | import { Prop } from 'vue-property-decorator';
1451 22 |
1452 23 | @Component
1453
1454
1455error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/DescriptionEdit.vue:14:22:
1456 12 | <script lang="ts">
1457 13 | import Component, { mixins } from 'vue-class-component';
1458> 14 | import Messages from '@/components/mixins/Messages';
1459 | ^
1460 15 | import { Prop } from 'vue-property-decorator';
1461 16 | import { Term } from '@wmde/wikibase-datamodel-types';
1462 17 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1463
1464
1465error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/DescriptionEdit.vue:16:22:
1466 14 | import Messages from '@/components/mixins/Messages';
1467 15 | import { Prop } from 'vue-property-decorator';
1468> 16 | import { Term } from '@wmde/wikibase-datamodel-types';
1469 | ^
1470 17 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1471 18 |
1472 19 | @Component( {
1473
1474
1475error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:17:40:
1476 15 | import Vue from 'vue';
1477 16 | import Component from 'vue-class-component';
1478> 17 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1479 | ^
1480 18 | import { namespace } from 'vuex-class';
1481 19 | import { NS_USER } from '@/store/namespaces';
1482 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1483
1484
1485error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:19:25:
1486 17 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1487 18 | import { namespace } from 'vuex-class';
1488> 19 | import { NS_USER } from '@/store/namespaces';
1489 | ^
1490 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1491 21 |
1492 22 | @Component( {
1493
1494
1495error: "@/components/AllEnteredLanguagesExpandable.vue" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:20:43:
1496 18 | import { namespace } from 'vuex-class';
1497 19 | import { NS_USER } from '@/store/namespaces';
1498> 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1499 | ^
1500 21 |
1501 22 | @Component( {
1502 23 | components: { AllEnteredLanguagesExpandable, MonolingualFingerprintView },
1503
1504
1505error: "@/components/InMoreLanguages.vue" is not found (node/no-missing-import) at src/components/InMoreLanguagesExpandable.vue:21:29:
1506 19 | <script lang="ts">
1507 20 | import Component, { mixins } from 'vue-class-component';
1508> 21 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
1509 | ^
1510 22 | import Messages from '@/components/mixins/Messages';
1511 23 |
1512 24 | @Component( {
1513
1514
1515error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/InMoreLanguagesExpandable.vue:22:22:
1516 20 | import Component, { mixins } from 'vue-class-component';
1517 21 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
1518> 22 | import Messages from '@/components/mixins/Messages';
1519 | ^
1520 23 |
1521 24 | @Component( {
1522 25 | components: { InMoreLanguages },
1523
1524
1525error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Label.vue:22:22:
1526 20 | <script lang="ts">
1527 21 | import Component, { mixins } from 'vue-class-component';
1528> 22 | import Messages from '@/components/mixins/Messages';
1529 | ^
1530 23 | import { Term } from '@wmde/wikibase-datamodel-types';
1531 24 | import { Prop } from 'vue-property-decorator';
1532 25 |
1533
1534
1535error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Label.vue:23:22:
1536 21 | import Component, { mixins } from 'vue-class-component';
1537 22 | import Messages from '@/components/mixins/Messages';
1538> 23 | import { Term } from '@wmde/wikibase-datamodel-types';
1539 | ^
1540 24 | import { Prop } from 'vue-property-decorator';
1541 25 |
1542 26 | @Component
1543
1544
1545error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/LabelEdit.vue:17:22:
1546 15 | <script lang="ts">
1547 16 | import Component, { mixins } from 'vue-class-component';
1548> 17 | import Messages from '@/components/mixins/Messages';
1549 | ^
1550 18 | import { Prop } from 'vue-property-decorator';
1551 19 | import { Term } from '@wmde/wikibase-datamodel-types';
1552 20 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1553
1554
1555error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/LabelEdit.vue:19:22:
1556 17 | import Messages from '@/components/mixins/Messages';
1557 18 | import { Prop } from 'vue-property-decorator';
1558> 19 | import { Term } from '@wmde/wikibase-datamodel-types';
1559 | ^
1560 20 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1561 21 |
1562 22 | @Component( {
1563
1564
1565error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:31:22:
1566 29 | <script lang="ts">
1567 30 | import Component, { mixins } from 'vue-class-component';
1568> 31 | import Messages from '@/components/mixins/Messages';
1569 | ^
1570 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1571 33 | import Checkbox from '@/components/Checkbox.vue';
1572 34 | import { namespace } from 'vuex-class';
1573
1574
1575error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:32:33:
1576 30 | import Component, { mixins } from 'vue-class-component';
1577 31 | import Messages from '@/components/mixins/Messages';
1578> 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1579 | ^
1580 33 | import Checkbox from '@/components/Checkbox.vue';
1581 34 | import { namespace } from 'vuex-class';
1582 35 | import { NS_USER } from '@/store/namespaces';
1583
1584
1585error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:33:22:
1586 31 | import Messages from '@/components/mixins/Messages';
1587 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1588> 33 | import Checkbox from '@/components/Checkbox.vue';
1589 | ^
1590 34 | import { namespace } from 'vuex-class';
1591 35 | import { NS_USER } from '@/store/namespaces';
1592 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1593
1594
1595error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:35:25:
1596 33 | import Checkbox from '@/components/Checkbox.vue';
1597 34 | import { namespace } from 'vuex-class';
1598> 35 | import { NS_USER } from '@/store/namespaces';
1599 | ^
1600 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1601 37 | import { UserPreference } from '@/common/UserPreference';
1602 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1603
1604
1605error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:36:37:
1606 34 | import { namespace } from 'vuex-class';
1607 35 | import { NS_USER } from '@/store/namespaces';
1608> 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1609 | ^
1610 37 | import { UserPreference } from '@/common/UserPreference';
1611 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1612 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1613
1614
1615error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:37:32:
1616 35 | import { NS_USER } from '@/store/namespaces';
1617 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1618> 37 | import { UserPreference } from '@/common/UserPreference';
1619 | ^
1620 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1621 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1622 40 |
1623
1624
1625error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:38:31:
1626 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1627 37 | import { UserPreference } from '@/common/UserPreference';
1628> 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1629 | ^
1630 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1631 40 |
1632 41 | @Component( {
1633
1634
1635error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:39:28:
1636 37 | import { UserPreference } from '@/common/UserPreference';
1637 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1638> 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1639 | ^
1640 40 |
1641 41 | @Component( {
1642 42 | components: { IconMessageBox, Checkbox, EventEmittingButton },
1643
1644
1645error: "./mixins/Messages" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:44:22:
1646 42 | <script lang="ts">
1647 43 | import Component, { mixins } from 'vue-class-component';
1648> 44 | import Messages from './mixins/Messages';
1649 | ^
1650 45 | import {
1651 46 | mapState,
1652 47 | mapGetters,
1653
1654
1655error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:49:40:
1656 47 | mapGetters,
1657 48 | } from 'vuex';
1658> 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1659 | ^
1660 50 | import Label from '@/components/Label.vue';
1661 51 | import LabelEdit from '@/components/LabelEdit.vue';
1662 52 | import Description from '@/components/Description.vue';
1663
1664
1665error: "@/components/Label.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:50:19:
1666 48 | } from 'vuex';
1667 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1668> 50 | import Label from '@/components/Label.vue';
1669 | ^
1670 51 | import LabelEdit from '@/components/LabelEdit.vue';
1671 52 | import Description from '@/components/Description.vue';
1672 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1673
1674
1675error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:51:23:
1676 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1677 50 | import Label from '@/components/Label.vue';
1678> 51 | import LabelEdit from '@/components/LabelEdit.vue';
1679 | ^
1680 52 | import Description from '@/components/Description.vue';
1681 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1682 54 | import Aliases from '@/components/Aliases.vue';
1683
1684
1685error: "@/components/Description.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:52:25:
1686 50 | import Label from '@/components/Label.vue';
1687 51 | import LabelEdit from '@/components/LabelEdit.vue';
1688> 52 | import Description from '@/components/Description.vue';
1689 | ^
1690 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1691 54 | import Aliases from '@/components/Aliases.vue';
1692 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1693
1694
1695error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:53:29:
1696 51 | import LabelEdit from '@/components/LabelEdit.vue';
1697 52 | import Description from '@/components/Description.vue';
1698> 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1699 | ^
1700 54 | import Aliases from '@/components/Aliases.vue';
1701 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1702 56 | import { Prop } from 'vue-property-decorator';
1703
1704
1705error: "@/components/Aliases.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:54:21:
1706 52 | import Description from '@/components/Description.vue';
1707 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1708> 54 | import Aliases from '@/components/Aliases.vue';
1709 | ^
1710 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1711 56 | import { Prop } from 'vue-property-decorator';
1712 57 | import { namespace } from 'vuex-class';
1713
1714
1715error: "@/components/AliasesEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:55:25:
1716 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1717 54 | import Aliases from '@/components/Aliases.vue';
1718> 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1719 | ^
1720 56 | import { Prop } from 'vue-property-decorator';
1721 57 | import { namespace } from 'vuex-class';
1722 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1723
1724
1725error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:58:60:
1726 56 | import { Prop } from 'vue-property-decorator';
1727 57 | import { namespace } from 'vuex-class';
1728> 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1729 | ^
1730 59 | import { Term } from '@wmde/wikibase-datamodel-types';
1731 60 |
1732 61 | @Component( {
1733
1734
1735error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:59:22:
1736 57 | import { namespace } from 'vuex-class';
1737 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1738> 59 | import { Term } from '@wmde/wikibase-datamodel-types';
1739 | ^
1740 60 |
1741 61 | @Component( {
1742 62 | components: {
1743
1744
1745error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/TermBox.vue:75:8:
1746 73 | NS_LINKS,
1747 74 | NS_USER,
1748> 75 | } from '@/store/namespaces';
1749 | ^
1750 76 | import EditTools from '@/components/EditTools.vue';
1751 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1752 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1753
1754
1755error: "@/components/EditTools.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:76:23:
1756 74 | NS_USER,
1757 75 | } from '@/store/namespaces';
1758> 76 | import EditTools from '@/components/EditTools.vue';
1759 | ^
1760 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1761 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1762 79 | import { Action, namespace } from 'vuex-class';
1763
1764
1765error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:77:40:
1766 75 | } from '@/store/namespaces';
1767 76 | import EditTools from '@/components/EditTools.vue';
1768> 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1769 | ^
1770 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1771 79 | import { Action, namespace } from 'vuex-class';
1772 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1773
1774
1775error: "@/components/InMoreLanguagesExpandable.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:78:39:
1776 76 | import EditTools from '@/components/EditTools.vue';
1777 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1778> 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1779 | ^
1780 79 | import { Action, namespace } from 'vuex-class';
1781 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1782 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1783
1784
1785error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/TermBox.vue:80:46:
1786 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1787 79 | import { Action, namespace } from 'vuex-class';
1788> 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1789 | ^
1790 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1791 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1792 83 | import Messages from '@/components/mixins/Messages';
1793
1794
1795error: "@/store/actionTypes" is not found (node/no-missing-import) at src/components/TermBox.vue:81:56:
1796 79 | import { Action, namespace } from 'vuex-class';
1797 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1798> 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1799 | ^
1800 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1801 83 | import Messages from '@/components/mixins/Messages';
1802 84 | import Modal from '@/components/Modal.vue';
1803
1804
1805error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:82:33:
1806 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1807 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1808> 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1809 | ^
1810 83 | import Messages from '@/components/mixins/Messages';
1811 84 | import Modal from '@/components/Modal.vue';
1812 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1813
1814
1815error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/TermBox.vue:83:22:
1816 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1817 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1818> 83 | import Messages from '@/components/mixins/Messages';
1819 | ^
1820 84 | import Modal from '@/components/Modal.vue';
1821 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1822 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1823
1824
1825error: "@/components/Modal.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:84:19:
1826 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1827 83 | import Messages from '@/components/mixins/Messages';
1828> 84 | import Modal from '@/components/Modal.vue';
1829 | ^
1830 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1831 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1832 87 | import { UserPreference } from '@/common/UserPreference';
1833
1834
1835error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:85:29:
1836 83 | import Messages from '@/components/mixins/Messages';
1837 84 | import Modal from '@/components/Modal.vue';
1838> 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1839 | ^
1840 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1841 87 | import { UserPreference } from '@/common/UserPreference';
1842 88 | import User from '@/store/user/User';
1843
1844
1845error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:86:30:
1846 84 | import Modal from '@/components/Modal.vue';
1847 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1848> 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1849 | ^
1850 87 | import { UserPreference } from '@/common/UserPreference';
1851 88 | import User from '@/store/user/User';
1852 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1853
1854
1855error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/TermBox.vue:87:32:
1856 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1857 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1858> 87 | import { UserPreference } from '@/common/UserPreference';
1859 | ^
1860 88 | import User from '@/store/user/User';
1861 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1862 90 | import Overlay from '@/components/Overlay.vue';
1863
1864
1865error: "@/store/user/User" is not found (node/no-missing-import) at src/components/TermBox.vue:88:18:
1866 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1867 87 | import { UserPreference } from '@/common/UserPreference';
1868> 88 | import User from '@/store/user/User';
1869 | ^
1870 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1871 90 | import Overlay from '@/components/Overlay.vue';
1872 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1873
1874
1875error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/components/TermBox.vue:89:31:
1876 87 | import { UserPreference } from '@/common/UserPreference';
1877 88 | import User from '@/store/user/User';
1878> 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1879 | ^
1880 90 | import Overlay from '@/components/Overlay.vue';
1881 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1882 92 | import MessageBanner from '@/components/MessageBanner.vue';
1883
1884
1885error: "@/components/Overlay.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:90:21:
1886 88 | import User from '@/store/user/User';
1887 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1888> 90 | import Overlay from '@/components/Overlay.vue';
1889 | ^
1890 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1891 92 | import MessageBanner from '@/components/MessageBanner.vue';
1892 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1893
1894
1895error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:92:27:
1896 90 | import Overlay from '@/components/Overlay.vue';
1897 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1898> 92 | import MessageBanner from '@/components/MessageBanner.vue';
1899 | ^
1900 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1901 94 |
1902 95 | @Component( {
1903
1904
1905error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:93:28:
1906 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1907 92 | import MessageBanner from '@/components/MessageBanner.vue';
1908> 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1909 | ^
1910 94 |
1911 95 | @Component( {
1912 96 | components: {
1913
1914
1915error: "@/common/MessageKey" is not found (node/no-missing-import) at src/components/mixins/Messages.ts:3:28:
1916 1 | import Vue from 'vue';
1917 2 | import Component from 'vue-class-component';
1918> 3 | import { MessageKey } from '@/common/MessageKey';
1919 | ^
1920 4 | import { NS_MESSAGES, NS_USER } from '@/store/namespaces';
1921 5 | import { namespace } from 'vuex-class';
1922 6 |
1923
1924
1925error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/mixins/Messages.ts:4:38:
1926 2 | import Component from 'vue-class-component';
1927 3 | import { MessageKey } from '@/common/MessageKey';
1928> 4 | import { NS_MESSAGES, NS_USER } from '@/store/namespaces';
1929 | ^
1930 5 | import { namespace } from 'vuex-class';
1931 6 |
1932 7 | @Component
1933
1934
1935error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/datamodel/EntityRevision.ts:1:35:
1936> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1937 | ^
1938 2 |
1939 3 | export default class EntityRevision {
1940 4 | public readonly entity: FingerprintableEntity;
1941
1942
1943error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/datamodel/FingerprintableEntity.ts:1:39:
1944> 1 | import { AliasesList, TermList } from '@wmde/wikibase-datamodel-types';
1945 | ^
1946 2 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
1947 3 |
1948 4 | export default class FingerprintableEntity implements Fingerprintable {
1949
1950
1951error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/datamodel/FingerprintableEntity.ts:2:33:
1952 1 | import { AliasesList, TermList } from '@wmde/wikibase-datamodel-types';
1953> 2 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
1954 | ^
1955 3 |
1956 4 | export default class FingerprintableEntity implements Fingerprintable {
1957 5 | public readonly id: string;
1958
1959
1960error: "./Language" is not found (node/no-missing-import) at src/datamodel/LanguageCollection.ts:1:22:
1961> 1 | import Language from './Language';
1962 | ^
1963 2 |
1964 3 | interface LanguageCollection {
1965 4 | [code: string]: Language;
1966
1967
1968error: "@/common/MessageKey" is not found (node/no-missing-import) at src/datamodel/MessageCollection.ts:1:28:
1969> 1 | import { MessageKey } from '@/common/MessageKey';
1970 | ^
1971 2 |
1972 3 | type MessageCollection = {
1973 4 | [ key in MessageKey ]?: string;
1974
1975
1976error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/datamodel/MessageTranslationCollection.ts:1:31:
1977> 1 | import MessageCollection from '@/datamodel/MessageCollection';
1978 | ^
1979 2 |
1980 3 | interface MessageTranslationCollection {
1981 4 | [ languageCode: string ]: MessageCollection;
1982
1983
1984error: "@/mock-data/MwConfig" is not found (node/no-missing-import) at src/dev-entry.ts:1:22:
1985> 1 | import MWConfig from '@/mock-data/MwConfig';
1986 | ^
1987 2 | import entity from './mock-data/data/Q64_data.json';
1988 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
1989 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
1990
1991
1992error: "@/mock-data/data/en_lang_dir_data.json" is not found (node/no-missing-import) at src/dev-entry.ts:3:30:
1993 1 | import MWConfig from '@/mock-data/MwConfig';
1994 2 | import entity from './mock-data/data/Q64_data.json';
1995> 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
1996 | ^
1997 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
1998 5 | import MwWindow from '@/client/mediawiki/MwWindow';
1999 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2000
2001
2002error: "@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler" is not found (node/no-missing-import) at src/dev-entry.ts:4:56:
2003 2 | import entity from './mock-data/data/Q64_data.json';
2004 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
2005> 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2006 | ^
2007 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2008 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2009 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2010
2011
2012error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/dev-entry.ts:5:22:
2013 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
2014 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2015> 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2016 | ^
2017 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2018 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2019 8 | import { message } from './mock-data/MockMwMessages';
2020
2021
2022error: "./mock-data/getOrEnforceUrlParameter" is not found (node/no-missing-import) at src/dev-entry.ts:6:38:
2023 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2024 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2025> 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2026 | ^
2027 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2028 8 | import { message } from './mock-data/MockMwMessages';
2029 9 |
2030
2031
2032error: "@/mock-data/MockWikibaseContentLanguages" is not found (node/no-missing-import) at src/dev-entry.ts:7:44:
2033 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2034 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2035> 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2036 | ^
2037 8 | import { message } from './mock-data/MockMwMessages';
2038 9 |
2039 10 | const language = getOrEnforceUrlParameter( 'language', 'de' );
2040
2041
2042error: "./mock-data/MockMwMessages" is not found (node/no-missing-import) at src/dev-entry.ts:8:25:
2043 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2044 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2045> 8 | import { message } from './mock-data/MockMwMessages';
2046 | ^
2047 9 |
2048 10 | const language = getOrEnforceUrlParameter( 'language', 'de' );
2049 11 | const preferredLanguages = getOrEnforceUrlParameter(
2050
2051
2052error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/mock-data/MockMwMessages.ts:2:27:
2053 1 | import * as messages from './data/de_messages_data.json';
2054> 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
2055 | ^
2056 3 |
2057 4 | export function message( key: string ): MwMessage {
2058 5 | return {
2059
2060
2061error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/mock-data/MockWikibaseContentLanguages.ts:1:28:
2062> 1 | import { StringTMap } from '@/datamodel/LanguageTranslations';
2063 | ^
2064 2 | import languageMap from '@/mock-data/data/en_lang_data.json';
2065 3 |
2066 4 | export default class MockWikibaseContentLanguages {
2067
2068
2069error: "@/mock-data/data/en_lang_data.json" is not found (node/no-missing-import) at src/mock-data/MockWikibaseContentLanguages.ts:2:25:
2070 1 | import { StringTMap } from '@/datamodel/LanguageTranslations';
2071> 2 | import languageMap from '@/mock-data/data/en_lang_data.json';
2072 | ^
2073 3 |
2074 4 | export default class MockWikibaseContentLanguages {
2075 5 | public getAllPairs(): StringTMap<string> {
2076
2077
2078warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/mock-data/getOrEnforceUrlParameter.ts:3:1:
2079 1 | import 'url-search-params-polyfill';
2080 2 |
2081> 3 | /**
2082 | ^
2083 4 | * Get the value of the current (i.e. in browser) URL's GET param
2084 5 | * or redirect to the given default value if not present
2085 6 | *
2086
2087
2088warning: Missing JSDoc @param "name" type (jsdoc/require-param-type) at src/mock-data/getOrEnforceUrlParameter.ts:
2089 5 | * or redirect to the given default value if not present
2090 6 | *
2091> 7 | * @param name string
2092 | ^
2093 8 | * @param defaultValue string
2094 9 | */
2095 10 | export default function ( name: string, defaultValue: string ): string {
2096
2097
2098warning: Missing JSDoc @param "defaultValue" type (jsdoc/require-param-type) at src/mock-data/getOrEnforceUrlParameter.ts:
2099 6 | *
2100 7 | * @param name string
2101> 8 | * @param defaultValue string
2102 | ^
2103 9 | */
2104 10 | export default function ( name: string, defaultValue: string ): string {
2105 11 | const searchParams = new URLSearchParams( location.search );
2106
2107
2108error: The 'URLSearchParams' is not supported until Node.js 10.0.0. The configured version range is '>=8.0.0' (node/no-unsupported-features/node-builtins) at src/mock-data/getOrEnforceUrlParameter.ts:11:27:
2109 9 | */
2110 10 | export default function ( name: string, defaultValue: string ): string {
2111> 11 | const searchParams = new URLSearchParams( location.search );
2112 | ^
2113 12 | const value = searchParams.get( name );
2114 13 | if ( value === null || value.trim() === '' ) {
2115 14 | searchParams.set( name, defaultValue );
2116
2117
2118error: "./Logger" is not found (node/no-missing-import) at src/server/ServiceRunnerOptions.ts:1:20:
2119> 1 | import Logger from './Logger';
2120 | ^
2121 2 | import Metrics from './Metrics';
2122 3 |
2123 4 | export interface Config {
2124
2125
2126error: "./Metrics" is not found (node/no-missing-import) at src/server/ServiceRunnerOptions.ts:2:21:
2127 1 | import Logger from './Logger';
2128> 2 | import Metrics from './Metrics';
2129 | ^
2130 3 |
2131 4 | export interface Config {
2132 5 | WIKIBASE_REPO: string;
2133
2134
2135error: "./route-handler/termbox/TermboxHandler" is not found (node/no-missing-import) at src/server/app.ts:6:28:
2136 4 | import responseTime from 'response-time';
2137 5 | import { createBundleRenderer } from 'vue-server-renderer';
2138> 6 | import TermboxHandler from './route-handler/termbox/TermboxHandler';
2139 | ^
2140 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2141 8 | import HttpStatus from 'http-status-codes';
2142 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2143
2144
2145error: "./route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at src/server/app.ts:7:28:
2146 5 | import { createBundleRenderer } from 'vue-server-renderer';
2147 6 | import TermboxHandler from './route-handler/termbox/TermboxHandler';
2148> 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2149 | ^
2150 8 | import HttpStatus from 'http-status-codes';
2151 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2152 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2153
2154
2155error: "./exceptions/BundleBoundaryPassingException" is not found (node/no-missing-import) at src/server/app.ts:9:61:
2156 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2157 8 | import HttpStatus from 'http-status-codes';
2158> 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2159 | ^
2160 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2161 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2162 12 | import inlanguage from './directives/inlanguage';
2163
2164
2165error: "./bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at src/server/app.ts:10:36:
2166 8 | import HttpStatus from 'http-status-codes';
2167 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2168> 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2169 | ^
2170 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2171 12 | import inlanguage from './directives/inlanguage';
2172 13 | import packageInfo from '@/../package.json';
2173
2174
2175error: "./bundle-renderer/BundleRendererContextBuilder" is not found (node/no-missing-import) at src/server/app.ts:11:42:
2176 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2177 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2178> 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2179 | ^
2180 12 | import inlanguage from './directives/inlanguage';
2181 13 | import packageInfo from '@/../package.json';
2182 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2183
2184
2185error: "./directives/inlanguage" is not found (node/no-missing-import) at src/server/app.ts:12:24:
2186 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2187 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2188> 12 | import inlanguage from './directives/inlanguage';
2189 | ^
2190 13 | import packageInfo from '@/../package.json';
2191 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2192 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2193
2194
2195error: "@/../package.json" is not found (node/no-missing-import) at src/server/app.ts:13:25:
2196 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2197 12 | import inlanguage from './directives/inlanguage';
2198> 13 | import packageInfo from '@/../package.json';
2199 | ^
2200 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2201 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2202 16 | import LoggableError from '@/common/error/LoggableError';
2203
2204
2205error: "./route-handler/_info/InfoHandler" is not found (node/no-missing-import) at src/server/app.ts:14:25:
2206 12 | import inlanguage from './directives/inlanguage';
2207 13 | import packageInfo from '@/../package.json';
2208> 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2209 | ^
2210 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2211 16 | import LoggableError from '@/common/error/LoggableError';
2212 17 |
2213
2214
2215error: "./reportResponseTimeMetrics" is not found (node/no-missing-import) at src/server/app.ts:15:39:
2216 13 | import packageInfo from '@/../package.json';
2217 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2218> 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2219 | ^
2220 16 | import LoggableError from '@/common/error/LoggableError';
2221 17 |
2222 18 | function buildErrorContextWithUrl( error: LoggableError, request: Request ): object {
2223
2224
2225error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/server/app.ts:16:27:
2226 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2227 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2228> 16 | import LoggableError from '@/common/error/LoggableError';
2229 | ^
2230 17 |
2231 18 | function buildErrorContextWithUrl( error: LoggableError, request: Request ): object {
2232 19 | return {
2233
2234
2235error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:1:24:
2236> 1 | import { Config } from './ServiceRunnerOptions';
2237 | ^
2238 2 | import Logger from './Logger';
2239 3 | import {
2240 4 | DEFAULT_LANGUAGES_CACHE_MAX_AGE,
2241
2242
2243error: "./Logger" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:2:20:
2244 1 | import { Config } from './ServiceRunnerOptions';
2245> 2 | import Logger from './Logger';
2246 | ^
2247 3 | import {
2248 4 | DEFAULT_LANGUAGES_CACHE_MAX_AGE,
2249 5 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
2250
2251
2252error: "@/common/constants" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:7:8:
2253 5 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
2254 6 | DEFAULT_REQUEST_TIMEOUT,
2255> 7 | } from '@/common/constants';
2256 | ^
2257 8 | import Joi from '@hapi/joi';
2258 9 |
2259 10 | export default function ( processEnv: NodeJS.ProcessEnv, logger: Logger ): Config {
2260
2261
2262error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/assertAndGetConfig.ts:31:3:
2263 29 | if ( error ) {
2264 30 | logger.log( 'fatal/service', `Failed parsing env vars: ${error.toString()}` );
2265> 31 | process.exit( 1 );
2266 | ^
2267 32 | }
2268 33 |
2269 34 | logger.log( 'info/service', `Set config to: ${JSON.stringify( config )}` );
2270
2271
2272error: "@/common/constants" is not found (node/no-missing-import) at src/server/axios/axiosFactory.ts:2:39:
2273 1 | import axios, { AxiosInstance } from 'axios';
2274> 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
2275 | ^
2276 3 | import { URL } from 'url';
2277 4 |
2278 5 | export default function axiosFactory(
2279
2280
2281error: "../metadata/PackageInfo" is not found (node/no-missing-import) at src/server/axios/getMwUserAgentString.ts:1:25:
2282> 1 | import PackageInfo from '../metadata/PackageInfo';
2283 | ^
2284 2 |
2285 3 | export default function ( info: Required<PackageInfo> ): string {
2286 4 | const appInformation = `${info.name}/${info.version}`;
2287
2288
2289error: "@/../openapi.json" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:1:25:
2290> 1 | import openApiJson from '@/../openapi.json';
2291 | ^
2292 2 | import qs from 'querystring';
2293 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2294 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2295
2296
2297error: "./route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:3:36:
2298 1 | import openApiJson from '@/../openapi.json';
2299 2 | import qs from 'querystring';
2300> 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2301 | ^
2302 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2303 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2304 6 |
2305
2306
2307error: "./route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:4:28:
2308 2 | import qs from 'querystring';
2309 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2310> 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2311 | ^
2312 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2313 6 |
2314 7 | export default function buildOpenApiSpec(
2315
2316
2317error: "@/types/server/ServiceCheckerEnabledOpenApiV3" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:5:26:
2318 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2319 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2320> 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2321 | ^
2322 6 |
2323 7 | export default function buildOpenApiSpec(
2324 8 | healthCheckQuery: string|null,
2325
2326
2327error: "./BundleRendererServices" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContext.ts:1:36:
2328> 1 | import BundleRendererServices from './BundleRendererServices';
2329 | ^
2330 2 | import TermboxRequest from '@/common/TermboxRequest';
2331 3 |
2332 4 | export default class BundleRendererContext {
2333
2334
2335error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContext.ts:2:28:
2336 1 | import BundleRendererServices from './BundleRendererServices';
2337> 2 | import TermboxRequest from '@/common/TermboxRequest';
2338 | ^
2339 3 |
2340 4 | export default class BundleRendererContext {
2341 5 | public readonly services: BundleRendererServices;
2342
2343
2344error: "./BundleRendererServices" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:1:36:
2345> 1 | import BundleRendererServices from './BundleRendererServices';
2346 | ^
2347 2 | import BundleRendererContext from './BundleRendererContext';
2348 3 | import TermboxRequest from '@/common/TermboxRequest';
2349 4 |
2350
2351
2352error: "./BundleRendererContext" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:2:35:
2353 1 | import BundleRendererServices from './BundleRendererServices';
2354> 2 | import BundleRendererContext from './BundleRendererContext';
2355 | ^
2356 3 | import TermboxRequest from '@/common/TermboxRequest';
2357 4 |
2358 5 | export default class BundleRendererContextBuilder {
2359
2360
2361error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:3:28:
2362 1 | import BundleRendererServices from './BundleRendererServices';
2363 2 | import BundleRendererContext from './BundleRendererContext';
2364> 3 | import TermboxRequest from '@/common/TermboxRequest';
2365 | ^
2366 4 |
2367 5 | export default class BundleRendererContextBuilder {
2368 6 | private readonly services: BundleRendererServices;
2369
2370
2371error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:3:42:
2372 1 | import { AxiosInstance } from 'axios';
2373 2 | import LRUCache from 'lru-cache';
2374> 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2375 | ^
2376 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2377 5 | import Logger from '@/server/Logger';
2378 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2379
2380
2381error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:4:45:
2382 2 | import LRUCache from 'lru-cache';
2383 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2384> 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2385 | ^
2386 5 | import Logger from '@/server/Logger';
2387 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2388 7 | import Metrics from '@/server/Metrics';
2389
2390
2391error: "@/server/Logger" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:5:20:
2392 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2393 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2394> 5 | import Logger from '@/server/Logger';
2395 | ^
2396 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2397 7 | import Metrics from '@/server/Metrics';
2398 8 |
2399
2400
2401error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:6:36:
2402 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2403 5 | import Logger from '@/server/Logger';
2404> 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2405 | ^
2406 7 | import Metrics from '@/server/Metrics';
2407 8 |
2408 9 | export default class BundleRendererServices {
2409
2410
2411error: "@/server/Metrics" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:7:21:
2412 5 | import Logger from '@/server/Logger';
2413 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2414> 7 | import Metrics from '@/server/Metrics';
2415 | ^
2416 8 |
2417 9 | export default class BundleRendererServices {
2418 10 | public readonly axios: AxiosInstance;
2419
2420
2421error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:1:30:
2422> 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2423 | ^
2424 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2425 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2426 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2427
2428
2429error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:2:30:
2430 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2431> 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2432 | ^
2433 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2434 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2435 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2436
2437
2438error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:3:28:
2439 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2440 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2441> 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2442 | ^
2443 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2444 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2445 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2446
2447
2448error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:4:35:
2449 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2450 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2451> 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2452 | ^
2453 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2454 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2455 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2456
2457
2458error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:5:40:
2459 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2460 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2461> 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2462 | ^
2463 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2464 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2465 8 | import HttpStatus from 'http-status-codes';
2466
2467
2468error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:7:40:
2469 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2470 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2471> 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2472 | ^
2473 8 | import HttpStatus from 'http-status-codes';
2474 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2475 10 |
2476
2477
2478error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:9:35:
2479 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2480 8 | import HttpStatus from 'http-status-codes';
2481> 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2482 | ^
2483 10 |
2484 11 | export default class AxiosSpecialPageEntityRepo implements EntityRepository {
2485 12 | public static readonly SPECIAL_PAGE = 'Special:EntityData';
2486
2487
2488error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:1:30:
2489> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2490 | ^
2491 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2492 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2493 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2494
2495
2496error: "@/common/data-access/error/TranslationLanguageNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:2:41:
2497 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2498> 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2499 | ^
2500 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2501 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2502 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2503
2504
2505error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:4:75:
2506 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2507 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2508> 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2509 | ^
2510 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2511 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2512 7 |
2513
2514
2515error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:5:38:
2516 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2517 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2518> 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2519 | ^
2520 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2521 7 |
2522 8 | export default class AxiosWikibaseContentLanguagesRepo implements WikibaseContentLanguagesRepo {
2523
2524
2525error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:6:35:
2526 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2527 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2528> 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2529 | ^
2530 7 |
2531 8 | export default class AxiosWikibaseContentLanguagesRepo implements WikibaseContentLanguagesRepo {
2532 9 | private axios: AxiosInstance;
2533
2534
2535error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:1:30:
2536> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2537 | ^
2538 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2539 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2540 4 | import MessageCollection from '@/datamodel/MessageCollection';
2541
2542
2543error: "@/common/data-access/error/MessageNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:2:29:
2544 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2545> 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2546 | ^
2547 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2548 4 | import MessageCollection from '@/datamodel/MessageCollection';
2549 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2550
2551
2552error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:3:42:
2553 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2554 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2555> 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2556 | ^
2557 4 | import MessageCollection from '@/datamodel/MessageCollection';
2558 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2559 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2560
2561
2562error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:4:31:
2563 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2564 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2565> 4 | import MessageCollection from '@/datamodel/MessageCollection';
2566 | ^
2567 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2568 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2569 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2570
2571
2572error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:5:32:
2573 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2574 4 | import MessageCollection from '@/datamodel/MessageCollection';
2575> 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2576 | ^
2577 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2578 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2579 8 | import { MessageKey } from '@/common/MessageKey';
2580
2581
2582error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:7:38:
2583 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2584 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2585> 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2586 | ^
2587 8 | import { MessageKey } from '@/common/MessageKey';
2588 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2589 10 |
2590
2591
2592error: "@/common/MessageKey" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:8:28:
2593 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2594 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2595> 8 | import { MessageKey } from '@/common/MessageKey';
2596 | ^
2597 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2598 10 |
2599 11 | interface ResponseMessageSuccess {
2600
2601
2602error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:9:35:
2603 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2604 8 | import { MessageKey } from '@/common/MessageKey';
2605> 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2606 | ^
2607 10 |
2608 11 | interface ResponseMessageSuccess {
2609 12 | name: MessageKey;
2610
2611
2612warning: Missing JSDoc @param "cache" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2613 12 |
2614 13 | /**
2615> 14 | * @param cache
2616 | ^
2617 15 | * @param instance - instance to bind the method to
2618 16 | * @param method - method to be decorated
2619 17 | */
2620
2621
2622warning: Missing JSDoc @param "instance" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2623 13 | /**
2624 14 | * @param cache
2625> 15 | * @param instance - instance to bind the method to
2626 | ^
2627 16 | * @param method - method to be decorated
2628 17 | */
2629 18 | public constructor(
2630
2631
2632warning: Missing JSDoc @param "method" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2633 14 | * @param cache
2634 15 | * @param instance - instance to bind the method to
2635> 16 | * @param method - method to be decorated
2636 | ^
2637 17 | */
2638 18 | public constructor(
2639 19 | cache: LRUCache<string, V>,
2640
2641
2642error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:1:32:
2643> 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2644 | ^
2645 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2646 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2647 4 | import RtlDetectLib from 'rtl-detect';
2648
2649
2650error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:2:32:
2651 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2652> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2653 | ^
2654 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2655 4 | import RtlDetectLib from 'rtl-detect';
2656 5 |
2657
2658
2659error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:3:42:
2660 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2661 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2662> 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2663 | ^
2664 4 | import RtlDetectLib from 'rtl-detect';
2665 5 |
2666 6 | export default class ContentLanguagesLanguageRepo implements LanguageRepository {
2667
2668
2669error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/server/data-access/ContentLanguagesLanguageRepo.ts:17:5:
2670 15 | .then( ( contentLanguages ) => {
2671 16 | const languages: LanguageCollection = {};
2672> 17 | Object.entries( contentLanguages ).forEach( ( [ languageCode, _language ] ) => {
2673 | ^
2674 18 | languages[ languageCode ] = {
2675 19 | code: languageCode,
2676 20 | // this does not do full justice to the directionality question
2677
2678
2679error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:1:43:
2680> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2681 | ^
2682 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2683 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2684 4 |
2685
2686
2687error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:2:34:
2688 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2689> 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2690 | ^
2691 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2692 4 |
2693 5 | export default class ContentLanguagesLanguageTranslationRepo implements LanguageTranslationRepository {
2694
2695
2696error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:3:42:
2697 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2698 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2699> 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2700 | ^
2701 4 |
2702 5 | export default class ContentLanguagesLanguageTranslationRepo implements LanguageTranslationRepository {
2703 6 | private languagesRepo: WikibaseContentLanguagesRepo;
2704
2705
2706error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:16:5:
2707 14 | .then( ( contentLanguages ) => {
2708 15 | const translations: LanguageTranslations = { [ inLanguage ]: {} };
2709> 16 | Object.entries( contentLanguages ).forEach( ( [ languageCode, language ] ) => {
2710 | ^
2711 17 | translations[ inLanguage ][ languageCode ] = language.name;
2712 18 | } );
2713 19 |
2714
2715
2716error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.ts:1:75:
2717> 1 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2718 | ^
2719 2 | import { Deferred } from 'ts-deferred';
2720 3 |
2721 4 | /**
2722
2723
2724error: "./server" is not found (node/no-missing-import) at src/server/dev-node-entrypoint.ts:1:20:
2725> 1 | import server from './server';
2726 | ^
2727 2 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2728 3 |
2729 4 | /* eslint-disable no-console */
2730
2731
2732error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/dev-node-entrypoint.ts:2:34:
2733 1 | import server from './server';
2734> 2 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2735 | ^
2736 3 |
2737 4 | /* eslint-disable no-console */
2738 5 | const options: ServiceRunnerOptions = {
2739
2740
2741error: "@/datamodel/Language" is not found (node/no-missing-import) at src/server/directives/inlanguage.ts:2:22:
2742 1 | import { VNode, VNodeDirective } from 'vue';
2743> 2 | import Language from '@/datamodel/Language';
2744 | ^
2745 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
2746 4 | import { NS_LANGUAGE } from '@/store/namespaces';
2747 5 |
2748
2749
2750error: "@/store/namespaces" is not found (node/no-missing-import) at src/server/directives/inlanguage.ts:4:29:
2751 2 | import Language from '@/datamodel/Language';
2752 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
2753> 4 | import { NS_LANGUAGE } from '@/store/namespaces';
2754 | ^
2755 5 |
2756 6 | export default function inlanguage( vnode: VNode, directiveMeta: VNodeDirective ): void {
2757 7 | if ( !directiveMeta.value ) {
2758
2759
2760error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/server/exceptions/BundleBoundaryPassingException.ts:1:26:
2761> 1 | import ContextError from '@/common/error/ContextError';
2762 | ^
2763 2 |
2764 3 | export enum ErrorReason {
2765 4 | EntityNotFound = 'EntityNotFound',
2766
2767
2768error: "./Metrics" is not found (node/no-missing-import) at src/server/reportResponseTimeMetrics.ts:2:21:
2769 1 | import express from 'express';
2770> 2 | import Metrics from './Metrics';
2771 | ^
2772 3 |
2773 4 | export default function reportResponseTimeMetrics( metrics: Metrics ) {
2774 5 | return ( request: express.Request, response: express.Response, time: number ) => {
2775
2776
2777error: "../../metadata/PackageInfo" is not found (node/no-missing-import) at src/server/route-handler/_info/InfoHandler.ts:2:25:
2778 1 | import { Request, Response, Router } from 'express';
2779> 2 | import PackageInfo from '../../metadata/PackageInfo';
2780 | ^
2781 3 |
2782 4 | export default function ( info: PackageInfo ): Router {
2783 5 | const router = Router();
2784
2785
2786error: "./error/InvalidRequest" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:1:28:
2787> 1 | import InvalidRequest from './error/InvalidRequest';
2788 | ^
2789 2 | import TermboxRequest from '@/common/TermboxRequest';
2790 3 | import { OpenAPI } from 'openapi-types';
2791 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2792
2793
2794error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:2:28:
2795 1 | import InvalidRequest from './error/InvalidRequest';
2796> 2 | import TermboxRequest from '@/common/TermboxRequest';
2797 | ^
2798 3 | import { OpenAPI } from 'openapi-types';
2799 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2800 5 |
2801
2802
2803error: "./CoercingQueryValidator" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:4:36:
2804 2 | import TermboxRequest from '@/common/TermboxRequest';
2805 3 | import { OpenAPI } from 'openapi-types';
2806> 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2807 | ^
2808 5 |
2809 6 | export default class TermboxHandler {
2810 7 |
2811
2812
2813error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/server/route-handler/termbox/error/InvalidRequest.ts:1:26:
2814> 1 | import ContextError from '@/common/error/ContextError';
2815 | ^
2816 2 | import { OpenAPIRequestValidatorError } from 'openapi-request-validator';
2817 3 |
2818 4 | export default class InvalidRequest extends ContextError {
2819
2820
2821error: "./app" is not found (node/no-missing-import) at src/server/server.ts:2:23:
2822 1 | import 'module-alias/register';
2823> 2 | import createApp from './app';
2824 | ^
2825 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2826 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2827 5 | import LRUCache from 'lru-cache';
2828
2829
2830error: "./bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at src/server/server.ts:3:36:
2831 1 | import 'module-alias/register';
2832 2 | import createApp from './app';
2833> 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2834 | ^
2835 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2836 5 | import LRUCache from 'lru-cache';
2837 6 | import openApiJson from '@/../openapi.json';
2838
2839
2840error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/server.ts:4:34:
2841 2 | import createApp from './app';
2842 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2843> 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2844 | ^
2845 5 | import LRUCache from 'lru-cache';
2846 6 | import openApiJson from '@/../openapi.json';
2847 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2848
2849
2850error: "@/../openapi.json" is not found (node/no-missing-import) at src/server/server.ts:6:25:
2851 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2852 5 | import LRUCache from 'lru-cache';
2853> 6 | import openApiJson from '@/../openapi.json';
2854 | ^
2855 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2856 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2857 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2858
2859
2860error: "./route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/server.ts:7:36:
2861 5 | import LRUCache from 'lru-cache';
2862 6 | import openApiJson from '@/../openapi.json';
2863> 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2864 | ^
2865 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2866 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2867 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2868
2869
2870error: "./buildOpenApiSpec" is not found (node/no-missing-import) at src/server/server.ts:10:30:
2871 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2872 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2873> 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2874 | ^
2875 11 | import assertAndGetConfig from './assertAndGetConfig';
2876 12 | import axiosFactory from './axios/axiosFactory';
2877 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2878
2879
2880error: "./assertAndGetConfig" is not found (node/no-missing-import) at src/server/server.ts:11:32:
2881 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2882 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2883> 11 | import assertAndGetConfig from './assertAndGetConfig';
2884 | ^
2885 12 | import axiosFactory from './axios/axiosFactory';
2886 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2887 14 | import packageInfo from '@/../package.json';
2888
2889
2890error: "./axios/axiosFactory" is not found (node/no-missing-import) at src/server/server.ts:12:26:
2891 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2892 11 | import assertAndGetConfig from './assertAndGetConfig';
2893> 12 | import axiosFactory from './axios/axiosFactory';
2894 | ^
2895 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2896 14 | import packageInfo from '@/../package.json';
2897 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2898
2899
2900error: "./axios/getMwUserAgentString" is not found (node/no-missing-import) at src/server/server.ts:13:34:
2901 11 | import assertAndGetConfig from './assertAndGetConfig';
2902 12 | import axiosFactory from './axios/axiosFactory';
2903> 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2904 | ^
2905 14 | import packageInfo from '@/../package.json';
2906 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2907 16 |
2908
2909
2910error: "@/../package.json" is not found (node/no-missing-import) at src/server/server.ts:14:25:
2911 12 | import axiosFactory from './axios/axiosFactory';
2912 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2913> 14 | import packageInfo from '@/../package.json';
2914 | ^
2915 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2916 16 |
2917 17 | export default function ( options: ServiceRunnerOptions ): void {
2918
2919
2920error: "@/types/server/ServiceCheckerEnabledOpenApiV3" is not found (node/no-missing-import) at src/server/server.ts:15:26:
2921 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2922 14 | import packageInfo from '@/../package.json';
2923> 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2924 | ^
2925 16 |
2926 17 | export default function ( options: ServiceRunnerOptions ): void {
2927 18 | const logger = options.logger;
2928
2929
2930error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/server.ts:39:3:
2931 37 | } catch ( error ) {
2932 38 | logger.log( 'fatal/service', `HEALTHCHECK_QUERY malformed: ${JSON.stringify( error.info )}. Exiting.` );
2933> 39 | process.exit( 1 );
2934 | ^
2935 40 | }
2936 41 |
2937 42 | openApiSpec = openApiSpec as Document;
2938
2939
2940error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/server.ts:72:3:
2941 70 | process.on( 'SIGINT', () => {
2942 71 | logger.log( 'info/service', 'Process received SIGINT' );
2943> 72 | process.exit( 0 );
2944 | ^
2945 73 | } );
2946 74 | }
2947 75 |
2948
2949
2950error: "@/components/App.vue" is not found (node/no-missing-import) at src/server-entry.ts:2:17:
2951 1 | import Vue from 'vue';
2952> 2 | import App from '@/components/App.vue';
2953 | ^
2954 3 | import buildApp from '@/common/buildApp';
2955 4 | import TermboxServices from './common/TermboxServices';
2956 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2957
2958
2959error: "@/common/buildApp" is not found (node/no-missing-import) at src/server-entry.ts:3:22:
2960 1 | import Vue from 'vue';
2961 2 | import App from '@/components/App.vue';
2962> 3 | import buildApp from '@/common/buildApp';
2963 | ^
2964 4 | import TermboxServices from './common/TermboxServices';
2965 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2966 6 | import EntityInitializer from './common/EntityInitializer';
2967
2968
2969error: "./common/TermboxServices" is not found (node/no-missing-import) at src/server-entry.ts:4:29:
2970 2 | import App from '@/components/App.vue';
2971 3 | import buildApp from '@/common/buildApp';
2972> 4 | import TermboxServices from './common/TermboxServices';
2973 | ^
2974 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2975 6 | import EntityInitializer from './common/EntityInitializer';
2976 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2977
2978
2979error: "./server/data-access/AxiosSpecialPageEntityRepo" is not found (node/no-missing-import) at src/server-entry.ts:5:40:
2980 3 | import buildApp from '@/common/buildApp';
2981 4 | import TermboxServices from './common/TermboxServices';
2982> 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2983 | ^
2984 6 | import EntityInitializer from './common/EntityInitializer';
2985 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2986 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2987
2988
2989error: "./common/EntityInitializer" is not found (node/no-missing-import) at src/server-entry.ts:6:31:
2990 4 | import TermboxServices from './common/TermboxServices';
2991 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2992> 6 | import EntityInitializer from './common/EntityInitializer';
2993 | ^
2994 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2995 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2996 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
2997
2998
2999error: "@/server/exceptions/BundleBoundaryPassingException" is not found (node/no-missing-import) at src/server-entry.ts:7:61:
3000 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
3001 6 | import EntityInitializer from './common/EntityInitializer';
3002> 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3003 | ^
3004 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3005 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3006 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3007
3008
3009error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at src/server-entry.ts:8:28:
3010 6 | import EntityInitializer from './common/EntityInitializer';
3011 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3012> 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3013 | ^
3014 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3015 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3016 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3017
3018
3019error: "./server/data-access/AxiosWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:9:47:
3020 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3021 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3022> 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3023 | ^
3024 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3025 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3026 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3027
3028
3029error: "./common/data-access/error/TranslationLanguageNotFound" is not found (node/no-missing-import) at src/server-entry.ts:10:41:
3030 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3031 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3032> 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3033 | ^
3034 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3035 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3036 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3037
3038
3039error: "./server/data-access/ContentLanguagesLanguageTranslationRepo" is not found (node/no-missing-import) at src/server-entry.ts:11:53:
3040 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3041 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3042> 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3043 | ^
3044 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3045 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3046 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3047
3048
3049error: "./server/data-access/ContentLanguagesLanguageRepo" is not found (node/no-missing-import) at src/server-entry.ts:12:42:
3050 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3051 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3052> 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3053 | ^
3054 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3055 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3056 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3057
3058
3059error: "./server/data-access/AxiosWikibaseMessagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:13:39:
3060 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3061 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3062> 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3063 | ^
3064 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3065 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3066 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3067
3068
3069error: "./server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:15:7:
3070 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3071 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3072> 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3073 | ^
3074 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3075 17 | import { MessageKey } from './common/MessageKey';
3076 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3077
3078
3079error: "./server/bundle-renderer/BundleRendererContext" is not found (node/no-missing-import) at src/server-entry.ts:16:35:
3080 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3081 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3082> 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3083 | ^
3084 17 | import { MessageKey } from './common/MessageKey';
3085 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3086 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3087
3088
3089error: "./common/MessageKey" is not found (node/no-missing-import) at src/server-entry.ts:17:28:
3090 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3091 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3092> 17 | import { MessageKey } from './common/MessageKey';
3093 | ^
3094 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3095 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3096 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3097
3098
3099error: "./server/data-access/CachingMethodDecorator" is not found (node/no-missing-import) at src/server-entry.ts:18:36:
3100 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3101 17 | import { MessageKey } from './common/MessageKey';
3102> 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3103 | ^
3104 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3105 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3106 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3107
3108
3109error: "./common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/server-entry.ts:19:32:
3110 17 | import { MessageKey } from './common/MessageKey';
3111 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3112> 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3113 | ^
3114 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3115 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3116 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3117
3118
3119error: "./datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server-entry.ts:20:42:
3120 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3121 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3122> 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3123 | ^
3124 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3125 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3126 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3127
3128
3129error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:22:7:
3130 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3131 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3132> 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3133 | ^
3134 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3135 24 | import EntityRevision from '@/datamodel/EntityRevision';
3136 25 |
3137
3138
3139error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/server-entry.ts:23:28:
3140 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3141 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3142> 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3143 | ^
3144 24 | import EntityRevision from '@/datamodel/EntityRevision';
3145 25 |
3146 26 | Vue.mixin( newConfigMixin( {
3147
3148
3149error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/server-entry.ts:24:28:
3150 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3151 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3152> 24 | import EntityRevision from '@/datamodel/EntityRevision';
3153 | ^
3154 25 |
3155 26 | Vue.mixin( newConfigMixin( {
3156 27 | // As of now all config values concern edit mode exclusively, which is not reachable on the server side
3157
3158
3159error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/server-entry.ts:58:3:
3160 56 | const axiosWikibaseMessagesRepo = new AxiosWikibaseMessagesRepo(
3161 57 | axios,
3162> 58 | Object.values( MessageKey ),
3163 | ^
3164 59 | );
3165 60 | services.set(
3166 61 | 'messagesRepository',
3167
3168
3169error: "./namespaces" is not found (node/no-missing-import) at src/store/Root.ts:7:8:
3170 5 | NS_MESSAGES,
3171 6 | NS_USER,
3172> 7 | } from './namespaces';
3173 | ^
3174 8 | import EntityState from '@/store/entity/EntityState';
3175 9 | import LanguageState from '@/store/language/LanguageState';
3176 10 | import LinksState from '@/store/links/LinksState';
3177
3178
3179error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/Root.ts:8:25:
3180 6 | NS_USER,
3181 7 | } from './namespaces';
3182> 8 | import EntityState from '@/store/entity/EntityState';
3183 | ^
3184 9 | import LanguageState from '@/store/language/LanguageState';
3185 10 | import LinksState from '@/store/links/LinksState';
3186 11 | import Messages from '@/store/messages/Messages';
3187
3188
3189error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/Root.ts:9:27:
3190 7 | } from './namespaces';
3191 8 | import EntityState from '@/store/entity/EntityState';
3192> 9 | import LanguageState from '@/store/language/LanguageState';
3193 | ^
3194 10 | import LinksState from '@/store/links/LinksState';
3195 11 | import Messages from '@/store/messages/Messages';
3196 12 | import User from '@/store/user/User';
3197
3198
3199error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/Root.ts:10:24:
3200 8 | import EntityState from '@/store/entity/EntityState';
3201 9 | import LanguageState from '@/store/language/LanguageState';
3202> 10 | import LinksState from '@/store/links/LinksState';
3203 | ^
3204 11 | import Messages from '@/store/messages/Messages';
3205 12 | import User from '@/store/user/User';
3206 13 |
3207
3208
3209error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/Root.ts:11:22:
3210 9 | import LanguageState from '@/store/language/LanguageState';
3211 10 | import LinksState from '@/store/links/LinksState';
3212> 11 | import Messages from '@/store/messages/Messages';
3213 | ^
3214 12 | import User from '@/store/user/User';
3215 13 |
3216 14 | interface Root {
3217
3218
3219error: "@/store/user/User" is not found (node/no-missing-import) at src/store/Root.ts:12:18:
3220 10 | import LinksState from '@/store/links/LinksState';
3221 11 | import Messages from '@/store/messages/Messages';
3222> 12 | import User from '@/store/user/User';
3223 | ^
3224 13 |
3225 14 | interface Root {
3226 15 | editMode: boolean;
3227
3228
3229error: "@/store/Root" is not found (node/no-missing-import) at src/store/actions.ts:2:18:
3230 1 | import { ActionContext } from 'vuex';
3231> 2 | import Root from '@/store/Root';
3232 | ^
3233 3 | import {
3234 4 | EDITMODE_ACTIVATE,
3235 5 | EDITMODE_DEACTIVATE,
3236
3237
3238error: "@/store/actionTypes" is not found (node/no-missing-import) at src/store/actions.ts:6:8:
3239 4 | EDITMODE_ACTIVATE,
3240 5 | EDITMODE_DEACTIVATE,
3241> 6 | } from '@/store/actionTypes';
3242 | ^
3243 7 | import { EDITMODE_SET } from '@/store/mutationTypes';
3244 8 |
3245 9 | export const actions = {
3246
3247
3248error: "@/store/mutationTypes" is not found (node/no-missing-import) at src/store/actions.ts:7:30:
3249 5 | EDITMODE_DEACTIVATE,
3250 6 | } from '@/store/actionTypes';
3251> 7 | import { EDITMODE_SET } from '@/store/mutationTypes';
3252 | ^
3253 8 |
3254 9 | export const actions = {
3255 10 | [ EDITMODE_ACTIVATE ]( context: ActionContext<Root, any> ): void {
3256
3257
3258error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/EntityState.ts:1:33:
3259> 1 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
3260 | ^
3261 2 |
3262 3 | interface EntityState extends Fingerprintable {
3263 4 | id: string;
3264
3265
3266error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/actions.ts:2:25:
3267 1 | import { ActionContext } from 'vuex';
3268> 2 | import EntityState from '@/store/entity/EntityState';
3269 | ^
3270 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3271 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3272 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3273
3274
3275error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/store/entity/actions.ts:3:30:
3276 1 | import { ActionContext } from 'vuex';
3277 2 | import EntityState from '@/store/entity/EntityState';
3278> 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3279 | ^
3280 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3281 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3282 6 | import {
3283
3284
3285error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/store/entity/actions.ts:4:39:
3286 2 | import EntityState from '@/store/entity/EntityState';
3287 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3288> 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3289 | ^
3290 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3291 6 | import {
3292 7 | ENTITY_INIT,
3293
3294
3295error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/store/entity/actions.ts:5:37:
3296 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3297 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3298> 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3299 | ^
3300 6 | import {
3301 7 | ENTITY_INIT,
3302 8 | ENTITY_LABEL_EDIT,
3303
3304
3305error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/store/entity/actions.ts:14:8:
3306 12 | ENTITY_ALIAS_REMOVE,
3307 13 | ENTITY_ROLLBACK,
3308> 14 | } from '@/store/entity/actionTypes';
3309 | ^
3310 15 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3311 16 | import {
3312 17 | EDITABILITY_UPDATE,
3313
3314
3315error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/store/entity/actions.ts:15:35:
3316 13 | ENTITY_ROLLBACK,
3317 14 | } from '@/store/entity/actionTypes';
3318> 15 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3319 | ^
3320 16 | import {
3321 17 | EDITABILITY_UPDATE,
3322 18 | ENTITY_UPDATE,
3323
3324
3325error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at src/store/entity/actions.ts:25:8:
3326 23 | ENTITY_REMOVE_ALIAS,
3327 24 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
3328> 25 | } from '@/store/entity/mutationTypes';
3329 | ^
3330 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3331 27 | import EntityRevision from '@/datamodel/EntityRevision';
3332 28 |
3333
3334
3335error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/actions.ts:26:22:
3336 24 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
3337 25 | } from '@/store/entity/mutationTypes';
3338> 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3339 | ^
3340 27 | import EntityRevision from '@/datamodel/EntityRevision';
3341 28 |
3342 29 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3343
3344
3345error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/store/entity/actions.ts:27:28:
3346 25 | } from '@/store/entity/mutationTypes';
3347 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3348> 27 | import EntityRevision from '@/datamodel/EntityRevision';
3349 | ^
3350 28 |
3351 29 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3352 30 | export default (
3353
3354
3355error: "@/common/exceptions/ParameterException" is not found (node/no-missing-import) at src/store/entity/exceptions/InvalidEntityException.ts:1:32:
3356> 1 | import ParameterException from '@/common/exceptions/ParameterException';
3357 | ^
3358 2 |
3359 3 | export default class InvalidEntityException extends ParameterException {
3360 4 | public constructor( message?: string ) {
3361
3362
3363error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/getters.ts:2:25:
3364 1 | import { GetterTree } from 'vuex';
3365> 2 | import EntityState from '@/store/entity/EntityState';
3366 | ^
3367 3 | import { Term } from '@wmde/wikibase-datamodel-types';
3368 4 |
3369 5 | export const getters: GetterTree<EntityState, any> = {
3370
3371
3372error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/getters.ts:3:22:
3373 1 | import { GetterTree } from 'vuex';
3374 2 | import EntityState from '@/store/entity/EntityState';
3375> 3 | import { Term } from '@wmde/wikibase-datamodel-types';
3376 | ^
3377 4 |
3378 5 | export const getters: GetterTree<EntityState, any> = {
3379 6 | getLabelByLanguage: ( state: EntityState ) => ( languageCode: string ): Term | null => {
3380
3381
3382error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/index.ts:2:25:
3383 1 | import { Module } from 'vuex';
3384> 2 | import EntityState from '@/store/entity/EntityState';
3385 | ^
3386 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3387 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3388 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3389
3390
3391error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/store/entity/index.ts:3:30:
3392 1 | import { Module } from 'vuex';
3393 2 | import EntityState from '@/store/entity/EntityState';
3394> 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3395 | ^
3396 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3397 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3398 6 | import { getters } from '@/store/entity/getters';
3399
3400
3401error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/store/entity/index.ts:4:39:
3402 2 | import EntityState from '@/store/entity/EntityState';
3403 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3404> 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3405 | ^
3406 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3407 6 | import { getters } from '@/store/entity/getters';
3408 7 | import { mutations } from '@/store/entity/mutations';
3409
3410
3411error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/store/entity/index.ts:5:37:
3412 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3413 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3414> 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3415 | ^
3416 6 | import { getters } from '@/store/entity/getters';
3417 7 | import { mutations } from '@/store/entity/mutations';
3418 8 | import createActions from '@/store/entity/actions';
3419
3420
3421error: "@/store/entity/getters" is not found (node/no-missing-import) at src/store/entity/index.ts:6:25:
3422 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3423 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3424> 6 | import { getters } from '@/store/entity/getters';
3425 | ^
3426 7 | import { mutations } from '@/store/entity/mutations';
3427 8 | import createActions from '@/store/entity/actions';
3428 9 |
3429
3430
3431error: "@/store/entity/mutations" is not found (node/no-missing-import) at src/store/entity/index.ts:7:27:
3432 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3433 6 | import { getters } from '@/store/entity/getters';
3434> 7 | import { mutations } from '@/store/entity/mutations';
3435 | ^
3436 8 | import createActions from '@/store/entity/actions';
3437 9 |
3438 10 | export default function (
3439
3440
3441error: "@/store/entity/actions" is not found (node/no-missing-import) at src/store/entity/index.ts:8:27:
3442 6 | import { getters } from '@/store/entity/getters';
3443 7 | import { mutations } from '@/store/entity/mutations';
3444> 8 | import createActions from '@/store/entity/actions';
3445 | ^
3446 9 |
3447 10 | export default function (
3448 11 | entityRepository: EntityRepository,
3449
3450
3451error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/mutations.ts:3:25:
3452 1 | import Vue from 'vue';
3453 2 | import { MutationTree } from 'vuex';
3454> 3 | import EntityState from '@/store/entity/EntityState';
3455 | ^
3456 4 | import {
3457 5 | EDITABILITY_UPDATE,
3458 6 | ENTITY_UPDATE,
3459
3460
3461error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at src/store/entity/mutations.ts:13:8:
3462 11 | ENTITY_REMOVE_ALIAS,
3463 12 | ENTITY_ROLLBACK,
3464> 13 | } from '@/store/entity/mutationTypes';
3465 | ^
3466 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3467 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3468 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3469
3470
3471error: "@/store/entity/exceptions/InvalidEntityException" is not found (node/no-missing-import) at src/store/entity/mutations.ts:14:36:
3472 12 | ENTITY_ROLLBACK,
3473 13 | } from '@/store/entity/mutationTypes';
3474> 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3475 | ^
3476 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3477 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3478 17 |
3479
3480
3481error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/mutations.ts:15:39:
3482 13 | } from '@/store/entity/mutationTypes';
3483 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3484> 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3485 | ^
3486 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3487 17 |
3488 18 | function getFingerprintProperties( source: Fingerprintable ): Fingerprintable {
3489
3490
3491error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/store/entity/mutations.ts:16:35:
3492 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3493 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3494> 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3495 | ^
3496 17 |
3497 18 | function getFingerprintProperties( source: Fingerprintable ): Fingerprintable {
3498 19 | return {
3499
3500
3501error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at src/store/entity/mutations.ts:39:3:
3502 37 |
3503 38 | state.id = entity.id;
3504> 39 | Object.assign( state, fingerprintProperties );
3505 | ^
3506 40 |
3507 41 | state.baseRevisionFingerprint = clone( fingerprintProperties );
3508 42 | },
3509
3510
3511error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at src/store/entity/mutations.ts:49:3:
3512 47 | }
3513 48 |
3514> 49 | Object.assign(
3515 | ^
3516 50 | state,
3517 51 | clone( state.baseRevisionFingerprint ), // avoid modification after rollback
3518 52 | );
3519
3520
3521error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/store/index.ts:3:29:
3522 1 | import Vue from 'vue';
3523 2 | import Vuex, { StoreOptions, Store } from 'vuex';
3524> 3 | import TermboxServices from '@/common/TermboxServices';
3525 | ^
3526 4 | import createEntity from './entity';
3527 5 | import createUser from './user';
3528 6 | import createLanguage from './language';
3529
3530
3531error: "./entity" is not found (node/no-missing-import) at src/store/index.ts:4:26:
3532 2 | import Vuex, { StoreOptions, Store } from 'vuex';
3533 3 | import TermboxServices from '@/common/TermboxServices';
3534> 4 | import createEntity from './entity';
3535 | ^
3536 5 | import createUser from './user';
3537 6 | import createLanguage from './language';
3538 7 | import createLinks from './links';
3539
3540
3541error: "./user" is not found (node/no-missing-import) at src/store/index.ts:5:24:
3542 3 | import TermboxServices from '@/common/TermboxServices';
3543 4 | import createEntity from './entity';
3544> 5 | import createUser from './user';
3545 | ^
3546 6 | import createLanguage from './language';
3547 7 | import createLinks from './links';
3548 8 | import createMessages from './messages';
3549
3550
3551error: "./language" is not found (node/no-missing-import) at src/store/index.ts:6:28:
3552 4 | import createEntity from './entity';
3553 5 | import createUser from './user';
3554> 6 | import createLanguage from './language';
3555 | ^
3556 7 | import createLinks from './links';
3557 8 | import createMessages from './messages';
3558 9 | import Root from './Root';
3559
3560
3561error: "./links" is not found (node/no-missing-import) at src/store/index.ts:7:25:
3562 5 | import createUser from './user';
3563 6 | import createLanguage from './language';
3564> 7 | import createLinks from './links';
3565 | ^
3566 8 | import createMessages from './messages';
3567 9 | import Root from './Root';
3568 10 | import { mutations } from './mutations';
3569
3570
3571error: "./messages" is not found (node/no-missing-import) at src/store/index.ts:8:28:
3572 6 | import createLanguage from './language';
3573 7 | import createLinks from './links';
3574> 8 | import createMessages from './messages';
3575 | ^
3576 9 | import Root from './Root';
3577 10 | import { mutations } from './mutations';
3578 11 | import { actions } from './actions';
3579
3580
3581error: "./Root" is not found (node/no-missing-import) at src/store/index.ts:9:18:
3582 7 | import createLinks from './links';
3583 8 | import createMessages from './messages';
3584> 9 | import Root from './Root';
3585 | ^
3586 10 | import { mutations } from './mutations';
3587 11 | import { actions } from './actions';
3588 12 | import {
3589
3590
3591error: "./mutations" is not found (node/no-missing-import) at src/store/index.ts:10:27:
3592 8 | import createMessages from './messages';
3593 9 | import Root from './Root';
3594> 10 | import { mutations } from './mutations';
3595 | ^
3596 11 | import { actions } from './actions';
3597 12 | import {
3598 13 | NS_ENTITY,
3599
3600
3601error: "./actions" is not found (node/no-missing-import) at src/store/index.ts:11:25:
3602 9 | import Root from './Root';
3603 10 | import { mutations } from './mutations';
3604> 11 | import { actions } from './actions';
3605 | ^
3606 12 | import {
3607 13 | NS_ENTITY,
3608 14 | NS_LANGUAGE,
3609
3610
3611error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/index.ts:18:8:
3612 16 | NS_MESSAGES,
3613 17 | NS_USER,
3614> 18 | } from '@/store/namespaces';
3615 | ^
3616 19 |
3617 20 | Vue.use( Vuex );
3618 21 |
3619
3620
3621error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/LanguageState.ts:1:34:
3622> 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3623 | ^
3624 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
3625 3 |
3626 4 | interface LanguageState {
3627
3628
3629error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/LanguageState.ts:2:32:
3630 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3631> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
3632 | ^
3633 3 |
3634 4 | interface LanguageState {
3635 5 | translations: LanguageTranslations;
3636
3637
3638error: "./actionTypes" is not found (node/no-missing-import) at src/store/language/actions.ts:2:61:
3639 1 | import { ActionContext } from 'vuex';
3640> 2 | import { LANGUAGE_INIT, ENSURE_AVAILABLE_IN_LANGUAGE } from './actionTypes';
3641 | ^
3642 3 | import {
3643 4 | LANGUAGE_TRANSLATION_UPDATE,
3644 5 | LANGUAGE_UPDATE,
3645
3646
3647error: "./mutationTypes" is not found (node/no-missing-import) at src/store/language/actions.ts:6:8:
3648 4 | LANGUAGE_TRANSLATION_UPDATE,
3649 5 | LANGUAGE_UPDATE,
3650> 6 | } from './mutationTypes';
3651 | ^
3652 7 | import LanguageState from '@/store/language/LanguageState';
3653 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3654 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3655
3656
3657error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/actions.ts:7:27:
3658 5 | LANGUAGE_UPDATE,
3659 6 | } from './mutationTypes';
3660> 7 | import LanguageState from '@/store/language/LanguageState';
3661 | ^
3662 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3663 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3664 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3665
3666
3667error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/actions.ts:8:34:
3668 6 | } from './mutationTypes';
3669 7 | import LanguageState from '@/store/language/LanguageState';
3670> 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3671 | ^
3672 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3673 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3674 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3675
3676
3677error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/actions.ts:9:32:
3678 7 | import LanguageState from '@/store/language/LanguageState';
3679 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3680> 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3681 | ^
3682 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3683 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3684 12 |
3685
3686
3687error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/store/language/actions.ts:10:32:
3688 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3689 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3690> 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3691 | ^
3692 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3693 12 |
3694 13 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3695
3696
3697error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/store/language/actions.ts:11:43:
3698 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3699 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3700> 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3701 | ^
3702 12 |
3703 13 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3704 14 | export default (
3705
3706
3707error: "@/datamodel/Language" is not found (node/no-missing-import) at src/store/language/getters.ts:2:22:
3708 1 | import { GetterTree } from 'vuex';
3709> 2 | import Language from '@/datamodel/Language';
3710 | ^
3711 3 | import LanguageState from '@/store/language/LanguageState';
3712 4 | import { NS_USER } from '@/store/namespaces';
3713 5 | import { InitializedRootState } from '@/store/Root';
3714
3715
3716error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/getters.ts:3:27:
3717 1 | import { GetterTree } from 'vuex';
3718 2 | import Language from '@/datamodel/Language';
3719> 3 | import LanguageState from '@/store/language/LanguageState';
3720 | ^
3721 4 | import { NS_USER } from '@/store/namespaces';
3722 5 | import { InitializedRootState } from '@/store/Root';
3723 6 |
3724
3725
3726error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/language/getters.ts:4:25:
3727 2 | import Language from '@/datamodel/Language';
3728 3 | import LanguageState from '@/store/language/LanguageState';
3729> 4 | import { NS_USER } from '@/store/namespaces';
3730 | ^
3731 5 | import { InitializedRootState } from '@/store/Root';
3732 6 |
3733 7 | export const getters: GetterTree<LanguageState, any> = {
3734
3735
3736error: "@/store/Root" is not found (node/no-missing-import) at src/store/language/getters.ts:5:38:
3737 3 | import LanguageState from '@/store/language/LanguageState';
3738 4 | import { NS_USER } from '@/store/namespaces';
3739> 5 | import { InitializedRootState } from '@/store/Root';
3740 | ^
3741 6 |
3742 7 | export const getters: GetterTree<LanguageState, any> = {
3743 8 | getByCode: ( state: LanguageState ) => ( code: string ): Language | null => {
3744
3745
3746error: "./actions" is not found (node/no-missing-import) at src/store/language/index.ts:2:27:
3747 1 | import { Module } from 'vuex';
3748> 2 | import createActions from './actions';
3749 | ^
3750 3 | import { getters } from './getters';
3751 4 | import { mutations } from './mutations';
3752 5 | import LanguageState from '@/store/language/LanguageState';
3753
3754
3755error: "./getters" is not found (node/no-missing-import) at src/store/language/index.ts:3:25:
3756 1 | import { Module } from 'vuex';
3757 2 | import createActions from './actions';
3758> 3 | import { getters } from './getters';
3759 | ^
3760 4 | import { mutations } from './mutations';
3761 5 | import LanguageState from '@/store/language/LanguageState';
3762 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3763
3764
3765error: "./mutations" is not found (node/no-missing-import) at src/store/language/index.ts:4:27:
3766 2 | import createActions from './actions';
3767 3 | import { getters } from './getters';
3768> 4 | import { mutations } from './mutations';
3769 | ^
3770 5 | import LanguageState from '@/store/language/LanguageState';
3771 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3772 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3773
3774
3775error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/index.ts:5:27:
3776 3 | import { getters } from './getters';
3777 4 | import { mutations } from './mutations';
3778> 5 | import LanguageState from '@/store/language/LanguageState';
3779 | ^
3780 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3781 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3782 8 |
3783
3784
3785error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/store/language/index.ts:6:32:
3786 4 | import { mutations } from './mutations';
3787 5 | import LanguageState from '@/store/language/LanguageState';
3788> 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3789 | ^
3790 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3791 8 |
3792 9 | export default function (
3793
3794
3795error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/store/language/index.ts:7:43:
3796 5 | import LanguageState from '@/store/language/LanguageState';
3797 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3798> 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3799 | ^
3800 8 |
3801 9 | export default function (
3802 10 | languageRepository: LanguageRepository,
3803
3804
3805error: "./mutationTypes" is not found (node/no-missing-import) at src/store/language/mutations.ts:5:8:
3806 3 | LANGUAGE_TRANSLATION_UPDATE,
3807 4 | LANGUAGE_UPDATE,
3808> 5 | } from './mutationTypes';
3809 | ^
3810 6 | import LanguageState from '@/store/language/LanguageState';
3811 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3812 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3813
3814
3815error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/mutations.ts:6:27:
3816 4 | LANGUAGE_UPDATE,
3817 5 | } from './mutationTypes';
3818> 6 | import LanguageState from '@/store/language/LanguageState';
3819 | ^
3820 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3821 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3822 9 |
3823
3824
3825error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/mutations.ts:7:34:
3826 5 | } from './mutationTypes';
3827 6 | import LanguageState from '@/store/language/LanguageState';
3828> 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3829 | ^
3830 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3831 9 |
3832 10 | export const mutations: MutationTree<LanguageState> = {
3833
3834
3835error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/mutations.ts:8:32:
3836 6 | import LanguageState from '@/store/language/LanguageState';
3837 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3838> 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3839 | ^
3840 9 |
3841 10 | export const mutations: MutationTree<LanguageState> = {
3842 11 | [ LANGUAGE_UPDATE ]( state: LanguageState, languages: LanguageCollection ): void {
3843
3844
3845error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/actions.ts:2:24:
3846 1 | import { ActionContext } from 'vuex';
3847> 2 | import LinksState from '@/store/links/LinksState';
3848 | ^
3849 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3850 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3851 5 | import TermboxLinks from '@/common/TermboxLinks';
3852
3853
3854error: "@/store/links/actionTypes" is not found (node/no-missing-import) at src/store/links/actions.ts:3:28:
3855 1 | import { ActionContext } from 'vuex';
3856 2 | import LinksState from '@/store/links/LinksState';
3857> 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3858 | ^
3859 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3860 5 | import TermboxLinks from '@/common/TermboxLinks';
3861 6 |
3862
3863
3864error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at src/store/links/actions.ts:4:30:
3865 2 | import LinksState from '@/store/links/LinksState';
3866 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3867> 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3868 | ^
3869 5 | import TermboxLinks from '@/common/TermboxLinks';
3870 6 |
3871 7 | export const actions = {
3872
3873
3874error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/store/links/actions.ts:5:26:
3875 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3876 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3877> 5 | import TermboxLinks from '@/common/TermboxLinks';
3878 | ^
3879 6 |
3880 7 | export const actions = {
3881 8 | [ LINKS_INIT ]( store: ActionContext<LinksState, any>, links: TermboxLinks ): void {
3882
3883
3884error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/index.ts:2:24:
3885 1 | import { Module } from 'vuex';
3886> 2 | import LinksState from '@/store/links/LinksState';
3887 | ^
3888 3 | import { mutations } from '@/store/links/mutations';
3889 4 | import { actions } from '@/store/links/actions';
3890 5 |
3891
3892
3893error: "@/store/links/mutations" is not found (node/no-missing-import) at src/store/links/index.ts:3:27:
3894 1 | import { Module } from 'vuex';
3895 2 | import LinksState from '@/store/links/LinksState';
3896> 3 | import { mutations } from '@/store/links/mutations';
3897 | ^
3898 4 | import { actions } from '@/store/links/actions';
3899 5 |
3900 6 | export default function (): Module<LinksState, any> {
3901
3902
3903error: "@/store/links/actions" is not found (node/no-missing-import) at src/store/links/index.ts:4:25:
3904 2 | import LinksState from '@/store/links/LinksState';
3905 3 | import { mutations } from '@/store/links/mutations';
3906> 4 | import { actions } from '@/store/links/actions';
3907 | ^
3908 5 |
3909 6 | export default function (): Module<LinksState, any> {
3910 7 | const state: LinksState = {
3911
3912
3913error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/mutations.ts:2:24:
3914 1 | import { MutationTree } from 'vuex';
3915> 2 | import LinksState from '@/store/links/LinksState';
3916 | ^
3917 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3918 4 | import TermboxLinks from '@/common/TermboxLinks';
3919 5 |
3920
3921
3922error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at src/store/links/mutations.ts:3:30:
3923 1 | import { MutationTree } from 'vuex';
3924 2 | import LinksState from '@/store/links/LinksState';
3925> 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3926 | ^
3927 4 | import TermboxLinks from '@/common/TermboxLinks';
3928 5 |
3929 6 | export const mutations: MutationTree<LinksState> = {
3930
3931
3932error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/store/links/mutations.ts:4:26:
3933 2 | import LinksState from '@/store/links/LinksState';
3934 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3935> 4 | import TermboxLinks from '@/common/TermboxLinks';
3936 | ^
3937 5 |
3938 6 | export const mutations: MutationTree<LinksState> = {
3939 7 | [ LINKS_UPDATE ]( state: LinksState, payload: TermboxLinks ) {
3940
3941
3942error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/Messages.ts:1:42:
3943> 1 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3944 | ^
3945 2 |
3946 3 | interface Messages {
3947 4 | messages: MessageTranslationCollection;
3948
3949
3950error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/actions.ts:2:22:
3951 1 | import { ActionContext } from 'vuex';
3952> 2 | import Messages from '@/store/messages/Messages';
3953 | ^
3954 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3955 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3956 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3957
3958
3959error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at src/store/messages/actions.ts:3:31:
3960 1 | import { ActionContext } from 'vuex';
3961 2 | import Messages from '@/store/messages/Messages';
3962> 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3963 | ^
3964 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3965 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3966 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3967
3968
3969error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at src/store/messages/actions.ts:4:57:
3970 2 | import Messages from '@/store/messages/Messages';
3971 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3972> 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3973 | ^
3974 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3975 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3976 7 |
3977
3978
3979error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/actions.ts:5:42:
3980 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3981 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3982> 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3983 | ^
3984 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3985 7 |
3986 8 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3987
3988
3989error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/store/messages/actions.ts:6:32:
3990 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3991 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3992> 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3993 | ^
3994 7 |
3995 8 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3996 9 | export default (
3997
3998
3999error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/getters.ts:2:22:
4000 1 | import { GetterTree } from 'vuex';
4001> 2 | import Messages from '@/store/messages/Messages';
4002 | ^
4003 3 | import MessageCollection from '@/datamodel/MessageCollection';
4004 4 | import { MessageKey } from '@/common/MessageKey';
4005 5 |
4006
4007
4008error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/store/messages/getters.ts:3:31:
4009 1 | import { GetterTree } from 'vuex';
4010 2 | import Messages from '@/store/messages/Messages';
4011> 3 | import MessageCollection from '@/datamodel/MessageCollection';
4012 | ^
4013 4 | import { MessageKey } from '@/common/MessageKey';
4014 5 |
4015 6 | export const getters: GetterTree<Messages, any> = {
4016
4017
4018error: "@/common/MessageKey" is not found (node/no-missing-import) at src/store/messages/getters.ts:4:28:
4019 2 | import Messages from '@/store/messages/Messages';
4020 3 | import MessageCollection from '@/datamodel/MessageCollection';
4021> 4 | import { MessageKey } from '@/common/MessageKey';
4022 | ^
4023 5 |
4024 6 | export const getters: GetterTree<Messages, any> = {
4025 7 | getAllMessagesInLanguage: ( state: Messages ) => ( inLanguage: string ): MessageCollection | null => {
4026
4027
4028error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/index.ts:2:22:
4029 1 | import { Module } from 'vuex';
4030> 2 | import Messages from '@/store/messages/Messages';
4031 | ^
4032 3 | import { getters } from '@/store/messages/getters';
4033 4 | import { mutations } from '@/store/messages/mutations';
4034 5 | import createActions from '@/store/messages/actions';
4035
4036
4037error: "@/store/messages/getters" is not found (node/no-missing-import) at src/store/messages/index.ts:3:25:
4038 1 | import { Module } from 'vuex';
4039 2 | import Messages from '@/store/messages/Messages';
4040> 3 | import { getters } from '@/store/messages/getters';
4041 | ^
4042 4 | import { mutations } from '@/store/messages/mutations';
4043 5 | import createActions from '@/store/messages/actions';
4044 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4045
4046
4047error: "@/store/messages/mutations" is not found (node/no-missing-import) at src/store/messages/index.ts:4:27:
4048 2 | import Messages from '@/store/messages/Messages';
4049 3 | import { getters } from '@/store/messages/getters';
4050> 4 | import { mutations } from '@/store/messages/mutations';
4051 | ^
4052 5 | import createActions from '@/store/messages/actions';
4053 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4054 7 |
4055
4056
4057error: "@/store/messages/actions" is not found (node/no-missing-import) at src/store/messages/index.ts:5:27:
4058 3 | import { getters } from '@/store/messages/getters';
4059 4 | import { mutations } from '@/store/messages/mutations';
4060> 5 | import createActions from '@/store/messages/actions';
4061 | ^
4062 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4063 7 |
4064 8 | export default function (
4065
4066
4067error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/store/messages/index.ts:6:32:
4068 4 | import { mutations } from '@/store/messages/mutations';
4069 5 | import createActions from '@/store/messages/actions';
4070> 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4071 | ^
4072 7 |
4073 8 | export default function (
4074 9 | messagesRepository: MessagesRepository,
4075
4076
4077error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/mutations.ts:2:22:
4078 1 | import { MutationTree } from 'vuex';
4079> 2 | import Messages from '@/store/messages/Messages';
4080 | ^
4081 3 | import {
4082 4 | MESSAGES_INIT,
4083 5 | } from '@/store/messages/mutationTypes';
4084
4085
4086error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at src/store/messages/mutations.ts:5:8:
4087 3 | import {
4088 4 | MESSAGES_INIT,
4089> 5 | } from '@/store/messages/mutationTypes';
4090 | ^
4091 6 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
4092 7 |
4093 8 | export const mutations: MutationTree<Messages> = {
4094
4095
4096error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/mutations.ts:6:42:
4097 4 | MESSAGES_INIT,
4098 5 | } from '@/store/messages/mutationTypes';
4099> 6 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
4100 | ^
4101 7 |
4102 8 | export const mutations: MutationTree<Messages> = {
4103 9 | [ MESSAGES_INIT ]( state: Messages, messages: MessageTranslationCollection ): void {
4104
4105
4106error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/store/messages/mutations.ts:11:3:
4107 9 | [ MESSAGES_INIT ]( state: Messages, messages: MessageTranslationCollection ): void {
4108 10 | state.messages = {};
4109> 11 | Object.entries( messages ).forEach( ( [ inLanguage, translations ] ) => {
4110 | ^
4111 12 | state.messages[ inLanguage ] = translations;
4112 13 | } );
4113 14 | },
4114
4115
4116error: "@/store/Root" is not found (node/no-missing-import) at src/store/mutations.ts:2:18:
4117 1 | import { MutationTree } from 'vuex';
4118> 2 | import Root from '@/store/Root';
4119 | ^
4120 3 | import {
4121 4 | EDITMODE_SET,
4122 5 | } from '@/store/mutationTypes';
4123
4124
4125error: "@/store/mutationTypes" is not found (node/no-missing-import) at src/store/mutations.ts:5:8:
4126 3 | import {
4127 4 | EDITMODE_SET,
4128> 5 | } from '@/store/mutationTypes';
4129 | ^
4130 6 |
4131 7 | export const mutations: MutationTree<Root> = {
4132 8 | [ EDITMODE_SET ]( state: Root, isEditible: boolean ): void {
4133
4134
4135error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/User.ts:1:32:
4136> 1 | import { UserPreference } from '@/common/UserPreference';
4137 | ^
4138 2 |
4139 3 | interface User {
4140 4 | name: string | null;
4141
4142
4143error: "./actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:7:8:
4144 5 | USER_PREFERENCES_INIT,
4145 6 | USER_PREFERENCE_SET,
4146> 7 | } from './actionTypes';
4147 | ^
4148 8 | import {
4149 9 | LANGUAGE_INIT,
4150 10 | SECONDARY_LANGUAGES_INIT,
4151
4152
4153error: "./mutationTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:13:8:
4154 11 | USER_SET_NAME,
4155 12 | USER_SET_PREFERENCE,
4156> 13 | } from './mutationTypes';
4157 | ^
4158 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4159 15 | import User from '@/store/user/User';
4160 16 | import {
4161
4162
4163error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:14:31:
4164 12 | USER_SET_PREFERENCE,
4165 13 | } from './mutationTypes';
4166> 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4167 | ^
4168 15 | import User from '@/store/user/User';
4169 16 | import {
4170 17 | NS_LANGUAGE,
4171
4172
4173error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/actions.ts:15:18:
4174 13 | } from './mutationTypes';
4175 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4176> 15 | import User from '@/store/user/User';
4177 | ^
4178 16 | import {
4179 17 | NS_LANGUAGE,
4180 18 | NS_MESSAGES,
4181
4182
4183error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/user/actions.ts:19:8:
4184 17 | NS_LANGUAGE,
4185 18 | NS_MESSAGES,
4186> 19 | } from '@/store/namespaces';
4187 | ^
4188 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4189 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4190 22 | import { UserPreference } from '@/common/UserPreference';
4191
4192
4193error: "@/store/language/actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:20:46:
4194 18 | NS_MESSAGES,
4195 19 | } from '@/store/namespaces';
4196> 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4197 | ^
4198 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4199 22 | import { UserPreference } from '@/common/UserPreference';
4200 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4201
4202
4203error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/actions.ts:22:32:
4204 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4205 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4206> 22 | import { UserPreference } from '@/common/UserPreference';
4207 | ^
4208 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4209 24 |
4210 25 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
4211
4212
4213error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/store/user/actions.ts:23:38:
4214 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4215 22 | import { UserPreference } from '@/common/UserPreference';
4216> 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4217 | ^
4218 24 |
4219 25 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
4220 26 | export default (
4221
4222
4223error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/store/user/actions.ts:54:23:
4224 52 |
4225 53 | [ USER_PREFERENCES_INIT ]( context: ActionContext<User, any> ): Promise<void[]> {
4226> 54 | return Promise.all( Object.values( UserPreference ).map( ( preference ) => {
4227 | ^
4228 55 | return userPreferenceRepository.getPreference( preference )
4229 56 | .then( ( value ) => context.commit(
4230 57 | USER_SET_PREFERENCE,
4231
4232
4233error: "@/common/exceptions/ParameterException" is not found (node/no-missing-import) at src/store/user/exceptions/InvalidLanguageValueException.ts:1:32:
4234> 1 | import ParameterException from '@/common/exceptions/ParameterException';
4235 | ^
4236 2 |
4237 3 | export default class InvalidLanguageValueException extends ParameterException {
4238 4 | public constructor( message?: string ) {
4239
4240
4241error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/getters.ts:2:18:
4242 1 | import { GetterTree } from 'vuex';
4243> 2 | import User from '@/store/user/User';
4244 | ^
4245 3 |
4246 4 | export const getters: GetterTree<User, any> = {
4247 5 | isAnonymous: ( state: User ): boolean => {
4248
4249
4250error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/index.ts:2:18:
4251 1 | import { Module } from 'vuex';
4252> 2 | import User from '@/store/user/User';
4253 | ^
4254 3 | import createActions from '@/store/user/actions';
4255 4 | import { getters } from '@/store/user/getters';
4256 5 | import { mutations } from '@/store/user/mutations';
4257
4258
4259error: "@/store/user/actions" is not found (node/no-missing-import) at src/store/user/index.ts:3:27:
4260 1 | import { Module } from 'vuex';
4261 2 | import User from '@/store/user/User';
4262> 3 | import createActions from '@/store/user/actions';
4263 | ^
4264 4 | import { getters } from '@/store/user/getters';
4265 5 | import { mutations } from '@/store/user/mutations';
4266 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4267
4268
4269error: "@/store/user/getters" is not found (node/no-missing-import) at src/store/user/index.ts:4:25:
4270 2 | import User from '@/store/user/User';
4271 3 | import createActions from '@/store/user/actions';
4272> 4 | import { getters } from '@/store/user/getters';
4273 | ^
4274 5 | import { mutations } from '@/store/user/mutations';
4275 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4276 7 |
4277
4278
4279error: "@/store/user/mutations" is not found (node/no-missing-import) at src/store/user/index.ts:5:27:
4280 3 | import createActions from '@/store/user/actions';
4281 4 | import { getters } from '@/store/user/getters';
4282> 5 | import { mutations } from '@/store/user/mutations';
4283 | ^
4284 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4285 7 |
4286 8 | export default function (
4287
4288
4289error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/store/user/index.ts:6:38:
4290 4 | import { getters } from '@/store/user/getters';
4291 5 | import { mutations } from '@/store/user/mutations';
4292> 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4293 | ^
4294 7 |
4295 8 | export default function (
4296 9 | userPreferenceRepository: UserPreferenceRepository,
4297
4298
4299error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at src/store/user/mutations.ts:8:8:
4300 6 | USER_SET_NAME,
4301 7 | USER_SET_PREFERENCE,
4302> 8 | } from '@/store/user/mutationTypes';
4303 | ^
4304 9 | import User from '@/store/user/User';
4305 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4306 11 | import { UserPreference } from '@/common/UserPreference';
4307
4308
4309error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/mutations.ts:9:18:
4310 7 | USER_SET_PREFERENCE,
4311 8 | } from '@/store/user/mutationTypes';
4312> 9 | import User from '@/store/user/User';
4313 | ^
4314 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4315 11 | import { UserPreference } from '@/common/UserPreference';
4316 12 |
4317
4318
4319error: "@/store/user/exceptions/InvalidLanguageValueException" is not found (node/no-missing-import) at src/store/user/mutations.ts:10:43:
4320 8 | } from '@/store/user/mutationTypes';
4321 9 | import User from '@/store/user/User';
4322> 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4323 | ^
4324 11 | import { UserPreference } from '@/common/UserPreference';
4325 12 |
4326 13 | export const mutations: MutationTree<User> = {
4327
4328
4329error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/mutations.ts:11:32:
4330 9 | import User from '@/store/user/User';
4331 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4332> 11 | import { UserPreference } from '@/common/UserPreference';
4333 | ^
4334 12 |
4335 13 | export const mutations: MutationTree<User> = {
4336 14 | [ LANGUAGE_INIT ]( state: User, language: string ): void {
4337
4338
4339error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:2:19:
4340 1 | import { storiesOf } from '@storybook/vue';
4341> 2 | import Modal from '@/components/Modal.vue';
4342 | ^
4343 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4344 4 | import { MessageKey } from '@/common/MessageKey';
4345 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4346
4347
4348error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:3:29:
4349 1 | import { storiesOf } from '@storybook/vue';
4350 2 | import Modal from '@/components/Modal.vue';
4351> 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4352 | ^
4353 4 | import { MessageKey } from '@/common/MessageKey';
4354 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4355 6 | import { createStore } from '@/store';
4356
4357
4358error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:4:28:
4359 2 | import Modal from '@/components/Modal.vue';
4360 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4361> 4 | import { MessageKey } from '@/common/MessageKey';
4362 | ^
4363 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4364 6 | import { createStore } from '@/store';
4365 7 |
4366
4367
4368error: "@/store" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:6:29:
4369 4 | import { MessageKey } from '@/common/MessageKey';
4370 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4371> 6 | import { createStore } from '@/store';
4372 | ^
4373 7 |
4374 8 | storiesOf( 'AnonEditWarning', module )
4375 9 | .addParameters( { component: AnonEditWarning } )
4376
4377
4378error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at stories/Checkbox.stories.js:3:22:
4379 1 | import { storiesOf } from '@storybook/vue';
4380 2 | import { text, boolean } from '@storybook/addon-knobs';
4381> 3 | import Checkbox from '@/components/Checkbox.vue';
4382 | ^
4383 4 |
4384 5 | storiesOf( 'Checkbox', module )
4385 6 | .addParameters( { component: Checkbox } )
4386
4387
4388warning: Unused eslint-disable directive (no problems were reported from 'max-len') (null) at stories/Checkbox.stories.js:17:3:
4389 15 | },
4390 16 | },
4391> 17 | // eslint-disable-next-line max-len
4392 | ^
4393 18 | template: '<Checkbox v-model="isChecked" :html-value="\'A value\'" :label="label" />',
4394 19 | } ) );
4395 20 |
4396
4397
4398error: "@/components/Description.vue" is not found (node/no-missing-import) at stories/Description.stories.js:2:25:
4399 1 | import { storiesOf } from '@storybook/vue';
4400> 2 | import Description from '@/components/Description.vue';
4401 | ^
4402 3 |
4403 4 | storiesOf( 'Description', module )
4404 5 | .addParameters( { component: Description } )
4405
4406
4407error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:2:29:
4408 1 | import { storiesOf } from '@storybook/vue';
4409> 2 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
4410 | ^
4411 3 | import { MessageKey } from '@/common/MessageKey';
4412 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4413 5 | import Vue from 'vue';
4414
4415
4416error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:3:28:
4417 1 | import { storiesOf } from '@storybook/vue';
4418 2 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
4419> 3 | import { MessageKey } from '@/common/MessageKey';
4420 | ^
4421 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4422 5 | import Vue from 'vue';
4423 6 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4424
4425
4426error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:6:28:
4427 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4428 5 | import Vue from 'vue';
4429> 6 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4430 | ^
4431 7 |
4432 8 | storiesOf( 'DescriptionEdit', module )
4433 9 | .addParameters( { component: DescriptionEdit } )
4434
4435
4436error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at stories/EventEmittingButton.stories.js:6:33:
4437 4 | boolean,
4438 5 | } from '@storybook/addon-knobs';
4439> 6 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
4440 | ^
4441 7 |
4442 8 | storiesOf( 'EventEmittingButton', module )
4443 9 | .addParameters( { component: EventEmittingButton } )
4444
4445
4446error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at stories/IconMessageBox.stories.js:2:28:
4447 1 | import { storiesOf } from '@storybook/vue';
4448> 2 | import IconMessageBox from '@/components/IconMessageBox.vue';
4449 | ^
4450 3 | import {
4451 4 | optionsKnob as options,
4452 5 | text,
4453
4454
4455error: "@/components/Label.vue" is not found (node/no-missing-import) at stories/Label.stories.js:3:19:
4456 1 | import { storiesOf } from '@storybook/vue';
4457 2 | import { boolean } from '@storybook/addon-knobs';
4458> 3 | import Label from '@/components/Label.vue';
4459 | ^
4460 4 |
4461 5 | storiesOf( 'Label', module )
4462 6 | .addParameters( { component: Label } )
4463
4464
4465error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:3:23:
4466 1 | import { storiesOf } from '@storybook/vue';
4467 2 | import { boolean } from '@storybook/addon-knobs';
4468> 3 | import LabelEdit from '@/components/LabelEdit.vue';
4469 | ^
4470 4 | import { MessageKey } from '@/common/MessageKey';
4471 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4472 6 | import Vue from 'vue';
4473
4474
4475error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:4:28:
4476 2 | import { boolean } from '@storybook/addon-knobs';
4477 3 | import LabelEdit from '@/components/LabelEdit.vue';
4478> 4 | import { MessageKey } from '@/common/MessageKey';
4479 | ^
4480 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4481 6 | import Vue from 'vue';
4482 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4483
4484
4485error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:7:28:
4486 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4487 6 | import Vue from 'vue';
4488> 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4489 | ^
4490 8 |
4491 9 | storiesOf( 'LabelEdit', module )
4492 10 | .addParameters( { component: LabelEdit } )
4493
4494
4495error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:2:19:
4496 1 | import { storiesOf } from '@storybook/vue';
4497> 2 | import Modal from '@/components/Modal.vue';
4498 | ^
4499 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4500 4 | import { MessageKey } from '@/common/MessageKey';
4501 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4502
4503
4504error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:3:30:
4505 1 | import { storiesOf } from '@storybook/vue';
4506 2 | import Modal from '@/components/Modal.vue';
4507> 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4508 | ^
4509 4 | import { MessageKey } from '@/common/MessageKey';
4510 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4511 6 | import { createStore } from '@/store';
4512
4513
4514error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:4:28:
4515 2 | import Modal from '@/components/Modal.vue';
4516 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4517> 4 | import { MessageKey } from '@/common/MessageKey';
4518 | ^
4519 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4520 6 | import { createStore } from '@/store';
4521 7 | import Vue from 'vue';
4522
4523
4524error: "@/store" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:6:29:
4525 4 | import { MessageKey } from '@/common/MessageKey';
4526 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4527> 6 | import { createStore } from '@/store';
4528 | ^
4529 7 | import Vue from 'vue';
4530 8 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4531 9 |
4532
4533
4534error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:8:28:
4535 6 | import { createStore } from '@/store';
4536 7 | import Vue from 'vue';
4537> 8 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4538 | ^
4539 9 |
4540 10 | Vue.mixin( newConfigMixin( {
4541 11 | textFieldCharacterLimit: 0,
4542
4543
4544error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at stories/MessageBanner.stories.js:2:27:
4545 1 | import { storiesOf } from '@storybook/vue';
4546> 2 | import MessageBanner from '@/components/MessageBanner.vue';
4547 | ^
4548 3 | import IconMessageBox from '@/components/IconMessageBox.vue';
4549 4 |
4550 5 | storiesOf( 'MessageBanner', module )
4551
4552
4553error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at stories/MessageBanner.stories.js:3:28:
4554 1 | import { storiesOf } from '@storybook/vue';
4555 2 | import MessageBanner from '@/components/MessageBanner.vue';
4556> 3 | import IconMessageBox from '@/components/IconMessageBox.vue';
4557 | ^
4558 4 |
4559 5 | storiesOf( 'MessageBanner', module )
4560 6 | .addParameters( { component: MessageBanner } )
4561
4562
4563error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/Modal.stories.js:2:19:
4564 1 | import { storiesOf } from '@storybook/vue';
4565> 2 | import Modal from '@/components/Modal.vue';
4566 | ^
4567 3 |
4568 4 | storiesOf( 'Modal', module )
4569 5 | .addParameters( { component: Modal } )
4570
4571
4572error: "@/components/Overlay.vue" is not found (node/no-missing-import) at stories/Overlay.stories.js:2:21:
4573 1 | import { storiesOf } from '@storybook/vue';
4574> 2 | import Overlay from '@/components/Overlay.vue';
4575 | ^
4576 3 | import Modal from '@/components/Modal.vue';
4577 4 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
4578 5 |
4579
4580
4581error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/Overlay.stories.js:3:19:
4582 1 | import { storiesOf } from '@storybook/vue';
4583 2 | import Overlay from '@/components/Overlay.vue';
4584> 3 | import Modal from '@/components/Modal.vue';
4585 | ^
4586 4 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
4587 5 |
4588 6 | storiesOf( 'Overlay', module )
4589
4590
4591error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at tests/config/JestCustomEnvironment.js:6:3:
4592 4 | constructor( config, context ) {
4593 5 | super( config, context );
4594> 6 | Object.assign( context.console, {
4595 | ^
4596 7 | error( ...args ) {
4597 8 | throw new Error(
4598 9 | `Unexpected call of console.error() with:\n\n${args.join( ', ' )}`,
4599
4600
4601error: "@/client/directives" is not found (node/no-missing-import) at tests/config/setup.ts:2:8:
4602 1 | import Vue from 'vue';
4603> 2 | import '@/client/directives';
4604 | ^
4605 3 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4606 4 |
4607 5 | beforeEach( () => {
4608
4609
4610error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/config/setup.ts:3:28:
4611 1 | import Vue from 'vue';
4612 2 | import '@/client/directives';
4613> 3 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4614 | ^
4615 4 |
4616 5 | beforeEach( () => {
4617 6 | expect.hasAssertions();
4618
4619
4620error: "@/mock-data/data/Q64_data.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:2:21:
4621 1 | import request from 'supertest';
4622> 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4623 | ^
4624 3 | import openApiJson from '@/../openapi.json';
4625 4 | import createApp from '@/server/app';
4626 5 | import nock from 'nock';
4627
4628
4629error: "@/../openapi.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:3:25:
4630 1 | import request from 'supertest';
4631 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4632> 3 | import openApiJson from '@/../openapi.json';
4633 | ^
4634 4 | import createApp from '@/server/app';
4635 5 | import nock from 'nock';
4636 6 | import 'jest-dom/extend-expect';
4637
4638
4639error: "@/server/app" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:4:23:
4640 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4641 3 | import openApiJson from '@/../openapi.json';
4642> 4 | import createApp from '@/server/app';
4643 | ^
4644 5 | import nock from 'nock';
4645 6 | import 'jest-dom/extend-expect';
4646 7 | import HttpStatus from 'http-status-codes';
4647
4648
4649error: "@/mock-data/data/de_messages_data.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:9:22:
4650 7 | import HttpStatus from 'http-status-codes';
4651 8 | import Vue from 'vue';
4652> 9 | import messages from '@/mock-data/data/de_messages_data.json';
4653 | ^
4654 10 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
4655 11 | import axios from 'axios';
4656 12 | import httpAdapter from 'axios/lib/adapters/http';
4657
4658
4659error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:10:36:
4660 8 | import Vue from 'vue';
4661 9 | import messages from '@/mock-data/data/de_messages_data.json';
4662> 10 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
4663 | ^
4664 11 | import axios from 'axios';
4665 12 | import httpAdapter from 'axios/lib/adapters/http';
4666 13 | import { MessageKey } from '@/common/MessageKey';
4667
4668
4669error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:13:28:
4670 11 | import axios from 'axios';
4671 12 | import httpAdapter from 'axios/lib/adapters/http';
4672> 13 | import { MessageKey } from '@/common/MessageKey';
4673 | ^
4674 14 | /**
4675 15 | * arguably we could not add GLOBAL_REQUEST_PARAMS to neither axios (building the request)
4676 16 | * nor nock (mocking the response) but this way it is closer to reality (cf. server.ts)
4677
4678
4679error: "@/common/constants" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:18:85:
4680 16 | * nor nock (mocking the response) but this way it is closer to reality (cf. server.ts)
4681 17 | */
4682> 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4683 | ^
4684 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4685 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4686 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4687
4688
4689error: "@/server/data-access/AxiosSpecialPageEntityRepo" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:19:40:
4690 17 | */
4691 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4692> 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4693 | ^
4694 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4695 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4696 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4697
4698
4699error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:20:36:
4700 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4701 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4702> 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4703 | ^
4704 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4705 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4706 23 | import Metrics from '@/server/Metrics';
4707
4708
4709error: "@/server/Metrics" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:23:21:
4710 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4711 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4712> 23 | import Metrics from '@/server/Metrics';
4713 | ^
4714 24 | import qs from 'querystring';
4715 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4716 26 | import MessageCollection from '@/datamodel/MessageCollection';
4717
4718
4719error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:25:26:
4720 23 | import Metrics from '@/server/Metrics';
4721 24 | import qs from 'querystring';
4722> 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4723 | ^
4724 26 | import MessageCollection from '@/datamodel/MessageCollection';
4725 27 |
4726 28 | /**
4727
4728
4729error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:26:31:
4730 24 | import qs from 'querystring';
4731 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4732> 26 | import MessageCollection from '@/datamodel/MessageCollection';
4733 | ^
4734 27 |
4735 28 | /**
4736 29 | * edge-to-edge tests are simulating actual requests against the server
4737
4738
4739error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/edge-to-edge/server/app.spec.ts:136:22:
4740 134 |
4741 135 | function nockSuccessfulMessagesLoading( inLanguage: string ) {
4742> 136 | const messageKeys = Object.values( MessageKey );
4743 | ^
4744 137 | nock( WIKIBASE_TEST_HOST )
4745 138 | .get( WIKIBASE_TEST_API_PATH )
4746 139 | .query( {
4747
4748
4749error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/edge-to-edge/server/app.spec.ts:319:17:
4750 317 | action: 'query',
4751 318 | meta: 'allmessages',
4752> 319 | ammessages: Object.values( MessageKey ).join( '|' ),
4753 | ^
4754 320 | amlang: language,
4755 321 | ...GLOBAL_REQUEST_PARAMS,
4756 322 | } )
4757
4758
4759error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/newFingerprintable.ts:1:35:
4760> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
4761 | ^
4762 2 | import { Term } from '@wmde/wikibase-datamodel-types';
4763 3 |
4764 4 | function stringListToTermListMap( values: { [ language: string ]: string[] } ) {
4765
4766
4767error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at tests/newFingerprintable.ts:2:22:
4768 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
4769> 2 | import { Term } from '@wmde/wikibase-datamodel-types';
4770 | ^
4771 3 |
4772 4 | function stringListToTermListMap( values: { [ language: string ]: string[] } ) {
4773 5 | const aliases: { [ language: string ]: Term[] } = {};
4774
4775
4776error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at tests/newFingerprintable.ts:7:2:
4777 5 | const aliases: { [ language: string ]: Term[] } = {};
4778 6 |
4779> 7 | Object.entries( values ).forEach( ( [ language, aliasValues ] ) => {
4780 | ^
4781 8 | aliases[ language ] = aliasValues.map( ( value ) => ( { language, value } ) );
4782 9 | } );
4783 10 |
4784
4785
4786error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at tests/newFingerprintable.ts:17:2:
4787 15 | const terms: { [ language: string ]: Term } = {};
4788 16 |
4789> 17 | Object.entries( values ).forEach( ( [ language, value ] ) => {
4790 | ^
4791 18 | terms[ language ] = { language, value };
4792 19 | } );
4793 20 |
4794
4795
4796error: Use the global form of 'use strict' (strict) at tests/selenium/.eslintrc.js:1:1:
4797> 1 | module.exports = {
4798 | ^
4799 2 | root: true,
4800 3 | extends: ["wikimedia/selenium"],
4801 4 | };
4802
4803
4804error: Expected indentation of 1 tab but found 2 spaces (indent) at tests/selenium/.eslintrc.js:2:1:
4805 1 | module.exports = {
4806> 2 | root: true,
4807 | ^
4808 3 | extends: ["wikimedia/selenium"],
4809 4 | };
4810 5 |
4811
4812
4813error: Expected indentation of 1 tab but found 2 spaces (indent) at tests/selenium/.eslintrc.js:3:1:
4814 1 | module.exports = {
4815 2 | root: true,
4816> 3 | extends: ["wikimedia/selenium"],
4817 | ^
4818 4 | };
4819 5 |
4820
4821
4822error: A space is required after '[' (array-bracket-spacing) at tests/selenium/.eslintrc.js:3:12:
4823 1 | module.exports = {
4824 2 | root: true,
4825> 3 | extends: ["wikimedia/selenium"],
4826 | ^
4827 4 | };
4828 5 |
4829
4830
4831error: Strings must use singlequote (quotes) at tests/selenium/.eslintrc.js:3:13:
4832 1 | module.exports = {
4833 2 | root: true,
4834> 3 | extends: ["wikimedia/selenium"],
4835 | ^
4836 4 | };
4837 5 |
4838
4839
4840error: A space is required before ']' (array-bracket-spacing) at tests/selenium/.eslintrc.js:3:33:
4841 1 | module.exports = {
4842 2 | root: true,
4843> 3 | extends: ["wikimedia/selenium"],
4844 | ^
4845 4 | };
4846 5 |
4847
4848
4849error: Unexpected trailing comma (comma-dangle) at tests/selenium/.eslintrc.js:3:34:
4850 1 | module.exports = {
4851 2 | root: true,
4852> 3 | extends: ["wikimedia/selenium"],
4853 | ^
4854 4 | };
4855 5 |
4856
4857
4858error: Use the global form of 'use strict' (strict) at tests/selenium/TermboxLanguages.js:1:1:
4859> 1 | const Page = require( 'wdio-mediawiki/Page' );
4860 | ^
4861 2 |
4862 3 | module.exports = class TermboxLanguages {
4863 4 |
4864
4865
4866error: "wdio-mediawiki/Page" is not found (node/no-missing-require) at tests/selenium/TermboxLanguages.js:1:23:
4867> 1 | const Page = require( 'wdio-mediawiki/Page' );
4868 | ^
4869 2 |
4870 3 | module.exports = class TermboxLanguages {
4871 4 |
4872
4873
4874warning: This line has a length of 119. Maximum allowed is 100 (max-len) at tests/selenium/TermboxLanguages.js:12:1:
4875 10 | static initWithUseLang( language ) {
4876 11 | ( new Page() ).openTitle(
4877> 12 | // We're intentionally opening an Item page that does not (need to) exist. This page is only opened to call
4878 | ^
4879 13 | // `wikibase.getUserLanguages` which accesses a JS config variable that only exists on pages that run
4880 14 | // Wikibase's OutputPageBeforeHTML hook handler.
4881 15 | 'Item:Q123',
4882
4883
4884warning: This line has a length of 113. Maximum allowed is 100 (max-len) at tests/selenium/TermboxLanguages.js:13:1:
4885 11 | ( new Page() ).openTitle(
4886 12 | // We're intentionally opening an Item page that does not (need to) exist. This page is only opened to call
4887> 13 | // `wikibase.getUserLanguages` which accesses a JS config variable that only exists on pages that run
4888 | ^
4889 14 | // Wikibase's OutputPageBeforeHTML hook handler.
4890 15 | 'Item:Q123',
4891 16 | { uselang: language }
4892
4893
4894error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:21:21:
4895 19 | browser.waitUntil( () => {
4896 20 | return browser.execute( () => {
4897> 21 | return ( typeof window.mw.loader === 'object' && typeof window.mw.loader.using === 'function' );
4898 | ^
4899 22 | } ) === true;
4900 23 | } );
4901 24 |
4902
4903
4904error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:21:61:
4905 19 | browser.waitUntil( () => {
4906 20 | return browser.execute( () => {
4907> 21 | return ( typeof window.mw.loader === 'object' && typeof window.mw.loader.using === 'function' );
4908 | ^
4909 22 | } ) === true;
4910 23 | } );
4911 24 |
4912
4913
4914error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:27:5:
4915 25 | return new this(
4916 26 | browser.executeAsync( ( done ) => {
4917> 27 | window.mw.loader.using( [ 'ext.uls.mediawiki', 'wikibase.getUserLanguages' ], () => {
4918 | ^
4919 28 | done( window.wb.getUserLanguages() );
4920 29 | } );
4921 30 | } ),
4922
4923
4924error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:28:12:
4925 26 | browser.executeAsync( ( done ) => {
4926 27 | window.mw.loader.using( [ 'ext.uls.mediawiki', 'wikibase.getUserLanguages' ], () => {
4927> 28 | done( window.wb.getUserLanguages() );
4928 | ^
4929 29 | } );
4930 30 | } ),
4931 31 | browser.executeAsync( ( done ) => {
4932
4933
4934error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:32:5:
4935 30 | } ),
4936 31 | browser.executeAsync( ( done ) => {
4937> 32 | window.mw.loader.using( [ 'wikibase.WikibaseContentLanguages' ], () => {
4938 | ^
4939 33 | done( new window.wb.WikibaseContentLanguages().getAllPairs() );
4940 34 | } );
4941 35 | } )
4942
4943
4944error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:33:16:
4945 31 | browser.executeAsync( ( done ) => {
4946 32 | window.mw.loader.using( [ 'wikibase.WikibaseContentLanguages' ], () => {
4947> 33 | done( new window.wb.WikibaseContentLanguages().getAllPairs() );
4948 | ^
4949 34 | } );
4950 35 | } )
4951 36 | );
4952
4953
4954error: Use the global form of 'use strict' (strict) at tests/selenium/createTermsInLanguages.js:1:1:
4955> 1 | const MWUtil = require( 'wdio-mediawiki/Util' );
4956 | ^
4957 2 |
4958 3 | function newTerm( language ) {
4959 4 | return { language, value: MWUtil.getTestString() };
4960
4961
4962error: "wdio-mediawiki/Util" is not found (node/no-missing-require) at tests/selenium/createTermsInLanguages.js:1:25:
4963> 1 | const MWUtil = require( 'wdio-mediawiki/Util' );
4964 | ^
4965 2 |
4966 3 | function newTerm( language ) {
4967 4 | return { language, value: MWUtil.getTestString() };
4968
4969
4970error: "wdio-mediawiki/Page" is not found (node/no-missing-require) at tests/selenium/pageobjects/Termbox.page.js:2:23:
4971 1 | 'use strict';
4972> 2 | const Page = require( 'wdio-mediawiki/Page' );
4973 | ^
4974 3 |
4975 4 | class TermboxPage extends Page {
4976 5 | get editButton() {
4977
4978
4979error: Unexpected trailing comma (comma-dangle) at tests/selenium/pageobjects/Termbox.page.js:31:66:
4980 29 | label: monolingualFingerprint.$( '.wb-ui-label' ),
4981 30 | description: monolingualFingerprint.$( '.wb-ui-description' ),
4982> 31 | aliases: monolingualFingerprint.$$( '.wb-ui-aliases__alias' ),
4983 | ^
4984 32 | };
4985 33 | } );
4986 34 | }
4987
4988
4989error: Unexpected trailing comma (comma-dangle) at tests/selenium/pageobjects/Termbox.page.js:41:89:
4990 39 | label: monolingualFingerprint.$( '.wb-ui-label-edit' ),
4991 40 | description: monolingualFingerprint.$( '.wb-ui-description-edit' ),
4992> 41 | getNthAlias: ( n ) => monolingualFingerprint.$$( '.wb-ui-aliases-edit__alias' )[ n ],
4993 | ^
4994 42 | };
4995 43 | } );
4996 44 | }
4997
4998
4999warning: This line has a length of 106. Maximum allowed is 100 (max-len) at tests/selenium/pageobjects/Termbox.page.js:105:1:
5000 103 | waitForTermboxToLoad() {
5001 104 | // The "all entered languages" section only exists in the client-side rendered markup,
5002> 105 | // and is omitted from the server-side markup. Once it exists Termbox should be fully interactive.
5003 | ^
5004 106 | this.allEnteredLanguagesButton.waitForExist();
5005 107 | }
5006 108 |
5007
5008
5009error: Use the global form of 'use strict' (strict) at tests/selenium/specs/AnonEditWarning.spec.js:1:1:
5010> 1 | const assert = require( 'assert' );
5011 | ^
5012 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5013 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5014 4 | const LoginPage = require( 'wdio-mediawiki/LoginPage' );
5015
5016
5017error: "wdio-mediawiki/LoginPage" is not found (node/no-missing-require) at tests/selenium/specs/AnonEditWarning.spec.js:4:28:
5018 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5019 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5020> 4 | const LoginPage = require( 'wdio-mediawiki/LoginPage' );
5021 | ^
5022 5 |
5023 6 | describe( 'Termbox: AnonEditWarning', () => {
5024 7 | let id;
5025
5026
5027error: Use the global form of 'use strict' (strict) at tests/selenium/specs/LicenseOverlay.spec.js:1:1:
5028> 1 | const assert = require( 'assert' );
5029 | ^
5030 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5031 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5032 4 |
5033
5034
5035error: Use the global form of 'use strict' (strict) at tests/selenium/specs/editing.spec.js:1:1:
5036> 1 | const assert = require( 'assert' );
5037 | ^
5038 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5039 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5040 4 | const MWUtil = require( 'wdio-mediawiki/Util' );
5041
5042
5043error: "wdio-mediawiki/Util" is not found (node/no-missing-require) at tests/selenium/specs/editing.spec.js:4:25:
5044 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5045 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5046> 4 | const MWUtil = require( 'wdio-mediawiki/Util' );
5047 | ^
5048 5 |
5049 6 | describe( 'Termbox: editing', () => {
5050 7 | let id;
5051
5052
5053error: Use the global form of 'use strict' (strict) at tests/selenium/specs/reading.spec.js:1:1:
5054> 1 | const assert = require( 'assert' );
5055 | ^
5056 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5057 3 | const TermboxLanguages = require( '../TermboxLanguages' );
5058 4 | const createTermsInLanguages = require( '../createTermsInLanguages' );
5059
5060
5061error: "@/client/axios/assertUserRequestInterceptor" is not found (node/no-missing-import) at tests/unit/client/axios/assertUserRequestInterceptor.spec.ts:4:42:
5062 2 | import axios from 'axios';
5063 3 | import HttpStatus from 'http-status-codes';
5064> 4 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
5065 | ^
5066 5 |
5067 6 | const scriptPath = 'fake.php';
5068 7 |
5069
5070
5071error: "@/client/axios/axiosFactory" is not found (node/no-missing-import) at tests/unit/client/axios/axiosFactory.spec.ts:1:26:
5072> 1 | import axiosFactory from '@/client/axios/axiosFactory';
5073 | ^
5074 2 | import MockAdapter from 'axios-mock-adapter';
5075 3 | import HttpStatus from 'http-status-codes';
5076 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5077
5078
5079error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/axios/axiosFactory.spec.ts:4:38:
5080 2 | import MockAdapter from 'axios-mock-adapter';
5081 3 | import HttpStatus from 'http-status-codes';
5082> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5083 | ^
5084 5 |
5085 6 | const mockRequestBaseURL = 'foo';
5086 7 | const mockUsername = 'PacMan';
5087
5088
5089error: 'axiosMock' is already declared in the upper scope (no-shadow) at tests/unit/client/axios/axiosFactory.spec.ts:11:28:
5090 9 | const axiosMock = new MockAdapter( axios );
5091 10 |
5092> 11 | function addMockCSRFReply( axiosMock: MockAdapter ) {
5093 | ^
5094 12 | axiosMock.onGet( MEDIAWIKI_API_SCRIPT ).reply( HttpStatus.OK, {
5095 13 | batchcomplete: '',
5096 14 | query: {
5097
5098
5099error: "@/client/axios/editTokenRequestInterceptor" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:3:41:
5100 1 | import MockAdapter from 'axios-mock-adapter';
5101 2 | import axios, { AxiosRequestConfig } from 'axios';
5102> 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5103 | ^
5104 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5105 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5106 6 | import HttpStatus from 'http-status-codes';
5107
5108
5109error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:4:38:
5110 2 | import axios, { AxiosRequestConfig } from 'axios';
5111 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5112> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5113 | ^
5114 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5115 6 | import HttpStatus from 'http-status-codes';
5116 7 |
5117
5118
5119error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:5:30:
5120 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5121 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5122> 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5123 | ^
5124 6 | import HttpStatus from 'http-status-codes';
5125 7 |
5126 8 | const axiosMock = new MockAdapter( axios );
5127
5128
5129error: "@/client/axios/formDataRequestTransformation" is not found (node/no-missing-import) at tests/unit/client/axios/formDataRequestTransformation.spec.ts:1:43:
5130> 1 | import formDataRequestTransformation from '@/client/axios/formDataRequestTransformation';
5131 | ^
5132 2 |
5133 3 | describe( 'formDataRequestTransformation', () => {
5134 4 |
5135
5136
5137error: "@/client/buildAndAttemptHydration" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:1:38:
5138> 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5139 | ^
5140 2 | import TermboxServices from '@/common/TermboxServices';
5141 3 | import TermboxRequest from '@/common/TermboxRequest';
5142 4 |
5143
5144
5145error: "@/common/TermboxServices" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:2:29:
5146 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5147> 2 | import TermboxServices from '@/common/TermboxServices';
5148 | ^
5149 3 | import TermboxRequest from '@/common/TermboxRequest';
5150 4 |
5151 5 | const mockBuildApp = jest.fn();
5152
5153
5154error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:3:28:
5155 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5156 2 | import TermboxServices from '@/common/TermboxServices';
5157> 3 | import TermboxRequest from '@/common/TermboxRequest';
5158 | ^
5159 4 |
5160 5 | const mockBuildApp = jest.fn();
5161 6 | jest.mock( '@/common/buildApp', () => ( {
5162
5163
5164error: "@/client/data-access/AxiosWritingEntityRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:1:42:
5165> 1 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
5166 | ^
5167 2 | import newFingerprintable from '../../../newFingerprintable';
5168 3 | import MockAdapter from 'axios-mock-adapter';
5169 4 | import axios from 'axios';
5170
5171
5172error: "../../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:2:32:
5173 1 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
5174> 2 | import newFingerprintable from '../../../newFingerprintable';
5175 | ^
5176 3 | import MockAdapter from 'axios-mock-adapter';
5177 4 | import axios from 'axios';
5178 5 | import HttpStatus from 'http-status-codes';
5179
5180
5181error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:6:38:
5182 4 | import axios from 'axios';
5183 5 | import HttpStatus from 'http-status-codes';
5184> 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5185 | ^
5186 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5187 8 | import EntityRevision from '@/datamodel/EntityRevision';
5188 9 | import EntityInitializer from '@/common/EntityInitializer';
5189
5190
5191error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:7:30:
5192 5 | import HttpStatus from 'http-status-codes';
5193 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5194> 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5195 | ^
5196 8 | import EntityRevision from '@/datamodel/EntityRevision';
5197 9 | import EntityInitializer from '@/common/EntityInitializer';
5198 10 |
5199
5200
5201error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:8:28:
5202 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5203 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5204> 8 | import EntityRevision from '@/datamodel/EntityRevision';
5205 | ^
5206 9 | import EntityInitializer from '@/common/EntityInitializer';
5207 10 |
5208 11 | const axiosMock = new MockAdapter( axios );
5209
5210
5211error: "@/common/EntityInitializer" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:9:31:
5212 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5213 8 | import EntityRevision from '@/datamodel/EntityRevision';
5214> 9 | import EntityInitializer from '@/common/EntityInitializer';
5215 | ^
5216 10 |
5217 11 | const axiosMock = new MockAdapter( axios );
5218 12 |
5219
5220
5221error: "@/client/data-access/AxiosWritingSingleUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:2:7:
5222 1 | import AxiosWritingSingleUserPreferenceRepository
5223> 2 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
5224 | ^
5225 3 | import MockAdapter from 'axios-mock-adapter';
5226 4 | import axios from 'axios';
5227 5 | import HttpStatus from 'http-status-codes';
5228
5229
5230error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:6:38:
5231 4 | import axios from 'axios';
5232 5 | import HttpStatus from 'http-status-codes';
5233> 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5234 | ^
5235 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5236 8 |
5237 9 | const axiosMock = new MockAdapter( axios );
5238
5239
5240error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:7:30:
5241 5 | import HttpStatus from 'http-status-codes';
5242 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5243> 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5244 | ^
5245 8 |
5246 9 | const axiosMock = new MockAdapter( axios );
5247 10 |
5248
5249
5250error: "@/client/data-access/BooleanCookieStore" is not found (node/no-missing-import) at tests/unit/client/data-access/BooleanCookieStore.spec.ts:1:55:
5251> 1 | import BooleanCookieStore, { truthyCookieValue } from '@/client/data-access/BooleanCookieStore';
5252 | ^
5253 2 |
5254 3 | describe( 'BooleanCookieStore', () => {
5255 4 |
5256
5257
5258error: "@/client/data-access/CookieUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts:1:44:
5259> 1 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
5260 | ^
5261 2 |
5262 3 | describe( 'CookieUserPreferenceRepository', () => {
5263 4 |
5264
5265
5266error: "@/client/data-access/EntityRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:1:30:
5267> 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5268 | ^
5269 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5270 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5271 4 | import EntityInitializer from '@/common/EntityInitializer';
5272
5273
5274error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:2:35:
5275 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5276> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5277 | ^
5278 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5279 4 | import EntityInitializer from '@/common/EntityInitializer';
5280 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5281
5282
5283error: "@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:3:56:
5284 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5285 2 | import FingerprintableEntity from '@/datamodel/F

@zeljkofilipin Is this after you implement the changes to eslint and eslint-config-wikimedia and add the eslint config updates? I receive the same output as you, but only before my changes. Here is my log following my changes.

The output I've posted is for master branch, before applying your commit. I was trying to see if everything is fine on master branch. Otherwise, if something breaks when I apply your commit, I would not know if it was something wrong with my setup or with your commit.

I'm following readme file, but I'm not getting anywhere.

1~/Documents/gerrit/wikibase/termbox$ node -v
2v10.15.2
3
4
5
6~/Documents/gerrit/wikibase/termbox$ npm -v
76.4.1
8
9
10
11~/Documents/gerrit/wikibase/termbox$ cp .env.example .env
12
13
14
15~/Documents/gerrit/wikibase/termbox$ cat .env
16SSR_PORT=3030
17# set to e.g. the api script of your development environment's mediawiki
18WIKIBASE_REPO=http://default.web.mw.localhost/mediawiki
19# hostname which will be used in place of the one in WIKIBASE_REPO for network requests to the wikibase
20WIKIBASE_REPO_HOSTNAME_ALIAS=default.web.mw.localhost
21# timeout to mediawiki in ms
22MEDIAWIKI_REQUEST_TIMEOUT=3000
23# maximum age of entries in the messages cache in ms
24MESSAGES_CACHE_MAX_AGE=60000
25# maximum age of entries in the languages cache in ms
26LANGUAGES_CACHE_MAX_AGE=300000
27# query string for the openapi x-amples healthcheck
28HEALTHCHECK_QUERY=language=de&entity=Q1&revision=3&editLink=/edit/Q1347&preferredLanguages=de|en
29
30# set to e.g. "addshoremediawikidockerdev_default" (see README)
31MEDIAWIKI_NETWORK_TO_JOIN=
32CSR_PORT=3000
33STORYBOOK_PORT=6006
34NODE_ENV=development
35
36# set to e.g. "request" to see API requests done by SSR
37NODE_DEBUG=
38# set to e.g. "express:*" to see incoming requests
39DEBUG=
40
41
42
43~/Documents/gerrit/wikibase/termbox$ docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) node
44Traceback (most recent call last):
45 File "docker-compose", line 3, in <module>
46 File "compose/cli/main.py", line 67, in main
47 File "compose/cli/main.py", line 123, in perform_command
48 File "compose/cli/command.py", line 69, in project_from_options
49 File "compose/cli/command.py", line 141, in get_project
50 File "compose/project.py", line 106, in from_config
51 File "compose/network.py", line 318, in get_networks
52 File "compose/network.py", line 123, in true_name
53 File "compose/network.py", line 144, in _set_legacy_flag
54 File "compose/network.py", line 104, in inspect
55 File "site-packages/docker/utils/decorators.py", line 17, in wrapped
56docker.errors.NullResource: Resource ID was not provided
57[10388] Failed to execute script docker-compose

I'm finally able to run npm test for master branch. I'm not sure if I needed to do all these steps.

1~/Documents/gerrit/wikibase/termbox$ cat .env
2SSR_PORT=3030
3# set to e.g. the api script of your development environment's mediawiki
4WIKIBASE_REPO=http://default.web.mw.localhost/mediawiki
5# hostname which will be used in place of the one in WIKIBASE_REPO for network requests to the wikibase
6WIKIBASE_REPO_HOSTNAME_ALIAS=default.web.mw.localhost
7# timeout to mediawiki in ms
8MEDIAWIKI_REQUEST_TIMEOUT=3000
9# maximum age of entries in the messages cache in ms
10MESSAGES_CACHE_MAX_AGE=60000
11# maximum age of entries in the languages cache in ms
12LANGUAGES_CACHE_MAX_AGE=300000
13# query string for the openapi x-amples healthcheck
14HEALTHCHECK_QUERY=language=de&entity=Q1&revision=3&editLink=/edit/Q1347&preferredLanguages=de|en
15
16# set to e.g. "addshoremediawikidockerdev_default" (see README)
17MEDIAWIKI_NETWORK_TO_JOIN=
18CSR_PORT=3000
19STORYBOOK_PORT=6006
20NODE_ENV=development
21
22# set to e.g. "request" to see API requests done by SSR
23NODE_DEBUG=
24# set to e.g. "express:*" to see incoming requests
25DEBUG=
26
27
28
29~/Documents/gerrit/wikibase/termbox$ npm ci
30...
31
32
33
34~/Documents/gerrit/wikibase/termbox$ npm run build
35
36> wikibase-termbox@0.1.0 build /Users/z/Documents/gerrit/wikibase/termbox
37> NODE_ENV=production vue-cli-service build
38
39⠙ Building for production...Starting type checking service...
40Using 1 worker with 2048MB memory limit
41⠹ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
42⠏ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
43⠋ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
44⠸ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
45⠇ Building for production...
46
47 DONE Compiled successfully in 17957ms 5:37:22 PM
48
49 File Size Gzipped
50
51 dist/wikibase.termbox.main.js 163.61 KiB 44.51 KiB
52 dist/wikibase.termbox.main.css 28.35 KiB 3.79 KiB
53
54 Images and other types of assets omitted.
55
56 DONE Build complete. The dist directory is ready to be deployed.
57 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
58
59
60
61~/Documents/gerrit/wikibase/termbox$ npm run build-server
62
63> wikibase-termbox@0.1.0 build-server /Users/z/Documents/gerrit/wikibase/termbox
64> NODE_ENV=production WEBPACK_TARGET=node vue-cli-service build && tsc -p tsconfig.server.json && rm -rf node_modules/.cache
65
66⠙ Building for production...Starting type checking service...
67Using 1 worker with 2048MB memory limit
68⠏ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
69⠙ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
70⠴ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
71⠦ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
72⠸ Building for production...
73
74 DONE Compiled successfully in 7968ms 5:38:18 PM
75
76 File Size Gzipped
77
78 Images and other types of assets omitted.
79
80 DONE Build complete. The serverDist directory is ready to be deployed.
81 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
82
83
84
85~/Documents/gerrit/wikibase/termbox$ npm t
86
87> wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
88> npm-run-all test:*
89
90> wikibase-termbox@0.1.0 test:lint /Users/z/Documents/gerrit/wikibase/termbox
91> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
92
93 DONE No lint errors found!
94Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
95
96> wikibase-termbox@0.1.0 test:unit /Users/z/Documents/gerrit/wikibase/termbox
97> vue-cli-service test:unit
98
99 PASS tests/edge-to-edge/server/app.spec.ts (7.559s)
100 PASS tests/unit/store/entity/mutations.spec.ts
101 PASS tests/unit/components/AliasesEdit.spec.ts (8.109s)
102 PASS tests/unit/store/entity/actions.spec.ts
103 PASS tests/unit/components/TermBox.spec.ts (8.375s)
104 PASS tests/unit/components/MonolingualFingerprintView.spec.ts
105 PASS tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts
106 PASS tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts
107 PASS tests/unit/components/AnonEditWarning.spec.ts
108 PASS tests/unit/components/LicenseAgreement.spec.ts
109 PASS tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts
110 PASS tests/unit/server/assertAndGetConfig.spec.ts
111 PASS tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts
112 PASS tests/unit/components/AllEnteredLanguagesExpandable.spec.ts
113 PASS tests/unit/components/LabelEdit.spec.ts
114 PASS tests/unit/components/DescriptionEdit.spec.ts
115 PASS tests/unit/store/user/actions.spec.ts
116 PASS tests/unit/server-entry.spec.ts
117 PASS tests/unit/client/axios/editTokenRequestInterceptor.spec.ts
118 PASS tests/unit/client/init.spec.ts
119 PASS tests/unit/server/buildOpenApiSpec.spec.ts
120 PASS tests/unit/client/data-access/EntityRepository.spec.ts
121 PASS tests/unit/store/entity/getters.spec.ts
122 PASS tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts
123 PASS tests/unit/server/axios/axiosFactory.spec.ts
124 PASS tests/unit/components/Aliases.spec.ts
125 PASS tests/unit/components/App.spec.ts
126 PASS tests/unit/components/Label.spec.ts
127 PASS tests/unit/store/language/mutations.spec.ts
128 PASS tests/unit/components/Description.spec.ts
129 PASS tests/unit/client/axios/axiosFactory.spec.ts
130 PASS tests/unit/components/AllEnteredLanguages.spec.ts
131 PASS tests/unit/common/buildApp.spec.ts
132 PASS tests/unit/store/language/actions.spec.ts
133 PASS tests/unit/store/user/mutations.spec.ts
134 PASS tests/unit/client/data-access/StringMWCookieStore.spec.ts
135 PASS tests/unit/store/language/getters.spec.ts
136 PASS tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts
137 PASS tests/unit/components/EventEmittingButton.spec.ts
138 PASS tests/unit/components/InMoreLanguagesExpandable.spec.ts
139 PASS tests/unit/server/data-access/CachingMethodDecorator.spec.ts
140 PASS tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts
141 PASS tests/unit/store/messages/getters.spec.ts
142 PASS tests/unit/common/EntityInitializer.spec.ts
143 PASS tests/unit/client/buildAndAttemptHydration.spec.ts
144 PASS tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts
145 PASS tests/unit/server/reportResponseTimeMetrics.spec.ts
146 PASS tests/unit/newFingerprintable.spec.ts
147 PASS tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts
148 PASS tests/unit/components/mixins/Messages.spec.ts
149 PASS tests/unit/components/InMoreLanguages.spec.ts
150 PASS tests/unit/client/data-access/BooleanCookieStore.spec.ts
151 PASS tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts
152 PASS tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts
153 PASS tests/unit/components/Checkbox.spec.ts
154 PASS tests/unit/client/axios/assertUserRequestInterceptor.spec.ts
155 PASS tests/unit/common/TermboxRequest.spec.ts
156 PASS tests/unit/common/data-access/AxiosTechnicalProblem.spec.ts
157 PASS tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts
158 PASS tests/unit/common/data-access/DelegatingUserPreferenceRepository.spec.ts
159 PASS tests/unit/common/getChildComponents.spec.ts
160 PASS tests/unit/client/directives/inlanguage.spec.ts
161 PASS tests/unit/server/directives/inlanguage.spec.ts
162 PASS tests/unit/server/bundle-renderer/BundleRendererServices.spec.ts
163 PASS tests/unit/components/EditTools.spec.ts
164 PASS tests/unit/common/data-access/CompoundSingleUserPreferenceRepository.spec.ts
165 PASS tests/unit/client/data-access/UlsLanguageRepository.spec.ts
166 PASS tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts
167 PASS tests/unit/store/messages/actions.spec.ts
168 PASS tests/unit/components/Sectionedit.spec.ts
169 PASS tests/unit/store/index.spec.ts
170 PASS tests/unit/store/actions.spec.ts
171 PASS tests/unit/client/data-access/MessagesRepository.spec.ts
172 PASS tests/unit/components/IconMessageBox.spec.ts
173 PASS tests/unit/components/mixins/newConfigMixin.spec.ts
174 PASS tests/unit/store/links/actions.spec.ts
175 PASS tests/unit/common/TermboxServices.spec.ts
176 PASS tests/unit/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.spec.ts
177 PASS tests/unit/store/links/mutations.spec.ts
178 PASS tests/unit/server/route-handler/termbox/CoercingQueryValidator.spec.ts
179 PASS tests/unit/store/messages/mutations.spec.ts
180 PASS tests/unit/client/axios/formDataRequestTransformation.spec.ts
181 PASS tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts
182 PASS tests/unit/store/user/getters.spec.ts
183 PASS tests/unit/common/error/ContextError.spec.ts
184 PASS tests/unit/components/MessageBanner.spec.ts
185 PASS tests/unit/datamodel/EntityRevision.spec.ts
186 PASS tests/unit/store/mutations.spec.ts
187 PASS tests/unit/store/entity/index.spec.ts
188 PASS tests/unit/components/Overlay.spec.ts
189 PASS tests/unit/server/axios/getMwUserAgentString.spec.ts
190 PASS tests/unit/components/Modal.spec.ts
191 PASS tests/unit/store/user/index.spec.ts
192 PASS tests/unit/client/directives/focus.spec.ts
193 PASS tests/unit/store/language/index.spec.ts
194 PASS tests/unit/store/links/index.spec.ts
195 PASS tests/unit/store/messages/index.spec.ts
196
197Test Suites: 97 passed, 97 total
198Tests: 392 passed, 392 total
199Snapshots: 0 total
200Time: 15.048s
201Ran all test suites.
202
203> wikibase-termbox@0.1.0 test:distnodiff /Users/z/Documents/gerrit/wikibase/termbox
204> npm run build -- --dest /tmp/dist && diff -q ./dist/wikibase.termbox.main.css /tmp/dist/wikibase.termbox.main.css && diff -q ./dist/wikibase.termbox.main.js /tmp/dist/wikibase.termbox.main.js
205
206> wikibase-termbox@0.1.0 build /Users/z/Documents/gerrit/wikibase/termbox
207> NODE_ENV=production vue-cli-service build "--dest" "/tmp/dist"
208
209⠙ Building for production...Starting type checking service...
210Using 1 worker with 2048MB memory limit
211⠋ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
212⠹ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
213⠸ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
214⠴ Building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update`
215⠏ Building for production...
216
217 DONE Compiled successfully in 17491ms 5:39:27 PM
218
219 File Size Gzipped
220
221 ../../../../../../tmp/dist/wikibase.te 163.61 KiB 44.51 KiB
222 rmbox.main.js
223 ../../../../../../tmp/dist/wikibase.te 28.35 KiB 3.79 KiB
224 rmbox.main.css
225
226 Images and other types of assets omitted.
227
228 DONE Build complete. The ../../../../../../tmp/dist directory is ready to be deployed.
229 INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

npm test for 635103 patch looks similar (but not identical) to CI output (termbox-pipeline-test/29/consoleFull).

1~/Documents/gerrit/wikibase/termbox$ npm t
2
3> wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
4> npm-run-all test:*
5
6
7> wikibase-termbox@0.1.0 test:lint /Users/z/Documents/gerrit/wikibase/termbox
8> vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'
9
10error: "../../tests/unit/store/mockMessageMixin" is not found (node/no-missing-import) at .storybook/helpers/stubMessagesMixin.js:1:30:
11> 1 | import mockMessageMixin from '../../tests/unit/store/mockMessageMixin';
12 | ^
13 2 |
14 3 | export default function stubMessagesMixin( component, messages ) {
15 4 | return {
16
17
18error: "@/client/directives" is not found (node/no-missing-import) at .storybook/preview.js:5:8:
19 3 | addParameters,
20 4 | } from '@storybook/vue';
21> 5 | import '@/client/directives';
22 | ^
23 6 | import { withKnobs } from '@storybook/addon-knobs';
24 7 |
25 8 | addDecorator( withKnobs );
26
27
28error: "@/common/constants" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:2:39:
29 1 | import Axios, { AxiosInstance } from 'axios';
30> 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
31 | ^
32 3 | import formDataRequestTransformation from './formDataRequestTransformation';
33 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
34 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
35
36
37error: "./formDataRequestTransformation" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:3:43:
38 1 | import Axios, { AxiosInstance } from 'axios';
39 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
40> 3 | import formDataRequestTransformation from './formDataRequestTransformation';
41 | ^
42 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
43 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
44 6 |
45
46
47error: "./editTokenRequestInterceptor" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:4:41:
48 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
49 3 | import formDataRequestTransformation from './formDataRequestTransformation';
50> 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
51 | ^
52 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
53 6 |
54 7 | export default function axiosFactory( baseUrl: string, username: string | null ): AxiosInstance {
55
56
57error: "@/client/axios/assertUserRequestInterceptor" is not found (node/no-missing-import) at src/client/axios/axiosFactory.ts:5:42:
58 3 | import formDataRequestTransformation from './formDataRequestTransformation';
59 4 | import editTokenRequestInterceptor from './editTokenRequestInterceptor';
60> 5 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
61 | ^
62 6 |
63 7 | export default function axiosFactory( baseUrl: string, username: string | null ): AxiosInstance {
64 8 | const axios = Axios.create( {
65
66
67error: "@/common/constants" is not found (node/no-missing-import) at src/client/axios/editTokenRequestInterceptor.ts:2:38:
68 1 | import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
69> 2 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
70 | ^
71 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
72 4 |
73 5 | /**
74
75
76error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/axios/editTokenRequestInterceptor.ts:3:30:
77 1 | import { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
78 2 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
79> 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
80 | ^
81 4 |
82 5 | /**
83 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
84
85
86warning: Missing JSDoc @param "axios" declaration (jsdoc/require-param) at src/client/axios/editTokenRequestInterceptor.ts:5:1:
87 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
88 4 |
89> 5 | /**
90 | ^
91 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
92 7 | * Tokens are requested via MediaWiki's API.
93 8 | */
94
95
96warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/client/axios/editTokenRequestInterceptor.ts:5:1:
97 3 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
98 4 |
99> 5 | /**
100 | ^
101 6 | * Returns an interceptor function adding CSRF tokens to all post requests.
102 7 | * Tokens are requested via MediaWiki's API.
103 8 | */
104
105
106error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/client/axios/formDataRequestTransformation.ts:7:2:
107 5 |
108 6 | const formData = new FormData();
109> 7 | Object.entries( data )
110 | ^
111 8 | .forEach( ( [ key, value ] ) => formData.append( key, value as string ) );
112 9 |
113 10 | return formData;
114
115
116error: "@/common/buildApp" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:1:22:
117> 1 | import buildApp from '@/common/buildApp';
118 | ^
119 2 | import TermboxServices from '@/common/TermboxServices';
120 3 | import TermboxRequest from '@/common/TermboxRequest';
121 4 |
122
123
124error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:2:29:
125 1 | import buildApp from '@/common/buildApp';
126> 2 | import TermboxServices from '@/common/TermboxServices';
127 | ^
128 3 | import TermboxRequest from '@/common/TermboxRequest';
129 4 |
130 5 | export default function buildAndAttemptHydration(
131
132
133error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client/buildAndAttemptHydration.ts:3:28:
134 1 | import buildApp from '@/common/buildApp';
135 2 | import TermboxServices from '@/common/TermboxServices';
136> 3 | import TermboxRequest from '@/common/TermboxRequest';
137 | ^
138 4 |
139 5 | export default function buildAndAttemptHydration(
140 6 | termboxRequest: TermboxRequest,
141
142
143error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:1:37:
144> 1 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
145 | ^
146 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
147 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
148 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
149
150
151error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:2:35:
152 1 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
153> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
154 | ^
155 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
156 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
157 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
158
159
160error: "@/common/constants" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:4:38:
161 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
162 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
163> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
164 | ^
165 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
166 6 | import EntityRevision from '@/datamodel/EntityRevision';
167 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
168
169
170error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:5:30:
171 3 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
172 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
173> 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
174 | ^
175 6 | import EntityRevision from '@/datamodel/EntityRevision';
176 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
177 8 |
178
179
180error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:6:28:
181 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
182 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
183> 6 | import EntityRevision from '@/datamodel/EntityRevision';
184 | ^
185 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
186 8 |
187 9 | export default class AxiosWritingEntityRepository implements WritingEntityRepository {
188
189
190error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingEntityRepository.ts:7:40:
191 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
192 6 | import EntityRevision from '@/datamodel/EntityRevision';
193> 7 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
194 | ^
195 8 |
196 9 | export default class AxiosWritingEntityRepository implements WritingEntityRepository {
197 10 | private axios: AxiosInstance;
198
199
200error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:1:55:
201> 1 | import { WritingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
202 | ^
203 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
204 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
205 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
206
207
208error: "@/common/constants" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:3:38:
209 1 | import { WritingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
210 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
211> 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
212 | ^
213 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
214 5 |
215 6 | /**
216
217
218error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/client/data-access/AxiosWritingSingleUserPreferenceRepository.ts:4:30:
219 2 | import { AxiosError, AxiosInstance, AxiosResponse } from 'axios';
220 3 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
221> 4 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
222 | ^
223 5 |
224 6 | /**
225 7 | * This repository can only be used for logged in users.
226
227
228error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/BooleanCookieStore.ts:4:8:
229 2 | CookieOptions,
230 3 | CookieStore,
231> 4 | } from '@/client/data-access/CookieStore';
232 | ^
233 5 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
234 6 |
235 7 | export const truthyCookieValue = '1';
236
237
238error: "@/client/data-access/StringMWCookieStore" is not found (node/no-missing-import) at src/client/data-access/BooleanCookieStore.ts:5:33:
239 3 | CookieStore,
240 4 | } from '@/client/data-access/CookieStore';
241> 5 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
242 | ^
243 6 |
244 7 | export const truthyCookieValue = '1';
245 8 |
246
247
248error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/CookieUserPreferenceRepository.ts:1:44:
249> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
250 | ^
251 2 | import {
252 3 | CookieOptions,
253 4 | CookieStore,
254
255
256error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/CookieUserPreferenceRepository.ts:5:8:
257 3 | CookieOptions,
258 4 | CookieStore,
259> 5 | } from '@/client/data-access/CookieStore';
260 | ^
261 6 |
262 7 | export default class CookieUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
263 8 | private cookieStore: CookieStore<T>;
264
265
266error: Default parameters should be last (default-param-last) at src/client/data-access/CookieUserPreferenceRepository.ts:16:3:
267 14 | cookieStore: CookieStore<T>,
268 15 | cookieName: string,
269> 16 | options: CookieOptions = {},
270 | ^
271 17 | defaultValue?: T,
272 18 | ) {
273 19 | this.cookieStore = cookieStore;
274
275
276error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:1:39:
277> 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
278 | ^
279 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
280 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
281 4 | import HookHandler from '@/client/mediawiki/HookHandler';
282
283
284error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:2:35:
285 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
286> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
287 | ^
288 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
289 4 | import HookHandler from '@/client/mediawiki/HookHandler';
290 5 |
291
292
293error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:3:40:
294 1 | import EntityRepositoryInterface from '@/common/data-access/EntityRepository';
295 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
296> 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
297 | ^
298 4 | import HookHandler from '@/client/mediawiki/HookHandler';
299 5 |
300 6 | export default class EntityRepository implements EntityRepositoryInterface {
301
302
303error: "@/client/mediawiki/HookHandler" is not found (node/no-missing-import) at src/client/data-access/EntityRepository.ts:4:25:
304 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
305 3 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
306> 4 | import HookHandler from '@/client/mediawiki/HookHandler';
307 | ^
308 5 |
309 6 | export default class EntityRepository implements EntityRepositoryInterface {
310 7 |
311
312
313error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.ts:1:55:
314> 1 | import { ReadingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
315 | ^
316 2 | import { MWUserOptions } from '@/client/mediawiki/MwWindow';
317 3 |
318 4 | export default class MWUserOptionsReadingSingleUserPreferenceRepository implements
319
320
321error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.ts:2:31:
322 1 | import { ReadingSingleUserPreferenceRepository } from '@/common/data-access/SingleUserPreferenceRepository';
323> 2 | import { MWUserOptions } from '@/client/mediawiki/MwWindow';
324 | ^
325 3 |
326 4 | export default class MWUserOptionsReadingSingleUserPreferenceRepository implements
327 5 | ReadingSingleUserPreferenceRepository<unknown> {
328
329
330error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:1:41:
331> 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
332 | ^
333 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
334 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
335 4 | import { MessageKey } from '@/common/MessageKey';
336
337
338error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:2:42:
339 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
340> 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
341 | ^
342 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
343 4 | import { MessageKey } from '@/common/MessageKey';
344 5 |
345
346
347error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:3:28:
348 1 | import MessagesRepositoryInterface from '@/common/data-access/MessagesRepository';
349 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
350> 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
351 | ^
352 4 | import { MessageKey } from '@/common/MessageKey';
353 5 |
354 6 | export default class MessagesRepository implements MessagesRepositoryInterface {
355
356
357error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client/data-access/MessagesRepository.ts:4:28:
358 2 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
359 3 | import { MwMessages } from '@/client/mediawiki/MwWindow';
360> 4 | import { MessageKey } from '@/common/MessageKey';
361 | ^
362 5 |
363 6 | export default class MessagesRepository implements MessagesRepositoryInterface {
364 7 |
365
366
367error: "@/client/data-access/CookieStore" is not found (node/no-missing-import) at src/client/data-access/StringMWCookieStore.ts:4:8:
368 2 | CookieOptions,
369 3 | CookieStore,
370> 4 | } from '@/client/data-access/CookieStore';
371 | ^
372 5 | import { MWCookie } from '@/client/mediawiki/MwWindow';
373 6 |
374 7 | type ActualType = string;
375
376
377error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/StringMWCookieStore.ts:5:26:
378 3 | CookieStore,
379 4 | } from '@/client/data-access/CookieStore';
380> 5 | import { MWCookie } from '@/client/mediawiki/MwWindow';
381 | ^
382 6 |
383 7 | type ActualType = string;
384 8 | type CookieStoreTypes = ActualType | null;
385
386
387error: "@/common/data-access/LanguageRepository.ts" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:1:32:
388> 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
389 | ^
390 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
391 3 | import Language from '@/datamodel/Language.ts';
392 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
393
394
395error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:2:32:
396 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
397> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
398 | ^
399 3 | import Language from '@/datamodel/Language.ts';
400 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
401 5 |
402
403
404error: "@/datamodel/Language.ts" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:3:22:
405 1 | import LanguageRepository from '@/common/data-access/LanguageRepository.ts';
406 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
407> 3 | import Language from '@/datamodel/Language.ts';
408 | ^
409 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
410 5 |
411 6 | export default class UlsLanguageRepository implements LanguageRepository {
412
413
414error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageRepository.ts:4:51:
415 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
416 3 | import Language from '@/datamodel/Language.ts';
417> 4 | import { WikibaseContentLanguages, UlsData } from '@/client/mediawiki/MwWindow';
418 | ^
419 5 |
420 6 | export default class UlsLanguageRepository implements LanguageRepository {
421 7 |
422
423
424error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:1:43:
425> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
426 | ^
427 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
428 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
429 4 |
430
431
432error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:2:50:
433 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
434> 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
435 | ^
436 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
437 4 |
438 5 | export default class UlsLanguageTranslationRepository implements LanguageTranslationRepository {
439
440
441error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/data-access/UlsLanguageTranslationRepository.ts:3:42:
442 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
443 2 | import LanguageTranslations, { StringTMap } from '@/datamodel/LanguageTranslations';
444> 3 | import { WikibaseContentLanguages } from '@/client/mediawiki/MwWindow';
445 | ^
446 4 |
447 5 | export default class UlsLanguageTranslationRepository implements LanguageTranslationRepository {
448 6 |
449
450
451error: "./inlanguage" is not found (node/no-missing-import) at src/client/directives/index.ts:2:24:
452 1 | import Vue from 'vue';
453> 2 | import inlanguage from './inlanguage';
454 | ^
455 3 | import focus from './focus';
456 4 |
457 5 | Vue.directive( 'inlanguage', inlanguage );
458
459
460error: "./focus" is not found (node/no-missing-import) at src/client/directives/index.ts:3:19:
461 1 | import Vue from 'vue';
462 2 | import inlanguage from './inlanguage';
463> 3 | import focus from './focus';
464 | ^
465 4 |
466 5 | Vue.directive( 'inlanguage', inlanguage );
467 6 | Vue.directive( 'focus', { inserted: focus } );
468
469
470error: "@/datamodel/Language" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:1:22:
471> 1 | import Language from '@/datamodel/Language';
472 | ^
473 2 | import { DirectiveBinding } from 'vue/types/options';
474 3 | import { VNode } from 'vue/types/vnode';
475 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
476
477
478error: "vue/types/options" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:2:34:
479 1 | import Language from '@/datamodel/Language';
480> 2 | import { DirectiveBinding } from 'vue/types/options';
481 | ^
482 3 | import { VNode } from 'vue/types/vnode';
483 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
484 5 | import { NS_LANGUAGE } from '@/store/namespaces';
485
486
487error: "vue/types/vnode" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:3:23:
488 1 | import Language from '@/datamodel/Language';
489 2 | import { DirectiveBinding } from 'vue/types/options';
490> 3 | import { VNode } from 'vue/types/vnode';
491 | ^
492 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
493 5 | import { NS_LANGUAGE } from '@/store/namespaces';
494 6 |
495
496
497error: "@/store/namespaces" is not found (node/no-missing-import) at src/client/directives/inlanguage.ts:5:29:
498 3 | import { VNode } from 'vue/types/vnode';
499 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
500> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
501 | ^
502 6 |
503 7 | export default function inlanguage( el: HTMLElement, binding: DirectiveBinding, vnode: VNode ): void {
504 8 | if ( !binding.value ) {
505
506
507error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client/init.ts:1:28:
508> 1 | import TermboxRequest from '@/common/TermboxRequest';
509 | ^
510 2 | import MwWindow from '@/client/mediawiki/MwWindow';
511 3 |
512 4 | export default function (): Promise<TermboxRequest> {
513
514
515error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client/init.ts:2:22:
516 1 | import TermboxRequest from '@/common/TermboxRequest';
517> 2 | import MwWindow from '@/client/mediawiki/MwWindow';
518 | ^
519 3 |
520 4 | export default function (): Promise<TermboxRequest> {
521 5 | return new Promise<TermboxRequest>( ( resolve ) => {
522
523
524error: "@/client/mediawiki/MwConfig" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:1:22:
525> 1 | import MwConfig from '@/client/mediawiki/MwConfig';
526 | ^
527 2 | import HookHandler from '@/client/mediawiki/HookHandler';
528 3 | import { Hooks } from '@/client/mediawiki/Hooks';
529 4 | import { MessageKey } from '@/common/MessageKey';
530
531
532error: "@/client/mediawiki/HookHandler" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:2:25:
533 1 | import MwConfig from '@/client/mediawiki/MwConfig';
534> 2 | import HookHandler from '@/client/mediawiki/HookHandler';
535 | ^
536 3 | import { Hooks } from '@/client/mediawiki/Hooks';
537 4 | import { MessageKey } from '@/common/MessageKey';
538 5 |
539
540
541error: "@/client/mediawiki/Hooks" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:3:23:
542 1 | import MwConfig from '@/client/mediawiki/MwConfig';
543 2 | import HookHandler from '@/client/mediawiki/HookHandler';
544> 3 | import { Hooks } from '@/client/mediawiki/Hooks';
545 | ^
546 4 | import { MessageKey } from '@/common/MessageKey';
547 5 |
548 6 | interface MwTitleInstance {
549
550
551error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client/mediawiki/MwWindow.ts:4:28:
552 2 | import HookHandler from '@/client/mediawiki/HookHandler';
553 3 | import { Hooks } from '@/client/mediawiki/Hooks';
554> 4 | import { MessageKey } from '@/common/MessageKey';
555 | ^
556 5 |
557 6 | interface MwTitleInstance {
558 7 | getUrl: ( query?: object ) => string;
559
560
561error: "@/client/init" is not found (node/no-missing-import) at src/client-entry.ts:2:18:
562 1 | import Vue from 'vue';
563> 2 | import init from '@/client/init';
564 | ^
565 3 | import TermboxRequest from '@/common/TermboxRequest';
566 4 | import TermboxServices from '@/common/TermboxServices';
567 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
568
569
570error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/client-entry.ts:3:28:
571 1 | import Vue from 'vue';
572 2 | import init from '@/client/init';
573> 3 | import TermboxRequest from '@/common/TermboxRequest';
574 | ^
575 4 | import TermboxServices from '@/common/TermboxServices';
576 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
577 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
578
579
580error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/client-entry.ts:4:29:
581 2 | import init from '@/client/init';
582 3 | import TermboxRequest from '@/common/TermboxRequest';
583> 4 | import TermboxServices from '@/common/TermboxServices';
584 | ^
585 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
586 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
587 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
588
589
590error: "@/client/data-access/UlsLanguageTranslationRepository" is not found (node/no-missing-import) at src/client-entry.ts:5:46:
591 3 | import TermboxRequest from '@/common/TermboxRequest';
592 4 | import TermboxServices from '@/common/TermboxServices';
593> 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
594 | ^
595 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
596 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
597 8 | import EntityRepository from '@/client/data-access/EntityRepository';
598
599
600error: "@/client/data-access/UlsLanguageRepository" is not found (node/no-missing-import) at src/client-entry.ts:6:35:
601 4 | import TermboxServices from '@/common/TermboxServices';
602 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
603> 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
604 | ^
605 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
606 8 | import EntityRepository from '@/client/data-access/EntityRepository';
607 9 | import MwWindow from '@/client/mediawiki/MwWindow';
608
609
610error: "@/client/data-access/MessagesRepository" is not found (node/no-missing-import) at src/client-entry.ts:7:32:
611 5 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
612 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
613> 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
614 | ^
615 8 | import EntityRepository from '@/client/data-access/EntityRepository';
616 9 | import MwWindow from '@/client/mediawiki/MwWindow';
617 10 | import { Hooks } from '@/client/mediawiki/Hooks';
618
619
620error: "@/client/data-access/EntityRepository" is not found (node/no-missing-import) at src/client-entry.ts:8:30:
621 6 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
622 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
623> 8 | import EntityRepository from '@/client/data-access/EntityRepository';
624 | ^
625 9 | import MwWindow from '@/client/mediawiki/MwWindow';
626 10 | import { Hooks } from '@/client/mediawiki/Hooks';
627 11 | import { MessageKey } from '@/common/MessageKey';
628
629
630error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/client-entry.ts:9:22:
631 7 | import MessagesRepository from '@/client/data-access/MessagesRepository';
632 8 | import EntityRepository from '@/client/data-access/EntityRepository';
633> 9 | import MwWindow from '@/client/mediawiki/MwWindow';
634 | ^
635 10 | import { Hooks } from '@/client/mediawiki/Hooks';
636 11 | import { MessageKey } from '@/common/MessageKey';
637 12 | import '@/client/directives';
638
639
640error: "@/client/mediawiki/Hooks" is not found (node/no-missing-import) at src/client-entry.ts:10:23:
641 8 | import EntityRepository from '@/client/data-access/EntityRepository';
642 9 | import MwWindow from '@/client/mediawiki/MwWindow';
643> 10 | import { Hooks } from '@/client/mediawiki/Hooks';
644 | ^
645 11 | import { MessageKey } from '@/common/MessageKey';
646 12 | import '@/client/directives';
647 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
648
649
650error: "@/common/MessageKey" is not found (node/no-missing-import) at src/client-entry.ts:11:28:
651 9 | import MwWindow from '@/client/mediawiki/MwWindow';
652 10 | import { Hooks } from '@/client/mediawiki/Hooks';
653> 11 | import { MessageKey } from '@/common/MessageKey';
654 | ^
655 12 | import '@/client/directives';
656 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
657 14 | import EntityInitializer from '@/common/EntityInitializer';
658
659
660error: "@/client/directives" is not found (node/no-missing-import) at src/client-entry.ts:12:8:
661 10 | import { Hooks } from '@/client/mediawiki/Hooks';
662 11 | import { MessageKey } from '@/common/MessageKey';
663> 12 | import '@/client/directives';
664 | ^
665 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
666 14 | import EntityInitializer from '@/common/EntityInitializer';
667 15 | import axiosFactory from '@/client/axios/axiosFactory';
668
669
670error: "@/client/data-access/AxiosWritingEntityRepository" is not found (node/no-missing-import) at src/client-entry.ts:13:42:
671 11 | import { MessageKey } from '@/common/MessageKey';
672 12 | import '@/client/directives';
673> 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
674 | ^
675 14 | import EntityInitializer from '@/common/EntityInitializer';
676 15 | import axiosFactory from '@/client/axios/axiosFactory';
677 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
678
679
680error: "@/common/EntityInitializer" is not found (node/no-missing-import) at src/client-entry.ts:14:31:
681 12 | import '@/client/directives';
682 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
683> 14 | import EntityInitializer from '@/common/EntityInitializer';
684 | ^
685 15 | import axiosFactory from '@/client/axios/axiosFactory';
686 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
687 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
688
689
690error: "@/client/axios/axiosFactory" is not found (node/no-missing-import) at src/client-entry.ts:15:26:
691 13 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
692 14 | import EntityInitializer from '@/common/EntityInitializer';
693> 15 | import axiosFactory from '@/client/axios/axiosFactory';
694 | ^
695 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
696 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
697 18 | import { UserPreference } from '@/common/UserPreference';
698
699
700error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/client-entry.ts:16:28:
701 14 | import EntityInitializer from '@/common/EntityInitializer';
702 15 | import axiosFactory from '@/client/axios/axiosFactory';
703> 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
704 | ^
705 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
706 18 | import { UserPreference } from '@/common/UserPreference';
707 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
708
709
710error: "@/common/data-access/DispatchingUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:17:49:
711 15 | import axiosFactory from '@/client/axios/axiosFactory';
712 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
713> 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
714 | ^
715 18 | import { UserPreference } from '@/common/UserPreference';
716 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
717 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
718
719
720error: "@/common/UserPreference" is not found (node/no-missing-import) at src/client-entry.ts:18:32:
721 16 | import newConfigMixin from '@/components/mixins/newConfigMixin';
722 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
723> 18 | import { UserPreference } from '@/common/UserPreference';
724 | ^
725 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
726 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
727 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
728
729
730error: "@/client/data-access/CookieUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:19:44:
731 17 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
732 18 | import { UserPreference } from '@/common/UserPreference';
733> 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
734 | ^
735 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
736 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
737 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
738
739
740error: "@/client/data-access/BooleanCookieStore" is not found (node/no-missing-import) at src/client-entry.ts:20:32:
741 18 | import { UserPreference } from '@/common/UserPreference';
742 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
743> 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
744 | ^
745 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
746 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
747 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
748
749
750error: "@/client/data-access/StringMWCookieStore" is not found (node/no-missing-import) at src/client-entry.ts:21:33:
751 19 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
752 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
753> 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
754 | ^
755 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
756 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
757 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
758
759
760error: "@/common/data-access/DelegatingUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:22:48:
761 20 | import BooleanCookieStore from '@/client/data-access/BooleanCookieStore';
762 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
763> 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
764 | ^
765 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
766 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
767 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
768
769
770error: "@/common/data-access/CompoundUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:23:46:
771 21 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
772 22 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
773> 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
774 | ^
775 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
776 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
777 26 | import AxiosWritingSingleUserPreferenceRepository
778
779
780error: "@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:25:7:
781 23 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
782 24 | import MWUserOptionsReadingSingleUserPreferenceRepository
783> 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
784 | ^
785 26 | import AxiosWritingSingleUserPreferenceRepository
786 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
787 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
788
789
790error: "@/client/data-access/AxiosWritingSingleUserPreferenceRepository" is not found (node/no-missing-import) at src/client-entry.ts:27:7:
791 25 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
792 26 | import AxiosWritingSingleUserPreferenceRepository
793> 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
794 | ^
795 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
796 29 |
797 30 | Vue.config.productionTip = false;
798
799
800error: "@/client/buildAndAttemptHydration" is not found (node/no-missing-import) at src/client-entry.ts:28:38:
801 26 | import AxiosWritingSingleUserPreferenceRepository
802 27 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
803> 28 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
804 | ^
805 29 |
806 30 | Vue.config.productionTip = false;
807 31 | Vue.mixin( newConfigMixin(
808
809
810error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/client-entry.ts:62:3:
811 60 | new MessagesRepository(
812 61 | ( window as MwWindow ).mw.message,
813> 62 | Object.values( MessageKey ),
814 | ^
815 63 | ),
816 64 | );
817 65 |
818
819
820error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:1:35:
821> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
822 | ^
823 2 | import EntityInitializerInterface from './EntityInitializerInterface';
824 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
825 4 |
826
827
828error: "./EntityInitializerInterface" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:2:40:
829 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
830> 2 | import EntityInitializerInterface from './EntityInitializerInterface';
831 | ^
832 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
833 4 |
834 5 | export default class EntityInitializer implements EntityInitializerInterface {
835
836
837error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/common/EntityInitializer.ts:3:33:
838 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
839 2 | import EntityInitializerInterface from './EntityInitializerInterface';
840> 3 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
841 | ^
842 4 |
843 5 | export default class EntityInitializer implements EntityInitializerInterface {
844 6 |
845
846
847warning: Missing JSDoc @param "field" declaration (jsdoc/require-param) at src/common/EntityInitializer.ts:35:2:
848 33 | }
849 34 |
850> 35 | /**
851 | ^
852 36 | * This method exists because we're often dealing with entities serialized in PHP,
853 37 | * which does not do a good job at guessing whether [] is an array (list) or an object.
854 38 | */
855
856
857warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/common/EntityInitializer.ts:35:2:
858 33 | }
859 34 |
860> 35 | /**
861 | ^
862 36 | * This method exists because we're often dealing with entities serialized in PHP,
863 37 | * which does not do a good job at guessing whether [] is an array (list) or an object.
864 38 | */
865
866
867error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/EntityInitializerInterface.ts:1:35:
868> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
869 | ^
870 2 |
871 3 | interface EntityInitializerInterface {
872 4 | newFromSerialization( entity: unknown ): FingerprintableEntity;
873
874
875error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/common/TermboxRequest.ts:1:26:
876> 1 | import TermboxLinks from '@/common/TermboxLinks';
877 | ^
878 2 |
879 3 | export default class TermboxRequest {
880 4 | public readonly language: string;
881
882
883error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:1:43:
884> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
885 | ^
886 2 | import EntityRepository from '@/common/data-access/EntityRepository';
887 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
888 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
889
890
891error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:2:30:
892 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
893> 2 | import EntityRepository from '@/common/data-access/EntityRepository';
894 | ^
895 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
896 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
897 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
898
899
900error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:3:32:
901 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
902 2 | import EntityRepository from '@/common/data-access/EntityRepository';
903> 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
904 | ^
905 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
906 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
907 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
908
909
910error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:4:32:
911 2 | import EntityRepository from '@/common/data-access/EntityRepository';
912 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
913> 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
914 | ^
915 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
916 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
917 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
918
919
920error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/common/TermboxServices.ts:5:39:
921 3 | import LanguageRepository from '@/common/data-access/LanguageRepository';
922 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
923> 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
924 | ^
925 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
926 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
927 8 |
928
929
930error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:6:37:
931 4 | import MessagesRepository from '@/common/data-access/MessagesRepository';
932 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
933> 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
934 | ^
935 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
936 8 |
937 9 | export interface Services {
938
939
940error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/common/TermboxServices.ts:7:38:
941 5 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
942 6 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
943> 7 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
944 | ^
945 8 |
946 9 | export interface Services {
947 10 | languageTranslationRepository: LanguageTranslationRepository;
948
949
950error: "@/components/App.vue" is not found (node/no-missing-import) at src/common/buildApp.ts:1:17:
951> 1 | import App from '@/components/App.vue';
952 | ^
953 2 | import { createStore } from '@/store';
954 3 | import TermboxServices from '@/common/TermboxServices';
955 4 | import TermboxRequest from '@/common/TermboxRequest';
956
957
958error: "@/store" is not found (node/no-missing-import) at src/common/buildApp.ts:2:29:
959 1 | import App from '@/components/App.vue';
960> 2 | import { createStore } from '@/store';
961 | ^
962 3 | import TermboxServices from '@/common/TermboxServices';
963 4 | import TermboxRequest from '@/common/TermboxRequest';
964 5 | import getChildComponents from './getChildComponents';
965
966
967error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/common/buildApp.ts:3:29:
968 1 | import App from '@/components/App.vue';
969 2 | import { createStore } from '@/store';
970> 3 | import TermboxServices from '@/common/TermboxServices';
971 | ^
972 4 | import TermboxRequest from '@/common/TermboxRequest';
973 5 | import getChildComponents from './getChildComponents';
974 6 |
975
976
977error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/common/buildApp.ts:4:28:
978 2 | import { createStore } from '@/store';
979 3 | import TermboxServices from '@/common/TermboxServices';
980> 4 | import TermboxRequest from '@/common/TermboxRequest';
981 | ^
982 5 | import getChildComponents from './getChildComponents';
983 6 |
984 7 | export default ( termboxRequest: TermboxRequest, services: TermboxServices ): Promise<App> => {
985
986
987error: "./getChildComponents" is not found (node/no-missing-import) at src/common/buildApp.ts:5:32:
988 3 | import TermboxServices from '@/common/TermboxServices';
989 4 | import TermboxRequest from '@/common/TermboxRequest';
990> 5 | import getChildComponents from './getChildComponents';
991 | ^
992 6 |
993 7 | export default ( termboxRequest: TermboxRequest, services: TermboxServices ): Promise<App> => {
994 8 | const store = createStore( services );
995
996
997error: Array.prototype.map() expects a value to be returned at the end of arrow function (array-callback-return) at src/common/buildApp.ts:14:60:
998 12 |
999 13 | const componentList = getChildComponents( app );
1000> 14 | return Promise.all( componentList.map( ( componentClass ) => {
1001 | ^
1002 15 | if ( componentClass.asyncData ) {
1003 16 | return componentClass.asyncData(
1004 17 | store,
1005
1006
1007error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/CompoundUserPreferenceRepository.ts:4:8:
1008 2 | ReadingSingleUserPreferenceRepository,
1009 3 | WritingSingleUserPreferenceRepository,
1010> 4 | } from '@/common/data-access/SingleUserPreferenceRepository';
1011 | ^
1012 5 |
1013 6 | export default class CompoundUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
1014 7 | private readingRepository: ReadingSingleUserPreferenceRepository<T>;
1015
1016
1017error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DelegatingUserPreferenceRepository.ts:1:44:
1018> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1019 | ^
1020 2 |
1021 3 | export default class DelegatingUserPreferenceRepository<T> implements SingleUserPreferenceRepository<T> {
1022 4 | private readonly repoOne: SingleUserPreferenceRepository<T>;
1023
1024
1025error: "@/common/data-access/SingleUserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:1:44:
1026> 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1027 | ^
1028 2 | import { UserPreference } from '@/common/UserPreference';
1029 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1030 4 |
1031
1032
1033error: "@/common/UserPreference" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:2:32:
1034 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1035> 2 | import { UserPreference } from '@/common/UserPreference';
1036 | ^
1037 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1038 4 |
1039 5 | type RepoMapping = {
1040
1041
1042error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/common/data-access/DispatchingUserPreferenceRepository.ts:3:38:
1043 1 | import SingleUserPreferenceRepository from '@/common/data-access/SingleUserPreferenceRepository';
1044 2 | import { UserPreference } from '@/common/UserPreference';
1045> 3 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
1046 | ^
1047 4 |
1048 5 | type RepoMapping = {
1049 6 | [ Preference in UserPreference ]: SingleUserPreferenceRepository<unknown>
1050
1051
1052error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/data-access/EntityRepository.ts:1:35:
1053> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1054 | ^
1055 2 |
1056 3 | interface EntityRepository {
1057 4 | /**
1058
1059
1060error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/common/data-access/LanguageRepository.ts:1:32:
1061> 1 | import LanguageCollection from '@/datamodel/LanguageCollection';
1062 | ^
1063 2 |
1064 3 | interface LanguageRepository {
1065 4 | getLanguages(): Promise<LanguageCollection>;
1066
1067
1068error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/common/data-access/LanguageTranslationRepository.ts:1:34:
1069> 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
1070 | ^
1071 2 |
1072 3 | interface LanguageTranslationRepository {
1073 4 |
1074
1075
1076error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/common/data-access/MessagesRepository.ts:1:42:
1077> 1 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
1078 | ^
1079 2 |
1080 3 | interface MessagesRepository {
1081 4 | getMessagesInLanguage( inLanguage: string ): Promise<MessageTranslationCollection>;
1082
1083
1084error: "@/common/UserPreference" is not found (node/no-missing-import) at src/common/data-access/UserPreferenceRepository.ts:1:32:
1085> 1 | import { UserPreference } from '@/common/UserPreference';
1086 | ^
1087 2 |
1088 3 | interface UserPreferenceRepository {
1089 4 | setPreference( preference: UserPreference, value: unknown ): Promise<void>;
1090
1091
1092error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/common/data-access/WritingEntityRepository.ts:1:35:
1093> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1094 | ^
1095 2 | import EntityRevision from '@/datamodel/EntityRevision';
1096 3 |
1097 4 | interface WritingEntityRepository {
1098
1099
1100error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/common/data-access/WritingEntityRepository.ts:2:28:
1101 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1102> 2 | import EntityRevision from '@/datamodel/EntityRevision';
1103 | ^
1104 3 |
1105 4 | interface WritingEntityRepository {
1106 5 |
1107
1108
1109error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/common/data-access/error/AxiosTechnicalProblem.ts:2:27:
1110 1 | import { AxiosError } from 'axios';
1111> 2 | import LoggableError from '@/common/error/LoggableError';
1112 | ^
1113 3 |
1114 4 | type AxiosErrorContext = {
1115 5 | message: string;
1116
1117
1118error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/EntityNotFound.ts:1:26:
1119> 1 | import ContextError from '@/common/error/ContextError';
1120 | ^
1121 2 |
1122 3 | export default class EntityNotFound extends ContextError {}
1123 4 |
1124
1125
1126error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/MessageNotFound.ts:1:26:
1127> 1 | import ContextError from '@/common/error/ContextError';
1128 | ^
1129 2 |
1130 3 | export default class MessageNotFound extends ContextError {}
1131 4 |
1132
1133
1134error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/TechnicalProblem.ts:1:26:
1135> 1 | import ContextError from '@/common/error/ContextError';
1136 | ^
1137 2 |
1138 3 | export default class TechnicalProblem extends ContextError {}
1139 4 |
1140
1141
1142error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/common/data-access/error/TranslationLanguageNotFound.ts:1:26:
1143> 1 | import ContextError from '@/common/error/ContextError';
1144 | ^
1145 2 |
1146 3 | export default class TranslationLanguageNotFound extends ContextError {}
1147 4 |
1148
1149
1150error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/common/error/ContextError.ts:1:27:
1151> 1 | import LoggableError from '@/common/error/LoggableError';
1152 | ^
1153 2 |
1154 3 | export default class ContextError extends Error implements LoggableError {
1155 4 | private context: object;
1156
1157
1158error: "@/common/exceptions/TypeException" is not found (node/no-missing-import) at src/common/exceptions/ParameterException.ts:1:27:
1159> 1 | import TypeException from '@/common/exceptions/TypeException';
1160 | ^
1161 2 |
1162 3 | export default class ParameterException extends TypeException {
1163 4 | public constructor( message?: string ) {
1164
1165
1166warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/common/getChildComponents.ts:5:1:
1167 3 | import Vue from 'vue';
1168 4 |
1169> 5 | /**
1170 | ^
1171 6 | * Get a uniquely identifying name for a component
1172 7 | * Using .name is tempting but it may get optimized away in production builds.
1173 8 | *
1174
1175
1176warning: Missing JSDoc @param "component" type (jsdoc/require-param-type) at src/common/getChildComponents.ts:
1177 7 | * Using .name is tempting but it may get optimized away in production builds.
1178 8 | *
1179> 9 | * @param component A vue class component
1180 | ^
1181 10 | */
1182 11 | function getComponentIdentifier( component: any ) {
1183 12 | return component.cid;
1184
1185
1186error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/common/getChildComponents.ts:38:9:
1187 36 | const rootClass = root.constructor;
1188 37 |
1189> 38 | return Object.values( getComponentsRecursively( rootClass ) );
1190 | ^
1191 39 | };
1192 40 |
1193
1194
1195error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Aliases.vue:21:22:
1196 19 | <script lang="ts">
1197 20 | import Component, { mixins } from 'vue-class-component';
1198> 21 | import { Term } from '@wmde/wikibase-datamodel-types';
1199 | ^
1200 22 | import Messages from '@/components/mixins/Messages';
1201 23 | import { Prop } from 'vue-property-decorator';
1202 24 |
1203
1204
1205error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Aliases.vue:22:22:
1206 20 | import Component, { mixins } from 'vue-class-component';
1207 21 | import { Term } from '@wmde/wikibase-datamodel-types';
1208> 22 | import Messages from '@/components/mixins/Messages';
1209 | ^
1210 23 | import { Prop } from 'vue-property-decorator';
1211 24 |
1212 25 | @Component
1213
1214
1215error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:24:27:
1216 22 | <script lang="ts">
1217 23 | import Component, { mixins } from 'vue-class-component';
1218> 24 | import { NS_ENTITY } from '@/store/namespaces';
1219 | ^
1220 25 | import Messages from '@/components/mixins/Messages';
1221 26 | import { Prop } from 'vue-property-decorator';
1222 27 | import { namespace } from 'vuex-class';
1223
1224
1225error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:25:22:
1226 23 | import Component, { mixins } from 'vue-class-component';
1227 24 | import { NS_ENTITY } from '@/store/namespaces';
1228> 25 | import Messages from '@/components/mixins/Messages';
1229 | ^
1230 26 | import { Prop } from 'vue-property-decorator';
1231 27 | import { namespace } from 'vuex-class';
1232 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1233
1234
1235error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:28:22:
1236 26 | import { Prop } from 'vue-property-decorator';
1237 27 | import { namespace } from 'vuex-class';
1238> 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1239 | ^
1240 29 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1241 30 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
1242 31 |
1243
1244
1245error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/AliasesEdit.vue:30:58:
1246 28 | import { Term } from '@wmde/wikibase-datamodel-types';
1247 29 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1248> 30 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
1249 | ^
1250 31 |
1251 32 | @Component( {
1252 33 | components: { ResizingTextField },
1253
1254
1255error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/AllEnteredLanguages.vue:14:40:
1256 12 | import Vue from 'vue';
1257 13 | import Component from 'vue-class-component';
1258> 14 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1259 | ^
1260 15 | import { NS_ENTITY, NS_USER } from '@/store/namespaces';
1261 16 | import { namespace } from 'vuex-class';
1262 17 |
1263
1264
1265error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AllEnteredLanguages.vue:15:36:
1266 13 | import Component from 'vue-class-component';
1267 14 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1268> 15 | import { NS_ENTITY, NS_USER } from '@/store/namespaces';
1269 | ^
1270 16 | import { namespace } from 'vuex-class';
1271 17 |
1272 18 | @Component( {
1273
1274
1275error: "./mixins/Messages" is not found (node/no-missing-import) at src/components/AllEnteredLanguagesExpandable.vue:30:22:
1276 28 | <script lang="ts">
1277 29 | import Component, { mixins } from 'vue-class-component';
1278> 30 | import Messages from './mixins/Messages';
1279 | ^
1280 31 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
1281 32 |
1282 33 | @Component( {
1283
1284
1285error: "@/components/AllEnteredLanguages.vue" is not found (node/no-missing-import) at src/components/AllEnteredLanguagesExpandable.vue:31:33:
1286 29 | import Component, { mixins } from 'vue-class-component';
1287 30 | import Messages from './mixins/Messages';
1288> 31 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
1289 | ^
1290 32 |
1291 33 | @Component( {
1292 34 | components: { AllEnteredLanguages },
1293
1294
1295error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:43:22:
1296 41 | <script lang="ts">
1297 42 | import Component, { mixins } from 'vue-class-component';
1298> 43 | import Messages from '@/components/mixins/Messages';
1299 | ^
1300 44 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1301 45 | import { namespace } from 'vuex-class';
1302 46 | import {
1303
1304
1305error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:44:33:
1306 42 | import Component, { mixins } from 'vue-class-component';
1307 43 | import Messages from '@/components/mixins/Messages';
1308> 44 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1309 | ^
1310 45 | import { namespace } from 'vuex-class';
1311 46 | import {
1312 47 | NS_LINKS,
1313
1314
1315error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:49:8:
1316 47 | NS_LINKS,
1317 48 | NS_USER,
1318> 49 | } from '@/store/namespaces';
1319 | ^
1320 50 | import Checkbox from '@/components/Checkbox.vue';
1321 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1322 52 | import { UserPreference } from '@/common/UserPreference';
1323
1324
1325error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:50:22:
1326 48 | NS_USER,
1327 49 | } from '@/store/namespaces';
1328> 50 | import Checkbox from '@/components/Checkbox.vue';
1329 | ^
1330 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1331 52 | import { UserPreference } from '@/common/UserPreference';
1332 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1333
1334
1335error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:51:37:
1336 49 | } from '@/store/namespaces';
1337 50 | import Checkbox from '@/components/Checkbox.vue';
1338> 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1339 | ^
1340 52 | import { UserPreference } from '@/common/UserPreference';
1341 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1342 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1343
1344
1345error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:52:32:
1346 50 | import Checkbox from '@/components/Checkbox.vue';
1347 51 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1348> 52 | import { UserPreference } from '@/common/UserPreference';
1349 | ^
1350 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1351 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1352 55 |
1353
1354
1355error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/AnonEditWarning.vue:54:28:
1356 52 | import { UserPreference } from '@/common/UserPreference';
1357 53 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1358> 54 | import IconMessageBox from '@/components/IconMessageBox.vue';
1359 | ^
1360 55 |
1361 56 | @Component( {
1362 57 | components: { IconMessageBox, Checkbox, EventEmittingButton },
1363
1364
1365error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/App.vue:12:59:
1366 10 | import TermBox from './TermBox.vue';
1367 11 | import { Store } from 'vuex';
1368> 12 | import { NS_ENTITY, NS_LANGUAGE, NS_LINKS, NS_USER } from '@/store/namespaces';
1369 | ^
1370 13 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
1371 14 | import {
1372 15 | LANGUAGE_PREFERENCE,
1373
1374
1375error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:13:29:
1376 11 | import { Store } from 'vuex';
1377 12 | import { NS_ENTITY, NS_LANGUAGE, NS_LINKS, NS_USER } from '@/store/namespaces';
1378> 13 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
1379 | ^
1380 14 | import {
1381 15 | LANGUAGE_PREFERENCE,
1382 16 | USER_NAME_SET,
1383
1384
1385error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:18:8:
1386 16 | USER_NAME_SET,
1387 17 | USER_PREFERENCES_INIT,
1388> 18 | } from '@/store/user/actionTypes';
1389 | ^
1390 19 | import TermboxRequest from '@/common/TermboxRequest';
1391 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1392 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1393
1394
1395error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/components/App.vue:19:28:
1396 17 | USER_PREFERENCES_INIT,
1397 18 | } from '@/store/user/actionTypes';
1398> 19 | import TermboxRequest from '@/common/TermboxRequest';
1399 | ^
1400 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1401 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1402 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1403
1404
1405error: "@/store/language/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:20:31:
1406 18 | } from '@/store/user/actionTypes';
1407 19 | import TermboxRequest from '@/common/TermboxRequest';
1408> 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1409 | ^
1410 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1411 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1412 23 | import { namespace } from 'vuex-class';
1413
1414
1415error: "@/store/links/actionTypes" is not found (node/no-missing-import) at src/components/App.vue:21:28:
1416 19 | import TermboxRequest from '@/common/TermboxRequest';
1417 20 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
1418> 21 | import { LINKS_INIT } from '@/store/links/actionTypes';
1419 | ^
1420 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1421 23 | import { namespace } from 'vuex-class';
1422 24 | import Root from '@/store/Root';
1423
1424
1425error: "@/store/Root" is not found (node/no-missing-import) at src/components/App.vue:24:18:
1426 22 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
1427 23 | import { namespace } from 'vuex-class';
1428> 24 | import Root from '@/store/Root';
1429 | ^
1430 25 |
1431 26 | @Component( {
1432 27 | components: {
1433
1434
1435error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Description.vue:19:22:
1436 17 | <script lang="ts">
1437 18 | import Component, { mixins } from 'vue-class-component';
1438> 19 | import Messages from '@/components/mixins/Messages';
1439 | ^
1440 20 | import { Term } from '@wmde/wikibase-datamodel-types';
1441 21 | import { Prop } from 'vue-property-decorator';
1442 22 |
1443
1444
1445error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Description.vue:20:22:
1446 18 | import Component, { mixins } from 'vue-class-component';
1447 19 | import Messages from '@/components/mixins/Messages';
1448> 20 | import { Term } from '@wmde/wikibase-datamodel-types';
1449 | ^
1450 21 | import { Prop } from 'vue-property-decorator';
1451 22 |
1452 23 | @Component
1453
1454
1455error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/DescriptionEdit.vue:14:22:
1456 12 | <script lang="ts">
1457 13 | import Component, { mixins } from 'vue-class-component';
1458> 14 | import Messages from '@/components/mixins/Messages';
1459 | ^
1460 15 | import { Prop } from 'vue-property-decorator';
1461 16 | import { Term } from '@wmde/wikibase-datamodel-types';
1462 17 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1463
1464
1465error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/DescriptionEdit.vue:16:22:
1466 14 | import Messages from '@/components/mixins/Messages';
1467 15 | import { Prop } from 'vue-property-decorator';
1468> 16 | import { Term } from '@wmde/wikibase-datamodel-types';
1469 | ^
1470 17 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1471 18 |
1472 19 | @Component( {
1473
1474
1475error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:17:40:
1476 15 | import Vue from 'vue';
1477 16 | import Component from 'vue-class-component';
1478> 17 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1479 | ^
1480 18 | import { namespace } from 'vuex-class';
1481 19 | import { NS_USER } from '@/store/namespaces';
1482 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1483
1484
1485error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:19:25:
1486 17 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1487 18 | import { namespace } from 'vuex-class';
1488> 19 | import { NS_USER } from '@/store/namespaces';
1489 | ^
1490 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1491 21 |
1492 22 | @Component( {
1493
1494
1495error: "@/components/AllEnteredLanguagesExpandable.vue" is not found (node/no-missing-import) at src/components/InMoreLanguages.vue:20:43:
1496 18 | import { namespace } from 'vuex-class';
1497 19 | import { NS_USER } from '@/store/namespaces';
1498> 20 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
1499 | ^
1500 21 |
1501 22 | @Component( {
1502 23 | components: { AllEnteredLanguagesExpandable, MonolingualFingerprintView },
1503
1504
1505error: "@/components/InMoreLanguages.vue" is not found (node/no-missing-import) at src/components/InMoreLanguagesExpandable.vue:21:29:
1506 19 | <script lang="ts">
1507 20 | import Component, { mixins } from 'vue-class-component';
1508> 21 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
1509 | ^
1510 22 | import Messages from '@/components/mixins/Messages';
1511 23 |
1512 24 | @Component( {
1513
1514
1515error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/InMoreLanguagesExpandable.vue:22:22:
1516 20 | import Component, { mixins } from 'vue-class-component';
1517 21 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
1518> 22 | import Messages from '@/components/mixins/Messages';
1519 | ^
1520 23 |
1521 24 | @Component( {
1522 25 | components: { InMoreLanguages },
1523
1524
1525error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/Label.vue:22:22:
1526 20 | <script lang="ts">
1527 21 | import Component, { mixins } from 'vue-class-component';
1528> 22 | import Messages from '@/components/mixins/Messages';
1529 | ^
1530 23 | import { Term } from '@wmde/wikibase-datamodel-types';
1531 24 | import { Prop } from 'vue-property-decorator';
1532 25 |
1533
1534
1535error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/Label.vue:23:22:
1536 21 | import Component, { mixins } from 'vue-class-component';
1537 22 | import Messages from '@/components/mixins/Messages';
1538> 23 | import { Term } from '@wmde/wikibase-datamodel-types';
1539 | ^
1540 24 | import { Prop } from 'vue-property-decorator';
1541 25 |
1542 26 | @Component
1543
1544
1545error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/LabelEdit.vue:17:22:
1546 15 | <script lang="ts">
1547 16 | import Component, { mixins } from 'vue-class-component';
1548> 17 | import Messages from '@/components/mixins/Messages';
1549 | ^
1550 18 | import { Prop } from 'vue-property-decorator';
1551 19 | import { Term } from '@wmde/wikibase-datamodel-types';
1552 20 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1553
1554
1555error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/LabelEdit.vue:19:22:
1556 17 | import Messages from '@/components/mixins/Messages';
1557 18 | import { Prop } from 'vue-property-decorator';
1558> 19 | import { Term } from '@wmde/wikibase-datamodel-types';
1559 | ^
1560 20 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
1561 21 |
1562 22 | @Component( {
1563
1564
1565error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:31:22:
1566 29 | <script lang="ts">
1567 30 | import Component, { mixins } from 'vue-class-component';
1568> 31 | import Messages from '@/components/mixins/Messages';
1569 | ^
1570 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1571 33 | import Checkbox from '@/components/Checkbox.vue';
1572 34 | import { namespace } from 'vuex-class';
1573
1574
1575error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:32:33:
1576 30 | import Component, { mixins } from 'vue-class-component';
1577 31 | import Messages from '@/components/mixins/Messages';
1578> 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1579 | ^
1580 33 | import Checkbox from '@/components/Checkbox.vue';
1581 34 | import { namespace } from 'vuex-class';
1582 35 | import { NS_USER } from '@/store/namespaces';
1583
1584
1585error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:33:22:
1586 31 | import Messages from '@/components/mixins/Messages';
1587 32 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1588> 33 | import Checkbox from '@/components/Checkbox.vue';
1589 | ^
1590 34 | import { namespace } from 'vuex-class';
1591 35 | import { NS_USER } from '@/store/namespaces';
1592 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1593
1594
1595error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:35:25:
1596 33 | import Checkbox from '@/components/Checkbox.vue';
1597 34 | import { namespace } from 'vuex-class';
1598> 35 | import { NS_USER } from '@/store/namespaces';
1599 | ^
1600 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1601 37 | import { UserPreference } from '@/common/UserPreference';
1602 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1603
1604
1605error: "@/store/user/actionTypes" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:36:37:
1606 34 | import { namespace } from 'vuex-class';
1607 35 | import { NS_USER } from '@/store/namespaces';
1608> 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1609 | ^
1610 37 | import { UserPreference } from '@/common/UserPreference';
1611 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1612 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1613
1614
1615error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:37:32:
1616 35 | import { NS_USER } from '@/store/namespaces';
1617 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1618> 37 | import { UserPreference } from '@/common/UserPreference';
1619 | ^
1620 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1621 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1622 40 |
1623
1624
1625error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:38:31:
1626 36 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
1627 37 | import { UserPreference } from '@/common/UserPreference';
1628> 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1629 | ^
1630 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1631 40 |
1632 41 | @Component( {
1633
1634
1635error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/LicenseAgreement.vue:39:28:
1636 37 | import { UserPreference } from '@/common/UserPreference';
1637 38 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1638> 39 | import IconMessageBox from '@/components/IconMessageBox.vue';
1639 | ^
1640 40 |
1641 41 | @Component( {
1642 42 | components: { IconMessageBox, Checkbox, EventEmittingButton },
1643
1644
1645error: "./mixins/Messages" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:44:22:
1646 42 | <script lang="ts">
1647 43 | import Component, { mixins } from 'vue-class-component';
1648> 44 | import Messages from './mixins/Messages';
1649 | ^
1650 45 | import {
1651 46 | mapState,
1652 47 | mapGetters,
1653
1654
1655error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:49:40:
1656 47 | mapGetters,
1657 48 | } from 'vuex';
1658> 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1659 | ^
1660 50 | import Label from '@/components/Label.vue';
1661 51 | import LabelEdit from '@/components/LabelEdit.vue';
1662 52 | import Description from '@/components/Description.vue';
1663
1664
1665error: "@/components/Label.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:50:19:
1666 48 | } from 'vuex';
1667 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1668> 50 | import Label from '@/components/Label.vue';
1669 | ^
1670 51 | import LabelEdit from '@/components/LabelEdit.vue';
1671 52 | import Description from '@/components/Description.vue';
1672 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1673
1674
1675error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:51:23:
1676 49 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
1677 50 | import Label from '@/components/Label.vue';
1678> 51 | import LabelEdit from '@/components/LabelEdit.vue';
1679 | ^
1680 52 | import Description from '@/components/Description.vue';
1681 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1682 54 | import Aliases from '@/components/Aliases.vue';
1683
1684
1685error: "@/components/Description.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:52:25:
1686 50 | import Label from '@/components/Label.vue';
1687 51 | import LabelEdit from '@/components/LabelEdit.vue';
1688> 52 | import Description from '@/components/Description.vue';
1689 | ^
1690 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1691 54 | import Aliases from '@/components/Aliases.vue';
1692 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1693
1694
1695error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:53:29:
1696 51 | import LabelEdit from '@/components/LabelEdit.vue';
1697 52 | import Description from '@/components/Description.vue';
1698> 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1699 | ^
1700 54 | import Aliases from '@/components/Aliases.vue';
1701 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1702 56 | import { Prop } from 'vue-property-decorator';
1703
1704
1705error: "@/components/Aliases.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:54:21:
1706 52 | import Description from '@/components/Description.vue';
1707 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1708> 54 | import Aliases from '@/components/Aliases.vue';
1709 | ^
1710 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1711 56 | import { Prop } from 'vue-property-decorator';
1712 57 | import { namespace } from 'vuex-class';
1713
1714
1715error: "@/components/AliasesEdit.vue" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:55:25:
1716 53 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
1717 54 | import Aliases from '@/components/Aliases.vue';
1718> 55 | import AliasesEdit from '@/components/AliasesEdit.vue';
1719 | ^
1720 56 | import { Prop } from 'vue-property-decorator';
1721 57 | import { namespace } from 'vuex-class';
1722 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1723
1724
1725error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:58:60:
1726 56 | import { Prop } from 'vue-property-decorator';
1727 57 | import { namespace } from 'vuex-class';
1728> 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1729 | ^
1730 59 | import { Term } from '@wmde/wikibase-datamodel-types';
1731 60 |
1732 61 | @Component( {
1733
1734
1735error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/components/MonolingualFingerprintView.vue:59:22:
1736 57 | import { namespace } from 'vuex-class';
1737 58 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
1738> 59 | import { Term } from '@wmde/wikibase-datamodel-types';
1739 | ^
1740 60 |
1741 61 | @Component( {
1742 62 | components: {
1743
1744
1745error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/TermBox.vue:75:8:
1746 73 | NS_LINKS,
1747 74 | NS_USER,
1748> 75 | } from '@/store/namespaces';
1749 | ^
1750 76 | import EditTools from '@/components/EditTools.vue';
1751 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1752 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1753
1754
1755error: "@/components/EditTools.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:76:23:
1756 74 | NS_USER,
1757 75 | } from '@/store/namespaces';
1758> 76 | import EditTools from '@/components/EditTools.vue';
1759 | ^
1760 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1761 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1762 79 | import { Action, namespace } from 'vuex-class';
1763
1764
1765error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:77:40:
1766 75 | } from '@/store/namespaces';
1767 76 | import EditTools from '@/components/EditTools.vue';
1768> 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1769 | ^
1770 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1771 79 | import { Action, namespace } from 'vuex-class';
1772 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1773
1774
1775error: "@/components/InMoreLanguagesExpandable.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:78:39:
1776 76 | import EditTools from '@/components/EditTools.vue';
1777 77 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
1778> 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1779 | ^
1780 79 | import { Action, namespace } from 'vuex-class';
1781 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1782 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1783
1784
1785error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/components/TermBox.vue:80:46:
1786 78 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
1787 79 | import { Action, namespace } from 'vuex-class';
1788> 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1789 | ^
1790 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1791 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1792 83 | import Messages from '@/components/mixins/Messages';
1793
1794
1795error: "@/store/actionTypes" is not found (node/no-missing-import) at src/components/TermBox.vue:81:56:
1796 79 | import { Action, namespace } from 'vuex-class';
1797 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1798> 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1799 | ^
1800 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1801 83 | import Messages from '@/components/mixins/Messages';
1802 84 | import Modal from '@/components/Modal.vue';
1803
1804
1805error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:82:33:
1806 80 | import { ENTITY_SAVE, ENTITY_ROLLBACK } from '@/store/entity/actionTypes';
1807 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1808> 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1809 | ^
1810 83 | import Messages from '@/components/mixins/Messages';
1811 84 | import Modal from '@/components/Modal.vue';
1812 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1813
1814
1815error: "@/components/mixins/Messages" is not found (node/no-missing-import) at src/components/TermBox.vue:83:22:
1816 81 | import { EDITMODE_ACTIVATE, EDITMODE_DEACTIVATE } from '@/store/actionTypes';
1817 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1818> 83 | import Messages from '@/components/mixins/Messages';
1819 | ^
1820 84 | import Modal from '@/components/Modal.vue';
1821 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1822 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1823
1824
1825error: "@/components/Modal.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:84:19:
1826 82 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
1827 83 | import Messages from '@/components/mixins/Messages';
1828> 84 | import Modal from '@/components/Modal.vue';
1829 | ^
1830 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1831 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1832 87 | import { UserPreference } from '@/common/UserPreference';
1833
1834
1835error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:85:29:
1836 83 | import Messages from '@/components/mixins/Messages';
1837 84 | import Modal from '@/components/Modal.vue';
1838> 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1839 | ^
1840 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1841 87 | import { UserPreference } from '@/common/UserPreference';
1842 88 | import User from '@/store/user/User';
1843
1844
1845error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:86:30:
1846 84 | import Modal from '@/components/Modal.vue';
1847 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1848> 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1849 | ^
1850 87 | import { UserPreference } from '@/common/UserPreference';
1851 88 | import User from '@/store/user/User';
1852 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1853
1854
1855error: "@/common/UserPreference" is not found (node/no-missing-import) at src/components/TermBox.vue:87:32:
1856 85 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
1857 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1858> 87 | import { UserPreference } from '@/common/UserPreference';
1859 | ^
1860 88 | import User from '@/store/user/User';
1861 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1862 90 | import Overlay from '@/components/Overlay.vue';
1863
1864
1865error: "@/store/user/User" is not found (node/no-missing-import) at src/components/TermBox.vue:88:18:
1866 86 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
1867 87 | import { UserPreference } from '@/common/UserPreference';
1868> 88 | import User from '@/store/user/User';
1869 | ^
1870 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1871 90 | import Overlay from '@/components/Overlay.vue';
1872 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1873
1874
1875error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/components/TermBox.vue:89:31:
1876 87 | import { UserPreference } from '@/common/UserPreference';
1877 88 | import User from '@/store/user/User';
1878> 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1879 | ^
1880 90 | import Overlay from '@/components/Overlay.vue';
1881 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1882 92 | import MessageBanner from '@/components/MessageBanner.vue';
1883
1884
1885error: "@/components/Overlay.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:90:21:
1886 88 | import User from '@/store/user/User';
1887 89 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
1888> 90 | import Overlay from '@/components/Overlay.vue';
1889 | ^
1890 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1891 92 | import MessageBanner from '@/components/MessageBanner.vue';
1892 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1893
1894
1895error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:92:27:
1896 90 | import Overlay from '@/components/Overlay.vue';
1897 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1898> 92 | import MessageBanner from '@/components/MessageBanner.vue';
1899 | ^
1900 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1901 94 |
1902 95 | @Component( {
1903
1904
1905error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at src/components/TermBox.vue:93:28:
1906 91 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
1907 92 | import MessageBanner from '@/components/MessageBanner.vue';
1908> 93 | import IconMessageBox from '@/components/IconMessageBox.vue';
1909 | ^
1910 94 |
1911 95 | @Component( {
1912 96 | components: {
1913
1914
1915error: "@/common/MessageKey" is not found (node/no-missing-import) at src/components/mixins/Messages.ts:3:28:
1916 1 | import Vue from 'vue';
1917 2 | import Component from 'vue-class-component';
1918> 3 | import { MessageKey } from '@/common/MessageKey';
1919 | ^
1920 4 | import { NS_MESSAGES, NS_USER } from '@/store/namespaces';
1921 5 | import { namespace } from 'vuex-class';
1922 6 |
1923
1924
1925error: "@/store/namespaces" is not found (node/no-missing-import) at src/components/mixins/Messages.ts:4:38:
1926 2 | import Component from 'vue-class-component';
1927 3 | import { MessageKey } from '@/common/MessageKey';
1928> 4 | import { NS_MESSAGES, NS_USER } from '@/store/namespaces';
1929 | ^
1930 5 | import { namespace } from 'vuex-class';
1931 6 |
1932 7 | @Component
1933
1934
1935error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/datamodel/EntityRevision.ts:1:35:
1936> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
1937 | ^
1938 2 |
1939 3 | export default class EntityRevision {
1940 4 | public readonly entity: FingerprintableEntity;
1941
1942
1943error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/datamodel/FingerprintableEntity.ts:1:39:
1944> 1 | import { AliasesList, TermList } from '@wmde/wikibase-datamodel-types';
1945 | ^
1946 2 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
1947 3 |
1948 4 | export default class FingerprintableEntity implements Fingerprintable {
1949
1950
1951error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/datamodel/FingerprintableEntity.ts:2:33:
1952 1 | import { AliasesList, TermList } from '@wmde/wikibase-datamodel-types';
1953> 2 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
1954 | ^
1955 3 |
1956 4 | export default class FingerprintableEntity implements Fingerprintable {
1957 5 | public readonly id: string;
1958
1959
1960error: "./Language" is not found (node/no-missing-import) at src/datamodel/LanguageCollection.ts:1:22:
1961> 1 | import Language from './Language';
1962 | ^
1963 2 |
1964 3 | interface LanguageCollection {
1965 4 | [code: string]: Language;
1966
1967
1968error: "@/common/MessageKey" is not found (node/no-missing-import) at src/datamodel/MessageCollection.ts:1:28:
1969> 1 | import { MessageKey } from '@/common/MessageKey';
1970 | ^
1971 2 |
1972 3 | type MessageCollection = {
1973 4 | [ key in MessageKey ]?: string;
1974
1975
1976error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/datamodel/MessageTranslationCollection.ts:1:31:
1977> 1 | import MessageCollection from '@/datamodel/MessageCollection';
1978 | ^
1979 2 |
1980 3 | interface MessageTranslationCollection {
1981 4 | [ languageCode: string ]: MessageCollection;
1982
1983
1984error: "@/mock-data/MwConfig" is not found (node/no-missing-import) at src/dev-entry.ts:1:22:
1985> 1 | import MWConfig from '@/mock-data/MwConfig';
1986 | ^
1987 2 | import entity from './mock-data/data/Q64_data.json';
1988 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
1989 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
1990
1991
1992error: "@/mock-data/data/en_lang_dir_data.json" is not found (node/no-missing-import) at src/dev-entry.ts:3:30:
1993 1 | import MWConfig from '@/mock-data/MwConfig';
1994 2 | import entity from './mock-data/data/Q64_data.json';
1995> 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
1996 | ^
1997 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
1998 5 | import MwWindow from '@/client/mediawiki/MwWindow';
1999 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2000
2001
2002error: "@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler" is not found (node/no-missing-import) at src/dev-entry.ts:4:56:
2003 2 | import entity from './mock-data/data/Q64_data.json';
2004 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
2005> 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2006 | ^
2007 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2008 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2009 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2010
2011
2012error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/dev-entry.ts:5:22:
2013 3 | import directionalities from '@/mock-data/data/en_lang_dir_data.json';
2014 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2015> 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2016 | ^
2017 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2018 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2019 8 | import { message } from './mock-data/MockMwMessages';
2020
2021
2022error: "./mock-data/getOrEnforceUrlParameter" is not found (node/no-missing-import) at src/dev-entry.ts:6:38:
2023 4 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
2024 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2025> 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2026 | ^
2027 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2028 8 | import { message } from './mock-data/MockMwMessages';
2029 9 |
2030
2031
2032error: "@/mock-data/MockWikibaseContentLanguages" is not found (node/no-missing-import) at src/dev-entry.ts:7:44:
2033 5 | import MwWindow from '@/client/mediawiki/MwWindow';
2034 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2035> 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2036 | ^
2037 8 | import { message } from './mock-data/MockMwMessages';
2038 9 |
2039 10 | const language = getOrEnforceUrlParameter( 'language', 'de' );
2040
2041
2042error: "./mock-data/MockMwMessages" is not found (node/no-missing-import) at src/dev-entry.ts:8:25:
2043 6 | import getOrEnforceUrlParameter from './mock-data/getOrEnforceUrlParameter';
2044 7 | import MockupWikibaseContentLanguages from '@/mock-data/MockWikibaseContentLanguages';
2045> 8 | import { message } from './mock-data/MockMwMessages';
2046 | ^
2047 9 |
2048 10 | const language = getOrEnforceUrlParameter( 'language', 'de' );
2049 11 | const preferredLanguages = getOrEnforceUrlParameter(
2050
2051
2052error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at src/mock-data/MockMwMessages.ts:2:27:
2053 1 | import * as messages from './data/de_messages_data.json';
2054> 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
2055 | ^
2056 3 |
2057 4 | export function message( key: string ): MwMessage {
2058 5 | return {
2059
2060
2061error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/mock-data/MockWikibaseContentLanguages.ts:1:28:
2062> 1 | import { StringTMap } from '@/datamodel/LanguageTranslations';
2063 | ^
2064 2 | import languageMap from '@/mock-data/data/en_lang_data.json';
2065 3 |
2066 4 | export default class MockWikibaseContentLanguages {
2067
2068
2069error: "@/mock-data/data/en_lang_data.json" is not found (node/no-missing-import) at src/mock-data/MockWikibaseContentLanguages.ts:2:25:
2070 1 | import { StringTMap } from '@/datamodel/LanguageTranslations';
2071> 2 | import languageMap from '@/mock-data/data/en_lang_data.json';
2072 | ^
2073 3 |
2074 4 | export default class MockWikibaseContentLanguages {
2075 5 | public getAllPairs(): StringTMap<string> {
2076
2077
2078warning: Missing JSDoc @return declaration (jsdoc/require-returns) at src/mock-data/getOrEnforceUrlParameter.ts:3:1:
2079 1 | import 'url-search-params-polyfill';
2080 2 |
2081> 3 | /**
2082 | ^
2083 4 | * Get the value of the current (i.e. in browser) URL's GET param
2084 5 | * or redirect to the given default value if not present
2085 6 | *
2086
2087
2088warning: Missing JSDoc @param "name" type (jsdoc/require-param-type) at src/mock-data/getOrEnforceUrlParameter.ts:
2089 5 | * or redirect to the given default value if not present
2090 6 | *
2091> 7 | * @param name string
2092 | ^
2093 8 | * @param defaultValue string
2094 9 | */
2095 10 | export default function ( name: string, defaultValue: string ): string {
2096
2097
2098warning: Missing JSDoc @param "defaultValue" type (jsdoc/require-param-type) at src/mock-data/getOrEnforceUrlParameter.ts:
2099 6 | *
2100 7 | * @param name string
2101> 8 | * @param defaultValue string
2102 | ^
2103 9 | */
2104 10 | export default function ( name: string, defaultValue: string ): string {
2105 11 | const searchParams = new URLSearchParams( location.search );
2106
2107
2108error: The 'URLSearchParams' is not supported until Node.js 10.0.0. The configured version range is '>=8.0.0' (node/no-unsupported-features/node-builtins) at src/mock-data/getOrEnforceUrlParameter.ts:11:27:
2109 9 | */
2110 10 | export default function ( name: string, defaultValue: string ): string {
2111> 11 | const searchParams = new URLSearchParams( location.search );
2112 | ^
2113 12 | const value = searchParams.get( name );
2114 13 | if ( value === null || value.trim() === '' ) {
2115 14 | searchParams.set( name, defaultValue );
2116
2117
2118error: "./Logger" is not found (node/no-missing-import) at src/server/ServiceRunnerOptions.ts:1:20:
2119> 1 | import Logger from './Logger';
2120 | ^
2121 2 | import Metrics from './Metrics';
2122 3 |
2123 4 | export interface Config {
2124
2125
2126error: "./Metrics" is not found (node/no-missing-import) at src/server/ServiceRunnerOptions.ts:2:21:
2127 1 | import Logger from './Logger';
2128> 2 | import Metrics from './Metrics';
2129 | ^
2130 3 |
2131 4 | export interface Config {
2132 5 | WIKIBASE_REPO: string;
2133
2134
2135error: "./route-handler/termbox/TermboxHandler" is not found (node/no-missing-import) at src/server/app.ts:6:28:
2136 4 | import responseTime from 'response-time';
2137 5 | import { createBundleRenderer } from 'vue-server-renderer';
2138> 6 | import TermboxHandler from './route-handler/termbox/TermboxHandler';
2139 | ^
2140 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2141 8 | import HttpStatus from 'http-status-codes';
2142 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2143
2144
2145error: "./route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at src/server/app.ts:7:28:
2146 5 | import { createBundleRenderer } from 'vue-server-renderer';
2147 6 | import TermboxHandler from './route-handler/termbox/TermboxHandler';
2148> 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2149 | ^
2150 8 | import HttpStatus from 'http-status-codes';
2151 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2152 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2153
2154
2155error: "./exceptions/BundleBoundaryPassingException" is not found (node/no-missing-import) at src/server/app.ts:9:61:
2156 7 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2157 8 | import HttpStatus from 'http-status-codes';
2158> 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2159 | ^
2160 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2161 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2162 12 | import inlanguage from './directives/inlanguage';
2163
2164
2165error: "./bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at src/server/app.ts:10:36:
2166 8 | import HttpStatus from 'http-status-codes';
2167 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2168> 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2169 | ^
2170 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2171 12 | import inlanguage from './directives/inlanguage';
2172 13 | import packageInfo from '@/../package.json';
2173
2174
2175error: "./bundle-renderer/BundleRendererContextBuilder" is not found (node/no-missing-import) at src/server/app.ts:11:42:
2176 9 | import BundleBoundaryPassingException, { ErrorReason } from './exceptions/BundleBoundaryPassingException';
2177 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2178> 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2179 | ^
2180 12 | import inlanguage from './directives/inlanguage';
2181 13 | import packageInfo from '@/../package.json';
2182 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2183
2184
2185error: "./directives/inlanguage" is not found (node/no-missing-import) at src/server/app.ts:12:24:
2186 10 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2187 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2188> 12 | import inlanguage from './directives/inlanguage';
2189 | ^
2190 13 | import packageInfo from '@/../package.json';
2191 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2192 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2193
2194
2195error: "@/../package.json" is not found (node/no-missing-import) at src/server/app.ts:13:25:
2196 11 | import BundleRendererContextBuilder from './bundle-renderer/BundleRendererContextBuilder';
2197 12 | import inlanguage from './directives/inlanguage';
2198> 13 | import packageInfo from '@/../package.json';
2199 | ^
2200 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2201 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2202 16 | import LoggableError from '@/common/error/LoggableError';
2203
2204
2205error: "./route-handler/_info/InfoHandler" is not found (node/no-missing-import) at src/server/app.ts:14:25:
2206 12 | import inlanguage from './directives/inlanguage';
2207 13 | import packageInfo from '@/../package.json';
2208> 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2209 | ^
2210 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2211 16 | import LoggableError from '@/common/error/LoggableError';
2212 17 |
2213
2214
2215error: "./reportResponseTimeMetrics" is not found (node/no-missing-import) at src/server/app.ts:15:39:
2216 13 | import packageInfo from '@/../package.json';
2217 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2218> 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2219 | ^
2220 16 | import LoggableError from '@/common/error/LoggableError';
2221 17 |
2222 18 | function buildErrorContextWithUrl( error: LoggableError, request: Request ): object {
2223
2224
2225error: "@/common/error/LoggableError" is not found (node/no-missing-import) at src/server/app.ts:16:27:
2226 14 | import InfoHandler from './route-handler/_info/InfoHandler';
2227 15 | import reportResponseTimeMetrics from './reportResponseTimeMetrics';
2228> 16 | import LoggableError from '@/common/error/LoggableError';
2229 | ^
2230 17 |
2231 18 | function buildErrorContextWithUrl( error: LoggableError, request: Request ): object {
2232 19 | return {
2233
2234
2235error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:1:24:
2236> 1 | import { Config } from './ServiceRunnerOptions';
2237 | ^
2238 2 | import Logger from './Logger';
2239 3 | import {
2240 4 | DEFAULT_LANGUAGES_CACHE_MAX_AGE,
2241
2242
2243error: "./Logger" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:2:20:
2244 1 | import { Config } from './ServiceRunnerOptions';
2245> 2 | import Logger from './Logger';
2246 | ^
2247 3 | import {
2248 4 | DEFAULT_LANGUAGES_CACHE_MAX_AGE,
2249 5 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
2250
2251
2252error: "@/common/constants" is not found (node/no-missing-import) at src/server/assertAndGetConfig.ts:7:8:
2253 5 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
2254 6 | DEFAULT_REQUEST_TIMEOUT,
2255> 7 | } from '@/common/constants';
2256 | ^
2257 8 | import Joi from '@hapi/joi';
2258 9 |
2259 10 | export default function ( processEnv: NodeJS.ProcessEnv, logger: Logger ): Config {
2260
2261
2262error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/assertAndGetConfig.ts:31:3:
2263 29 | if ( error ) {
2264 30 | logger.log( 'fatal/service', `Failed parsing env vars: ${error.toString()}` );
2265> 31 | process.exit( 1 );
2266 | ^
2267 32 | }
2268 33 |
2269 34 | logger.log( 'info/service', `Set config to: ${JSON.stringify( config )}` );
2270
2271
2272error: "@/common/constants" is not found (node/no-missing-import) at src/server/axios/axiosFactory.ts:2:39:
2273 1 | import axios, { AxiosInstance } from 'axios';
2274> 2 | import { GLOBAL_REQUEST_PARAMS } from '@/common/constants';
2275 | ^
2276 3 | import { URL } from 'url';
2277 4 |
2278 5 | export default function axiosFactory(
2279
2280
2281error: "../metadata/PackageInfo" is not found (node/no-missing-import) at src/server/axios/getMwUserAgentString.ts:1:25:
2282> 1 | import PackageInfo from '../metadata/PackageInfo';
2283 | ^
2284 2 |
2285 3 | export default function ( info: Required<PackageInfo> ): string {
2286 4 | const appInformation = `${info.name}/${info.version}`;
2287
2288
2289error: "@/../openapi.json" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:1:25:
2290> 1 | import openApiJson from '@/../openapi.json';
2291 | ^
2292 2 | import qs from 'querystring';
2293 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2294 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2295
2296
2297error: "./route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:3:36:
2298 1 | import openApiJson from '@/../openapi.json';
2299 2 | import qs from 'querystring';
2300> 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2301 | ^
2302 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2303 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2304 6 |
2305
2306
2307error: "./route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:4:28:
2308 2 | import qs from 'querystring';
2309 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2310> 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2311 | ^
2312 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2313 6 |
2314 7 | export default function buildOpenApiSpec(
2315
2316
2317error: "@/types/server/ServiceCheckerEnabledOpenApiV3" is not found (node/no-missing-import) at src/server/buildOpenApiSpec.ts:5:26:
2318 3 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2319 4 | import InvalidRequest from './route-handler/termbox/error/InvalidRequest';
2320> 5 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2321 | ^
2322 6 |
2323 7 | export default function buildOpenApiSpec(
2324 8 | healthCheckQuery: string|null,
2325
2326
2327error: "./BundleRendererServices" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContext.ts:1:36:
2328> 1 | import BundleRendererServices from './BundleRendererServices';
2329 | ^
2330 2 | import TermboxRequest from '@/common/TermboxRequest';
2331 3 |
2332 4 | export default class BundleRendererContext {
2333
2334
2335error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContext.ts:2:28:
2336 1 | import BundleRendererServices from './BundleRendererServices';
2337> 2 | import TermboxRequest from '@/common/TermboxRequest';
2338 | ^
2339 3 |
2340 4 | export default class BundleRendererContext {
2341 5 | public readonly services: BundleRendererServices;
2342
2343
2344error: "./BundleRendererServices" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:1:36:
2345> 1 | import BundleRendererServices from './BundleRendererServices';
2346 | ^
2347 2 | import BundleRendererContext from './BundleRendererContext';
2348 3 | import TermboxRequest from '@/common/TermboxRequest';
2349 4 |
2350
2351
2352error: "./BundleRendererContext" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:2:35:
2353 1 | import BundleRendererServices from './BundleRendererServices';
2354> 2 | import BundleRendererContext from './BundleRendererContext';
2355 | ^
2356 3 | import TermboxRequest from '@/common/TermboxRequest';
2357 4 |
2358 5 | export default class BundleRendererContextBuilder {
2359
2360
2361error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererContextBuilder.ts:3:28:
2362 1 | import BundleRendererServices from './BundleRendererServices';
2363 2 | import BundleRendererContext from './BundleRendererContext';
2364> 3 | import TermboxRequest from '@/common/TermboxRequest';
2365 | ^
2366 4 |
2367 5 | export default class BundleRendererContextBuilder {
2368 6 | private readonly services: BundleRendererServices;
2369
2370
2371error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:3:42:
2372 1 | import { AxiosInstance } from 'axios';
2373 2 | import LRUCache from 'lru-cache';
2374> 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2375 | ^
2376 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2377 5 | import Logger from '@/server/Logger';
2378 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2379
2380
2381error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:4:45:
2382 2 | import LRUCache from 'lru-cache';
2383 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2384> 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2385 | ^
2386 5 | import Logger from '@/server/Logger';
2387 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2388 7 | import Metrics from '@/server/Metrics';
2389
2390
2391error: "@/server/Logger" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:5:20:
2392 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2393 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2394> 5 | import Logger from '@/server/Logger';
2395 | ^
2396 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2397 7 | import Metrics from '@/server/Metrics';
2398 8 |
2399
2400
2401error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:6:36:
2402 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
2403 5 | import Logger from '@/server/Logger';
2404> 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2405 | ^
2406 7 | import Metrics from '@/server/Metrics';
2407 8 |
2408 9 | export default class BundleRendererServices {
2409
2410
2411error: "@/server/Metrics" is not found (node/no-missing-import) at src/server/bundle-renderer/BundleRendererServices.ts:7:21:
2412 5 | import Logger from '@/server/Logger';
2413 6 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
2414> 7 | import Metrics from '@/server/Metrics';
2415 | ^
2416 8 |
2417 9 | export default class BundleRendererServices {
2418 10 | public readonly axios: AxiosInstance;
2419
2420
2421error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:1:30:
2422> 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2423 | ^
2424 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2425 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2426 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2427
2428
2429error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:2:30:
2430 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2431> 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2432 | ^
2433 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2434 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2435 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2436
2437
2438error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:3:28:
2439 1 | import EntityRepository from '@/common/data-access/EntityRepository';
2440 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2441> 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2442 | ^
2443 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2444 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2445 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2446
2447
2448error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:4:35:
2449 2 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2450 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2451> 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2452 | ^
2453 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2454 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2455 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2456
2457
2458error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:5:40:
2459 3 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2460 4 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
2461> 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2462 | ^
2463 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2464 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2465 8 | import HttpStatus from 'http-status-codes';
2466
2467
2468error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:7:40:
2469 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
2470 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2471> 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2472 | ^
2473 8 | import HttpStatus from 'http-status-codes';
2474 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2475 10 |
2476
2477
2478error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosSpecialPageEntityRepo.ts:9:35:
2479 7 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
2480 8 | import HttpStatus from 'http-status-codes';
2481> 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2482 | ^
2483 10 |
2484 11 | export default class AxiosSpecialPageEntityRepo implements EntityRepository {
2485 12 | public static readonly SPECIAL_PAGE = 'Special:EntityData';
2486
2487
2488error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:1:30:
2489> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2490 | ^
2491 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2492 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2493 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2494
2495
2496error: "@/common/data-access/error/TranslationLanguageNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:2:41:
2497 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2498> 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2499 | ^
2500 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2501 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2502 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2503
2504
2505error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:4:75:
2506 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
2507 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2508> 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2509 | ^
2510 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2511 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2512 7 |
2513
2514
2515error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:5:38:
2516 3 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2517 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2518> 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2519 | ^
2520 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2521 7 |
2522 8 | export default class AxiosWikibaseContentLanguagesRepo implements WikibaseContentLanguagesRepo {
2523
2524
2525error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseContentLanguagesRepo.ts:6:35:
2526 4 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2527 5 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2528> 6 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2529 | ^
2530 7 |
2531 8 | export default class AxiosWikibaseContentLanguagesRepo implements WikibaseContentLanguagesRepo {
2532 9 | private axios: AxiosInstance;
2533
2534
2535error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:1:30:
2536> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2537 | ^
2538 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2539 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2540 4 | import MessageCollection from '@/datamodel/MessageCollection';
2541
2542
2543error: "@/common/data-access/error/MessageNotFound" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:2:29:
2544 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2545> 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2546 | ^
2547 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2548 4 | import MessageCollection from '@/datamodel/MessageCollection';
2549 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2550
2551
2552error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:3:42:
2553 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
2554 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2555> 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2556 | ^
2557 4 | import MessageCollection from '@/datamodel/MessageCollection';
2558 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2559 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2560
2561
2562error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:4:31:
2563 2 | import MessageNotFound from '@/common/data-access/error/MessageNotFound';
2564 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2565> 4 | import MessageCollection from '@/datamodel/MessageCollection';
2566 | ^
2567 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2568 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2569 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2570
2571
2572error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:5:32:
2573 3 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
2574 4 | import MessageCollection from '@/datamodel/MessageCollection';
2575> 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2576 | ^
2577 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2578 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2579 8 | import { MessageKey } from '@/common/MessageKey';
2580
2581
2582error: "@/common/constants" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:7:38:
2583 5 | import MessagesRepository from '@/common/data-access/MessagesRepository';
2584 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2585> 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2586 | ^
2587 8 | import { MessageKey } from '@/common/MessageKey';
2588 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2589 10 |
2590
2591
2592error: "@/common/MessageKey" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:8:28:
2593 6 | import { AxiosInstance, AxiosResponse, AxiosError } from 'axios';
2594 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2595> 8 | import { MessageKey } from '@/common/MessageKey';
2596 | ^
2597 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2598 10 |
2599 11 | interface ResponseMessageSuccess {
2600
2601
2602error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at src/server/data-access/AxiosWikibaseMessagesRepo.ts:9:35:
2603 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
2604 8 | import { MessageKey } from '@/common/MessageKey';
2605> 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
2606 | ^
2607 10 |
2608 11 | interface ResponseMessageSuccess {
2609 12 | name: MessageKey;
2610
2611
2612warning: Missing JSDoc @param "cache" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2613 12 |
2614 13 | /**
2615> 14 | * @param cache
2616 | ^
2617 15 | * @param instance - instance to bind the method to
2618 16 | * @param method - method to be decorated
2619 17 | */
2620
2621
2622warning: Missing JSDoc @param "instance" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2623 13 | /**
2624 14 | * @param cache
2625> 15 | * @param instance - instance to bind the method to
2626 | ^
2627 16 | * @param method - method to be decorated
2628 17 | */
2629 18 | public constructor(
2630
2631
2632warning: Missing JSDoc @param "method" type (jsdoc/require-param-type) at src/server/data-access/CachingMethodDecorator.ts:
2633 14 | * @param cache
2634 15 | * @param instance - instance to bind the method to
2635> 16 | * @param method - method to be decorated
2636 | ^
2637 17 | */
2638 18 | public constructor(
2639 19 | cache: LRUCache<string, V>,
2640
2641
2642error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:1:32:
2643> 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2644 | ^
2645 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2646 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2647 4 | import RtlDetectLib from 'rtl-detect';
2648
2649
2650error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:2:32:
2651 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2652> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2653 | ^
2654 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2655 4 | import RtlDetectLib from 'rtl-detect';
2656 5 |
2657
2658
2659error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageRepo.ts:3:42:
2660 1 | import LanguageRepository from '@/common/data-access/LanguageRepository';
2661 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
2662> 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2663 | ^
2664 4 | import RtlDetectLib from 'rtl-detect';
2665 5 |
2666 6 | export default class ContentLanguagesLanguageRepo implements LanguageRepository {
2667
2668
2669error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/server/data-access/ContentLanguagesLanguageRepo.ts:17:5:
2670 15 | .then( ( contentLanguages ) => {
2671 16 | const languages: LanguageCollection = {};
2672> 17 | Object.entries( contentLanguages ).forEach( ( [ languageCode, _language ] ) => {
2673 | ^
2674 18 | languages[ languageCode ] = {
2675 19 | code: languageCode,
2676 20 | // this does not do full justice to the directionality question
2677
2678
2679error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:1:43:
2680> 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2681 | ^
2682 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2683 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2684 4 |
2685
2686
2687error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:2:34:
2688 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2689> 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2690 | ^
2691 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2692 4 |
2693 5 | export default class ContentLanguagesLanguageTranslationRepo implements LanguageTranslationRepository {
2694
2695
2696error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:3:42:
2697 1 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
2698 2 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
2699> 3 | import WikibaseContentLanguagesRepo from './WikibaseContentLanguagesRepo';
2700 | ^
2701 4 |
2702 5 | export default class ContentLanguagesLanguageTranslationRepo implements LanguageTranslationRepository {
2703 6 | private languagesRepo: WikibaseContentLanguagesRepo;
2704
2705
2706error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/server/data-access/ContentLanguagesLanguageTranslationRepo.ts:16:5:
2707 14 | .then( ( contentLanguages ) => {
2708 15 | const translations: LanguageTranslations = { [ inLanguage ]: {} };
2709> 16 | Object.entries( contentLanguages ).forEach( ( [ languageCode, language ] ) => {
2710 | ^
2711 17 | translations[ inLanguage ][ languageCode ] = language.name;
2712 18 | } );
2713 19 |
2714
2715
2716error: "./WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.ts:1:75:
2717> 1 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages } from './WikibaseContentLanguagesRepo';
2718 | ^
2719 2 | import { Deferred } from 'ts-deferred';
2720 3 |
2721 4 | /**
2722
2723
2724error: "./server" is not found (node/no-missing-import) at src/server/dev-node-entrypoint.ts:1:20:
2725> 1 | import server from './server';
2726 | ^
2727 2 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2728 3 |
2729 4 | /* eslint-disable no-console */
2730
2731
2732error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/dev-node-entrypoint.ts:2:34:
2733 1 | import server from './server';
2734> 2 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2735 | ^
2736 3 |
2737 4 | /* eslint-disable no-console */
2738 5 | const options: ServiceRunnerOptions = {
2739
2740
2741error: "@/datamodel/Language" is not found (node/no-missing-import) at src/server/directives/inlanguage.ts:2:22:
2742 1 | import { VNode, VNodeDirective } from 'vue';
2743> 2 | import Language from '@/datamodel/Language';
2744 | ^
2745 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
2746 4 | import { NS_LANGUAGE } from '@/store/namespaces';
2747 5 |
2748
2749
2750error: "@/store/namespaces" is not found (node/no-missing-import) at src/server/directives/inlanguage.ts:4:29:
2751 2 | import Language from '@/datamodel/Language';
2752 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
2753> 4 | import { NS_LANGUAGE } from '@/store/namespaces';
2754 | ^
2755 5 |
2756 6 | export default function inlanguage( vnode: VNode, directiveMeta: VNodeDirective ): void {
2757 7 | if ( !directiveMeta.value ) {
2758
2759
2760error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/server/exceptions/BundleBoundaryPassingException.ts:1:26:
2761> 1 | import ContextError from '@/common/error/ContextError';
2762 | ^
2763 2 |
2764 3 | export enum ErrorReason {
2765 4 | EntityNotFound = 'EntityNotFound',
2766
2767
2768error: "./Metrics" is not found (node/no-missing-import) at src/server/reportResponseTimeMetrics.ts:2:21:
2769 1 | import express from 'express';
2770> 2 | import Metrics from './Metrics';
2771 | ^
2772 3 |
2773 4 | export default function reportResponseTimeMetrics( metrics: Metrics ) {
2774 5 | return ( request: express.Request, response: express.Response, time: number ) => {
2775
2776
2777error: "../../metadata/PackageInfo" is not found (node/no-missing-import) at src/server/route-handler/_info/InfoHandler.ts:2:25:
2778 1 | import { Request, Response, Router } from 'express';
2779> 2 | import PackageInfo from '../../metadata/PackageInfo';
2780 | ^
2781 3 |
2782 4 | export default function ( info: PackageInfo ): Router {
2783 5 | const router = Router();
2784
2785
2786error: "./error/InvalidRequest" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:1:28:
2787> 1 | import InvalidRequest from './error/InvalidRequest';
2788 | ^
2789 2 | import TermboxRequest from '@/common/TermboxRequest';
2790 3 | import { OpenAPI } from 'openapi-types';
2791 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2792
2793
2794error: "@/common/TermboxRequest" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:2:28:
2795 1 | import InvalidRequest from './error/InvalidRequest';
2796> 2 | import TermboxRequest from '@/common/TermboxRequest';
2797 | ^
2798 3 | import { OpenAPI } from 'openapi-types';
2799 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2800 5 |
2801
2802
2803error: "./CoercingQueryValidator" is not found (node/no-missing-import) at src/server/route-handler/termbox/TermboxHandler.ts:4:36:
2804 2 | import TermboxRequest from '@/common/TermboxRequest';
2805 3 | import { OpenAPI } from 'openapi-types';
2806> 4 | import CoercingQueryValidator from './CoercingQueryValidator';
2807 | ^
2808 5 |
2809 6 | export default class TermboxHandler {
2810 7 |
2811
2812
2813error: "@/common/error/ContextError" is not found (node/no-missing-import) at src/server/route-handler/termbox/error/InvalidRequest.ts:1:26:
2814> 1 | import ContextError from '@/common/error/ContextError';
2815 | ^
2816 2 | import { OpenAPIRequestValidatorError } from 'openapi-request-validator';
2817 3 |
2818 4 | export default class InvalidRequest extends ContextError {
2819
2820
2821error: "./app" is not found (node/no-missing-import) at src/server/server.ts:2:23:
2822 1 | import 'module-alias/register';
2823> 2 | import createApp from './app';
2824 | ^
2825 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2826 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2827 5 | import LRUCache from 'lru-cache';
2828
2829
2830error: "./bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at src/server/server.ts:3:36:
2831 1 | import 'module-alias/register';
2832 2 | import createApp from './app';
2833> 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2834 | ^
2835 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2836 5 | import LRUCache from 'lru-cache';
2837 6 | import openApiJson from '@/../openapi.json';
2838
2839
2840error: "./ServiceRunnerOptions" is not found (node/no-missing-import) at src/server/server.ts:4:34:
2841 2 | import createApp from './app';
2842 3 | import BundleRendererServices from './bundle-renderer/BundleRendererServices';
2843> 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2844 | ^
2845 5 | import LRUCache from 'lru-cache';
2846 6 | import openApiJson from '@/../openapi.json';
2847 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2848
2849
2850error: "@/../openapi.json" is not found (node/no-missing-import) at src/server/server.ts:6:25:
2851 4 | import ServiceRunnerOptions from './ServiceRunnerOptions';
2852 5 | import LRUCache from 'lru-cache';
2853> 6 | import openApiJson from '@/../openapi.json';
2854 | ^
2855 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2856 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2857 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2858
2859
2860error: "./route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at src/server/server.ts:7:36:
2861 5 | import LRUCache from 'lru-cache';
2862 6 | import openApiJson from '@/../openapi.json';
2863> 7 | import CoercingQueryValidator from './route-handler/termbox/CoercingQueryValidator';
2864 | ^
2865 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2866 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2867 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2868
2869
2870error: "./buildOpenApiSpec" is not found (node/no-missing-import) at src/server/server.ts:10:30:
2871 8 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
2872 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2873> 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2874 | ^
2875 11 | import assertAndGetConfig from './assertAndGetConfig';
2876 12 | import axiosFactory from './axios/axiosFactory';
2877 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2878
2879
2880error: "./assertAndGetConfig" is not found (node/no-missing-import) at src/server/server.ts:11:32:
2881 9 | import OpenAPIRequestValidator from 'openapi-request-validator';
2882 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2883> 11 | import assertAndGetConfig from './assertAndGetConfig';
2884 | ^
2885 12 | import axiosFactory from './axios/axiosFactory';
2886 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2887 14 | import packageInfo from '@/../package.json';
2888
2889
2890error: "./axios/axiosFactory" is not found (node/no-missing-import) at src/server/server.ts:12:26:
2891 10 | import buildOpenApiSpec from './buildOpenApiSpec';
2892 11 | import assertAndGetConfig from './assertAndGetConfig';
2893> 12 | import axiosFactory from './axios/axiosFactory';
2894 | ^
2895 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2896 14 | import packageInfo from '@/../package.json';
2897 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2898
2899
2900error: "./axios/getMwUserAgentString" is not found (node/no-missing-import) at src/server/server.ts:13:34:
2901 11 | import assertAndGetConfig from './assertAndGetConfig';
2902 12 | import axiosFactory from './axios/axiosFactory';
2903> 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2904 | ^
2905 14 | import packageInfo from '@/../package.json';
2906 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2907 16 |
2908
2909
2910error: "@/../package.json" is not found (node/no-missing-import) at src/server/server.ts:14:25:
2911 12 | import axiosFactory from './axios/axiosFactory';
2912 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2913> 14 | import packageInfo from '@/../package.json';
2914 | ^
2915 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2916 16 |
2917 17 | export default function ( options: ServiceRunnerOptions ): void {
2918
2919
2920error: "@/types/server/ServiceCheckerEnabledOpenApiV3" is not found (node/no-missing-import) at src/server/server.ts:15:26:
2921 13 | import getMwUserAgentString from './axios/getMwUserAgentString';
2922 14 | import packageInfo from '@/../package.json';
2923> 15 | import { Document } from '@/types/server/ServiceCheckerEnabledOpenApiV3';
2924 | ^
2925 16 |
2926 17 | export default function ( options: ServiceRunnerOptions ): void {
2927 18 | const logger = options.logger;
2928
2929
2930error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/server.ts:39:3:
2931 37 | } catch ( error ) {
2932 38 | logger.log( 'fatal/service', `HEALTHCHECK_QUERY malformed: ${JSON.stringify( error.info )}. Exiting.` );
2933> 39 | process.exit( 1 );
2934 | ^
2935 40 | }
2936 41 |
2937 42 | openApiSpec = openApiSpec as Document;
2938
2939
2940error: Don't use process.exit(); throw an error instead (no-process-exit) at src/server/server.ts:72:3:
2941 70 | process.on( 'SIGINT', () => {
2942 71 | logger.log( 'info/service', 'Process received SIGINT' );
2943> 72 | process.exit( 0 );
2944 | ^
2945 73 | } );
2946 74 | }
2947 75 |
2948
2949
2950error: "@/components/App.vue" is not found (node/no-missing-import) at src/server-entry.ts:2:17:
2951 1 | import Vue from 'vue';
2952> 2 | import App from '@/components/App.vue';
2953 | ^
2954 3 | import buildApp from '@/common/buildApp';
2955 4 | import TermboxServices from './common/TermboxServices';
2956 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2957
2958
2959error: "@/common/buildApp" is not found (node/no-missing-import) at src/server-entry.ts:3:22:
2960 1 | import Vue from 'vue';
2961 2 | import App from '@/components/App.vue';
2962> 3 | import buildApp from '@/common/buildApp';
2963 | ^
2964 4 | import TermboxServices from './common/TermboxServices';
2965 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2966 6 | import EntityInitializer from './common/EntityInitializer';
2967
2968
2969error: "./common/TermboxServices" is not found (node/no-missing-import) at src/server-entry.ts:4:29:
2970 2 | import App from '@/components/App.vue';
2971 3 | import buildApp from '@/common/buildApp';
2972> 4 | import TermboxServices from './common/TermboxServices';
2973 | ^
2974 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2975 6 | import EntityInitializer from './common/EntityInitializer';
2976 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2977
2978
2979error: "./server/data-access/AxiosSpecialPageEntityRepo" is not found (node/no-missing-import) at src/server-entry.ts:5:40:
2980 3 | import buildApp from '@/common/buildApp';
2981 4 | import TermboxServices from './common/TermboxServices';
2982> 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2983 | ^
2984 6 | import EntityInitializer from './common/EntityInitializer';
2985 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2986 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2987
2988
2989error: "./common/EntityInitializer" is not found (node/no-missing-import) at src/server-entry.ts:6:31:
2990 4 | import TermboxServices from './common/TermboxServices';
2991 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
2992> 6 | import EntityInitializer from './common/EntityInitializer';
2993 | ^
2994 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
2995 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
2996 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
2997
2998
2999error: "@/server/exceptions/BundleBoundaryPassingException" is not found (node/no-missing-import) at src/server-entry.ts:7:61:
3000 5 | import AxiosSpecialPageEntityRepo from './server/data-access/AxiosSpecialPageEntityRepo';
3001 6 | import EntityInitializer from './common/EntityInitializer';
3002> 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3003 | ^
3004 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3005 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3006 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3007
3008
3009error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at src/server-entry.ts:8:28:
3010 6 | import EntityInitializer from './common/EntityInitializer';
3011 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3012> 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3013 | ^
3014 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3015 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3016 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3017
3018
3019error: "./server/data-access/AxiosWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:9:47:
3020 7 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
3021 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3022> 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3023 | ^
3024 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3025 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3026 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3027
3028
3029error: "./common/data-access/error/TranslationLanguageNotFound" is not found (node/no-missing-import) at src/server-entry.ts:10:41:
3030 8 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
3031 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3032> 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3033 | ^
3034 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3035 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3036 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3037
3038
3039error: "./server/data-access/ContentLanguagesLanguageTranslationRepo" is not found (node/no-missing-import) at src/server-entry.ts:11:53:
3040 9 | import AxiosWikibaseContentLanguagesRepo from './server/data-access/AxiosWikibaseContentLanguagesRepo';
3041 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3042> 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3043 | ^
3044 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3045 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3046 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3047
3048
3049error: "./server/data-access/ContentLanguagesLanguageRepo" is not found (node/no-missing-import) at src/server-entry.ts:12:42:
3050 10 | import TranslationLanguageNotFound from './common/data-access/error/TranslationLanguageNotFound';
3051 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3052> 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3053 | ^
3054 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3055 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3056 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3057
3058
3059error: "./server/data-access/AxiosWikibaseMessagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:13:39:
3060 11 | import ContentLanguagesLanguageTranslationRepo from './server/data-access/ContentLanguagesLanguageTranslationRepo';
3061 12 | import ContentLanguagesLanguageRepo from './server/data-access/ContentLanguagesLanguageRepo';
3062> 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3063 | ^
3064 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3065 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3066 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3067
3068
3069error: "./server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:15:7:
3070 13 | import AxiosWikibaseMessagesRepo from './server/data-access/AxiosWikibaseMessagesRepo';
3071 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3072> 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3073 | ^
3074 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3075 17 | import { MessageKey } from './common/MessageKey';
3076 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3077
3078
3079error: "./server/bundle-renderer/BundleRendererContext" is not found (node/no-missing-import) at src/server-entry.ts:16:35:
3080 14 | import WaitingForLanguageWikibaseContentLanguagesRepo
3081 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3082> 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3083 | ^
3084 17 | import { MessageKey } from './common/MessageKey';
3085 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3086 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3087
3088
3089error: "./common/MessageKey" is not found (node/no-missing-import) at src/server-entry.ts:17:28:
3090 15 | from './server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
3091 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3092> 17 | import { MessageKey } from './common/MessageKey';
3093 | ^
3094 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3095 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3096 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3097
3098
3099error: "./server/data-access/CachingMethodDecorator" is not found (node/no-missing-import) at src/server-entry.ts:18:36:
3100 16 | import BundleRendererContext from './server/bundle-renderer/BundleRendererContext';
3101 17 | import { MessageKey } from './common/MessageKey';
3102> 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3103 | ^
3104 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3105 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3106 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3107
3108
3109error: "./common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/server-entry.ts:19:32:
3110 17 | import { MessageKey } from './common/MessageKey';
3111 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3112> 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3113 | ^
3114 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3115 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3116 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3117
3118
3119error: "./datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/server-entry.ts:20:42:
3120 18 | import CachingMethodDecorator from './server/data-access/CachingMethodDecorator';
3121 19 | import MessagesRepository from './common/data-access/MessagesRepository';
3122> 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3123 | ^
3124 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3125 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3126 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3127
3128
3129error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at src/server-entry.ts:22:7:
3130 20 | import MessageTranslationCollection from './datamodel/MessageTranslationCollection';
3131 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3132> 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3133 | ^
3134 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3135 24 | import EntityRevision from '@/datamodel/EntityRevision';
3136 25 |
3137
3138
3139error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at src/server-entry.ts:23:28:
3140 21 | import WikibaseContentLanguagesRepo, { WikibaseApiContentLanguages }
3141 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3142> 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3143 | ^
3144 24 | import EntityRevision from '@/datamodel/EntityRevision';
3145 25 |
3146 26 | Vue.mixin( newConfigMixin( {
3147
3148
3149error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/server-entry.ts:24:28:
3150 22 | from '@/server/data-access/WikibaseContentLanguagesRepo';
3151 23 | import newConfigMixin from '@/components/mixins/newConfigMixin';
3152> 24 | import EntityRevision from '@/datamodel/EntityRevision';
3153 | ^
3154 25 |
3155 26 | Vue.mixin( newConfigMixin( {
3156 27 | // As of now all config values concern edit mode exclusively, which is not reachable on the server side
3157
3158
3159error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/server-entry.ts:58:3:
3160 56 | const axiosWikibaseMessagesRepo = new AxiosWikibaseMessagesRepo(
3161 57 | axios,
3162> 58 | Object.values( MessageKey ),
3163 | ^
3164 59 | );
3165 60 | services.set(
3166 61 | 'messagesRepository',
3167
3168
3169error: "./namespaces" is not found (node/no-missing-import) at src/store/Root.ts:7:8:
3170 5 | NS_MESSAGES,
3171 6 | NS_USER,
3172> 7 | } from './namespaces';
3173 | ^
3174 8 | import EntityState from '@/store/entity/EntityState';
3175 9 | import LanguageState from '@/store/language/LanguageState';
3176 10 | import LinksState from '@/store/links/LinksState';
3177
3178
3179error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/Root.ts:8:25:
3180 6 | NS_USER,
3181 7 | } from './namespaces';
3182> 8 | import EntityState from '@/store/entity/EntityState';
3183 | ^
3184 9 | import LanguageState from '@/store/language/LanguageState';
3185 10 | import LinksState from '@/store/links/LinksState';
3186 11 | import Messages from '@/store/messages/Messages';
3187
3188
3189error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/Root.ts:9:27:
3190 7 | } from './namespaces';
3191 8 | import EntityState from '@/store/entity/EntityState';
3192> 9 | import LanguageState from '@/store/language/LanguageState';
3193 | ^
3194 10 | import LinksState from '@/store/links/LinksState';
3195 11 | import Messages from '@/store/messages/Messages';
3196 12 | import User from '@/store/user/User';
3197
3198
3199error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/Root.ts:10:24:
3200 8 | import EntityState from '@/store/entity/EntityState';
3201 9 | import LanguageState from '@/store/language/LanguageState';
3202> 10 | import LinksState from '@/store/links/LinksState';
3203 | ^
3204 11 | import Messages from '@/store/messages/Messages';
3205 12 | import User from '@/store/user/User';
3206 13 |
3207
3208
3209error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/Root.ts:11:22:
3210 9 | import LanguageState from '@/store/language/LanguageState';
3211 10 | import LinksState from '@/store/links/LinksState';
3212> 11 | import Messages from '@/store/messages/Messages';
3213 | ^
3214 12 | import User from '@/store/user/User';
3215 13 |
3216 14 | interface Root {
3217
3218
3219error: "@/store/user/User" is not found (node/no-missing-import) at src/store/Root.ts:12:18:
3220 10 | import LinksState from '@/store/links/LinksState';
3221 11 | import Messages from '@/store/messages/Messages';
3222> 12 | import User from '@/store/user/User';
3223 | ^
3224 13 |
3225 14 | interface Root {
3226 15 | editMode: boolean;
3227
3228
3229error: "@/store/Root" is not found (node/no-missing-import) at src/store/actions.ts:2:18:
3230 1 | import { ActionContext } from 'vuex';
3231> 2 | import Root from '@/store/Root';
3232 | ^
3233 3 | import {
3234 4 | EDITMODE_ACTIVATE,
3235 5 | EDITMODE_DEACTIVATE,
3236
3237
3238error: "@/store/actionTypes" is not found (node/no-missing-import) at src/store/actions.ts:6:8:
3239 4 | EDITMODE_ACTIVATE,
3240 5 | EDITMODE_DEACTIVATE,
3241> 6 | } from '@/store/actionTypes';
3242 | ^
3243 7 | import { EDITMODE_SET } from '@/store/mutationTypes';
3244 8 |
3245 9 | export const actions = {
3246
3247
3248error: "@/store/mutationTypes" is not found (node/no-missing-import) at src/store/actions.ts:7:30:
3249 5 | EDITMODE_DEACTIVATE,
3250 6 | } from '@/store/actionTypes';
3251> 7 | import { EDITMODE_SET } from '@/store/mutationTypes';
3252 | ^
3253 8 |
3254 9 | export const actions = {
3255 10 | [ EDITMODE_ACTIVATE ]( context: ActionContext<Root, any> ): void {
3256
3257
3258error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/EntityState.ts:1:33:
3259> 1 | import { Fingerprintable } from '@wmde/wikibase-datamodel-types';
3260 | ^
3261 2 |
3262 3 | interface EntityState extends Fingerprintable {
3263 4 | id: string;
3264
3265
3266error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/actions.ts:2:25:
3267 1 | import { ActionContext } from 'vuex';
3268> 2 | import EntityState from '@/store/entity/EntityState';
3269 | ^
3270 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3271 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3272 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3273
3274
3275error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/store/entity/actions.ts:3:30:
3276 1 | import { ActionContext } from 'vuex';
3277 2 | import EntityState from '@/store/entity/EntityState';
3278> 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3279 | ^
3280 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3281 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3282 6 | import {
3283
3284
3285error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/store/entity/actions.ts:4:39:
3286 2 | import EntityState from '@/store/entity/EntityState';
3287 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3288> 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3289 | ^
3290 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3291 6 | import {
3292 7 | ENTITY_INIT,
3293
3294
3295error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/store/entity/actions.ts:5:37:
3296 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3297 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3298> 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3299 | ^
3300 6 | import {
3301 7 | ENTITY_INIT,
3302 8 | ENTITY_LABEL_EDIT,
3303
3304
3305error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at src/store/entity/actions.ts:14:8:
3306 12 | ENTITY_ALIAS_REMOVE,
3307 13 | ENTITY_ROLLBACK,
3308> 14 | } from '@/store/entity/actionTypes';
3309 | ^
3310 15 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3311 16 | import {
3312 17 | EDITABILITY_UPDATE,
3313
3314
3315error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/store/entity/actions.ts:15:35:
3316 13 | ENTITY_ROLLBACK,
3317 14 | } from '@/store/entity/actionTypes';
3318> 15 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3319 | ^
3320 16 | import {
3321 17 | EDITABILITY_UPDATE,
3322 18 | ENTITY_UPDATE,
3323
3324
3325error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at src/store/entity/actions.ts:25:8:
3326 23 | ENTITY_REMOVE_ALIAS,
3327 24 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
3328> 25 | } from '@/store/entity/mutationTypes';
3329 | ^
3330 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3331 27 | import EntityRevision from '@/datamodel/EntityRevision';
3332 28 |
3333
3334
3335error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/actions.ts:26:22:
3336 24 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
3337 25 | } from '@/store/entity/mutationTypes';
3338> 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3339 | ^
3340 27 | import EntityRevision from '@/datamodel/EntityRevision';
3341 28 |
3342 29 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3343
3344
3345error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at src/store/entity/actions.ts:27:28:
3346 25 | } from '@/store/entity/mutationTypes';
3347 26 | import { Term } from '@wmde/wikibase-datamodel-types';
3348> 27 | import EntityRevision from '@/datamodel/EntityRevision';
3349 | ^
3350 28 |
3351 29 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3352 30 | export default (
3353
3354
3355error: "@/common/exceptions/ParameterException" is not found (node/no-missing-import) at src/store/entity/exceptions/InvalidEntityException.ts:1:32:
3356> 1 | import ParameterException from '@/common/exceptions/ParameterException';
3357 | ^
3358 2 |
3359 3 | export default class InvalidEntityException extends ParameterException {
3360 4 | public constructor( message?: string ) {
3361
3362
3363error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/getters.ts:2:25:
3364 1 | import { GetterTree } from 'vuex';
3365> 2 | import EntityState from '@/store/entity/EntityState';
3366 | ^
3367 3 | import { Term } from '@wmde/wikibase-datamodel-types';
3368 4 |
3369 5 | export const getters: GetterTree<EntityState, any> = {
3370
3371
3372error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/getters.ts:3:22:
3373 1 | import { GetterTree } from 'vuex';
3374 2 | import EntityState from '@/store/entity/EntityState';
3375> 3 | import { Term } from '@wmde/wikibase-datamodel-types';
3376 | ^
3377 4 |
3378 5 | export const getters: GetterTree<EntityState, any> = {
3379 6 | getLabelByLanguage: ( state: EntityState ) => ( languageCode: string ): Term | null => {
3380
3381
3382error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/index.ts:2:25:
3383 1 | import { Module } from 'vuex';
3384> 2 | import EntityState from '@/store/entity/EntityState';
3385 | ^
3386 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3387 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3388 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3389
3390
3391error: "@/common/data-access/EntityRepository" is not found (node/no-missing-import) at src/store/entity/index.ts:3:30:
3392 1 | import { Module } from 'vuex';
3393 2 | import EntityState from '@/store/entity/EntityState';
3394> 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3395 | ^
3396 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3397 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3398 6 | import { getters } from '@/store/entity/getters';
3399
3400
3401error: "@/common/data-access/EntityEditabilityResolver" is not found (node/no-missing-import) at src/store/entity/index.ts:4:39:
3402 2 | import EntityState from '@/store/entity/EntityState';
3403 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3404> 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3405 | ^
3406 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3407 6 | import { getters } from '@/store/entity/getters';
3408 7 | import { mutations } from '@/store/entity/mutations';
3409
3410
3411error: "@/common/data-access/WritingEntityRepository" is not found (node/no-missing-import) at src/store/entity/index.ts:5:37:
3412 3 | import EntityRepository from '@/common/data-access/EntityRepository';
3413 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3414> 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3415 | ^
3416 6 | import { getters } from '@/store/entity/getters';
3417 7 | import { mutations } from '@/store/entity/mutations';
3418 8 | import createActions from '@/store/entity/actions';
3419
3420
3421error: "@/store/entity/getters" is not found (node/no-missing-import) at src/store/entity/index.ts:6:25:
3422 4 | import EntityEditabilityResolver from '@/common/data-access/EntityEditabilityResolver';
3423 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3424> 6 | import { getters } from '@/store/entity/getters';
3425 | ^
3426 7 | import { mutations } from '@/store/entity/mutations';
3427 8 | import createActions from '@/store/entity/actions';
3428 9 |
3429
3430
3431error: "@/store/entity/mutations" is not found (node/no-missing-import) at src/store/entity/index.ts:7:27:
3432 5 | import WritingEntityRepository from '@/common/data-access/WritingEntityRepository';
3433 6 | import { getters } from '@/store/entity/getters';
3434> 7 | import { mutations } from '@/store/entity/mutations';
3435 | ^
3436 8 | import createActions from '@/store/entity/actions';
3437 9 |
3438 10 | export default function (
3439
3440
3441error: "@/store/entity/actions" is not found (node/no-missing-import) at src/store/entity/index.ts:8:27:
3442 6 | import { getters } from '@/store/entity/getters';
3443 7 | import { mutations } from '@/store/entity/mutations';
3444> 8 | import createActions from '@/store/entity/actions';
3445 | ^
3446 9 |
3447 10 | export default function (
3448 11 | entityRepository: EntityRepository,
3449
3450
3451error: "@/store/entity/EntityState" is not found (node/no-missing-import) at src/store/entity/mutations.ts:3:25:
3452 1 | import Vue from 'vue';
3453 2 | import { MutationTree } from 'vuex';
3454> 3 | import EntityState from '@/store/entity/EntityState';
3455 | ^
3456 4 | import {
3457 5 | EDITABILITY_UPDATE,
3458 6 | ENTITY_UPDATE,
3459
3460
3461error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at src/store/entity/mutations.ts:13:8:
3462 11 | ENTITY_REMOVE_ALIAS,
3463 12 | ENTITY_ROLLBACK,
3464> 13 | } from '@/store/entity/mutationTypes';
3465 | ^
3466 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3467 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3468 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3469
3470
3471error: "@/store/entity/exceptions/InvalidEntityException" is not found (node/no-missing-import) at src/store/entity/mutations.ts:14:36:
3472 12 | ENTITY_ROLLBACK,
3473 13 | } from '@/store/entity/mutationTypes';
3474> 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3475 | ^
3476 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3477 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3478 17 |
3479
3480
3481error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at src/store/entity/mutations.ts:15:39:
3482 13 | } from '@/store/entity/mutationTypes';
3483 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3484> 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3485 | ^
3486 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3487 17 |
3488 18 | function getFingerprintProperties( source: Fingerprintable ): Fingerprintable {
3489
3490
3491error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at src/store/entity/mutations.ts:16:35:
3492 14 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
3493 15 | import { Fingerprintable, Term } from '@wmde/wikibase-datamodel-types';
3494> 16 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
3495 | ^
3496 17 |
3497 18 | function getFingerprintProperties( source: Fingerprintable ): Fingerprintable {
3498 19 | return {
3499
3500
3501error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at src/store/entity/mutations.ts:39:3:
3502 37 |
3503 38 | state.id = entity.id;
3504> 39 | Object.assign( state, fingerprintProperties );
3505 | ^
3506 40 |
3507 41 | state.baseRevisionFingerprint = clone( fingerprintProperties );
3508 42 | },
3509
3510
3511error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at src/store/entity/mutations.ts:49:3:
3512 47 | }
3513 48 |
3514> 49 | Object.assign(
3515 | ^
3516 50 | state,
3517 51 | clone( state.baseRevisionFingerprint ), // avoid modification after rollback
3518 52 | );
3519
3520
3521error: "@/common/TermboxServices" is not found (node/no-missing-import) at src/store/index.ts:3:29:
3522 1 | import Vue from 'vue';
3523 2 | import Vuex, { StoreOptions, Store } from 'vuex';
3524> 3 | import TermboxServices from '@/common/TermboxServices';
3525 | ^
3526 4 | import createEntity from './entity';
3527 5 | import createUser from './user';
3528 6 | import createLanguage from './language';
3529
3530
3531error: "./entity" is not found (node/no-missing-import) at src/store/index.ts:4:26:
3532 2 | import Vuex, { StoreOptions, Store } from 'vuex';
3533 3 | import TermboxServices from '@/common/TermboxServices';
3534> 4 | import createEntity from './entity';
3535 | ^
3536 5 | import createUser from './user';
3537 6 | import createLanguage from './language';
3538 7 | import createLinks from './links';
3539
3540
3541error: "./user" is not found (node/no-missing-import) at src/store/index.ts:5:24:
3542 3 | import TermboxServices from '@/common/TermboxServices';
3543 4 | import createEntity from './entity';
3544> 5 | import createUser from './user';
3545 | ^
3546 6 | import createLanguage from './language';
3547 7 | import createLinks from './links';
3548 8 | import createMessages from './messages';
3549
3550
3551error: "./language" is not found (node/no-missing-import) at src/store/index.ts:6:28:
3552 4 | import createEntity from './entity';
3553 5 | import createUser from './user';
3554> 6 | import createLanguage from './language';
3555 | ^
3556 7 | import createLinks from './links';
3557 8 | import createMessages from './messages';
3558 9 | import Root from './Root';
3559
3560
3561error: "./links" is not found (node/no-missing-import) at src/store/index.ts:7:25:
3562 5 | import createUser from './user';
3563 6 | import createLanguage from './language';
3564> 7 | import createLinks from './links';
3565 | ^
3566 8 | import createMessages from './messages';
3567 9 | import Root from './Root';
3568 10 | import { mutations } from './mutations';
3569
3570
3571error: "./messages" is not found (node/no-missing-import) at src/store/index.ts:8:28:
3572 6 | import createLanguage from './language';
3573 7 | import createLinks from './links';
3574> 8 | import createMessages from './messages';
3575 | ^
3576 9 | import Root from './Root';
3577 10 | import { mutations } from './mutations';
3578 11 | import { actions } from './actions';
3579
3580
3581error: "./Root" is not found (node/no-missing-import) at src/store/index.ts:9:18:
3582 7 | import createLinks from './links';
3583 8 | import createMessages from './messages';
3584> 9 | import Root from './Root';
3585 | ^
3586 10 | import { mutations } from './mutations';
3587 11 | import { actions } from './actions';
3588 12 | import {
3589
3590
3591error: "./mutations" is not found (node/no-missing-import) at src/store/index.ts:10:27:
3592 8 | import createMessages from './messages';
3593 9 | import Root from './Root';
3594> 10 | import { mutations } from './mutations';
3595 | ^
3596 11 | import { actions } from './actions';
3597 12 | import {
3598 13 | NS_ENTITY,
3599
3600
3601error: "./actions" is not found (node/no-missing-import) at src/store/index.ts:11:25:
3602 9 | import Root from './Root';
3603 10 | import { mutations } from './mutations';
3604> 11 | import { actions } from './actions';
3605 | ^
3606 12 | import {
3607 13 | NS_ENTITY,
3608 14 | NS_LANGUAGE,
3609
3610
3611error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/index.ts:18:8:
3612 16 | NS_MESSAGES,
3613 17 | NS_USER,
3614> 18 | } from '@/store/namespaces';
3615 | ^
3616 19 |
3617 20 | Vue.use( Vuex );
3618 21 |
3619
3620
3621error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/LanguageState.ts:1:34:
3622> 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3623 | ^
3624 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
3625 3 |
3626 4 | interface LanguageState {
3627
3628
3629error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/LanguageState.ts:2:32:
3630 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3631> 2 | import LanguageCollection from '@/datamodel/LanguageCollection';
3632 | ^
3633 3 |
3634 4 | interface LanguageState {
3635 5 | translations: LanguageTranslations;
3636
3637
3638error: "./actionTypes" is not found (node/no-missing-import) at src/store/language/actions.ts:2:61:
3639 1 | import { ActionContext } from 'vuex';
3640> 2 | import { LANGUAGE_INIT, ENSURE_AVAILABLE_IN_LANGUAGE } from './actionTypes';
3641 | ^
3642 3 | import {
3643 4 | LANGUAGE_TRANSLATION_UPDATE,
3644 5 | LANGUAGE_UPDATE,
3645
3646
3647error: "./mutationTypes" is not found (node/no-missing-import) at src/store/language/actions.ts:6:8:
3648 4 | LANGUAGE_TRANSLATION_UPDATE,
3649 5 | LANGUAGE_UPDATE,
3650> 6 | } from './mutationTypes';
3651 | ^
3652 7 | import LanguageState from '@/store/language/LanguageState';
3653 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3654 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3655
3656
3657error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/actions.ts:7:27:
3658 5 | LANGUAGE_UPDATE,
3659 6 | } from './mutationTypes';
3660> 7 | import LanguageState from '@/store/language/LanguageState';
3661 | ^
3662 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3663 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3664 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3665
3666
3667error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/actions.ts:8:34:
3668 6 | } from './mutationTypes';
3669 7 | import LanguageState from '@/store/language/LanguageState';
3670> 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3671 | ^
3672 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3673 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3674 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3675
3676
3677error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/actions.ts:9:32:
3678 7 | import LanguageState from '@/store/language/LanguageState';
3679 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3680> 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3681 | ^
3682 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3683 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3684 12 |
3685
3686
3687error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/store/language/actions.ts:10:32:
3688 8 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3689 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3690> 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3691 | ^
3692 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3693 12 |
3694 13 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3695
3696
3697error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/store/language/actions.ts:11:43:
3698 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
3699 10 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3700> 11 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3701 | ^
3702 12 |
3703 13 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3704 14 | export default (
3705
3706
3707error: "@/datamodel/Language" is not found (node/no-missing-import) at src/store/language/getters.ts:2:22:
3708 1 | import { GetterTree } from 'vuex';
3709> 2 | import Language from '@/datamodel/Language';
3710 | ^
3711 3 | import LanguageState from '@/store/language/LanguageState';
3712 4 | import { NS_USER } from '@/store/namespaces';
3713 5 | import { InitializedRootState } from '@/store/Root';
3714
3715
3716error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/getters.ts:3:27:
3717 1 | import { GetterTree } from 'vuex';
3718 2 | import Language from '@/datamodel/Language';
3719> 3 | import LanguageState from '@/store/language/LanguageState';
3720 | ^
3721 4 | import { NS_USER } from '@/store/namespaces';
3722 5 | import { InitializedRootState } from '@/store/Root';
3723 6 |
3724
3725
3726error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/language/getters.ts:4:25:
3727 2 | import Language from '@/datamodel/Language';
3728 3 | import LanguageState from '@/store/language/LanguageState';
3729> 4 | import { NS_USER } from '@/store/namespaces';
3730 | ^
3731 5 | import { InitializedRootState } from '@/store/Root';
3732 6 |
3733 7 | export const getters: GetterTree<LanguageState, any> = {
3734
3735
3736error: "@/store/Root" is not found (node/no-missing-import) at src/store/language/getters.ts:5:38:
3737 3 | import LanguageState from '@/store/language/LanguageState';
3738 4 | import { NS_USER } from '@/store/namespaces';
3739> 5 | import { InitializedRootState } from '@/store/Root';
3740 | ^
3741 6 |
3742 7 | export const getters: GetterTree<LanguageState, any> = {
3743 8 | getByCode: ( state: LanguageState ) => ( code: string ): Language | null => {
3744
3745
3746error: "./actions" is not found (node/no-missing-import) at src/store/language/index.ts:2:27:
3747 1 | import { Module } from 'vuex';
3748> 2 | import createActions from './actions';
3749 | ^
3750 3 | import { getters } from './getters';
3751 4 | import { mutations } from './mutations';
3752 5 | import LanguageState from '@/store/language/LanguageState';
3753
3754
3755error: "./getters" is not found (node/no-missing-import) at src/store/language/index.ts:3:25:
3756 1 | import { Module } from 'vuex';
3757 2 | import createActions from './actions';
3758> 3 | import { getters } from './getters';
3759 | ^
3760 4 | import { mutations } from './mutations';
3761 5 | import LanguageState from '@/store/language/LanguageState';
3762 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3763
3764
3765error: "./mutations" is not found (node/no-missing-import) at src/store/language/index.ts:4:27:
3766 2 | import createActions from './actions';
3767 3 | import { getters } from './getters';
3768> 4 | import { mutations } from './mutations';
3769 | ^
3770 5 | import LanguageState from '@/store/language/LanguageState';
3771 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3772 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3773
3774
3775error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/index.ts:5:27:
3776 3 | import { getters } from './getters';
3777 4 | import { mutations } from './mutations';
3778> 5 | import LanguageState from '@/store/language/LanguageState';
3779 | ^
3780 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3781 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3782 8 |
3783
3784
3785error: "@/common/data-access/LanguageRepository" is not found (node/no-missing-import) at src/store/language/index.ts:6:32:
3786 4 | import { mutations } from './mutations';
3787 5 | import LanguageState from '@/store/language/LanguageState';
3788> 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3789 | ^
3790 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3791 8 |
3792 9 | export default function (
3793
3794
3795error: "@/common/data-access/LanguageTranslationRepository" is not found (node/no-missing-import) at src/store/language/index.ts:7:43:
3796 5 | import LanguageState from '@/store/language/LanguageState';
3797 6 | import LanguageRepository from '@/common/data-access/LanguageRepository';
3798> 7 | import LanguageTranslationRepository from '@/common/data-access/LanguageTranslationRepository';
3799 | ^
3800 8 |
3801 9 | export default function (
3802 10 | languageRepository: LanguageRepository,
3803
3804
3805error: "./mutationTypes" is not found (node/no-missing-import) at src/store/language/mutations.ts:5:8:
3806 3 | LANGUAGE_TRANSLATION_UPDATE,
3807 4 | LANGUAGE_UPDATE,
3808> 5 | } from './mutationTypes';
3809 | ^
3810 6 | import LanguageState from '@/store/language/LanguageState';
3811 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3812 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3813
3814
3815error: "@/store/language/LanguageState" is not found (node/no-missing-import) at src/store/language/mutations.ts:6:27:
3816 4 | LANGUAGE_UPDATE,
3817 5 | } from './mutationTypes';
3818> 6 | import LanguageState from '@/store/language/LanguageState';
3819 | ^
3820 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3821 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3822 9 |
3823
3824
3825error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at src/store/language/mutations.ts:7:34:
3826 5 | } from './mutationTypes';
3827 6 | import LanguageState from '@/store/language/LanguageState';
3828> 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3829 | ^
3830 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3831 9 |
3832 10 | export const mutations: MutationTree<LanguageState> = {
3833
3834
3835error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at src/store/language/mutations.ts:8:32:
3836 6 | import LanguageState from '@/store/language/LanguageState';
3837 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
3838> 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
3839 | ^
3840 9 |
3841 10 | export const mutations: MutationTree<LanguageState> = {
3842 11 | [ LANGUAGE_UPDATE ]( state: LanguageState, languages: LanguageCollection ): void {
3843
3844
3845error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/actions.ts:2:24:
3846 1 | import { ActionContext } from 'vuex';
3847> 2 | import LinksState from '@/store/links/LinksState';
3848 | ^
3849 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3850 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3851 5 | import TermboxLinks from '@/common/TermboxLinks';
3852
3853
3854error: "@/store/links/actionTypes" is not found (node/no-missing-import) at src/store/links/actions.ts:3:28:
3855 1 | import { ActionContext } from 'vuex';
3856 2 | import LinksState from '@/store/links/LinksState';
3857> 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3858 | ^
3859 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3860 5 | import TermboxLinks from '@/common/TermboxLinks';
3861 6 |
3862
3863
3864error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at src/store/links/actions.ts:4:30:
3865 2 | import LinksState from '@/store/links/LinksState';
3866 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3867> 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3868 | ^
3869 5 | import TermboxLinks from '@/common/TermboxLinks';
3870 6 |
3871 7 | export const actions = {
3872
3873
3874error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/store/links/actions.ts:5:26:
3875 3 | import { LINKS_INIT } from '@/store/links/actionTypes';
3876 4 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3877> 5 | import TermboxLinks from '@/common/TermboxLinks';
3878 | ^
3879 6 |
3880 7 | export const actions = {
3881 8 | [ LINKS_INIT ]( store: ActionContext<LinksState, any>, links: TermboxLinks ): void {
3882
3883
3884error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/index.ts:2:24:
3885 1 | import { Module } from 'vuex';
3886> 2 | import LinksState from '@/store/links/LinksState';
3887 | ^
3888 3 | import { mutations } from '@/store/links/mutations';
3889 4 | import { actions } from '@/store/links/actions';
3890 5 |
3891
3892
3893error: "@/store/links/mutations" is not found (node/no-missing-import) at src/store/links/index.ts:3:27:
3894 1 | import { Module } from 'vuex';
3895 2 | import LinksState from '@/store/links/LinksState';
3896> 3 | import { mutations } from '@/store/links/mutations';
3897 | ^
3898 4 | import { actions } from '@/store/links/actions';
3899 5 |
3900 6 | export default function (): Module<LinksState, any> {
3901
3902
3903error: "@/store/links/actions" is not found (node/no-missing-import) at src/store/links/index.ts:4:25:
3904 2 | import LinksState from '@/store/links/LinksState';
3905 3 | import { mutations } from '@/store/links/mutations';
3906> 4 | import { actions } from '@/store/links/actions';
3907 | ^
3908 5 |
3909 6 | export default function (): Module<LinksState, any> {
3910 7 | const state: LinksState = {
3911
3912
3913error: "@/store/links/LinksState" is not found (node/no-missing-import) at src/store/links/mutations.ts:2:24:
3914 1 | import { MutationTree } from 'vuex';
3915> 2 | import LinksState from '@/store/links/LinksState';
3916 | ^
3917 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3918 4 | import TermboxLinks from '@/common/TermboxLinks';
3919 5 |
3920
3921
3922error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at src/store/links/mutations.ts:3:30:
3923 1 | import { MutationTree } from 'vuex';
3924 2 | import LinksState from '@/store/links/LinksState';
3925> 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3926 | ^
3927 4 | import TermboxLinks from '@/common/TermboxLinks';
3928 5 |
3929 6 | export const mutations: MutationTree<LinksState> = {
3930
3931
3932error: "@/common/TermboxLinks" is not found (node/no-missing-import) at src/store/links/mutations.ts:4:26:
3933 2 | import LinksState from '@/store/links/LinksState';
3934 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
3935> 4 | import TermboxLinks from '@/common/TermboxLinks';
3936 | ^
3937 5 |
3938 6 | export const mutations: MutationTree<LinksState> = {
3939 7 | [ LINKS_UPDATE ]( state: LinksState, payload: TermboxLinks ) {
3940
3941
3942error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/Messages.ts:1:42:
3943> 1 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3944 | ^
3945 2 |
3946 3 | interface Messages {
3947 4 | messages: MessageTranslationCollection;
3948
3949
3950error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/actions.ts:2:22:
3951 1 | import { ActionContext } from 'vuex';
3952> 2 | import Messages from '@/store/messages/Messages';
3953 | ^
3954 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3955 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3956 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3957
3958
3959error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at src/store/messages/actions.ts:3:31:
3960 1 | import { ActionContext } from 'vuex';
3961 2 | import Messages from '@/store/messages/Messages';
3962> 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3963 | ^
3964 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3965 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3966 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3967
3968
3969error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at src/store/messages/actions.ts:4:57:
3970 2 | import Messages from '@/store/messages/Messages';
3971 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3972> 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3973 | ^
3974 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3975 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3976 7 |
3977
3978
3979error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/actions.ts:5:42:
3980 3 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
3981 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3982> 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3983 | ^
3984 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3985 7 |
3986 8 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3987
3988
3989error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/store/messages/actions.ts:6:32:
3990 4 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
3991 5 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
3992> 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
3993 | ^
3994 7 |
3995 8 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
3996 9 | export default (
3997
3998
3999error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/getters.ts:2:22:
4000 1 | import { GetterTree } from 'vuex';
4001> 2 | import Messages from '@/store/messages/Messages';
4002 | ^
4003 3 | import MessageCollection from '@/datamodel/MessageCollection';
4004 4 | import { MessageKey } from '@/common/MessageKey';
4005 5 |
4006
4007
4008error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at src/store/messages/getters.ts:3:31:
4009 1 | import { GetterTree } from 'vuex';
4010 2 | import Messages from '@/store/messages/Messages';
4011> 3 | import MessageCollection from '@/datamodel/MessageCollection';
4012 | ^
4013 4 | import { MessageKey } from '@/common/MessageKey';
4014 5 |
4015 6 | export const getters: GetterTree<Messages, any> = {
4016
4017
4018error: "@/common/MessageKey" is not found (node/no-missing-import) at src/store/messages/getters.ts:4:28:
4019 2 | import Messages from '@/store/messages/Messages';
4020 3 | import MessageCollection from '@/datamodel/MessageCollection';
4021> 4 | import { MessageKey } from '@/common/MessageKey';
4022 | ^
4023 5 |
4024 6 | export const getters: GetterTree<Messages, any> = {
4025 7 | getAllMessagesInLanguage: ( state: Messages ) => ( inLanguage: string ): MessageCollection | null => {
4026
4027
4028error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/index.ts:2:22:
4029 1 | import { Module } from 'vuex';
4030> 2 | import Messages from '@/store/messages/Messages';
4031 | ^
4032 3 | import { getters } from '@/store/messages/getters';
4033 4 | import { mutations } from '@/store/messages/mutations';
4034 5 | import createActions from '@/store/messages/actions';
4035
4036
4037error: "@/store/messages/getters" is not found (node/no-missing-import) at src/store/messages/index.ts:3:25:
4038 1 | import { Module } from 'vuex';
4039 2 | import Messages from '@/store/messages/Messages';
4040> 3 | import { getters } from '@/store/messages/getters';
4041 | ^
4042 4 | import { mutations } from '@/store/messages/mutations';
4043 5 | import createActions from '@/store/messages/actions';
4044 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4045
4046
4047error: "@/store/messages/mutations" is not found (node/no-missing-import) at src/store/messages/index.ts:4:27:
4048 2 | import Messages from '@/store/messages/Messages';
4049 3 | import { getters } from '@/store/messages/getters';
4050> 4 | import { mutations } from '@/store/messages/mutations';
4051 | ^
4052 5 | import createActions from '@/store/messages/actions';
4053 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4054 7 |
4055
4056
4057error: "@/store/messages/actions" is not found (node/no-missing-import) at src/store/messages/index.ts:5:27:
4058 3 | import { getters } from '@/store/messages/getters';
4059 4 | import { mutations } from '@/store/messages/mutations';
4060> 5 | import createActions from '@/store/messages/actions';
4061 | ^
4062 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4063 7 |
4064 8 | export default function (
4065
4066
4067error: "@/common/data-access/MessagesRepository" is not found (node/no-missing-import) at src/store/messages/index.ts:6:32:
4068 4 | import { mutations } from '@/store/messages/mutations';
4069 5 | import createActions from '@/store/messages/actions';
4070> 6 | import MessagesRepository from '@/common/data-access/MessagesRepository';
4071 | ^
4072 7 |
4073 8 | export default function (
4074 9 | messagesRepository: MessagesRepository,
4075
4076
4077error: "@/store/messages/Messages" is not found (node/no-missing-import) at src/store/messages/mutations.ts:2:22:
4078 1 | import { MutationTree } from 'vuex';
4079> 2 | import Messages from '@/store/messages/Messages';
4080 | ^
4081 3 | import {
4082 4 | MESSAGES_INIT,
4083 5 | } from '@/store/messages/mutationTypes';
4084
4085
4086error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at src/store/messages/mutations.ts:5:8:
4087 3 | import {
4088 4 | MESSAGES_INIT,
4089> 5 | } from '@/store/messages/mutationTypes';
4090 | ^
4091 6 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
4092 7 |
4093 8 | export const mutations: MutationTree<Messages> = {
4094
4095
4096error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at src/store/messages/mutations.ts:6:42:
4097 4 | MESSAGES_INIT,
4098 5 | } from '@/store/messages/mutationTypes';
4099> 6 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
4100 | ^
4101 7 |
4102 8 | export const mutations: MutationTree<Messages> = {
4103 9 | [ MESSAGES_INIT ]( state: Messages, messages: MessageTranslationCollection ): void {
4104
4105
4106error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at src/store/messages/mutations.ts:11:3:
4107 9 | [ MESSAGES_INIT ]( state: Messages, messages: MessageTranslationCollection ): void {
4108 10 | state.messages = {};
4109> 11 | Object.entries( messages ).forEach( ( [ inLanguage, translations ] ) => {
4110 | ^
4111 12 | state.messages[ inLanguage ] = translations;
4112 13 | } );
4113 14 | },
4114
4115
4116error: "@/store/Root" is not found (node/no-missing-import) at src/store/mutations.ts:2:18:
4117 1 | import { MutationTree } from 'vuex';
4118> 2 | import Root from '@/store/Root';
4119 | ^
4120 3 | import {
4121 4 | EDITMODE_SET,
4122 5 | } from '@/store/mutationTypes';
4123
4124
4125error: "@/store/mutationTypes" is not found (node/no-missing-import) at src/store/mutations.ts:5:8:
4126 3 | import {
4127 4 | EDITMODE_SET,
4128> 5 | } from '@/store/mutationTypes';
4129 | ^
4130 6 |
4131 7 | export const mutations: MutationTree<Root> = {
4132 8 | [ EDITMODE_SET ]( state: Root, isEditible: boolean ): void {
4133
4134
4135error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/User.ts:1:32:
4136> 1 | import { UserPreference } from '@/common/UserPreference';
4137 | ^
4138 2 |
4139 3 | interface User {
4140 4 | name: string | null;
4141
4142
4143error: "./actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:7:8:
4144 5 | USER_PREFERENCES_INIT,
4145 6 | USER_PREFERENCE_SET,
4146> 7 | } from './actionTypes';
4147 | ^
4148 8 | import {
4149 9 | LANGUAGE_INIT,
4150 10 | SECONDARY_LANGUAGES_INIT,
4151
4152
4153error: "./mutationTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:13:8:
4154 11 | USER_SET_NAME,
4155 12 | USER_SET_PREFERENCE,
4156> 13 | } from './mutationTypes';
4157 | ^
4158 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4159 15 | import User from '@/store/user/User';
4160 16 | import {
4161
4162
4163error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:14:31:
4164 12 | USER_SET_PREFERENCE,
4165 13 | } from './mutationTypes';
4166> 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4167 | ^
4168 15 | import User from '@/store/user/User';
4169 16 | import {
4170 17 | NS_LANGUAGE,
4171
4172
4173error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/actions.ts:15:18:
4174 13 | } from './mutationTypes';
4175 14 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
4176> 15 | import User from '@/store/user/User';
4177 | ^
4178 16 | import {
4179 17 | NS_LANGUAGE,
4180 18 | NS_MESSAGES,
4181
4182
4183error: "@/store/namespaces" is not found (node/no-missing-import) at src/store/user/actions.ts:19:8:
4184 17 | NS_LANGUAGE,
4185 18 | NS_MESSAGES,
4186> 19 | } from '@/store/namespaces';
4187 | ^
4188 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4189 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4190 22 | import { UserPreference } from '@/common/UserPreference';
4191
4192
4193error: "@/store/language/actionTypes" is not found (node/no-missing-import) at src/store/user/actions.ts:20:46:
4194 18 | NS_MESSAGES,
4195 19 | } from '@/store/namespaces';
4196> 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4197 | ^
4198 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4199 22 | import { UserPreference } from '@/common/UserPreference';
4200 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4201
4202
4203error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/actions.ts:22:32:
4204 20 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
4205 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4206> 22 | import { UserPreference } from '@/common/UserPreference';
4207 | ^
4208 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4209 24 |
4210 25 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
4211
4212
4213error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/store/user/actions.ts:23:38:
4214 21 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
4215 22 | import { UserPreference } from '@/common/UserPreference';
4216> 23 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4217 | ^
4218 24 |
4219 25 | // eslint-disable-next-line @typescript-eslint/explicit-function-return-type
4220 26 | export default (
4221
4222
4223error: ES2017 'Object.values' method is forbidden (es/no-object-values) at src/store/user/actions.ts:54:23:
4224 52 |
4225 53 | [ USER_PREFERENCES_INIT ]( context: ActionContext<User, any> ): Promise<void[]> {
4226> 54 | return Promise.all( Object.values( UserPreference ).map( ( preference ) => {
4227 | ^
4228 55 | return userPreferenceRepository.getPreference( preference )
4229 56 | .then( ( value ) => context.commit(
4230 57 | USER_SET_PREFERENCE,
4231
4232
4233error: "@/common/exceptions/ParameterException" is not found (node/no-missing-import) at src/store/user/exceptions/InvalidLanguageValueException.ts:1:32:
4234> 1 | import ParameterException from '@/common/exceptions/ParameterException';
4235 | ^
4236 2 |
4237 3 | export default class InvalidLanguageValueException extends ParameterException {
4238 4 | public constructor( message?: string ) {
4239
4240
4241error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/getters.ts:2:18:
4242 1 | import { GetterTree } from 'vuex';
4243> 2 | import User from '@/store/user/User';
4244 | ^
4245 3 |
4246 4 | export const getters: GetterTree<User, any> = {
4247 5 | isAnonymous: ( state: User ): boolean => {
4248
4249
4250error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/index.ts:2:18:
4251 1 | import { Module } from 'vuex';
4252> 2 | import User from '@/store/user/User';
4253 | ^
4254 3 | import createActions from '@/store/user/actions';
4255 4 | import { getters } from '@/store/user/getters';
4256 5 | import { mutations } from '@/store/user/mutations';
4257
4258
4259error: "@/store/user/actions" is not found (node/no-missing-import) at src/store/user/index.ts:3:27:
4260 1 | import { Module } from 'vuex';
4261 2 | import User from '@/store/user/User';
4262> 3 | import createActions from '@/store/user/actions';
4263 | ^
4264 4 | import { getters } from '@/store/user/getters';
4265 5 | import { mutations } from '@/store/user/mutations';
4266 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4267
4268
4269error: "@/store/user/getters" is not found (node/no-missing-import) at src/store/user/index.ts:4:25:
4270 2 | import User from '@/store/user/User';
4271 3 | import createActions from '@/store/user/actions';
4272> 4 | import { getters } from '@/store/user/getters';
4273 | ^
4274 5 | import { mutations } from '@/store/user/mutations';
4275 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4276 7 |
4277
4278
4279error: "@/store/user/mutations" is not found (node/no-missing-import) at src/store/user/index.ts:5:27:
4280 3 | import createActions from '@/store/user/actions';
4281 4 | import { getters } from '@/store/user/getters';
4282> 5 | import { mutations } from '@/store/user/mutations';
4283 | ^
4284 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4285 7 |
4286 8 | export default function (
4287
4288
4289error: "@/common/data-access/UserPreferenceRepository" is not found (node/no-missing-import) at src/store/user/index.ts:6:38:
4290 4 | import { getters } from '@/store/user/getters';
4291 5 | import { mutations } from '@/store/user/mutations';
4292> 6 | import UserPreferenceRepository from '@/common/data-access/UserPreferenceRepository';
4293 | ^
4294 7 |
4295 8 | export default function (
4296 9 | userPreferenceRepository: UserPreferenceRepository,
4297
4298
4299error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at src/store/user/mutations.ts:8:8:
4300 6 | USER_SET_NAME,
4301 7 | USER_SET_PREFERENCE,
4302> 8 | } from '@/store/user/mutationTypes';
4303 | ^
4304 9 | import User from '@/store/user/User';
4305 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4306 11 | import { UserPreference } from '@/common/UserPreference';
4307
4308
4309error: "@/store/user/User" is not found (node/no-missing-import) at src/store/user/mutations.ts:9:18:
4310 7 | USER_SET_PREFERENCE,
4311 8 | } from '@/store/user/mutationTypes';
4312> 9 | import User from '@/store/user/User';
4313 | ^
4314 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4315 11 | import { UserPreference } from '@/common/UserPreference';
4316 12 |
4317
4318
4319error: "@/store/user/exceptions/InvalidLanguageValueException" is not found (node/no-missing-import) at src/store/user/mutations.ts:10:43:
4320 8 | } from '@/store/user/mutationTypes';
4321 9 | import User from '@/store/user/User';
4322> 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4323 | ^
4324 11 | import { UserPreference } from '@/common/UserPreference';
4325 12 |
4326 13 | export const mutations: MutationTree<User> = {
4327
4328
4329error: "@/common/UserPreference" is not found (node/no-missing-import) at src/store/user/mutations.ts:11:32:
4330 9 | import User from '@/store/user/User';
4331 10 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
4332> 11 | import { UserPreference } from '@/common/UserPreference';
4333 | ^
4334 12 |
4335 13 | export const mutations: MutationTree<User> = {
4336 14 | [ LANGUAGE_INIT ]( state: User, language: string ): void {
4337
4338
4339error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:2:19:
4340 1 | import { storiesOf } from '@storybook/vue';
4341> 2 | import Modal from '@/components/Modal.vue';
4342 | ^
4343 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4344 4 | import { MessageKey } from '@/common/MessageKey';
4345 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4346
4347
4348error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:3:29:
4349 1 | import { storiesOf } from '@storybook/vue';
4350 2 | import Modal from '@/components/Modal.vue';
4351> 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4352 | ^
4353 4 | import { MessageKey } from '@/common/MessageKey';
4354 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4355 6 | import { createStore } from '@/store';
4356
4357
4358error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:4:28:
4359 2 | import Modal from '@/components/Modal.vue';
4360 3 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
4361> 4 | import { MessageKey } from '@/common/MessageKey';
4362 | ^
4363 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4364 6 | import { createStore } from '@/store';
4365 7 |
4366
4367
4368error: "@/store" is not found (node/no-missing-import) at stories/AnonEditWarning.stories.js:6:29:
4369 4 | import { MessageKey } from '@/common/MessageKey';
4370 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4371> 6 | import { createStore } from '@/store';
4372 | ^
4373 7 |
4374 8 | storiesOf( 'AnonEditWarning', module )
4375 9 | .addParameters( { component: AnonEditWarning } )
4376
4377
4378error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at stories/Checkbox.stories.js:3:22:
4379 1 | import { storiesOf } from '@storybook/vue';
4380 2 | import { text, boolean } from '@storybook/addon-knobs';
4381> 3 | import Checkbox from '@/components/Checkbox.vue';
4382 | ^
4383 4 |
4384 5 | storiesOf( 'Checkbox', module )
4385 6 | .addParameters( { component: Checkbox } )
4386
4387
4388warning: Unused eslint-disable directive (no problems were reported from 'max-len') (null) at stories/Checkbox.stories.js:17:3:
4389 15 | },
4390 16 | },
4391> 17 | // eslint-disable-next-line max-len
4392 | ^
4393 18 | template: '<Checkbox v-model="isChecked" :html-value="\'A value\'" :label="label" />',
4394 19 | } ) );
4395 20 |
4396
4397
4398error: "@/components/Description.vue" is not found (node/no-missing-import) at stories/Description.stories.js:2:25:
4399 1 | import { storiesOf } from '@storybook/vue';
4400> 2 | import Description from '@/components/Description.vue';
4401 | ^
4402 3 |
4403 4 | storiesOf( 'Description', module )
4404 5 | .addParameters( { component: Description } )
4405
4406
4407error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:2:29:
4408 1 | import { storiesOf } from '@storybook/vue';
4409> 2 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
4410 | ^
4411 3 | import { MessageKey } from '@/common/MessageKey';
4412 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4413 5 | import Vue from 'vue';
4414
4415
4416error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:3:28:
4417 1 | import { storiesOf } from '@storybook/vue';
4418 2 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
4419> 3 | import { MessageKey } from '@/common/MessageKey';
4420 | ^
4421 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4422 5 | import Vue from 'vue';
4423 6 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4424
4425
4426error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/DescriptionEdit.stories.js:6:28:
4427 4 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4428 5 | import Vue from 'vue';
4429> 6 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4430 | ^
4431 7 |
4432 8 | storiesOf( 'DescriptionEdit', module )
4433 9 | .addParameters( { component: DescriptionEdit } )
4434
4435
4436error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at stories/EventEmittingButton.stories.js:6:33:
4437 4 | boolean,
4438 5 | } from '@storybook/addon-knobs';
4439> 6 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
4440 | ^
4441 7 |
4442 8 | storiesOf( 'EventEmittingButton', module )
4443 9 | .addParameters( { component: EventEmittingButton } )
4444
4445
4446error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at stories/IconMessageBox.stories.js:2:28:
4447 1 | import { storiesOf } from '@storybook/vue';
4448> 2 | import IconMessageBox from '@/components/IconMessageBox.vue';
4449 | ^
4450 3 | import {
4451 4 | optionsKnob as options,
4452 5 | text,
4453
4454
4455error: "@/components/Label.vue" is not found (node/no-missing-import) at stories/Label.stories.js:3:19:
4456 1 | import { storiesOf } from '@storybook/vue';
4457 2 | import { boolean } from '@storybook/addon-knobs';
4458> 3 | import Label from '@/components/Label.vue';
4459 | ^
4460 4 |
4461 5 | storiesOf( 'Label', module )
4462 6 | .addParameters( { component: Label } )
4463
4464
4465error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:3:23:
4466 1 | import { storiesOf } from '@storybook/vue';
4467 2 | import { boolean } from '@storybook/addon-knobs';
4468> 3 | import LabelEdit from '@/components/LabelEdit.vue';
4469 | ^
4470 4 | import { MessageKey } from '@/common/MessageKey';
4471 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4472 6 | import Vue from 'vue';
4473
4474
4475error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:4:28:
4476 2 | import { boolean } from '@storybook/addon-knobs';
4477 3 | import LabelEdit from '@/components/LabelEdit.vue';
4478> 4 | import { MessageKey } from '@/common/MessageKey';
4479 | ^
4480 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4481 6 | import Vue from 'vue';
4482 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4483
4484
4485error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/LabelEdit.stories.js:7:28:
4486 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4487 6 | import Vue from 'vue';
4488> 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4489 | ^
4490 8 |
4491 9 | storiesOf( 'LabelEdit', module )
4492 10 | .addParameters( { component: LabelEdit } )
4493
4494
4495error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:2:19:
4496 1 | import { storiesOf } from '@storybook/vue';
4497> 2 | import Modal from '@/components/Modal.vue';
4498 | ^
4499 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4500 4 | import { MessageKey } from '@/common/MessageKey';
4501 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4502
4503
4504error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:3:30:
4505 1 | import { storiesOf } from '@storybook/vue';
4506 2 | import Modal from '@/components/Modal.vue';
4507> 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4508 | ^
4509 4 | import { MessageKey } from '@/common/MessageKey';
4510 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4511 6 | import { createStore } from '@/store';
4512
4513
4514error: "@/common/MessageKey" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:4:28:
4515 2 | import Modal from '@/components/Modal.vue';
4516 3 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
4517> 4 | import { MessageKey } from '@/common/MessageKey';
4518 | ^
4519 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4520 6 | import { createStore } from '@/store';
4521 7 | import Vue from 'vue';
4522
4523
4524error: "@/store" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:6:29:
4525 4 | import { MessageKey } from '@/common/MessageKey';
4526 5 | import stubMessagesMixin from '../.storybook/helpers/stubMessagesMixin';
4527> 6 | import { createStore } from '@/store';
4528 | ^
4529 7 | import Vue from 'vue';
4530 8 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4531 9 |
4532
4533
4534error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at stories/LicenseAgreement.stories.js:8:28:
4535 6 | import { createStore } from '@/store';
4536 7 | import Vue from 'vue';
4537> 8 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4538 | ^
4539 9 |
4540 10 | Vue.mixin( newConfigMixin( {
4541 11 | textFieldCharacterLimit: 0,
4542
4543
4544error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at stories/MessageBanner.stories.js:2:27:
4545 1 | import { storiesOf } from '@storybook/vue';
4546> 2 | import MessageBanner from '@/components/MessageBanner.vue';
4547 | ^
4548 3 | import IconMessageBox from '@/components/IconMessageBox.vue';
4549 4 |
4550 5 | storiesOf( 'MessageBanner', module )
4551
4552
4553error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at stories/MessageBanner.stories.js:3:28:
4554 1 | import { storiesOf } from '@storybook/vue';
4555 2 | import MessageBanner from '@/components/MessageBanner.vue';
4556> 3 | import IconMessageBox from '@/components/IconMessageBox.vue';
4557 | ^
4558 4 |
4559 5 | storiesOf( 'MessageBanner', module )
4560 6 | .addParameters( { component: MessageBanner } )
4561
4562
4563error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/Modal.stories.js:2:19:
4564 1 | import { storiesOf } from '@storybook/vue';
4565> 2 | import Modal from '@/components/Modal.vue';
4566 | ^
4567 3 |
4568 4 | storiesOf( 'Modal', module )
4569 5 | .addParameters( { component: Modal } )
4570
4571
4572error: "@/components/Overlay.vue" is not found (node/no-missing-import) at stories/Overlay.stories.js:2:21:
4573 1 | import { storiesOf } from '@storybook/vue';
4574> 2 | import Overlay from '@/components/Overlay.vue';
4575 | ^
4576 3 | import Modal from '@/components/Modal.vue';
4577 4 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
4578 5 |
4579
4580
4581error: "@/components/Modal.vue" is not found (node/no-missing-import) at stories/Overlay.stories.js:3:19:
4582 1 | import { storiesOf } from '@storybook/vue';
4583 2 | import Overlay from '@/components/Overlay.vue';
4584> 3 | import Modal from '@/components/Modal.vue';
4585 | ^
4586 4 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
4587 5 |
4588 6 | storiesOf( 'Overlay', module )
4589
4590
4591error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at tests/config/JestCustomEnvironment.js:6:3:
4592 4 | constructor( config, context ) {
4593 5 | super( config, context );
4594> 6 | Object.assign( context.console, {
4595 | ^
4596 7 | error( ...args ) {
4597 8 | throw new Error(
4598 9 | `Unexpected call of console.error() with:\n\n${args.join( ', ' )}`,
4599
4600
4601error: "@/client/directives" is not found (node/no-missing-import) at tests/config/setup.ts:2:8:
4602 1 | import Vue from 'vue';
4603> 2 | import '@/client/directives';
4604 | ^
4605 3 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4606 4 |
4607 5 | beforeEach( () => {
4608
4609
4610error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/config/setup.ts:3:28:
4611 1 | import Vue from 'vue';
4612 2 | import '@/client/directives';
4613> 3 | import newConfigMixin from '@/components/mixins/newConfigMixin';
4614 | ^
4615 4 |
4616 5 | beforeEach( () => {
4617 6 | expect.hasAssertions();
4618
4619
4620error: "@/mock-data/data/Q64_data.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:2:21:
4621 1 | import request from 'supertest';
4622> 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4623 | ^
4624 3 | import openApiJson from '@/../openapi.json';
4625 4 | import createApp from '@/server/app';
4626 5 | import nock from 'nock';
4627
4628
4629error: "@/../openapi.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:3:25:
4630 1 | import request from 'supertest';
4631 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4632> 3 | import openApiJson from '@/../openapi.json';
4633 | ^
4634 4 | import createApp from '@/server/app';
4635 5 | import nock from 'nock';
4636 6 | import 'jest-dom/extend-expect';
4637
4638
4639error: "@/server/app" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:4:23:
4640 2 | import mockQ64 from '@/mock-data/data/Q64_data.json';
4641 3 | import openApiJson from '@/../openapi.json';
4642> 4 | import createApp from '@/server/app';
4643 | ^
4644 5 | import nock from 'nock';
4645 6 | import 'jest-dom/extend-expect';
4646 7 | import HttpStatus from 'http-status-codes';
4647
4648
4649error: "@/mock-data/data/de_messages_data.json" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:9:22:
4650 7 | import HttpStatus from 'http-status-codes';
4651 8 | import Vue from 'vue';
4652> 9 | import messages from '@/mock-data/data/de_messages_data.json';
4653 | ^
4654 10 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
4655 11 | import axios from 'axios';
4656 12 | import httpAdapter from 'axios/lib/adapters/http';
4657
4658
4659error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:10:36:
4660 8 | import Vue from 'vue';
4661 9 | import messages from '@/mock-data/data/de_messages_data.json';
4662> 10 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
4663 | ^
4664 11 | import axios from 'axios';
4665 12 | import httpAdapter from 'axios/lib/adapters/http';
4666 13 | import { MessageKey } from '@/common/MessageKey';
4667
4668
4669error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:13:28:
4670 11 | import axios from 'axios';
4671 12 | import httpAdapter from 'axios/lib/adapters/http';
4672> 13 | import { MessageKey } from '@/common/MessageKey';
4673 | ^
4674 14 | /**
4675 15 | * arguably we could not add GLOBAL_REQUEST_PARAMS to neither axios (building the request)
4676 16 | * nor nock (mocking the response) but this way it is closer to reality (cf. server.ts)
4677
4678
4679error: "@/common/constants" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:18:85:
4680 16 | * nor nock (mocking the response) but this way it is closer to reality (cf. server.ts)
4681 17 | */
4682> 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4683 | ^
4684 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4685 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4686 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4687
4688
4689error: "@/server/data-access/AxiosSpecialPageEntityRepo" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:19:40:
4690 17 | */
4691 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4692> 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4693 | ^
4694 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4695 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4696 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4697
4698
4699error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:20:36:
4700 18 | import { MEDIAWIKI_API_SCRIPT, MEDIAWIKI_INDEX_SCRIPT, GLOBAL_REQUEST_PARAMS } from '@/common/constants';
4701 19 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
4702> 20 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
4703 | ^
4704 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4705 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4706 23 | import Metrics from '@/server/Metrics';
4707
4708
4709error: "@/server/Metrics" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:23:21:
4710 21 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
4711 22 | import OpenAPIRequestValidator from 'openapi-request-validator';
4712> 23 | import Metrics from '@/server/Metrics';
4713 | ^
4714 24 | import qs from 'querystring';
4715 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4716 26 | import MessageCollection from '@/datamodel/MessageCollection';
4717
4718
4719error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:25:26:
4720 23 | import Metrics from '@/server/Metrics';
4721 24 | import qs from 'querystring';
4722> 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4723 | ^
4724 26 | import MessageCollection from '@/datamodel/MessageCollection';
4725 27 |
4726 28 | /**
4727
4728
4729error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at tests/edge-to-edge/server/app.spec.ts:26:31:
4730 24 | import qs from 'querystring';
4731 25 | import { TermList } from '@wmde/wikibase-datamodel-types';
4732> 26 | import MessageCollection from '@/datamodel/MessageCollection';
4733 | ^
4734 27 |
4735 28 | /**
4736 29 | * edge-to-edge tests are simulating actual requests against the server
4737
4738
4739error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/edge-to-edge/server/app.spec.ts:136:22:
4740 134 |
4741 135 | function nockSuccessfulMessagesLoading( inLanguage: string ) {
4742> 136 | const messageKeys = Object.values( MessageKey );
4743 | ^
4744 137 | nock( WIKIBASE_TEST_HOST )
4745 138 | .get( WIKIBASE_TEST_API_PATH )
4746 139 | .query( {
4747
4748
4749error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/edge-to-edge/server/app.spec.ts:319:17:
4750 317 | action: 'query',
4751 318 | meta: 'allmessages',
4752> 319 | ammessages: Object.values( MessageKey ).join( '|' ),
4753 | ^
4754 320 | amlang: language,
4755 321 | ...GLOBAL_REQUEST_PARAMS,
4756 322 | } )
4757
4758
4759error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/newFingerprintable.ts:1:35:
4760> 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
4761 | ^
4762 2 | import { Term } from '@wmde/wikibase-datamodel-types';
4763 3 |
4764 4 | function stringListToTermListMap( values: { [ language: string ]: string[] } ) {
4765
4766
4767error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at tests/newFingerprintable.ts:2:22:
4768 1 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
4769> 2 | import { Term } from '@wmde/wikibase-datamodel-types';
4770 | ^
4771 3 |
4772 4 | function stringListToTermListMap( values: { [ language: string ]: string[] } ) {
4773 5 | const aliases: { [ language: string ]: Term[] } = {};
4774
4775
4776error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at tests/newFingerprintable.ts:7:2:
4777 5 | const aliases: { [ language: string ]: Term[] } = {};
4778 6 |
4779> 7 | Object.entries( values ).forEach( ( [ language, aliasValues ] ) => {
4780 | ^
4781 8 | aliases[ language ] = aliasValues.map( ( value ) => ( { language, value } ) );
4782 9 | } );
4783 10 |
4784
4785
4786error: ES2017 'Object.entries' method is forbidden (es/no-object-entries) at tests/newFingerprintable.ts:17:2:
4787 15 | const terms: { [ language: string ]: Term } = {};
4788 16 |
4789> 17 | Object.entries( values ).forEach( ( [ language, value ] ) => {
4790 | ^
4791 18 | terms[ language ] = { language, value };
4792 19 | } );
4793 20 |
4794
4795
4796error: Use the global form of 'use strict' (strict) at tests/selenium/.eslintrc.js:1:1:
4797> 1 | module.exports = {
4798 | ^
4799 2 | root: true,
4800 3 | extends: ["wikimedia/selenium"],
4801 4 | };
4802
4803
4804error: Expected indentation of 1 tab but found 2 spaces (indent) at tests/selenium/.eslintrc.js:2:1:
4805 1 | module.exports = {
4806> 2 | root: true,
4807 | ^
4808 3 | extends: ["wikimedia/selenium"],
4809 4 | };
4810 5 |
4811
4812
4813error: Expected indentation of 1 tab but found 2 spaces (indent) at tests/selenium/.eslintrc.js:3:1:
4814 1 | module.exports = {
4815 2 | root: true,
4816> 3 | extends: ["wikimedia/selenium"],
4817 | ^
4818 4 | };
4819 5 |
4820
4821
4822error: A space is required after '[' (array-bracket-spacing) at tests/selenium/.eslintrc.js:3:12:
4823 1 | module.exports = {
4824 2 | root: true,
4825> 3 | extends: ["wikimedia/selenium"],
4826 | ^
4827 4 | };
4828 5 |
4829
4830
4831error: Strings must use singlequote (quotes) at tests/selenium/.eslintrc.js:3:13:
4832 1 | module.exports = {
4833 2 | root: true,
4834> 3 | extends: ["wikimedia/selenium"],
4835 | ^
4836 4 | };
4837 5 |
4838
4839
4840error: A space is required before ']' (array-bracket-spacing) at tests/selenium/.eslintrc.js:3:33:
4841 1 | module.exports = {
4842 2 | root: true,
4843> 3 | extends: ["wikimedia/selenium"],
4844 | ^
4845 4 | };
4846 5 |
4847
4848
4849error: Unexpected trailing comma (comma-dangle) at tests/selenium/.eslintrc.js:3:34:
4850 1 | module.exports = {
4851 2 | root: true,
4852> 3 | extends: ["wikimedia/selenium"],
4853 | ^
4854 4 | };
4855 5 |
4856
4857
4858error: Use the global form of 'use strict' (strict) at tests/selenium/TermboxLanguages.js:1:1:
4859> 1 | const Page = require( 'wdio-mediawiki/Page' );
4860 | ^
4861 2 |
4862 3 | module.exports = class TermboxLanguages {
4863 4 |
4864
4865
4866error: "wdio-mediawiki/Page" is not found (node/no-missing-require) at tests/selenium/TermboxLanguages.js:1:23:
4867> 1 | const Page = require( 'wdio-mediawiki/Page' );
4868 | ^
4869 2 |
4870 3 | module.exports = class TermboxLanguages {
4871 4 |
4872
4873
4874warning: This line has a length of 119. Maximum allowed is 100 (max-len) at tests/selenium/TermboxLanguages.js:12:1:
4875 10 | static initWithUseLang( language ) {
4876 11 | ( new Page() ).openTitle(
4877> 12 | // We're intentionally opening an Item page that does not (need to) exist. This page is only opened to call
4878 | ^
4879 13 | // `wikibase.getUserLanguages` which accesses a JS config variable that only exists on pages that run
4880 14 | // Wikibase's OutputPageBeforeHTML hook handler.
4881 15 | 'Item:Q123',
4882
4883
4884warning: This line has a length of 113. Maximum allowed is 100 (max-len) at tests/selenium/TermboxLanguages.js:13:1:
4885 11 | ( new Page() ).openTitle(
4886 12 | // We're intentionally opening an Item page that does not (need to) exist. This page is only opened to call
4887> 13 | // `wikibase.getUserLanguages` which accesses a JS config variable that only exists on pages that run
4888 | ^
4889 14 | // Wikibase's OutputPageBeforeHTML hook handler.
4890 15 | 'Item:Q123',
4891 16 | { uselang: language }
4892
4893
4894error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:21:21:
4895 19 | browser.waitUntil( () => {
4896 20 | return browser.execute( () => {
4897> 21 | return ( typeof window.mw.loader === 'object' && typeof window.mw.loader.using === 'function' );
4898 | ^
4899 22 | } ) === true;
4900 23 | } );
4901 24 |
4902
4903
4904error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:21:61:
4905 19 | browser.waitUntil( () => {
4906 20 | return browser.execute( () => {
4907> 21 | return ( typeof window.mw.loader === 'object' && typeof window.mw.loader.using === 'function' );
4908 | ^
4909 22 | } ) === true;
4910 23 | } );
4911 24 |
4912
4913
4914error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:27:5:
4915 25 | return new this(
4916 26 | browser.executeAsync( ( done ) => {
4917> 27 | window.mw.loader.using( [ 'ext.uls.mediawiki', 'wikibase.getUserLanguages' ], () => {
4918 | ^
4919 28 | done( window.wb.getUserLanguages() );
4920 29 | } );
4921 30 | } ),
4922
4923
4924error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:28:12:
4925 26 | browser.executeAsync( ( done ) => {
4926 27 | window.mw.loader.using( [ 'ext.uls.mediawiki', 'wikibase.getUserLanguages' ], () => {
4927> 28 | done( window.wb.getUserLanguages() );
4928 | ^
4929 29 | } );
4930 30 | } ),
4931 31 | browser.executeAsync( ( done ) => {
4932
4933
4934error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:32:5:
4935 30 | } ),
4936 31 | browser.executeAsync( ( done ) => {
4937> 32 | window.mw.loader.using( [ 'wikibase.WikibaseContentLanguages' ], () => {
4938 | ^
4939 33 | done( new window.wb.WikibaseContentLanguages().getAllPairs() );
4940 34 | } );
4941 35 | } )
4942
4943
4944error: 'window' is not defined (no-undef) at tests/selenium/TermboxLanguages.js:33:16:
4945 31 | browser.executeAsync( ( done ) => {
4946 32 | window.mw.loader.using( [ 'wikibase.WikibaseContentLanguages' ], () => {
4947> 33 | done( new window.wb.WikibaseContentLanguages().getAllPairs() );
4948 | ^
4949 34 | } );
4950 35 | } )
4951 36 | );
4952
4953
4954error: Use the global form of 'use strict' (strict) at tests/selenium/createTermsInLanguages.js:1:1:
4955> 1 | const MWUtil = require( 'wdio-mediawiki/Util' );
4956 | ^
4957 2 |
4958 3 | function newTerm( language ) {
4959 4 | return { language, value: MWUtil.getTestString() };
4960
4961
4962error: "wdio-mediawiki/Util" is not found (node/no-missing-require) at tests/selenium/createTermsInLanguages.js:1:25:
4963> 1 | const MWUtil = require( 'wdio-mediawiki/Util' );
4964 | ^
4965 2 |
4966 3 | function newTerm( language ) {
4967 4 | return { language, value: MWUtil.getTestString() };
4968
4969
4970error: "wdio-mediawiki/Page" is not found (node/no-missing-require) at tests/selenium/pageobjects/Termbox.page.js:2:23:
4971 1 | 'use strict';
4972> 2 | const Page = require( 'wdio-mediawiki/Page' );
4973 | ^
4974 3 |
4975 4 | class TermboxPage extends Page {
4976 5 | get editButton() {
4977
4978
4979error: Unexpected trailing comma (comma-dangle) at tests/selenium/pageobjects/Termbox.page.js:31:66:
4980 29 | label: monolingualFingerprint.$( '.wb-ui-label' ),
4981 30 | description: monolingualFingerprint.$( '.wb-ui-description' ),
4982> 31 | aliases: monolingualFingerprint.$$( '.wb-ui-aliases__alias' ),
4983 | ^
4984 32 | };
4985 33 | } );
4986 34 | }
4987
4988
4989error: Unexpected trailing comma (comma-dangle) at tests/selenium/pageobjects/Termbox.page.js:41:89:
4990 39 | label: monolingualFingerprint.$( '.wb-ui-label-edit' ),
4991 40 | description: monolingualFingerprint.$( '.wb-ui-description-edit' ),
4992> 41 | getNthAlias: ( n ) => monolingualFingerprint.$$( '.wb-ui-aliases-edit__alias' )[ n ],
4993 | ^
4994 42 | };
4995 43 | } );
4996 44 | }
4997
4998
4999warning: This line has a length of 106. Maximum allowed is 100 (max-len) at tests/selenium/pageobjects/Termbox.page.js:105:1:
5000 103 | waitForTermboxToLoad() {
5001 104 | // The "all entered languages" section only exists in the client-side rendered markup,
5002> 105 | // and is omitted from the server-side markup. Once it exists Termbox should be fully interactive.
5003 | ^
5004 106 | this.allEnteredLanguagesButton.waitForExist();
5005 107 | }
5006 108 |
5007
5008
5009error: Use the global form of 'use strict' (strict) at tests/selenium/specs/AnonEditWarning.spec.js:1:1:
5010> 1 | const assert = require( 'assert' );
5011 | ^
5012 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5013 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5014 4 | const LoginPage = require( 'wdio-mediawiki/LoginPage' );
5015
5016
5017error: "wdio-wikibase/wikibase.api" is not found (node/no-missing-require) at tests/selenium/specs/AnonEditWarning.spec.js:3:30:
5018 1 | const assert = require( 'assert' );
5019 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5020> 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5021 | ^
5022 4 | const LoginPage = require( 'wdio-mediawiki/LoginPage' );
5023 5 |
5024 6 | describe( 'Termbox: AnonEditWarning', () => {
5025
5026
5027error: "wdio-mediawiki/LoginPage" is not found (node/no-missing-require) at tests/selenium/specs/AnonEditWarning.spec.js:4:28:
5028 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5029 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5030> 4 | const LoginPage = require( 'wdio-mediawiki/LoginPage' );
5031 | ^
5032 5 |
5033 6 | describe( 'Termbox: AnonEditWarning', () => {
5034 7 | let id;
5035
5036
5037error: Use the global form of 'use strict' (strict) at tests/selenium/specs/LicenseOverlay.spec.js:1:1:
5038> 1 | const assert = require( 'assert' );
5039 | ^
5040 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5041 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5042 4 |
5043
5044
5045error: "wdio-wikibase/wikibase.api" is not found (node/no-missing-require) at tests/selenium/specs/LicenseOverlay.spec.js:3:30:
5046 1 | const assert = require( 'assert' );
5047 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5048> 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5049 | ^
5050 4 |
5051 5 | describe( 'Termbox: LicenseOverlay', () => {
5052 6 | let id;
5053
5054
5055error: Use the global form of 'use strict' (strict) at tests/selenium/specs/editing.spec.js:1:1:
5056> 1 | const assert = require( 'assert' );
5057 | ^
5058 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5059 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5060 4 | const MWUtil = require( 'wdio-mediawiki/Util' );
5061
5062
5063error: "wdio-wikibase/wikibase.api" is not found (node/no-missing-require) at tests/selenium/specs/editing.spec.js:3:30:
5064 1 | const assert = require( 'assert' );
5065 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5066> 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5067 | ^
5068 4 | const MWUtil = require( 'wdio-mediawiki/Util' );
5069 5 |
5070 6 | describe( 'Termbox: editing', () => {
5071
5072
5073error: "wdio-mediawiki/Util" is not found (node/no-missing-require) at tests/selenium/specs/editing.spec.js:4:25:
5074 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5075 3 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5076> 4 | const MWUtil = require( 'wdio-mediawiki/Util' );
5077 | ^
5078 5 |
5079 6 | describe( 'Termbox: editing', () => {
5080 7 | let id;
5081
5082
5083error: Use the global form of 'use strict' (strict) at tests/selenium/specs/reading.spec.js:1:1:
5084> 1 | const assert = require( 'assert' );
5085 | ^
5086 2 | const TermboxPage = require( '../pageobjects/Termbox.page' );
5087 3 | const TermboxLanguages = require( '../TermboxLanguages' );
5088 4 | const createTermsInLanguages = require( '../createTermsInLanguages' );
5089
5090
5091error: "wdio-wikibase/wikibase.api" is not found (node/no-missing-require) at tests/selenium/specs/reading.spec.js:5:30:
5092 3 | const TermboxLanguages = require( '../TermboxLanguages' );
5093 4 | const createTermsInLanguages = require( '../createTermsInLanguages' );
5094> 5 | const WikibaseApi = require( 'wdio-wikibase/wikibase.api' );
5095 | ^
5096 6 |
5097 7 | function assertMonolingualFingerprintHasTermsInLanguage( elements, expectedTerms, language ) {
5098 8 | assert.strictEqual(
5099
5100
5101error: "@/client/axios/assertUserRequestInterceptor" is not found (node/no-missing-import) at tests/unit/client/axios/assertUserRequestInterceptor.spec.ts:4:42:
5102 2 | import axios from 'axios';
5103 3 | import HttpStatus from 'http-status-codes';
5104> 4 | import assertUserRequestInterceptor from '@/client/axios/assertUserRequestInterceptor';
5105 | ^
5106 5 |
5107 6 | const scriptPath = 'fake.php';
5108 7 |
5109
5110
5111error: "@/client/axios/axiosFactory" is not found (node/no-missing-import) at tests/unit/client/axios/axiosFactory.spec.ts:1:26:
5112> 1 | import axiosFactory from '@/client/axios/axiosFactory';
5113 | ^
5114 2 | import MockAdapter from 'axios-mock-adapter';
5115 3 | import HttpStatus from 'http-status-codes';
5116 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5117
5118
5119error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/axios/axiosFactory.spec.ts:4:38:
5120 2 | import MockAdapter from 'axios-mock-adapter';
5121 3 | import HttpStatus from 'http-status-codes';
5122> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5123 | ^
5124 5 |
5125 6 | const mockRequestBaseURL = 'foo';
5126 7 | const mockUsername = 'PacMan';
5127
5128
5129error: 'axiosMock' is already declared in the upper scope (no-shadow) at tests/unit/client/axios/axiosFactory.spec.ts:11:28:
5130 9 | const axiosMock = new MockAdapter( axios );
5131 10 |
5132> 11 | function addMockCSRFReply( axiosMock: MockAdapter ) {
5133 | ^
5134 12 | axiosMock.onGet( MEDIAWIKI_API_SCRIPT ).reply( HttpStatus.OK, {
5135 13 | batchcomplete: '',
5136 14 | query: {
5137
5138
5139error: "@/client/axios/editTokenRequestInterceptor" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:3:41:
5140 1 | import MockAdapter from 'axios-mock-adapter';
5141 2 | import axios, { AxiosRequestConfig } from 'axios';
5142> 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5143 | ^
5144 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5145 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5146 6 | import HttpStatus from 'http-status-codes';
5147
5148
5149error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:4:38:
5150 2 | import axios, { AxiosRequestConfig } from 'axios';
5151 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5152> 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5153 | ^
5154 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5155 6 | import HttpStatus from 'http-status-codes';
5156 7 |
5157
5158
5159error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/axios/editTokenRequestInterceptor.spec.ts:5:30:
5160 3 | import editTokenRequestInterceptor from '@/client/axios/editTokenRequestInterceptor';
5161 4 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5162> 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5163 | ^
5164 6 | import HttpStatus from 'http-status-codes';
5165 7 |
5166 8 | const axiosMock = new MockAdapter( axios );
5167
5168
5169error: "@/client/axios/formDataRequestTransformation" is not found (node/no-missing-import) at tests/unit/client/axios/formDataRequestTransformation.spec.ts:1:43:
5170> 1 | import formDataRequestTransformation from '@/client/axios/formDataRequestTransformation';
5171 | ^
5172 2 |
5173 3 | describe( 'formDataRequestTransformation', () => {
5174 4 |
5175
5176
5177error: "@/client/buildAndAttemptHydration" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:1:38:
5178> 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5179 | ^
5180 2 | import TermboxServices from '@/common/TermboxServices';
5181 3 | import TermboxRequest from '@/common/TermboxRequest';
5182 4 |
5183
5184
5185error: "@/common/TermboxServices" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:2:29:
5186 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5187> 2 | import TermboxServices from '@/common/TermboxServices';
5188 | ^
5189 3 | import TermboxRequest from '@/common/TermboxRequest';
5190 4 |
5191 5 | const mockBuildApp = jest.fn();
5192
5193
5194error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/client/buildAndAttemptHydration.spec.ts:3:28:
5195 1 | import buildAndAttemptHydration from '@/client/buildAndAttemptHydration';
5196 2 | import TermboxServices from '@/common/TermboxServices';
5197> 3 | import TermboxRequest from '@/common/TermboxRequest';
5198 | ^
5199 4 |
5200 5 | const mockBuildApp = jest.fn();
5201 6 | jest.mock( '@/common/buildApp', () => ( {
5202
5203
5204error: "@/client/data-access/AxiosWritingEntityRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:1:42:
5205> 1 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
5206 | ^
5207 2 | import newFingerprintable from '../../../newFingerprintable';
5208 3 | import MockAdapter from 'axios-mock-adapter';
5209 4 | import axios from 'axios';
5210
5211
5212error: "../../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:2:32:
5213 1 | import AxiosWritingEntityRepository from '@/client/data-access/AxiosWritingEntityRepository';
5214> 2 | import newFingerprintable from '../../../newFingerprintable';
5215 | ^
5216 3 | import MockAdapter from 'axios-mock-adapter';
5217 4 | import axios from 'axios';
5218 5 | import HttpStatus from 'http-status-codes';
5219
5220
5221error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:6:38:
5222 4 | import axios from 'axios';
5223 5 | import HttpStatus from 'http-status-codes';
5224> 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5225 | ^
5226 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5227 8 | import EntityRevision from '@/datamodel/EntityRevision';
5228 9 | import EntityInitializer from '@/common/EntityInitializer';
5229
5230
5231error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:7:30:
5232 5 | import HttpStatus from 'http-status-codes';
5233 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5234> 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5235 | ^
5236 8 | import EntityRevision from '@/datamodel/EntityRevision';
5237 9 | import EntityInitializer from '@/common/EntityInitializer';
5238 10 |
5239
5240
5241error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:8:28:
5242 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5243 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5244> 8 | import EntityRevision from '@/datamodel/EntityRevision';
5245 | ^
5246 9 | import EntityInitializer from '@/common/EntityInitializer';
5247 10 |
5248 11 | const axiosMock = new MockAdapter( axios );
5249
5250
5251error: "@/common/EntityInitializer" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingEntityRepository.spec.ts:9:31:
5252 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5253 8 | import EntityRevision from '@/datamodel/EntityRevision';
5254> 9 | import EntityInitializer from '@/common/EntityInitializer';
5255 | ^
5256 10 |
5257 11 | const axiosMock = new MockAdapter( axios );
5258 12 |
5259
5260
5261error: "@/client/data-access/AxiosWritingSingleUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:2:7:
5262 1 | import AxiosWritingSingleUserPreferenceRepository
5263> 2 | from '@/client/data-access/AxiosWritingSingleUserPreferenceRepository';
5264 | ^
5265 3 | import MockAdapter from 'axios-mock-adapter';
5266 4 | import axios from 'axios';
5267 5 | import HttpStatus from 'http-status-codes';
5268
5269
5270error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:6:38:
5271 4 | import axios from 'axios';
5272 5 | import HttpStatus from 'http-status-codes';
5273> 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5274 | ^
5275 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5276 8 |
5277 9 | const axiosMock = new MockAdapter( axios );
5278
5279
5280error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/client/data-access/AxiosWritingSingleUserPreferenceRepository.spec.ts:7:30:
5281 5 | import HttpStatus from 'http-status-codes';
5282 6 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
5283> 7 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
5284 | ^
5285 8 |
5286 9 | const axiosMock = new MockAdapter( axios );
5287 10 |
5288
5289
5290error: "@/client/data-access/BooleanCookieStore" is not found (node/no-missing-import) at tests/unit/client/data-access/BooleanCookieStore.spec.ts:1:55:
5291> 1 | import BooleanCookieStore, { truthyCookieValue } from '@/client/data-access/BooleanCookieStore';
5292 | ^
5293 2 |
5294 3 | describe( 'BooleanCookieStore', () => {
5295 4 |
5296
5297
5298error: "@/client/data-access/CookieUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/CookieUserPreferenceRepository.spec.ts:1:44:
5299> 1 | import CookieUserPreferenceRepository from '@/client/data-access/CookieUserPreferenceRepository';
5300 | ^
5301 2 |
5302 3 | describe( 'CookieUserPreferenceRepository', () => {
5303 4 |
5304
5305
5306error: "@/client/data-access/EntityRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:1:30:
5307> 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5308 | ^
5309 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5310 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5311 4 | import EntityInitializer from '@/common/EntityInitializer';
5312
5313
5314error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:2:35:
5315 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5316> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5317 | ^
5318 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5319 4 | import EntityInitializer from '@/common/EntityInitializer';
5320 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5321
5322
5323error: "@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:3:56:
5324 1 | import EntityRepository from '@/client/data-access/EntityRepository';
5325 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5326> 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5327 | ^
5328 4 | import EntityInitializer from '@/common/EntityInitializer';
5329 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5330 6 | import HookHandler from '@/client/mediawiki/HookHandler';
5331
5332
5333error: "@/common/EntityInitializer" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:4:31:
5334 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5335 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5336> 4 | import EntityInitializer from '@/common/EntityInitializer';
5337 | ^
5338 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5339 6 | import HookHandler from '@/client/mediawiki/HookHandler';
5340 7 |
5341
5342
5343error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:5:40:
5344 3 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5345 4 | import EntityInitializer from '@/common/EntityInitializer';
5346> 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5347 | ^
5348 6 | import HookHandler from '@/client/mediawiki/HookHandler';
5349 7 |
5350 8 | const REVISION_POSSIBLY_MATCHING_ENTITY = 1149; // this repo does not respect revisions
5351
5352
5353error: "@/client/mediawiki/HookHandler" is not found (node/no-missing-import) at tests/unit/client/data-access/EntityRepository.spec.ts:6:25:
5354 4 | import EntityInitializer from '@/common/EntityInitializer';
5355 5 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
5356> 6 | import HookHandler from '@/client/mediawiki/HookHandler';
5357 | ^
5358 7 |
5359 8 | const REVISION_POSSIBLY_MATCHING_ENTITY = 1149; // this repo does not respect revisions
5360 9 |
5361
5362
5363error: "@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository.spec.ts:2:7:
5364 1 | import MWUserOptionsReadingSingleUserPreferenceRepository
5365> 2 | from '@/client/data-access/MWUserOptionsReadingSingleUserPreferenceRepository';
5366 | ^
5367 3 |
5368 4 | describe( 'MWUserOptionsReadingSingleUserPreferenceRepository', () => {
5369 5 |
5370
5371
5372error: "@/client/data-access/MessagesRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/MessagesRepository.spec.ts:1:32:
5373> 1 | import MessagesRepository from '@/client/data-access/MessagesRepository';
5374 | ^
5375 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
5376 3 | import { MessageKey } from '@/common/MessageKey';
5377 4 | import MessageCollection from '@/datamodel/MessageCollection';
5378
5379
5380error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at tests/unit/client/data-access/MessagesRepository.spec.ts:2:27:
5381 1 | import MessagesRepository from '@/client/data-access/MessagesRepository';
5382> 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
5383 | ^
5384 3 | import { MessageKey } from '@/common/MessageKey';
5385 4 | import MessageCollection from '@/datamodel/MessageCollection';
5386 5 |
5387
5388
5389error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/client/data-access/MessagesRepository.spec.ts:3:28:
5390 1 | import MessagesRepository from '@/client/data-access/MessagesRepository';
5391 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
5392> 3 | import { MessageKey } from '@/common/MessageKey';
5393 | ^
5394 4 | import MessageCollection from '@/datamodel/MessageCollection';
5395 5 |
5396 6 | describe( 'MessagesRepository', () => {
5397
5398
5399error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at tests/unit/client/data-access/MessagesRepository.spec.ts:4:31:
5400 2 | import { MwMessage } from '@/client/mediawiki/MwWindow';
5401 3 | import { MessageKey } from '@/common/MessageKey';
5402> 4 | import MessageCollection from '@/datamodel/MessageCollection';
5403 | ^
5404 5 |
5405 6 | describe( 'MessagesRepository', () => {
5406 7 | it( 'get mw.message and the messages keys to build a message collection', () => {
5407
5408
5409error: "@/client/data-access/StringMWCookieStore" is not found (node/no-missing-import) at tests/unit/client/data-access/StringMWCookieStore.spec.ts:1:33:
5410> 1 | import StringMWCookieStore from '@/client/data-access/StringMWCookieStore';
5411 | ^
5412 2 |
5413 3 | describe( 'StringMWCookieStore', () => {
5414 4 |
5415
5416
5417error: "@/client/data-access/UlsLanguageRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/UlsLanguageRepository.spec.ts:1:35:
5418> 1 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
5419 | ^
5420 2 | import { StringTMap } from '@/datamodel/LanguageTranslations';
5421 3 |
5422 4 | describe( 'UlsLanguageRepository', () => {
5423
5424
5425error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at tests/unit/client/data-access/UlsLanguageRepository.spec.ts:2:28:
5426 1 | import UlsLanguageRepository from '@/client/data-access/UlsLanguageRepository';
5427> 2 | import { StringTMap } from '@/datamodel/LanguageTranslations';
5428 | ^
5429 3 |
5430 4 | describe( 'UlsLanguageRepository', () => {
5431 5 | it( 'get WikibaseContentLanguages and uls to build a language collection', () => {
5432
5433
5434error: "@/client/data-access/UlsLanguageTranslationRepository" is not found (node/no-missing-import) at tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts:1:46:
5435> 1 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
5436 | ^
5437 2 | import { StringTMap } from '@/datamodel/LanguageTranslations';
5438 3 |
5439 4 | describe( 'UlsLanguageTranslationRepository', () => {
5440
5441
5442error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at tests/unit/client/data-access/UlsLanguageTranslationRepository.spec.ts:2:28:
5443 1 | import UlsLanguageTranslationRepository from '@/client/data-access/UlsLanguageTranslationRepository';
5444> 2 | import { StringTMap } from '@/datamodel/LanguageTranslations';
5445 | ^
5446 3 |
5447 4 | describe( 'UlsLanguageTranslationRepository', () => {
5448 5 | it( 'gets the language name from the given function', () => {
5449
5450
5451error: "@/client/directives/focus" is not found (node/no-missing-import) at tests/unit/client/directives/focus.spec.ts:1:19:
5452> 1 | import focus from '@/client/directives/focus';
5453 | ^
5454 2 |
5455 3 | describe( 'focus directive', () => {
5456 4 | it( 'calls the focus method of an element', () => {
5457
5458
5459error: "@/client/directives/inlanguage" is not found (node/no-missing-import) at tests/unit/client/directives/inlanguage.spec.ts:1:24:
5460> 1 | import inlanguage from '@/client/directives/inlanguage';
5461 | ^
5462 2 | import Language from '@/datamodel/Language';
5463 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5464 4 | import { NS_LANGUAGE } from '@/store/namespaces';
5465
5466
5467error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/client/directives/inlanguage.spec.ts:2:22:
5468 1 | import inlanguage from '@/client/directives/inlanguage';
5469> 2 | import Language from '@/datamodel/Language';
5470 | ^
5471 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5472 4 | import { NS_LANGUAGE } from '@/store/namespaces';
5473 5 |
5474
5475
5476error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/client/directives/inlanguage.spec.ts:4:29:
5477 2 | import Language from '@/datamodel/Language';
5478 3 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5479> 4 | import { NS_LANGUAGE } from '@/store/namespaces';
5480 | ^
5481 5 |
5482 6 | describe( 'inlanguage directive', () => {
5483 7 | it( 'adds language properties to element\'s attributes', () => {
5484
5485
5486error: "@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler" is not found (node/no-missing-import) at tests/unit/client/init.spec.ts:1:56:
5487> 1 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5488 | ^
5489 2 | import init from '@/client/init';
5490 3 | import TermboxRequest from '@/common/TermboxRequest';
5491 4 | import MwWindow, { MwMessage } from '@/client/mediawiki/MwWindow';
5492
5493
5494error: "@/client/init" is not found (node/no-missing-import) at tests/unit/client/init.spec.ts:2:18:
5495 1 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5496> 2 | import init from '@/client/init';
5497 | ^
5498 3 | import TermboxRequest from '@/common/TermboxRequest';
5499 4 | import MwWindow, { MwMessage } from '@/client/mediawiki/MwWindow';
5500 5 |
5501
5502
5503error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/client/init.spec.ts:3:28:
5504 1 | import ImmediatelyInvokingEntityLoadedHookHandler from '@/mock-data/ImmediatelyInvokingEntityLoadedHookHandler';
5505 2 | import init from '@/client/init';
5506> 3 | import TermboxRequest from '@/common/TermboxRequest';
5507 | ^
5508 4 | import MwWindow, { MwMessage } from '@/client/mediawiki/MwWindow';
5509 5 |
5510 6 | const CURRENT_PAGE = '/entity/Q123';
5511
5512
5513error: "@/client/mediawiki/MwWindow" is not found (node/no-missing-import) at tests/unit/client/init.spec.ts:4:37:
5514 2 | import init from '@/client/init';
5515 3 | import TermboxRequest from '@/common/TermboxRequest';
5516> 4 | import MwWindow, { MwMessage } from '@/client/mediawiki/MwWindow';
5517 | ^
5518 5 |
5519 6 | const CURRENT_PAGE = '/entity/Q123';
5520 7 | const USER_NAME = 'Lord Voldemort';
5521
5522
5523error: "@/common/EntityInitializer" is not found (node/no-missing-import) at tests/unit/common/EntityInitializer.spec.ts:1:31:
5524> 1 | import EntityInitializer from '@/common/EntityInitializer';
5525 | ^
5526 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5527 3 |
5528 4 | function newEntityInitializer() {
5529
5530
5531error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/common/EntityInitializer.spec.ts:2:35:
5532 1 | import EntityInitializer from '@/common/EntityInitializer';
5533> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5534 | ^
5535 3 |
5536 4 | function newEntityInitializer() {
5537 5 | return new EntityInitializer();
5538
5539
5540error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/common/TermboxRequest.spec.ts:1:28:
5541> 1 | import TermboxRequest from '@/common/TermboxRequest';
5542 | ^
5543 2 | import TermboxLinks from '@/common/TermboxLinks';
5544 3 |
5545 4 | describe( 'TermboxRequest', () => {
5546
5547
5548error: "@/common/TermboxLinks" is not found (node/no-missing-import) at tests/unit/common/TermboxRequest.spec.ts:2:26:
5549 1 | import TermboxRequest from '@/common/TermboxRequest';
5550> 2 | import TermboxLinks from '@/common/TermboxLinks';
5551 | ^
5552 3 |
5553 4 | describe( 'TermboxRequest', () => {
5554 5 | it( 'takes arguments in constructor and then exposes them', () => {
5555
5556
5557error: "@/common/TermboxServices" is not found (node/no-missing-import) at tests/unit/common/TermboxServices.spec.ts:1:29:
5558> 1 | import TermboxServices from '@/common/TermboxServices';
5559 | ^
5560 2 | import { Services } from '@/common/TermboxServices';
5561 3 |
5562 4 | describe( 'TermboxServices', () => {
5563
5564
5565error: "@/common/TermboxServices" is not found (node/no-missing-import) at tests/unit/common/TermboxServices.spec.ts:2:26:
5566 1 | import TermboxServices from '@/common/TermboxServices';
5567> 2 | import { Services } from '@/common/TermboxServices';
5568 | ^
5569 3 |
5570 4 | describe( 'TermboxServices', () => {
5571 5 |
5572
5573
5574error: "@/common/buildApp" is not found (node/no-missing-import) at tests/unit/common/buildApp.spec.ts:1:22:
5575> 1 | import buildApp from '@/common/buildApp';
5576 | ^
5577 2 | import App from '@/components/App.vue';
5578 3 |
5579 4 | const mockGetChildComponents = jest.fn();
5580
5581
5582error: "@/components/App.vue" is not found (node/no-missing-import) at tests/unit/common/buildApp.spec.ts:2:17:
5583 1 | import buildApp from '@/common/buildApp';
5584> 2 | import App from '@/components/App.vue';
5585 | ^
5586 3 |
5587 4 | const mockGetChildComponents = jest.fn();
5588 5 | jest.mock( '@/common/getChildComponents', () => ( {
5589
5590
5591error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at tests/unit/common/data-access/AxiosTechnicalProblem.spec.ts:1:35:
5592> 1 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
5593 | ^
5594 2 |
5595 3 | describe( 'AxiosTechnicalProblem', () => {
5596 4 |
5597
5598
5599error: "@/common/data-access/CompoundUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/common/data-access/CompoundSingleUserPreferenceRepository.spec.ts:1:46:
5600> 1 | import CompoundUserPreferenceRepository from '@/common/data-access/CompoundUserPreferenceRepository';
5601 | ^
5602 2 |
5603 3 | describe( 'CompoundSingleUserPreferenceRepository', () => {
5604 4 |
5605
5606
5607error: "@/common/data-access/DelegatingUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/common/data-access/DelegatingUserPreferenceRepository.spec.ts:1:48:
5608> 1 | import DelegatingUserPreferenceRepository from '@/common/data-access/DelegatingUserPreferenceRepository';
5609 | ^
5610 2 |
5611 3 | describe( 'DelegatingUserPreferenceRepository', () => {
5612 4 |
5613
5614
5615error: "@/common/data-access/DispatchingUserPreferenceRepository" is not found (node/no-missing-import) at tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts:1:49:
5616> 1 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
5617 | ^
5618 2 | import { UserPreference } from '@/common/UserPreference';
5619 3 |
5620 4 | function newDispatchingUserPreferenceRepository( mapping: any ) {
5621
5622
5623error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/common/data-access/DispatchingUserPreferenceRepository.spec.ts:2:32:
5624 1 | import DispatchingUserPreferenceRepository from '@/common/data-access/DispatchingUserPreferenceRepository';
5625> 2 | import { UserPreference } from '@/common/UserPreference';
5626 | ^
5627 3 |
5628 4 | function newDispatchingUserPreferenceRepository( mapping: any ) {
5629 5 | return new DispatchingUserPreferenceRepository( mapping );
5630
5631
5632error: "@/common/error/ContextError" is not found (node/no-missing-import) at tests/unit/common/error/ContextError.spec.ts:1:26:
5633> 1 | import ContextError from '@/common/error/ContextError';
5634 | ^
5635 2 |
5636 3 | describe( 'ContextError', () => {
5637 4 |
5638
5639
5640error: "@/common/getChildComponents" is not found (node/no-missing-import) at tests/unit/common/getChildComponents.spec.ts:2:32:
5641 1 | import Vue from 'vue';
5642> 2 | import getChildComponents from '@/common/getChildComponents';
5643 | ^
5644 3 | import Component from 'vue-class-component';
5645 4 |
5646 5 | /* tslint:disable:max-classes-per-file */
5647
5648
5649error: "@/components/Aliases.vue" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:2:21:
5650 1 | import { shallowMount } from '@vue/test-utils';
5651> 2 | import Aliases from '@/components/Aliases.vue';
5652 | ^
5653 3 | import { createStore } from '@/store';
5654 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5655 5 | import { NS_LANGUAGE } from '@/store/namespaces';
5656
5657
5658error: "@/store" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:3:29:
5659 1 | import { shallowMount } from '@vue/test-utils';
5660 2 | import Aliases from '@/components/Aliases.vue';
5661> 3 | import { createStore } from '@/store';
5662 | ^
5663 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5664 5 | import { NS_LANGUAGE } from '@/store/namespaces';
5665 6 | import Language from '@/datamodel/Language';
5666
5667
5668error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:5:29:
5669 3 | import { createStore } from '@/store';
5670 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5671> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
5672 | ^
5673 6 | import Language from '@/datamodel/Language';
5674 7 | import { MessageKey } from '@/common/MessageKey';
5675 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5676
5677
5678error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:6:22:
5679 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5680 5 | import { NS_LANGUAGE } from '@/store/namespaces';
5681> 6 | import Language from '@/datamodel/Language';
5682 | ^
5683 7 | import { MessageKey } from '@/common/MessageKey';
5684 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5685 9 | import mockMessageMixin from '../store/mockMessageMixin';
5686
5687
5688error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:7:28:
5689 5 | import { NS_LANGUAGE } from '@/store/namespaces';
5690 6 | import Language from '@/datamodel/Language';
5691> 7 | import { MessageKey } from '@/common/MessageKey';
5692 | ^
5693 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5694 9 | import mockMessageMixin from '../store/mockMessageMixin';
5695 10 | import emptyServices from '../emptyServices';
5696
5697
5698error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:8:33:
5699 6 | import Language from '@/datamodel/Language';
5700 7 | import { MessageKey } from '@/common/MessageKey';
5701> 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5702 | ^
5703 9 | import mockMessageMixin from '../store/mockMessageMixin';
5704 10 | import emptyServices from '../emptyServices';
5705 11 |
5706
5707
5708error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:9:30:
5709 7 | import { MessageKey } from '@/common/MessageKey';
5710 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5711> 9 | import mockMessageMixin from '../store/mockMessageMixin';
5712 | ^
5713 10 | import emptyServices from '../emptyServices';
5714 11 |
5715 12 | function createStoreWithLanguage( language: Language ) {
5716
5717
5718error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/Aliases.spec.ts:10:27:
5719 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5720 9 | import mockMessageMixin from '../store/mockMessageMixin';
5721> 10 | import emptyServices from '../emptyServices';
5722 | ^
5723 11 |
5724 12 | function createStoreWithLanguage( language: Language ) {
5725 13 | const store = createStore( emptyServices as any );
5726
5727
5728error: "@/components/AliasesEdit.vue" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:3:25:
5729 1 | import Vue, { ComponentOptions, VNode } from 'vue';
5730 2 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
5731> 3 | import AliasesEdit from '@/components/AliasesEdit.vue';
5732 | ^
5733 4 | import { mount, shallowMount, Wrapper } from '@vue/test-utils';
5734 5 | import { createStore } from '@/store';
5735 6 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5736
5737
5738error: "@/store" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:5:29:
5739 3 | import AliasesEdit from '@/components/AliasesEdit.vue';
5740 4 | import { mount, shallowMount, Wrapper } from '@vue/test-utils';
5741> 5 | import { createStore } from '@/store';
5742 | ^
5743 6 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5744 7 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
5745 8 | import Language from '@/datamodel/Language';
5746
5747
5748error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:7:40:
5749 5 | import { createStore } from '@/store';
5750 6 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5751> 7 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
5752 | ^
5753 8 | import Language from '@/datamodel/Language';
5754 9 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5755 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5756
5757
5758error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:8:22:
5759 6 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5760 7 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
5761> 8 | import Language from '@/datamodel/Language';
5762 | ^
5763 9 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5764 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5765 11 | import newFingerprintable from '../../newFingerprintable';
5766
5767
5768error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:9:33:
5769 7 | import { NS_ENTITY, NS_LANGUAGE } from '@/store/namespaces';
5770 8 | import Language from '@/datamodel/Language';
5771> 9 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5772 | ^
5773 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5774 11 | import newFingerprintable from '../../newFingerprintable';
5775 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5776
5777
5778error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:10:58:
5779 8 | import Language from '@/datamodel/Language';
5780 9 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5781> 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5782 | ^
5783 11 | import newFingerprintable from '../../newFingerprintable';
5784 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5785 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5786
5787
5788error: "../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:11:32:
5789 9 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
5790 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5791> 11 | import newFingerprintable from '../../newFingerprintable';
5792 | ^
5793 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5794 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5795 14 | import { MessageKey } from '@/common/MessageKey';
5796
5797
5798error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:12:31:
5799 10 | import { ENTITY_ALIAS_REMOVE, ENTITY_ALIASES_EDIT } from '@/store/entity/actionTypes';
5800 11 | import newFingerprintable from '../../newFingerprintable';
5801> 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5802 | ^
5803 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5804 14 | import { MessageKey } from '@/common/MessageKey';
5805 15 | import mockMessageMixin from '../store/mockMessageMixin';
5806
5807
5808error: "@wmde/wikibase-datamodel-types" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:13:22:
5809 11 | import newFingerprintable from '../../newFingerprintable';
5810 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5811> 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5812 | ^
5813 14 | import { MessageKey } from '@/common/MessageKey';
5814 15 | import mockMessageMixin from '../store/mockMessageMixin';
5815 16 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
5816
5817
5818error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:14:28:
5819 12 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5820 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5821> 14 | import { MessageKey } from '@/common/MessageKey';
5822 | ^
5823 15 | import mockMessageMixin from '../store/mockMessageMixin';
5824 16 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
5825 17 | import emptyServices from '../emptyServices';
5826
5827
5828error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:15:30:
5829 13 | import { Term } from '@wmde/wikibase-datamodel-types';
5830 14 | import { MessageKey } from '@/common/MessageKey';
5831> 15 | import mockMessageMixin from '../store/mockMessageMixin';
5832 | ^
5833 16 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
5834 17 | import emptyServices from '../emptyServices';
5835 18 |
5836
5837
5838error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:16:47:
5839 14 | import { MessageKey } from '@/common/MessageKey';
5840 15 | import mockMessageMixin from '../store/mockMessageMixin';
5841> 16 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
5842 | ^
5843 17 | import emptyServices from '../emptyServices';
5844 18 |
5845 19 | function createStoreWithLanguage( language: Language ) {
5846
5847
5848error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/AliasesEdit.spec.ts:17:27:
5849 15 | import mockMessageMixin from '../store/mockMessageMixin';
5850 16 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
5851> 17 | import emptyServices from '../emptyServices';
5852 | ^
5853 18 |
5854 19 | function createStoreWithLanguage( language: Language ) {
5855 20 | const store = createStore( emptyServices as any );
5856
5857
5858error: Default parameters should be last (default-param-last) at tests/unit/components/AliasesEdit.spec.ts:31:2:
5859 29 | function getShallowMountedAliasEdit(
5860 30 | aliases: string[],
5861> 31 | message = '',
5862 | ^
5863 32 | config?: ConfigOptions,
5864 33 | ) {
5865 34 | const store = createStoreWithLanguage( { code: language, directionality: 'ltr' } );
5866
5867
5868warning: Missing JSDoc @param "wrapper" declaration (jsdoc/require-param) at tests/unit/components/AliasesEdit.spec.ts:54:1:
5869 52 | }
5870 53 |
5871> 54 | /**
5872 | ^
5873 55 | * Get the v-for key of an element without a vue model (i.e. not a custom vue component but native HTML)
5874 56 | * https://vuejs.org/v2/guide/list.html#Maintaining-State
5875 57 | */
5876
5877
5878warning: Missing JSDoc @return declaration (jsdoc/require-returns) at tests/unit/components/AliasesEdit.spec.ts:54:1:
5879 52 | }
5880 53 |
5881> 54 | /**
5882 | ^
5883 55 | * Get the v-for key of an element without a vue model (i.e. not a custom vue component but native HTML)
5884 56 | * https://vuejs.org/v2/guide/list.html#Maintaining-State
5885 57 | */
5886
5887
5888error: 'language' is already declared in the upper scope (no-shadow) at tests/unit/components/AliasesEdit.spec.ts:205:10:
5889 203 | it( 'delegates language attribute rendering to the v-inlanguage directive', () => {
5890 204 | const languageCode = 'de';
5891> 205 | const language = { code: languageCode, directionality: 'ltr' };
5892 | ^
5893 206 | const inlanguage = jest.fn();
5894 207 | const store = createStoreWithLanguage( language );
5895 208 | shallowMount( AliasesEdit, {
5896
5897
5898error: "@/components/AllEnteredLanguages.vue" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:2:33:
5899 1 | import { shallowMount } from '@vue/test-utils';
5900> 2 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
5901 | ^
5902 3 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
5903 4 | import { createStore } from '@/store';
5904 5 | import {
5905
5906
5907error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:3:40:
5908 1 | import { shallowMount } from '@vue/test-utils';
5909 2 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
5910> 3 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
5911 | ^
5912 4 | import { createStore } from '@/store';
5913 5 | import {
5914 6 | NS_USER,
5915
5916
5917error: "@/store" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:4:29:
5918 2 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
5919 3 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
5920> 4 | import { createStore } from '@/store';
5921 | ^
5922 5 | import {
5923 6 | NS_USER,
5924 7 | } from '@/store/namespaces';
5925
5926
5927error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:7:8:
5928 5 | import {
5929 6 | NS_USER,
5930> 7 | } from '@/store/namespaces';
5931 | ^
5932 8 | import { LANGUAGE_INIT, SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
5933 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5934 10 | import { NS_ENTITY } from '@/store/namespaces';
5935
5936
5937error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:8:57:
5938 6 | NS_USER,
5939 7 | } from '@/store/namespaces';
5940> 8 | import { LANGUAGE_INIT, SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
5941 | ^
5942 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5943 10 | import { NS_ENTITY } from '@/store/namespaces';
5944 11 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5945
5946
5947error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:10:27:
5948 8 | import { LANGUAGE_INIT, SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
5949 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5950> 10 | import { NS_ENTITY } from '@/store/namespaces';
5951 | ^
5952 11 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5953 12 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5954 13 | import emptyServices from '../emptyServices';
5955
5956
5957error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:11:31:
5958 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
5959 10 | import { NS_ENTITY } from '@/store/namespaces';
5960> 11 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5961 | ^
5962 12 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5963 13 | import emptyServices from '../emptyServices';
5964 14 |
5965
5966
5967error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:12:35:
5968 10 | import { NS_ENTITY } from '@/store/namespaces';
5969 11 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5970> 12 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5971 | ^
5972 13 | import emptyServices from '../emptyServices';
5973 14 |
5974 15 | describe( 'AllEnteredLanguages', () => {
5975
5976
5977error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguages.spec.ts:13:27:
5978 11 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
5979 12 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
5980> 13 | import emptyServices from '../emptyServices';
5981 | ^
5982 14 |
5983 15 | describe( 'AllEnteredLanguages', () => {
5984 16 |
5985
5986
5987error: "@/components/AllEnteredLanguagesExpandable.vue" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguagesExpandable.spec.ts:2:43:
5988 1 | import { shallowMount } from '@vue/test-utils';
5989> 2 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
5990 | ^
5991 3 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
5992 4 | import { render } from '@vue/server-test-utils';
5993 5 | import mockMessageMixin from '../store/mockMessageMixin';
5994
5995
5996error: "@/components/AllEnteredLanguages.vue" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguagesExpandable.spec.ts:3:33:
5997 1 | import { shallowMount } from '@vue/test-utils';
5998 2 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
5999> 3 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
6000 | ^
6001 4 | import { render } from '@vue/server-test-utils';
6002 5 | import mockMessageMixin from '../store/mockMessageMixin';
6003 6 | import { MessageKey } from '@/common/MessageKey';
6004
6005
6006error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguagesExpandable.spec.ts:5:30:
6007 3 | import AllEnteredLanguages from '@/components/AllEnteredLanguages.vue';
6008 4 | import { render } from '@vue/server-test-utils';
6009> 5 | import mockMessageMixin from '../store/mockMessageMixin';
6010 | ^
6011 6 | import { MessageKey } from '@/common/MessageKey';
6012 7 |
6013 8 | describe( 'AllEnteredLanguagesExpandable', () => {
6014
6015
6016error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/AllEnteredLanguagesExpandable.spec.ts:6:28:
6017 4 | import { render } from '@vue/server-test-utils';
6018 5 | import mockMessageMixin from '../store/mockMessageMixin';
6019> 6 | import { MessageKey } from '@/common/MessageKey';
6020 | ^
6021 7 |
6022 8 | describe( 'AllEnteredLanguagesExpandable', () => {
6023 9 |
6024
6025
6026error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:2:29:
6027 1 | import { shallowMount } from '@vue/test-utils';
6028> 2 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
6029 | ^
6030 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6031 4 | import Checkbox from '@/components/Checkbox.vue';
6032 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6033
6034
6035error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:3:33:
6036 1 | import { shallowMount } from '@vue/test-utils';
6037 2 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
6038> 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6039 | ^
6040 4 | import Checkbox from '@/components/Checkbox.vue';
6041 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6042 6 | import mockMessageMixin from '../store/mockMessageMixin';
6043
6044
6045error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:4:22:
6046 2 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
6047 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6048> 4 | import Checkbox from '@/components/Checkbox.vue';
6049 | ^
6050 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6051 6 | import mockMessageMixin from '../store/mockMessageMixin';
6052 7 | import { MessageKey } from '@/common/MessageKey';
6053
6054
6055error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:5:28:
6056 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6057 4 | import Checkbox from '@/components/Checkbox.vue';
6058> 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6059 | ^
6060 6 | import mockMessageMixin from '../store/mockMessageMixin';
6061 7 | import { MessageKey } from '@/common/MessageKey';
6062 8 | import { createStore } from '@/store';
6063
6064
6065error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:6:30:
6066 4 | import Checkbox from '@/components/Checkbox.vue';
6067 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6068> 6 | import mockMessageMixin from '../store/mockMessageMixin';
6069 | ^
6070 7 | import { MessageKey } from '@/common/MessageKey';
6071 8 | import { createStore } from '@/store';
6072 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6073
6074
6075error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:7:28:
6076 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6077 6 | import mockMessageMixin from '../store/mockMessageMixin';
6078> 7 | import { MessageKey } from '@/common/MessageKey';
6079 | ^
6080 8 | import { createStore } from '@/store';
6081 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6082 10 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
6083
6084
6085error: "@/store" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:8:29:
6086 6 | import mockMessageMixin from '../store/mockMessageMixin';
6087 7 | import { MessageKey } from '@/common/MessageKey';
6088> 8 | import { createStore } from '@/store';
6089 | ^
6090 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6091 10 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
6092 11 | import {
6093
6094
6095error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:10:30:
6096 8 | import { createStore } from '@/store';
6097 9 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6098> 10 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
6099 | ^
6100 11 | import {
6101 12 | NS_LINKS,
6102 13 | NS_USER,
6103
6104
6105error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:14:8:
6106 12 | NS_LINKS,
6107 13 | NS_USER,
6108> 14 | } from '@/store/namespaces';
6109 | ^
6110 15 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6111 16 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6112 17 | import { UserPreference } from '@/common/UserPreference';
6113
6114
6115error: "@/store/user/actionTypes" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:16:37:
6116 14 | } from '@/store/namespaces';
6117 15 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6118> 16 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6119 | ^
6120 17 | import { UserPreference } from '@/common/UserPreference';
6121 18 | import emptyServices from '../emptyServices';
6122 19 |
6123
6124
6125error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:17:32:
6126 15 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6127 16 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6128> 17 | import { UserPreference } from '@/common/UserPreference';
6129 | ^
6130 18 | import emptyServices from '../emptyServices';
6131 19 |
6132 20 | const LOGIN_URL = '/login';
6133
6134
6135error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/AnonEditWarning.spec.ts:18:27:
6136 16 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6137 17 | import { UserPreference } from '@/common/UserPreference';
6138> 18 | import emptyServices from '../emptyServices';
6139 | ^
6140 19 |
6141 20 | const LOGIN_URL = '/login';
6142 21 | const SIGNUP_URL = '/signup';
6143
6144
6145error: "@/components/App.vue" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:3:17:
6146 1 | import Vuex from 'vuex';
6147 2 | import { createLocalVue, shallowMount } from '@vue/test-utils';
6148> 3 | import App from '@/components/App.vue';
6149 | ^
6150 4 | import { createStore } from '@/store';
6151 5 | import TermboxRequest from '@/common/TermboxRequest';
6152 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6153
6154
6155error: "@/store" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:4:29:
6156 2 | import { createLocalVue, shallowMount } from '@vue/test-utils';
6157 3 | import App from '@/components/App.vue';
6158> 4 | import { createStore } from '@/store';
6159 | ^
6160 5 | import TermboxRequest from '@/common/TermboxRequest';
6161 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6162 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6163
6164
6165error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:5:28:
6166 3 | import App from '@/components/App.vue';
6167 4 | import { createStore } from '@/store';
6168> 5 | import TermboxRequest from '@/common/TermboxRequest';
6169 | ^
6170 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6171 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6172 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6173
6174
6175error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:6:59:
6176 4 | import { createStore } from '@/store';
6177 5 | import TermboxRequest from '@/common/TermboxRequest';
6178> 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6179 | ^
6180 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6181 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6182 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6183
6184
6185error: "@/store/language/actionTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:7:31:
6186 5 | import TermboxRequest from '@/common/TermboxRequest';
6187 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6188> 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6189 | ^
6190 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6191 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6192 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6193
6194
6195error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:8:29:
6196 6 | import { NS_ENTITY, NS_LANGUAGE, NS_USER, NS_LINKS } from '@/store/namespaces';
6197 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6198> 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6199 | ^
6200 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6201 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6202 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6203
6204
6205error: "@/store/user/actionTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:9:75:
6206 7 | import { LANGUAGE_INIT } from '@/store/language/actionTypes';
6207 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6208> 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6209 | ^
6210 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6211 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6212 12 | import { LANGUAGE_INIT as USER_LANGUAGE_INIT } from '@/store/user/mutationTypes';
6213
6214
6215error: "@/store/links/actionTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:10:28:
6216 8 | import { ENTITY_INIT } from '@/store/entity/actionTypes';
6217 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6218> 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6219 | ^
6220 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6221 12 | import { LANGUAGE_INIT as USER_LANGUAGE_INIT } from '@/store/user/mutationTypes';
6222 13 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6223
6224
6225error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:11:33:
6226 9 | import { LANGUAGE_PREFERENCE, USER_NAME_SET, USER_PREFERENCES_INIT } from '@/store/user/actionTypes';
6227 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6228> 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6229 | ^
6230 12 | import { LANGUAGE_INIT as USER_LANGUAGE_INIT } from '@/store/user/mutationTypes';
6231 13 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6232 14 | import emptyServices from '../emptyServices';
6233
6234
6235error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:12:53:
6236 10 | import { LINKS_INIT } from '@/store/links/actionTypes';
6237 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6238> 12 | import { LANGUAGE_INIT as USER_LANGUAGE_INIT } from '@/store/user/mutationTypes';
6239 | ^
6240 13 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6241 14 | import emptyServices from '../emptyServices';
6242 15 |
6243
6244
6245error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/App.spec.ts:14:27:
6246 12 | import { LANGUAGE_INIT as USER_LANGUAGE_INIT } from '@/store/user/mutationTypes';
6247 13 | import { action, mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6248> 14 | import emptyServices from '../emptyServices';
6249 | ^
6250 15 |
6251 16 | const localVue = createLocalVue();
6252 17 | localVue.use( Vuex );
6253
6254
6255error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at tests/unit/components/Checkbox.spec.ts:1:22:
6256> 1 | import Checkbox from '@/components/Checkbox.vue';
6257 | ^
6258 2 | import { shallowMount } from '@vue/test-utils';
6259 3 |
6260 4 | function shallowMountWithProps( props = {} ) {
6261
6262
6263error: "@/components/Description.vue" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:1:25:
6264> 1 | import Description from '@/components/Description.vue';
6265 | ^
6266 2 | import { shallowMount } from '@vue/test-utils';
6267 3 | import { createStore } from '@/store';
6268 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6269
6270
6271error: "@/store" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:3:29:
6272 1 | import Description from '@/components/Description.vue';
6273 2 | import { shallowMount } from '@vue/test-utils';
6274> 3 | import { createStore } from '@/store';
6275 | ^
6276 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6277 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6278 6 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6279
6280
6281error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:5:29:
6282 3 | import { createStore } from '@/store';
6283 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6284> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6285 | ^
6286 6 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6287 7 | import { MessageKey } from '@/common/MessageKey';
6288 8 | import Language from '@/datamodel/Language';
6289
6290
6291error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:6:33:
6292 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6293 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6294> 6 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6295 | ^
6296 7 | import { MessageKey } from '@/common/MessageKey';
6297 8 | import Language from '@/datamodel/Language';
6298 9 | import mockMessageMixin from '../store/mockMessageMixin';
6299
6300
6301error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:7:28:
6302 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6303 6 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6304> 7 | import { MessageKey } from '@/common/MessageKey';
6305 | ^
6306 8 | import Language from '@/datamodel/Language';
6307 9 | import mockMessageMixin from '../store/mockMessageMixin';
6308 10 | import emptyServices from '../emptyServices';
6309
6310
6311error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:8:22:
6312 6 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6313 7 | import { MessageKey } from '@/common/MessageKey';
6314> 8 | import Language from '@/datamodel/Language';
6315 | ^
6316 9 | import mockMessageMixin from '../store/mockMessageMixin';
6317 10 | import emptyServices from '../emptyServices';
6318 11 |
6319
6320
6321error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:9:30:
6322 7 | import { MessageKey } from '@/common/MessageKey';
6323 8 | import Language from '@/datamodel/Language';
6324> 9 | import mockMessageMixin from '../store/mockMessageMixin';
6325 | ^
6326 10 | import emptyServices from '../emptyServices';
6327 11 |
6328 12 | const DESCRIPTION_SELECTOR = '.wb-ui-description';
6329
6330
6331error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/Description.spec.ts:10:27:
6332 8 | import Language from '@/datamodel/Language';
6333 9 | import mockMessageMixin from '../store/mockMessageMixin';
6334> 10 | import emptyServices from '../emptyServices';
6335 | ^
6336 11 |
6337 12 | const DESCRIPTION_SELECTOR = '.wb-ui-description';
6338 13 |
6339
6340
6341error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:1:29:
6342> 1 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6343 | ^
6344 2 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
6345 3 | import { shallowMount } from '@vue/test-utils';
6346 4 | import { createStore } from '@/store';
6347
6348
6349error: "@/store" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:4:29:
6350 2 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
6351 3 | import { shallowMount } from '@vue/test-utils';
6352> 4 | import { createStore } from '@/store';
6353 | ^
6354 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6355 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6356 7 | import Language from '@/datamodel/Language';
6357
6358
6359error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:6:29:
6360 4 | import { createStore } from '@/store';
6361 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6362> 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6363 | ^
6364 7 | import Language from '@/datamodel/Language';
6365 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6366 9 | import { MessageKey } from '@/common/MessageKey';
6367
6368
6369error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:7:22:
6370 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6371 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6372> 7 | import Language from '@/datamodel/Language';
6373 | ^
6374 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6375 9 | import { MessageKey } from '@/common/MessageKey';
6376 10 | import mockMessageMixin from '../store/mockMessageMixin';
6377
6378
6379error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:8:33:
6380 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6381 7 | import Language from '@/datamodel/Language';
6382> 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6383 | ^
6384 9 | import { MessageKey } from '@/common/MessageKey';
6385 10 | import mockMessageMixin from '../store/mockMessageMixin';
6386 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6387
6388
6389error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:9:28:
6390 7 | import Language from '@/datamodel/Language';
6391 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6392> 9 | import { MessageKey } from '@/common/MessageKey';
6393 | ^
6394 10 | import mockMessageMixin from '../store/mockMessageMixin';
6395 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6396 12 | import emptyServices from '../emptyServices';
6397
6398
6399error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:10:30:
6400 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6401 9 | import { MessageKey } from '@/common/MessageKey';
6402> 10 | import mockMessageMixin from '../store/mockMessageMixin';
6403 | ^
6404 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6405 12 | import emptyServices from '../emptyServices';
6406 13 |
6407
6408
6409error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:11:47:
6410 9 | import { MessageKey } from '@/common/MessageKey';
6411 10 | import mockMessageMixin from '../store/mockMessageMixin';
6412> 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6413 | ^
6414 12 | import emptyServices from '../emptyServices';
6415 13 |
6416 14 | function createStoreWithLanguage( language: Language ) {
6417
6418
6419error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/DescriptionEdit.spec.ts:12:27:
6420 10 | import mockMessageMixin from '../store/mockMessageMixin';
6421 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6422> 12 | import emptyServices from '../emptyServices';
6423 | ^
6424 13 |
6425 14 | function createStoreWithLanguage( language: Language ) {
6426 15 | const store = createStore( emptyServices as any );
6427
6428
6429error: "@/components/EditTools.vue" is not found (node/no-missing-import) at tests/unit/components/EditTools.spec.ts:1:23:
6430> 1 | import EditTools from '@/components/EditTools.vue';
6431 | ^
6432 2 | import Sectionedit from '@/components/Sectionedit.vue';
6433 3 | import { mount } from '@vue/test-utils';
6434 4 |
6435
6436
6437error: "@/components/Sectionedit.vue" is not found (node/no-missing-import) at tests/unit/components/EditTools.spec.ts:2:25:
6438 1 | import EditTools from '@/components/EditTools.vue';
6439> 2 | import Sectionedit from '@/components/Sectionedit.vue';
6440 | ^
6441 3 | import { mount } from '@vue/test-utils';
6442 4 |
6443 5 | describe( 'EditTools', () => {
6444
6445
6446error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at tests/unit/components/EventEmittingButton.spec.ts:1:33:
6447> 1 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6448 | ^
6449 2 | import { shallowMount } from '@vue/test-utils';
6450 3 |
6451 4 | function shallowMountWithProps( props = {} ) {
6452
6453
6454error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at tests/unit/components/IconMessageBox.spec.ts:1:28:
6455> 1 | import IconMessageBox from '@/components/IconMessageBox.vue';
6456 | ^
6457 2 | import { shallowMount } from '@vue/test-utils';
6458 3 |
6459 4 | describe( 'IconMessageBox', () => {
6460
6461
6462error: "@/components/InMoreLanguages.vue" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:1:29:
6463> 1 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6464 | ^
6465 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6466 3 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
6467 4 | import { shallowMount, WrapperArray } from '@vue/test-utils';
6468
6469
6470error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:2:40:
6471 1 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6472> 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6473 | ^
6474 3 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
6475 4 | import { shallowMount, WrapperArray } from '@vue/test-utils';
6476 5 | import { SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
6477
6478
6479error: "@/components/AllEnteredLanguagesExpandable.vue" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:3:43:
6480 1 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6481 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6482> 3 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
6483 | ^
6484 4 | import { shallowMount, WrapperArray } from '@vue/test-utils';
6485 5 | import { SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
6486 6 | import { createStore } from '@/store';
6487
6488
6489error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:5:42:
6490 3 | import AllEnteredLanguagesExpandable from '@/components/AllEnteredLanguagesExpandable.vue';
6491 4 | import { shallowMount, WrapperArray } from '@vue/test-utils';
6492> 5 | import { SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
6493 | ^
6494 6 | import { createStore } from '@/store';
6495 7 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6496 8 | import { NS_USER } from '@/store/namespaces';
6497
6498
6499error: "@/store" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:6:29:
6500 4 | import { shallowMount, WrapperArray } from '@vue/test-utils';
6501 5 | import { SECONDARY_LANGUAGES_INIT } from '@/store/user/mutationTypes';
6502> 6 | import { createStore } from '@/store';
6503 | ^
6504 7 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6505 8 | import { NS_USER } from '@/store/namespaces';
6506 9 | import emptyServices from '../emptyServices';
6507
6508
6509error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:8:25:
6510 6 | import { createStore } from '@/store';
6511 7 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6512> 8 | import { NS_USER } from '@/store/namespaces';
6513 | ^
6514 9 | import emptyServices from '../emptyServices';
6515 10 |
6516 11 | describe( 'InMoreLanguages', () => {
6517
6518
6519error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguages.spec.ts:9:27:
6520 7 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6521 8 | import { NS_USER } from '@/store/namespaces';
6522> 9 | import emptyServices from '../emptyServices';
6523 | ^
6524 10 |
6525 11 | describe( 'InMoreLanguages', () => {
6526 12 |
6527
6528
6529error: "@/components/InMoreLanguagesExpandable.vue" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:1:39:
6530> 1 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
6531 | ^
6532 2 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6533 3 | import { shallowMount } from '@vue/test-utils';
6534 4 | import { createStore } from '@/store';
6535
6536
6537error: "@/components/InMoreLanguages.vue" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:2:29:
6538 1 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
6539> 2 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6540 | ^
6541 3 | import { shallowMount } from '@vue/test-utils';
6542 4 | import { createStore } from '@/store';
6543 5 | import { MessageKey } from '@/common/MessageKey';
6544
6545
6546error: "@/store" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:4:29:
6547 2 | import InMoreLanguages from '@/components/InMoreLanguages.vue';
6548 3 | import { shallowMount } from '@vue/test-utils';
6549> 4 | import { createStore } from '@/store';
6550 | ^
6551 5 | import { MessageKey } from '@/common/MessageKey';
6552 6 | import { render } from '@vue/server-test-utils';
6553 7 | import mockMessageMixin from '../store/mockMessageMixin';
6554
6555
6556error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:5:28:
6557 3 | import { shallowMount } from '@vue/test-utils';
6558 4 | import { createStore } from '@/store';
6559> 5 | import { MessageKey } from '@/common/MessageKey';
6560 | ^
6561 6 | import { render } from '@vue/server-test-utils';
6562 7 | import mockMessageMixin from '../store/mockMessageMixin';
6563 8 | import emptyServices from '../emptyServices';
6564
6565
6566error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:7:30:
6567 5 | import { MessageKey } from '@/common/MessageKey';
6568 6 | import { render } from '@vue/server-test-utils';
6569> 7 | import mockMessageMixin from '../store/mockMessageMixin';
6570 | ^
6571 8 | import emptyServices from '../emptyServices';
6572 9 |
6573 10 | describe( 'InMoreLanguagesExpandable', () => {
6574
6575
6576error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/InMoreLanguagesExpandable.spec.ts:8:27:
6577 6 | import { render } from '@vue/server-test-utils';
6578 7 | import mockMessageMixin from '../store/mockMessageMixin';
6579> 8 | import emptyServices from '../emptyServices';
6580 | ^
6581 9 |
6582 10 | describe( 'InMoreLanguagesExpandable', () => {
6583 11 |
6584
6585
6586error: "@/components/Label.vue" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:1:19:
6587> 1 | import Label from '@/components/Label.vue';
6588 | ^
6589 2 | import { shallowMount } from '@vue/test-utils';
6590 3 | import { createStore } from '@/store';
6591 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6592
6593
6594error: "@/store" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:3:29:
6595 1 | import Label from '@/components/Label.vue';
6596 2 | import { shallowMount } from '@vue/test-utils';
6597> 3 | import { createStore } from '@/store';
6598 | ^
6599 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6600 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6601 6 | import { MessageKey } from '@/common/MessageKey';
6602
6603
6604error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:5:29:
6605 3 | import { createStore } from '@/store';
6606 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6607> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6608 | ^
6609 6 | import { MessageKey } from '@/common/MessageKey';
6610 7 | import Language from '@/datamodel/Language';
6611 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6612
6613
6614error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:6:28:
6615 4 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6616 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6617> 6 | import { MessageKey } from '@/common/MessageKey';
6618 | ^
6619 7 | import Language from '@/datamodel/Language';
6620 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6621 9 | import mockMessageMixin from '../store/mockMessageMixin';
6622
6623
6624error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:7:22:
6625 5 | import { NS_LANGUAGE } from '@/store/namespaces';
6626 6 | import { MessageKey } from '@/common/MessageKey';
6627> 7 | import Language from '@/datamodel/Language';
6628 | ^
6629 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6630 9 | import mockMessageMixin from '../store/mockMessageMixin';
6631 10 | import emptyServices from '../emptyServices';
6632
6633
6634error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:8:33:
6635 6 | import { MessageKey } from '@/common/MessageKey';
6636 7 | import Language from '@/datamodel/Language';
6637> 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6638 | ^
6639 9 | import mockMessageMixin from '../store/mockMessageMixin';
6640 10 | import emptyServices from '../emptyServices';
6641 11 |
6642
6643
6644error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:9:30:
6645 7 | import Language from '@/datamodel/Language';
6646 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6647> 9 | import mockMessageMixin from '../store/mockMessageMixin';
6648 | ^
6649 10 | import emptyServices from '../emptyServices';
6650 11 |
6651 12 | const LABEL_SELECTOR = '.wb-ui-label';
6652
6653
6654error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/Label.spec.ts:10:27:
6655 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6656 9 | import mockMessageMixin from '../store/mockMessageMixin';
6657> 10 | import emptyServices from '../emptyServices';
6658 | ^
6659 11 |
6660 12 | const LABEL_SELECTOR = '.wb-ui-label';
6661 13 |
6662
6663
6664error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:1:23:
6665> 1 | import LabelEdit from '@/components/LabelEdit.vue';
6666 | ^
6667 2 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
6668 3 | import { shallowMount } from '@vue/test-utils';
6669 4 | import { createStore } from '@/store';
6670
6671
6672error: "@/store" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:4:29:
6673 2 | import { ResizingTextField } from '@wmde/wikibase-vuejs-components';
6674 3 | import { shallowMount } from '@vue/test-utils';
6675> 4 | import { createStore } from '@/store';
6676 | ^
6677 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6678 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6679 7 | import Language from '@/datamodel/Language';
6680
6681
6682error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:6:29:
6683 4 | import { createStore } from '@/store';
6684 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6685> 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6686 | ^
6687 7 | import Language from '@/datamodel/Language';
6688 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6689 9 | import { MessageKey } from '@/common/MessageKey';
6690
6691
6692error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:7:22:
6693 5 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6694 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6695> 7 | import Language from '@/datamodel/Language';
6696 | ^
6697 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6698 9 | import { MessageKey } from '@/common/MessageKey';
6699 10 | import mockMessageMixin from '../store/mockMessageMixin';
6700
6701
6702error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:8:33:
6703 6 | import { NS_LANGUAGE } from '@/store/namespaces';
6704 7 | import Language from '@/datamodel/Language';
6705> 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6706 | ^
6707 9 | import { MessageKey } from '@/common/MessageKey';
6708 10 | import mockMessageMixin from '../store/mockMessageMixin';
6709 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6710
6711
6712error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:9:28:
6713 7 | import Language from '@/datamodel/Language';
6714 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6715> 9 | import { MessageKey } from '@/common/MessageKey';
6716 | ^
6717 10 | import mockMessageMixin from '../store/mockMessageMixin';
6718 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6719 12 | import emptyServices from '../emptyServices';
6720
6721
6722error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:10:30:
6723 8 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6724 9 | import { MessageKey } from '@/common/MessageKey';
6725> 10 | import mockMessageMixin from '../store/mockMessageMixin';
6726 | ^
6727 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6728 12 | import emptyServices from '../emptyServices';
6729 13 |
6730
6731
6732error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:11:47:
6733 9 | import { MessageKey } from '@/common/MessageKey';
6734 10 | import mockMessageMixin from '../store/mockMessageMixin';
6735> 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6736 | ^
6737 12 | import emptyServices from '../emptyServices';
6738 13 |
6739 14 | function createStoreWithLanguage( language: Language ) {
6740
6741
6742error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/LabelEdit.spec.ts:12:27:
6743 10 | import mockMessageMixin from '../store/mockMessageMixin';
6744 11 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
6745> 12 | import emptyServices from '../emptyServices';
6746 | ^
6747 13 |
6748 14 | function createStoreWithLanguage( language: Language ) {
6749 15 | const store = createStore( emptyServices as any );
6750
6751
6752error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:2:30:
6753 1 | import { shallowMount } from '@vue/test-utils';
6754> 2 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
6755 | ^
6756 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6757 4 | import Checkbox from '@/components/Checkbox.vue';
6758 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6759
6760
6761error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:3:33:
6762 1 | import { shallowMount } from '@vue/test-utils';
6763 2 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
6764> 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6765 | ^
6766 4 | import Checkbox from '@/components/Checkbox.vue';
6767 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6768 6 | import mockMessageMixin from '../store/mockMessageMixin';
6769
6770
6771error: "@/components/Checkbox.vue" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:4:22:
6772 2 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
6773 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6774> 4 | import Checkbox from '@/components/Checkbox.vue';
6775 | ^
6776 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6777 6 | import mockMessageMixin from '../store/mockMessageMixin';
6778 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
6779
6780
6781error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:5:28:
6782 3 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
6783 4 | import Checkbox from '@/components/Checkbox.vue';
6784> 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6785 | ^
6786 6 | import mockMessageMixin from '../store/mockMessageMixin';
6787 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
6788 8 | import { MessageKey } from '@/common/MessageKey';
6789
6790
6791error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:6:30:
6792 4 | import Checkbox from '@/components/Checkbox.vue';
6793 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6794> 6 | import mockMessageMixin from '../store/mockMessageMixin';
6795 | ^
6796 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
6797 8 | import { MessageKey } from '@/common/MessageKey';
6798 9 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6799
6800
6801error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:7:28:
6802 5 | import IconMessageBox from '@/components/IconMessageBox.vue';
6803 6 | import mockMessageMixin from '../store/mockMessageMixin';
6804> 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
6805 | ^
6806 8 | import { MessageKey } from '@/common/MessageKey';
6807 9 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6808 10 | import { NS_USER } from '@/store/namespaces';
6809
6810
6811error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:8:28:
6812 6 | import mockMessageMixin from '../store/mockMessageMixin';
6813 7 | import newConfigMixin from '@/components/mixins/newConfigMixin';
6814> 8 | import { MessageKey } from '@/common/MessageKey';
6815 | ^
6816 9 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6817 10 | import { NS_USER } from '@/store/namespaces';
6818 11 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6819
6820
6821error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:10:25:
6822 8 | import { MessageKey } from '@/common/MessageKey';
6823 9 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6824> 10 | import { NS_USER } from '@/store/namespaces';
6825 | ^
6826 11 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6827 12 | import { UserPreference } from '@/common/UserPreference';
6828 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6829
6830
6831error: "@/store/user/actionTypes" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:11:37:
6832 9 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
6833 10 | import { NS_USER } from '@/store/namespaces';
6834> 11 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6835 | ^
6836 12 | import { UserPreference } from '@/common/UserPreference';
6837 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6838 14 | import { createStore } from '@/store';
6839
6840
6841error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:12:32:
6842 10 | import { NS_USER } from '@/store/namespaces';
6843 11 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6844> 12 | import { UserPreference } from '@/common/UserPreference';
6845 | ^
6846 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6847 14 | import { createStore } from '@/store';
6848 15 | import emptyServices from '../emptyServices';
6849
6850
6851error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:13:31:
6852 11 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
6853 12 | import { UserPreference } from '@/common/UserPreference';
6854> 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6855 | ^
6856 14 | import { createStore } from '@/store';
6857 15 | import emptyServices from '../emptyServices';
6858 16 |
6859
6860
6861error: "@/store" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:14:29:
6862 12 | import { UserPreference } from '@/common/UserPreference';
6863 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6864> 14 | import { createStore } from '@/store';
6865 | ^
6866 15 | import emptyServices from '../emptyServices';
6867 16 |
6868 17 | describe( 'LicenseAgreement', () => {
6869
6870
6871error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/LicenseAgreement.spec.ts:15:27:
6872 13 | import { ConfigOptions } from '@/components/mixins/newConfigMixin';
6873 14 | import { createStore } from '@/store';
6874> 15 | import emptyServices from '../emptyServices';
6875 | ^
6876 16 |
6877 17 | describe( 'LicenseAgreement', () => {
6878 18 |
6879
6880
6881error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at tests/unit/components/MessageBanner.spec.ts:2:27:
6882 1 | import { shallowMount } from '@vue/test-utils';
6883> 2 | import MessageBanner from '@/components/MessageBanner.vue';
6884 | ^
6885 3 |
6886 4 | describe( 'MessageBanner', () => {
6887 5 | it( 'gets content through the heading and message slots', () => {
6888
6889
6890error: "@/components/Modal.vue" is not found (node/no-missing-import) at tests/unit/components/Modal.spec.ts:2:19:
6891 1 | import { shallowMount } from '@vue/test-utils';
6892> 2 | import Modal from '@/components/Modal.vue';
6893 | ^
6894 3 |
6895 4 | describe( 'Modal', () => {
6896 5 | it( 'gets content through the default slot', () => {
6897
6898
6899error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:2:40:
6900 1 | import { shallowMount } from '@vue/test-utils';
6901> 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6902 | ^
6903 3 | import Label from '@/components/Label.vue';
6904 4 | import LabelEdit from '@/components/LabelEdit.vue';
6905 5 | import Description from '@/components/Description.vue';
6906
6907
6908error: "@/components/Label.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:3:19:
6909 1 | import { shallowMount } from '@vue/test-utils';
6910 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6911> 3 | import Label from '@/components/Label.vue';
6912 | ^
6913 4 | import LabelEdit from '@/components/LabelEdit.vue';
6914 5 | import Description from '@/components/Description.vue';
6915 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6916
6917
6918error: "@/components/LabelEdit.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:4:23:
6919 2 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
6920 3 | import Label from '@/components/Label.vue';
6921> 4 | import LabelEdit from '@/components/LabelEdit.vue';
6922 | ^
6923 5 | import Description from '@/components/Description.vue';
6924 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6925 7 | import Aliases from '@/components/Aliases.vue';
6926
6927
6928error: "@/components/Description.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:5:25:
6929 3 | import Label from '@/components/Label.vue';
6930 4 | import LabelEdit from '@/components/LabelEdit.vue';
6931> 5 | import Description from '@/components/Description.vue';
6932 | ^
6933 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6934 7 | import Aliases from '@/components/Aliases.vue';
6935 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6936
6937
6938error: "@/components/DescriptionEdit.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:6:29:
6939 4 | import LabelEdit from '@/components/LabelEdit.vue';
6940 5 | import Description from '@/components/Description.vue';
6941> 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6942 | ^
6943 7 | import Aliases from '@/components/Aliases.vue';
6944 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6945 9 | import { createStore } from '@/store';
6946
6947
6948error: "@/components/Aliases.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:7:21:
6949 5 | import Description from '@/components/Description.vue';
6950 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6951> 7 | import Aliases from '@/components/Aliases.vue';
6952 | ^
6953 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6954 9 | import { createStore } from '@/store';
6955 10 | import { NS_LANGUAGE, NS_ENTITY } from '@/store/namespaces';
6956
6957
6958error: "@/components/AliasesEdit.vue" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:8:25:
6959 6 | import DescriptionEdit from '@/components/DescriptionEdit.vue';
6960 7 | import Aliases from '@/components/Aliases.vue';
6961> 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6962 | ^
6963 9 | import { createStore } from '@/store';
6964 10 | import { NS_LANGUAGE, NS_ENTITY } from '@/store/namespaces';
6965 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6966
6967
6968error: "@/store" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:9:29:
6969 7 | import Aliases from '@/components/Aliases.vue';
6970 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6971> 9 | import { createStore } from '@/store';
6972 | ^
6973 10 | import { NS_LANGUAGE, NS_ENTITY } from '@/store/namespaces';
6974 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6975 12 | import { mutation, action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6976
6977
6978error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:10:40:
6979 8 | import AliasesEdit from '@/components/AliasesEdit.vue';
6980 9 | import { createStore } from '@/store';
6981> 10 | import { NS_LANGUAGE, NS_ENTITY } from '@/store/namespaces';
6982 | ^
6983 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6984 12 | import { mutation, action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6985 13 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
6986
6987
6988error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:11:33:
6989 9 | import { createStore } from '@/store';
6990 10 | import { NS_LANGUAGE, NS_ENTITY } from '@/store/namespaces';
6991> 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
6992 | ^
6993 12 | import { mutation, action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
6994 13 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
6995 14 | import { EDITMODE_SET } from '@/store/mutationTypes';
6996
6997
6998error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:13:31:
6999 11 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7000 12 | import { mutation, action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7001> 13 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
7002 | ^
7003 14 | import { EDITMODE_SET } from '@/store/mutationTypes';
7004 15 | import newFingerprintable from '../../newFingerprintable';
7005 16 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7006
7007
7008error: "@/store/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:14:30:
7009 12 | import { mutation, action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7010 13 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
7011> 14 | import { EDITMODE_SET } from '@/store/mutationTypes';
7012 | ^
7013 15 | import newFingerprintable from '../../newFingerprintable';
7014 16 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7015 17 | import emptyServices from '../emptyServices';
7016
7017
7018error: "../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:15:32:
7019 13 | import { ENTITY_UPDATE } from '@/store/entity/mutationTypes';
7020 14 | import { EDITMODE_SET } from '@/store/mutationTypes';
7021> 15 | import newFingerprintable from '../../newFingerprintable';
7022 | ^
7023 16 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7024 17 | import emptyServices from '../emptyServices';
7025 18 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
7026
7027
7028error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:17:27:
7029 15 | import newFingerprintable from '../../newFingerprintable';
7030 16 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7031> 17 | import emptyServices from '../emptyServices';
7032 | ^
7033 18 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
7034 19 |
7035 20 | function createMinimalStoreWithLanguage( languageCode: string ) {
7036
7037
7038error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at tests/unit/components/MonolingualFingerprintView.spec.ts:18:60:
7039 16 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7040 17 | import emptyServices from '../emptyServices';
7041> 18 | import { ENTITY_DESCRIPTION_EDIT, ENTITY_LABEL_EDIT } from '@/store/entity/actionTypes';
7042 | ^
7043 19 |
7044 20 | function createMinimalStoreWithLanguage( languageCode: string ) {
7045 21 | const store = createStore( emptyServices as any );
7046
7047
7048error: "@/components/Overlay.vue" is not found (node/no-missing-import) at tests/unit/components/Overlay.spec.ts:2:21:
7049 1 | import { shallowMount } from '@vue/test-utils';
7050> 2 | import Overlay from '@/components/Overlay.vue';
7051 | ^
7052 3 |
7053 4 | describe( 'Overlay', () => {
7054 5 | it( 'gets content through the default slot', () => {
7055
7056
7057error: "@/components/Sectionedit.vue" is not found (node/no-missing-import) at tests/unit/components/Sectionedit.spec.ts:1:25:
7058> 1 | import Sectionedit from '@/components/Sectionedit.vue';
7059 | ^
7060 2 | import { shallowMount } from '@vue/test-utils';
7061 3 | import { render } from '@vue/server-test-utils';
7062 4 | import 'cheerio';
7063
7064
7065error: "@/components/TermBox.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:3:21:
7066 1 | import { mount, shallowMount } from '@vue/test-utils';
7067 2 | import { Store } from 'vuex';
7068> 3 | import TermBox from '@/components/TermBox.vue';
7069 | ^
7070 4 | import EditTools from '@/components/EditTools.vue';
7071 5 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
7072 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7073
7074
7075error: "@/components/EditTools.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:4:23:
7076 2 | import { Store } from 'vuex';
7077 3 | import TermBox from '@/components/TermBox.vue';
7078> 4 | import EditTools from '@/components/EditTools.vue';
7079 | ^
7080 5 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
7081 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7082 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7083
7084
7085error: "@/components/EventEmittingButton.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:5:33:
7086 3 | import TermBox from '@/components/TermBox.vue';
7087 4 | import EditTools from '@/components/EditTools.vue';
7088> 5 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
7089 | ^
7090 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7091 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7092 8 | import Modal from '@/components/Modal.vue';
7093
7094
7095error: "@/components/MonolingualFingerprintView.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:6:40:
7096 4 | import EditTools from '@/components/EditTools.vue';
7097 5 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
7098> 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7099 | ^
7100 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7101 8 | import Modal from '@/components/Modal.vue';
7102 9 | import Overlay from '@/components/Overlay.vue';
7103
7104
7105error: "@/components/InMoreLanguagesExpandable.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:7:39:
7106 5 | import EventEmittingButton from '@/components/EventEmittingButton.vue';
7107 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7108> 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7109 | ^
7110 8 | import Modal from '@/components/Modal.vue';
7111 9 | import Overlay from '@/components/Overlay.vue';
7112 10 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
7113
7114
7115error: "@/components/Modal.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:8:19:
7116 6 | import MonolingualFingerprintView from '@/components/MonolingualFingerprintView.vue';
7117 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7118> 8 | import Modal from '@/components/Modal.vue';
7119 | ^
7120 9 | import Overlay from '@/components/Overlay.vue';
7121 10 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
7122 11 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
7123
7124
7125error: "@/components/Overlay.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:9:21:
7126 7 | import InMoreLanguagesExpandable from '@/components/InMoreLanguagesExpandable.vue';
7127 8 | import Modal from '@/components/Modal.vue';
7128> 9 | import Overlay from '@/components/Overlay.vue';
7129 | ^
7130 10 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
7131 11 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
7132 12 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
7133
7134
7135error: "@/components/AnonEditWarning.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:11:29:
7136 9 | import Overlay from '@/components/Overlay.vue';
7137 10 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
7138> 11 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
7139 | ^
7140 12 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
7141 13 | import MessageBanner from '@/components/MessageBanner.vue';
7142 14 | import IconMessageBox from '@/components/IconMessageBox.vue';
7143
7144
7145error: "@/components/LicenseAgreement.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:12:30:
7146 10 | import { IndeterminateProgressBar } from '@wmde/wikibase-vuejs-components';
7147 11 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
7148> 12 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
7149 | ^
7150 13 | import MessageBanner from '@/components/MessageBanner.vue';
7151 14 | import IconMessageBox from '@/components/IconMessageBox.vue';
7152 15 | import { createStore } from '@/store';
7153
7154
7155error: "@/components/MessageBanner.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:13:27:
7156 11 | import AnonEditWarning from '@/components/AnonEditWarning.vue';
7157 12 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
7158> 13 | import MessageBanner from '@/components/MessageBanner.vue';
7159 | ^
7160 14 | import IconMessageBox from '@/components/IconMessageBox.vue';
7161 15 | import { createStore } from '@/store';
7162 16 | import {
7163
7164
7165error: "@/components/IconMessageBox.vue" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:14:28:
7166 12 | import LicenseAgreement from '@/components/LicenseAgreement.vue';
7167 13 | import MessageBanner from '@/components/MessageBanner.vue';
7168> 14 | import IconMessageBox from '@/components/IconMessageBox.vue';
7169 | ^
7170 15 | import { createStore } from '@/store';
7171 16 | import {
7172 17 | NS_ENTITY,
7173
7174
7175error: "@/store" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:15:29:
7176 13 | import MessageBanner from '@/components/MessageBanner.vue';
7177 14 | import IconMessageBox from '@/components/IconMessageBox.vue';
7178> 15 | import { createStore } from '@/store';
7179 | ^
7180 16 | import {
7181 17 | NS_ENTITY,
7182 18 | NS_LANGUAGE,
7183
7184
7185error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:21:8:
7186 19 | NS_LINKS,
7187 20 | NS_USER,
7188> 21 | } from '@/store/namespaces';
7189 | ^
7190 22 | import {
7191 23 | EDITABILITY_UPDATE,
7192 24 | ENTITY_UPDATE,
7193
7194
7195error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:25:8:
7196 23 | EDITABILITY_UPDATE,
7197 24 | ENTITY_UPDATE,
7198> 25 | } from '@/store/entity/mutationTypes';
7199 | ^
7200 26 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
7201 27 | import {
7202 28 | LANGUAGE_INIT,
7203
7204
7205error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:26:30:
7206 24 | ENTITY_UPDATE,
7207 25 | } from '@/store/entity/mutationTypes';
7208> 26 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
7209 | ^
7210 27 | import {
7211 28 | LANGUAGE_INIT,
7212 29 | USER_SET_NAME,
7213
7214
7215error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:31:8:
7216 29 | USER_SET_NAME,
7217 30 | USER_SET_PREFERENCE,
7218> 31 | } from '@/store/user/mutationTypes';
7219 | ^
7220 32 | import { mutation } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7221 33 | import {
7222 34 | EDITMODE_ACTIVATE,
7223
7224
7225error: "@/store/actionTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:36:8:
7226 34 | EDITMODE_ACTIVATE,
7227 35 | EDITMODE_DEACTIVATE,
7228> 36 | } from '@/store/actionTypes';
7229 | ^
7230 37 | import {
7231 38 | ENTITY_SAVE,
7232 39 | ENTITY_ROLLBACK,
7233
7234
7235error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:40:8:
7236 38 | ENTITY_SAVE,
7237 39 | ENTITY_ROLLBACK,
7238> 40 | } from '@/store/entity/actionTypes';
7239 | ^
7240 41 | import { EDITMODE_SET } from '@/store/mutationTypes';
7241 42 | import newFingerprintable from '../../newFingerprintable';
7242 43 | import Language from '@/datamodel/Language';
7243
7244
7245error: "@/store/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:41:30:
7246 39 | ENTITY_ROLLBACK,
7247 40 | } from '@/store/entity/actionTypes';
7248> 41 | import { EDITMODE_SET } from '@/store/mutationTypes';
7249 | ^
7250 42 | import newFingerprintable from '../../newFingerprintable';
7251 43 | import Language from '@/datamodel/Language';
7252 44 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7253
7254
7255error: "../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:42:32:
7256 40 | } from '@/store/entity/actionTypes';
7257 41 | import { EDITMODE_SET } from '@/store/mutationTypes';
7258> 42 | import newFingerprintable from '../../newFingerprintable';
7259 | ^
7260 43 | import Language from '@/datamodel/Language';
7261 44 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7262 45 | import Vue from 'vue';
7263
7264
7265error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:43:22:
7266 41 | import { EDITMODE_SET } from '@/store/mutationTypes';
7267 42 | import newFingerprintable from '../../newFingerprintable';
7268> 43 | import Language from '@/datamodel/Language';
7269 | ^
7270 44 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7271 45 | import Vue from 'vue';
7272 46 | import { MessageKey } from '@/common/MessageKey';
7273
7274
7275error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:44:33:
7276 42 | import newFingerprintable from '../../newFingerprintable';
7277 43 | import Language from '@/datamodel/Language';
7278> 44 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7279 | ^
7280 45 | import Vue from 'vue';
7281 46 | import { MessageKey } from '@/common/MessageKey';
7282 47 | import mockMessageMixin from '../store/mockMessageMixin';
7283
7284
7285error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:46:28:
7286 44 | import { LANGUAGE_UPDATE } from '@/store/language/mutationTypes';
7287 45 | import Vue from 'vue';
7288> 46 | import { MessageKey } from '@/common/MessageKey';
7289 | ^
7290 47 | import mockMessageMixin from '../store/mockMessageMixin';
7291 48 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7292 49 | import { UserPreference } from '@/common/UserPreference';
7293
7294
7295error: "../store/mockMessageMixin" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:47:30:
7296 45 | import Vue from 'vue';
7297 46 | import { MessageKey } from '@/common/MessageKey';
7298> 47 | import mockMessageMixin from '../store/mockMessageMixin';
7299 | ^
7300 48 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7301 49 | import { UserPreference } from '@/common/UserPreference';
7302 50 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
7303
7304
7305error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:49:32:
7306 47 | import mockMessageMixin from '../store/mockMessageMixin';
7307 48 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7308> 49 | import { UserPreference } from '@/common/UserPreference';
7309 | ^
7310 50 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
7311 51 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
7312 52 | import emptyServices from '../emptyServices';
7313
7314
7315error: "@/store/user/actionTypes" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:50:37:
7316 48 | import hotUpdateDeep from '@wmde/vuex-helpers/dist/hotUpdateDeep';
7317 49 | import { UserPreference } from '@/common/UserPreference';
7318> 50 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
7319 | ^
7320 51 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
7321 52 | import emptyServices from '../emptyServices';
7322 53 |
7323
7324
7325error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:51:47:
7326 49 | import { UserPreference } from '@/common/UserPreference';
7327 50 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
7328> 51 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
7329 | ^
7330 52 | import emptyServices from '../emptyServices';
7331 53 |
7332 54 | function shallowMountWithStore( store: Store<any> ) {
7333
7334
7335error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/components/TermBox.spec.ts:52:27:
7336 50 | import { USER_PREFERENCE_SET } from '@/store/user/actionTypes';
7337 51 | import newConfigMixin, { ConfigOptions } from '@/components/mixins/newConfigMixin';
7338> 52 | import emptyServices from '../emptyServices';
7339 | ^
7340 53 |
7341 54 | function shallowMountWithStore( store: Store<any> ) {
7342 55 | return shallowMount( TermBox, {
7343
7344
7345error: "@/components/mixins/Messages" is not found (node/no-missing-import) at tests/unit/components/mixins/Messages.spec.ts:3:22:
7346 1 | import Vue from 'vue';
7347 2 | import Vuex from 'vuex';
7348> 3 | import Messages from '@/components/mixins/Messages';
7349 | ^
7350 4 | import {
7351 5 | NS_MESSAGES,
7352 6 | NS_USER,
7353
7354
7355error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/components/mixins/Messages.spec.ts:7:8:
7356 5 | NS_MESSAGES,
7357 6 | NS_USER,
7358> 7 | } from '@/store/namespaces';
7359 | ^
7360 8 | import { MessageKey } from '@/common/MessageKey';
7361 9 |
7362 10 | Vue.use( Vuex );
7363
7364
7365error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/components/mixins/Messages.spec.ts:8:28:
7366 6 | NS_USER,
7367 7 | } from '@/store/namespaces';
7368> 8 | import { MessageKey } from '@/common/MessageKey';
7369 | ^
7370 9 |
7371 10 | Vue.use( Vuex );
7372 11 |
7373
7374
7375error: "@/components/mixins/newConfigMixin" is not found (node/no-missing-import) at tests/unit/components/mixins/newConfigMixin.spec.ts:1:28:
7376> 1 | import newConfigMixin from '@/components/mixins/newConfigMixin';
7377 | ^
7378 2 | import Vue from 'vue';
7379 3 |
7380 4 | describe( 'newConfigMixin', () => {
7381
7382
7383error: "../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/datamodel/EntityRevision.spec.ts:1:32:
7384> 1 | import newFingerprintable from '../../newFingerprintable';
7385 | ^
7386 2 | import EntityRevision from '@/datamodel/EntityRevision';
7387 3 |
7388 4 | describe( 'EntityRevision', () => {
7389
7390
7391error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at tests/unit/datamodel/EntityRevision.spec.ts:2:28:
7392 1 | import newFingerprintable from '../../newFingerprintable';
7393> 2 | import EntityRevision from '@/datamodel/EntityRevision';
7394 | ^
7395 3 |
7396 4 | describe( 'EntityRevision', () => {
7397 5 |
7398
7399
7400error: "../newFingerprintable" is not found (node/no-missing-import) at tests/unit/newFingerprintable.spec.ts:1:32:
7401> 1 | import newFingerprintable from '../newFingerprintable';
7402 | ^
7403 2 |
7404 3 | describe( 'newFingerprintable', () => {
7405 4 |
7406
7407
7408error: "@/server/assertAndGetConfig" is not found (node/no-missing-import) at tests/unit/server/assertAndGetConfig.spec.ts:1:32:
7409> 1 | import assertAndGetConfig from '@/server/assertAndGetConfig';
7410 | ^
7411 2 | import {
7412 3 | DEFAULT_LANGUAGES_CACHE_MAX_AGE,
7413 4 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
7414
7415
7416error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/server/assertAndGetConfig.spec.ts:6:8:
7417 4 | DEFAULT_MESSAGES_CACHE_MAX_AGE,
7418 5 | DEFAULT_REQUEST_TIMEOUT,
7419> 6 | } from '@/common/constants';
7420 | ^
7421 7 |
7422 8 | function getMockLogger() {
7423 9 | return {
7424
7425
7426error: "@/server/axios/axiosFactory" is not found (node/no-missing-import) at tests/unit/server/axios/axiosFactory.spec.ts:1:26:
7427> 1 | import axiosFactory from '@/server/axios/axiosFactory';
7428 | ^
7429 2 | import MockAdapter from 'axios-mock-adapter';
7430 3 | import HttpStatus from 'http-status-codes';
7431 4 | import axiosLib from 'axios';
7432
7433
7434error: "@/server/axios/getMwUserAgentString" is not found (node/no-missing-import) at tests/unit/server/axios/getMwUserAgentString.spec.ts:1:34:
7435> 1 | import getMwUserAgentString from '@/server/axios/getMwUserAgentString';
7436 | ^
7437 2 |
7438 3 | describe( 'getMwUserAgentString', () => {
7439 4 | it( 'builds a user agent string', () => {
7440
7441
7442error: "@/../openapi.json" is not found (node/no-missing-import) at tests/unit/server/buildOpenApiSpec.spec.ts:1:25:
7443> 1 | import openApiSpec from '@/../openapi.json';
7444 | ^
7445 2 | import buildOpenApiSpec from '@/server/buildOpenApiSpec';
7446 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7447 4 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
7448
7449
7450error: "@/server/buildOpenApiSpec" is not found (node/no-missing-import) at tests/unit/server/buildOpenApiSpec.spec.ts:2:30:
7451 1 | import openApiSpec from '@/../openapi.json';
7452> 2 | import buildOpenApiSpec from '@/server/buildOpenApiSpec';
7453 | ^
7454 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7455 4 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
7456 5 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
7457
7458
7459error: "@/server/route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at tests/unit/server/buildOpenApiSpec.spec.ts:3:28:
7460 1 | import openApiSpec from '@/../openapi.json';
7461 2 | import buildOpenApiSpec from '@/server/buildOpenApiSpec';
7462> 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7463 | ^
7464 4 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
7465 5 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
7466 6 | import OpenAPIRequestValidator from 'openapi-request-validator';
7467
7468
7469error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at tests/unit/server/buildOpenApiSpec.spec.ts:4:36:
7470 2 | import buildOpenApiSpec from '@/server/buildOpenApiSpec';
7471 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7472> 4 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
7473 | ^
7474 5 | import OpenAPIRequestCoercer from 'openapi-request-coercer';
7475 6 | import OpenAPIRequestValidator from 'openapi-request-validator';
7476 7 |
7477
7478
7479error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts:1:28:
7480> 1 | import TermboxRequest from '@/common/TermboxRequest';
7481 | ^
7482 2 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7483 3 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7484 4 | import axios from 'axios';
7485
7486
7487error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts:2:36:
7488 1 | import TermboxRequest from '@/common/TermboxRequest';
7489> 2 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7490 | ^
7491 3 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7492 4 | import axios from 'axios';
7493 5 |
7494
7495
7496error: "@/server/bundle-renderer/BundleRendererContext" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContext.spec.ts:3:35:
7497 1 | import TermboxRequest from '@/common/TermboxRequest';
7498 2 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7499> 3 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7500 | ^
7501 4 | import axios from 'axios';
7502 5 |
7503 6 | describe( 'BundleRendererContext', () => {
7504
7505
7506error: "@/server/bundle-renderer/BundleRendererContextBuilder" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts:1:42:
7507> 1 | import BundleRendererContextBuilder from '@/server/bundle-renderer/BundleRendererContextBuilder';
7508 | ^
7509 2 | import TermboxRequest from '@/common/TermboxRequest';
7510 3 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7511 4 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7512
7513
7514error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts:2:28:
7515 1 | import BundleRendererContextBuilder from '@/server/bundle-renderer/BundleRendererContextBuilder';
7516> 2 | import TermboxRequest from '@/common/TermboxRequest';
7517 | ^
7518 3 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7519 4 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7520 5 | import axios from 'axios';
7521
7522
7523error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts:3:36:
7524 1 | import BundleRendererContextBuilder from '@/server/bundle-renderer/BundleRendererContextBuilder';
7525 2 | import TermboxRequest from '@/common/TermboxRequest';
7526> 3 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7527 | ^
7528 4 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7529 5 | import axios from 'axios';
7530 6 |
7531
7532
7533error: "@/server/bundle-renderer/BundleRendererContext" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererContextBuilder.spec.ts:4:35:
7534 2 | import TermboxRequest from '@/common/TermboxRequest';
7535 3 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7536> 4 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7537 | ^
7538 5 | import axios from 'axios';
7539 6 |
7540 7 | function newBundleRendererContextBuilder( services: any ) {
7541
7542
7543error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/unit/server/bundle-renderer/BundleRendererServices.spec.ts:1:36:
7544> 1 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7545 | ^
7546 2 | import axios from 'axios';
7547 3 |
7548 4 | describe( 'BundleRendererServices', () => {
7549
7550
7551error: "@/common/EntityInitializer" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:1:31:
7552> 1 | import EntityInitializer from '@/common/EntityInitializer';
7553 | ^
7554 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
7555 3 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
7556 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7557
7558
7559error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:2:35:
7560 1 | import EntityInitializer from '@/common/EntityInitializer';
7561> 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
7562 | ^
7563 3 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
7564 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7565 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7566
7567
7568error: "@/server/data-access/AxiosSpecialPageEntityRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:3:40:
7569 1 | import EntityInitializer from '@/common/EntityInitializer';
7570 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
7571> 3 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
7572 | ^
7573 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7574 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7575 6 | import axios from 'axios';
7576
7577
7578error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:4:28:
7579 2 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
7580 3 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
7581> 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7582 | ^
7583 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7584 6 | import axios from 'axios';
7585 7 | import MockAdapter from 'axios-mock-adapter';
7586
7587
7588error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:5:30:
7589 3 | import AxiosSpecialPageEntityRepo from '@/server/data-access/AxiosSpecialPageEntityRepo';
7590 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7591> 5 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7592 | ^
7593 6 | import axios from 'axios';
7594 7 | import MockAdapter from 'axios-mock-adapter';
7595 8 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
7596
7597
7598error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:8:40:
7599 6 | import axios from 'axios';
7600 7 | import MockAdapter from 'axios-mock-adapter';
7601> 8 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
7602 | ^
7603 9 | import HttpStatus from 'http-status-codes';
7604 10 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
7605 11 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7606
7607
7608error: "@/common/EntityInitializerInterface" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:10:40:
7609 8 | import { MEDIAWIKI_INDEX_SCRIPT } from '@/common/constants';
7610 9 | import HttpStatus from 'http-status-codes';
7611> 10 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
7612 | ^
7613 11 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7614 12 |
7615 13 | const axiosMock = new MockAdapter( axios );
7616
7617
7618error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosSpecialPageEntityRepo.spec.ts:11:35:
7619 9 | import HttpStatus from 'http-status-codes';
7620 10 | import EntityInitializerInterface from '@/common/EntityInitializerInterface';
7621> 11 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7622 | ^
7623 12 |
7624 13 | const axiosMock = new MockAdapter( axios );
7625 14 |
7626
7627
7628error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:1:30:
7629> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7630 | ^
7631 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
7632 3 | import AxiosWikibaseContentLanguagesRepo from '@/server/data-access/AxiosWikibaseContentLanguagesRepo';
7633 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7634
7635
7636error: "@/common/data-access/error/TranslationLanguageNotFound" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:2:41:
7637 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7638> 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
7639 | ^
7640 3 | import AxiosWikibaseContentLanguagesRepo from '@/server/data-access/AxiosWikibaseContentLanguagesRepo';
7641 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7642 5 | import axios from 'axios';
7643
7644
7645error: "@/server/data-access/AxiosWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:3:47:
7646 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7647 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
7648> 3 | import AxiosWikibaseContentLanguagesRepo from '@/server/data-access/AxiosWikibaseContentLanguagesRepo';
7649 | ^
7650 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7651 5 | import axios from 'axios';
7652 6 | import MockAdapter from 'axios-mock-adapter';
7653
7654
7655error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:4:45:
7656 2 | import TranslationLanguageNotFound from '@/common/data-access/error/TranslationLanguageNotFound';
7657 3 | import AxiosWikibaseContentLanguagesRepo from '@/server/data-access/AxiosWikibaseContentLanguagesRepo';
7658> 4 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7659 | ^
7660 5 | import axios from 'axios';
7661 6 | import MockAdapter from 'axios-mock-adapter';
7662 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7663
7664
7665error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:7:38:
7666 5 | import axios from 'axios';
7667 6 | import MockAdapter from 'axios-mock-adapter';
7668> 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7669 | ^
7670 8 | import HttpStatus from 'http-status-codes';
7671 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7672 10 |
7673
7674
7675error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseContentLanguagesRepo.spec.ts:9:35:
7676 7 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7677 8 | import HttpStatus from 'http-status-codes';
7678> 9 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7679 | ^
7680 10 |
7681 11 | const axiosMock = new MockAdapter( axios );
7682 12 |
7683
7684
7685error: "@/common/data-access/error/TechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:1:30:
7686> 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7687 | ^
7688 2 | import MessagesNotFound from '@/common/data-access/error/MessageNotFound';
7689 3 | import AxiosWikibaseMessagesRepo from '@/server/data-access/AxiosWikibaseMessagesRepo';
7690 4 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
7691
7692
7693error: "@/common/data-access/error/MessageNotFound" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:2:30:
7694 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7695> 2 | import MessagesNotFound from '@/common/data-access/error/MessageNotFound';
7696 | ^
7697 3 | import AxiosWikibaseMessagesRepo from '@/server/data-access/AxiosWikibaseMessagesRepo';
7698 4 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
7699 5 | import { MessageKey } from '@/common/MessageKey';
7700
7701
7702error: "@/server/data-access/AxiosWikibaseMessagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:3:39:
7703 1 | import TechnicalProblem from '@/common/data-access/error/TechnicalProblem';
7704 2 | import MessagesNotFound from '@/common/data-access/error/MessageNotFound';
7705> 3 | import AxiosWikibaseMessagesRepo from '@/server/data-access/AxiosWikibaseMessagesRepo';
7706 | ^
7707 4 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
7708 5 | import { MessageKey } from '@/common/MessageKey';
7709 6 | import axios from 'axios';
7710
7711
7712error: "@/datamodel/MessageTranslationCollection" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:4:42:
7713 2 | import MessagesNotFound from '@/common/data-access/error/MessageNotFound';
7714 3 | import AxiosWikibaseMessagesRepo from '@/server/data-access/AxiosWikibaseMessagesRepo';
7715> 4 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
7716 | ^
7717 5 | import { MessageKey } from '@/common/MessageKey';
7718 6 | import axios from 'axios';
7719 7 | import MockAdapter from 'axios-mock-adapter';
7720
7721
7722error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:5:28:
7723 3 | import AxiosWikibaseMessagesRepo from '@/server/data-access/AxiosWikibaseMessagesRepo';
7724 4 | import MessageTranslationCollection from '@/datamodel/MessageTranslationCollection';
7725> 5 | import { MessageKey } from '@/common/MessageKey';
7726 | ^
7727 6 | import axios from 'axios';
7728 7 | import MockAdapter from 'axios-mock-adapter';
7729 8 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7730
7731
7732error: "@/common/constants" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:8:38:
7733 6 | import axios from 'axios';
7734 7 | import MockAdapter from 'axios-mock-adapter';
7735> 8 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7736 | ^
7737 9 | import HttpStatus from 'http-status-codes';
7738 10 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7739 11 |
7740
7741
7742error: "@/common/data-access/error/AxiosTechnicalProblem" is not found (node/no-missing-import) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:10:35:
7743 8 | import { MEDIAWIKI_API_SCRIPT } from '@/common/constants';
7744 9 | import HttpStatus from 'http-status-codes';
7745> 10 | import AxiosTechnicalProblem from '@/common/data-access/error/AxiosTechnicalProblem';
7746 | ^
7747 11 |
7748 12 | const axiosMock = new MockAdapter( axios );
7749 13 |
7750
7751
7752error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:28:41:
7753 26 |
7754 27 | it( 'can be constructed with axios', () => {
7755> 28 | expect( newAxiosWikibaseMessagesRepo( Object.values( MessageKey ) ) )
7756 | ^
7757 29 | .toBeInstanceOf( AxiosWikibaseMessagesRepo );
7758 30 | } );
7759 31 |
7760
7761
7762error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:102:47:
7763 100 | axiosMock.onGet().reply( HttpStatus.OK, '<some><random><html>' );
7764 101 |
7765> 102 | const repo = newAxiosWikibaseMessagesRepo( Object.values( MessageKey ) );
7766 | ^
7767 103 | repo.getMessagesInLanguage( inLanguage ).catch( ( reason: Error ) => {
7768 104 | expect( reason ).toBeInstanceOf( TechnicalProblem );
7769 105 | expect( reason.message ).toEqual( 'allmessages result not well formed.' );
7770
7771
7772error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:117:47:
7773 115 | axiosMock.onGet().reply( HttpStatus.OK, results );
7774 116 |
7775> 117 | const repo = newAxiosWikibaseMessagesRepo( Object.values( MessageKey ) );
7776 | ^
7777 118 | repo.getMessagesInLanguage( inLanguage ).catch( ( reason: Error ) => {
7778 119 | expect( reason ).toBeInstanceOf( TechnicalProblem );
7779 120 | expect( reason.message ).toEqual( 'allmessages result not well formed.' );
7780
7781
7782error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:135:47:
7783 133 | axiosMock.onGet().reply( HttpStatus.OK, results );
7784 134 |
7785> 135 | const repo = newAxiosWikibaseMessagesRepo( Object.values( MessageKey ) );
7786 | ^
7787 136 | repo.getMessagesInLanguage( inLanguage ).catch( ( reason: Error ) => {
7788 137 | expect( reason ).toBeInstanceOf( TechnicalProblem );
7789 138 | expect( reason.message ).toEqual( 'allmessages result not well formed.' );
7790
7791
7792error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/server/data-access/AxiosWikibaseMessagesRepo.spec.ts:147:47:
7793 145 | axiosMock.onGet().reply( HttpStatus.INTERNAL_SERVER_ERROR, 'API problem' );
7794 146 |
7795> 147 | const repo = newAxiosWikibaseMessagesRepo( Object.values( MessageKey ) );
7796 | ^
7797 148 | repo.getMessagesInLanguage( inLanguage ).catch( ( reason: Error ) => {
7798 149 | expect( reason ).toBeInstanceOf( AxiosTechnicalProblem );
7799 150 | expect( ( reason as AxiosTechnicalProblem ).getContext().message )
7800
7801
7802error: "@/server/data-access/CachingMethodDecorator" is not found (node/no-missing-import) at tests/unit/server/data-access/CachingMethodDecorator.spec.ts:1:36:
7803> 1 | import CachingMethodDecorator from '@/server/data-access/CachingMethodDecorator';
7804 | ^
7805 2 |
7806 3 | class FakeCache {
7807 4 |
7808
7809
7810error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts:1:32:
7811> 1 | import LanguageCollection from '@/datamodel/LanguageCollection';
7812 | ^
7813 2 | import ContentLanguagesLanguageRepo from '@/server/data-access/ContentLanguagesLanguageRepo';
7814 3 | import RtlDetectLib from 'rtl-detect';
7815 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7816
7817
7818error: "@/server/data-access/ContentLanguagesLanguageRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts:2:42:
7819 1 | import LanguageCollection from '@/datamodel/LanguageCollection';
7820> 2 | import ContentLanguagesLanguageRepo from '@/server/data-access/ContentLanguagesLanguageRepo';
7821 | ^
7822 3 | import RtlDetectLib from 'rtl-detect';
7823 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7824 5 |
7825
7826
7827error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageRepo.spec.ts:4:42:
7828 2 | import ContentLanguagesLanguageRepo from '@/server/data-access/ContentLanguagesLanguageRepo';
7829 3 | import RtlDetectLib from 'rtl-detect';
7830> 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7831 | ^
7832 5 |
7833 6 | function newWikibaseContentLanguagesRepository( contentLanguagesRepo: any ) {
7834 7 | return new ContentLanguagesLanguageRepo(
7835
7836
7837error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts:1:34:
7838> 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
7839 | ^
7840 2 | import ContentLanguagesLanguageTranslationRepo from '@/server/data-access/ContentLanguagesLanguageTranslationRepo';
7841 3 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7842 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7843
7844
7845error: "@/server/data-access/ContentLanguagesLanguageTranslationRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts:2:53:
7846 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
7847> 2 | import ContentLanguagesLanguageTranslationRepo from '@/server/data-access/ContentLanguagesLanguageTranslationRepo';
7848 | ^
7849 3 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7850 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7851 5 |
7852
7853
7854error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts:3:45:
7855 1 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
7856 2 | import ContentLanguagesLanguageTranslationRepo from '@/server/data-access/ContentLanguagesLanguageTranslationRepo';
7857> 3 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7858 | ^
7859 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7860 5 |
7861 6 | function newWikibaseContentLanguagesRepository( contentLanguagesRepo: any ) {
7862
7863
7864error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/ContentLanguagesLanguageTranslationRepo.spec.ts:4:42:
7865 2 | import ContentLanguagesLanguageTranslationRepo from '@/server/data-access/ContentLanguagesLanguageTranslationRepo';
7866 3 | import { WikibaseApiContentLanguages } from '@/server/data-access/WikibaseContentLanguagesRepo';
7867> 4 | import WikibaseContentLanguagesRepo from '@/server/data-access/WikibaseContentLanguagesRepo';
7868 | ^
7869 5 |
7870 6 | function newWikibaseContentLanguagesRepository( contentLanguagesRepo: any ) {
7871 7 | return new ContentLanguagesLanguageTranslationRepo(
7872
7873
7874error: "@/server/data-access/WikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts:3:8:
7875 1 | import WikibaseContentLanguagesRepo, {
7876 2 | WikibaseApiContentLanguages,
7877> 3 | } from '@/server/data-access/WikibaseContentLanguagesRepo';
7878 | ^
7879 4 | import WaitingForLanguageWikibaseContentLanguagesRepo
7880 5 | from '@/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
7881 6 |
7882
7883
7884error: "@/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo" is not found (node/no-missing-import) at tests/unit/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo.spec.ts:5:7:
7885 3 | } from '@/server/data-access/WikibaseContentLanguagesRepo';
7886 4 | import WaitingForLanguageWikibaseContentLanguagesRepo
7887> 5 | from '@/server/data-access/WaitingForLanguageWikibaseContentLanguagesRepo';
7888 | ^
7889 6 |
7890 7 | function newWaitingForLanguageWikibaseContentLanguagesRepo( contentLanguagesRepo: any ) {
7891 8 | return new WaitingForLanguageWikibaseContentLanguagesRepo(
7892
7893
7894error: "@/server/directives/inlanguage" is not found (node/no-missing-import) at tests/unit/server/directives/inlanguage.spec.ts:1:24:
7895> 1 | import inlanguage from '@/server/directives/inlanguage';
7896 | ^
7897 2 | import Language from '@/datamodel/Language';
7898 3 | import { VNode } from 'vue';
7899 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7900
7901
7902error: "@/datamodel/Language" is not found (node/no-missing-import) at tests/unit/server/directives/inlanguage.spec.ts:2:22:
7903 1 | import inlanguage from '@/server/directives/inlanguage';
7904> 2 | import Language from '@/datamodel/Language';
7905 | ^
7906 3 | import { VNode } from 'vue';
7907 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7908 5 | import { NS_LANGUAGE } from '@/store/namespaces';
7909
7910
7911error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/server/directives/inlanguage.spec.ts:5:29:
7912 3 | import { VNode } from 'vue';
7913 4 | import { getter } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
7914> 5 | import { NS_LANGUAGE } from '@/store/namespaces';
7915 | ^
7916 6 |
7917 7 | describe( 'inlanguage directive', () => {
7918 8 | it( 'adds language properties to element\'s attributes', () => {
7919
7920
7921error: "@/server/reportResponseTimeMetrics" is not found (node/no-missing-import) at tests/unit/server/reportResponseTimeMetrics.spec.ts:1:39:
7922> 1 | import reportResponseTimeMetrics from '@/server/reportResponseTimeMetrics';
7923 | ^
7924 2 |
7925 3 | function mockMetricsService() {
7926 4 | return {
7927
7928
7929error: "@/server/route-handler/termbox/CoercingQueryValidator" is not found (node/no-missing-import) at tests/unit/server/route-handler/termbox/CoercingQueryValidator.spec.ts:1:36:
7930> 1 | import CoercingQueryValidator from '@/server/route-handler/termbox/CoercingQueryValidator';
7931 | ^
7932 2 |
7933 3 | describe( 'CoercingQueryValidator', () => {
7934 4 |
7935
7936
7937error: "@/server/route-handler/termbox/TermboxHandler" is not found (node/no-missing-import) at tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts:1:28:
7938> 1 | import TermboxHandler from '@/server/route-handler/termbox/TermboxHandler';
7939 | ^
7940 2 | import TermboxRequest from '@/common/TermboxRequest';
7941 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7942 4 |
7943
7944
7945error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts:2:28:
7946 1 | import TermboxHandler from '@/server/route-handler/termbox/TermboxHandler';
7947> 2 | import TermboxRequest from '@/common/TermboxRequest';
7948 | ^
7949 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7950 4 |
7951 5 | function newTermboxHandler( queryValidator: any ) {
7952
7953
7954error: "@/server/route-handler/termbox/error/InvalidRequest" is not found (node/no-missing-import) at tests/unit/server/route-handler/termbox/TermboxHandler.spec.ts:3:28:
7955 1 | import TermboxHandler from '@/server/route-handler/termbox/TermboxHandler';
7956 2 | import TermboxRequest from '@/common/TermboxRequest';
7957> 3 | import InvalidRequest from '@/server/route-handler/termbox/error/InvalidRequest';
7958 | ^
7959 4 |
7960 5 | function newTermboxHandler( queryValidator: any ) {
7961 6 | return new TermboxHandler( queryValidator );
7962
7963
7964error: "@/server-entry" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:1:25:
7965> 1 | import serverEntry from '@/server-entry';
7966 | ^
7967 2 | import TermboxRequest from '@/common/TermboxRequest';
7968 3 | import TermboxServices from '@/common/TermboxServices';
7969 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7970
7971
7972error: "@/common/TermboxRequest" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:2:28:
7973 1 | import serverEntry from '@/server-entry';
7974> 2 | import TermboxRequest from '@/common/TermboxRequest';
7975 | ^
7976 3 | import TermboxServices from '@/common/TermboxServices';
7977 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7978 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
7979
7980
7981error: "@/common/TermboxServices" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:3:29:
7982 1 | import serverEntry from '@/server-entry';
7983 2 | import TermboxRequest from '@/common/TermboxRequest';
7984> 3 | import TermboxServices from '@/common/TermboxServices';
7985 | ^
7986 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7987 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
7988 6 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7989
7990
7991error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:4:28:
7992 2 | import TermboxRequest from '@/common/TermboxRequest';
7993 3 | import TermboxServices from '@/common/TermboxServices';
7994> 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
7995 | ^
7996 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
7997 6 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
7998 7 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
7999
8000
8001error: "@/server/exceptions/BundleBoundaryPassingException" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:5:61:
8002 3 | import TermboxServices from '@/common/TermboxServices';
8003 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8004> 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
8005 | ^
8006 6 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
8007 7 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
8008 8 |
8009
8010
8011error: "@/server/bundle-renderer/BundleRendererContext" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:6:35:
8012 4 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8013 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
8014> 6 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
8015 | ^
8016 7 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
8017 8 |
8018 9 | const mockBuildApp = jest.fn();
8019
8020
8021error: "@/server/bundle-renderer/BundleRendererServices" is not found (node/no-missing-import) at tests/unit/server-entry.spec.ts:7:36:
8022 5 | import BundleBoundaryPassingException, { ErrorReason } from '@/server/exceptions/BundleBoundaryPassingException';
8023 6 | import BundleRendererContext from '@/server/bundle-renderer/BundleRendererContext';
8024> 7 | import BundleRendererServices from '@/server/bundle-renderer/BundleRendererServices';
8025 | ^
8026 8 |
8027 9 | const mockBuildApp = jest.fn();
8028 10 | jest.mock( '@/common/buildApp', () => ( {
8029
8030
8031error: "@/store/actions" is not found (node/no-missing-import) at tests/unit/store/actions.spec.ts:1:25:
8032> 1 | import { actions } from '@/store/actions';
8033 | ^
8034 2 | import {
8035 3 | EDITMODE_ACTIVATE,
8036 4 | EDITMODE_DEACTIVATE,
8037
8038
8039error: "@/store/actionTypes" is not found (node/no-missing-import) at tests/unit/store/actions.spec.ts:5:8:
8040 3 | EDITMODE_ACTIVATE,
8041 4 | EDITMODE_DEACTIVATE,
8042> 5 | } from '@/store/actionTypes';
8043 | ^
8044 6 | import { EDITMODE_SET } from '@/store/mutationTypes';
8045 7 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8046 8 |
8047
8048
8049error: "@/store/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/actions.spec.ts:6:30:
8050 4 | EDITMODE_DEACTIVATE,
8051 5 | } from '@/store/actionTypes';
8052> 6 | import { EDITMODE_SET } from '@/store/mutationTypes';
8053 | ^
8054 7 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8055 8 |
8056 9 | describe( 'root/actions', () => {
8057
8058
8059error: "@/store/entity/actions" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:1:21:
8060> 1 | import actions from '@/store/entity/actions';
8061 | ^
8062 2 | import {
8063 3 | ENTITY_INIT,
8064 4 | ENTITY_ALIASES_EDIT,
8065
8066
8067error: "@/store/entity/actionTypes" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:10:8:
8068 8 | ENTITY_SAVE,
8069 9 | ENTITY_ROLLBACK,
8070> 10 | } from '@/store/entity/actionTypes';
8071 | ^
8072 11 | import {
8073 12 | EDITABILITY_UPDATE,
8074 13 | ENTITY_UPDATE,
8075
8076
8077error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:20:8:
8078 18 | ENTITY_REVISION_UPDATE,
8079 19 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
8080> 20 | } from '@/store/entity/mutationTypes';
8081 | ^
8082 21 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8083 22 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8084 23 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8085
8086
8087error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:21:35:
8088 19 | ENTITY_ROLLBACK as ENTITY_ROLLBACK_MUTATION,
8089 20 | } from '@/store/entity/mutationTypes';
8090> 21 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8091 | ^
8092 22 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8093 23 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8094 24 | import newFingerprintable from '../../../newFingerprintable';
8095
8096
8097error: "@/common/data-access/error/EntityNotFound" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:22:28:
8098 20 | } from '@/store/entity/mutationTypes';
8099 21 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8100> 22 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8101 | ^
8102 23 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8103 24 | import newFingerprintable from '../../../newFingerprintable';
8104 25 | import EntityRevision from '@/datamodel/EntityRevision';
8105
8106
8107error: "../../../newFingerprintable" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:24:32:
8108 22 | import EntityNotFound from '@/common/data-access/error/EntityNotFound';
8109 23 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8110> 24 | import newFingerprintable from '../../../newFingerprintable';
8111 | ^
8112 25 | import EntityRevision from '@/datamodel/EntityRevision';
8113 26 |
8114 27 | describe( 'entity/actions', () => {
8115
8116
8117error: "@/datamodel/EntityRevision" is not found (node/no-missing-import) at tests/unit/store/entity/actions.spec.ts:25:28:
8118 23 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8119 24 | import newFingerprintable from '../../../newFingerprintable';
8120> 25 | import EntityRevision from '@/datamodel/EntityRevision';
8121 | ^
8122 26 |
8123 27 | describe( 'entity/actions', () => {
8124 28 | describe( ENTITY_INIT, () => {
8125
8126
8127error: "@/store/entity/getters" is not found (node/no-missing-import) at tests/unit/store/entity/getters.spec.ts:1:25:
8128> 1 | import { getters } from '@/store/entity/getters';
8129 | ^
8130 2 | import EntityState from '@/store/entity/EntityState';
8131 3 |
8132 4 | function newMinimalStore( fields: any ): EntityState {
8133
8134
8135error: "@/store/entity/EntityState" is not found (node/no-missing-import) at tests/unit/store/entity/getters.spec.ts:2:25:
8136 1 | import { getters } from '@/store/entity/getters';
8137> 2 | import EntityState from '@/store/entity/EntityState';
8138 | ^
8139 3 |
8140 4 | function newMinimalStore( fields: any ): EntityState {
8141 5 | return {
8142
8143
8144error: "@/store/entity" is not found (node/no-missing-import) at tests/unit/store/entity/index.spec.ts:1:26:
8145> 1 | import createEntity from '@/store/entity';
8146 | ^
8147 2 |
8148 3 | describe( 'store/entity/index', () => {
8149 4 | it( 'creates an entity store', () => {
8150
8151
8152error: "@/store/entity/mutations" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:1:27:
8153> 1 | import { mutations } from '@/store/entity/mutations';
8154 | ^
8155 2 | import {
8156 3 | ENTITY_UPDATE,
8157 4 | EDITABILITY_UPDATE,
8158
8159
8160error: "@/store/entity/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:11:8:
8161 9 | ENTITY_REVISION_UPDATE,
8162 10 | ENTITY_ROLLBACK,
8163> 11 | } from '@/store/entity/mutationTypes';
8164 | ^
8165 12 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
8166 13 | import EntityState from '@/store/entity/EntityState';
8167 14 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8168
8169
8170error: "@/store/entity/exceptions/InvalidEntityException" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:12:36:
8171 10 | ENTITY_ROLLBACK,
8172 11 | } from '@/store/entity/mutationTypes';
8173> 12 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
8174 | ^
8175 13 | import EntityState from '@/store/entity/EntityState';
8176 14 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8177 15 | import { lockState } from '../lockState';
8178
8179
8180error: "@/store/entity/EntityState" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:13:25:
8181 11 | } from '@/store/entity/mutationTypes';
8182 12 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
8183> 13 | import EntityState from '@/store/entity/EntityState';
8184 | ^
8185 14 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8186 15 | import { lockState } from '../lockState';
8187 16 |
8188
8189
8190error: "@/datamodel/FingerprintableEntity" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:14:35:
8191 12 | import InvalidEntityException from '@/store/entity/exceptions/InvalidEntityException';
8192 13 | import EntityState from '@/store/entity/EntityState';
8193> 14 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8194 | ^
8195 15 | import { lockState } from '../lockState';
8196 16 |
8197 17 | function newEntityState( entity: any = null ): EntityState {
8198
8199
8200error: "../lockState" is not found (node/no-missing-import) at tests/unit/store/entity/mutations.spec.ts:15:27:
8201 13 | import EntityState from '@/store/entity/EntityState';
8202 14 | import FingerprintableEntity from '@/datamodel/FingerprintableEntity';
8203> 15 | import { lockState } from '../lockState';
8204 | ^
8205 16 |
8206 17 | function newEntityState( entity: any = null ): EntityState {
8207 18 | let state = {
8208
8209
8210error: "@/store" is not found (node/no-missing-import) at tests/unit/store/index.spec.ts:1:29:
8211> 1 | import { createStore } from '@/store';
8212 | ^
8213 2 | import emptyServices from '../emptyServices';
8214 3 |
8215 4 | describe( 'store/index', () => {
8216
8217
8218error: "../emptyServices" is not found (node/no-missing-import) at tests/unit/store/index.spec.ts:2:27:
8219 1 | import { createStore } from '@/store';
8220> 2 | import emptyServices from '../emptyServices';
8221 | ^
8222 3 |
8223 4 | describe( 'store/index', () => {
8224 5 | it( 'creates the store', () => {
8225
8226
8227error: "@/store/language/actions" is not found (node/no-missing-import) at tests/unit/store/language/actions.spec.ts:1:21:
8228> 1 | import actions from '@/store/language/actions';
8229 | ^
8230 2 | import { LANGUAGE_INIT, ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
8231 3 | import {
8232 4 | LANGUAGE_TRANSLATION_UPDATE,
8233
8234
8235error: "@/store/language/actionTypes" is not found (node/no-missing-import) at tests/unit/store/language/actions.spec.ts:2:61:
8236 1 | import actions from '@/store/language/actions';
8237> 2 | import { LANGUAGE_INIT, ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
8238 | ^
8239 3 | import {
8240 4 | LANGUAGE_TRANSLATION_UPDATE,
8241 5 | LANGUAGE_UPDATE,
8242
8243
8244error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/language/actions.spec.ts:6:8:
8245 4 | LANGUAGE_TRANSLATION_UPDATE,
8246 5 | LANGUAGE_UPDATE,
8247> 6 | } from '@/store/language/mutationTypes';
8248 | ^
8249 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8250 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
8251 9 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8252
8253
8254error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at tests/unit/store/language/actions.spec.ts:7:34:
8255 5 | LANGUAGE_UPDATE,
8256 6 | } from '@/store/language/mutationTypes';
8257> 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8258 | ^
8259 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
8260 9 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8261 10 |
8262
8263
8264error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at tests/unit/store/language/actions.spec.ts:8:32:
8265 6 | } from '@/store/language/mutationTypes';
8266 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8267> 8 | import LanguageCollection from '@/datamodel/LanguageCollection';
8268 | ^
8269 9 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8270 10 |
8271 11 | describe( 'language/actions', () => {
8272
8273
8274error: "@/store/language/getters" is not found (node/no-missing-import) at tests/unit/store/language/getters.spec.ts:1:25:
8275> 1 | import { getters } from '@/store/language/getters';
8276 | ^
8277 2 | import LanguageState from '@/store/language/LanguageState';
8278 3 | import { NS_USER } from '@/store/namespaces';
8279 4 |
8280
8281
8282error: "@/store/language/LanguageState" is not found (node/no-missing-import) at tests/unit/store/language/getters.spec.ts:2:27:
8283 1 | import { getters } from '@/store/language/getters';
8284> 2 | import LanguageState from '@/store/language/LanguageState';
8285 | ^
8286 3 | import { NS_USER } from '@/store/namespaces';
8287 4 |
8288 5 | function newMinimalStore(): LanguageState {
8289
8290
8291error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/store/language/getters.spec.ts:3:25:
8292 1 | import { getters } from '@/store/language/getters';
8293 2 | import LanguageState from '@/store/language/LanguageState';
8294> 3 | import { NS_USER } from '@/store/namespaces';
8295 | ^
8296 4 |
8297 5 | function newMinimalStore(): LanguageState {
8298 6 | return {
8299
8300
8301error: "@/store/language" is not found (node/no-missing-import) at tests/unit/store/language/index.spec.ts:1:28:
8302> 1 | import createLanguage from '@/store/language';
8303 | ^
8304 2 |
8305 3 | describe( 'store/language/index', () => {
8306 4 | it( 'creates a language store', () => {
8307
8308
8309error: "@/store/language/mutations" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:1:27:
8310> 1 | import { mutations } from '@/store/language/mutations';
8311 | ^
8312 2 | import { lockState } from '../lockState';
8313 3 | import {
8314 4 | LANGUAGE_TRANSLATION_UPDATE,
8315
8316
8317error: "../lockState" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:2:27:
8318 1 | import { mutations } from '@/store/language/mutations';
8319> 2 | import { lockState } from '../lockState';
8320 | ^
8321 3 | import {
8322 4 | LANGUAGE_TRANSLATION_UPDATE,
8323 5 | LANGUAGE_UPDATE,
8324
8325
8326error: "@/store/language/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:6:8:
8327 4 | LANGUAGE_TRANSLATION_UPDATE,
8328 5 | LANGUAGE_UPDATE,
8329> 6 | } from '@/store/language/mutationTypes';
8330 | ^
8331 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8332 8 | import LanguageState from '@/store/language/LanguageState';
8333 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
8334
8335
8336error: "@/datamodel/LanguageTranslations" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:7:34:
8337 5 | LANGUAGE_UPDATE,
8338 6 | } from '@/store/language/mutationTypes';
8339> 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8340 | ^
8341 8 | import LanguageState from '@/store/language/LanguageState';
8342 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
8343 10 |
8344
8345
8346error: "@/store/language/LanguageState" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:8:27:
8347 6 | } from '@/store/language/mutationTypes';
8348 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8349> 8 | import LanguageState from '@/store/language/LanguageState';
8350 | ^
8351 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
8352 10 |
8353 11 | function newLanguageState(
8354
8355
8356error: "@/datamodel/LanguageCollection" is not found (node/no-missing-import) at tests/unit/store/language/mutations.spec.ts:9:32:
8357 7 | import LanguageTranslations from '@/datamodel/LanguageTranslations';
8358 8 | import LanguageState from '@/store/language/LanguageState';
8359> 9 | import LanguageCollection from '@/datamodel/LanguageCollection';
8360 | ^
8361 10 |
8362 11 | function newLanguageState(
8363 12 | languages: LanguageCollection = {},
8364
8365
8366error: "@/store/links/actionTypes" is not found (node/no-missing-import) at tests/unit/store/links/actions.spec.ts:1:28:
8367> 1 | import { LINKS_INIT } from '@/store/links/actionTypes';
8368 | ^
8369 2 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8370 3 | import { actions } from '@/store/links/actions';
8371 4 | import TermboxLinks from '@/common/TermboxLinks';
8372
8373
8374error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/links/actions.spec.ts:2:30:
8375 1 | import { LINKS_INIT } from '@/store/links/actionTypes';
8376> 2 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8377 | ^
8378 3 | import { actions } from '@/store/links/actions';
8379 4 | import TermboxLinks from '@/common/TermboxLinks';
8380 5 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8381
8382
8383error: "@/store/links/actions" is not found (node/no-missing-import) at tests/unit/store/links/actions.spec.ts:3:25:
8384 1 | import { LINKS_INIT } from '@/store/links/actionTypes';
8385 2 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8386> 3 | import { actions } from '@/store/links/actions';
8387 | ^
8388 4 | import TermboxLinks from '@/common/TermboxLinks';
8389 5 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8390 6 |
8391
8392
8393error: "@/common/TermboxLinks" is not found (node/no-missing-import) at tests/unit/store/links/actions.spec.ts:4:26:
8394 2 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8395 3 | import { actions } from '@/store/links/actions';
8396> 4 | import TermboxLinks from '@/common/TermboxLinks';
8397 | ^
8398 5 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8399 6 |
8400 7 | describe( 'links/actions', () => {
8401
8402
8403error: "@/store/links" is not found (node/no-missing-import) at tests/unit/store/links/index.spec.ts:1:25:
8404> 1 | import createLinks from '@/store/links';
8405 | ^
8406 2 |
8407 3 | describe( 'store/links/index', () => {
8408 4 | it( 'creates a links store', () => {
8409
8410
8411error: "@/store/links/mutations" is not found (node/no-missing-import) at tests/unit/store/links/mutations.spec.ts:1:27:
8412> 1 | import { mutations } from '@/store/links/mutations';
8413 | ^
8414 2 | import LinksState from '@/store/links/LinksState';
8415 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8416 4 | import TermboxLinks from '@/common/TermboxLinks';
8417
8418
8419error: "@/store/links/LinksState" is not found (node/no-missing-import) at tests/unit/store/links/mutations.spec.ts:2:24:
8420 1 | import { mutations } from '@/store/links/mutations';
8421> 2 | import LinksState from '@/store/links/LinksState';
8422 | ^
8423 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8424 4 | import TermboxLinks from '@/common/TermboxLinks';
8425 5 |
8426
8427
8428error: "@/store/links/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/links/mutations.spec.ts:3:30:
8429 1 | import { mutations } from '@/store/links/mutations';
8430 2 | import LinksState from '@/store/links/LinksState';
8431> 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8432 | ^
8433 4 | import TermboxLinks from '@/common/TermboxLinks';
8434 5 |
8435 6 | describe( 'mutations', () => {
8436
8437
8438error: "@/common/TermboxLinks" is not found (node/no-missing-import) at tests/unit/store/links/mutations.spec.ts:4:26:
8439 2 | import LinksState from '@/store/links/LinksState';
8440 3 | import { LINKS_UPDATE } from '@/store/links/mutationTypes';
8441> 4 | import TermboxLinks from '@/common/TermboxLinks';
8442 | ^
8443 5 |
8444 6 | describe( 'mutations', () => {
8445 7 |
8446
8447
8448error: "@/store/messages/actions" is not found (node/no-missing-import) at tests/unit/store/messages/actions.spec.ts:1:21:
8449> 1 | import actions from '@/store/messages/actions';
8450 | ^
8451 2 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8452 3 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
8453 4 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8454
8455
8456error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at tests/unit/store/messages/actions.spec.ts:2:31:
8457 1 | import actions from '@/store/messages/actions';
8458> 2 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8459 | ^
8460 3 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
8461 4 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8462 5 | import { MessageKey } from '@/common/MessageKey';
8463
8464
8465error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/messages/actions.spec.ts:3:57:
8466 1 | import actions from '@/store/messages/actions';
8467 2 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8468> 3 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
8469 | ^
8470 4 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8471 5 | import { MessageKey } from '@/common/MessageKey';
8472 6 |
8473
8474
8475error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/store/messages/actions.spec.ts:5:28:
8476 3 | import { MESSAGES_INIT as MESSAGES_INIT_MUTATION } from '@/store/messages/mutationTypes';
8477 4 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8478> 5 | import { MessageKey } from '@/common/MessageKey';
8479 | ^
8480 6 |
8481 7 | describe( 'messages/actions', () => {
8482 8 | describe( MESSAGES_INIT, () => {
8483
8484
8485error: "@/store/messages/getters" is not found (node/no-missing-import) at tests/unit/store/messages/getters.spec.ts:1:25:
8486> 1 | import { getters } from '@/store/messages/getters';
8487 | ^
8488 2 | import Messages from '@/store/messages/Messages';
8489 3 | import { MessageKey } from '@/common/MessageKey';
8490 4 |
8491
8492
8493error: "@/store/messages/Messages" is not found (node/no-missing-import) at tests/unit/store/messages/getters.spec.ts:2:22:
8494 1 | import { getters } from '@/store/messages/getters';
8495> 2 | import Messages from '@/store/messages/Messages';
8496 | ^
8497 3 | import { MessageKey } from '@/common/MessageKey';
8498 4 |
8499 5 | describe( 'messages/Getters', () => {
8500
8501
8502error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/store/messages/getters.spec.ts:3:28:
8503 1 | import { getters } from '@/store/messages/getters';
8504 2 | import Messages from '@/store/messages/Messages';
8505> 3 | import { MessageKey } from '@/common/MessageKey';
8506 | ^
8507 4 |
8508 5 | describe( 'messages/Getters', () => {
8509 6 |
8510
8511
8512error: "@/store/messages" is not found (node/no-missing-import) at tests/unit/store/messages/index.spec.ts:1:28:
8513> 1 | import createMessages from '@/store/messages';
8514 | ^
8515 2 |
8516 3 | describe( 'store/messages/index', () => {
8517 4 | it( 'creates a messages store', () => {
8518
8519
8520error: "@/store/messages/mutations" is not found (node/no-missing-import) at tests/unit/store/messages/mutations.spec.ts:1:27:
8521> 1 | import { mutations } from '@/store/messages/mutations';
8522 | ^
8523 2 | import { lockState } from '../lockState';
8524 3 | import {
8525 4 | MESSAGES_INIT,
8526
8527
8528error: "../lockState" is not found (node/no-missing-import) at tests/unit/store/messages/mutations.spec.ts:2:27:
8529 1 | import { mutations } from '@/store/messages/mutations';
8530> 2 | import { lockState } from '../lockState';
8531 | ^
8532 3 | import {
8533 4 | MESSAGES_INIT,
8534 5 | } from '@/store/messages/mutationTypes';
8535
8536
8537error: "@/store/messages/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/messages/mutations.spec.ts:5:8:
8538 3 | import {
8539 4 | MESSAGES_INIT,
8540> 5 | } from '@/store/messages/mutationTypes';
8541 | ^
8542 6 | import Messages from '@/store/messages/Messages';
8543 7 |
8544 8 | describe( 'messages/mutations', () => {
8545
8546
8547error: "@/store/messages/Messages" is not found (node/no-missing-import) at tests/unit/store/messages/mutations.spec.ts:6:22:
8548 4 | MESSAGES_INIT,
8549 5 | } from '@/store/messages/mutationTypes';
8550> 6 | import Messages from '@/store/messages/Messages';
8551 | ^
8552 7 |
8553 8 | describe( 'messages/mutations', () => {
8554 9 |
8555
8556
8557error: "@/common/MessageKey" is not found (node/no-missing-import) at tests/unit/store/mockMessageMixin.ts:1:28:
8558> 1 | import { MessageKey } from '@/common/MessageKey';
8559 | ^
8560 2 | import MessageCollection from '@/datamodel/MessageCollection';
8561 3 |
8562 4 | export default function mockMessageMixin( messages: MessageCollection = {} ) {
8563
8564
8565error: "@/datamodel/MessageCollection" is not found (node/no-missing-import) at tests/unit/store/mockMessageMixin.ts:2:31:
8566 1 | import { MessageKey } from '@/common/MessageKey';
8567> 2 | import MessageCollection from '@/datamodel/MessageCollection';
8568 | ^
8569 3 |
8570 4 | export default function mockMessageMixin( messages: MessageCollection = {} ) {
8571 5 | return {
8572
8573
8574error: "@/store/mutations" is not found (node/no-missing-import) at tests/unit/store/mutations.spec.ts:1:27:
8575> 1 | import { mutations } from '@/store/mutations';
8576 | ^
8577 2 | import {
8578 3 | EDITMODE_SET,
8579 4 | } from '@/store/mutationTypes';
8580
8581
8582error: "@/store/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/mutations.spec.ts:4:8:
8583 2 | import {
8584 3 | EDITMODE_SET,
8585> 4 | } from '@/store/mutationTypes';
8586 | ^
8587 5 | import Root from '@/store/Root';
8588 6 |
8589 7 | describe( 'root/mutations', () => {
8590
8591
8592error: "@/store/Root" is not found (node/no-missing-import) at tests/unit/store/mutations.spec.ts:5:18:
8593 3 | EDITMODE_SET,
8594 4 | } from '@/store/mutationTypes';
8595> 5 | import Root from '@/store/Root';
8596 | ^
8597 6 |
8598 7 | describe( 'root/mutations', () => {
8599 8 |
8600
8601
8602error: "@/store/user/actions" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:1:21:
8603> 1 | import actions from '@/store/user/actions';
8604 | ^
8605 2 | import {
8606 3 | LANGUAGE_PREFERENCE,
8607 4 | USER_NAME_SET,
8608
8609
8610error: "@/store/user/actionTypes" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:7:8:
8611 5 | USER_PREFERENCES_INIT,
8612 6 | USER_PREFERENCE_SET,
8613> 7 | } from '@/store/user/actionTypes';
8614 | ^
8615 8 | import {
8616 9 | LANGUAGE_INIT,
8617 10 | SECONDARY_LANGUAGES_INIT,
8618
8619
8620error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:13:8:
8621 11 | USER_SET_NAME,
8622 12 | USER_SET_PREFERENCE,
8623> 13 | } from '@/store/user/mutationTypes';
8624 | ^
8625 14 | import {
8626 15 | NS_LANGUAGE,
8627 16 | NS_MESSAGES,
8628
8629
8630error: "@/store/namespaces" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:17:8:
8631 15 | NS_LANGUAGE,
8632 16 | NS_MESSAGES,
8633> 17 | } from '@/store/namespaces';
8634 | ^
8635 18 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
8636 19 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8637 20 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
8638
8639
8640error: "@/store/language/actionTypes" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:18:46:
8641 16 | NS_MESSAGES,
8642 17 | } from '@/store/namespaces';
8643> 18 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
8644 | ^
8645 19 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8646 20 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
8647 21 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8648
8649
8650error: "@/store/messages/actionTypes" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:19:31:
8651 17 | } from '@/store/namespaces';
8652 18 | import { ENSURE_AVAILABLE_IN_LANGUAGE } from '@/store/language/actionTypes';
8653> 19 | import { MESSAGES_INIT } from '@/store/messages/actionTypes';
8654 | ^
8655 20 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
8656 21 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8657 22 | import { UserPreference } from '@/common/UserPreference';
8658
8659
8660error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/store/user/actions.spec.ts:22:32:
8661 20 | import { action } from '@wmde/vuex-helpers/dist/namespacedStoreMethods';
8662 21 | import newMockStore from '@wmde/vuex-helpers/dist/newMockStore';
8663> 22 | import { UserPreference } from '@/common/UserPreference';
8664 | ^
8665 23 |
8666 24 | describe( 'user/actions', () => {
8667 25 | describe( LANGUAGE_PREFERENCE, () => {
8668
8669
8670error: ES2017 'Object.values' method is forbidden (es/no-object-values) at tests/unit/store/user/actions.spec.ts:92:4:
8671 90 | prefsRepo,
8672 91 | )[ USER_PREFERENCES_INIT ]( context ).then( () => {
8673> 92 | Object.values( UserPreference ).forEach( ( preference: UserPreference ) => {
8674 | ^
8675 93 | expect( prefsRepo.getPreference ).toHaveBeenCalledWith( preference );
8676 94 | expect( context.commit ).toHaveBeenCalledWith(
8677 95 | USER_SET_PREFERENCE,
8678
8679
8680error: "@/store/user/getters" is not found (node/no-missing-import) at tests/unit/store/user/getters.spec.ts:1:25:
8681> 1 | import { getters } from '@/store/user/getters';
8682 | ^
8683 2 | import newUserState from './newUserState';
8684 3 |
8685 4 | describe( 'user/getters', () => {
8686
8687
8688error: "./newUserState" is not found (node/no-missing-import) at tests/unit/store/user/getters.spec.ts:2:26:
8689 1 | import { getters } from '@/store/user/getters';
8690> 2 | import newUserState from './newUserState';
8691 | ^
8692 3 |
8693 4 | describe( 'user/getters', () => {
8694 5 |
8695
8696
8697error: "@/store/user" is not found (node/no-missing-import) at tests/unit/store/user/index.spec.ts:1:24:
8698> 1 | import createUser from '@/store/user';
8699 | ^
8700 2 |
8701 3 | describe( 'store/user/index', () => {
8702 4 | it( 'creates a user store', () => {
8703
8704
8705error: "@/store/user/mutations" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:1:27:
8706> 1 | import { mutations } from '@/store/user/mutations';
8707 | ^
8708 2 | import {
8709 3 | LANGUAGE_INIT,
8710 4 | SECONDARY_LANGUAGES_INIT,
8711
8712
8713error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:5:8:
8714 3 | LANGUAGE_INIT,
8715 4 | SECONDARY_LANGUAGES_INIT,
8716> 5 | } from '@/store/user/mutationTypes';
8717 | ^
8718 6 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
8719 7 | import { USER_SET_NAME } from '@/store/user/mutationTypes';
8720 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8721
8722
8723error: "@/store/user/exceptions/InvalidLanguageValueException" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:6:43:
8724 4 | SECONDARY_LANGUAGES_INIT,
8725 5 | } from '@/store/user/mutationTypes';
8726> 6 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
8727 | ^
8728 7 | import { USER_SET_NAME } from '@/store/user/mutationTypes';
8729 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8730 9 | import { UserPreference } from '@/common/UserPreference';
8731
8732
8733error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:7:31:
8734 5 | } from '@/store/user/mutationTypes';
8735 6 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
8736> 7 | import { USER_SET_NAME } from '@/store/user/mutationTypes';
8737 | ^
8738 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8739 9 | import { UserPreference } from '@/common/UserPreference';
8740 10 | import newUserState from './newUserState';
8741
8742
8743error: "@/store/user/mutationTypes" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:8:37:
8744 6 | import InvalidLanguageValueException from '@/store/user/exceptions/InvalidLanguageValueException';
8745 7 | import { USER_SET_NAME } from '@/store/user/mutationTypes';
8746> 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8747 | ^
8748 9 | import { UserPreference } from '@/common/UserPreference';
8749 10 | import newUserState from './newUserState';
8750 11 |
8751
8752
8753error: "@/common/UserPreference" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:9:32:
8754 7 | import { USER_SET_NAME } from '@/store/user/mutationTypes';
8755 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8756> 9 | import { UserPreference } from '@/common/UserPreference';
8757 | ^
8758 10 | import newUserState from './newUserState';
8759 11 |
8760 12 | describe( '/store/user/mutations.ts', () => {
8761
8762
8763error: "./newUserState" is not found (node/no-missing-import) at tests/unit/store/user/mutations.spec.ts:10:26:
8764 8 | import { USER_SET_PREFERENCE } from '@/store/user/mutationTypes';
8765 9 | import { UserPreference } from '@/common/UserPreference';
8766> 10 | import newUserState from './newUserState';
8767 | ^
8768 11 |
8769 12 | describe( '/store/user/mutations.ts', () => {
8770 13 | it( 'throws a exceptions if the given type is invalid during initialisation', () => {
8771
8772
8773error: "../lockState" is not found (node/no-missing-import) at tests/unit/store/user/newUserState.ts:1:27:
8774> 1 | import { lockState } from '../lockState';
8775 | ^
8776 2 | import User from '@/store/user/User';
8777 3 |
8778 4 | export default function ( user: object|null = null ): User {
8779
8780
8781error: "@/store/user/User" is not found (node/no-missing-import) at tests/unit/store/user/newUserState.ts:2:18:
8782 1 | import { lockState } from '../lockState';
8783> 2 | import User from '@/store/user/User';
8784 | ^
8785 3 |
8786 4 | export default function ( user: object|null = null ): User {
8787 5 | let state = {
8788
8789
8790warning: Missing JSDoc @return declaration (jsdoc/require-returns) at vue.config.js:23:1:
8791 21 | }
8792 22 |
8793> 23 | /**
8794 | ^
8795 24 | * In production libraries may be provided by ResourceLoader
8796 25 | * to allow their caching across applications,
8797 26 | * in dev and on server mode it is still webpack's job to make them available
8798
8799
8800error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at vue.config.js:61:6:
8801 59 | config.plugin( 'extract-css' )
8802 60 | .tap( ( [ options, ...args ] ) => [
8803> 61 | Object.assign( {}, options, { filename: `${filePrefix}[name].css` } ),
8804 | ^
8805 62 | ...args,
8806 63 | ] );
8807 64 |
8808
8809
8810error: ES2015 'Object.assign' method is forbidden (es/no-object-assign) at vue.config.js:81:5:
8811 79 | .use( 'vue-loader' )
8812 80 | .tap( ( options ) =>
8813> 81 | Object.assign( options, {
8814 | ^
8815 82 | optimizeSSR: false,
8816 83 | } ) );
8817 84 | },
8818
8819
8820905 errors and 19 warnings found.
88218 errors and 3 warnings potentially fixable with the `--fix` option.
8822Eslint found too many warnings (maximum: 0).
8823npm ERR! code ELIFECYCLE
8824npm ERR! errno 1
8825npm ERR! wikibase-termbox@0.1.0 test:lint: `vue-cli-service lint --no-fix --max-warnings 0 . && stylelint --syntax scss 'src/**/*.(vue|scss)'`
8826npm ERR! Exit status 1
8827npm ERR!
8828npm ERR! Failed at the wikibase-termbox@0.1.0 test:lint script.
8829npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
8830
8831npm ERR! A complete log of this run can be found in:
8832npm ERR! /Users/z/.npm/_logs/2020-10-22T16_11_56_604Z-debug.log
8833ERROR: "test:lint" exited with 1.
8834npm ERR! Test failed. See above for more details.

@wiese @Jakob_WMDE @Tarrow according to github, you were the most active contributors.

Looks like the repository is no longer under active development. Is that correct?

Almost all other repositories I've checked have eslint-config-wikimedia at version 0.20.0. wikibase-termbox is at 0.14.3. Does it make sense to update the version in this repository at all?

Looks like the repository is no longer under active development. Is that correct?

@zeljkofilipin that is not quite correct. There is currently no new feature development but the repository is still maintained by WMDE, and the code runs on Wikidata production infrastructure.
I'll make sure that the development team sees this task.

Maybe it is obvious but everyone working on linting of termbox should be aware that, in addition to the "official" eslint-config-wikimedia, it uses eslint-config-wikimedia-typescript – interpreting the Wikimedia code conventions for the TypeScript language, which had no representation in eslint-config-wikimedia at the time (end of 2019). All changes done should be performed in the awareness that eslint-config-wikimedia-typescript was meant as a stop-gap (see) until eslint-config-wikimedia supports TypeScript; also see former T249304 comments. The situation today may allow for changes to land in central eslint-config-wikimedia instead of taking the indirect route via eslint-config-wikimedia-typescript – for the better of all TypeScript-based projects in Wikimedia land and to eventually eliminate this potentially unexpected aspect.

The issue of node/no-missing-import not respecting path aliases seem to be tracked in https://github.com/mysticatea/eslint-plugin-node/issues/233.

Disclaimer: not an active maintainer any more but member of the team at the time.

Addshore lowered the priority of this task from Medium to Low.Jul 14 2021, 11:13 AM

(small update: this should now be somwhat unlocked with the 0.2.2 release of eslint-config-wikimedia-typescript that should be compatible with eslint-config-wikimedia 0.21.0)

zeljkofilipin raised the priority of this task from Low to Needs Triage.Oct 31 2023, 4:19 PM