node_modules/@adminjs/design-system/types/src/atoms/avatar/avatar.d.ts:6:58 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
6 export declare const Avatar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, MarginProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/badge/badge.d.ts:34:50 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
34 declare const Badge: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/box/box.d.ts:32:48 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
32 declare const Box: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/button/button-css.d.ts:1:21 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
1 import { css } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/button/button.d.ts:11:51 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
11 declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/check-box/check-box.d.ts:2:74 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const CheckboxRadioContainer: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/currency-input/currency-input.d.ts:44:58 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
44 declare const CurrencyInput: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/illustrations/props.type.d.ts:1:30 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
1 import { DefaultTheme } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/input/input.d.ts:2:21 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
2 import { css } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/input/input.d.ts:58:50 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
58 declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/label/label.d.ts:62:50 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
62 declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/link/link.d.ts:61:49 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
61 declare const Link: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/overlay/overlay.d.ts:2:59 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const Overlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ZIndexProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/phone-input/phone-input.d.ts:42:55 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
42 declare const PhoneInput: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & ReactPhoneInputProps & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/section/section.d.ts:29:52 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
29 declare const Section: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table-body.d.ts:5:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const TableBody: import("styled-components").StyledComponent<"tbody", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table-caption.d.ts:5:57 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const TableCaption: import("styled-components").StyledComponent<"caption", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table-cell.d.ts:6:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
6 declare const TableCell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> | LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | (Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table-head.d.ts:5:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const TableHead: import("styled-components").StyledComponent<"thead", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table-row.d.ts:5:53 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const TableRow: import("styled-components").StyledComponent<"tr", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/table/table.d.ts:89:50 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
89 declare const Table: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/text-area/text-area.d.ts:41:53 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
41 declare const TextArea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/text/text.d.ts:53:49 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
53 declare const Text: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/tooltip/tooltip-content.d.ts:6:66 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
6 export declare const TooltipContent: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/caption.d.ts:2:59 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const Caption: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/card-title.d.ts:2:61 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const CardTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:13:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
13 export declare const H1: import("styled-components").StyledComponent<(props: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:14:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
14 export declare const H2: import("styled-components").StyledComponent<(props: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:15:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
15 export declare const H3: import("styled-components").StyledComponent<"h3", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:16:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
16 export declare const H4: import("styled-components").StyledComponent<(props: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:17:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
17 export declare const H5: import("styled-components").StyledComponent<(props: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/header.d.ts:18:54 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
18 export declare const H6: import("styled-components").StyledComponent<(props: any) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/small-text.d.ts:2:61 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const SmallText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/atoms/typography/title.d.ts:2:57 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/global.d.ts:1:63 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'GlobalStyleComponent'.
1 export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drawer/drawer-content.d.ts:6:65 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
6 export declare const DrawerContent: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drawer/drawer-footer.d.ts:6:64 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
6 export declare const DrawerFooter: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drawer/drawer.d.ts:79:51 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
79 declare const Drawer: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drop-down/drop-down-item-action.d.ts:2:70 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const DropDownItemAction: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drop-down/drop-down-item.d.ts:19:64 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
19 export declare const DropDownItem: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drop-down/drop-down-menu.d.ts:18:64 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
18 export declare const DropDownMenu: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/drop-down/drop-down-trigger.d.ts:5:67 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 export declare const DropDownTrigger: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/form-group/form-group.d.ts:105:61 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
105 export declare const FormGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/form-group/form-message.d.ts:5:56 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const FormMessage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/form-group/input-group.d.ts:5:55 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
5 declare const InputGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/modal/modal-styled.d.ts:2:63 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const ModalStyled: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/molecules/stepper/stepper.d.ts:101:52 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
101 declare const Stepper: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/button-group/button-group.styled.d.ts:2:21 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
2 import { css } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/button-group/button-group.styled.d.ts:8:70 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
8 export declare const StyledSingleButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/button-group/button-group.styled.d.ts:23:76 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
23 export declare const StyledDropDownItemAction: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/button-group/button-group.styled.d.ts:24:69 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
24 export declare const StyledButtonGroup: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/current-user-nav/current-user-nav-styled.d.ts:2:72 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const StyledCurrentUserNav: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/organisms/navigation/navigation-styled.d.ts:2:68 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'StyledComponent'.
2 export declare const StyledNavigation: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {
~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/utils/datepicker.styles.d.ts:1:21 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
1 import { css } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/utils/focus-shadow.style.d.ts:1:30 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
1 import { DefaultTheme } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/utils/reset.styles.d.ts:1:21 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
1 import { css } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/utils/reset.styles.d.ts:36:50 - error TS2694: Namespace '"/home/o/Documents/js/ecommerce-backend/node_modules/styled-components/dist/index"' has no exported member 'GlobalStyleComponent'.
36 declare const Reset: import("styled-components").GlobalStyleComponent<object, import("styled-components").DefaultTheme>;
~~~~~~~~~~~~~~~~~~~~
node_modules/@adminjs/design-system/types/src/utils/select-styles.d.ts:2:35 - error TS2307: Cannot find module '@styled-components' or its corresponding type declarations.
2 import type { DefaultTheme } from '@styled-components';
~~~~~~~~~~~~~~~~~~~~
node_modules/libphonenumber-js/index.d.cts:18:8 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("./types.d.js")' call instead.
18 } from './types.d.js';
//app.module.ts
import { Module } from '@nestjs/common';
import { ProductModule } from './products/product.module.js';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CategoryModule } from './categories/category.module.js';
import { Product } from './products/product.entity.js';
import { validate } from 'class-validator';
import('adminjs').then(({ AdminJS }) => {
import('@adminjs/typeorm').then(({ Database, Resource }) => {
Resource.validate = validate;
AdminJS.registerAdapter({ Database, Resource });
});
});
@Module({
imports: [
TypeOrmModule.forRoot({
type: 'mariadb',
host: process.env.DB_HOST || 'localhost',
port: parseInt(process.env.DB_PORT) || 3306,
username: process.env.DB_USERNAME || 'root',
password: process.env.DB_PASSWORD || 'root',
database: process.env.DB_DATABASE || 'ecommerce',
autoLoadEntities: true,
synchronize: true,
}),
import('@adminjs/nestjs').then(({ AdminModule }) =>
AdminModule.createAdmin({
adminJsOptions: {
rootPath: '/admin',
resources: [
{
resource: Product,
},
],
},
}),
),
ProductModule,
CategoryModule,
],
})
export class AppModule {}