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

Restricted Application removed a project: Patch-For-Review. · View Herald TranscriptThu, Oct 15, 7:38 PM
jaredblumer updated the task description. (Show Details)Thu, Oct 15, 7:40 PM
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

zeljkofilipin added a comment.EditedTue, Oct 20, 2:50 PM

@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

zeljkofilipin added a comment.EditedThu, Oct 22, 4:35 PM

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 |