root@beeservers:/var/www/pterodactyl# blueprint -rerun-install 19:46:49 WARNING: This is an advanced feature, only proceed if you know what you are doing. ██▌▌▌ Blueprint Framework ██ ██▌▌▌ https://blueprint.zip ████▌▌▌ © 2023-2024 Emma (prpl.wtf) 19:46:49 INFO: Searching and validating framework dependencies.. 19:46:49 INFO: Placing Blueprint command shortcut.. 19:46:49 INFO: Linking directories and filesystems.. 19:46:49 INPUT: Would you like to put your application into maintenance while Blueprint is installing? (Y/n) y 19:46:51 INFO: Put application into maintenance mode. 19:46:51 INFO: Flushing cache.. 19:46:54 INFO: Running database migrations.. PHP Deprecated: Illuminate\Support\Collection::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 385 PHP Deprecated: Illuminate\Support\Collection::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 403 PHP Deprecated: Illuminate\Support\Collection::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Collection.php on line 751 PHP Deprecated: Illuminate\Support\Traits\EnumeratesValues::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 167 PHP Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 537 PHP Deprecated: Illuminate\Support\Traits\EnumeratesValues::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 551 PHP Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 565 PHP Deprecated: Illuminate\Support\Traits\EnumeratesValues::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php on line 579 PHP Deprecated: Illuminate\Support\Enumerable::times(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 41 PHP Deprecated: Illuminate\Support\Enumerable::filter(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 299 PHP Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 311 PHP Deprecated: Illuminate\Support\Enumerable::when(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 311 PHP Deprecated: Illuminate\Support\Enumerable::whenEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 322 PHP Deprecated: Illuminate\Support\Enumerable::whenNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 333 PHP Deprecated: Illuminate\Support\Enumerable::unless(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 345 PHP Deprecated: Illuminate\Support\Enumerable::unlessEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 356 PHP Deprecated: Illuminate\Support\Enumerable::unlessNotEmpty(): Implicitly marking parameter $default as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 367 PHP Deprecated: Illuminate\Support\Enumerable::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 479 PHP Deprecated: Illuminate\Support\Enumerable::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Collections/Enumerable.php on line 621 PHP Deprecated: Illuminate\Log\Logger::__construct(): Implicitly marking parameter $dispatcher as nullable is deprecated, the explicit nullable type must be used instead in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Log/Logger.php on line 46 INFO Nothing to migrate. 19:46:54 INFO: Seeding Blueprint database records.. 19:46:54 INFO: Changing Pterodactyl file ownership to 'www-data:www-data'.. 19:46:54 INFO: Rebuilding panel assets.. yarn run v1.22.22 $ yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production --progress $ cd public/assets && find . \( -name "*.js" -o -name "*.map" \) -type f -delete 64% building 629/691 modules 62 active /var/www/pterodactyl/node_modules/source-map-loader/dist/cjs.js!/var/www/pterodactyl/node_modules/lodash-es/stubArray.js warn - As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default. warn - Remove it from the `plugins` array in your configuration to eliminate this warning. Hash: e0848c1810a84c52be31 Version: webpack 4.47.0 Time: 10004ms Built at: 2025. 09. 05. 19:47:05 15 assets Entrypoint main = bundle.09c112b2.js [11] ./node_modules/history/esm/history.js + 2 modules 30.6 KiB {5} [built] | 3 modules [19] ./resources/scripts/api/http.ts 3.89 KiB {5} [built] [20] ./resources/scripts/state/index.ts + 7 modules 4.71 KiB {5} [built] | ./resources/scripts/state/index.ts 359 bytes [built] | ./resources/scripts/state/flashes.ts 1.55 KiB [built] | ./resources/scripts/state/user.ts 1.39 KiB [built] | ./resources/scripts/state/permissions.ts 393 bytes [built] | ./resources/scripts/state/settings.ts 177 bytes [built] | ./resources/scripts/state/progress.ts 407 bytes [built] | ./resources/scripts/api/account/updateAccountEmail.ts 237 bytes [built] | ./resources/scripts/api/getSystemPermissions.ts 228 bytes [built] [34] ./resources/scripts/helpers.ts 1.08 KiB {5} [built] [42] ./node_modules/react-transition-group/esm/index.js + 4 modules 22.6 KiB {5} [built] | 5 modules [53] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/assets/tailwind.css 61 KiB {5} [built] [54] ./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/dist/cjs.js??ref--6-2!./resources/scripts/blueprint/css/extensions.css 426 bytes {5} [built] [55] ./node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js + 1 modules 4.65 KiB {5} [built] | 2 modules [56] ./resources/scripts/state/server/index.ts + 5 modules 5.8 KiB {5} [built] | ./resources/scripts/state/server/index.ts 2.37 KiB [built] | ./resources/scripts/state/server/socket.ts 284 bytes [built] | ./resources/scripts/state/server/files.ts 1.42 KiB [built] | ./resources/scripts/state/server/subusers.ts 574 bytes [built] | ./resources/scripts/state/server/schedules.ts 584 bytes [built] | ./resources/scripts/state/server/databases.ts 584 bytes [built] [85] ./node_modules/react-i18next/dist/es/index.js + 11 modules 33.7 KiB {5} [built] | 12 modules [100] multi react-hot-loader/patch ./resources/scripts/index.tsx 40 bytes {5} [built] [148] ./resources/scripts/index.tsx + 15 modules 121 KiB {5} [built] | ./resources/scripts/index.tsx 583 bytes [built] | ./resources/scripts/blueprint/css/extensions.css 421 bytes [built] | ./resources/scripts/i18n.ts 1.08 KiB [built] | ./resources/scripts/assets/css/GlobalStylesheet.ts 1.94 KiB [built] | ./resources/scripts/api/interceptors.ts 769 bytes [built] | ./resources/scripts/assets/tailwind.css 410 bytes [built] | + 10 hidden modules [496] ./resources/scripts/routers/AuthenticationRouter.tsx + 14 modules 54.8 KiB {3} [built] | ./resources/scripts/routers/AuthenticationRouter.tsx 1.52 KiB [built] | ./resources/scripts/api/auth/login.ts 720 bytes [built] | ./resources/scripts/api/auth/requestPasswordResetEmail.ts 293 bytes [built] | ./resources/scripts/api/auth/performPasswordReset.ts 430 bytes [built] | ./resources/scripts/api/auth/loginCheckpoint.ts 491 bytes [built] | ./resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx 21.6 KiB [built] | ./resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx 1.8 KiB [built] | + 8 hidden modules [497] ./resources/scripts/routers/DashboardRouter.tsx + 12 modules 25.8 KiB {4} [built] | ./resources/scripts/routers/DashboardRouter.tsx 1.22 KiB [built] | ./resources/scripts/blueprint/extends/routers/DashboardRouter.tsx 2.5 KiB [built] | ./resources/scripts/api/server/getServerResourceUsage.ts 686 bytes [built] | + 10 hidden modules [499] ./resources/scripts/routers/ServerRouter.tsx + 9 modules 24.1 KiB {6} [built] | ./resources/scripts/routers/ServerRouter.tsx 3.9 KiB [built] | ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx 5.81 KiB [built] | ./resources/scripts/plugins/Websocket.ts 2.89 KiB [built] | ./resources/scripts/api/server/getWebsocketToken.ts 289 bytes [built] | + 6 hidden modules + 486 hidden modules ERROR in ./node_modules/@tanstack/virtual-core/dist/esm/index.js 312:88 Module parse failed: Unexpected token (312:88) File was processed with these loaders: * ./node_modules/source-map-loader/dist/cjs.js You may need an additional loader to handle the result of these loaders. | this.targetWindow = this.scrollElement.ownerDocument.defaultView; | } else { > this.targetWindow = ((_a = this.scrollElement) == null ? void 0 : _a.window) ?? null; | } | this.elementsCache.forEach((cached) => { @ ./node_modules/@tanstack/react-virtual/dist/esm/index.js 3:0-164 4:0-39 4:0-39 21:14-25 34:4-22 35:4-24 36:16-29 43:24-41 44:26-45 45:16-28 @ ./node_modules/@headlessui/react/dist/components/combobox/combobox.js @ ./node_modules/@headlessui/react/dist/headlessui.esm.js @ ./resources/scripts/components/elements/dialog/Dialog.tsx @ ./resources/scripts/components/elements/dialog/index.ts @ ./resources/scripts/components/server/console/PowerButtons.tsx @ ./resources/scripts/components/server/console/ServerConsoleContainer.tsx @ ./resources/scripts/routers/routes.ts @ ./resources/scripts/blueprint/extends/routers/ServerRouter.tsx @ ./resources/scripts/routers/ServerRouter.tsx @ ./resources/scripts/components/App.tsx @ ./resources/scripts/index.tsx @ multi react-hot-loader/patch ./resources/scripts/index.tsx ERROR in resources/scripts/api/account/activity.ts:1:60 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; | ^^^^^ 2 | import { ActivityLog, Transformers } from '@definitions/user'; 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; ERROR in resources/scripts/api/account/activity.ts:2:43 TS2792: Cannot find module '@definitions/user'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; > 2 | import { ActivityLog, Transformers } from '@definitions/user'; | ^^^^^^^^^^^^^^^^^^^ 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; ERROR in resources/scripts/api/account/activity.ts:3:28 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; 2 | import { ActivityLog, Transformers } from '@definitions/user'; > 3 | import { AxiosError } from 'axios'; | ^^^^^^^ 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; ERROR in resources/scripts/api/account/activity.ts:4:83 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { ActivityLog, Transformers } from '@definitions/user'; 3 | import { AxiosError } from 'axios'; > 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; | ^^^^^^^^^^^^ 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; 7 | import { useUserSWRKey } from '@/plugins/useSWRKey'; ERROR in resources/scripts/api/account/activity.ts:5:32 TS2792: Cannot find module '@definitions/helpers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; > 5 | import { toPaginatedSet } from '@definitions/helpers'; | ^^^^^^^^^^^^^^^^^^^^^^ 6 | import useFilteredObject from '@/plugins/useFilteredObject'; 7 | import { useUserSWRKey } from '@/plugins/useSWRKey'; 8 | ERROR in resources/scripts/api/account/activity.ts:6:31 TS2792: Cannot find module '@/plugins/useFilteredObject'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; > 6 | import useFilteredObject from '@/plugins/useFilteredObject'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import { useUserSWRKey } from '@/plugins/useSWRKey'; 8 | 9 | export type ActivityLogFilters = QueryBuilderParams<'ip' | 'event', 'timestamp'>; ERROR in resources/scripts/api/account/activity.ts:7:31 TS2792: Cannot find module '@/plugins/useSWRKey'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; > 7 | import { useUserSWRKey } from '@/plugins/useSWRKey'; | ^^^^^^^^^^^^^^^^^^^^^ 8 | 9 | export type ActivityLogFilters = QueryBuilderParams<'ip' | 'event', 'timestamp'>; 10 | ERROR in resources/scripts/api/account/createApiKey.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { ApiKey, rawDataToApiKey } from '@/api/account/getApiKeys'; 3 | 4 | export default (description: string, allowedIps: string): Promise => { ERROR in resources/scripts/api/account/createApiKey.ts:2:41 TS2792: Cannot find module '@/api/account/getApiKeys'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { ApiKey, rawDataToApiKey } from '@/api/account/getApiKeys'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export default (description: string, allowedIps: string): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/account/createApiKey.ts:10:22 TS7031: Binding element 'data' implicitly has an 'any' type. 8 | allowed_ips: allowedIps.length > 0 ? allowedIps.split('\n') : [], 9 | }) > 10 | .then(({ data }) => | ^^^^ 11 | resolve({ 12 | ...rawDataToApiKey(data.attributes), 13 | // eslint-disable-next-line camelcase ERROR in resources/scripts/api/account/deleteApiKey.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (identifier: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/account/disableAccountTwoFactor.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | function disableAccountTwoFactor(password: string): Promise { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/account/enableAccountTwoFactor.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (code: string, password: string): Promise => { 4 | const { data } = await http.post('/api/client/account/two-factor', { code, password }); ERROR in resources/scripts/api/account/getApiKeys.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export interface ApiKey { 4 | identifier: string; ERROR in resources/scripts/api/account/getApiKeys.ts:22:22 TS7031: Binding element 'data' implicitly has an 'any' type. 20 | return new Promise((resolve, reject) => { 21 | http.get('/api/client/account/api-keys') > 22 | .then(({ data }) => resolve((data.data || []).map((d: any) => rawDataToApiKey(d.attributes)))) | ^^^^ 23 | .catch(reject); 24 | }); 25 | }; ERROR in resources/scripts/api/account/getTwoFactorTokenData.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export interface TwoFactorTokenData { 4 | // eslint-disable-next-line camelcase ERROR in resources/scripts/api/account/getTwoFactorTokenData.ts:12:22 TS7031: Binding element 'data' implicitly has an 'any' type. 10 | return new Promise((resolve, reject) => { 11 | http.get('/api/client/account/two-factor') > 12 | .then(({ data }) => resolve(data.data)) | ^^^^ 13 | .catch(reject); 14 | }); 15 | }; ERROR in resources/scripts/api/account/ssh-keys.ts:1:41 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import useSWR, { ConfigInterface } from 'swr'; | ^^^^^ 2 | import http, { FractalResponseList } from '@/api/http'; 3 | import { SSHKey, Transformers } from '@definitions/user'; 4 | import { AxiosError } from 'axios'; ERROR in resources/scripts/api/account/ssh-keys.ts:2:43 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface } from 'swr'; > 2 | import http, { FractalResponseList } from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { SSHKey, Transformers } from '@definitions/user'; 4 | import { AxiosError } from 'axios'; 5 | import { useUserSWRKey } from '@/plugins/useSWRKey'; ERROR in resources/scripts/api/account/ssh-keys.ts:3:38 TS2792: Cannot find module '@definitions/user'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface } from 'swr'; 2 | import http, { FractalResponseList } from '@/api/http'; > 3 | import { SSHKey, Transformers } from '@definitions/user'; | ^^^^^^^^^^^^^^^^^^^ 4 | import { AxiosError } from 'axios'; 5 | import { useUserSWRKey } from '@/plugins/useSWRKey'; 6 | ERROR in resources/scripts/api/account/ssh-keys.ts:4:28 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import http, { FractalResponseList } from '@/api/http'; 3 | import { SSHKey, Transformers } from '@definitions/user'; > 4 | import { AxiosError } from 'axios'; | ^^^^^^^ 5 | import { useUserSWRKey } from '@/plugins/useSWRKey'; 6 | 7 | const useSSHKeys = (config?: ConfigInterface) => { ERROR in resources/scripts/api/account/ssh-keys.ts:5:31 TS2792: Cannot find module '@/plugins/useSWRKey'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { SSHKey, Transformers } from '@definitions/user'; 4 | import { AxiosError } from 'axios'; > 5 | import { useUserSWRKey } from '@/plugins/useSWRKey'; | ^^^^^^^^^^^^^^^^^^^^^ 6 | 7 | const useSSHKeys = (config?: ConfigInterface) => { 8 | const key = useUserSWRKey(['account', 'ssh-keys']); ERROR in resources/scripts/api/account/updateAccountEmail.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (email: string, password: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/account/updateAccountPassword.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | interface Data { 4 | current: string; ERROR in resources/scripts/api/auth/login.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export interface LoginResponse { 4 | complete: boolean; ERROR in resources/scripts/api/auth/login.ts:25:20 TS7006: Parameter 'response' implicitly has an 'any' type. 23 | }) 24 | ) > 25 | .then((response) => { | ^^^^^^^^ 26 | if (!(response.data instanceof Object)) { 27 | return reject(new Error('An error occurred while processing the login request.')); 28 | } ERROR in resources/scripts/api/auth/loginCheckpoint.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { LoginResponse } from '@/api/auth/login'; 3 | 4 | export default (token: string, code: string, recoveryToken?: string): Promise => { ERROR in resources/scripts/api/auth/loginCheckpoint.ts:2:31 TS2792: Cannot find module '@/api/auth/login'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { LoginResponse } from '@/api/auth/login'; | ^^^^^^^^^^^^^^^^^^ 3 | 4 | export default (token: string, code: string, recoveryToken?: string): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/auth/loginCheckpoint.ts:11:20 TS7006: Parameter 'response' implicitly has an 'any' type. 9 | recovery_token: recoveryToken && recoveryToken.length > 0 ? recoveryToken : undefined, 10 | }) > 11 | .then((response) => | ^^^^^^^^ 12 | resolve({ 13 | complete: response.data.data.complete, 14 | intended: response.data.data.intended || undefined, ERROR in resources/scripts/api/auth/performPasswordReset.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | interface Data { 4 | token: string; ERROR in resources/scripts/api/auth/performPasswordReset.ts:22:20 TS7006: Parameter 'response' implicitly has an 'any' type. 20 | password_confirmation: data.passwordConfirmation, 21 | }) > 22 | .then((response) => | ^^^^^^^^ 23 | resolve({ 24 | redirectTo: response.data.redirect_to, 25 | sendToLogin: response.data.send_to_login, ERROR in resources/scripts/api/auth/requestPasswordResetEmail.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (email: string, recaptchaData?: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/auth/requestPasswordResetEmail.ts:6:20 TS7006: Parameter 'response' implicitly has an 'any' type. 4 | return new Promise((resolve, reject) => { 5 | http.post('/auth/password', { email, 'g-recaptcha-response': recaptchaData }) > 6 | .then((response) => resolve(response.data.status || '')) | ^^^^^^^^ 7 | .catch(reject); 8 | }); 9 | }; ERROR in resources/scripts/api/definitions/helpers.ts:7:8 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | getPaginationSet, 6 | PaginatedResult, > 7 | } from '@/api/http'; | ^^^^^^^^^^^^ 8 | import { Model } from '@definitions/index'; 9 | 10 | type TransformerFunc = (callback: FractalResponseData) => T; ERROR in resources/scripts/api/definitions/helpers.ts:8:23 TS2792: Cannot find module '@definitions/index'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | PaginatedResult, 7 | } from '@/api/http'; > 8 | import { Model } from '@definitions/index'; | ^^^^^^^^^^^^^^^^^^^^ 9 | 10 | type TransformerFunc = (callback: FractalResponseData) => T; 11 | ERROR in resources/scripts/api/definitions/helpers.ts:38:24 TS2339: Property 'attributes' does not exist on type 'never'. 36 | } 37 | > 38 | if (!data || !data.attributes || data.object === 'null_resource') { | ^^^^^^^^^^ 39 | return missing; 40 | } 41 | ERROR in resources/scripts/api/definitions/helpers.ts:38:43 TS2339: Property 'object' does not exist on type 'never'. 36 | } 37 | > 38 | if (!data || !data.attributes || data.object === 'null_resource') { | ^^^^^^ 39 | return missing; 40 | } 41 | ERROR in resources/scripts/api/definitions/user/transformers.ts:1:25 TS2792: Cannot find module '@definitions/user/models'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import * as Models from '@definitions/user/models'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import { FractalResponseData } from '@/api/http'; 3 | import { transform } from '@definitions/helpers'; 4 | ERROR in resources/scripts/api/definitions/user/transformers.ts:2:37 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import * as Models from '@definitions/user/models'; > 2 | import { FractalResponseData } from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { transform } from '@definitions/helpers'; 4 | 5 | export default class Transformers { ERROR in resources/scripts/api/definitions/user/transformers.ts:3:27 TS2792: Cannot find module '@definitions/helpers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import * as Models from '@definitions/user/models'; 2 | import { FractalResponseData } from '@/api/http'; > 3 | import { transform } from '@definitions/helpers'; | ^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default class Transformers { 6 | static toSSHKey = (data: Record): Models.SSHKey => { ERROR in resources/scripts/api/definitions/user/transformers.ts:24:17 TS7006: Parameter 'permission' implicitly has an 'any' type. 22 | permissions: attributes.permissions || [], 23 | createdAt: new Date(attributes.created_at), > 24 | can(permission): boolean { | ^^^^^^^^^^ 25 | return this.permissions.includes(permission); 26 | }, 27 | }; ERROR in resources/scripts/api/getServers.ts:1:47 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { rawDataToServerObject, Server } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; 3 | 4 | interface QueryParams { ERROR in resources/scripts/api/getServers.ts:2:57 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { rawDataToServerObject, Server } from '@/api/server/getServer'; > 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | interface QueryParams { 5 | query?: string; ERROR in resources/scripts/api/getServers.ts:18:22 TS7031: Binding element 'data' implicitly has an 'any' type. 16 | }, 17 | }) > 18 | .then(({ data }) => | ^^^^ 19 | resolve({ 20 | items: (data.data || []).map((datum: any) => rawDataToServerObject(datum)), 21 | pagination: getPaginationSet(data.meta.pagination), ERROR in resources/scripts/api/getSystemPermissions.ts:1:34 TS2792: Cannot find module '@/state/permissions'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { PanelPermissions } from '@/state/permissions'; | ^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | export default (): Promise => { ERROR in resources/scripts/api/getSystemPermissions.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { PanelPermissions } from '@/state/permissions'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | export default (): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/getSystemPermissions.ts:7:22 TS7031: Binding element 'data' implicitly has an 'any' type. 5 | return new Promise((resolve, reject) => { 6 | http.get('/api/client/permissions') > 7 | .then(({ data }) => resolve(data.attributes.permissions)) | ^^^^ 8 | .catch(reject); 9 | }); 10 | }; ERROR in resources/scripts/api/http.ts:1:38 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import axios, { AxiosInstance } from 'axios'; | ^^^^^^^ 2 | import { store } from '@/state'; 3 | 4 | const http: AxiosInstance = axios.create({ ERROR in resources/scripts/api/http.ts:2:23 TS2792: Cannot find module '@/state'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import axios, { AxiosInstance } from 'axios'; > 2 | import { store } from '@/state'; | ^^^^^^^^^ 3 | 4 | const http: AxiosInstance = axios.create({ 5 | withCredentials: true, ERROR in resources/scripts/api/http.ts:14:32 TS7006: Parameter 'req' implicitly has an 'any' type. 12 | }); 13 | > 14 | http.interceptors.request.use((req) => { | ^^^ 15 | if (!req.url?.endsWith('/resources')) { 16 | store.getActions().progress.startContinuous(); 17 | } ERROR in resources/scripts/api/http.ts:23:6 TS7006: Parameter 'resp' implicitly has an 'any' type. 21 | 22 | http.interceptors.response.use( > 23 | (resp) => { | ^^^^ 24 | if (!resp.request?.url?.endsWith('/resources')) { 25 | store.getActions().progress.setComplete(); 26 | } ERROR in resources/scripts/api/http.ts:30:6 TS7006: Parameter 'error' implicitly has an 'any' type. 28 | return resp; 29 | }, > 30 | (error) => { | ^^^^^ 31 | store.getActions().progress.setComplete(); 32 | 33 | throw error; ERROR in resources/scripts/api/interceptors.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { AxiosError } from 'axios'; 3 | import { History } from 'history'; 4 | ERROR in resources/scripts/api/interceptors.ts:2:28 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { AxiosError } from 'axios'; | ^^^^^^^ 3 | import { History } from 'history'; 4 | 5 | export const setupInterceptors = (history: History) => { ERROR in resources/scripts/api/interceptors.ts:7:10 TS7006: Parameter 'resp' implicitly has an 'any' type. 5 | export const setupInterceptors = (history: History) => { 6 | http.interceptors.response.use( > 7 | (resp) => resp, | ^^^^ 8 | (error: AxiosError) => { 9 | if (error.response?.status === 400) { 10 | if ( ERROR in resources/scripts/api/server/activity.ts:1:60 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; | ^^^^^ 2 | import { ActivityLog, Transformers } from '@definitions/user'; 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; ERROR in resources/scripts/api/server/activity.ts:2:43 TS2792: Cannot find module '@definitions/user'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; > 2 | import { ActivityLog, Transformers } from '@definitions/user'; | ^^^^^^^^^^^^^^^^^^^ 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; ERROR in resources/scripts/api/server/activity.ts:3:28 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface, responseInterface } from 'swr'; 2 | import { ActivityLog, Transformers } from '@definitions/user'; > 3 | import { AxiosError } from 'axios'; | ^^^^^^^ 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; ERROR in resources/scripts/api/server/activity.ts:4:83 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { ActivityLog, Transformers } from '@definitions/user'; 3 | import { AxiosError } from 'axios'; > 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; | ^^^^^^^^^^^^ 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; 7 | import { useServerSWRKey } from '@/plugins/useSWRKey'; ERROR in resources/scripts/api/server/activity.ts:5:32 TS2792: Cannot find module '@definitions/helpers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { AxiosError } from 'axios'; 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; > 5 | import { toPaginatedSet } from '@definitions/helpers'; | ^^^^^^^^^^^^^^^^^^^^^^ 6 | import useFilteredObject from '@/plugins/useFilteredObject'; 7 | import { useServerSWRKey } from '@/plugins/useSWRKey'; 8 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/api/server/activity.ts:6:31 TS2792: Cannot find module '@/plugins/useFilteredObject'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import http, { PaginatedResult, QueryBuilderParams, withQueryBuilderParams } from '@/api/http'; 5 | import { toPaginatedSet } from '@definitions/helpers'; > 6 | import useFilteredObject from '@/plugins/useFilteredObject'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import { useServerSWRKey } from '@/plugins/useSWRKey'; 8 | import { ServerContext } from '@/state/server'; 9 | ERROR in resources/scripts/api/server/activity.ts:7:33 TS2792: Cannot find module '@/plugins/useSWRKey'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import { toPaginatedSet } from '@definitions/helpers'; 6 | import useFilteredObject from '@/plugins/useFilteredObject'; > 7 | import { useServerSWRKey } from '@/plugins/useSWRKey'; | ^^^^^^^^^^^^^^^^^^^^^ 8 | import { ServerContext } from '@/state/server'; 9 | 10 | export type ActivityLogFilters = QueryBuilderParams<'ip' | 'event', 'timestamp'>; ERROR in resources/scripts/api/server/activity.ts:8:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import useFilteredObject from '@/plugins/useFilteredObject'; 7 | import { useServerSWRKey } from '@/plugins/useSWRKey'; > 8 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 9 | 10 | export type ActivityLogFilters = QueryBuilderParams<'ip' | 'event', 'timestamp'>; 11 | ERROR in resources/scripts/api/server/activity.ts:16:47 TS7006: Parameter 'state' implicitly has an 'any' type. 14 | config?: ConfigInterface, AxiosError> 15 | ): responseInterface, AxiosError> => { > 16 | const uuid = ServerContext.useStoreState((state) => state.server.data?.uuid); | ^^^^^ 17 | const key = useServerSWRKey(['activity', useFilteredObject(filters || {})]); 18 | 19 | return useSWR>( ERROR in resources/scripts/api/server/backups/createServerBackup.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { ServerBackup } from '@/api/server/types'; 3 | import { rawDataToServerBackup } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/backups/createServerBackup.ts:2:30 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { ServerBackup } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 3 | import { rawDataToServerBackup } from '@/api/transformers'; 4 | 5 | interface RequestParameters { ERROR in resources/scripts/api/server/backups/createServerBackup.ts:3:39 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; 2 | import { ServerBackup } from '@/api/server/types'; > 3 | import { rawDataToServerBackup } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | interface RequestParameters { 6 | name?: string; ERROR in resources/scripts/api/server/backups/deleteBackup.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, backup: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/backups/getBackupDownloadUrl.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, backup: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/backups/getBackupDownloadUrl.ts:6:22 TS7031: Binding element 'data' implicitly has an 'any' type. 4 | return new Promise((resolve, reject) => { 5 | http.get(`/api/client/servers/${uuid}/backups/${backup}/download`) > 6 | .then(({ data }) => resolve(data.attributes.url)) | ^^^^ 7 | .catch(reject); 8 | }); 9 | }; ERROR in resources/scripts/api/server/backups/index.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export const restoreServerBackup = async (uuid: string, backup: string, truncate?: boolean): Promise => { 4 | await http.post(`/api/client/servers/${uuid}/backups/${backup}/restore`, { ERROR in resources/scripts/api/server/databases/createServerDatabase.ts:1:57 TS2792: Cannot find module '@/api/server/databases/getServerDatabases'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { rawDataToServerDatabase, ServerDatabase } from '@/api/server/databases/getServerDatabases'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | export default (uuid: string, data: { connectionsFrom: string; databaseName: string }): Promise => { ERROR in resources/scripts/api/server/databases/createServerDatabase.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { rawDataToServerDatabase, ServerDatabase } from '@/api/server/databases/getServerDatabases'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | export default (uuid: string, data: { connectionsFrom: string; databaseName: string }): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/databases/createServerDatabase.ts:16:20 TS7006: Parameter 'response' implicitly has an 'any' type. 14 | } 15 | ) > 16 | .then((response) => resolve(rawDataToServerDatabase(response.data.attributes))) | ^^^^^^^^ 17 | .catch(reject); 18 | }); 19 | }; ERROR in resources/scripts/api/server/databases/deleteServerDatabase.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, database: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/databases/getServerDatabases.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export interface ServerDatabase { 4 | id: string; ERROR in resources/scripts/api/server/databases/getServerDatabases.ts:26:20 TS7006: Parameter 'response' implicitly has an 'any' type. 24 | params: includePassword ? { include: 'password' } : undefined, 25 | }) > 26 | .then((response) => | ^^^^^^^^ 27 | resolve((response.data.data || []).map((item: any) => rawDataToServerDatabase(item.attributes))) 28 | ) 29 | .catch(reject); ERROR in resources/scripts/api/server/databases/rotateDatabasePassword.ts:1:57 TS2792: Cannot find module '@/api/server/databases/getServerDatabases'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { rawDataToServerDatabase, ServerDatabase } from '@/api/server/databases/getServerDatabases'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | export default (uuid: string, database: string): Promise => { ERROR in resources/scripts/api/server/databases/rotateDatabasePassword.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { rawDataToServerDatabase, ServerDatabase } from '@/api/server/databases/getServerDatabases'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | export default (uuid: string, database: string): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/databases/rotateDatabasePassword.ts:7:20 TS7006: Parameter 'response' implicitly has an 'any' type. 5 | return new Promise((resolve, reject) => { 6 | http.post(`/api/client/servers/${uuid}/databases/${database}/rotate-password`) > 7 | .then((response) => resolve(rawDataToServerDatabase(response.data.attributes))) | ^^^^^^^^ 8 | .catch(reject); 9 | }); 10 | }; ERROR in resources/scripts/api/server/files/chmodFiles.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | interface Data { 4 | file: string; ERROR in resources/scripts/api/server/files/compressFiles.ts:1:28 TS2792: Cannot find module '@/api/server/files/loadDirectory'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { FileObject } from '@/api/server/files/loadDirectory'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | import { rawDataToFileObject } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/files/compressFiles.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { FileObject } from '@/api/server/files/loadDirectory'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { rawDataToFileObject } from '@/api/transformers'; 4 | 5 | export default async (uuid: string, directory: string, files: string[]): Promise => { ERROR in resources/scripts/api/server/files/compressFiles.ts:3:37 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { FileObject } from '@/api/server/files/loadDirectory'; 2 | import http from '@/api/http'; > 3 | import { rawDataToFileObject } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default async (uuid: string, directory: string, files: string[]): Promise => { 6 | const { data } = await http.post( ERROR in resources/scripts/api/server/files/copyFile.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, location: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/createDirectory.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, root: string, name: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/decompressFiles.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (uuid: string, directory: string, file: string): Promise => { 4 | await http.post( ERROR in resources/scripts/api/server/files/deleteFiles.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, directory: string, files: string[]): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/getFileContents.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (server: string, file: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/getFileContents.ts:7:33 TS7006: Parameter 'res' implicitly has an 'any' type. 5 | http.get(`/api/client/servers/${server}/files/contents`, { 6 | params: { file }, > 7 | transformResponse: (res) => res, | ^^^ 8 | responseType: 'text', 9 | }) 10 | .then(({ data }) => resolve(data)) ERROR in resources/scripts/api/server/files/getFileContents.ts:10:22 TS7031: Binding element 'data' implicitly has an 'any' type. 8 | responseType: 'text', 9 | }) > 10 | .then(({ data }) => resolve(data)) | ^^^^ 11 | .catch(reject); 12 | }); 13 | }; ERROR in resources/scripts/api/server/files/getFileDownloadUrl.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, file: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/getFileDownloadUrl.ts:6:22 TS7031: Binding element 'data' implicitly has an 'any' type. 4 | return new Promise((resolve, reject) => { 5 | http.get(`/api/client/servers/${uuid}/files/download`, { params: { file } }) > 6 | .then(({ data }) => resolve(data.attributes.url)) | ^^^^ 7 | .catch(reject); 8 | }); 9 | }; ERROR in resources/scripts/api/server/files/getFileUploadUrl.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/files/getFileUploadUrl.ts:6:22 TS7031: Binding element 'data' implicitly has an 'any' type. 4 | return new Promise((resolve, reject) => { 5 | http.get(`/api/client/servers/${uuid}/files/upload`) > 6 | .then(({ data }) => resolve(data.attributes.url)) | ^^^^ 7 | .catch(reject); 8 | }); 9 | }; ERROR in resources/scripts/api/server/files/loadDirectory.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { rawDataToFileObject } from '@/api/transformers'; 3 | 4 | export interface FileObject { ERROR in resources/scripts/api/server/files/loadDirectory.ts:2:37 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { rawDataToFileObject } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export interface FileObject { 5 | key: string; ERROR in resources/scripts/api/server/files/renameFiles.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | interface Data { 4 | to: string; ERROR in resources/scripts/api/server/files/saveFileContents.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (uuid: string, file: string, content: string): Promise => { 4 | await http.post(`/api/client/servers/${uuid}/files/write`, content, { ERROR in resources/scripts/api/server/getServer.ts:1:64 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http, { FractalResponseData, FractalResponseList } from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { rawDataToServerAllocation, rawDataToServerEggVariable } from '@/api/transformers'; 3 | import { ServerEggVariable, ServerStatus } from '@/api/server/types'; 4 | ERROR in resources/scripts/api/server/getServer.ts:2:71 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http, { FractalResponseData, FractalResponseList } from '@/api/http'; > 2 | import { rawDataToServerAllocation, rawDataToServerEggVariable } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 3 | import { ServerEggVariable, ServerStatus } from '@/api/server/types'; 4 | 5 | export interface Allocation { ERROR in resources/scripts/api/server/getServer.ts:3:49 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http, { FractalResponseData, FractalResponseList } from '@/api/http'; 2 | import { rawDataToServerAllocation, rawDataToServerEggVariable } from '@/api/transformers'; > 3 | import { ServerEggVariable, ServerStatus } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export interface Allocation { 6 | id: number; ERROR in resources/scripts/api/server/getServer.ts:89:16 TS7031: Binding element 'data' implicitly has an 'any' type. 87 | http 88 | .get(`/api/client/servers/${uuid}`) > 89 | .then(({ data }) => | ^^^^ 90 | resolve([ 91 | rawDataToServerObject(data), 92 | // eslint-disable-next-line camelcase ERROR in resources/scripts/api/server/getServerResourceUsage.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export type ServerPowerState = 'offline' | 'starting' | 'running' | 'stopping'; 4 | ERROR in resources/scripts/api/server/getServerResourceUsage.ts:19:30 TS7031: Binding element 'attributes' implicitly has an 'any' type. 17 | return new Promise((resolve, reject) => { 18 | http.get(`/api/client/servers/${server}/resources`) > 19 | .then(({ data: { attributes } }) => | ^^^^^^^^^^ 20 | resolve({ 21 | status: attributes.current_state, 22 | isSuspended: attributes.is_suspended, ERROR in resources/scripts/api/server/getWebsocketToken.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | interface Response { 4 | token: string; ERROR in resources/scripts/api/server/getWebsocketToken.ts:11:22 TS7031: Binding element 'data' implicitly has an 'any' type. 9 | return new Promise((resolve, reject) => { 10 | http.get(`/api/client/servers/${server}/websocket`) > 11 | .then(({ data }) => | ^^^^ 12 | resolve({ 13 | token: data.data.token, 14 | socket: data.data.socket, ERROR in resources/scripts/api/server/network/createServerAllocation.ts:1:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/network/createServerAllocation.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | 5 | export default async (uuid: string): Promise => { ERROR in resources/scripts/api/server/network/createServerAllocation.ts:3:43 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; 2 | import http from '@/api/http'; > 3 | import { rawDataToServerAllocation } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default async (uuid: string): Promise => { 6 | const { data } = await http.post(`/api/client/servers/${uuid}/network/allocations`); ERROR in resources/scripts/api/server/network/deleteServerAllocation.ts:1:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | export default async (uuid: string, id: number): Promise => ERROR in resources/scripts/api/server/network/deleteServerAllocation.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | export default async (uuid: string, id: number): Promise => 5 | await http.delete(`/api/client/servers/${uuid}/network/allocations/${id}`); ERROR in resources/scripts/api/server/network/setPrimaryServerAllocation.ts:1:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/network/setPrimaryServerAllocation.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | 5 | export default async (uuid: string, id: number): Promise => { ERROR in resources/scripts/api/server/network/setPrimaryServerAllocation.ts:3:43 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; 2 | import http from '@/api/http'; > 3 | import { rawDataToServerAllocation } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default async (uuid: string, id: number): Promise => { 6 | const { data } = await http.post(`/api/client/servers/${uuid}/network/allocations/${id}/primary`); ERROR in resources/scripts/api/server/network/setServerAllocationNotes.ts:1:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/network/setServerAllocationNotes.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { rawDataToServerAllocation } from '@/api/transformers'; 4 | 5 | export default async (uuid: string, id: number, notes: string | null): Promise => { ERROR in resources/scripts/api/server/network/setServerAllocationNotes.ts:3:43 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; 2 | import http from '@/api/http'; > 3 | import { rawDataToServerAllocation } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default async (uuid: string, id: number, notes: string | null): Promise => { 6 | const { data } = await http.post(`/api/client/servers/${uuid}/network/allocations/${id}`, { notes }); ERROR in resources/scripts/api/server/reinstallServer.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/renameServer.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, name: string, description?: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/schedules/createOrUpdateSchedule.ts:1:51 TS2792: Cannot find module '@/api/server/schedules/getServerSchedules'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { rawDataToServerSchedule, Schedule } from '@/api/server/schedules/getServerSchedules'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | type Data = Pick & { id?: number }; ERROR in resources/scripts/api/server/schedules/createOrUpdateSchedule.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { rawDataToServerSchedule, Schedule } from '@/api/server/schedules/getServerSchedules'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | type Data = Pick & { id?: number }; 5 | ERROR in resources/scripts/api/server/schedules/createOrUpdateScheduleTask.ts:1:43 TS2792: Cannot find module '@/api/server/schedules/getServerSchedules'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { rawDataToServerTask, Task } from '@/api/server/schedules/getServerSchedules'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import http from '@/api/http'; 3 | 4 | interface Data { ERROR in resources/scripts/api/server/schedules/createOrUpdateScheduleTask.ts:2:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { rawDataToServerTask, Task } from '@/api/server/schedules/getServerSchedules'; > 2 | import http from '@/api/http'; | ^^^^^^^^^^^^ 3 | 4 | interface Data { 5 | action: string; ERROR in resources/scripts/api/server/schedules/deleteSchedule.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, schedule: number): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/schedules/deleteScheduleTask.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, scheduleId: number, taskId: number): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/schedules/getServerSchedule.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { rawDataToServerSchedule, Schedule } from '@/api/server/schedules/getServerSchedules'; 3 | 4 | export default (uuid: string, schedule: number): Promise => { ERROR in resources/scripts/api/server/schedules/getServerSchedule.ts:2:51 TS2792: Cannot find module '@/api/server/schedules/getServerSchedules'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { rawDataToServerSchedule, Schedule } from '@/api/server/schedules/getServerSchedules'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export default (uuid: string, schedule: number): Promise => { 5 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/schedules/getServerSchedule.ts:11:22 TS7031: Binding element 'data' implicitly has an 'any' type. 9 | }, 10 | }) > 11 | .then(({ data }) => resolve(rawDataToServerSchedule(data.attributes))) | ^^^^ 12 | .catch(reject); 13 | }); 14 | }; ERROR in resources/scripts/api/server/schedules/getServerSchedules.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export interface Schedule { 4 | id: number; ERROR in resources/scripts/api/server/schedules/triggerScheduleExecution.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (server: string, schedule: number): Promise => 4 | await http.post(`/api/client/servers/${server}/schedules/${schedule}/execute`); ERROR in resources/scripts/api/server/setSelectedDockerImage.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (uuid: string, image: string): Promise => { 4 | await http.put(`/api/client/servers/${uuid}/settings/docker-image`, { docker_image: image }); ERROR in resources/scripts/api/server/updateStartupVariable.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { ServerEggVariable } from '@/api/server/types'; 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; 4 | ERROR in resources/scripts/api/server/updateStartupVariable.ts:2:35 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { ServerEggVariable } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; 4 | 5 | export default async (uuid: string, key: string, value: string): Promise<[ServerEggVariable, string]> => { ERROR in resources/scripts/api/server/updateStartupVariable.ts:3:44 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; 2 | import { ServerEggVariable } from '@/api/server/types'; > 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | 5 | export default async (uuid: string, key: string, value: string): Promise<[ServerEggVariable, string]> => { 6 | const { data } = await http.put(`/api/client/servers/${uuid}/startup/variable`, { key, value }); ERROR in resources/scripts/api/server/users/createOrUpdateSubuser.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { rawDataToServerSubuser } from '@/api/server/users/getServerSubusers'; 3 | import { Subuser } from '@/state/server/subusers'; 4 | ERROR in resources/scripts/api/server/users/createOrUpdateSubuser.ts:2:40 TS2792: Cannot find module '@/api/server/users/getServerSubusers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; > 2 | import { rawDataToServerSubuser } from '@/api/server/users/getServerSubusers'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | import { Subuser } from '@/state/server/subusers'; 4 | 5 | interface Params { ERROR in resources/scripts/api/server/users/createOrUpdateSubuser.ts:3:25 TS2792: Cannot find module '@/state/server/subusers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http from '@/api/http'; 2 | import { rawDataToServerSubuser } from '@/api/server/users/getServerSubusers'; > 3 | import { Subuser } from '@/state/server/subusers'; | ^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | interface Params { 6 | email: string; ERROR in resources/scripts/api/server/users/createOrUpdateSubuser.ts:15:20 TS7006: Parameter 'data' implicitly has an 'any' type. 13 | ...params, 14 | }) > 15 | .then((data) => resolve(rawDataToServerSubuser(data.data))) | ^^^^ 16 | .catch(reject); 17 | }); 18 | }; ERROR in resources/scripts/api/server/users/deleteSubuser.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default (uuid: string, userId: string): Promise => { 4 | return new Promise((resolve, reject) => { ERROR in resources/scripts/api/server/users/getServerSubusers.ts:1:43 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http, { FractalResponseData } from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { Subuser } from '@/state/server/subusers'; 3 | 4 | export const rawDataToServerSubuser = (data: FractalResponseData): Subuser => ({ ERROR in resources/scripts/api/server/users/getServerSubusers.ts:2:25 TS2792: Cannot find module '@/state/server/subusers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import http, { FractalResponseData } from '@/api/http'; > 2 | import { Subuser } from '@/state/server/subusers'; | ^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export const rawDataToServerSubuser = (data: FractalResponseData): Subuser => ({ 5 | uuid: data.attributes.uuid, ERROR in resources/scripts/api/server/users/getServerSubusers.ts:12:11 TS7006: Parameter 'permission' implicitly has an 'any' type. 10 | createdAt: new Date(data.attributes.created_at), 11 | permissions: data.attributes.permissions || [], > 12 | can: (permission) => (data.attributes.permissions || []).indexOf(permission) >= 0, | ^^^^^^^^^^ 13 | }); 14 | 15 | export default (uuid: string): Promise => { ERROR in resources/scripts/api/server/users/getServerSubusers.ts:18:22 TS7031: Binding element 'data' implicitly has an 'any' type. 16 | return new Promise((resolve, reject) => { 17 | http.get(`/api/client/servers/${uuid}/users`) > 18 | .then(({ data }) => resolve((data.data || []).map(rawDataToServerSubuser))) | ^^^^ 19 | .catch(reject); 20 | }); 21 | }; ERROR in resources/scripts/api/swr/getServerAllocations.ts:1:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 2 | import useSWR from 'swr'; 3 | import http from '@/api/http'; 4 | import { rawDataToServerAllocation } from '@/api/transformers'; ERROR in resources/scripts/api/swr/getServerAllocations.ts:2:20 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { ServerContext } from '@/state/server'; > 2 | import useSWR from 'swr'; | ^^^^^ 3 | import http from '@/api/http'; 4 | import { rawDataToServerAllocation } from '@/api/transformers'; 5 | import { Allocation } from '@/api/server/getServer'; ERROR in resources/scripts/api/swr/getServerAllocations.ts:3:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { ServerContext } from '@/state/server'; 2 | import useSWR from 'swr'; > 3 | import http from '@/api/http'; | ^^^^^^^^^^^^ 4 | import { rawDataToServerAllocation } from '@/api/transformers'; 5 | import { Allocation } from '@/api/server/getServer'; 6 | ERROR in resources/scripts/api/swr/getServerAllocations.ts:4:43 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import useSWR from 'swr'; 3 | import http from '@/api/http'; > 4 | import { rawDataToServerAllocation } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 5 | import { Allocation } from '@/api/server/getServer'; 6 | 7 | export default () => { ERROR in resources/scripts/api/swr/getServerAllocations.ts:5:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import http from '@/api/http'; 4 | import { rawDataToServerAllocation } from '@/api/transformers'; > 5 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 | export default () => { 8 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); ERROR in resources/scripts/api/swr/getServerAllocations.ts:8:47 TS7006: Parameter 'state' implicitly has an 'any' type. 6 | 7 | export default () => { > 8 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 9 | 10 | return useSWR( 11 | ['server:allocations', uuid], ERROR in resources/scripts/api/swr/getServerBackups.ts:1:20 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import useSWR from 'swr'; | ^^^^^ 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; 3 | import { ServerBackup } from '@/api/server/types'; 4 | import { rawDataToServerBackup } from '@/api/transformers'; ERROR in resources/scripts/api/swr/getServerBackups.ts:2:57 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR from 'swr'; > 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { ServerBackup } from '@/api/server/types'; 4 | import { rawDataToServerBackup } from '@/api/transformers'; 5 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/api/swr/getServerBackups.ts:3:30 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR from 'swr'; 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; > 3 | import { ServerBackup } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 4 | import { rawDataToServerBackup } from '@/api/transformers'; 5 | import { ServerContext } from '@/state/server'; 6 | import { createContext, useContext } from 'react'; ERROR in resources/scripts/api/swr/getServerBackups.ts:4:39 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import http, { getPaginationSet, PaginatedResult } from '@/api/http'; 3 | import { ServerBackup } from '@/api/server/types'; > 4 | import { rawDataToServerBackup } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 5 | import { ServerContext } from '@/state/server'; 6 | import { createContext, useContext } from 'react'; 7 | ERROR in resources/scripts/api/swr/getServerBackups.ts:5:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { ServerBackup } from '@/api/server/types'; 4 | import { rawDataToServerBackup } from '@/api/transformers'; > 5 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 6 | import { createContext, useContext } from 'react'; 7 | 8 | interface ctx { ERROR in resources/scripts/api/swr/getServerBackups.ts:19:47 TS7006: Parameter 'state' implicitly has an 'any' type. 17 | export default () => { 18 | const { page } = useContext(Context); > 19 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 20 | 21 | return useSWR(['server:backups', uuid, page], async () => { 22 | const { data } = await http.get(`/api/client/servers/${uuid}/backups`, { params: { page } }); ERROR in resources/scripts/api/swr/getServerStartup.ts:1:41 TS2792: Cannot find module 'swr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import useSWR, { ConfigInterface } from 'swr'; | ^^^^^ 2 | import http, { FractalResponseList } from '@/api/http'; 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; 4 | import { ServerEggVariable } from '@/api/server/types'; ERROR in resources/scripts/api/swr/getServerStartup.ts:2:43 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface } from 'swr'; > 2 | import http, { FractalResponseList } from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; 4 | import { ServerEggVariable } from '@/api/server/types'; 5 | ERROR in resources/scripts/api/swr/getServerStartup.ts:3:44 TS2792: Cannot find module '@/api/transformers'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import useSWR, { ConfigInterface } from 'swr'; 2 | import http, { FractalResponseList } from '@/api/http'; > 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; | ^^^^^^^^^^^^^^^^^^^^ 4 | import { ServerEggVariable } from '@/api/server/types'; 5 | 6 | interface Response { ERROR in resources/scripts/api/swr/getServerStartup.ts:4:35 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import http, { FractalResponseList } from '@/api/http'; 3 | import { rawDataToServerEggVariable } from '@/api/transformers'; > 4 | import { ServerEggVariable } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 5 | 6 | interface Response { 7 | invocation: string; ERROR in resources/scripts/api/transformers.ts:1:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import { FractalResponseData } from '@/api/http'; 3 | import { FileObject } from '@/api/server/files/loadDirectory'; 4 | import { ServerBackup, ServerEggVariable } from '@/api/server/types'; ERROR in resources/scripts/api/transformers.ts:2:37 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; > 2 | import { FractalResponseData } from '@/api/http'; | ^^^^^^^^^^^^ 3 | import { FileObject } from '@/api/server/files/loadDirectory'; 4 | import { ServerBackup, ServerEggVariable } from '@/api/server/types'; 5 | ERROR in resources/scripts/api/transformers.ts:3:28 TS2792: Cannot find module '@/api/server/files/loadDirectory'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import { Allocation } from '@/api/server/getServer'; 2 | import { FractalResponseData } from '@/api/http'; > 3 | import { FileObject } from '@/api/server/files/loadDirectory'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import { ServerBackup, ServerEggVariable } from '@/api/server/types'; 5 | 6 | export const rawDataToServerAllocation = (data: FractalResponseData): Allocation => ({ ERROR in resources/scripts/api/transformers.ts:4:49 TS2792: Cannot find module '@/api/server/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { FractalResponseData } from '@/api/http'; 3 | import { FileObject } from '@/api/server/files/loadDirectory'; > 4 | import { ServerBackup, ServerEggVariable } from '@/api/server/types'; | ^^^^^^^^^^^^^^^^^^^^ 5 | 6 | export const rawDataToServerAllocation = (data: FractalResponseData): Allocation => ({ 7 | id: data.attributes.id, ERROR in resources/scripts/assets/css/GlobalStylesheet.ts:1:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 2 | import { createGlobalStyle } from 'styled-components/macro'; 3 | 4 | export default createGlobalStyle` ERROR in resources/scripts/assets/css/GlobalStylesheet.ts:2:10 TS2614: Module '"styled-components/macro"' has no exported member 'createGlobalStyle'. Did you mean to use 'import createGlobalStyle from "styled-components/macro"' instead? 1 | import tw from 'twin.macro'; > 2 | import { createGlobalStyle } from 'styled-components/macro'; | ^^^^^^^^^^^^^^^^^ 3 | 4 | export default createGlobalStyle` 5 | body { ERROR in resources/scripts/blueprint/components/Authentication/Container/AfterContent.tsx:2:56 TS2792: Cannot find module '@/blueprint/extensions/huxregister/sections/RegisterElement'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; > 2 | /* blueprint/import */import HuxregisterComponent from '@/blueprint/extensions/huxregister/sections/RegisterElement'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export default () => { 5 | return ( ERROR in resources/scripts/blueprint/components/Server/Files/Browse/FileButtons.tsx:2:69 TS2792: Cannot find module '@/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; > 2 | /* blueprint/import */import SagaminecrafticonchangerComponent from '@/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | 4 | export default () => { 5 | return ( ERROR in resources/scripts/blueprint/extends/Attribution.tsx:3:34 TS2792: Cannot find module '@/state'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; 2 | import { useStoreState } from 'easy-peasy'; > 3 | import { ApplicationStore } from '@/state'; | ^^^^^^^^^ 4 | 5 | export default () => { 6 | const disable_attribution = useStoreState((state: ApplicationStore) => state.settings.data!.blueprint.disable_attribution); ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:4:26 TS2792: Cannot find module '@/components/elements/ScreenBlock'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { NavLink, Route, Switch } from 'react-router-dom'; 3 | import { useLocation } from 'react-router'; > 4 | import { NotFound } from '@/components/elements/ScreenBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import TransitionRouter from '@/TransitionRouter'; 6 | import DashboardContainer from '@/components/dashboard/DashboardContainer'; 7 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:5:30 TS2792: Cannot find module '@/TransitionRouter'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { useLocation } from 'react-router'; 4 | import { NotFound } from '@/components/elements/ScreenBlock'; > 5 | import TransitionRouter from '@/TransitionRouter'; | ^^^^^^^^^^^^^^^^^^^^ 6 | import DashboardContainer from '@/components/dashboard/DashboardContainer'; 7 | import Spinner from '@/components/elements/Spinner'; 8 | import { useStoreState } from 'easy-peasy'; ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:6:32 TS2792: Cannot find module '@/components/dashboard/DashboardContainer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import { NotFound } from '@/components/elements/ScreenBlock'; 5 | import TransitionRouter from '@/TransitionRouter'; > 6 | import DashboardContainer from '@/components/dashboard/DashboardContainer'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import Spinner from '@/components/elements/Spinner'; 8 | import { useStoreState } from 'easy-peasy'; 9 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:7:21 TS2792: Cannot find module '@/components/elements/Spinner'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import TransitionRouter from '@/TransitionRouter'; 6 | import DashboardContainer from '@/components/dashboard/DashboardContainer'; > 7 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import { useStoreState } from 'easy-peasy'; 9 | 10 | import routes from '@/routers/routes'; ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:10:20 TS2792: Cannot find module '@/routers/routes'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 8 | import { useStoreState } from 'easy-peasy'; 9 | > 10 | import routes from '@/routers/routes'; | ^^^^^^^^^^^^^^^^^^ 11 | import blueprintRoutes from './routes'; 12 | 13 | export const NavigationLinks = () => { ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:20:18 TS7006: Parameter 'route' implicitly has an 'any' type. 18 | {/* Pterodactyl routes */} 19 | {routes.account > 20 | .filter((route) => !!route.name) | ^^^^^ 21 | .map(({ path, name, exact = false }) => ( 22 | 23 | {name} ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:21:17 TS7031: Binding element 'path' implicitly has an 'any' type. 19 | {routes.account 20 | .filter((route) => !!route.name) > 21 | .map(({ path, name, exact = false }) => ( | ^^^^ 22 | 23 | {name} 24 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:21:23 TS7031: Binding element 'name' implicitly has an 'any' type. 19 | {routes.account 20 | .filter((route) => !!route.name) > 21 | .map(({ path, name, exact = false }) => ( | ^^^^ 22 | 23 | {name} 24 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:56:36 TS7031: Binding element 'path' implicitly has an 'any' type. 54 | 55 | {/* Pterodactyl routes */} > 56 | {routes.account.map(({ path, component: Component }) => ( | ^^^^ 57 | 58 | 59 | ERROR in resources/scripts/blueprint/extends/routers/DashboardRouter.tsx:56:53 TS7031: Binding element 'Component' implicitly has an 'any' type. 54 | 55 | {/* Pterodactyl routes */} > 56 | {routes.account.map(({ path, component: Component }) => ( | ^^^^^^^^^ 57 | 58 | 59 | ERROR in resources/scripts/blueprint/extends/routers/routes.ts:3:91 TS2792: Cannot find module '@/blueprint/extensions/versionchanger/VersionChangerContainer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; 2 | > 3 | /* blueprint/import *//* VersionchangerImportStart */import VersionchangerZldwirnsco from '@/blueprint/extensions/versionchanger/VersionChangerContainer';/* VersionchangerImportEnd *//* MclogsImportStart */import MclogsFbchptdjgo from '@/blueprint/extensions/mclogs/LogsPage';/* MclogsImportEnd *//* SubdomainsImportStart */import SubdomainsGtvmkdpapp from '@/blueprint/extensions/subdomains/SubdomainContainer';/* SubdomainsImportEnd */ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | interface RouteDefinition { 6 | path: string; ERROR in resources/scripts/blueprint/extends/routers/routes.ts:3:236 TS2792: Cannot find module '@/blueprint/extensions/mclogs/LogsPage'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; 2 | > 3 | /* blueprint/import *//* VersionchangerImportStart */import VersionchangerZldwirnsco from '@/blueprint/extensions/versionchanger/VersionChangerContainer';/* VersionchangerImportEnd *//* MclogsImportStart */import MclogsFbchptdjgo from '@/blueprint/extensions/mclogs/LogsPage';/* MclogsImportEnd *//* SubdomainsImportStart */import SubdomainsGtvmkdpapp from '@/blueprint/extensions/subdomains/SubdomainContainer';/* SubdomainsImportEnd */ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | interface RouteDefinition { 6 | path: string; ERROR in resources/scripts/blueprint/extends/routers/routes.ts:3:358 TS2792: Cannot find module '@/blueprint/extensions/subdomains/SubdomainContainer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; 2 | > 3 | /* blueprint/import *//* VersionchangerImportStart */import VersionchangerZldwirnsco from '@/blueprint/extensions/versionchanger/VersionChangerContainer';/* VersionchangerImportEnd *//* MclogsImportStart */import MclogsFbchptdjgo from '@/blueprint/extensions/mclogs/LogsPage';/* MclogsImportEnd *//* SubdomainsImportStart */import SubdomainsGtvmkdpapp from '@/blueprint/extensions/subdomains/SubdomainContainer';/* SubdomainsImportEnd */ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | 5 | interface RouteDefinition { 6 | path: string; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:3:30 TS2792: Cannot find module '@/TransitionRouter'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useState, useEffect } from 'react'; 2 | import { NavLink, Route, Switch, useRouteMatch } from 'react-router-dom'; > 3 | import TransitionRouter from '@/TransitionRouter'; | ^^^^^^^^^^^^^^^^^^^^ 4 | import PermissionRoute from '@/components/elements/PermissionRoute'; 5 | import Can from '@/components/elements/Can'; 6 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:4:29 TS2792: Cannot find module '@/components/elements/PermissionRoute'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { NavLink, Route, Switch, useRouteMatch } from 'react-router-dom'; 3 | import TransitionRouter from '@/TransitionRouter'; > 4 | import PermissionRoute from '@/components/elements/PermissionRoute'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import Can from '@/components/elements/Can'; 6 | import Spinner from '@/components/elements/Spinner'; 7 | import { NotFound } from '@/components/elements/ScreenBlock'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:5:17 TS2792: Cannot find module '@/components/elements/Can'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import TransitionRouter from '@/TransitionRouter'; 4 | import PermissionRoute from '@/components/elements/PermissionRoute'; > 5 | import Can from '@/components/elements/Can'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import Spinner from '@/components/elements/Spinner'; 7 | import { NotFound } from '@/components/elements/ScreenBlock'; 8 | import { useLocation } from 'react-router'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:6:21 TS2792: Cannot find module '@/components/elements/Spinner'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import PermissionRoute from '@/components/elements/PermissionRoute'; 5 | import Can from '@/components/elements/Can'; > 6 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import { NotFound } from '@/components/elements/ScreenBlock'; 8 | import { useLocation } from 'react-router'; 9 | import { useStoreState } from 'easy-peasy'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:7:26 TS2792: Cannot find module '@/components/elements/ScreenBlock'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import Can from '@/components/elements/Can'; 6 | import Spinner from '@/components/elements/Spinner'; > 7 | import { NotFound } from '@/components/elements/ScreenBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import { useLocation } from 'react-router'; 9 | import { useStoreState } from 'easy-peasy'; 10 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:10:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 8 | import { useLocation } from 'react-router'; 9 | import { useStoreState } from 'easy-peasy'; > 10 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 11 | 12 | import routes from '@/routers/routes'; 13 | import blueprintRoutes from './routes'; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:12:20 TS2792: Cannot find module '@/routers/routes'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 10 | import { ServerContext } from '@/state/server'; 11 | > 12 | import routes from '@/routers/routes'; | ^^^^^^^^^^^^^^^^^^ 13 | import blueprintRoutes from './routes'; 14 | 15 | const blueprintExtensions = [...new Set(blueprintRoutes.server.map((route) => route.identifier))]; ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:41:50 TS7006: Parameter 'state' implicitly has an 'any' type. 39 | export const NavigationLinks = () => { 40 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin); > 41 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId); | ^^^^^ 42 | const match = useRouteMatch<{ id: string }>(); 43 | const to = (value: string, url = false) => { 44 | if (value === '/') { ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:55:18 TS7006: Parameter 'route' implicitly has an 'any' type. 53 | {/* Pterodactyl routes */} 54 | {routes.server > 55 | .filter((route) => !!route.name) | ^^^^^ 56 | .map((route) => 57 | route.permission ? ( 58 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:56:15 TS7006: Parameter 'route' implicitly has an 'any' type. 54 | {routes.server 55 | .filter((route) => !!route.name) > 56 | .map((route) => | ^^^^^ 57 | route.permission ? ( 58 | 59 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:99:50 TS7006: Parameter 'state' implicitly has an 'any' type. 97 | export const NavigationRouter = () => { 98 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin); > 99 | const serverEgg = ServerContext.useStoreState((state) => state.server.data?.BlueprintFramework.eggId); | ^^^^^ 100 | const match = useRouteMatch<{ id: string }>(); 101 | const to = (value: string, url = false) => { 102 | if (value === '/') { ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:115:33 TS7031: Binding element 'path' implicitly has an 'any' type. 113 | 114 | {/* Pterodactyl routes */} > 115 | {routes.server.map(({ path, permission, component: Component }) => ( | ^^^^ 116 | 117 | 118 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:115:39 TS7031: Binding element 'permission' implicitly has an 'any' type. 113 | 114 | {/* Pterodactyl routes */} > 115 | {routes.server.map(({ path, permission, component: Component }) => ( | ^^^^^^^^^^ 116 | 117 | 118 | ERROR in resources/scripts/blueprint/extends/routers/ServerRouter.tsx:115:62 TS7031: Binding element 'Component' implicitly has an 'any' type. 113 | 114 | {/* Pterodactyl routes */} > 115 | {routes.server.map(({ path, permission, component: Component }) => ( | ^^^^^^^^^ 116 | 117 | 118 | ERROR in resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx:2:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; > 2 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 3 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 4 | import { faTimes } from '@fortawesome/free-solid-svg-icons'; 5 | ERROR in resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx:3:33 TS2792: Cannot find module '@fortawesome/react-fontawesome'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React from 'react'; 2 | import tw from 'twin.macro'; > 3 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import { faTimes } from '@fortawesome/free-solid-svg-icons'; 5 | 6 | ERROR in resources/scripts/blueprint/extensions/huxregister/sections/CustomModal.tsx:4:25 TS2792: Cannot find module '@fortawesome/free-solid-svg-icons'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import tw from 'twin.macro'; 3 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 4 | import { faTimes } from '@fortawesome/free-solid-svg-icons'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | 6 | 7 | interface CustomModalProps { ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:2:35 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useEffect, useState } from 'react'; > 2 | import axios, { AxiosError } from 'axios'; | ^^^^^^^ 3 | import { Formik, Form, FormikHelpers } from 'formik'; 4 | import { object, string, ref } from 'yup'; 5 | import Field from '@/components/elements/Field'; ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:3:45 TS2792: Cannot find module 'formik'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useEffect, useState } from 'react'; 2 | import axios, { AxiosError } from 'axios'; > 3 | import { Formik, Form, FormikHelpers } from 'formik'; | ^^^^^^^^ 4 | import { object, string, ref } from 'yup'; 5 | import Field from '@/components/elements/Field'; 6 | import Button from '@/components/elements/Button'; ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:5:19 TS2792: Cannot find module '@/components/elements/Field'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { Formik, Form, FormikHelpers } from 'formik'; 4 | import { object, string, ref } from 'yup'; > 5 | import Field from '@/components/elements/Field'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import Button from '@/components/elements/Button'; 7 | import tw from 'twin.macro'; 8 | import useFlash from '@/plugins/useFlash'; ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:6:20 TS2792: Cannot find module '@/components/elements/Button'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import { object, string, ref } from 'yup'; 5 | import Field from '@/components/elements/Field'; > 6 | import Button from '@/components/elements/Button'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import tw from 'twin.macro'; 8 | import useFlash from '@/plugins/useFlash'; 9 | import CustomModal from './CustomModal'; ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:7:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import Field from '@/components/elements/Field'; 6 | import Button from '@/components/elements/Button'; > 7 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 8 | import useFlash from '@/plugins/useFlash'; 9 | import CustomModal from './CustomModal'; 10 | ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:8:22 TS2792: Cannot find module '@/plugins/useFlash'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import Button from '@/components/elements/Button'; 7 | import tw from 'twin.macro'; > 8 | import useFlash from '@/plugins/useFlash'; | ^^^^^^^^^^^^^^^^^^^^ 9 | import CustomModal from './CustomModal'; 10 | 11 | interface ErrorResponse { ERROR in resources/scripts/blueprint/extensions/huxregister/sections/RegisterElement.tsx:35:19 TS7006: Parameter 'response' implicitly has an 'any' type. 33 | const isHttps = window.location.protocol === 'https:'; 34 | axios.get(`${isHttps ? 'https://' : 'http://'}${baseUrl}/extensions/huxregister/getTheme`) > 35 | .then(response => { | ^^^^^^^^ 36 | const themeFromServer = response.data.theme || 'light'; 37 | setTheme(themeFromServer); 38 | }) ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:2:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useEffect, useState } from 'react'; > 2 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 3 | import { Actions, useStoreActions } from 'easy-peasy'; 4 | import { ApplicationStore } from '@/state'; 5 | import FlashMessageRender from '@/components/FlashMessageRender'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:3:10 TS2459: Module '"easy-peasy"' declares 'Actions' locally, but it is not exported. 1 | import React, { useEffect, useState } from 'react'; 2 | import { ServerContext } from '@/state/server'; > 3 | import { Actions, useStoreActions } from 'easy-peasy'; | ^^^^^^^ 4 | import { ApplicationStore } from '@/state'; 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:4:34 TS2792: Cannot find module '@/state'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { ServerContext } from '@/state/server'; 3 | import { Actions, useStoreActions } from 'easy-peasy'; > 4 | import { ApplicationStore } from '@/state'; | ^^^^^^^^^ 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import Spinner from '@/components/elements/Spinner'; 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:5:32 TS2792: Cannot find module '@/components/FlashMessageRender'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import { Actions, useStoreActions } from 'easy-peasy'; 4 | import { ApplicationStore } from '@/state'; > 5 | import FlashMessageRender from '@/components/FlashMessageRender'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import Spinner from '@/components/elements/Spinner'; 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:6:21 TS2792: Cannot find module '@/components/elements/Spinner'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import { ApplicationStore } from '@/state'; 5 | import FlashMessageRender from '@/components/FlashMessageRender'; > 6 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 9 | import tw from 'twin.macro'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:7:25 TS2792: Cannot find module '@/components/elements/CopyOnClick'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import Spinner from '@/components/elements/Spinner'; > 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 9 | import tw from 'twin.macro'; 10 | import axios from 'axios'; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:8:32 TS2792: Cannot find module '@/components/elements/ServerContentBlock'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import Spinner from '@/components/elements/Spinner'; 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; > 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import tw from 'twin.macro'; 10 | import axios from 'axios'; 11 | ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:9:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 7 | import CopyOnClick from '@/components/elements/CopyOnClick'; 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; > 9 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 10 | import axios from 'axios'; 11 | 12 | interface McLogEntry { ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:10:19 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 8 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 9 | import tw from 'twin.macro'; > 10 | import axios from 'axios'; | ^^^^^^^ 11 | 12 | interface McLogEntry { 13 | id: string; ERROR in resources/scripts/blueprint/extensions/mclogs/LogsPage.tsx:46:51 TS7006: Parameter 'state' implicitly has an 'any' type. 44 | const [logSortOrder, setLogSortOrder] = useState<'newest' | 'oldest'>('newest'); // Sorting order for logs 45 | > 46 | const { uuid } = ServerContext.useStoreState((state) => state.server.data!); | ^^^^^ 47 | const csrfToken = document.querySelector('meta[name="csrf-token"]')?.getAttribute('content'); 48 | 49 | const clearFlashes = useStoreActions((actions: Actions) => actions.flashes.clearFlashes); ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:1:19 TS2792: Cannot find module 'axios'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import axios from 'axios'; | ^^^^^^^ 2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl'; 3 | import tw from 'twin.macro'; 4 | import { Button } from '@/components/elements/button/index'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:2:30 TS2792: Cannot find module '@/api/server/files/getFileUploadUrl'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import axios from 'axios'; > 2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | import tw from 'twin.macro'; 4 | import { Button } from '@/components/elements/button/index'; 5 | import React, { useRef, useState } from 'react'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:3:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import axios from 'axios'; 2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl'; > 3 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 4 | import { Button } from '@/components/elements/button/index'; 5 | import React, { useRef, useState } from 'react'; 6 | import { useFlashKey } from '@/plugins/useFlash'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:4:24 TS2792: Cannot find module '@/components/elements/button/index'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import getFileUploadUrl from '@/api/server/files/getFileUploadUrl'; 3 | import tw from 'twin.macro'; > 4 | import { Button } from '@/components/elements/button/index'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import React, { useRef, useState } from 'react'; 6 | import { useFlashKey } from '@/plugins/useFlash'; 7 | import useFileManagerSwr from '@/plugins/useFileManagerSwr'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:6:29 TS2792: Cannot find module '@/plugins/useFlash'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import { Button } from '@/components/elements/button/index'; 5 | import React, { useRef, useState } from 'react'; > 6 | import { useFlashKey } from '@/plugins/useFlash'; | ^^^^^^^^^^^^^^^^^^^^ 7 | import useFileManagerSwr from '@/plugins/useFileManagerSwr'; 8 | import { ServerContext } from '@/state/server'; 9 | import { WithClassname } from '@/components/types'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:7:31 TS2792: Cannot find module '@/plugins/useFileManagerSwr'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import React, { useRef, useState } from 'react'; 6 | import { useFlashKey } from '@/plugins/useFlash'; > 7 | import useFileManagerSwr from '@/plugins/useFileManagerSwr'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import { ServerContext } from '@/state/server'; 9 | import { WithClassname } from '@/components/types'; 10 | import { PhotographIcon } from '@heroicons/react/outline'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:8:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import { useFlashKey } from '@/plugins/useFlash'; 7 | import useFileManagerSwr from '@/plugins/useFileManagerSwr'; > 8 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 9 | import { WithClassname } from '@/components/types'; 10 | import { PhotographIcon } from '@heroicons/react/outline'; 11 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:9:31 TS2792: Cannot find module '@/components/types'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 7 | import useFileManagerSwr from '@/plugins/useFileManagerSwr'; 8 | import { ServerContext } from '@/state/server'; > 9 | import { WithClassname } from '@/components/types'; | ^^^^^^^^^^^^^^^^^^^^ 10 | import { PhotographIcon } from '@heroicons/react/outline'; 11 | import Spinner from '@/components/elements/Spinner'; 12 | import { useStoreActions } from 'easy-peasy'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:10:32 TS2792: Cannot find module '@heroicons/react/outline'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 8 | import { ServerContext } from '@/state/server'; 9 | import { WithClassname } from '@/components/types'; > 10 | import { PhotographIcon } from '@heroicons/react/outline'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 | import Spinner from '@/components/elements/Spinner'; 12 | import { useStoreActions } from 'easy-peasy'; 13 | import { ApplicationStore } from '@/state'; ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:11:21 TS2792: Cannot find module '@/components/elements/Spinner'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 9 | import { WithClassname } from '@/components/types'; 10 | import { PhotographIcon } from '@heroicons/react/outline'; > 11 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 | import { useStoreActions } from 'easy-peasy'; 13 | import { ApplicationStore } from '@/state'; 14 | ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:13:34 TS2792: Cannot find module '@/state'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 11 | import Spinner from '@/components/elements/Spinner'; 12 | import { useStoreActions } from 'easy-peasy'; > 13 | import { ApplicationStore } from '@/state'; | ^^^^^^^^^ 14 | 15 | export default ({ className }: WithClassname) => { 16 | const iconUploadInput = useRef(null); ERROR in resources/scripts/blueprint/extensions/sagaminecrafticonchanger/IconUploadButton.tsx:23:47 TS7006: Parameter 'state' implicitly has an 'any' type. 21 | const addFlash = useStoreActions((actions: any) => actions.flashes.addFlash); 22 | > 23 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 24 | 25 | // Function to add a success message with the correct color 26 | const addSuccess = (message: string, title: string = 'Success') => { ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:1:18 TS2792: Cannot find module '@/components/elements/Code'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import Code from '@/components/elements/Code'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import Label from '@/components/elements/Label'; 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 4 | import React, { useEffect } from 'react'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:2:19 TS2792: Cannot find module '@/components/elements/Label'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import Code from '@/components/elements/Code'; > 2 | import Label from '@/components/elements/Label'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 4 | import React, { useEffect } from 'react'; 5 | import { Allocation } from '@/api/server/getServer'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:3:32 TS2792: Cannot find module '@/components/elements/ServerContentBlock'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import Code from '@/components/elements/Code'; 2 | import Label from '@/components/elements/Label'; > 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import React, { useEffect } from 'react'; 5 | import { Allocation } from '@/api/server/getServer'; 6 | import http, { httpErrorToHuman } from '@/api/http'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:5:28 TS2792: Cannot find module '@/api/server/getServer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 4 | import React, { useEffect } from 'react'; > 5 | import { Allocation } from '@/api/server/getServer'; | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import http, { httpErrorToHuman } from '@/api/http'; 7 | import tw from 'twin.macro'; 8 | import Select from '@/components/elements/Select'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:6:40 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import React, { useEffect } from 'react'; 5 | import { Allocation } from '@/api/server/getServer'; > 6 | import http, { httpErrorToHuman } from '@/api/http'; | ^^^^^^^^^^^^ 7 | import tw from 'twin.macro'; 8 | import Select from '@/components/elements/Select'; 9 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:7:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import { Allocation } from '@/api/server/getServer'; 6 | import http, { httpErrorToHuman } from '@/api/http'; > 7 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 8 | import Select from '@/components/elements/Select'; 9 | import { ServerContext } from '@/state/server'; 10 | import { Button } from '@/components/elements/button/index'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:8:20 TS2792: Cannot find module '@/components/elements/Select'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import http, { httpErrorToHuman } from '@/api/http'; 7 | import tw from 'twin.macro'; > 8 | import Select from '@/components/elements/Select'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import { ServerContext } from '@/state/server'; 10 | import { Button } from '@/components/elements/button/index'; 11 | import { Actions, useStoreActions } from 'easy-peasy'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:9:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 7 | import tw from 'twin.macro'; 8 | import Select from '@/components/elements/Select'; > 9 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 10 | import { Button } from '@/components/elements/button/index'; 11 | import { Actions, useStoreActions } from 'easy-peasy'; 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:10:24 TS2792: Cannot find module '@/components/elements/button/index'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 8 | import Select from '@/components/elements/Select'; 9 | import { ServerContext } from '@/state/server'; > 10 | import { Button } from '@/components/elements/button/index'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 | import { Actions, useStoreActions } from 'easy-peasy'; 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:11:10 TS2459: Module '"easy-peasy"' declares 'Actions' locally, but it is not exported. 9 | import { ServerContext } from '@/state/server'; 10 | import { Button } from '@/components/elements/button/index'; > 11 | import { Actions, useStoreActions } from 'easy-peasy'; | ^^^^^^^ 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 14 | import Field from '@/components/elements/Field'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:12:85 TS2792: Cannot find module 'formik'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 10 | import { Button } from '@/components/elements/button/index'; 11 | import { Actions, useStoreActions } from 'easy-peasy'; > 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; | ^^^^^^^^ 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 14 | import Field from '@/components/elements/Field'; 15 | import { ApplicationStore } from '@/state'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:13:28 TS2792: Cannot find module '@/components/elements/SpinnerOverlay'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 11 | import { Actions, useStoreActions } from 'easy-peasy'; 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; > 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 | import Field from '@/components/elements/Field'; 15 | import { ApplicationStore } from '@/state'; 16 | import { object, string } from 'yup'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:14:19 TS2792: Cannot find module '@/components/elements/Field'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 12 | import { Field as FormikField, Form, Formik, FormikHelpers, useFormikContext } from 'formik'; 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; > 14 | import Field from '@/components/elements/Field'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | import { ApplicationStore } from '@/state'; 16 | import { object, string } from 'yup'; 17 | import FormikFieldWrapper from '@/components/elements/FormikFieldWrapper'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:15:34 TS2792: Cannot find module '@/state'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 13 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 14 | import Field from '@/components/elements/Field'; > 15 | import { ApplicationStore } from '@/state'; | ^^^^^^^^^ 16 | import { object, string } from 'yup'; 17 | import FormikFieldWrapper from '@/components/elements/FormikFieldWrapper'; 18 | import Modal from '@/components/elements/Modal'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:17:32 TS2792: Cannot find module '@/components/elements/FormikFieldWrapper'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 15 | import { ApplicationStore } from '@/state'; 16 | import { object, string } from 'yup'; > 17 | import FormikFieldWrapper from '@/components/elements/FormikFieldWrapper'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 | import Modal from '@/components/elements/Modal'; 19 | import GreyRowBox from '@/components/elements/GreyRowBox'; 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:18:19 TS2792: Cannot find module '@/components/elements/Modal'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 16 | import { object, string } from 'yup'; 17 | import FormikFieldWrapper from '@/components/elements/FormikFieldWrapper'; > 18 | import Modal from '@/components/elements/Modal'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19 | import GreyRowBox from '@/components/elements/GreyRowBox'; 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; 21 | import FlashMessageRender from '@/components/FlashMessageRender'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:19:24 TS2792: Cannot find module '@/components/elements/GreyRowBox'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 17 | import FormikFieldWrapper from '@/components/elements/FormikFieldWrapper'; 18 | import Modal from '@/components/elements/Modal'; > 19 | import GreyRowBox from '@/components/elements/GreyRowBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; 21 | import FlashMessageRender from '@/components/FlashMessageRender'; 22 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:20:25 TS2792: Cannot find module '@/components/elements/CopyOnClick'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 18 | import Modal from '@/components/elements/Modal'; 19 | import GreyRowBox from '@/components/elements/GreyRowBox'; > 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 | import FlashMessageRender from '@/components/FlashMessageRender'; 22 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 23 | import { faGlobe } from '@fortawesome/free-solid-svg-icons'; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:21:32 TS2792: Cannot find module '@/components/FlashMessageRender'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 19 | import GreyRowBox from '@/components/elements/GreyRowBox'; 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; > 21 | import FlashMessageRender from '@/components/FlashMessageRender'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 23 | import { faGlobe } from '@fortawesome/free-solid-svg-icons'; 24 | ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:22:33 TS2792: Cannot find module '@fortawesome/react-fontawesome'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 20 | import CopyOnClick from '@/components/elements/CopyOnClick'; 21 | import FlashMessageRender from '@/components/FlashMessageRender'; > 22 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 23 | import { faGlobe } from '@fortawesome/free-solid-svg-icons'; 24 | 25 | type Subdomain = { ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:23:25 TS2792: Cannot find module '@fortawesome/free-solid-svg-icons'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 21 | import FlashMessageRender from '@/components/FlashMessageRender'; 22 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 23 | import { faGlobe } from '@fortawesome/free-solid-svg-icons'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 | 25 | type Subdomain = { 26 | id?: number; ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:46:47 TS7006: Parameter 'state' implicitly has an 'any' type. 44 | 45 | const NewSubdomainForm = ({ subDomains, setSubDomains, domains, availableAllocations, setShowCreate }: { subDomains: Subdomain[]; setSubDomains: (subDomains: Subdomain[]) => void; domains: Domain[]; availableAllocations: Allocation[]; setShowCreate: (show: boolean) => void }) => { > 46 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 47 | const { addError, clearFlashes } = useStoreActions((actions: Actions) => actions.flashes); 48 | const [isSubmitting, setSubmitting] = React.useState(false); 49 | ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:58:22 TS7031: Binding element 'data' implicitly has an 'any' type. 56 | subdomain: subdomain, 57 | }) > 58 | .then(({ data }) => { | ^^^^ 59 | // @ts-ignore 60 | setSubDomains([...subDomains, data.subdomain]); 61 | setSubmitting(false); ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:64:20 TS7006: Parameter 'error' implicitly has an 'any' type. 62 | setShowCreate(false); 63 | }) > 64 | .catch(error => { | ^^^^^ 65 | console.error(error); 66 | addError({ key: 'server:subdomain', message: httpErrorToHuman(error) }); 67 | setSubmitting(false); ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:126:47 TS7006: Parameter 'state' implicitly has an 'any' type. 124 | 125 | export default () => { > 126 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 127 | const [subDomains, setSubDomains] = React.useState([]); 128 | const [domains, setDomains] = React.useState([]); 129 | const { addError, clearFlashes, addFlash } = useStoreActions((actions: Actions) => actions.flashes); ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:133:54 TS7006: Parameter 'state' implicitly has an 'any' type. 131 | const [showCreate, setShowCreate] = React.useState(false); 132 | const [availableAllocations, setAvailableAllocations] = React.useState([]); > 133 | const allocations = ServerContext.useStoreState((state) => state.server.data!.allocations); | ^^^^^ 134 | 135 | useEffect(() => { 136 | if(!subDomains || subDomains.length === 0) { ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:141:53 TS7006: Parameter 'allocation' implicitly has an 'any' type. 139 | }; 140 | console.log(allocations, subDomains); > 141 | setAvailableAllocations(allocations.filter((allocation) => !subDomains.find((subDomain) => subDomain.allocation_id === allocation.id))); | ^^^^^^^^^^ 142 | }, [allocations, subDomains]); 143 | 144 | useEffect(() => { ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:146:20 TS7006: Parameter 'data' implicitly has an 'any' type. 144 | useEffect(() => { 145 | http.get(`/api/client/servers/${uuid}/domains`) > 146 | .then((data) => { | ^^^^ 147 | setSubDomains(data.data.subdomain); 148 | setDomains(data.data.domains); 149 | console.log(subDomains, domains, data.data); ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:152:20 TS7006: Parameter 'error' implicitly has an 'any' type. 150 | setLoading(false); 151 | }) > 152 | .catch(error => { | ^^^^^ 153 | console.error(error); 154 | addError({ key: 'domains', message: httpErrorToHuman(error) }); 155 | setLoading(false); ERROR in resources/scripts/blueprint/extensions/subdomains/SubdomainContainer.tsx:167:20 TS7006: Parameter 'error' implicitly has an 'any' type. 165 | setIsDeleting(false); 166 | }) > 167 | .catch(error => { | ^^^^^ 168 | console.error(error); 169 | addError({ key: 'domains', message: httpErrorToHuman(error) }); 170 | setIsDeleting(false); ERROR in resources/scripts/blueprint/extensions/versionchanger/api/getBuildsForVersionForType.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { MinecraftVersionBuild } from './getVersionsForType'; 3 | 4 | export default async (uuid: string, type: string, _version: string): Promise => { ERROR in resources/scripts/blueprint/extensions/versionchanger/api/getInstalled.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | import { MinecraftVersionBuild } from './getVersionsForType'; 3 | 4 | export default async (uuid: string): Promise<{ build: MinecraftVersionBuild; latest: MinecraftVersionBuild } | null> => { ERROR in resources/scripts/blueprint/extensions/versionchanger/api/getTypes.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export type MinecraftVersionProviderType = { 4 | name: string; ERROR in resources/scripts/blueprint/extensions/versionchanger/api/getVersionsForType.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export type MinecraftVersionBuild = { 4 | id: number; ERROR in resources/scripts/blueprint/extensions/versionchanger/api/getVersionsForType.ts:26:38 TS2698: Spread types may only be created from object types. 24 | 25 | return Object.entries(data.builds) > 26 | .map(([version, data]) => ({ ...data, version })) | ^^^^^^^ 27 | .reverse(); 28 | }; 29 | ERROR in resources/scripts/blueprint/extensions/versionchanger/api/installVersion.ts:1:18 TS2792: Cannot find module '@/api/http'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? > 1 | import http from '@/api/http'; | ^^^^^^^^^^^^ 2 | 3 | export default async (uuid: string, build: number, deleteFiles: boolean): Promise => { 4 | await http.post(`/api/client/extensions/versionchanger/servers/${uuid}/install`, { ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:2:31 TS2792: Cannot find module '@/state/server'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useEffect, useState } from 'react'; > 2 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 4 | import { Button } from '@/components/elements/button/index'; 5 | import getTypes, { MinecraftVersionProviderType } from './api/getTypes'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:3:32 TS2792: Cannot find module '@/components/elements/ServerContentBlock'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 | import React, { useEffect, useState } from 'react'; 2 | import { ServerContext } from '@/state/server'; > 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import { Button } from '@/components/elements/button/index'; 5 | import getTypes, { MinecraftVersionProviderType } from './api/getTypes'; 6 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:4:24 TS2792: Cannot find module '@/components/elements/button/index'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 | import { ServerContext } from '@/state/server'; 3 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; > 4 | import { Button } from '@/components/elements/button/index'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import getTypes, { MinecraftVersionProviderType } from './api/getTypes'; 6 | import Spinner from '@/components/elements/Spinner'; 7 | import Tooltip from '@/components/elements/tooltip/Tooltip'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:6:21 TS2792: Cannot find module '@/components/elements/Spinner'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 4 | import { Button } from '@/components/elements/button/index'; 5 | import getTypes, { MinecraftVersionProviderType } from './api/getTypes'; > 6 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import Tooltip from '@/components/elements/tooltip/Tooltip'; 8 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 9 | import { faArrowLeft, faDownload, faExclamationTriangle, faSkull, faBoxes } from '@fortawesome/free-solid-svg-icons'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:7:21 TS2792: Cannot find module '@/components/elements/tooltip/Tooltip'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 5 | import getTypes, { MinecraftVersionProviderType } from './api/getTypes'; 6 | import Spinner from '@/components/elements/Spinner'; > 7 | import Tooltip from '@/components/elements/tooltip/Tooltip'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 9 | import { faArrowLeft, faDownload, faExclamationTriangle, faSkull, faBoxes } from '@fortawesome/free-solid-svg-icons'; 10 | import getVersionsForType, { ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:8:33 TS2792: Cannot find module '@fortawesome/react-fontawesome'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 6 | import Spinner from '@/components/elements/Spinner'; 7 | import Tooltip from '@/components/elements/tooltip/Tooltip'; > 8 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import { faArrowLeft, faDownload, faExclamationTriangle, faSkull, faBoxes } from '@fortawesome/free-solid-svg-icons'; 10 | import getVersionsForType, { 11 | MinecraftVersionBuild, ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:9:82 TS2792: Cannot find module '@fortawesome/free-solid-svg-icons'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 7 | import Tooltip from '@/components/elements/tooltip/Tooltip'; 8 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; > 9 | import { faArrowLeft, faDownload, faExclamationTriangle, faSkull, faBoxes } from '@fortawesome/free-solid-svg-icons'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 | import getVersionsForType, { 11 | MinecraftVersionBuild, 12 | MinecraftVersionBuilds, ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:17:24 TS2792: Cannot find module '@/components/elements/dialog'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 15 | import getInstalled from './api/getInstalled'; 16 | import installVersion from './api/installVersion'; > 17 | import { Dialog } from '@/components/elements/dialog'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 18 | import { Alert } from '@/components/elements/alert'; 19 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 20 | import Select from '@/components/elements/Select'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:18:23 TS2792: Cannot find module '@/components/elements/alert'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 16 | import installVersion from './api/installVersion'; 17 | import { Dialog } from '@/components/elements/dialog'; > 18 | import { Alert } from '@/components/elements/alert'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 20 | import Select from '@/components/elements/Select'; 21 | import Switch from '@/components/elements/Switch'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:19:28 TS2792: Cannot find module '@/components/elements/SpinnerOverlay'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 17 | import { Dialog } from '@/components/elements/dialog'; 18 | import { Alert } from '@/components/elements/alert'; > 19 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | import Select from '@/components/elements/Select'; 21 | import Switch from '@/components/elements/Switch'; 22 | import tw from 'twin.macro'; ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:20:20 TS2792: Cannot find module '@/components/elements/Select'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 18 | import { Alert } from '@/components/elements/alert'; 19 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; > 20 | import Select from '@/components/elements/Select'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 | import Switch from '@/components/elements/Switch'; 22 | import tw from 'twin.macro'; 23 | ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:21:20 TS2792: Cannot find module '@/components/elements/Switch'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 19 | import SpinnerOverlay from '@/components/elements/SpinnerOverlay'; 20 | import Select from '@/components/elements/Select'; > 21 | import Switch from '@/components/elements/Switch'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | import tw from 'twin.macro'; 23 | 24 | export default function VersionChangerContainer() { ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:22:16 TS2792: Cannot find module 'twin.macro'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 20 | import Select from '@/components/elements/Select'; 21 | import Switch from '@/components/elements/Switch'; > 22 | import tw from 'twin.macro'; | ^^^^^^^^^^^^ 23 | 24 | export default function VersionChangerContainer() { 25 | const uuid = ServerContext.useStoreState(state => state.server.data!.uuid); ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:25:46 TS7006: Parameter 'state' implicitly has an 'any' type. 23 | 24 | export default function VersionChangerContainer() { > 25 | const uuid = ServerContext.useStoreState(state => state.server.data!.uuid); | ^^^^^ 26 | 27 | const [type, setType] = useState(); 28 | const [types, setTypes] = useState([]); ERROR in resources/scripts/blueprint/extensions/versionchanger/VersionChangerContainer.tsx:163:51 TS7006: Parameter 'e' implicitly has an 'any' type. 161 | setSelectedVersion(e.target.value)}> | ^ 90 | {!data ? ( 91 |