ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:3:31 TS2307: Cannot find module '@/api/server/schedules/getServerSchedule' or its corresponding type declarations. 1 | import React, { useCallback, useEffect, useState } from 'react'; 2 | import { useHistory, useParams } from 'react-router-dom'; > 3 | import getServerSchedule from '@/api/server/schedules/getServerSchedule'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import Spinner from '@/components/elements/Spinner'; 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:4:21 TS2307: Cannot find module '@/components/elements/Spinner' or its corresponding type declarations. 2 | import { useHistory, useParams } from 'react-router-dom'; 3 | import getServerSchedule from '@/api/server/schedules/getServerSchedule'; > 4 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:5:32 TS2307: Cannot find module '@/components/FlashMessageRender' or its corresponding type declarations. 3 | import getServerSchedule from '@/api/server/schedules/getServerSchedule'; 4 | import Spinner from '@/components/elements/Spinner'; > 5 | import FlashMessageRender from '@/components/FlashMessageRender'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:6:31 TS2307: Cannot find module '@/components/server/schedules/EditScheduleModal' or its corresponding type declarations. 4 | import Spinner from '@/components/elements/Spinner'; 5 | import FlashMessageRender from '@/components/FlashMessageRender'; > 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; 9 | import Can from '@/components/elements/Can'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:7:27 TS2307: Cannot find module '@/components/server/schedules/NewTaskButton' or its corresponding type declarations. 5 | import FlashMessageRender from '@/components/FlashMessageRender'; 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; > 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; 9 | import Can from '@/components/elements/Can'; 10 | import useFlash from '@/plugins/useFlash'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:8:34 TS2307: Cannot find module '@/components/server/schedules/DeleteScheduleButton' or its corresponding type declarations. 6 | import EditScheduleModal from '@/components/server/schedules/EditScheduleModal'; 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; > 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import Can from '@/components/elements/Can'; 10 | import useFlash from '@/plugins/useFlash'; 11 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:9:17 TS2307: Cannot find module '@/components/elements/Can' or its corresponding type declarations. 7 | import NewTaskButton from '@/components/server/schedules/NewTaskButton'; 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; > 9 | import Can from '@/components/elements/Can'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 | import useFlash from '@/plugins/useFlash'; 11 | import { ServerContext } from '@/state/server'; 12 | import PageContentBlock from '@/components/elements/PageContentBlock'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:10:22 TS2307: Cannot find module '@/plugins/useFlash' or its corresponding type declarations. 8 | import DeleteScheduleButton from '@/components/server/schedules/DeleteScheduleButton'; 9 | import Can from '@/components/elements/Can'; > 10 | import useFlash from '@/plugins/useFlash'; | ^^^^^^^^^^^^^^^^^^^^ 11 | import { ServerContext } from '@/state/server'; 12 | import PageContentBlock from '@/components/elements/PageContentBlock'; 13 | import tw from 'twin.macro'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:11:31 TS2307: Cannot find module '@/state/server' or its corresponding type declarations. 9 | import Can from '@/components/elements/Can'; 10 | import useFlash from '@/plugins/useFlash'; > 11 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 12 | import PageContentBlock from '@/components/elements/PageContentBlock'; 13 | import tw from 'twin.macro'; 14 | import { Button } from '@/components/elements/button/index'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:14:24 TS2307: Cannot find module '@/components/elements/button/index' or its corresponding type declarations. 12 | import PageContentBlock from '@/components/elements/PageContentBlock'; 13 | import tw from 'twin.macro'; > 14 | import { Button } from '@/components/elements/button/index'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | import ScheduleTaskRow from '@/components/server/schedules/ScheduleTaskRow'; 16 | import isEqual from 'react-fast-compare'; 17 | import { format } from 'date-fns'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:15:29 TS2307: Cannot find module '@/components/server/schedules/ScheduleTaskRow' or its corresponding type declarations. 13 | import tw from 'twin.macro'; 14 | import { Button } from '@/components/elements/button/index'; > 15 | import ScheduleTaskRow from '@/components/server/schedules/ScheduleTaskRow'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16 | import isEqual from 'react-fast-compare'; 17 | import { format } from 'date-fns'; 18 | import ScheduleCronRow from '@/components/server/schedules/ScheduleCronRow'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:18:29 TS2307: Cannot find module '@/components/server/schedules/ScheduleCronRow' or its corresponding type declarations. 16 | import isEqual from 'react-fast-compare'; 17 | import { format } from 'date-fns'; > 18 | import ScheduleCronRow from '@/components/server/schedules/ScheduleCronRow'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 19 | import RunScheduleButton from '@/components/server/schedules/RunScheduleButton'; 20 | 21 | import BeforeEdit from '@blueprint/components/Server/Schedules/Edit/BeforeEdit'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:19:31 TS2307: Cannot find module '@/components/server/schedules/RunScheduleButton' or its corresponding type declarations. 17 | import { format } from 'date-fns'; 18 | import ScheduleCronRow from '@/components/server/schedules/ScheduleCronRow'; > 19 | import RunScheduleButton from '@/components/server/schedules/RunScheduleButton'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | 21 | import BeforeEdit from '@blueprint/components/Server/Schedules/Edit/BeforeEdit'; 22 | import AfterEdit from '@blueprint/components/Server/Schedules/Edit/AfterEdit'; ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:29:10 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 27 | 28 | const CronBox = ({ title, value }: { title: string; value: string }) => ( > 29 |
| ^^^ 30 |

{title}

31 |

{value}

32 |
ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:30:12 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 28 | const CronBox = ({ title, value }: { title: string; value: string }) => ( 29 |
> 30 |

{title}

| ^^^ 31 |

{value}

32 |
33 | ); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:31:12 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 29 |
30 |

{title}

> 31 |

{value}

| ^^^ 32 |
33 | ); 34 | ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:37:9 TS2322: Type '{ children: string; css: TwStyle[]; }' is not assignable to type 'DetailedHTMLProps, HTMLSpanElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLSpanElement>'. 35 | const ActivePill = ({ active }: { active: boolean }) => ( 36 | 37 | css={[ | ^^^ 38 | tw`rounded-full px-2 py-px text-xs ml-4 uppercase`, 39 | active ? tw`bg-green-600 text-green-100` : tw`bg-red-600 text-red-100`, 40 | ]} ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:50:45 TS7006: Parameter 'state' implicitly has an 'any' type. 48 | const { id: scheduleId } = useParams(); 49 | > 50 | const id = ServerContext.useStoreState((state) => state.server.data!.id); | ^^^^^ 51 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 52 | 53 | const { clearFlashes, clearAndAddHttpError } = useFlash(); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:51:47 TS7006: Parameter 'state' implicitly has an 'any' type. 49 | 50 | const id = ServerContext.useStoreState((state) => state.server.data!.id); > 51 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 52 | 53 | const { clearFlashes, clearAndAddHttpError } = useFlash(); 54 | const [isLoading, setIsLoading] = useState(true); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:58:10 TS7006: Parameter 'st' implicitly has an 'any' type. 56 | 57 | const schedule = ServerContext.useStoreState( > 58 | (st) => st.schedules.data.find((s) => s.id === Number(scheduleId)), | ^^ 59 | isEqual 60 | ); 61 | const appendSchedule = ServerContext.useStoreActions((actions) => actions.schedules.appendSchedule); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:58:41 TS7006: Parameter 's' implicitly has an 'any' type. 56 | 57 | const schedule = ServerContext.useStoreState( > 58 | (st) => st.schedules.data.find((s) => s.id === Number(scheduleId)), | ^ 59 | isEqual 60 | ); 61 | const appendSchedule = ServerContext.useStoreActions((actions) => actions.schedules.appendSchedule); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:61:59 TS7006: Parameter 'actions' implicitly has an 'any' type. 59 | isEqual 60 | ); > 61 | const appendSchedule = ServerContext.useStoreActions((actions) => actions.schedules.appendSchedule); | ^^^^^^^ 62 | 63 | useEffect(() => { 64 | if (schedule?.id === Number(scheduleId)) { ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:71:20 TS7006: Parameter 'schedule' implicitly has an 'any' type. 69 | clearFlashes('schedules'); 70 | getServerSchedule(uuid, Number(scheduleId)) > 71 | .then((schedule) => appendSchedule(schedule)) | ^^^^^^^^ 72 | .catch((error) => { 73 | console.error(error); 74 | clearAndAddHttpError({ error, key: 'schedules' }); ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:72:21 TS7006: Parameter 'error' implicitly has an 'any' type. 70 | getServerSchedule(uuid, Number(scheduleId)) 71 | .then((schedule) => appendSchedule(schedule)) > 72 | .catch((error) => { | ^^^^^ 73 | console.error(error); 74 | clearAndAddHttpError({ error, key: 'schedules' }); 75 | }) ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:92:26 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 90 | 91 | > 92 |
| ^^^ 93 |
ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:94:29 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 92 |
93 |
94 | css={tw`sm:flex items-center bg-neutral-900 p-3 sm:p-6 border-b-4 border-neutral-600 rounded-t`} | ^^^ 95 | > 96 |
97 |

ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:96:34 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 94 | css={tw`sm:flex items-center bg-neutral-900 p-3 sm:p-6 border-b-4 border-neutral-600 rounded-t`} 95 | > > 96 |
| ^^^ 97 |

98 | {schedule.name} 99 | {schedule.isProcessing ? ( ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:97:37 TS2322: Type '{ children: any[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLHeadingElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLHeadingElement>'. 95 | > 96 |
> 97 |

| ^^^ 98 | {schedule.name} 99 | {schedule.isProcessing ? ( 100 | , HTMLSpanElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLSpanElement>'. 99 | {schedule.isProcessing ? ( 100 | 101 | css={tw`flex items-center rounded-full px-2 py-px text-xs ml-4 uppercase bg-neutral-600 text-white`} | ^^^ 102 | > 103 | 104 | Processing ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:110:36 TS2322: Type '{ children: (string | Element)[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 108 | )} 109 |

> 110 |

| ^^^ 111 | Last run at:  112 | {schedule.lastRunAt ? ( 113 | format(schedule.lastRunAt, "MMM do 'at' h:mma") ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:115:47 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLSpanElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLSpanElement>'. 113 | format(schedule.lastRunAt, "MMM do 'at' h:mma") 114 | ) : ( > 115 | n/a | ^^^ 116 | )} 117 | 118 | Next run at:  ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:117:43 TS2322: Type '{ children: (string | Element)[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLSpanElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLSpanElement>'. 115 | n/a 116 | )} > 117 | | ^^^ 118 | Next run at:  119 | {schedule.nextRunAt ? ( 120 | format(schedule.nextRunAt, "MMM do 'at' h:mma") ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:122:51 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLSpanElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLSpanElement>'. 120 | format(schedule.nextRunAt, "MMM do 'at' h:mma") 121 | ) : ( > 122 | n/a | ^^^ 123 | )} 124 | 125 |

ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:127:34 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 125 |

126 |
> 127 |
| ^^^ 128 | 129 | 130 | Edit ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:136:30 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 134 |
135 |

> 136 |
| ^^^ 137 | 138 | 139 | ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:143:30 TS2322: Type '{ children: any; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 141 | 142 |
> 143 |
| ^^^ 144 | {schedule.tasks.length > 0 145 | ? schedule.tasks 146 | .sort((a, b) => ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:146:46 TS7006: Parameter 'a' implicitly has an 'any' type. 144 | {schedule.tasks.length > 0 145 | ? schedule.tasks > 146 | .sort((a, b) => | ^ 147 | a.sequenceId === b.sequenceId ? 0 : a.sequenceId > b.sequenceId ? 1 : -1 148 | ) 149 | .map((task) => ( ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:146:49 TS7006: Parameter 'b' implicitly has an 'any' type. 144 | {schedule.tasks.length > 0 145 | ? schedule.tasks > 146 | .sort((a, b) => | ^ 147 | a.sequenceId === b.sequenceId ? 0 : a.sequenceId > b.sequenceId ? 1 : -1 148 | ) 149 | .map((task) => ( ERROR in resources/scripts/components/server/schedules/ScheduleEditContainer.tsx:149:45 TS7006: Parameter 'task' implicitly has an 'any' type. 147 | a.sequenceId === b.sequenceId ? 0 : a.sequenceId > b.sequenceId ? 1 : -1 148 | ) > 149 | .map((task) => ( | ^^^^ 150 | , HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 158 |
159 | > 160 |
| ^^^ 161 | 162 | 2 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | import { ServerContext } from '@/state/server'; 4 | import { useStoreState } from 'easy-peasy'; 5 | import RenameServerBox from '@/components/server/settings/RenameServerBox'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:3:31 TS2307: Cannot find module '@/state/server' or its corresponding type declarations. 1 | import React from 'react'; 2 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; > 3 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 4 | import { useStoreState } from 'easy-peasy'; 5 | import RenameServerBox from '@/components/server/settings/RenameServerBox'; 6 | import FlashMessageRender from '@/components/FlashMessageRender'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:5:29 TS2307: Cannot find module '@/components/server/settings/RenameServerBox' or its corresponding type declarations. 3 | import { ServerContext } from '@/state/server'; 4 | import { useStoreState } from 'easy-peasy'; > 5 | import RenameServerBox from '@/components/server/settings/RenameServerBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import FlashMessageRender from '@/components/FlashMessageRender'; 7 | import Can from '@/components/elements/Can'; 8 | import ReinstallServerBox from '@/components/server/settings/ReinstallServerBox'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:6:32 TS2307: Cannot find module '@/components/FlashMessageRender' or its corresponding type declarations. 4 | import { useStoreState } from 'easy-peasy'; 5 | import RenameServerBox from '@/components/server/settings/RenameServerBox'; > 6 | import FlashMessageRender from '@/components/FlashMessageRender'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import Can from '@/components/elements/Can'; 8 | import ReinstallServerBox from '@/components/server/settings/ReinstallServerBox'; 9 | import tw from 'twin.macro'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:7:17 TS2307: Cannot find module '@/components/elements/Can' or its corresponding type declarations. 5 | import RenameServerBox from '@/components/server/settings/RenameServerBox'; 6 | import FlashMessageRender from '@/components/FlashMessageRender'; > 7 | import Can from '@/components/elements/Can'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import ReinstallServerBox from '@/components/server/settings/ReinstallServerBox'; 9 | import tw from 'twin.macro'; 10 | import Input from '@/components/elements/Input'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:8:32 TS2307: Cannot find module '@/components/server/settings/ReinstallServerBox' or its corresponding type declarations. 6 | import FlashMessageRender from '@/components/FlashMessageRender'; 7 | import Can from '@/components/elements/Can'; > 8 | import ReinstallServerBox from '@/components/server/settings/ReinstallServerBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import tw from 'twin.macro'; 10 | import Input from '@/components/elements/Input'; 11 | import Label from '@/components/elements/Label'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:10:19 TS2307: Cannot find module '@/components/elements/Input' or its corresponding type declarations. 8 | import ReinstallServerBox from '@/components/server/settings/ReinstallServerBox'; 9 | import tw from 'twin.macro'; > 10 | import Input from '@/components/elements/Input'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 11 | import Label from '@/components/elements/Label'; 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 13 | import isEqual from 'react-fast-compare'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:11:19 TS2307: Cannot find module '@/components/elements/Label' or its corresponding type declarations. 9 | import tw from 'twin.macro'; 10 | import Input from '@/components/elements/Input'; > 11 | import Label from '@/components/elements/Label'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 13 | import isEqual from 'react-fast-compare'; 14 | import CopyOnClick from '@/components/elements/CopyOnClick'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:12:32 TS2307: Cannot find module '@/components/elements/ServerContentBlock' or its corresponding type declarations. 10 | import Input from '@/components/elements/Input'; 11 | import Label from '@/components/elements/Label'; > 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 | import isEqual from 'react-fast-compare'; 14 | import CopyOnClick from '@/components/elements/CopyOnClick'; 15 | import { ip } from '@/lib/formatters'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:14:25 TS2307: Cannot find module '@/components/elements/CopyOnClick' or its corresponding type declarations. 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 13 | import isEqual from 'react-fast-compare'; > 14 | import CopyOnClick from '@/components/elements/CopyOnClick'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | import { ip } from '@/lib/formatters'; 16 | import { Button } from '@/components/elements/button/index'; 17 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:15:20 TS2307: Cannot find module '@/lib/formatters' or its corresponding type declarations. 13 | import isEqual from 'react-fast-compare'; 14 | import CopyOnClick from '@/components/elements/CopyOnClick'; > 15 | import { ip } from '@/lib/formatters'; | ^^^^^^^^^^^^^^^^^^ 16 | import { Button } from '@/components/elements/button/index'; 17 | 18 | import BeforeContent from '@blueprint/components/Server/Settings/BeforeContent'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:16:24 TS2307: Cannot find module '@/components/elements/button/index' or its corresponding type declarations. 14 | import CopyOnClick from '@/components/elements/CopyOnClick'; 15 | import { ip } from '@/lib/formatters'; > 16 | import { Button } from '@/components/elements/button/index'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 17 | 18 | import BeforeContent from '@blueprint/components/Server/Settings/BeforeContent'; 19 | import AfterContent from '@blueprint/components/Server/Settings/AfterContent'; ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:22:53 TS2339: Property 'user' does not exist on type 'StateMapper<_Pick<{}, never>>'. 20 | 21 | export default () => { > 22 | const username = useStoreState((state) => state.user.data!.username); | ^^^^ 23 | const id = ServerContext.useStoreState((state) => state.server.data!.id); 24 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 25 | const node = ServerContext.useStoreState((state) => state.server.data!.node); ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:23:45 TS7006: Parameter 'state' implicitly has an 'any' type. 21 | export default () => { 22 | const username = useStoreState((state) => state.user.data!.username); > 23 | const id = ServerContext.useStoreState((state) => state.server.data!.id); | ^^^^^ 24 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 25 | const node = ServerContext.useStoreState((state) => state.server.data!.node); 26 | const sftp = ServerContext.useStoreState((state) => state.server.data!.sftpDetails, isEqual); ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:24:47 TS7006: Parameter 'state' implicitly has an 'any' type. 22 | const username = useStoreState((state) => state.user.data!.username); 23 | const id = ServerContext.useStoreState((state) => state.server.data!.id); > 24 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 25 | const node = ServerContext.useStoreState((state) => state.server.data!.node); 26 | const sftp = ServerContext.useStoreState((state) => state.server.data!.sftpDetails, isEqual); 27 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:25:47 TS7006: Parameter 'state' implicitly has an 'any' type. 23 | const id = ServerContext.useStoreState((state) => state.server.data!.id); 24 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); > 25 | const node = ServerContext.useStoreState((state) => state.server.data!.node); | ^^^^^ 26 | const sftp = ServerContext.useStoreState((state) => state.server.data!.sftpDetails, isEqual); 27 | 28 | return ( ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:26:47 TS7006: Parameter 'state' implicitly has an 'any' type. 24 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 25 | const node = ServerContext.useStoreState((state) => state.server.data!.node); > 26 | const sftp = ServerContext.useStoreState((state) => state.server.data!.sftpDetails, isEqual); | ^^^^^ 27 | 28 | return ( 29 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:32:18 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 30 | 31 | > 32 |
| ^^^ 33 |
34 | 35 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:33:22 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 31 | 32 |
> 33 |
| ^^^ 34 | 35 | 36 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:42:34 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 40 | 41 |
> 42 |
| ^^^ 43 | 44 | 45 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:48:34 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 46 | 47 |
> 48 |
| ^^^ 49 |
50 |
51 |

ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:49:38 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 47 |

48 |
> 49 |
| ^^^ 50 |
51 |

52 | Your SFTP password is the same as the password you use to access this panel. ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:50:42 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 48 |

49 |
> 50 |
| ^^^ 51 |

52 | Your SFTP password is the same as the password you use to access this panel. 53 |

ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:51:44 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 49 |
50 |
> 51 |

| ^^^ 52 | Your SFTP password is the same as the password you use to access this panel. 53 |

54 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:56:38 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 54 |
55 |
> 56 |
| ^^^ 57 | 58 | Launch SFTP 59 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:65:30 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 63 | 64 | > 65 |
| ^^^ 66 |

Node

67 | {node} 68 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:67:35 TS2322: Type '{ children: any; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLElement>'. 65 |
66 |

Node

> 67 | {node} | ^^^ 68 |
69 | 70 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:70:34 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 68 |
69 | > 70 |
| ^^^ 71 |

Server ID

72 | {uuid} 73 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:72:39 TS2322: Type '{ children: any; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLElement>'. 70 |
71 |

Server ID

> 72 | {uuid} | ^^^ 73 |
74 |
75 |
ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:77:22 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 75 | 76 |
> 77 |
| ^^^ 78 | 79 |
80 | ERROR in resources/scripts/components/server/settings/SettingsContainer.tsx:79:30 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 77 |
78 | > 79 |
| ^^^ 80 | 81 |
82 |
ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:2:27 TS2307: Cannot find module '@/components/elements/TitledGreyBox' or its corresponding type declarations. 1 | import React, { useCallback, useEffect, useState } from 'react'; > 2 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 | import tw from 'twin.macro'; 4 | import VariableBox from '@/components/server/startup/VariableBox'; 5 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:4:25 TS2307: Cannot find module '@/components/server/startup/VariableBox' or its corresponding type declarations. 2 | import TitledGreyBox from '@/components/elements/TitledGreyBox'; 3 | import tw from 'twin.macro'; > 4 | import VariableBox from '@/components/server/startup/VariableBox'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 5 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 6 | import getServerStartup from '@/api/swr/getServerStartup'; 7 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:5:32 TS2307: Cannot find module '@/components/elements/ServerContentBlock' or its corresponding type declarations. 3 | import tw from 'twin.macro'; 4 | import VariableBox from '@/components/server/startup/VariableBox'; > 5 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import getServerStartup from '@/api/swr/getServerStartup'; 7 | import Spinner from '@/components/elements/Spinner'; 8 | import { ServerError } from '@/components/elements/ScreenBlock'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:6:30 TS2307: Cannot find module '@/api/swr/getServerStartup' or its corresponding type declarations. 4 | import VariableBox from '@/components/server/startup/VariableBox'; 5 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; > 6 | import getServerStartup from '@/api/swr/getServerStartup'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import Spinner from '@/components/elements/Spinner'; 8 | import { ServerError } from '@/components/elements/ScreenBlock'; 9 | import { httpErrorToHuman } from '@/api/http'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:7:21 TS2307: Cannot find module '@/components/elements/Spinner' or its corresponding type declarations. 5 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 6 | import getServerStartup from '@/api/swr/getServerStartup'; > 7 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import { ServerError } from '@/components/elements/ScreenBlock'; 9 | import { httpErrorToHuman } from '@/api/http'; 10 | import { ServerContext } from '@/state/server'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:8:29 TS2307: Cannot find module '@/components/elements/ScreenBlock' or its corresponding type declarations. 6 | import getServerStartup from '@/api/swr/getServerStartup'; 7 | import Spinner from '@/components/elements/Spinner'; > 8 | import { ServerError } from '@/components/elements/ScreenBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import { httpErrorToHuman } from '@/api/http'; 10 | import { ServerContext } from '@/state/server'; 11 | import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:9:34 TS2307: Cannot find module '@/api/http' or its corresponding type declarations. 7 | import Spinner from '@/components/elements/Spinner'; 8 | import { ServerError } from '@/components/elements/ScreenBlock'; > 9 | import { httpErrorToHuman } from '@/api/http'; | ^^^^^^^^^^^^ 10 | import { ServerContext } from '@/state/server'; 11 | import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect'; 12 | import Select from '@/components/elements/Select'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:10:31 TS2307: Cannot find module '@/state/server' or its corresponding type declarations. 8 | import { ServerError } from '@/components/elements/ScreenBlock'; 9 | import { httpErrorToHuman } from '@/api/http'; > 10 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 11 | import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect'; 12 | import Select from '@/components/elements/Select'; 13 | import isEqual from 'react-fast-compare'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:11:38 TS2307: Cannot find module '@/plugins/useDeepCompareEffect' or its corresponding type declarations. 9 | import { httpErrorToHuman } from '@/api/http'; 10 | import { ServerContext } from '@/state/server'; > 11 | import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 | import Select from '@/components/elements/Select'; 13 | import isEqual from 'react-fast-compare'; 14 | import Input from '@/components/elements/Input'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:12:20 TS2307: Cannot find module '@/components/elements/Select' or its corresponding type declarations. 10 | import { ServerContext } from '@/state/server'; 11 | import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect'; > 12 | import Select from '@/components/elements/Select'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 | import isEqual from 'react-fast-compare'; 14 | import Input from '@/components/elements/Input'; 15 | import setSelectedDockerImage from '@/api/server/setSelectedDockerImage'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:14:19 TS2307: Cannot find module '@/components/elements/Input' or its corresponding type declarations. 12 | import Select from '@/components/elements/Select'; 13 | import isEqual from 'react-fast-compare'; > 14 | import Input from '@/components/elements/Input'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 | import setSelectedDockerImage from '@/api/server/setSelectedDockerImage'; 16 | import InputSpinner from '@/components/elements/InputSpinner'; 17 | import useFlash from '@/plugins/useFlash'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:15:36 TS2307: Cannot find module '@/api/server/setSelectedDockerImage' or its corresponding type declarations. 13 | import isEqual from 'react-fast-compare'; 14 | import Input from '@/components/elements/Input'; > 15 | import setSelectedDockerImage from '@/api/server/setSelectedDockerImage'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16 | import InputSpinner from '@/components/elements/InputSpinner'; 17 | import useFlash from '@/plugins/useFlash'; 18 | ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:16:26 TS2307: Cannot find module '@/components/elements/InputSpinner' or its corresponding type declarations. 14 | import Input from '@/components/elements/Input'; 15 | import setSelectedDockerImage from '@/api/server/setSelectedDockerImage'; > 16 | import InputSpinner from '@/components/elements/InputSpinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 17 | import useFlash from '@/plugins/useFlash'; 18 | 19 | import BeforeContent from '@blueprint/components/Server/Startup/BeforeContent'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:17:22 TS2307: Cannot find module '@/plugins/useFlash' or its corresponding type declarations. 15 | import setSelectedDockerImage from '@/api/server/setSelectedDockerImage'; 16 | import InputSpinner from '@/components/elements/InputSpinner'; > 17 | import useFlash from '@/plugins/useFlash'; | ^^^^^^^^^^^^^^^^^^^^ 18 | 19 | import BeforeContent from '@blueprint/components/Server/Startup/BeforeContent'; 20 | import AfterContent from '@blueprint/components/Server/Startup/AfterContent'; ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:26:47 TS7006: Parameter 'state' implicitly has an 'any' type. 24 | const { clearFlashes, clearAndAddHttpError } = useFlash(); 25 | > 26 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 27 | const variables = ServerContext.useStoreState( 28 | ({ server }) => ({ 29 | variables: server.data!.variables, ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:28:12 TS7031: Binding element 'server' implicitly has an 'any' type. 26 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 27 | const variables = ServerContext.useStoreState( > 28 | ({ server }) => ({ | ^^^^^^ 29 | variables: server.data!.variables, 30 | invocation: server.data!.invocation, 31 | dockerImage: server.data!.dockerImage, ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:41:63 TS7006: Parameter 'actions' implicitly has an 'any' type. 39 | }); 40 | > 41 | const setServerFromState = ServerContext.useStoreActions((actions) => actions.server.setServerFromState); | ^^^^^^^ 42 | const isCustomImage = 43 | data && 44 | !Object.values(data.dockerImages) ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:45:25 TS2571: Object is of type 'unknown'. 43 | data && 44 | !Object.values(data.dockerImages) > 45 | .map((v) => v.toLowerCase()) | ^ 46 | .includes(variables.dockerImage.toLowerCase()); 47 | 48 | useEffect(() => { ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:58:29 TS7006: Parameter 's' implicitly has an 'any' type. 56 | if (!data) return; 57 | > 58 | setServerFromState((s) => ({ | ^ 59 | ...s, 60 | invocation: data.invocation, 61 | variables: data.variables, ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:72:49 TS7006: Parameter 's' implicitly has an 'any' type. 70 | const image = v.currentTarget.value; 71 | setSelectedDockerImage(uuid, image) > 72 | .then(() => setServerFromState((s) => ({ ...s, dockerImage: image }))) | ^ 73 | .catch((error) => { 74 | console.error(error); 75 | clearAndAddHttpError({ key: 'startup:image', error }); ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:73:25 TS7006: Parameter 'error' implicitly has an 'any' type. 71 | setSelectedDockerImage(uuid, image) 72 | .then(() => setServerFromState((s) => ({ ...s, dockerImage: image }))) > 73 | .catch((error) => { | ^^^^^ 74 | console.error(error); 75 | clearAndAddHttpError({ key: 'startup:image', error }); 76 | }) ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:91:18 TS2322: Type '{ children: Element[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 89 | 90 | > 91 |
| ^^^ 92 | 93 |
94 |

{data.invocation}

ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:93:26 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 91 |
92 | > 93 |
| ^^^ 94 |

{data.invocation}

95 |
96 |
ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:94:28 TS2322: Type '{ children: any; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 92 | 93 |
> 94 |

{data.invocation}

| ^^^ 95 |
96 |
97 | ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:113:32 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 111 | 112 | > 113 |

| ^^^ 114 | This is an advanced feature allowing you to select a Docker image to use when running 115 | this server instance. 116 |

ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:122:36 TS2322: Type '{ children: string[]; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 120 | 121 | {isCustomImage && ( > 122 |

| ^^^ 123 | This {"server's"} Docker image has been manually set by an administrator and cannot 124 | be changed through this UI. 125 |

ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:131:17 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLHeadingElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLHeadingElement>'. 129 |
130 |
> 131 |

Variables

| ^^^ 132 |
133 | {data.variables.map((variable) => ( 134 | ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:132:18 TS2322: Type '{ children: any; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 130 |
131 |

Variables

> 132 |
| ^^^ 133 | {data.variables.map((variable) => ( 134 | 135 | ))} ERROR in resources/scripts/components/server/startup/StartupContainer.tsx:133:38 TS7006: Parameter 'variable' implicitly has an 'any' type. 131 |

Variables

132 |
> 133 | {data.variables.map((variable) => ( | ^^^^^^^^ 134 | 135 | ))} 136 |
ERROR in resources/scripts/components/server/users/UsersContainer.tsx:2:31 TS2307: Cannot find module '@/state/server' or its corresponding type declarations. 1 | import React, { useEffect, useState } from 'react'; > 2 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 3 | import { Actions, useStoreActions, useStoreState } from 'easy-peasy'; 4 | import { ApplicationStore } from '@/state'; 5 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:4:34 TS2307: Cannot find module '@/state' or its corresponding type declarations. 2 | import { ServerContext } from '@/state/server'; 3 | import { Actions, useStoreActions, useStoreState } from 'easy-peasy'; > 4 | import { ApplicationStore } from '@/state'; | ^^^^^^^^^ 5 | import Spinner from '@/components/elements/Spinner'; 6 | import AddSubuserButton from '@/components/server/users/AddSubuserButton'; 7 | import UserRow from '@/components/server/users/UserRow'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:5:21 TS2307: Cannot find module '@/components/elements/Spinner' or its corresponding type declarations. 3 | import { Actions, useStoreActions, useStoreState } from 'easy-peasy'; 4 | import { ApplicationStore } from '@/state'; > 5 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import AddSubuserButton from '@/components/server/users/AddSubuserButton'; 7 | import UserRow from '@/components/server/users/UserRow'; 8 | import FlashMessageRender from '@/components/FlashMessageRender'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:6:30 TS2307: Cannot find module '@/components/server/users/AddSubuserButton' or its corresponding type declarations. 4 | import { ApplicationStore } from '@/state'; 5 | import Spinner from '@/components/elements/Spinner'; > 6 | import AddSubuserButton from '@/components/server/users/AddSubuserButton'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 7 | import UserRow from '@/components/server/users/UserRow'; 8 | import FlashMessageRender from '@/components/FlashMessageRender'; 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:7:21 TS2307: Cannot find module '@/components/server/users/UserRow' or its corresponding type declarations. 5 | import Spinner from '@/components/elements/Spinner'; 6 | import AddSubuserButton from '@/components/server/users/AddSubuserButton'; > 7 | import UserRow from '@/components/server/users/UserRow'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 | import FlashMessageRender from '@/components/FlashMessageRender'; 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; 10 | import { httpErrorToHuman } from '@/api/http'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:8:32 TS2307: Cannot find module '@/components/FlashMessageRender' or its corresponding type declarations. 6 | import AddSubuserButton from '@/components/server/users/AddSubuserButton'; 7 | import UserRow from '@/components/server/users/UserRow'; > 8 | import FlashMessageRender from '@/components/FlashMessageRender'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import Can from '@/components/elements/Can'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:9:31 TS2307: Cannot find module '@/api/server/users/getServerSubusers' or its corresponding type declarations. 7 | import UserRow from '@/components/server/users/UserRow'; 8 | import FlashMessageRender from '@/components/FlashMessageRender'; > 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import Can from '@/components/elements/Can'; 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:10:34 TS2307: Cannot find module '@/api/http' or its corresponding type declarations. 8 | import FlashMessageRender from '@/components/FlashMessageRender'; 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; > 10 | import { httpErrorToHuman } from '@/api/http'; | ^^^^^^^^^^^^ 11 | import Can from '@/components/elements/Can'; 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 13 | import tw from 'twin.macro'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:11:17 TS2307: Cannot find module '@/components/elements/Can' or its corresponding type declarations. 9 | import getServerSubusers from '@/api/server/users/getServerSubusers'; 10 | import { httpErrorToHuman } from '@/api/http'; > 11 | import Can from '@/components/elements/Can'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; 13 | import tw from 'twin.macro'; 14 | ERROR in resources/scripts/components/server/users/UsersContainer.tsx:12:32 TS2307: Cannot find module '@/components/elements/ServerContentBlock' or its corresponding type declarations. 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import Can from '@/components/elements/Can'; > 12 | import ServerContentBlock from '@/components/elements/ServerContentBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 | import tw from 'twin.macro'; 14 | 15 | import BeforeContent from '@blueprint/components/Server/Users/BeforeContent'; ERROR in resources/scripts/components/server/users/UsersContainer.tsx:21:47 TS7006: Parameter 'state' implicitly has an 'any' type. 19 | const [loading, setLoading] = useState(true); 20 | > 21 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); | ^^^^^ 22 | const subusers = ServerContext.useStoreState((state) => state.subusers.data); 23 | const setSubusers = ServerContext.useStoreActions((actions) => actions.subusers.setSubusers); 24 | ERROR in resources/scripts/components/server/users/UsersContainer.tsx:22:51 TS7006: Parameter 'state' implicitly has an 'any' type. 20 | 21 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); > 22 | const subusers = ServerContext.useStoreState((state) => state.subusers.data); | ^^^^^ 23 | const setSubusers = ServerContext.useStoreActions((actions) => actions.subusers.setSubusers); 24 | 25 | const permissions = useStoreState((state: ApplicationStore) => state.permissions.data); ERROR in resources/scripts/components/server/users/UsersContainer.tsx:23:56 TS7006: Parameter 'actions' implicitly has an 'any' type. 21 | const uuid = ServerContext.useStoreState((state) => state.server.data!.uuid); 22 | const subusers = ServerContext.useStoreState((state) => state.subusers.data); > 23 | const setSubusers = ServerContext.useStoreActions((actions) => actions.subusers.setSubusers); | ^^^^^^^ 24 | 25 | const permissions = useStoreState((state: ApplicationStore) => state.permissions.data); 26 | const getPermissions = useStoreActions((actions: Actions) => actions.permissions.getPermissions); ERROR in resources/scripts/components/server/users/UsersContainer.tsx:32:20 TS7006: Parameter 'subusers' implicitly has an 'any' type. 30 | clearFlashes('users'); 31 | getServerSubusers(uuid) > 32 | .then((subusers) => { | ^^^^^^^^ 33 | setSubusers(subusers); 34 | setLoading(false); 35 | }) ERROR in resources/scripts/components/server/users/UsersContainer.tsx:36:21 TS7006: Parameter 'error' implicitly has an 'any' type. 34 | setLoading(false); 35 | }) > 36 | .catch((error) => { | ^^^^^ 37 | console.error(error); 38 | addError({ key: 'users', message: httpErrorToHuman(error) }); 39 | }); ERROR in resources/scripts/components/server/users/UsersContainer.tsx:43:33 TS7006: Parameter 'error' implicitly has an 'any' type. 41 | 42 | useEffect(() => { > 43 | getPermissions().catch((error) => { | ^^^^^ 44 | addError({ key: 'users', message: httpErrorToHuman(error) }); 45 | console.error(error); 46 | }); ERROR in resources/scripts/components/server/users/UsersContainer.tsx:58:20 TS2322: Type '{ children: string; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLParagraphElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLParagraphElement>'. 56 | 57 | {!subusers.length ? ( > 58 |

It looks like you don't have any subusers.

| ^^^ 59 | ) : ( 60 | subusers.map((subuser) => ) 61 | )} ERROR in resources/scripts/components/server/users/UsersContainer.tsx:60:31 TS7006: Parameter 'subuser' implicitly has an 'any' type. 58 |

It looks like you don't have any subusers.

59 | ) : ( > 60 | subusers.map((subuser) => ) | ^^^^^^^ 61 | )} 62 | 63 |
ERROR in resources/scripts/components/server/users/UsersContainer.tsx:63:22 TS2322: Type '{ children: Element; css: TwStyle; }' is not assignable to type 'DetailedHTMLProps, HTMLDivElement>'. Property 'css' does not exist on type 'DetailedHTMLProps, HTMLDivElement>'. 61 | )} 62 | > 63 |
| ^^^ 64 | 65 |
66 |
ERROR in resources/scripts/index.tsx:3:17 TS2307: Cannot find module '@/components/App' or its corresponding type declarations. 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; > 3 | import App from '@/components/App'; | ^^^^^^^^^^^^^^^^^^ 4 | import { setConfig } from 'react-hot-loader'; 5 | 6 | import './blueprint/css/extensions.css'; ERROR in resources/scripts/routers/DashboardRouter.tsx:3:27 TS2307: Cannot find module '@/components/elements/SubNavigation' or its corresponding type declarations. 1 | import React from 'react'; 2 | import NavigationBar from '@/components/NavigationBar'; > 3 | import SubNavigation from '@/components/elements/SubNavigation'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import { useLocation } from 'react-router'; 5 | 6 | import { NavigationLinks, NavigationRouter } from '@blueprint/extends/routers/DashboardRouter'; ERROR in resources/scripts/routers/ServerRouter.tsx:1:30 TS2307: Cannot find module '@/components/server/TransferListener' or its corresponding type declarations. > 1 | import TransferListener from '@/components/server/TransferListener'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2 | import React, { useEffect, useState } from 'react'; 3 | import { useRouteMatch } from 'react-router-dom'; 4 | import NavigationBar from '@/components/NavigationBar'; ERROR in resources/scripts/routers/ServerRouter.tsx:5:30 TS2307: Cannot find module '@/components/server/WebsocketHandler' or its corresponding type declarations. 3 | import { useRouteMatch } from 'react-router-dom'; 4 | import NavigationBar from '@/components/NavigationBar'; > 5 | import WebsocketHandler from '@/components/server/WebsocketHandler'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | import { ServerContext } from '@/state/server'; 7 | import { CSSTransition } from 'react-transition-group'; 8 | import Spinner from '@/components/elements/Spinner'; ERROR in resources/scripts/routers/ServerRouter.tsx:6:31 TS2307: Cannot find module '@/state/server' or its corresponding type declarations. 4 | import NavigationBar from '@/components/NavigationBar'; 5 | import WebsocketHandler from '@/components/server/WebsocketHandler'; > 6 | import { ServerContext } from '@/state/server'; | ^^^^^^^^^^^^^^^^ 7 | import { CSSTransition } from 'react-transition-group'; 8 | import Spinner from '@/components/elements/Spinner'; 9 | import { ServerError } from '@/components/elements/ScreenBlock'; ERROR in resources/scripts/routers/ServerRouter.tsx:8:21 TS2307: Cannot find module '@/components/elements/Spinner' or its corresponding type declarations. 6 | import { ServerContext } from '@/state/server'; 7 | import { CSSTransition } from 'react-transition-group'; > 8 | import Spinner from '@/components/elements/Spinner'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 9 | import { ServerError } from '@/components/elements/ScreenBlock'; 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import { useStoreState } from 'easy-peasy'; ERROR in resources/scripts/routers/ServerRouter.tsx:9:29 TS2307: Cannot find module '@/components/elements/ScreenBlock' or its corresponding type declarations. 7 | import { CSSTransition } from 'react-transition-group'; 8 | import Spinner from '@/components/elements/Spinner'; > 9 | import { ServerError } from '@/components/elements/ScreenBlock'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import { useStoreState } from 'easy-peasy'; 12 | import SubNavigation from '@/components/elements/SubNavigation'; ERROR in resources/scripts/routers/ServerRouter.tsx:10:34 TS2307: Cannot find module '@/api/http' or its corresponding type declarations. 8 | import Spinner from '@/components/elements/Spinner'; 9 | import { ServerError } from '@/components/elements/ScreenBlock'; > 10 | import { httpErrorToHuman } from '@/api/http'; | ^^^^^^^^^^^^ 11 | import { useStoreState } from 'easy-peasy'; 12 | import SubNavigation from '@/components/elements/SubNavigation'; 13 | import InstallListener from '@/components/server/InstallListener'; ERROR in resources/scripts/routers/ServerRouter.tsx:12:27 TS2307: Cannot find module '@/components/elements/SubNavigation' or its corresponding type declarations. 10 | import { httpErrorToHuman } from '@/api/http'; 11 | import { useStoreState } from 'easy-peasy'; > 12 | import SubNavigation from '@/components/elements/SubNavigation'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 13 | import InstallListener from '@/components/server/InstallListener'; 14 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 15 | import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; ERROR in resources/scripts/routers/ServerRouter.tsx:13:29 TS2307: Cannot find module '@/components/server/InstallListener' or its corresponding type declarations. 11 | import { useStoreState } from 'easy-peasy'; 12 | import SubNavigation from '@/components/elements/SubNavigation'; > 13 | import InstallListener from '@/components/server/InstallListener'; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 | import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; 15 | import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; 16 | ERROR in resources/scripts/routers/ServerRouter.tsx:25:54 TS2339: Property 'user' does not exist on type 'StateMapper<_Pick<{}, never>>'. 23 | const match = useRouteMatch<{ id: string }>(); 24 | > 25 | const rootAdmin = useStoreState((state) => state.user.data!.rootAdmin); | ^^^^ 26 | const [error, setError] = useState(''); 27 | 28 | const id = ServerContext.useStoreState((state) => state.server.data?.id); ERROR in resources/scripts/routers/ServerRouter.tsx:28:45 TS7006: Parameter 'state' implicitly has an 'any' type. 26 | const [error, setError] = useState(''); 27 | > 28 | const id = ServerContext.useStoreState((state) => state.server.data?.id); | ^^^^^ 29 | const uuid = ServerContext.useStoreState((state) => state.server.data?.uuid); 30 | const serverId = ServerContext.useStoreState((state) => state.server.data?.internalId); 31 | const getServer = ServerContext.useStoreActions((actions) => actions.server.getServer); ERROR in resources/scripts/routers/ServerRouter.tsx:29:47 TS7006: Parameter 'state' implicitly has an 'any' type. 27 | 28 | const id = ServerContext.useStoreState((state) => state.server.data?.id); > 29 | const uuid = ServerContext.useStoreState((state) => state.server.data?.uuid); | ^^^^^ 30 | const serverId = ServerContext.useStoreState((state) => state.server.data?.internalId); 31 | const getServer = ServerContext.useStoreActions((actions) => actions.server.getServer); 32 | const clearServerState = ServerContext.useStoreActions((actions) => actions.clearServerState); ERROR in resources/scripts/routers/ServerRouter.tsx:30:51 TS7006: Parameter 'state' implicitly has an 'any' type. 28 | const id = ServerContext.useStoreState((state) => state.server.data?.id); 29 | const uuid = ServerContext.useStoreState((state) => state.server.data?.uuid); > 30 | const serverId = ServerContext.useStoreState((state) => state.server.data?.internalId); | ^^^^^ 31 | const getServer = ServerContext.useStoreActions((actions) => actions.server.getServer); 32 | const clearServerState = ServerContext.useStoreActions((actions) => actions.clearServerState); 33 | ERROR in resources/scripts/routers/ServerRouter.tsx:31:54 TS7006: Parameter 'actions' implicitly has an 'any' type. 29 | const uuid = ServerContext.useStoreState((state) => state.server.data?.uuid); 30 | const serverId = ServerContext.useStoreState((state) => state.server.data?.internalId); > 31 | const getServer = ServerContext.useStoreActions((actions) => actions.server.getServer); | ^^^^^^^ 32 | const clearServerState = ServerContext.useStoreActions((actions) => actions.clearServerState); 33 | 34 | useEffect( ERROR in resources/scripts/routers/ServerRouter.tsx:32:61 TS7006: Parameter 'actions' implicitly has an 'any' type. 30 | const serverId = ServerContext.useStoreState((state) => state.server.data?.internalId); 31 | const getServer = ServerContext.useStoreActions((actions) => actions.server.getServer); > 32 | const clearServerState = ServerContext.useStoreActions((actions) => actions.clearServerState); | ^^^^^^^ 33 | 34 | useEffect( 35 | () => () => { ERROR in resources/scripts/routers/ServerRouter.tsx:44:43 TS7006: Parameter 'error' implicitly has an 'any' type. 42 | setError(''); 43 | > 44 | getServer(match.params.id).catch((error) => { | ^^^^^ 45 | console.error(error); 46 | setError(httpErrorToHuman(error)); 47 | }); error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. root@JUBEHOST02:/var/www/pterodactyl#