Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Chore: Add registry file for Atomic CRM

Jonathan ARNAULT0bf788eba235
diff --git a/.gitignore b/.gitignore
index 8bba9ca2..dce06d36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,4 +33,7 @@ dist/
/lib/
.env
*storybook.log
-.claude
\ No newline at end of file
+.claude
+
+# Shadcn Registry
+public/r/
diff --git a/demo/App.tsx b/demo/App.tsx
index e6470690..eeb42282 100644
--- a/demo/App.tsx
+++ b/demo/App.tsx
@@ -1,5 +1,8 @@
-import { CRM } from "@/atomic-crm/root/CRM";
-import { authProvider, dataProvider } from "@/atomic-crm/providers/fakerest";
+import { CRM } from "@/components/atomic-crm/root/CRM";
+import {
+ authProvider,
+ dataProvider,
+} from "@/components/atomic-crm/providers/fakerest";
const App = () => (
<CRM dataProvider={dataProvider} authProvider={authProvider} />
diff --git a/doc/src/content/docs/developers/customizing.mdx b/doc/src/content/docs/developers/customizing.mdx
index ee75e754..fb4243d9 100644
--- a/doc/src/content/docs/developers/customizing.mdx
+++ b/doc/src/content/docs/developers/customizing.mdx
@@ -10,7 +10,7 @@ Developers can customize the Atomic CRM application to suit their business needs
The entry point of the frontend application is the `src/App.tsx` file. By default, this file simply renders the `<CRM>` component, which is the root component of Atomic CRM.
```tsx
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
const App = () => <CRM />;
@@ -22,7 +22,7 @@ export default App;
For instance, the following code snippet shows how to customize the CRM application domain-specific data.
```tsx
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
const App = () => (
<CRM
@@ -80,7 +80,7 @@ The only data sent to the telemetry server is the admin domain (e.g. “example.
You can opt out of telemetry by simply adding `disableTelemetry` to the `<CRM>` component:
```tsx
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
const App = () => <CRM disableTelemetry />;
diff --git a/doc/src/content/docs/developers/data-providers.mdx b/doc/src/content/docs/developers/data-providers.mdx
index 42f091e7..3c4f3110 100644
--- a/doc/src/content/docs/developers/data-providers.mdx
+++ b/doc/src/content/docs/developers/data-providers.mdx
@@ -39,8 +39,8 @@ If you want to set up the FakeRest data provider manually, you need to change th
```diff
// in App.tsx
-import { CRM } from "@/atomic-crm/root/CRM";
-+import { authProvider, dataProvider } from "@/atomic-crm/providers/fakerest";
+import { CRM } from "@/components/atomic-crm/root/CRM";
++import { authProvider, dataProvider } from "@/components/atomic-crm/providers/fakerest";
const App = () => (
- <CRM />
diff --git a/doc/src/content/docs/index.mdx b/doc/src/content/docs/index.mdx
index 834b560e..4c2774bc 100644
--- a/doc/src/content/docs/index.mdx
+++ b/doc/src/content/docs/index.mdx
@@ -87,7 +87,7 @@ If you need to reset the database, stop the Supabase instance with `npx supabase
The entry point of the application is the `src/App.tsx` file. By default, this file simply renders the `<CRM>` component, which is the root component of Atomic CRM.
```tsx
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
const App = () => <CRM />;
@@ -97,7 +97,7 @@ export default App;
`<CRM>` accepts various props to customize the application domain and look and feel. For instance, the following code snippet shows how to customize the app title, the task types, and deal categories.
```tsx {5-7}
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
const App = () => (
<CRM
diff --git a/makefile b/makefile
index 8d70d0ca..716cf512 100644
--- a/makefile
+++ b/makefile
@@ -85,3 +85,6 @@ doc-preview: doc-build
doc-deploy:
@(cd doc && npx gh-pages -d dist -e doc -b gh-pages -m "Deploy docs" --remove doc)
+
+registry-build: ## build the shadcn registry
+ npm run registry:build
diff --git a/package-lock.json b/package-lock.json
index 9387a085..91dcc8c7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,6 @@
"version": "0.1.0",
"dependencies": {
"@hello-pangea/dnd": "^18.0.1",
- "@hookform/resolvers": "^5.1.1",
"@nivo/bar": "^0.99.0",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.10",
@@ -79,6 +78,8 @@
"eslint-plugin-storybook": "^9.0.13",
"globals": "^16.3.0",
"prettier": "^3.6.2",
+ "shadcn": "^3.5.0",
+ "supabase": "^2.53.6",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
@@ -107,6 +108,35 @@
"node": ">=6.0.0"
}
},
+ "node_modules/@antfu/ni": {
+ "version": "25.0.0",
+ "resolved": "https://registry.npmjs.org/@antfu/ni/-/ni-25.0.0.tgz",
+ "integrity": "sha512-9q/yCljni37pkMr4sPrI3G4jqdIk074+iukc5aFJl7kmDCCsiJrbZ6zKxnES1Gwg+i9RcDZwvktl23puGslmvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansis": "^4.0.0",
+ "fzf": "^0.5.2",
+ "package-manager-detector": "^1.3.0",
+ "tinyexec": "^1.0.1"
+ },
+ "bin": {
+ "na": "bin/na.mjs",
+ "nci": "bin/nci.mjs",
+ "ni": "bin/ni.mjs",
+ "nlx": "bin/nlx.mjs",
+ "nr": "bin/nr.mjs",
+ "nun": "bin/nun.mjs",
+ "nup": "bin/nup.mjs"
+ }
+ },
+ "node_modules/@antfu/ni/node_modules/tinyexec": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.1.tgz",
+ "integrity": "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@babel/code-frame": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
@@ -164,14 +194,14 @@
}
},
"node_modules/@babel/generator": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.3.tgz",
- "integrity": "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
+ "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/parser": "^7.28.3",
- "@babel/types": "^7.28.2",
+ "@babel/parser": "^7.28.5",
+ "@babel/types": "^7.28.5",
"@jridgewell/gen-mapping": "^0.3.12",
"@jridgewell/trace-mapping": "^0.3.28",
"jsesc": "^3.0.2"
@@ -180,6 +210,19 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-annotate-as-pure": {
+ "version": "7.27.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz",
+ "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.27.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-compilation-targets": {
"version": "7.27.2",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
@@ -197,6 +240,28 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-create-class-features-plugin": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.5.tgz",
+ "integrity": "sha512-q3WC4JfdODypvxArsJQROfupPBq9+lMwjKq7C33GhbFYJsufD0yd/ziwD+hJucLeWsnFPWZjsU2DNFqBPE7jwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-member-expression-to-functions": "^7.28.5",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/helper-replace-supers": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/traverse": "^7.28.5",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
"node_modules/@babel/helper-globals": {
"version": "7.28.0",
"resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
@@ -207,6 +272,20 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz",
+ "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.28.5",
+ "@babel/types": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-module-imports": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
@@ -239,6 +318,19 @@
"@babel/core": "^7.0.0"
}
},
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz",
+ "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-plugin-utils": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
@@ -249,6 +341,38 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.27.1.tgz",
+ "integrity": "sha512-7EHz6qDZc8RYS5ElPoShMheWvEgERonFCs7IAonWLLUTXW59DP14bCZt89/GKyreYn8g3S83m21FelHKbeDCKA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": "^7.27.1",
+ "@babel/helper-optimise-call-expression": "^7.27.1",
+ "@babel/traverse": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz",
+ "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-string-parser": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
@@ -260,9 +384,9 @@
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
- "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
"dev": true,
"license": "MIT",
"engines": {
@@ -294,13 +418,13 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.3.tgz",
- "integrity": "sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
+ "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@babel/types": "^7.28.2"
+ "@babel/types": "^7.28.5"
},
"bin": {
"parser": "bin/babel-parser.js"
@@ -309,6 +433,55 @@
"node": ">=6.0.0"
}
},
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz",
+ "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz",
+ "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-modules-commonjs": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.27.1.tgz",
+ "integrity": "sha512-OJguuwlTYlN0gBZFRPqwOGNWssZjfIUdS7HMYtN8c1KmwpwHFBwTeFZrg9XZa+DFTitWOW5iTAG7tyCUPsCCyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.27.1",
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
"node_modules/@babel/plugin-transform-react-jsx-self": {
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
@@ -341,6 +514,46 @@
"@babel/core": "^7.0.0-0"
}
},
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.5.tgz",
+ "integrity": "sha512-x2Qa+v/CuEoX7Dr31iAfr0IhInrVOWZU/2vJMJ00FOR/2nM0BcBEclpaf9sWCDc+v5e9dMrhSH8/atq/kX7+bA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.27.3",
+ "@babel/helper-create-class-features-plugin": "^7.28.5",
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/preset-typescript": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz",
+ "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1",
+ "@babel/helper-validator-option": "^7.27.1",
+ "@babel/plugin-syntax-jsx": "^7.27.1",
+ "@babel/plugin-transform-modules-commonjs": "^7.27.1",
+ "@babel/plugin-transform-typescript": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
"node_modules/@babel/runtime": {
"version": "7.28.3",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.3.tgz",
@@ -366,18 +579,18 @@
}
},
"node_modules/@babel/traverse": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.3.tgz",
- "integrity": "sha512-7w4kZYHneL3A6NP2nxzHvT3HCZ7puDZZjFMqDpBPECub79sTtSO5CGXDkKrTQq8ksAwfD/XI2MRFX23njdDaIQ==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
+ "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.3",
+ "@babel/generator": "^7.28.5",
"@babel/helper-globals": "^7.28.0",
- "@babel/parser": "^7.28.3",
+ "@babel/parser": "^7.28.5",
"@babel/template": "^7.27.2",
- "@babel/types": "^7.28.2",
+ "@babel/types": "^7.28.5",
"debug": "^4.3.1"
},
"engines": {
@@ -385,19 +598,231 @@
}
},
"node_modules/@babel/types": {
- "version": "7.28.2",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz",
- "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
+ "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-string-parser": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.27.1"
+ "@babel/helper-validator-identifier": "^7.28.5"
},
"engines": {
"node": ">=6.9.0"
}
},
+ "node_modules/@dotenvx/dotenvx": {
+ "version": "1.51.0",
+ "resolved": "https://registry.npmjs.org/@dotenvx/dotenvx/-/dotenvx-1.51.0.tgz",
+ "integrity": "sha512-CbMGzyOYSyFF7d4uaeYwO9gpSBzLTnMmSmTVpCZjvpJFV69qYbjYPpzNnCz1mb2wIvEhjWjRwQWuBzTO0jITww==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "commander": "^11.1.0",
+ "dotenv": "^17.2.1",
+ "eciesjs": "^0.4.10",
+ "execa": "^5.1.1",
+ "fdir": "^6.2.0",
+ "ignore": "^5.3.0",
+ "object-treeify": "1.1.33",
+ "picomatch": "^4.0.2",
+ "which": "^4.0.0"
+ },
+ "bin": {
+ "dotenvx": "src/cli/dotenvx.js"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/commander": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz",
+ "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/isexe": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
+ "integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@dotenvx/dotenvx/node_modules/which": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^3.1.1"
+ },
+ "bin": {
+ "node-which": "bin/which.js"
+ },
+ "engines": {
+ "node": "^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/@ecies/ciphers": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/@ecies/ciphers/-/ciphers-0.2.4.tgz",
+ "integrity": "sha512-t+iX+Wf5nRKyNzk8dviW3Ikb/280+aEJAnw9YXvCp2tYGPSkMki+NRY+8aNLmVFv3eNtMdvViPNOPxS8SZNP+w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "bun": ">=1",
+ "deno": ">=2",
+ "node": ">=16"
+ },
+ "peerDependencies": {
+ "@noble/ciphers": "^1.0.0"
+ }
+ },
"node_modules/@esbuild/aix-ppc64": {
"version": "0.25.9",
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz",
@@ -1023,18 +1448,6 @@
"react-dom": "^18.0.0 || ^19.0.0"
}
},
- "node_modules/@hookform/resolvers": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-5.2.1.tgz",
- "integrity": "sha512-u0+6X58gkjMcxur1wRWokA7XsiiBJ6aK17aPZxhkoYiK5J+HcTx0Vhu9ovXe6H+dVpO6cjrn2FkJTryXEMlryQ==",
- "license": "MIT",
- "dependencies": {
- "@standard-schema/utils": "^0.3.0"
- },
- "peerDependencies": {
- "react-hook-form": "^7.55.0"
- }
- },
"node_modules/@humanfs/core": {
"version": "0.19.1",
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
@@ -1101,6 +1514,132 @@
"url": "https://github.com/sponsors/nzakas"
}
},
+ "node_modules/@inquirer/ansi": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.1.tgz",
+ "integrity": "sha512-yqq0aJW/5XPhi5xOAL1xRCpe1eh8UFVgYFpFsjEqmIR8rKLyP+HINvFXwUaxYICflJrVlxnp7lLN6As735kVpw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/confirm": {
+ "version": "5.1.19",
+ "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.19.tgz",
+ "integrity": "sha512-wQNz9cfcxrtEnUyG5PndC8g3gZ7lGDBzmWiXZkX8ot3vfZ+/BLjR8EvyGX4YzQLeVqtAlY/YScZpW7CW8qMoDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@inquirer/core": "^10.3.0",
+ "@inquirer/type": "^3.0.9"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@types/node": ">=18"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@inquirer/core": {
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.0.tgz",
+ "integrity": "sha512-Uv2aPPPSK5jeCplQmQ9xadnFx2Zhj9b5Dj7bU6ZeCdDNNY11nhYy4btcSdtDguHqCT2h5oNeQTcUNSGGLA7NTA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@inquirer/ansi": "^1.0.1",
+ "@inquirer/figures": "^1.0.14",
+ "@inquirer/type": "^3.0.9",
+ "cli-width": "^4.1.0",
+ "mute-stream": "^2.0.0",
+ "signal-exit": "^4.1.0",
+ "wrap-ansi": "^6.2.0",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@types/node": ">=18"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@inquirer/core/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@inquirer/figures": {
+ "version": "1.0.14",
+ "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.14.tgz",
+ "integrity": "sha512-DbFgdt+9/OZYFM+19dbpXOSeAstPy884FPy1KjDu4anWwymZeOYhMY1mdFri172htv6mvc/uvIAAi7b7tvjJBQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/type": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.9.tgz",
+ "integrity": "sha512-QPaNt/nmE2bLGQa9b7wwyRJoLZ7pN6rcyXvzU0YCmivmJyq1BVo94G98tStRWkoD1RgDX5C+dPlhhHzNdu/W/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@types/node": ">=18"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@isaacs/balanced-match": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz",
+ "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "20 || >=22"
+ }
+ },
+ "node_modules/@isaacs/brace-expansion": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
+ "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@isaacs/balanced-match": "^4.0.1"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ }
+ },
"node_modules/@isaacs/fs-minipass": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
@@ -1170,6 +1709,68 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
+ "node_modules/@modelcontextprotocol/sdk": {
+ "version": "1.20.2",
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.20.2.tgz",
+ "integrity": "sha512-6rqTdFt67AAAzln3NOKsXRmv5ZzPkgbfaebKBqUbts7vK1GZudqnrun5a8d3M/h955cam9RHZ6Jb4Y1XhnmFPg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.12.6",
+ "content-type": "^1.0.5",
+ "cors": "^2.8.5",
+ "cross-spawn": "^7.0.5",
+ "eventsource": "^3.0.2",
+ "eventsource-parser": "^3.0.0",
+ "express": "^5.0.1",
+ "express-rate-limit": "^7.5.0",
+ "pkce-challenge": "^5.0.0",
+ "raw-body": "^3.0.0",
+ "zod": "^3.23.8",
+ "zod-to-json-schema": "^3.24.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/zod": {
+ "version": "3.25.76",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/@modelcontextprotocol/sdk/node_modules/zod-to-json-schema": {
+ "version": "3.24.6",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.6.tgz",
+ "integrity": "sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==",
+ "dev": true,
+ "license": "ISC",
+ "peerDependencies": {
+ "zod": "^3.24.1"
+ }
+ },
+ "node_modules/@mswjs/interceptors": {
+ "version": "0.40.0",
+ "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.40.0.tgz",
+ "integrity": "sha512-EFd6cVbHsgLa6wa4RljGj6Wk75qoHxUSyc5asLyyPSyuhIcdS2Q3Phw6ImS1q+CkALthJRShiYfKANcQMuMqsQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@open-draft/deferred-promise": "^2.2.0",
+ "@open-draft/logger": "^0.3.0",
+ "@open-draft/until": "^2.0.0",
+ "is-node-process": "^1.2.0",
+ "outvariant": "^1.4.3",
+ "strict-event-emitter": "^0.5.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@nivo/annotations": {
"version": "0.99.0",
"resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.99.0.tgz",
@@ -1368,6 +1969,48 @@
"react": "^16.14 || ^17.0 || ^18.0 || ^19.0"
}
},
+ "node_modules/@noble/ciphers": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz",
+ "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/curves": {
+ "version": "1.9.7",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz",
+ "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@noble/hashes": "1.8.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/@noble/hashes": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
+ "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -1406,6 +2049,31 @@
"node": ">= 8"
}
},
+ "node_modules/@open-draft/deferred-promise": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz",
+ "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@open-draft/logger": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz",
+ "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-node-process": "^1.2.0",
+ "outvariant": "^1.4.0"
+ }
+ },
+ "node_modules/@open-draft/until": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz",
+ "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@radix-ui/number": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.1.1.tgz",
@@ -2831,12 +3499,26 @@
"win32"
]
},
- "node_modules/@standard-schema/utils": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz",
- "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",
+ "node_modules/@sec-ant/readable-stream": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz",
+ "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==",
+ "dev": true,
"license": "MIT"
},
+ "node_modules/@sindresorhus/merge-streams": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz",
+ "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@storybook/global": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@storybook/global/-/global-5.0.0.tgz",
@@ -3484,6 +4166,34 @@
"@testing-library/dom": ">=7.21.4"
}
},
+ "node_modules/@ts-morph/common": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.27.0.tgz",
+ "integrity": "sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-glob": "^3.3.3",
+ "minimatch": "^10.0.1",
+ "path-browserify": "^1.0.1"
+ }
+ },
+ "node_modules/@ts-morph/common/node_modules/minimatch": {
+ "version": "10.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
+ "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@isaacs/brace-expansion": "^5.0.0"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/@types/aria-query": {
"version": "5.0.4",
"resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
@@ -3699,6 +4409,13 @@
"@types/react": "^19.0.0"
}
},
+ "node_modules/@types/statuses": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.6.tgz",
+ "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@types/use-sync-external-store": {
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",
@@ -4121,6 +4838,20 @@
"url": "https://opencollective.com/vitest"
}
},
+ "node_modules/accepts": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",
+ "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mime-types": "^3.0.0",
+ "negotiator": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/acorn": {
"version": "8.15.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
@@ -4144,6 +4875,16 @@
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
},
+ "node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
"node_modules/ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -4185,6 +4926,16 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/ansis": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz",
+ "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14"
+ }
+ },
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
@@ -4230,7 +4981,6 @@
"integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"tslib": "^2.0.1"
},
@@ -4254,6 +5004,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.8.20",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.20.tgz",
+ "integrity": "sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.js"
+ }
+ },
"node_modules/better-opn": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz",
@@ -4268,6 +5028,44 @@
"node": ">=12.0.0"
}
},
+ "node_modules/bin-links": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-5.0.0.tgz",
+ "integrity": "sha512-sdleLVfCjBtgO5cNjA2HVRvWBJAHs4zwenaCPMNJAJU0yNxpzj80IpjOIimkpkr+mhlA+how5poQtt53PygbHA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "cmd-shim": "^7.0.0",
+ "npm-normalize-package-bin": "^4.0.0",
+ "proc-log": "^5.0.0",
+ "read-cmd-shim": "^5.0.0",
+ "write-file-atomic": "^6.0.0"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/body-parser": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.0.tgz",
+ "integrity": "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "^3.1.2",
+ "content-type": "^1.0.5",
+ "debug": "^4.4.0",
+ "http-errors": "^2.0.0",
+ "iconv-lite": "^0.6.3",
+ "on-finished": "^2.4.1",
+ "qs": "^6.14.0",
+ "raw-body": "^3.0.0",
+ "type-is": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/brace-expansion": {
"version": "1.1.12",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
@@ -4293,9 +5091,9 @@
}
},
"node_modules/browserslist": {
- "version": "4.25.4",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.4.tgz",
- "integrity": "sha512-4jYpcjabC606xJ3kw2QwGEZKX0Aw7sgQdZCvIK9dhVSPh76BKo+C+btT1RRofH7B+8iNpEbgGNVWiLki5q93yg==",
+ "version": "4.27.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.27.0.tgz",
+ "integrity": "sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==",
"dev": true,
"funding": [
{
@@ -4313,10 +5111,11 @@
],
"license": "MIT",
"dependencies": {
- "caniuse-lite": "^1.0.30001737",
- "electron-to-chromium": "^1.5.211",
- "node-releases": "^2.0.19",
- "update-browserslist-db": "^1.1.3"
+ "baseline-browser-mapping": "^2.8.19",
+ "caniuse-lite": "^1.0.30001751",
+ "electron-to-chromium": "^1.5.238",
+ "node-releases": "^2.0.26",
+ "update-browserslist-db": "^1.1.4"
},
"bin": {
"browserslist": "cli.js"
@@ -4333,6 +5132,16 @@
"optional": true,
"peer": true
},
+ "node_modules/bytes": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/cac": {
"version": "6.7.14",
"resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
@@ -4401,9 +5210,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001739",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001739.tgz",
- "integrity": "sha512-y+j60d6ulelrNSwpPyrHdl+9mJnQzHBr08xm48Qno0nSk4h3Qojh+ziv2qE6rXf4k3tadF4o1J/1tAbVm1NtnA==",
+ "version": "1.0.30001751",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz",
+ "integrity": "sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw==",
"dev": true,
"funding": [
{
@@ -4486,6 +5295,45 @@
"url": "https://polar.sh/cva"
}
},
+ "node_modules/cli-cursor": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz",
+ "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "restore-cursor": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-spinners": {
+ "version": "2.9.2",
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
+ "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-width": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz",
+ "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
"node_modules/cliui": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
@@ -4509,6 +5357,16 @@
"node": ">=6"
}
},
+ "node_modules/cmd-shim": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-7.0.0.tgz",
+ "integrity": "sha512-rtpaCbr164TPPh+zFdkWpCyZuKkjpAzODfaZCf/SVJZzJN+4bHQb/LP3Jzq5/+84um3XXY8r548XiWKSborwVw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/cmdk": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.1.1.tgz",
@@ -4525,6 +5383,13 @@
"react-dom": "^18 || ^19 || ^19.0.0-rc"
}
},
+ "node_modules/code-block-writer": {
+ "version": "13.0.3",
+ "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz",
+ "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@@ -4543,6 +5408,16 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"license": "MIT"
},
+ "node_modules/commander": {
+ "version": "14.0.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.1.tgz",
+ "integrity": "sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=20"
+ }
+ },
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -4550,6 +5425,29 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/content-disposition": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz",
+ "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "5.2.1"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/content-type": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/convert-source-map": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
@@ -4566,6 +5464,57 @@
"node": ">=18"
}
},
+ "node_modules/cookie-signature": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz",
+ "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.6.0"
+ }
+ },
+ "node_modules/cors": {
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz",
+ "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "object-assign": "^4",
+ "vary": "^1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/cosmiconfig": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
+ "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "env-paths": "^2.2.1",
+ "import-fresh": "^3.3.0",
+ "js-yaml": "^4.1.0",
+ "parse-json": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/d-fischer"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.9.5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
"node_modules/cropperjs": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz",
@@ -4726,6 +5675,16 @@
"d3-time": "1 - 2"
}
},
+ "node_modules/data-uri-to-buffer": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
+ "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
"node_modules/date-fns": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
@@ -4763,6 +5722,21 @@
"node": ">=14.16"
}
},
+ "node_modules/dedent": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.0.tgz",
+ "integrity": "sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "babel-plugin-macros": "^3.1.0"
+ },
+ "peerDependenciesMeta": {
+ "babel-plugin-macros": {
+ "optional": true
+ }
+ }
+ },
"node_modules/deep-eql": {
"version": "5.0.2",
"resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
@@ -4780,6 +5754,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/define-data-property": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
@@ -4823,6 +5807,16 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/depd": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/dequal": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
@@ -4853,6 +5847,16 @@
"integrity": "sha512-iQCeDkSPwkfwWPr+HZZ49WRrM2FSI9097Q9w7agyRCdLcF9Eh2Ek0sHKcmMWx2oZVBjRBE/sziGFjZu0uf1Jbg==",
"license": "MIT"
},
+ "node_modules/diff": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.2.tgz",
+ "integrity": "sha512-sSuxWU5j5SR9QQji/o2qMvqRNYRDOcBTgsJ/DeCf4iSN4gW+gNMXM7wFIP+fdXZxoNiAnHUTGjCr+TSWXdRDKg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
"node_modules/dom-accessibility-api": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
@@ -4860,6 +5864,19 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/dotenv": {
+ "version": "17.2.3",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz",
+ "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
"node_modules/dunder-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
@@ -4874,10 +5891,35 @@
"node": ">= 0.4"
}
},
+ "node_modules/eciesjs": {
+ "version": "0.4.16",
+ "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.4.16.tgz",
+ "integrity": "sha512-dS5cbA9rA2VR4Ybuvhg6jvdmp46ubLn3E+px8cG/35aEDNclrqoCjg6mt0HYZ/M+OoESS3jSkCrqk1kWAEhWAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@ecies/ciphers": "^0.2.4",
+ "@noble/ciphers": "^1.3.0",
+ "@noble/curves": "^1.9.7",
+ "@noble/hashes": "^1.8.0"
+ },
+ "engines": {
+ "bun": ">=1",
+ "deno": ">=2",
+ "node": ">=16"
+ }
+ },
+ "node_modules/ee-first": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/electron-to-chromium": {
- "version": "1.5.211",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.211.tgz",
- "integrity": "sha512-IGBvimJkotaLzFnwIVgW9/UD/AOJ2tByUmeOrtqBfACSbAw5b1G0XpvdaieKyc7ULmbwXVx+4e4Be8pOPBrYkw==",
+ "version": "1.5.240",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.240.tgz",
+ "integrity": "sha512-OBwbZjWgrCOH+g6uJsA2/7Twpas2OlepS9uvByJjR2datRDuKGYeD+nP8lBBks2qnB7bGJNHDUx7c/YLaT3QMQ==",
"dev": true,
"license": "ISC"
},
@@ -4887,6 +5929,16 @@
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
"license": "MIT"
},
+ "node_modules/encodeurl": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
+ "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/enhanced-resolve": {
"version": "5.18.3",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.3.tgz",
@@ -4900,6 +5952,26 @@
"node": ">=10.13.0"
}
},
+ "node_modules/env-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
+ "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
"node_modules/es-define-property": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
@@ -5001,6 +6073,13 @@
"node": ">=6"
}
},
+ "node_modules/escape-html": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/escape-string-regexp": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
@@ -5169,7 +6248,6 @@
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
"dev": true,
"license": "BSD-2-Clause",
- "peer": true,
"bin": {
"esparse": "bin/esparse.js",
"esvalidate": "bin/esvalidate.js"
@@ -5234,12 +6312,72 @@
"node": ">=0.10.0"
}
},
+ "node_modules/etag": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/eventemitter3": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
"integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
"license": "MIT"
},
+ "node_modules/eventsource": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",
+ "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eventsource-parser": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/eventsource-parser": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.6.tgz",
+ "integrity": "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/execa": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz",
+ "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@sindresorhus/merge-streams": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "figures": "^6.1.0",
+ "get-stream": "^9.0.0",
+ "human-signals": "^8.0.1",
+ "is-plain-obj": "^4.1.0",
+ "is-stream": "^4.0.1",
+ "npm-run-path": "^6.0.0",
+ "pretty-ms": "^9.2.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^4.0.0",
+ "yoctocolors": "^2.1.1"
+ },
+ "engines": {
+ "node": "^18.19.0 || >=20.5.0"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
"node_modules/expect-type": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.2.tgz",
@@ -5250,6 +6388,75 @@
"node": ">=12.0.0"
}
},
+ "node_modules/express": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/express/-/express-5.1.0.tgz",
+ "integrity": "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "accepts": "^2.0.0",
+ "body-parser": "^2.2.0",
+ "content-disposition": "^1.0.0",
+ "content-type": "^1.0.5",
+ "cookie": "^0.7.1",
+ "cookie-signature": "^1.2.1",
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "finalhandler": "^2.1.0",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "merge-descriptors": "^2.0.0",
+ "mime-types": "^3.0.0",
+ "on-finished": "^2.4.1",
+ "once": "^1.4.0",
+ "parseurl": "^1.3.3",
+ "proxy-addr": "^2.0.7",
+ "qs": "^6.14.0",
+ "range-parser": "^1.2.1",
+ "router": "^2.2.0",
+ "send": "^1.1.0",
+ "serve-static": "^2.2.0",
+ "statuses": "^2.0.1",
+ "type-is": "^2.0.1",
+ "vary": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/express-rate-limit": {
+ "version": "7.5.1",
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.1.tgz",
+ "integrity": "sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/express-rate-limit"
+ },
+ "peerDependencies": {
+ "express": ">= 4.11"
+ }
+ },
+ "node_modules/express/node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/faker": {
"version": "5.5.3",
"resolved": "https://registry.npmjs.org/faker/-/faker-5.5.3.tgz",
@@ -5326,6 +6533,46 @@
"reusify": "^1.0.4"
}
},
+ "node_modules/fetch-blob": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz",
+ "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "node-domexception": "^1.0.0",
+ "web-streams-polyfill": "^3.0.3"
+ },
+ "engines": {
+ "node": "^12.20 || >= 14.13"
+ }
+ },
+ "node_modules/figures": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz",
+ "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-unicode-supported": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/file-entry-cache": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
@@ -5376,6 +6623,24 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/finalhandler": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz",
+ "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "on-finished": "^2.4.1",
+ "parseurl": "^1.3.3",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/find-up": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
@@ -5414,6 +6679,54 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/formdata-polyfill": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
+ "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fetch-blob": "^3.1.2"
+ },
+ "engines": {
+ "node": ">=12.20.0"
+ }
+ },
+ "node_modules/forwarded": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/fresh": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz",
+ "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/fs-extra": {
+ "version": "11.3.2",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
+ "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -5437,6 +6750,20 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/fuzzysort": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-3.1.0.tgz",
+ "integrity": "sha512-sR9BNCjBg6LNgwvxlBd0sBABvQitkLzoVY9MYYROQVX/FvfJ4Mai9LsGhDgd8qYdds0bY77VzYd5iuB+v5rwQQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fzf": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fzf/-/fzf-0.5.2.tgz",
+ "integrity": "sha512-Tt4kuxLXFKHy8KT40zwsUPUkg1CrsgY25FxA2U/j/0WgEDCk3ddc/zLTCCcbSHX9FcKtLuVaDGtGE/STWC+j3Q==",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
"node_modules/gensync": {
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
@@ -5456,6 +6783,19 @@
"node": "6.* || 8.* || >= 10.*"
}
},
+ "node_modules/get-east-asian-width": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz",
+ "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/get-intrinsic": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
@@ -5489,6 +6829,19 @@
"node": ">=6"
}
},
+ "node_modules/get-own-enumerable-keys": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/get-own-enumerable-keys/-/get-own-enumerable-keys-1.0.0.tgz",
+ "integrity": "sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/get-proto": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
@@ -5502,6 +6855,23 @@
"node": ">= 0.4"
}
},
+ "node_modules/get-stream": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz",
+ "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@sec-ant/readable-stream": "^0.4.1",
+ "is-stream": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
@@ -5553,6 +6923,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/graphql": {
+ "version": "16.11.0",
+ "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.11.0.tgz",
+ "integrity": "sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
+ }
+ },
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -5599,6 +6979,77 @@
"node": ">= 0.4"
}
},
+ "node_modules/headers-polyfill": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/headers-polyfill/-/headers-polyfill-4.0.3.tgz",
+ "integrity": "sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/http-errors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "depd": "2.0.0",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.2.0",
+ "statuses": "2.0.1",
+ "toidentifier": "1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/http-errors/node_modules/statuses": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "agent-base": "^7.1.2",
+ "debug": "4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/human-signals": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz",
+ "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/ignore": {
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
@@ -5655,6 +7106,13 @@
"node": ">=18.0.0"
}
},
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/internmap": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
@@ -5664,61 +7122,170 @@
"node": ">=12"
}
},
- "node_modules/is-docker": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
- "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "node_modules/ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-interactive": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz",
+ "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-node-process": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz",
+ "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-obj": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-3.0.0.tgz",
+ "integrity": "sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==",
+ "dev": true,
"license": "MIT",
- "bin": {
- "is-docker": "cli.js"
- },
"engines": {
- "node": ">=8"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "node_modules/is-promise": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",
+ "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-regexp": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz",
+ "integrity": "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==",
+ "dev": true,
"license": "MIT",
"engines": {
- "node": ">=8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "node_modules/is-stream": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz",
+ "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==",
"dev": true,
"license": "MIT",
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "node_modules/is-unicode-supported": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz",
+ "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==",
"dev": true,
"license": "MIT",
"engines": {
- "node": ">=0.12.0"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/is-wsl": {
@@ -5788,6 +7355,13 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
@@ -5824,6 +7398,19 @@
"jsonexport": "bin/jsonexport.js"
}
},
+ "node_modules/jsonfile": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
+ "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
"node_modules/keyv": {
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
@@ -5834,6 +7421,16 @@
"json-buffer": "3.0.1"
}
},
+ "node_modules/kleur": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
@@ -6076,6 +7673,13 @@
"url": "https://opencollective.com/parcel"
}
},
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -6105,6 +7709,49 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/log-symbols": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz",
+ "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^5.3.0",
+ "is-unicode-supported": "^1.3.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/log-symbols/node_modules/chalk": {
+ "version": "5.6.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/log-symbols/node_modules/is-unicode-supported": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz",
+ "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
@@ -6172,6 +7819,36 @@
"node": ">= 0.4"
}
},
+ "node_modules/media-typer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
+ "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/merge-descriptors": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",
+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
@@ -6196,6 +7873,52 @@
"node": ">=8.6"
}
},
+ "node_modules/mime-db": {
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "^1.54.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/mimic-function": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz",
+ "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/min-indent": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
@@ -6219,6 +7942,16 @@
"node": "*"
}
},
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/minipass": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
@@ -6229,9 +7962,9 @@
}
},
"node_modules/minizlib": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.2.tgz",
- "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz",
+ "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==",
"license": "MIT",
"dependencies": {
"minipass": "^7.1.2"
@@ -6240,27 +7973,67 @@
"node": ">= 18"
}
},
- "node_modules/mkdirp": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz",
- "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==",
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/msw": {
+ "version": "2.11.6",
+ "resolved": "https://registry.npmjs.org/msw/-/msw-2.11.6.tgz",
+ "integrity": "sha512-MCYMykvmiYScyUm7I6y0VCxpNq1rgd5v7kG8ks5dKtvmxRUUPjribX6mUoUNBbM5/3PhUyoelEWiKXGOz84c+w==",
+ "dev": true,
+ "hasInstallScript": true,
"license": "MIT",
+ "dependencies": {
+ "@inquirer/confirm": "^5.0.0",
+ "@mswjs/interceptors": "^0.40.0",
+ "@open-draft/deferred-promise": "^2.2.0",
+ "@types/statuses": "^2.0.4",
+ "cookie": "^1.0.2",
+ "graphql": "^16.8.1",
+ "headers-polyfill": "^4.0.2",
+ "is-node-process": "^1.2.0",
+ "outvariant": "^1.4.3",
+ "path-to-regexp": "^6.3.0",
+ "picocolors": "^1.1.1",
+ "rettime": "^0.7.0",
+ "statuses": "^2.0.2",
+ "strict-event-emitter": "^0.5.1",
+ "tough-cookie": "^6.0.0",
+ "type-fest": "^4.26.1",
+ "until-async": "^3.0.2",
+ "yargs": "^17.7.2"
+ },
"bin": {
- "mkdirp": "dist/cjs/src/bin.js"
+ "msw": "cli/index.js"
},
"engines": {
- "node": ">=10"
+ "node": ">=18"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/mswjs"
+ },
+ "peerDependencies": {
+ "typescript": ">= 4.8.x"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "node_modules/mute-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
+ "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==",
"dev": true,
- "license": "MIT"
+ "license": "ISC",
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
},
"node_modules/nanoid": {
"version": "3.3.11",
@@ -6287,6 +8060,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/negotiator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz",
+ "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/next-themes": {
"version": "0.4.6",
"resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",
@@ -6297,6 +8080,46 @@
"react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"
}
},
+ "node_modules/node-domexception": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
+ "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==",
+ "deprecated": "Use your platform's native DOMException instead",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "github",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.5.0"
+ }
+ },
+ "node_modules/node-fetch": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
+ "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "data-uri-to-buffer": "^4.0.0",
+ "fetch-blob": "^3.1.4",
+ "formdata-polyfill": "^4.0.10"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/node-fetch"
+ }
+ },
"node_modules/node-polyglot": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/node-polyglot/-/node-polyglot-2.6.0.tgz",
@@ -6312,12 +8135,52 @@
}
},
"node_modules/node-releases": {
- "version": "2.0.19",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz",
- "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
+ "version": "2.0.26",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.26.tgz",
+ "integrity": "sha512-S2M9YimhSjBSvYnlr5/+umAnPHE++ODwt5e2Ij6FoX45HA/s4vHdkDx1eax2pAPeAOqu4s9b7ppahsyEFdVqQA==",
"dev": true,
"license": "MIT"
},
+ "node_modules/npm-normalize-package-bin": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz",
+ "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/npm-run-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz",
+ "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^4.0.0",
+ "unicorn-magic": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/npm-run-path/node_modules/path-key": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
@@ -6348,6 +8211,16 @@
"node": ">= 0.4"
}
},
+ "node_modules/object-treeify": {
+ "version": "1.1.33",
+ "resolved": "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz",
+ "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ }
+ },
"node_modules/object.entries": {
"version": "1.1.9",
"resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",
@@ -6363,6 +8236,45 @@
"node": ">= 0.4"
}
},
+ "node_modules/on-finished": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ee-first": "1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/onetime": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz",
+ "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-function": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/open": {
"version": "8.4.2",
"resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
@@ -6404,6 +8316,104 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/ora": {
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz",
+ "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^5.3.0",
+ "cli-cursor": "^5.0.0",
+ "cli-spinners": "^2.9.2",
+ "is-interactive": "^2.0.0",
+ "is-unicode-supported": "^2.0.0",
+ "log-symbols": "^6.0.0",
+ "stdin-discarder": "^0.2.2",
+ "string-width": "^7.2.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ora/node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/ora/node_modules/chalk": {
+ "version": "5.6.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz",
+ "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/ora/node_modules/emoji-regex": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/ora/node_modules/string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ora/node_modules/strip-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/outvariant": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz",
+ "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/p-limit": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@@ -6436,6 +8446,13 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/package-manager-detector": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.5.0.tgz",
+ "integrity": "sha512-uBj69dVlYe/+wxj8JOpr97XfsxH/eumMt6HqjNTmJDf/6NO9s+0uxeOneIz3AsPt2m6y9PqzDzd3ATcU17MNfw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/papaparse": {
"version": "5.5.3",
"resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.5.3.tgz",
@@ -6455,6 +8472,55 @@
"node": ">=6"
}
},
+ "node_modules/parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parse-ms": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz",
+ "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parseurl": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/path-browserify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",
+ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
@@ -6475,6 +8541,13 @@
"node": ">=8"
}
},
+ "node_modules/path-to-regexp": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz",
+ "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@@ -6511,6 +8584,16 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/pkce-challenge": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.0.tgz",
+ "integrity": "sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=16.20.0"
+ }
+ },
"node_modules/postcss": {
"version": "8.5.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
@@ -6603,6 +8686,56 @@
"license": "MIT",
"peer": true
},
+ "node_modules/pretty-ms": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz",
+ "integrity": "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parse-ms": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/proc-log": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-5.0.0.tgz",
+ "integrity": "sha512-Azwzvl90HaF0aCz1JrDdXQykFakSSNPaPoiZ9fm5qJIMHioDZEi7OAdRwSm6rSoPtY3Qutnm3L7ogmg3dc+wbQ==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/prompts/node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/prop-types": {
"version": "15.8.1",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
@@ -6620,6 +8753,20 @@
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
"license": "MIT"
},
+ "node_modules/proxy-addr": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "forwarded": "0.2.0",
+ "ipaddr.js": "1.9.1"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
"node_modules/punycode": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
@@ -6821,6 +8968,49 @@
"integrity": "sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ==",
"license": "MIT"
},
+ "node_modules/range-parser": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/raw-body": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.1.tgz",
+ "integrity": "sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "bytes": "3.1.2",
+ "http-errors": "2.0.0",
+ "iconv-lite": "0.7.0",
+ "unpipe": "1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/raw-body/node_modules/iconv-lite": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
+ "integrity": "sha512-cf6L2Ds3h57VVmkZe+Pn+5APsT7FpqJtEhhieDCvrE2MK5Qk9MyffgQyuxQTm6BChfeZNtcOLHp9IcWRVcIcBQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
"node_modules/react": {
"version": "19.1.1",
"resolved": "https://registry.npmjs.org/react/-/react-19.1.1.tgz",
@@ -7056,13 +9246,22 @@
"react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
+ "node_modules/read-cmd-shim": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-5.0.0.tgz",
+ "integrity": "sha512-SEbJV7tohp3DAAILbEMPXavBjAnMN0tVnh4+9G8ihV4Pq3HYF9h8QNez9zkJ1ILkv9G2BjdzwctznGZXgu/HGw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/recast": {
"version": "0.23.11",
"resolved": "https://registry.npmjs.org/recast/-/recast-0.23.11.tgz",
"integrity": "sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==",
"dev": true,
"license": "MIT",
- "peer": true,
"dependencies": {
"ast-types": "^0.16.1",
"esprima": "~4.0.0",
@@ -7113,6 +9312,30 @@
"node": ">=4"
}
},
+ "node_modules/restore-cursor": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz",
+ "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "onetime": "^7.0.0",
+ "signal-exit": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/rettime": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/rettime/-/rettime-0.7.0.tgz",
+ "integrity": "sha512-LPRKoHnLKd/r3dVxcwO7vhCW+orkOGj9ViueosEBK6ie89CijnfRlhaDhHq/3Hxu4CkWQtxwlBG0mzTQY6uQjw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/reusify": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
@@ -7215,6 +9438,34 @@
"node": ">= 12"
}
},
+ "node_modules/router": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz",
+ "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.4.0",
+ "depd": "^2.0.0",
+ "is-promise": "^4.0.0",
+ "parseurl": "^1.3.3",
+ "path-to-regexp": "^8.0.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/router/node_modules/path-to-regexp": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz",
+ "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
@@ -7234,10 +9485,38 @@
"url": "https://feross.org/support"
}
],
- "license": "MIT",
- "dependencies": {
- "queue-microtask": "^1.2.2"
- }
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/scheduler": {
"version": "0.26.0",
@@ -7255,6 +9534,45 @@
"semver": "bin/semver.js"
}
},
+ "node_modules/send": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
+ "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.5",
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "etag": "^1.8.1",
+ "fresh": "^2.0.0",
+ "http-errors": "^2.0.0",
+ "mime-types": "^3.0.1",
+ "ms": "^2.1.3",
+ "on-finished": "^2.4.1",
+ "range-parser": "^1.2.1",
+ "statuses": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/serve-static": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
+ "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "encodeurl": "^2.0.0",
+ "escape-html": "^1.0.3",
+ "parseurl": "^1.3.3",
+ "send": "^1.2.0"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
"node_modules/set-cookie-parser": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz",
@@ -7278,6 +9596,75 @@
"node": ">= 0.4"
}
},
+ "node_modules/setprototypeof": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/shadcn": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/shadcn/-/shadcn-3.5.0.tgz",
+ "integrity": "sha512-5f9tn7gHOiI8CqJ8LGrUEmX6dOivGgSbHkMCeOMCzxHZy9cPwyuRXt7ZyjwukO8QH9kGqi6oiKOpfvTXNGBP4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@antfu/ni": "^25.0.0",
+ "@babel/core": "^7.28.0",
+ "@babel/parser": "^7.28.0",
+ "@babel/plugin-transform-typescript": "^7.28.0",
+ "@babel/preset-typescript": "^7.27.1",
+ "@dotenvx/dotenvx": "^1.48.4",
+ "@modelcontextprotocol/sdk": "^1.17.2",
+ "browserslist": "^4.26.2",
+ "commander": "^14.0.0",
+ "cosmiconfig": "^9.0.0",
+ "dedent": "^1.6.0",
+ "deepmerge": "^4.3.1",
+ "diff": "^8.0.2",
+ "execa": "^9.6.0",
+ "fast-glob": "^3.3.3",
+ "fs-extra": "^11.3.1",
+ "fuzzysort": "^3.1.0",
+ "https-proxy-agent": "^7.0.6",
+ "kleur": "^4.1.5",
+ "msw": "^2.10.4",
+ "node-fetch": "^3.3.2",
+ "ora": "^8.2.0",
+ "postcss": "^8.5.6",
+ "prompts": "^2.4.2",
+ "recast": "^0.23.11",
+ "stringify-object": "^5.0.0",
+ "ts-morph": "^26.0.0",
+ "tsconfig-paths": "^4.2.0",
+ "zod": "^3.24.1",
+ "zod-to-json-schema": "^3.24.6"
+ },
+ "bin": {
+ "shadcn": "dist/index.js"
+ }
+ },
+ "node_modules/shadcn/node_modules/zod": {
+ "version": "3.25.76",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/shadcn/node_modules/zod-to-json-schema": {
+ "version": "3.24.6",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.6.tgz",
+ "integrity": "sha512-h/z3PKvcTcTetyjl1fkj79MHNEjm+HpD6NXheWjzOekY7kV+lwDYnHw+ivHkijnCSMz1yJaWBD9vu/Fcmk+vEg==",
+ "dev": true,
+ "license": "ISC",
+ "peerDependencies": {
+ "zod": "^3.24.1"
+ }
+ },
"node_modules/shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -7380,6 +9767,26 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/sonner": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/sonner/-/sonner-2.0.7.tgz",
@@ -7396,7 +9803,6 @@
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"devOptional": true,
"license": "BSD-3-Clause",
- "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -7441,6 +9847,16 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/statuses": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+ "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/std-env": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz",
@@ -7448,6 +9864,19 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/stdin-discarder": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz",
+ "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/storybook": {
"version": "9.1.3",
"resolved": "https://registry.npmjs.org/storybook/-/storybook-9.1.3.tgz",
@@ -7499,6 +9928,13 @@
"node": ">=10"
}
},
+ "node_modules/strict-event-emitter": {
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz",
+ "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/strict-uri-encode": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
@@ -7522,6 +9958,24 @@
"node": ">=8"
}
},
+ "node_modules/stringify-object": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-5.0.0.tgz",
+ "integrity": "sha512-zaJYxz2FtcMb4f+g60KsRNFOpVMUyuJgA51Zi5Z1DOTC3S59+OQiVOzE9GZt0x72uBGWKsQIuBKeF9iusmKFsg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "get-own-enumerable-keys": "^1.0.0",
+ "is-obj": "^3.0.0",
+ "is-regexp": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/yeoman/stringify-object?sponsor=1"
+ }
+ },
"node_modules/strip-ansi": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
@@ -7534,6 +9988,29 @@
"node": ">=8"
}
},
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/strip-final-newline": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz",
+ "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/strip-indent": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
@@ -7580,6 +10057,26 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/supabase": {
+ "version": "2.53.6",
+ "resolved": "https://registry.npmjs.org/supabase/-/supabase-2.53.6.tgz",
+ "integrity": "sha512-tvMSykcxBaFm2SAKx93h6h4HjfJnWZV0kxO2P3i491Mtnu/95knLjSxr5gu7/tAJtPFuEMG/0m1kNGOHPSE6YA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "bin-links": "^5.0.0",
+ "https-proxy-agent": "^7.0.2",
+ "node-fetch": "^3.3.2",
+ "tar": "7.5.1"
+ },
+ "bin": {
+ "supabase": "bin/supabase"
+ },
+ "engines": {
+ "npm": ">=8"
+ }
+ },
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -7623,16 +10120,15 @@
}
},
"node_modules/tar": {
- "version": "7.4.3",
- "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz",
- "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==",
+ "version": "7.5.1",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.1.tgz",
+ "integrity": "sha512-nlGpxf+hv0v7GkWBK2V9spgactGOp0qvfWRxUMjqHyzrt3SgwE48DIv/FhqPHJYLHpgW1opq3nERbz5Anq7n1g==",
"license": "ISC",
"dependencies": {
"@isaacs/fs-minipass": "^4.0.0",
"chownr": "^3.0.0",
"minipass": "^7.1.2",
- "minizlib": "^3.0.1",
- "mkdirp": "^3.0.1",
+ "minizlib": "^3.1.0",
"yallist": "^5.0.0"
},
"engines": {
@@ -7771,6 +10267,26 @@
"node": ">=14.0.0"
}
},
+ "node_modules/tldts": {
+ "version": "7.0.17",
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.17.tgz",
+ "integrity": "sha512-Y1KQBgDd/NUc+LfOtKS6mNsC9CCaH+m2P1RoIZy7RAPo3C3/t8X45+zgut31cRZtZ3xKPjfn3TkGTrctC2TQIQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tldts-core": "^7.0.17"
+ },
+ "bin": {
+ "tldts": "bin/cli.js"
+ }
+ },
+ "node_modules/tldts-core": {
+ "version": "7.0.17",
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.17.tgz",
+ "integrity": "sha512-DieYoGrP78PWKsrXr8MZwtQ7GLCUeLxihtjC1jZsW1DnvSMdKPitJSe8OSYDM2u5H6g3kWJZpePqkp43TfLh0g==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -7784,6 +10300,29 @@
"node": ">=8.0"
}
},
+ "node_modules/toidentifier": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/tough-cookie": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.0.tgz",
+ "integrity": "sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tldts": "^7.0.5"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
"node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
@@ -7803,6 +10342,32 @@
"typescript": ">=4.8.4"
}
},
+ "node_modules/ts-morph": {
+ "version": "26.0.0",
+ "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-26.0.0.tgz",
+ "integrity": "sha512-ztMO++owQnz8c/gIENcM9XfCEzgoGphTv+nKpYNM1bgsdOVC/jRZuEBf6N+mLLDNg68Kl+GgUZfOySaRiG1/Ug==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@ts-morph/common": "~0.27.0",
+ "code-block-writer": "^13.0.3"
+ }
+ },
+ "node_modules/tsconfig-paths": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz",
+ "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json5": "^2.2.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
@@ -7831,6 +10396,34 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/type-fest": {
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/type-is": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
+ "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "content-type": "^1.0.5",
+ "media-typer": "^1.1.0",
+ "mime-types": "^3.0.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/typescript": {
"version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
@@ -7875,10 +10468,53 @@
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"license": "MIT"
},
+ "node_modules/unicorn-magic": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz",
+ "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/unpipe": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
+ "node_modules/until-async": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/until-async/-/until-async-3.0.2.tgz",
+ "integrity": "sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/kettanaito"
+ }
+ },
"node_modules/update-browserslist-db": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz",
- "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz",
+ "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==",
"dev": true,
"funding": [
{
@@ -7980,6 +10616,16 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
+ "node_modules/vary": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/vaul": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/vaul/-/vaul-1.1.2.tgz",
@@ -8230,6 +10876,16 @@
"loose-envify": "^1.0.0"
}
},
+ "node_modules/web-streams-polyfill": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
+ "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
"node_modules/webidl-conversions": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
@@ -8306,6 +10962,27 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/write-file-atomic": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-6.0.0.tgz",
+ "integrity": "sha512-GmqrO8WJ1NuzJ2DrziEI2o57jKAVIQNf8a18W3nCYU3H7PNWqCCVTeH6/NQE93CIllIgQS98rrmVkYgTX9fFJQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "imurmurhash": "^0.1.4",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": "^18.17.0 || >=20.5.0"
+ }
+ },
"node_modules/ws": {
"version": "8.18.3",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz",
@@ -8383,6 +11060,32 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/yoctocolors": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.2.tgz",
+ "integrity": "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/yoctocolors-cjs": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz",
+ "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/zod": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.1.5.tgz",
diff --git a/package.json b/package.json
index 961b2dae..737d34a6 100644
--- a/package.json
+++ b/package.json
@@ -13,12 +13,12 @@
"lint:check": "eslint **/*.{mjs,ts,tsx}",
"prettier:apply": "prettier --config ./.prettierrc.mjs --write --list-different \"**/*.{js,json,ts,tsx,css,md,html}\"",
"prettier:check": "prettier --config ./.prettierrc.mjs --check \"**/*.{js,json,ts,tsx,css,md,html}\"",
+ "registry:build": "shadcn build",
"ghpages:deploy": "node ./scripts/ghpages-deploy.mjs",
"supabase:remote:init": "node ./scripts/supabase-remote-init.mjs"
},
"dependencies": {
"@hello-pangea/dnd": "^18.0.1",
- "@hookform/resolvers": "^5.1.1",
"@nivo/bar": "^0.99.0",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-avatar": "^1.1.10",
@@ -88,6 +88,8 @@
"eslint-plugin-storybook": "^9.0.13",
"globals": "^16.3.0",
"prettier": "^3.6.2",
+ "shadcn": "^3.5.0",
+ "supabase": "^2.53.6",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
diff --git a/registry.json b/registry.json
new file mode 100644
index 00000000..a19a4b59
--- /dev/null
+++ b/registry.json
@@ -0,0 +1,644 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry.json",
+ "name": "atomic-crm",
+ "homepage": "https://marmelab.com/atomic-crm/",
+ "items": [
+ {
+ "name": "atomic-crm",
+ "type": "registry:block",
+ "title": "Atomic CRM",
+ "description": "A fully fledged CRM application built with Shadcn Admin Kit",
+ "registryDependencies": [
+ "https://marmelab.com/shadcn-admin-kit/r/shadcn-admin-kit-base.json"
+ ],
+ "dependencies": [
+ "@hello-pangea/dnd@^18.0.1",
+ "@nivo/bar@^0.99.0",
+ "faker@^5.5.3",
+ "jsonexport@^3.2.0",
+ "papaparse@^5.5.3",
+ "ra-supabase-core@^3.5.1",
+ "ra-supabase-language-english@^3.5.0",
+ "zod@^4.0.5"
+ ],
+ "files": [
+ {
+ "path": "src/components/atomic-crm/layout/Header.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/layout/TopToolbar.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/layout/Layout.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/layout/FormToolbar.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealInputs.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/OnlyMineInput.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealListContent.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/deal.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealArchivedList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/stages.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealCard.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealColumn.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealShow.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealEmpty.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/DealEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/dealUtils.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/deals/ContactList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/TasksListFilter.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/Welcome.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/TasksListEmpty.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/DashboardActivityLog.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/Dashboard.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/DealsPipeline.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/TasksList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/LatestNotes.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/DealsChart.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/DashboardStepper.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/dashboard/HotContacts.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/supabase/supabase.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/supabase/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/supabase/dataProvider.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/supabase/authProvider.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformInFilter.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/listParser.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataProvider.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/tags.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/utils.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/companies.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/fakerest/authProvider.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/commons/getCompanyAvatar.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/commons/getContactAvatar.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/commons/activity.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/commons/canAccess.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/providers/types.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/NoteCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/NoteInputs.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/StatusSelector.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/Note.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/utils.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/NotesIterator.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/notes/NoteAttachments.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogNote.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLog.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogIterator.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogContactCreated.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogContext.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/activity/ActivityLogDealCreated.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/consts.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/AutocompleteCompanyInput.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyInputs.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyEmpty.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyAvatar.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyListFilter.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/GridList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyAside.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyCard.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/sizes.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/companies/CompanyShow.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/settings/SettingsPage.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/simple-list/SimpleListLoading.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/simple-list/SimpleList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/simple-list/ListNoResults.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/simple-list/SimpleListItem.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/simple-list/ListPlaceholder.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/root/defaultConfiguration.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/root/CRM.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/root/i18nProvider.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/root/ConfigurationContext.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/login/StartPage.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/login/LoginSkeleton.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/login/SignupPage.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/fetchWithTimeout.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/ImageEditorField.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/unsupportedDomains.const.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/RelativeDate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/useAppBarHeight.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/AsideSection.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/usePapaParse.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/Status.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/ContactOption.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/misc/isLinkedInUrl.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/filters/FilterCategory.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/SalesList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/SalesEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/index.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/SalesInputs.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/SalesCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/sales/SaleName.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/types.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/TagEditModal.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/TagChip.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/RoundButton.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/TagDialog.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/TagCreateModal.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tags/colors.ts",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactAside.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactCreate.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/Avatar.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactEmpty.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactShow.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/TagsListEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/TagsList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactInputs.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactListFilter.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/index.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/useContactImport.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactImportButton.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactListContent.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactImportDialog.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/contacts/ContactList.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tasks/Task.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tasks/TaskEdit.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tasks/TasksIterator.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/components/atomic-crm/tasks/AddTask.tsx",
+ "type": "registry:component"
+ },
+ {
+ "path": "src/hooks/array-input-context.tsx",
+ "type": "registry:hook"
+ },
+ {
+ "path": "src/hooks/simple-form-iterator-context.tsx",
+ "type": "registry:hook"
+ },
+ {
+ "path": "src/hooks/useBulkExport.tsx",
+ "type": "registry:hook"
+ },
+ {
+ "path": "src/hooks/user-menu-context.tsx",
+ "type": "registry:hook"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/App.tsx b/src/App.tsx
index 6fd2c519..e74f7a98 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,4 +1,4 @@
-import { CRM } from "@/atomic-crm/root/CRM";
+import { CRM } from "@/components/atomic-crm/root/CRM";
/**
* Application entry point
diff --git a/src/atomic-crm/companies/index.ts b/src/atomic-crm/companies/index.ts
deleted file mode 100644
index d751e1f3..00000000
--- a/src/atomic-crm/companies/index.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { CompanyList } from "./CompanyList";
-import { CompanyCreate } from "./CompanyCreate";
-import { CompanyShow } from "./CompanyShow";
-import { CompanyEdit } from "./CompanyEdit";
-
-export default {
- list: CompanyList,
- create: CompanyCreate,
- edit: CompanyEdit,
- show: CompanyShow,
-};
diff --git a/src/atomic-crm/contacts/index.tsx b/src/atomic-crm/contacts/index.tsx
deleted file mode 100644
index bd532dc6..00000000
--- a/src/atomic-crm/contacts/index.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import type { Contact } from "../types";
-import { ContactCreate } from "./ContactCreate";
-import { ContactEdit } from "./ContactEdit";
-import { ContactList } from "./ContactList";
-import { ContactShow } from "./ContactShow";
-
-export default {
- list: ContactList,
- show: ContactShow,
- edit: ContactEdit,
- create: ContactCreate,
- recordRepresentation: (record: Contact) =>
- record?.first_name + " " + record?.last_name,
-};
diff --git a/src/atomic-crm/deals/index.ts b/src/atomic-crm/deals/index.ts
deleted file mode 100644
index 82086f28..00000000
--- a/src/atomic-crm/deals/index.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import * as React from "react";
-const DealList = React.lazy(() => import("./DealList"));
-
-export default {
- list: DealList,
-};
diff --git a/src/atomic-crm/misc/DialogCloseButton.tsx b/src/atomic-crm/misc/DialogCloseButton.tsx
deleted file mode 100644
index e69de29b..00000000
diff --git a/src/atomic-crm/notes/index.ts b/src/atomic-crm/notes/index.ts
deleted file mode 100644
index 8746e3db..00000000
--- a/src/atomic-crm/notes/index.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-export * from "./NoteCreate";
-export * from "./NotesIterator";
-export * from "./StatusSelector";
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/index.ts b/src/atomic-crm/providers/fakerest/dataGenerator/index.ts
deleted file mode 100644
index 1593a50b..00000000
--- a/src/atomic-crm/providers/fakerest/dataGenerator/index.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { generateCompanies } from "./companies";
-import { generateContactNotes } from "./contactNotes";
-import { generateContacts } from "./contacts";
-import { generateDealNotes } from "./dealNotes";
-import { generateDeals } from "./deals";
-import { finalize } from "./finalize";
-import { generateSales } from "./sales";
-import { generateTags } from "./tags";
-import { generateTasks } from "./tasks";
-import type { Db } from "./types";
-
-export default (): Db => {
- const db = {} as Db;
- db.sales = generateSales(db);
- db.tags = generateTags(db);
- db.companies = generateCompanies(db);
- db.contacts = generateContacts(db);
- db.contactNotes = generateContactNotes(db);
- db.deals = generateDeals(db);
- db.dealNotes = generateDealNotes(db);
- db.tasks = generateTasks(db);
- finalize(db);
-
- return db;
-};
diff --git a/src/atomic-crm/providers/fakerest/index.ts b/src/atomic-crm/providers/fakerest/index.ts
deleted file mode 100644
index 75a08a19..00000000
--- a/src/atomic-crm/providers/fakerest/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { authProvider } from "./authProvider";
-export { dataProvider } from "./dataProvider";
diff --git a/src/atomic-crm/providers/supabase/index.ts b/src/atomic-crm/providers/supabase/index.ts
deleted file mode 100644
index 75a08a19..00000000
--- a/src/atomic-crm/providers/supabase/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export { authProvider } from "./authProvider";
-export { dataProvider } from "./dataProvider";
diff --git a/src/atomic-crm/providers/types.ts b/src/atomic-crm/providers/types.ts
deleted file mode 100644
index 401dba9c..00000000
--- a/src/atomic-crm/providers/types.ts
+++ /dev/null
@@ -1 +0,0 @@
-export type { CrmDataProvider } from "./supabase/dataProvider";
diff --git a/src/atomic-crm/sales/index.ts b/src/atomic-crm/sales/index.ts
deleted file mode 100644
index 060ea2dd..00000000
--- a/src/atomic-crm/sales/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { Sale } from "../types";
-import { SalesCreate } from "./SalesCreate";
-import { SalesEdit } from "./SalesEdit";
-import { SalesList } from "./SalesList";
-
-export default {
- list: SalesList,
- create: SalesCreate,
- edit: SalesEdit,
- recordRepresentation: (record: Sale) =>
- `${record.first_name} ${record.last_name}`,
-};
diff --git a/src/components/admin/login-page.tsx b/src/components/admin/login-page.tsx
index 251753bc..8e8e4a88 100644
--- a/src/components/admin/login-page.tsx
+++ b/src/components/admin/login-page.tsx
@@ -5,7 +5,7 @@ import { Link } from "react-router";
import { Button } from "@/components/ui/button";
import { TextInput } from "@/components/admin/text-input";
import { Notification } from "@/components/admin/notification";
-import { useConfigurationContext } from "@/atomic-crm/root/ConfigurationContext.tsx";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext.tsx";
export const LoginPage = (props: { redirectTo?: string }) => {
const { darkModeLogo, title } = useConfigurationContext();
diff --git a/src/atomic-crm/activity/ActivityLog.tsx b/src/components/atomic-crm/activity/ActivityLog.tsx
similarity index 81%
rename from src/atomic-crm/activity/ActivityLog.tsx
rename to src/components/atomic-crm/activity/ActivityLog.tsx
index affc8825..39e16c90 100644
--- a/src/atomic-crm/activity/ActivityLog.tsx
+++ b/src/components/atomic-crm/activity/ActivityLog.tsx
@@ -2,12 +2,10 @@ import { Alert } from "@/components/ui/alert";
import { Separator } from "@/components/ui/separator";
import { Skeleton } from "@/components/ui/skeleton";
import { useQuery } from "@tanstack/react-query";
-import type { Identifier } from "ra-core";
-import { useDataProvider } from "ra-core";
-
-import type { CrmDataProvider } from "../providers/types";
-import { ActivityLogContext } from "./ActivityLogContext";
-import { ActivityLogIterator } from "./ActivityLogIterator";
+import { type Identifier, useDataProvider } from "ra-core";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import { ActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
+import { ActivityLogIterator } from "@/components/atomic-crm/activity/ActivityLogIterator";
type ActivityLogProps = {
companyId?: Identifier;
diff --git a/src/atomic-crm/activity/ActivityLogCompanyCreated.tsx b/src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx
similarity index 77%
rename from src/atomic-crm/activity/ActivityLogCompanyCreated.tsx
rename to src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx
index 6ac8010e..aabc5271 100644
--- a/src/atomic-crm/activity/ActivityLogCompanyCreated.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogCompanyCreated.tsx
@@ -1,11 +1,10 @@
import { Link } from "react-router";
-
import { ReferenceField } from "@/components/admin";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { RelativeDate } from "../misc/RelativeDate";
-import { SaleName } from "../sales/SaleName";
-import type { ActivityCompanyCreated } from "../types";
-import { useActivityLogContext } from "./ActivityLogContext";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type { ActivityCompanyCreated } from "@/components/atomic-crm/types";
+import { useActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
type ActivityLogCompanyCreatedProps = {
activity: ActivityCompanyCreated;
diff --git a/src/atomic-crm/activity/ActivityLogContactCreated.tsx b/src/components/atomic-crm/activity/ActivityLogContactCreated.tsx
similarity index 75%
rename from src/atomic-crm/activity/ActivityLogContactCreated.tsx
rename to src/components/atomic-crm/activity/ActivityLogContactCreated.tsx
index 22498efd..b8620652 100644
--- a/src/atomic-crm/activity/ActivityLogContactCreated.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogContactCreated.tsx
@@ -1,11 +1,10 @@
import { Link } from "react-router";
-
import { ReferenceField } from "@/components/admin";
-import { Avatar } from "../contacts/Avatar";
-import { RelativeDate } from "../misc/RelativeDate";
-import { SaleName } from "../sales/SaleName";
-import type { ActivityContactCreated } from "../types";
-import { useActivityLogContext } from "./ActivityLogContext";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import { SaleName } from "@/components/atomic-crm//sales/SaleName";
+import type { ActivityContactCreated } from "@/components/atomic-crm/types";
+import { useActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
type ActivityLogContactCreatedProps = {
activity: ActivityContactCreated;
diff --git a/src/atomic-crm/activity/ActivityLogContactNoteCreated.tsx b/src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx
similarity index 80%
rename from src/atomic-crm/activity/ActivityLogContactNoteCreated.tsx
rename to src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx
index 67dbd62a..f65fe885 100644
--- a/src/atomic-crm/activity/ActivityLogContactNoteCreated.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogContactNoteCreated.tsx
@@ -1,11 +1,14 @@
import { ReferenceField, TextField } from "@/components/admin";
import { useRecordContext } from "ra-core";
-import { Avatar } from "../contacts/Avatar";
-import { RelativeDate } from "../misc/RelativeDate";
-import { SaleName } from "../sales/SaleName";
-import type { ActivityContactNoteCreated, Contact } from "../types";
-import { useActivityLogContext } from "./ActivityLogContext";
-import { ActivityLogNote } from "./ActivityLogNote";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type {
+ ActivityContactNoteCreated,
+ Contact,
+} from "@/components/atomic-crm/types";
+import { useActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
+import { ActivityLogNote } from "@/components/atomic-crm/activity/ActivityLogNote";
type ActivityLogContactNoteCreatedProps = {
activity: ActivityContactNoteCreated;
diff --git a/src/atomic-crm/activity/ActivityLogContext.tsx b/src/components/atomic-crm/activity/ActivityLogContext.tsx
similarity index 100%
rename from src/atomic-crm/activity/ActivityLogContext.tsx
rename to src/components/atomic-crm/activity/ActivityLogContext.tsx
diff --git a/src/atomic-crm/activity/ActivityLogDealCreated.tsx b/src/components/atomic-crm/activity/ActivityLogDealCreated.tsx
similarity index 82%
rename from src/atomic-crm/activity/ActivityLogDealCreated.tsx
rename to src/components/atomic-crm/activity/ActivityLogDealCreated.tsx
index b0c57389..3232d91f 100644
--- a/src/atomic-crm/activity/ActivityLogDealCreated.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogDealCreated.tsx
@@ -1,9 +1,8 @@
import { Link } from "react-router";
-
import type { RaRecord } from "ra-core";
-import { RelativeDate } from "../misc/RelativeDate";
-import type { ActivityDealCreated } from "../types";
-import { useActivityLogContext } from "./ActivityLogContext";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import type { ActivityDealCreated } from "@/components/atomic-crm/types";
+import { useActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
type ActivityLogDealCreatedProps = {
activity: RaRecord & ActivityDealCreated;
diff --git a/src/atomic-crm/activity/ActivityLogDealNoteCreated.tsx b/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx
similarity index 82%
rename from src/atomic-crm/activity/ActivityLogDealNoteCreated.tsx
rename to src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx
index 9cc7f593..90e78674 100644
--- a/src/atomic-crm/activity/ActivityLogDealNoteCreated.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogDealNoteCreated.tsx
@@ -1,12 +1,11 @@
import { ReferenceField } from "@/components/admin";
-
import type { RaRecord } from "ra-core";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { RelativeDate } from "../misc/RelativeDate";
-import { SaleName } from "../sales/SaleName";
-import type { ActivityDealNoteCreated } from "../types";
-import { useActivityLogContext } from "./ActivityLogContext";
-import { ActivityLogNote } from "./ActivityLogNote";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type { ActivityDealNoteCreated } from "@/components/atomic-crm/types";
+import { useActivityLogContext } from "@/components/atomic-crm/activity/ActivityLogContext";
+import { ActivityLogNote } from "@/components/atomic-crm/activity/ActivityLogNote";
type ActivityLogDealNoteCreatedProps = {
activity: RaRecord & ActivityDealNoteCreated;
diff --git a/src/atomic-crm/activity/ActivityLogIterator.tsx b/src/components/atomic-crm/activity/ActivityLogIterator.tsx
similarity index 74%
rename from src/atomic-crm/activity/ActivityLogIterator.tsx
rename to src/components/atomic-crm/activity/ActivityLogIterator.tsx
index 53094cf4..148dda57 100644
--- a/src/atomic-crm/activity/ActivityLogIterator.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogIterator.tsx
@@ -1,19 +1,18 @@
import { Fragment, useState } from "react";
import { Separator } from "@/components/ui/separator";
-
import {
COMPANY_CREATED,
CONTACT_CREATED,
CONTACT_NOTE_CREATED,
DEAL_CREATED,
DEAL_NOTE_CREATED,
-} from "../consts";
-import type { Activity } from "../types";
-import { ActivityLogCompanyCreated } from "./ActivityLogCompanyCreated";
-import { ActivityLogContactCreated } from "./ActivityLogContactCreated";
-import { ActivityLogContactNoteCreated } from "./ActivityLogContactNoteCreated";
-import { ActivityLogDealCreated } from "./ActivityLogDealCreated";
-import { ActivityLogDealNoteCreated } from "./ActivityLogDealNoteCreated";
+} from "@/components/atomic-crm/consts";
+import type { Activity } from "@/components/atomic-crm/types";
+import { ActivityLogCompanyCreated } from "@/components/atomic-crm/activity/ActivityLogCompanyCreated";
+import { ActivityLogContactCreated } from "@/components/atomic-crm/activity/ActivityLogContactCreated";
+import { ActivityLogContactNoteCreated } from "@/components/atomic-crm/activity/ActivityLogContactNoteCreated";
+import { ActivityLogDealCreated } from "@/components/atomic-crm/activity/ActivityLogDealCreated";
+import { ActivityLogDealNoteCreated } from "@/components/atomic-crm/activity/ActivityLogDealNoteCreated";
type ActivityLogIteratorProps = {
activities: Activity[];
diff --git a/src/atomic-crm/activity/ActivityLogNote.tsx b/src/components/atomic-crm/activity/ActivityLogNote.tsx
similarity index 91%
rename from src/atomic-crm/activity/ActivityLogNote.tsx
rename to src/components/atomic-crm/activity/ActivityLogNote.tsx
index 96f46240..ba211bc2 100644
--- a/src/atomic-crm/activity/ActivityLogNote.tsx
+++ b/src/components/atomic-crm/activity/ActivityLogNote.tsx
@@ -1,5 +1,4 @@
-import type { ReactNode } from "react";
-import { Fragment } from "react";
+import { type ReactNode, Fragment } from "react";
type ActivityLogContactNoteCreatedProps = {
header: ReactNode;
diff --git a/src/atomic-crm/companies/AutocompleteCompanyInput.tsx b/src/components/atomic-crm/companies/AutocompleteCompanyInput.tsx
similarity index 100%
rename from src/atomic-crm/companies/AutocompleteCompanyInput.tsx
rename to src/components/atomic-crm/companies/AutocompleteCompanyInput.tsx
diff --git a/src/atomic-crm/companies/CompanyAside.tsx b/src/components/atomic-crm/companies/CompanyAside.tsx
similarity index 94%
rename from src/atomic-crm/companies/CompanyAside.tsx
rename to src/components/atomic-crm/companies/CompanyAside.tsx
index 02f63e8e..5760a41d 100644
--- a/src/atomic-crm/companies/CompanyAside.tsx
+++ b/src/components/atomic-crm/companies/CompanyAside.tsx
@@ -9,11 +9,10 @@ import {
UrlField,
SelectField,
} from "@/components/admin";
-
-import { AsideSection } from "../misc/AsideSection";
-import { SaleName } from "../sales/SaleName";
-import type { Company } from "../types";
-import { sizes } from "./sizes";
+import { AsideSection } from "@/components/atomic-crm/misc/AsideSection";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type { Company } from "@/components/atomic-crm/types";
+import { sizes } from "@/components/atomic-crm/companies/sizes";
interface CompanyAsideProps {
link?: string;
diff --git a/src/atomic-crm/companies/CompanyAvatar.tsx b/src/components/atomic-crm/companies/CompanyAvatar.tsx
similarity index 92%
rename from src/atomic-crm/companies/CompanyAvatar.tsx
rename to src/components/atomic-crm/companies/CompanyAvatar.tsx
index 4e4d2e6a..f33058ff 100644
--- a/src/atomic-crm/companies/CompanyAvatar.tsx
+++ b/src/components/atomic-crm/companies/CompanyAvatar.tsx
@@ -1,7 +1,7 @@
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import { useRecordContext } from "ra-core";
-import type { Company } from "../types";
+import type { Company } from "@/components/atomic-crm/types";
export const CompanyAvatar = (props: {
record?: Company;
diff --git a/src/atomic-crm/companies/CompanyCard.tsx b/src/components/atomic-crm/companies/CompanyCard.tsx
similarity index 92%
rename from src/atomic-crm/companies/CompanyCard.tsx
rename to src/components/atomic-crm/companies/CompanyCard.tsx
index f7d17350..64292ff0 100644
--- a/src/atomic-crm/companies/CompanyCard.tsx
+++ b/src/components/atomic-crm/companies/CompanyCard.tsx
@@ -3,10 +3,9 @@ import { Link } from "react-router";
import { useCreatePath, useListContext, useRecordContext } from "ra-core";
import { ReferenceManyField } from "@/components/admin";
import { Card } from "@/components/ui/card";
-
-import { Avatar as ContactAvatar } from "../contacts/Avatar";
-import type { Company } from "../types";
-import { CompanyAvatar } from "./CompanyAvatar";
+import { Avatar as ContactAvatar } from "@/components/atomic-crm/contacts/Avatar";
+import type { Company } from "@/components/atomic-crm/types";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
export const CompanyCard = (props: { record?: Company }) => {
const createPath = useCreatePath();
diff --git a/src/atomic-crm/companies/CompanyCreate.tsx b/src/components/atomic-crm/companies/CompanyCreate.tsx
similarity index 93%
rename from src/atomic-crm/companies/CompanyCreate.tsx
rename to src/components/atomic-crm/companies/CompanyCreate.tsx
index e3ab22ee..48dbccf4 100644
--- a/src/atomic-crm/companies/CompanyCreate.tsx
+++ b/src/components/atomic-crm/companies/CompanyCreate.tsx
@@ -1,8 +1,7 @@
import { CreateBase, Form, useGetIdentity } from "ra-core";
import { Card, CardContent } from "@/components/ui/card";
import { CancelButton, SaveButton, FormToolbar } from "@/components/admin";
-
-import { CompanyInputs } from "./CompanyInputs";
+import { CompanyInputs } from "@/components/atomic-crm/companies/CompanyInputs";
export const CompanyCreate = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/companies/CompanyEdit.tsx b/src/components/atomic-crm/companies/CompanyEdit.tsx
similarity index 75%
rename from src/atomic-crm/companies/CompanyEdit.tsx
rename to src/components/atomic-crm/companies/CompanyEdit.tsx
index 7c1a5046..f78c6062 100644
--- a/src/atomic-crm/companies/CompanyEdit.tsx
+++ b/src/components/atomic-crm/companies/CompanyEdit.tsx
@@ -1,10 +1,8 @@
import { EditBase, Form } from "ra-core";
-
-import { CompanyInputs } from "./CompanyInputs";
-
+import { CompanyInputs } from "@/components/atomic-crm/companies/CompanyInputs";
import { Card, CardContent } from "@/components/ui/card";
-import { CompanyAside } from "./CompanyAside";
-import { FormToolbar } from "../layout/FormToolbar";
+import { CompanyAside } from "@/components/atomic-crm/companies/CompanyAside";
+import { FormToolbar } from "@/components/atomic-crm/layout/FormToolbar";
export const CompanyEdit = () => (
<EditBase
diff --git a/src/atomic-crm/companies/CompanyEmpty.tsx b/src/components/atomic-crm/companies/CompanyEmpty.tsx
similarity index 78%
rename from src/atomic-crm/companies/CompanyEmpty.tsx
rename to src/components/atomic-crm/companies/CompanyEmpty.tsx
index 1e8e7c06..3e7745df 100644
--- a/src/atomic-crm/companies/CompanyEmpty.tsx
+++ b/src/components/atomic-crm/companies/CompanyEmpty.tsx
@@ -1,5 +1,5 @@
import { CreateButton } from "@/components/admin";
-import useAppBarHeight from "../misc/useAppBarHeight";
+import useAppBarHeight from "@/components/atomic-crm/misc/useAppBarHeight";
export const CompanyEmpty = () => {
const appbarHeight = useAppBarHeight();
@@ -10,7 +10,10 @@ export const CompanyEmpty = () => {
height: `calc(100dvh - ${appbarHeight}px)`,
}}
>
- <img src="./img/empty.svg" alt="No companies found" />
+ <img
+ src="@/components/atomic-crm/dashboard/img/empty.svg"
+ alt="No companies found"
+ />
<div className="flex flex-col gap-0 items-center">
<h6 className="text-lg font-bold">No companies found</h6>
<p className="text-sm text-center text-muted-foreground mb-4">
diff --git a/src/atomic-crm/companies/CompanyInputs.tsx b/src/components/atomic-crm/companies/CompanyInputs.tsx
similarity index 92%
rename from src/atomic-crm/companies/CompanyInputs.tsx
rename to src/components/atomic-crm/companies/CompanyInputs.tsx
index 93b92fc4..30617da6 100644
--- a/src/atomic-crm/companies/CompanyInputs.tsx
+++ b/src/components/atomic-crm/companies/CompanyInputs.tsx
@@ -8,11 +8,11 @@ import {
import { Separator } from "@/components/ui/separator";
import { useIsMobile } from "@/hooks/use-mobile";
import { required, useRecordContext } from "ra-core";
-import ImageEditorField from "../misc/ImageEditorField";
-import { isLinkedinUrl } from "../misc/isLinkedInUrl";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Company, Sale } from "../types";
-import { sizes } from "./sizes";
+import ImageEditorField from "@/components/atomic-crm/misc/ImageEditorField";
+import { isLinkedinUrl } from "@/components/atomic-crm/misc/isLinkedInUrl";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Company, Sale } from "@/components/atomic-crm/types";
+import { sizes } from "@/components/atomic-crm/companies/sizes";
const isUrl = (url: string) => {
if (!url) return;
diff --git a/src/atomic-crm/companies/CompanyList.tsx b/src/components/atomic-crm/companies/CompanyList.tsx
similarity index 79%
rename from src/atomic-crm/companies/CompanyList.tsx
rename to src/components/atomic-crm/companies/CompanyList.tsx
index 01ad8e2b..1d98a3d5 100644
--- a/src/atomic-crm/companies/CompanyList.tsx
+++ b/src/components/atomic-crm/companies/CompanyList.tsx
@@ -1,5 +1,4 @@
import { useGetIdentity, useListContext } from "ra-core";
-
import {
CreateButton,
ExportButton,
@@ -7,10 +6,10 @@ import {
ListPagination,
SortButton,
} from "@/components/admin";
-import { TopToolbar } from "../layout/TopToolbar";
-import { CompanyEmpty } from "./CompanyEmpty";
-import { CompanyListFilter } from "./CompanyListFilter";
-import { ImageList } from "./GridList";
+import { TopToolbar } from "@/components/atomic-crm/layout/TopToolbar";
+import { CompanyEmpty } from "@/components/atomic-crm/companies/CompanyEmpty";
+import { CompanyListFilter } from "@/components/atomic-crm/companies/CompanyListFilter";
+import { ImageList } from "@/components/atomic-crm/companies/GridList";
export const CompanyList = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/companies/CompanyListFilter.tsx b/src/components/atomic-crm/companies/CompanyListFilter.tsx
similarity index 86%
rename from src/atomic-crm/companies/CompanyListFilter.tsx
rename to src/components/atomic-crm/companies/CompanyListFilter.tsx
index e21c06f8..371c77aa 100644
--- a/src/atomic-crm/companies/CompanyListFilter.tsx
+++ b/src/components/atomic-crm/companies/CompanyListFilter.tsx
@@ -1,10 +1,9 @@
import { Building, Truck, Users } from "lucide-react";
import { FilterLiveForm, useGetIdentity } from "ra-core";
-
import { ToggleFilterButton, SearchInput } from "@/components/admin";
-import { FilterCategory } from "../filters/FilterCategory";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import { sizes } from "./sizes";
+import { FilterCategory } from "@/components/atomic-crm/filters/FilterCategory";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import { sizes } from "@/components/atomic-crm/companies/sizes";
export const CompanyListFilter = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/companies/CompanyShow.tsx b/src/components/atomic-crm/companies/CompanyShow.tsx
similarity index 92%
rename from src/atomic-crm/companies/CompanyShow.tsx
rename to src/components/atomic-crm/companies/CompanyShow.tsx
index 89046c65..f864d4f8 100644
--- a/src/atomic-crm/companies/CompanyShow.tsx
+++ b/src/components/atomic-crm/companies/CompanyShow.tsx
@@ -17,16 +17,15 @@ import { Button } from "@/components/ui/button";
import { Card, CardContent } from "@/components/ui/card";
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs";
import { ReferenceManyField, SortButton } from "@/components/admin";
-
-import { ActivityLog } from "../activity/ActivityLog";
-import { Avatar } from "../contacts/Avatar";
-import { TagsList } from "../contacts/TagsList";
-import { findDealLabel } from "../deals/deal";
-import { Status } from "../misc/Status";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Company, Contact, Deal } from "../types";
-import { CompanyAside } from "./CompanyAside";
-import { CompanyAvatar } from "./CompanyAvatar";
+import { ActivityLog } from "@/components/atomic-crm/activity//ActivityLog";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { TagsList } from "@/components/atomic-crm/contacts/TagsList";
+import { findDealLabel } from "@/components/atomic-crm/deals/deal";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Company, Contact, Deal } from "@/components/atomic-crm/types";
+import { CompanyAside } from "@/components/atomic-crm/companies/CompanyAside";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
export const CompanyShow = () => (
<ShowBase>
diff --git a/src/atomic-crm/companies/GridList.tsx b/src/components/atomic-crm/companies/GridList.tsx
similarity index 88%
rename from src/atomic-crm/companies/GridList.tsx
rename to src/components/atomic-crm/companies/GridList.tsx
index 9bf1b4ab..a8230b86 100644
--- a/src/atomic-crm/companies/GridList.tsx
+++ b/src/components/atomic-crm/companies/GridList.tsx
@@ -1,7 +1,6 @@
import { RecordContextProvider, useListContext } from "ra-core";
-
-import type { Company } from "../types";
-import { CompanyCard } from "./CompanyCard";
+import type { Company } from "@/components/atomic-crm/types";
+import { CompanyCard } from "@/components/atomic-crm/companies/CompanyCard";
const times = (nbChildren: number, fn: (key: number) => any) =>
Array.from({ length: nbChildren }, (_, key) => fn(key));
diff --git a/src/components/atomic-crm/companies/index.ts b/src/components/atomic-crm/companies/index.ts
new file mode 100644
index 00000000..90fda23f
--- /dev/null
+++ b/src/components/atomic-crm/companies/index.ts
@@ -0,0 +1,11 @@
+import { CompanyList } from "@/components/atomic-crm/companies/CompanyList";
+import { CompanyCreate } from "@/components/atomic-crm/companies/CompanyCreate";
+import { CompanyShow } from "@/components/atomic-crm/companies/CompanyShow";
+import { CompanyEdit } from "@/components/atomic-crm/companies/CompanyEdit";
+
+export default {
+ list: CompanyList,
+ create: CompanyCreate,
+ edit: CompanyEdit,
+ show: CompanyShow,
+};
diff --git a/src/atomic-crm/companies/sizes.ts b/src/components/atomic-crm/companies/sizes.ts
similarity index 100%
rename from src/atomic-crm/companies/sizes.ts
rename to src/components/atomic-crm/companies/sizes.ts
diff --git a/src/atomic-crm/consts.ts b/src/components/atomic-crm/consts.ts
similarity index 100%
rename from src/atomic-crm/consts.ts
rename to src/components/atomic-crm/consts.ts
diff --git a/src/atomic-crm/contacts/Avatar.tsx b/src/components/atomic-crm/contacts/Avatar.tsx
similarity index 94%
rename from src/atomic-crm/contacts/Avatar.tsx
rename to src/components/atomic-crm/contacts/Avatar.tsx
index 4884a2d2..c1a35ec2 100644
--- a/src/atomic-crm/contacts/Avatar.tsx
+++ b/src/components/atomic-crm/contacts/Avatar.tsx
@@ -4,8 +4,7 @@ import {
Avatar as ShadcnAvatar,
} from "@/components/ui/avatar";
import { useRecordContext } from "ra-core";
-
-import type { Contact } from "../types";
+import type { Contact } from "@/components/atomic-crm/types";
export const Avatar = (props: {
record?: Contact;
diff --git a/src/atomic-crm/contacts/ContactAside.tsx b/src/components/atomic-crm/contacts/ContactAside.tsx
similarity index 90%
rename from src/atomic-crm/contacts/ContactAside.tsx
rename to src/components/atomic-crm/contacts/ContactAside.tsx
index 7bfaf877..a822efc0 100644
--- a/src/atomic-crm/contacts/ContactAside.tsx
+++ b/src/components/atomic-crm/contacts/ContactAside.tsx
@@ -1,8 +1,8 @@
import { Linkedin, Mail, Phone } from "lucide-react";
import { useRecordContext, WithRecord } from "ra-core";
-import { AddTask } from "../tasks/AddTask";
-import { TasksIterator } from "../tasks/TasksIterator";
-import { TagsListEdit } from "./TagsListEdit";
+import { AddTask } from "@/components/atomic-crm/tasks/AddTask";
+import { TasksIterator } from "@/components/atomic-crm/tasks/TasksIterator";
+import { TagsListEdit } from "@/components/atomic-crm/contacts/TagsListEdit";
import {
ArrayField,
@@ -16,10 +16,10 @@ import {
EmailField,
} from "@/components/admin";
import type { ReactNode } from "react";
-import { AsideSection } from "../misc/AsideSection";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import { SaleName } from "../sales/SaleName";
-import type { Contact } from "../types";
+import { AsideSection } from "@/components/atomic-crm/misc/AsideSection";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type { Contact } from "@/components/atomic-crm/types";
export const ContactAside = ({ link = "edit" }: { link?: "edit" | "show" }) => {
const { contactGender } = useConfigurationContext();
diff --git a/src/atomic-crm/contacts/ContactCreate.tsx b/src/components/atomic-crm/contacts/ContactCreate.tsx
similarity index 85%
rename from src/atomic-crm/contacts/ContactCreate.tsx
rename to src/components/atomic-crm/contacts/ContactCreate.tsx
index f81cf002..6eef91ba 100644
--- a/src/atomic-crm/contacts/ContactCreate.tsx
+++ b/src/components/atomic-crm/contacts/ContactCreate.tsx
@@ -1,9 +1,8 @@
import { Card, CardContent } from "@/components/ui/card";
import { CreateBase, Form, useGetIdentity } from "ra-core";
-
import { FormToolbar } from "@/components/admin";
-import type { Contact } from "../types";
-import { ContactInputs } from "./ContactInputs";
+import type { Contact } from "@/components/atomic-crm/types";
+import { ContactInputs } from "@/components/atomic-crm/contacts/ContactInputs";
export const ContactCreate = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/contacts/ContactEdit.tsx b/src/components/atomic-crm/contacts/ContactEdit.tsx
similarity index 69%
rename from src/atomic-crm/contacts/ContactEdit.tsx
rename to src/components/atomic-crm/contacts/ContactEdit.tsx
index fe5e4d0d..e0301bfe 100644
--- a/src/atomic-crm/contacts/ContactEdit.tsx
+++ b/src/components/atomic-crm/contacts/ContactEdit.tsx
@@ -1,10 +1,9 @@
import { Card, CardContent } from "@/components/ui/card";
import { EditBase, Form, useEditContext } from "ra-core";
-
-import type { Contact } from "../types";
-import { ContactAside } from "./ContactAside";
-import { ContactInputs } from "./ContactInputs";
-import { FormToolbar } from "../layout/FormToolbar";
+import type { Contact } from "@/components/atomic-crm/types";
+import { ContactAside } from "@/components/atomic-crm/contacts/ContactAside";
+import { ContactInputs } from "@/components/atomic-crm/contacts/ContactInputs";
+import { FormToolbar } from "@/components/atomic-crm/layout/FormToolbar";
export const ContactEdit = () => (
<EditBase redirect="show">
diff --git a/src/atomic-crm/contacts/ContactEmpty.tsx b/src/components/atomic-crm/contacts/ContactEmpty.tsx
similarity index 71%
rename from src/atomic-crm/contacts/ContactEmpty.tsx
rename to src/components/atomic-crm/contacts/ContactEmpty.tsx
index c1157c40..522ddba3 100644
--- a/src/atomic-crm/contacts/ContactEmpty.tsx
+++ b/src/components/atomic-crm/contacts/ContactEmpty.tsx
@@ -1,6 +1,6 @@
import { CreateButton } from "@/components/admin";
-import useAppBarHeight from "../misc/useAppBarHeight";
-import { ContactImportButton } from "./ContactImportButton";
+import useAppBarHeight from "@/components/atomic-crm/misc/useAppBarHeight";
+import { ContactImportButton } from "@/components/atomic-crm/contacts/ContactImportButton";
export const ContactEmpty = () => {
const appbarHeight = useAppBarHeight();
@@ -11,7 +11,10 @@ export const ContactEmpty = () => {
height: `calc(100dvh - ${appbarHeight}px)`,
}}
>
- <img src="./img/empty.svg" alt="No contacts found" />
+ <img
+ src="@/components/atomic-crm/contactsimg/empty.svg"
+ alt="No contacts found"
+ />
<div className="flex flex-col gap-0 items-center">
<h6 className="text-lg font-bold">No contacts found</h6>
<p className="text-sm text-muted-foreground text-center mb-4">
diff --git a/src/atomic-crm/contacts/ContactImportButton.tsx b/src/components/atomic-crm/contacts/ContactImportButton.tsx
similarity index 87%
rename from src/atomic-crm/contacts/ContactImportButton.tsx
rename to src/components/atomic-crm/contacts/ContactImportButton.tsx
index 06dd93c3..26d3ec3c 100644
--- a/src/atomic-crm/contacts/ContactImportButton.tsx
+++ b/src/components/atomic-crm/contacts/ContactImportButton.tsx
@@ -1,7 +1,7 @@
import { Button } from "@/components/ui/button";
import { Upload } from "lucide-react";
import { useState } from "react";
-import { ContactImportDialog } from "./ContactImportDialog";
+import { ContactImportDialog } from "@/components/atomic-crm/contacts/ContactImportDialog";
export const ContactImportButton = () => {
const [modalOpen, setModalOpen] = useState(false);
diff --git a/src/atomic-crm/contacts/ContactImportDialog.tsx b/src/components/atomic-crm/contacts/ContactImportDialog.tsx
similarity index 94%
rename from src/atomic-crm/contacts/ContactImportDialog.tsx
rename to src/components/atomic-crm/contacts/ContactImportDialog.tsx
index 0f059af9..310bf2da 100644
--- a/src/atomic-crm/contacts/ContactImportDialog.tsx
+++ b/src/components/atomic-crm/contacts/ContactImportDialog.tsx
@@ -9,14 +9,13 @@ import {
import { Loader2 } from "lucide-react";
import { Form, useRefresh } from "ra-core";
import { Link } from "react-router";
-import { usePapaParse } from "../misc/usePapaParse";
-import type { ContactImportSchema } from "./useContactImport";
-import { useContactImport } from "./useContactImport";
-
+import { usePapaParse } from "@/components/atomic-crm/misc/usePapaParse";
+import type { ContactImportSchema } from "@/components/atomic-crm/contacts/useContactImport";
+import { useContactImport } from "@/components/atomic-crm/contacts/useContactImport";
import { FormToolbar, FileInput, FileField } from "@/components/admin";
import * as React from "react";
import { useEffect, useState } from "react";
-import * as sampleCsv from "./contacts_export.csv?raw";
+import * as sampleCsv from "@/components/atomic-crm/contacts/contacts_export.csv?raw";
const SAMPLE_URL = `data:text/csv;name=crm_contacts_sample.csv;charset=utf-8,${encodeURIComponent(
sampleCsv.default,
diff --git a/src/atomic-crm/contacts/ContactInputs.tsx b/src/components/atomic-crm/contacts/ContactInputs.tsx
similarity index 93%
rename from src/atomic-crm/contacts/ContactInputs.tsx
rename to src/components/atomic-crm/contacts/ContactInputs.tsx
index 41015abb..1356db0d 100644
--- a/src/atomic-crm/contacts/ContactInputs.tsx
+++ b/src/components/atomic-crm/contacts/ContactInputs.tsx
@@ -3,7 +3,6 @@ import { useIsMobile } from "@/hooks/use-mobile";
import { email, required } from "ra-core";
import * as React from "react";
import { useFormContext } from "react-hook-form";
-
import {
BooleanInput,
ReferenceInput,
@@ -13,11 +12,11 @@ import {
ArrayInput,
} from "@/components/admin";
import { SimpleFormIterator } from "@/components/admin";
-import { isLinkedinUrl } from "../misc/isLinkedInUrl";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Sale } from "../types";
-import { Avatar } from "./Avatar";
-import { AutocompleteCompanyInput } from "@/atomic-crm/companies/AutocompleteCompanyInput.tsx";
+import { isLinkedinUrl } from "@/components/atomic-crm/misc/isLinkedInUrl";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Sale } from "@/components/atomic-crm/types";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { AutocompleteCompanyInput } from "@/components/atomic-crm/companies/AutocompleteCompanyInput.tsx";
export const ContactInputs = () => {
const isMobile = useIsMobile();
diff --git a/src/atomic-crm/contacts/ContactList.tsx b/src/components/atomic-crm/contacts/ContactList.tsx
similarity index 86%
rename from src/atomic-crm/contacts/ContactList.tsx
rename to src/components/atomic-crm/contacts/ContactList.tsx
index 2ffa2030..47f93c1f 100644
--- a/src/atomic-crm/contacts/ContactList.tsx
+++ b/src/components/atomic-crm/contacts/ContactList.tsx
@@ -1,7 +1,6 @@
import jsonExport from "jsonexport/dist";
import type { Exporter } from "ra-core";
import { downloadCSV, useGetIdentity, useListContext } from "ra-core";
-
import {
BulkActionsToolbar,
CreateButton,
@@ -10,12 +9,17 @@ import {
SortButton,
} from "@/components/admin";
import { Card } from "@/components/ui/card";
-import type { Company, Contact, Sale, Tag } from "../types";
-import { ContactEmpty } from "./ContactEmpty";
-import { ContactImportButton } from "./ContactImportButton";
-import { ContactListContent } from "./ContactListContent";
-import { ContactListFilter } from "./ContactListFilter";
-import { TopToolbar } from "../layout/TopToolbar";
+import type {
+ Company,
+ Contact,
+ Sale,
+ Tag,
+} from "@/components/atomic-crm/types";
+import { ContactEmpty } from "@/components/atomic-crm/contacts/ContactEmpty";
+import { ContactImportButton } from "@/components/atomic-crm/contacts/ContactImportButton";
+import { ContactListContent } from "@/components/atomic-crm/contacts/ContactListContent";
+import { ContactListFilter } from "@/components/atomic-crm/contacts/ContactListFilter";
+import { TopToolbar } from "@/components/atomic-crm/layout/TopToolbar";
export const ContactList = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/contacts/ContactListContent.tsx b/src/components/atomic-crm/contacts/ContactListContent.tsx
similarity index 92%
rename from src/atomic-crm/contacts/ContactListContent.tsx
rename to src/components/atomic-crm/contacts/ContactListContent.tsx
index f7f9d122..5dc02777 100644
--- a/src/atomic-crm/contacts/ContactListContent.tsx
+++ b/src/components/atomic-crm/contacts/ContactListContent.tsx
@@ -3,15 +3,14 @@ import { useIsMobile } from "@/hooks/use-mobile";
import { formatRelative } from "date-fns";
import { RecordContextProvider, useListContext } from "ra-core";
import { Link } from "react-router";
-
import { ReferenceField, TextField } from "@/components/admin";
import { Skeleton } from "@/components/ui/skeleton";
import type { MouseEvent } from "react";
import { useCallback } from "react";
-import { Status } from "../misc/Status";
-import type { Contact } from "../types";
-import { Avatar } from "./Avatar";
-import { TagsList } from "./TagsList";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import type { Contact } from "@/components/atomic-crm/types";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { TagsList } from "@/components/atomic-crm/contacts/TagsList";
export const ContactListContent = () => {
const {
diff --git a/src/atomic-crm/contacts/ContactListFilter.tsx b/src/components/atomic-crm/contacts/ContactListFilter.tsx
similarity index 94%
rename from src/atomic-crm/contacts/ContactListFilter.tsx
rename to src/components/atomic-crm/contacts/ContactListFilter.tsx
index 4294434b..0698464b 100644
--- a/src/atomic-crm/contacts/ContactListFilter.tsx
+++ b/src/components/atomic-crm/contacts/ContactListFilter.tsx
@@ -2,11 +2,10 @@ import { Badge } from "@/components/ui/badge";
import { endOfYesterday, startOfMonth, startOfWeek, subMonths } from "date-fns";
import { CheckSquare, Clock, Tag, TrendingUp, Users } from "lucide-react";
import { FilterLiveForm, useGetIdentity, useGetList } from "ra-core";
-
import { ToggleFilterButton, SearchInput } from "@/components/admin";
-import { FilterCategory } from "../filters/FilterCategory";
-import { Status } from "../misc/Status";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { FilterCategory } from "@/components/atomic-crm/filters/FilterCategory";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const ContactListFilter = () => {
const { noteStatuses } = useConfigurationContext();
diff --git a/src/atomic-crm/contacts/ContactShow.tsx b/src/components/atomic-crm/contacts/ContactShow.tsx
similarity index 83%
rename from src/atomic-crm/contacts/ContactShow.tsx
rename to src/components/atomic-crm/contacts/ContactShow.tsx
index 49f04ec0..f0ad89f6 100644
--- a/src/atomic-crm/contacts/ContactShow.tsx
+++ b/src/components/atomic-crm/contacts/ContactShow.tsx
@@ -5,11 +5,12 @@ import {
} from "@/components/admin";
import { Card, CardContent } from "@/components/ui/card";
import { ShowBase, useShowContext } from "ra-core";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { NoteCreate, NotesIterator } from "../notes";
-import type { Contact } from "../types";
-import { Avatar } from "./Avatar";
-import { ContactAside } from "./ContactAside";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { NoteCreate } from "@/components/atomic-crm/notes/NoteCreate";
+import { NotesIterator } from "@/components/atomic-crm/notes/NotesIterator";
+import type { Contact } from "@/components/atomic-crm/types";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { ContactAside } from "@/components/atomic-crm/contacts/ContactAside";
export const ContactShow = () => (
<ShowBase>
diff --git a/src/atomic-crm/contacts/TagsList.tsx b/src/components/atomic-crm/contacts/TagsList.tsx
similarity index 100%
rename from src/atomic-crm/contacts/TagsList.tsx
rename to src/components/atomic-crm/contacts/TagsList.tsx
diff --git a/src/atomic-crm/contacts/TagsListEdit.tsx b/src/components/atomic-crm/contacts/TagsListEdit.tsx
similarity index 94%
rename from src/atomic-crm/contacts/TagsListEdit.tsx
rename to src/components/atomic-crm/contacts/TagsListEdit.tsx
index eac38818..f86237f7 100644
--- a/src/atomic-crm/contacts/TagsListEdit.tsx
+++ b/src/components/atomic-crm/contacts/TagsListEdit.tsx
@@ -11,10 +11,9 @@ import type { Identifier } from "ra-core";
import { useGetList, useGetMany, useRecordContext, useUpdate } from "ra-core";
import * as React from "react";
import { useState } from "react";
-
-import { TagChip } from "../tags/TagChip";
-import { TagCreateModal } from "../tags/TagCreateModal";
-import type { Contact, Tag } from "../types";
+import { TagChip } from "@/components/atomic-crm/tags/TagChip";
+import { TagCreateModal } from "@/components/atomic-crm/tags/TagCreateModal";
+import type { Contact, Tag } from "@/components/atomic-crm/types";
export const TagsListEdit = () => {
const record = useRecordContext<Contact>();
diff --git a/src/atomic-crm/contacts/contacts_export.csv b/src/components/atomic-crm/contacts/contacts_export.csv
similarity index 100%
rename from src/atomic-crm/contacts/contacts_export.csv
rename to src/components/atomic-crm/contacts/contacts_export.csv
diff --git a/src/components/atomic-crm/contacts/index.tsx b/src/components/atomic-crm/contacts/index.tsx
new file mode 100644
index 00000000..254d351b
--- /dev/null
+++ b/src/components/atomic-crm/contacts/index.tsx
@@ -0,0 +1,14 @@
+import type { Contact } from "@/components/atomic-crm/types";
+import { ContactCreate } from "@/components/atomic-crm/contacts/ContactCreate";
+import { ContactEdit } from "@/components/atomic-crm/contacts/ContactEdit";
+import { ContactList } from "@/components/atomic-crm/contacts/ContactList";
+import { ContactShow } from "@/components/atomic-crm/contacts/ContactShow";
+
+export default {
+ list: ContactList,
+ show: ContactShow,
+ edit: ContactEdit,
+ create: ContactCreate,
+ recordRepresentation: (record: Contact) =>
+ record?.first_name + " " + record?.last_name,
+};
diff --git a/src/atomic-crm/contacts/useContactImport.tsx b/src/components/atomic-crm/contacts/useContactImport.tsx
similarity index 98%
rename from src/atomic-crm/contacts/useContactImport.tsx
rename to src/components/atomic-crm/contacts/useContactImport.tsx
index 679fa860..da5ed787 100644
--- a/src/atomic-crm/contacts/useContactImport.tsx
+++ b/src/components/atomic-crm/contacts/useContactImport.tsx
@@ -1,7 +1,7 @@
import type { DataProvider } from "ra-core";
import { useDataProvider, useGetIdentity } from "ra-core";
import { useCallback, useMemo } from "react";
-import type { Company, Tag } from "../types";
+import type { Company, Tag } from "@/components/atomic-crm/types";
export type ContactImportSchema = {
first_name: string;
diff --git a/src/atomic-crm/dashboard/Dashboard.tsx b/src/components/atomic-crm/dashboard/Dashboard.tsx
similarity index 72%
rename from src/atomic-crm/dashboard/Dashboard.tsx
rename to src/components/atomic-crm/dashboard/Dashboard.tsx
index 7a9fd0f1..3f98e532 100644
--- a/src/atomic-crm/dashboard/Dashboard.tsx
+++ b/src/components/atomic-crm/dashboard/Dashboard.tsx
@@ -1,11 +1,11 @@
import { useGetList } from "ra-core";
-import type { Contact, ContactNote } from "../types";
-import { DashboardActivityLog } from "./DashboardActivityLog";
-import { DashboardStepper } from "./DashboardStepper";
-import { DealsChart } from "./DealsChart";
-import { HotContacts } from "./HotContacts";
-import { TasksList } from "./TasksList";
-import { Welcome } from "./Welcome";
+import type { Contact, ContactNote } from "@/components/atomic-crm/types";
+import { DashboardActivityLog } from "@/components/atomic-crm/dashboard/DashboardActivityLog";
+import { DashboardStepper } from "@/components/atomic-crm/dashboard/DashboardStepper";
+import { DealsChart } from "@/components/atomic-crm/dashboard/DealsChart";
+import { HotContacts } from "@/components/atomic-crm/dashboard/HotContacts";
+import { TasksList } from "@/components/atomic-crm/dashboard/TasksList";
+import { Welcome } from "@/components/atomic-crm/dashboard/Welcome";
export const Dashboard = () => {
const {
diff --git a/src/atomic-crm/dashboard/DashboardActivityLog.tsx b/src/components/atomic-crm/dashboard/DashboardActivityLog.tsx
similarity index 87%
rename from src/atomic-crm/dashboard/DashboardActivityLog.tsx
rename to src/components/atomic-crm/dashboard/DashboardActivityLog.tsx
index c6c4c2b3..a74cfa28 100644
--- a/src/atomic-crm/dashboard/DashboardActivityLog.tsx
+++ b/src/components/atomic-crm/dashboard/DashboardActivityLog.tsx
@@ -1,6 +1,6 @@
import { Card } from "@/components/ui/card";
import { Clock } from "lucide-react";
-import { ActivityLog } from "../activity/ActivityLog";
+import { ActivityLog } from "@/components/atomic-crm/activity//ActivityLog";
export function DashboardActivityLog() {
return (
diff --git a/src/atomic-crm/dashboard/DashboardStepper.tsx b/src/components/atomic-crm/dashboard/DashboardStepper.tsx
similarity index 93%
rename from src/atomic-crm/dashboard/DashboardStepper.tsx
rename to src/components/atomic-crm/dashboard/DashboardStepper.tsx
index f6d05a5e..b737db2d 100644
--- a/src/atomic-crm/dashboard/DashboardStepper.tsx
+++ b/src/components/atomic-crm/dashboard/DashboardStepper.tsx
@@ -5,8 +5,8 @@ import { Progress } from "@/components/ui/progress";
import { CheckCircle, Circle } from "lucide-react";
import type { Identifier } from "ra-core";
import { Link } from "react-router";
-import { ContactImportButton } from "../contacts/ContactImportButton";
-import useAppBarHeight from "../misc/useAppBarHeight";
+import { ContactImportButton } from "@/components/atomic-crm/contacts/ContactImportButton";
+import useAppBarHeight from "@/components/atomic-crm/misc/useAppBarHeight";
export const DashboardStepper = ({
step,
diff --git a/src/atomic-crm/dashboard/DealsChart.tsx b/src/components/atomic-crm/dashboard/DealsChart.tsx
similarity index 99%
rename from src/atomic-crm/dashboard/DealsChart.tsx
rename to src/components/atomic-crm/dashboard/DealsChart.tsx
index c2964dcb..f1e3de46 100644
--- a/src/atomic-crm/dashboard/DealsChart.tsx
+++ b/src/components/atomic-crm/dashboard/DealsChart.tsx
@@ -3,8 +3,7 @@ import { format, startOfMonth } from "date-fns";
import { DollarSign } from "lucide-react";
import { useGetList } from "ra-core";
import { memo, useMemo } from "react";
-
-import type { Deal } from "../types";
+import type { Deal } from "@/components/atomic-crm/types";
const multiplier = {
opportunity: 0.2,
diff --git a/src/atomic-crm/dashboard/DealsPipeline.tsx b/src/components/atomic-crm/dashboard/DealsPipeline.tsx
similarity index 87%
rename from src/atomic-crm/dashboard/DealsPipeline.tsx
rename to src/components/atomic-crm/dashboard/DealsPipeline.tsx
index 48536287..3355ed93 100644
--- a/src/atomic-crm/dashboard/DealsPipeline.tsx
+++ b/src/components/atomic-crm/dashboard/DealsPipeline.tsx
@@ -2,18 +2,16 @@
* This component displays the deals pipeline for the current user.
* It's currently not used in the application but can be added to the dashboard.
*/
-
import { Card } from "@/components/ui/card";
import { DollarSign } from "lucide-react";
import { useGetIdentity, useGetList } from "ra-core";
-
import { ReferenceField } from "@/components/admin";
import { Link } from "react-router";
-import { SimpleList } from "../simple-list/SimpleList";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { findDealLabel } from "../deals/deal";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Deal } from "../types";
+import { SimpleList } from "@/components/atomic-crm/simple-list/SimpleList";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { findDealLabel } from "@/components/atomic-crm/deals/deal";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Deal } from "@/components/atomic-crm/types";
export const DealsPipeline = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/dashboard/HotContacts.tsx b/src/components/atomic-crm/dashboard/HotContacts.tsx
similarity index 92%
rename from src/atomic-crm/dashboard/HotContacts.tsx
rename to src/components/atomic-crm/dashboard/HotContacts.tsx
index fddfa6d2..293c1c29 100644
--- a/src/atomic-crm/dashboard/HotContacts.tsx
+++ b/src/components/atomic-crm/dashboard/HotContacts.tsx
@@ -9,10 +9,9 @@ import {
import { Plus, Users } from "lucide-react";
import { useGetIdentity, useGetList } from "ra-core";
import { Link } from "react-router";
-
-import { SimpleList } from "../simple-list/SimpleList";
-import { Avatar } from "../contacts/Avatar";
-import type { Contact } from "../types";
+import { SimpleList } from "@/components/atomic-crm/simple-list/SimpleList";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import type { Contact } from "@/components/atomic-crm/types";
export const HotContacts = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/dashboard/LatestNotes.tsx b/src/components/atomic-crm/dashboard/LatestNotes.tsx
similarity index 97%
rename from src/atomic-crm/dashboard/LatestNotes.tsx
rename to src/components/atomic-crm/dashboard/LatestNotes.tsx
index da921af6..71a30037 100644
--- a/src/atomic-crm/dashboard/LatestNotes.tsx
+++ b/src/components/atomic-crm/dashboard/LatestNotes.tsx
@@ -2,9 +2,8 @@ import { Card, CardContent } from "@/components/ui/card";
import { formatDistance } from "date-fns";
import { FileText } from "lucide-react";
import { useGetIdentity, useGetList } from "ra-core";
-
import { ReferenceField, TextField } from "@/components/admin";
-import type { Contact, ContactNote } from "../types";
+import type { Contact, ContactNote } from "@/components/atomic-crm/types";
export const LatestNotes = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/dashboard/TasksList.tsx b/src/components/atomic-crm/dashboard/TasksList.tsx
similarity index 90%
rename from src/atomic-crm/dashboard/TasksList.tsx
rename to src/components/atomic-crm/dashboard/TasksList.tsx
index df9b76dc..8adf617a 100644
--- a/src/atomic-crm/dashboard/TasksList.tsx
+++ b/src/components/atomic-crm/dashboard/TasksList.tsx
@@ -7,9 +7,9 @@ import {
startOfToday,
} from "date-fns";
import { CheckSquare } from "lucide-react";
-import { AddTask } from "../tasks/AddTask";
-import { TasksListEmpty } from "./TasksListEmpty";
-import { TasksListFilter } from "./TasksListFilter";
+import { AddTask } from "@/components/atomic-crm/tasks/AddTask";
+import { TasksListEmpty } from "@/components/atomic-crm/dashboard/TasksListEmpty";
+import { TasksListFilter } from "@/components/atomic-crm/dashboard/TasksListFilter";
const today = new Date();
const todayDayOfWeek = getDay(today);
diff --git a/src/atomic-crm/dashboard/TasksListEmpty.tsx b/src/components/atomic-crm/dashboard/TasksListEmpty.tsx
similarity index 100%
rename from src/atomic-crm/dashboard/TasksListEmpty.tsx
rename to src/components/atomic-crm/dashboard/TasksListEmpty.tsx
diff --git a/src/atomic-crm/dashboard/TasksListFilter.tsx b/src/components/atomic-crm/dashboard/TasksListFilter.tsx
similarity index 95%
rename from src/atomic-crm/dashboard/TasksListFilter.tsx
rename to src/components/atomic-crm/dashboard/TasksListFilter.tsx
index 3098f526..fcfa7838 100644
--- a/src/atomic-crm/dashboard/TasksListFilter.tsx
+++ b/src/components/atomic-crm/dashboard/TasksListFilter.tsx
@@ -5,8 +5,7 @@ import {
useGetList,
useList,
} from "ra-core";
-
-import { TasksIterator } from "../tasks/TasksIterator";
+import { TasksIterator } from "@/components/atomic-crm/tasks/TasksIterator";
export const TasksListFilter = ({
title,
diff --git a/src/atomic-crm/dashboard/Welcome.tsx b/src/components/atomic-crm/dashboard/Welcome.tsx
similarity index 100%
rename from src/atomic-crm/dashboard/Welcome.tsx
rename to src/components/atomic-crm/dashboard/Welcome.tsx
diff --git a/src/atomic-crm/deals/ContactList.tsx b/src/components/atomic-crm/deals/ContactList.tsx
similarity index 93%
rename from src/atomic-crm/deals/ContactList.tsx
rename to src/components/atomic-crm/deals/ContactList.tsx
index 4d23be9a..7c1f568f 100644
--- a/src/atomic-crm/deals/ContactList.tsx
+++ b/src/components/atomic-crm/deals/ContactList.tsx
@@ -1,6 +1,6 @@
import { useListContext } from "ra-core";
import { Link as RouterLink } from "react-router";
-import { Avatar } from "../contacts/Avatar";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
export const ContactList = () => {
const { data, error, isPending } = useListContext();
diff --git a/src/atomic-crm/deals/DealArchivedList.tsx b/src/components/atomic-crm/deals/DealArchivedList.tsx
similarity index 96%
rename from src/atomic-crm/deals/DealArchivedList.tsx
rename to src/components/atomic-crm/deals/DealArchivedList.tsx
index 32c3ca28..dd62122d 100644
--- a/src/atomic-crm/deals/DealArchivedList.tsx
+++ b/src/components/atomic-crm/deals/DealArchivedList.tsx
@@ -3,8 +3,8 @@ import { Button } from "@/components/ui/button";
import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
import { useGetIdentity, useGetList } from "ra-core";
import { useEffect, useState } from "react";
-import type { Deal } from "../types";
-import { DealCardContent } from "./DealCard";
+import type { Deal } from "@/components/atomic-crm/types";
+import { DealCardContent } from "@/components/atomic-crm/deals/DealCard";
export const DealArchivedList = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/deals/DealCard.tsx b/src/components/atomic-crm/deals/DealCard.tsx
similarity index 93%
rename from src/atomic-crm/deals/DealCard.tsx
rename to src/components/atomic-crm/deals/DealCard.tsx
index 842b7864..ee0f2d8d 100644
--- a/src/atomic-crm/deals/DealCard.tsx
+++ b/src/components/atomic-crm/deals/DealCard.tsx
@@ -2,8 +2,8 @@ import { ReferenceField } from "@/components/admin";
import { Card, CardContent } from "@/components/ui/card";
import { Draggable } from "@hello-pangea/dnd";
import { useRedirect } from "ra-core";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import type { Deal } from "../types";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import type { Deal } from "@/components/atomic-crm/types";
export const DealCard = ({ deal, index }: { deal: Deal; index: number }) => {
if (!deal) return null;
diff --git a/src/atomic-crm/deals/DealColumn.tsx b/src/components/atomic-crm/deals/DealColumn.tsx
similarity index 82%
rename from src/atomic-crm/deals/DealColumn.tsx
rename to src/components/atomic-crm/deals/DealColumn.tsx
index 65502621..bb99c85c 100644
--- a/src/atomic-crm/deals/DealColumn.tsx
+++ b/src/components/atomic-crm/deals/DealColumn.tsx
@@ -1,9 +1,8 @@
import { Droppable } from "@hello-pangea/dnd";
-
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Deal } from "../types";
-import { findDealLabel } from "./deal";
-import { DealCard } from "./DealCard";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Deal } from "@/components/atomic-crm/types";
+import { findDealLabel } from "@/components/atomic-crm/deals/deal";
+import { DealCard } from "@/components/atomic-crm/deals/DealCard";
export const DealColumn = ({
stage,
diff --git a/src/atomic-crm/deals/DealCreate.tsx b/src/components/atomic-crm/deals/DealCreate.tsx
similarity index 95%
rename from src/atomic-crm/deals/DealCreate.tsx
rename to src/components/atomic-crm/deals/DealCreate.tsx
index f538debb..29193876 100644
--- a/src/atomic-crm/deals/DealCreate.tsx
+++ b/src/components/atomic-crm/deals/DealCreate.tsx
@@ -11,8 +11,8 @@ import {
useListContext,
useRedirect,
} from "ra-core";
-import type { Deal } from "../types";
-import { DealInputs } from "./DealInputs";
+import type { Deal } from "@/components/atomic-crm/types";
+import { DealInputs } from "@/components/atomic-crm/deals/DealInputs";
export const DealCreate = ({ open }: { open: boolean }) => {
const redirect = useRedirect();
diff --git a/src/atomic-crm/deals/DealEdit.tsx b/src/components/atomic-crm/deals/DealEdit.tsx
similarity index 91%
rename from src/atomic-crm/deals/DealEdit.tsx
rename to src/components/atomic-crm/deals/DealEdit.tsx
index d73efc44..95eea0bd 100644
--- a/src/atomic-crm/deals/DealEdit.tsx
+++ b/src/components/atomic-crm/deals/DealEdit.tsx
@@ -11,9 +11,9 @@ import {
useRedirect,
} from "ra-core";
import { Link } from "react-router";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import type { Deal } from "../types";
-import { DealInputs } from "./DealInputs";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import type { Deal } from "@/components/atomic-crm/types";
+import { DealInputs } from "@/components/atomic-crm/deals/DealInputs";
export const DealEdit = ({ open, id }: { open: boolean; id?: string }) => {
const redirect = useRedirect();
diff --git a/src/atomic-crm/deals/DealEmpty.tsx b/src/components/atomic-crm/deals/DealEmpty.tsx
similarity index 85%
rename from src/atomic-crm/deals/DealEmpty.tsx
rename to src/components/atomic-crm/deals/DealEmpty.tsx
index 563c716d..f708d0a6 100644
--- a/src/atomic-crm/deals/DealEmpty.tsx
+++ b/src/components/atomic-crm/deals/DealEmpty.tsx
@@ -3,9 +3,9 @@ import { Progress } from "@/components/ui/progress";
import { useGetList } from "ra-core";
import { matchPath, useLocation } from "react-router";
import { Link } from "react-router";
-import useAppBarHeight from "../misc/useAppBarHeight";
-import type { Contact } from "../types";
-import { DealCreate } from "./DealCreate";
+import useAppBarHeight from "@/components/atomic-crm/misc/useAppBarHeight";
+import type { Contact } from "@/components/atomic-crm/types";
+import { DealCreate } from "@/components/atomic-crm/deals/DealCreate";
export const DealEmpty = ({ children }: { children?: React.ReactNode }) => {
const location = useLocation();
@@ -29,7 +29,10 @@ export const DealEmpty = ({ children }: { children?: React.ReactNode }) => {
height: `calc(100dvh - ${appbarHeight}px)`,
}}
>
- <img src="./img/empty.svg" alt="No deals found" />
+ <img
+ src="@/components/atomic-crm/dashboard/img/empty.svg"
+ alt="No deals found"
+ />
{contacts && contacts.length > 0 ? (
<>
<div className="flex flex-col items-center gap-0">
diff --git a/src/atomic-crm/deals/DealInputs.tsx b/src/components/atomic-crm/deals/DealInputs.tsx
similarity index 90%
rename from src/atomic-crm/deals/DealInputs.tsx
rename to src/components/atomic-crm/deals/DealInputs.tsx
index 7eb50b9e..10593116 100644
--- a/src/atomic-crm/deals/DealInputs.tsx
+++ b/src/components/atomic-crm/deals/DealInputs.tsx
@@ -9,9 +9,9 @@ import {
import { Separator } from "@/components/ui/separator";
import { useIsMobile } from "@/hooks/use-mobile";
import { required } from "ra-core";
-import { contactOptionText } from "../misc/ContactOption";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import { AutocompleteCompanyInput } from "@/atomic-crm/companies/AutocompleteCompanyInput.tsx";
+import { contactOptionText } from "@/components/atomic-crm/misc/ContactOption";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import { AutocompleteCompanyInput } from "@/components/atomic-crm/companies/AutocompleteCompanyInput.tsx";
export const DealInputs = () => {
const isMobile = useIsMobile();
diff --git a/src/atomic-crm/deals/DealList.tsx b/src/components/atomic-crm/deals/DealList.tsx
similarity index 76%
rename from src/atomic-crm/deals/DealList.tsx
rename to src/components/atomic-crm/deals/DealList.tsx
index 1871c677..e2bd1806 100644
--- a/src/atomic-crm/deals/DealList.tsx
+++ b/src/components/atomic-crm/deals/DealList.tsx
@@ -10,16 +10,15 @@ import {
} from "@/components/admin";
import { useGetIdentity, useListContext } from "ra-core";
import { matchPath, useLocation } from "react-router";
-
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import { TopToolbar } from "../layout/TopToolbar";
-import { DealArchivedList } from "./DealArchivedList";
-import { DealCreate } from "./DealCreate";
-import { DealEdit } from "./DealEdit";
-import { DealEmpty } from "./DealEmpty";
-import { DealListContent } from "./DealListContent";
-import { DealShow } from "./DealShow";
-import { OnlyMineInput } from "./OnlyMineInput";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import { TopToolbar } from "@/components/atomic-crm/layout/TopToolbar";
+import { DealArchivedList } from "@/components/atomic-crm/deals/DealArchivedList";
+import { DealCreate } from "@/components/atomic-crm/deals/DealCreate";
+import { DealEdit } from "@/components/atomic-crm/deals/DealEdit";
+import { DealEmpty } from "@/components/atomic-crm/deals/DealEmpty";
+import { DealListContent } from "@/components/atomic-crm/deals/DealListContent";
+import { DealShow } from "@/components/atomic-crm/deals/DealShow";
+import { OnlyMineInput } from "@/components/atomic-crm/deals/OnlyMineInput";
const DealList = () => {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/deals/DealListContent.tsx b/src/components/atomic-crm/deals/DealListContent.tsx
similarity index 95%
rename from src/atomic-crm/deals/DealListContent.tsx
rename to src/components/atomic-crm/deals/DealListContent.tsx
index 170ac801..97e4e9ee 100644
--- a/src/atomic-crm/deals/DealListContent.tsx
+++ b/src/components/atomic-crm/deals/DealListContent.tsx
@@ -4,12 +4,11 @@ import isEqual from "lodash/isEqual";
import type { DataProvider } from "ra-core";
import { useDataProvider, useListContext } from "ra-core";
import { useEffect, useState } from "react";
-
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Deal } from "../types";
-import { DealColumn } from "./DealColumn";
-import type { DealsByStage } from "./stages";
-import { getDealsByStage } from "./stages";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Deal } from "@/components/atomic-crm/types";
+import { DealColumn } from "@/components/atomic-crm/deals/DealColumn";
+import type { DealsByStage } from "@/components/atomic-crm/deals/stages";
+import { getDealsByStage } from "@/components/atomic-crm/deals/stages";
export const DealListContent = () => {
const { dealStages } = useConfigurationContext();
diff --git a/src/atomic-crm/deals/DealShow.tsx b/src/components/atomic-crm/deals/DealShow.tsx
similarity index 93%
rename from src/atomic-crm/deals/DealShow.tsx
rename to src/components/atomic-crm/deals/DealShow.tsx
index 3f2c596c..bdbc113b 100644
--- a/src/atomic-crm/deals/DealShow.tsx
+++ b/src/components/atomic-crm/deals/DealShow.tsx
@@ -22,12 +22,13 @@ import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Dialog, DialogContent } from "@/components/ui/dialog";
import { Separator } from "@/components/ui/separator";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { NoteCreate, NotesIterator } from "../notes";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { Deal } from "../types";
-import { ContactList } from "./ContactList";
-import { findDealLabel } from "./deal";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { NoteCreate } from "@/components/atomic-crm/notes/NoteCreate";
+import { NotesIterator } from "@/components/atomic-crm/notes/NotesIterator";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Deal } from "@/components/atomic-crm/types";
+import { ContactList } from "@/components/atomic-crm/deals/ContactList";
+import { findDealLabel } from "@/components/atomic-crm/deals/deal";
export const DealShow = ({ open, id }: { open: boolean; id?: string }) => {
const redirect = useRedirect();
diff --git a/src/atomic-crm/deals/OnlyMineInput.tsx b/src/components/atomic-crm/deals/OnlyMineInput.tsx
similarity index 100%
rename from src/atomic-crm/deals/OnlyMineInput.tsx
rename to src/components/atomic-crm/deals/OnlyMineInput.tsx
diff --git a/src/atomic-crm/deals/deal.ts b/src/components/atomic-crm/deals/deal.ts
similarity index 71%
rename from src/atomic-crm/deals/deal.ts
rename to src/components/atomic-crm/deals/deal.ts
index 681da742..4672e059 100644
--- a/src/atomic-crm/deals/deal.ts
+++ b/src/components/atomic-crm/deals/deal.ts
@@ -1,4 +1,4 @@
-import type { DealStage } from "../types";
+import type { DealStage } from "@/components/atomic-crm/types";
export const findDealLabel = (dealStages: DealStage[], dealValue: string) => {
return dealStages.find((dealStage) => dealStage.value === dealValue)?.label;
diff --git a/src/atomic-crm/deals/dealUtils.ts b/src/components/atomic-crm/deals/dealUtils.ts
similarity index 100%
rename from src/atomic-crm/deals/dealUtils.ts
rename to src/components/atomic-crm/deals/dealUtils.ts
diff --git a/src/components/atomic-crm/deals/index.ts b/src/components/atomic-crm/deals/index.ts
new file mode 100644
index 00000000..6995517c
--- /dev/null
+++ b/src/components/atomic-crm/deals/index.ts
@@ -0,0 +1,8 @@
+import * as React from "react";
+const DealList = React.lazy(
+ () => import("@/components/atomic-crm/deals/DealList"),
+);
+
+export default {
+ list: DealList,
+};
diff --git a/src/atomic-crm/deals/stages.ts b/src/components/atomic-crm/deals/stages.ts
similarity index 82%
rename from src/atomic-crm/deals/stages.ts
rename to src/components/atomic-crm/deals/stages.ts
index 3fc858b2..035bdb05 100644
--- a/src/atomic-crm/deals/stages.ts
+++ b/src/components/atomic-crm/deals/stages.ts
@@ -1,5 +1,5 @@
-import type { ConfigurationContextValue } from "../root/ConfigurationContext";
-import type { Deal } from "../types";
+import type { ConfigurationContextValue } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { Deal } from "@/components/atomic-crm/types";
export type DealsByStage = Record<Deal["stage"], Deal[]>;
diff --git a/src/atomic-crm/filters/FilterCategory.tsx b/src/components/atomic-crm/filters/FilterCategory.tsx
similarity index 100%
rename from src/atomic-crm/filters/FilterCategory.tsx
rename to src/components/atomic-crm/filters/FilterCategory.tsx
diff --git a/src/atomic-crm/layout/FormToolbar.tsx b/src/components/atomic-crm/layout/FormToolbar.tsx
similarity index 100%
rename from src/atomic-crm/layout/FormToolbar.tsx
rename to src/components/atomic-crm/layout/FormToolbar.tsx
diff --git a/src/atomic-crm/layout/Header.tsx b/src/components/atomic-crm/layout/Header.tsx
similarity index 97%
rename from src/atomic-crm/layout/Header.tsx
rename to src/components/atomic-crm/layout/Header.tsx
index 5061050d..8a128bd4 100644
--- a/src/atomic-crm/layout/Header.tsx
+++ b/src/components/atomic-crm/layout/Header.tsx
@@ -4,7 +4,7 @@ import { DropdownMenuItem } from "@/components/ui/dropdown-menu";
import { Settings, User } from "lucide-react";
import { CanAccess } from "ra-core";
import { Link, matchPath, useLocation } from "react-router";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
const Header = () => {
const { darkModeLogo, lightModeLogo, title } = useConfigurationContext();
diff --git a/src/atomic-crm/layout/Layout.tsx b/src/components/atomic-crm/layout/Layout.tsx
similarity index 91%
rename from src/atomic-crm/layout/Layout.tsx
rename to src/components/atomic-crm/layout/Layout.tsx
index 62d979a7..1861e082 100644
--- a/src/atomic-crm/layout/Layout.tsx
+++ b/src/components/atomic-crm/layout/Layout.tsx
@@ -3,7 +3,7 @@ import { Skeleton } from "@/components/ui/skeleton";
import type { ReactNode } from "react";
import { Suspense } from "react";
import { ErrorBoundary } from "react-error-boundary";
-import Header from "./Header";
+import Header from "@/components/atomic-crm/layout/Header";
export const Layout = ({ children }: { children: ReactNode }) => (
<>
diff --git a/src/atomic-crm/layout/TopToolbar.tsx b/src/components/atomic-crm/layout/TopToolbar.tsx
similarity index 100%
rename from src/atomic-crm/layout/TopToolbar.tsx
rename to src/components/atomic-crm/layout/TopToolbar.tsx
diff --git a/src/atomic-crm/login/LoginSkeleton.tsx b/src/components/atomic-crm/login/LoginSkeleton.tsx
similarity index 100%
rename from src/atomic-crm/login/LoginSkeleton.tsx
rename to src/components/atomic-crm/login/LoginSkeleton.tsx
diff --git a/src/atomic-crm/login/SignupPage.tsx b/src/components/atomic-crm/login/SignupPage.tsx
similarity index 93%
rename from src/atomic-crm/login/SignupPage.tsx
rename to src/components/atomic-crm/login/SignupPage.tsx
index 38eee26b..719d910e 100644
--- a/src/atomic-crm/login/SignupPage.tsx
+++ b/src/components/atomic-crm/login/SignupPage.tsx
@@ -7,10 +7,10 @@ import { useDataProvider, useLogin, useNotify } from "ra-core";
import type { SubmitHandler } from "react-hook-form";
import { useForm } from "react-hook-form";
import { Navigate } from "react-router";
-import type { CrmDataProvider } from "../providers/types";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import type { SignUpData } from "../types";
-import { LoginSkeleton } from "./LoginSkeleton";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import type { SignUpData } from "@/components/atomic-crm/types";
+import { LoginSkeleton } from "@/components/atomic-crm/login/LoginSkeleton";
export const SignupPage = () => {
const queryClient = useQueryClient();
diff --git a/src/atomic-crm/login/StartPage.tsx b/src/components/atomic-crm/login/StartPage.tsx
similarity index 79%
rename from src/atomic-crm/login/StartPage.tsx
rename to src/components/atomic-crm/login/StartPage.tsx
index 9f296a0d..5ab68875 100644
--- a/src/atomic-crm/login/StartPage.tsx
+++ b/src/components/atomic-crm/login/StartPage.tsx
@@ -2,8 +2,8 @@ import { useDataProvider } from "ra-core";
import { useQuery } from "@tanstack/react-query";
import { Navigate } from "react-router-dom";
import { LoginPage } from "@/components/admin";
-import type { CrmDataProvider } from "../providers/types";
-import { LoginSkeleton } from "./LoginSkeleton";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import { LoginSkeleton } from "@/components/atomic-crm/login/LoginSkeleton";
export const StartPage = () => {
const dataProvider = useDataProvider<CrmDataProvider>();
diff --git a/src/atomic-crm/misc/AsideSection.tsx b/src/components/atomic-crm/misc/AsideSection.tsx
similarity index 100%
rename from src/atomic-crm/misc/AsideSection.tsx
rename to src/components/atomic-crm/misc/AsideSection.tsx
diff --git a/src/atomic-crm/misc/ContactOption.tsx b/src/components/atomic-crm/misc/ContactOption.tsx
similarity index 85%
rename from src/atomic-crm/misc/ContactOption.tsx
rename to src/components/atomic-crm/misc/ContactOption.tsx
index 8eb25dea..43a5e953 100644
--- a/src/atomic-crm/misc/ContactOption.tsx
+++ b/src/components/atomic-crm/misc/ContactOption.tsx
@@ -1,6 +1,6 @@
import { useRecordContext } from "ra-core";
-import { Avatar } from "../contacts/Avatar";
-import type { Contact } from "../types";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import type { Contact } from "@/components/atomic-crm/types";
// eslint-disable-next-line react-refresh/only-export-components
const ContactOptionRender = () => {
diff --git a/src/atomic-crm/misc/ImageEditorField.tsx b/src/components/atomic-crm/misc/ImageEditorField.tsx
similarity index 100%
rename from src/atomic-crm/misc/ImageEditorField.tsx
rename to src/components/atomic-crm/misc/ImageEditorField.tsx
diff --git a/src/atomic-crm/misc/RelativeDate.tsx b/src/components/atomic-crm/misc/RelativeDate.tsx
similarity index 100%
rename from src/atomic-crm/misc/RelativeDate.tsx
rename to src/components/atomic-crm/misc/RelativeDate.tsx
diff --git a/src/atomic-crm/misc/Status.tsx b/src/components/atomic-crm/misc/Status.tsx
similarity index 90%
rename from src/atomic-crm/misc/Status.tsx
rename to src/components/atomic-crm/misc/Status.tsx
index 172d506a..7283505d 100644
--- a/src/atomic-crm/misc/Status.tsx
+++ b/src/components/atomic-crm/misc/Status.tsx
@@ -1,5 +1,5 @@
import { cn } from "@/lib/utils.ts";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const Status = ({
status,
diff --git a/src/atomic-crm/misc/fetchWithTimeout.ts b/src/components/atomic-crm/misc/fetchWithTimeout.ts
similarity index 100%
rename from src/atomic-crm/misc/fetchWithTimeout.ts
rename to src/components/atomic-crm/misc/fetchWithTimeout.ts
diff --git a/src/atomic-crm/misc/isLinkedInUrl.ts b/src/components/atomic-crm/misc/isLinkedInUrl.ts
similarity index 100%
rename from src/atomic-crm/misc/isLinkedInUrl.ts
rename to src/components/atomic-crm/misc/isLinkedInUrl.ts
diff --git a/src/atomic-crm/misc/unsupportedDomains.const.ts b/src/components/atomic-crm/misc/unsupportedDomains.const.ts
similarity index 100%
rename from src/atomic-crm/misc/unsupportedDomains.const.ts
rename to src/components/atomic-crm/misc/unsupportedDomains.const.ts
diff --git a/src/atomic-crm/misc/useAppBarHeight.ts b/src/components/atomic-crm/misc/useAppBarHeight.ts
similarity index 100%
rename from src/atomic-crm/misc/useAppBarHeight.ts
rename to src/components/atomic-crm/misc/useAppBarHeight.ts
diff --git a/src/atomic-crm/misc/usePapaParse.tsx b/src/components/atomic-crm/misc/usePapaParse.tsx
similarity index 100%
rename from src/atomic-crm/misc/usePapaParse.tsx
rename to src/components/atomic-crm/misc/usePapaParse.tsx
diff --git a/src/atomic-crm/notes/Note.tsx b/src/components/atomic-crm/notes/Note.tsx
similarity index 89%
rename from src/atomic-crm/notes/Note.tsx
rename to src/components/atomic-crm/notes/Note.tsx
index 169aeea1..bdb6aa40 100644
--- a/src/atomic-crm/notes/Note.tsx
+++ b/src/components/atomic-crm/notes/Note.tsx
@@ -16,16 +16,15 @@ import {
} from "ra-core";
import { useState } from "react";
import type { FieldValues, SubmitHandler } from "react-hook-form";
-
import { ReferenceField } from "@/components/admin";
-import { CompanyAvatar } from "../companies/CompanyAvatar";
-import { Avatar } from "../contacts/Avatar";
-import { RelativeDate } from "../misc/RelativeDate";
-import { Status } from "../misc/Status";
-import { SaleName } from "../sales/SaleName";
-import type { ContactNote, DealNote } from "../types";
-import { NoteAttachments } from "./NoteAttachments";
-import { NoteInputs } from "./NoteInputs";
+import { CompanyAvatar } from "@/components/atomic-crm/companies/CompanyAvatar";
+import { Avatar } from "@/components/atomic-crm/contacts/Avatar";
+import { RelativeDate } from "@/components/atomic-crm/misc/RelativeDate";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import { SaleName } from "@/components/atomic-crm/sales/SaleName";
+import type { ContactNote, DealNote } from "@/components/atomic-crm/types";
+import { NoteAttachments } from "@/components/atomic-crm/notes/NoteAttachments";
+import { NoteInputs } from "@/components/atomic-crm/notes/NoteInputs";
export const Note = ({
showStatus,
diff --git a/src/atomic-crm/notes/NoteAttachments.tsx b/src/components/atomic-crm/notes/NoteAttachments.tsx
similarity index 94%
rename from src/atomic-crm/notes/NoteAttachments.tsx
rename to src/components/atomic-crm/notes/NoteAttachments.tsx
index cf88b436..6b740eae 100644
--- a/src/atomic-crm/notes/NoteAttachments.tsx
+++ b/src/components/atomic-crm/notes/NoteAttachments.tsx
@@ -1,5 +1,9 @@
import { Paperclip } from "lucide-react";
-import type { AttachmentNote, ContactNote, DealNote } from "../types";
+import type {
+ AttachmentNote,
+ ContactNote,
+ DealNote,
+} from "@/components/atomic-crm/types";
export const NoteAttachments = ({ note }: { note: ContactNote | DealNote }) => {
if (!note.attachments || note.attachments.length === 0) {
diff --git a/src/atomic-crm/notes/NoteCreate.tsx b/src/components/atomic-crm/notes/NoteCreate.tsx
similarity index 94%
rename from src/atomic-crm/notes/NoteCreate.tsx
rename to src/components/atomic-crm/notes/NoteCreate.tsx
index 8b254e2d..9d737d47 100644
--- a/src/atomic-crm/notes/NoteCreate.tsx
+++ b/src/components/atomic-crm/notes/NoteCreate.tsx
@@ -12,9 +12,8 @@ import {
import { useFormContext } from "react-hook-form";
import { SaveButton } from "@/components/admin";
import { cn } from "@/lib/utils";
-
-import { NoteInputs } from "./NoteInputs";
-import { getCurrentDate } from "./utils";
+import { NoteInputs } from "@/components/atomic-crm/notes/NoteInputs";
+import { getCurrentDate } from "@/components/atomic-crm/notes/utils";
const foreignKeyMapping = {
contacts: "contact_id",
diff --git a/src/atomic-crm/notes/NoteInputs.tsx b/src/components/atomic-crm/notes/NoteInputs.tsx
similarity index 91%
rename from src/atomic-crm/notes/NoteInputs.tsx
rename to src/components/atomic-crm/notes/NoteInputs.tsx
index 50d48495..c33ce7f9 100644
--- a/src/atomic-crm/notes/NoteInputs.tsx
+++ b/src/components/atomic-crm/notes/NoteInputs.tsx
@@ -1,6 +1,5 @@
import { useState } from "react";
import { useFormContext } from "react-hook-form";
-
import { cn } from "@/lib/utils.ts";
import {
TextInput,
@@ -9,9 +8,9 @@ import {
SelectInput,
} from "@/components/admin";
import { Button } from "@/components/ui/button";
-import { Status } from "../misc/Status";
-import { useConfigurationContext } from "../root/ConfigurationContext";
-import { getCurrentDate } from "./utils";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
+import { getCurrentDate } from "@/components/atomic-crm/notes/utils";
export const NoteInputs = ({ showStatus }: { showStatus?: boolean }) => {
const { noteStatuses } = useConfigurationContext();
diff --git a/src/atomic-crm/notes/NotesIterator.tsx b/src/components/atomic-crm/notes/NotesIterator.tsx
similarity index 87%
rename from src/atomic-crm/notes/NotesIterator.tsx
rename to src/components/atomic-crm/notes/NotesIterator.tsx
index 4184b7f8..5fbac427 100644
--- a/src/atomic-crm/notes/NotesIterator.tsx
+++ b/src/components/atomic-crm/notes/NotesIterator.tsx
@@ -1,9 +1,8 @@
import { useListContext } from "ra-core";
import * as React from "react";
-
import { Separator } from "@/components/ui/separator";
-import { Note } from "./Note";
-import { NoteCreate } from "./NoteCreate";
+import { Note } from "@/components/atomic-crm/notes/Note";
+import { NoteCreate } from "@/components/atomic-crm/notes/NoteCreate";
export const NotesIterator = ({
reference,
diff --git a/src/atomic-crm/notes/StatusSelector.tsx b/src/components/atomic-crm/notes/StatusSelector.tsx
similarity index 87%
rename from src/atomic-crm/notes/StatusSelector.tsx
rename to src/components/atomic-crm/notes/StatusSelector.tsx
index f7b86700..692e8c20 100644
--- a/src/atomic-crm/notes/StatusSelector.tsx
+++ b/src/components/atomic-crm/notes/StatusSelector.tsx
@@ -5,8 +5,8 @@ import {
SelectTrigger,
SelectValue,
} from "@/components/ui/select";
-import { Status } from "../misc/Status";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { Status } from "@/components/atomic-crm/misc/Status";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const StatusSelector = ({ status, setStatus }: any) => {
const { noteStatuses } = useConfigurationContext();
diff --git a/src/components/atomic-crm/notes/index.ts b/src/components/atomic-crm/notes/index.ts
new file mode 100644
index 00000000..260ff79e
--- /dev/null
+++ b/src/components/atomic-crm/notes/index.ts
@@ -0,0 +1,3 @@
+export * from "@/components/atomic-crm/notes/NoteCreate";
+export * from "@/components/atomic-crm/notes/NotesIterator";
+export * from "@/components/atomic-crm/notes/StatusSelector";
diff --git a/src/atomic-crm/notes/utils.ts b/src/components/atomic-crm/notes/utils.ts
similarity index 100%
rename from src/atomic-crm/notes/utils.ts
rename to src/components/atomic-crm/notes/utils.ts
diff --git a/src/atomic-crm/providers/commons/activity.ts b/src/components/atomic-crm/providers/commons/activity.ts
similarity index 98%
rename from src/atomic-crm/providers/commons/activity.ts
rename to src/components/atomic-crm/providers/commons/activity.ts
index acb73d35..a7613ea4 100644
--- a/src/atomic-crm/providers/commons/activity.ts
+++ b/src/components/atomic-crm/providers/commons/activity.ts
@@ -5,7 +5,7 @@ import {
CONTACT_NOTE_CREATED,
DEAL_CREATED,
DEAL_NOTE_CREATED,
-} from "../../consts";
+} from "@/components/atomic-crm/consts";
import type {
Activity,
Company,
@@ -13,7 +13,7 @@ import type {
ContactNote,
Deal,
DealNote,
-} from "../../types";
+} from "@/components/atomic-crm/types";
// FIXME: Requires 5 large queries to get the latest activities.
// Replace with a server-side view or a custom API endpoint.
diff --git a/src/atomic-crm/providers/commons/canAccess.ts b/src/components/atomic-crm/providers/commons/canAccess.ts
similarity index 100%
rename from src/atomic-crm/providers/commons/canAccess.ts
rename to src/components/atomic-crm/providers/commons/canAccess.ts
diff --git a/src/atomic-crm/providers/commons/getCompanyAvatar.spec.ts b/src/components/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
similarity index 78%
rename from src/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
rename to src/components/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
index e03110d9..d3671bc6 100644
--- a/src/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
+++ b/src/components/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
@@ -2,8 +2,8 @@
* @jest-environment node
*/
-import type { Company } from "../../types";
-import { getCompanyAvatar } from "./getCompanyAvatar";
+import type { Company } from "@/components/atomic-crm/types";
+import { getCompanyAvatar } from "@/components/atomic-crm/providers/commons/getCompanyAvatar";
it("should return favicon URL if website url exist", async () => {
const website = "https://example.com";
diff --git a/src/atomic-crm/providers/commons/getCompanyAvatar.ts b/src/components/atomic-crm/providers/commons/getCompanyAvatar.ts
similarity index 90%
rename from src/atomic-crm/providers/commons/getCompanyAvatar.ts
rename to src/components/atomic-crm/providers/commons/getCompanyAvatar.ts
index f844d9b0..126e1da2 100644
--- a/src/atomic-crm/providers/commons/getCompanyAvatar.ts
+++ b/src/components/atomic-crm/providers/commons/getCompanyAvatar.ts
@@ -1,4 +1,4 @@
-import type { Company } from "../../types";
+import type { Company } from "@/components/atomic-crm/";
// Main function to get the avatar URL
export async function getCompanyAvatar(record: Partial<Company>): Promise<{
diff --git a/src/atomic-crm/providers/commons/getContactAvatar.spec.ts b/src/components/atomic-crm/providers/commons/getContactAvatar.spec.ts
similarity index 93%
rename from src/atomic-crm/providers/commons/getContactAvatar.spec.ts
rename to src/components/atomic-crm/providers/commons/getContactAvatar.spec.ts
index 8d304f0f..cc8507c9 100644
--- a/src/atomic-crm/providers/commons/getContactAvatar.spec.ts
+++ b/src/components/atomic-crm/providers/commons/getContactAvatar.spec.ts
@@ -5,8 +5,11 @@
// This test file uses the node environment because the getContactAvatar uses the TextEncoder API. This API is not available in the version of JSDOM used by Jest in CI.
// As CI uses Node18 and not the latest LTS, the crypto module is not available in the global scope.
-import type { Contact, EmailAndType } from "../../types";
-import { getContactAvatar, hash } from "./getContactAvatar";
+import type { Contact, EmailAndType } from "@/components/atomic-crm/types";
+import {
+ getContactAvatar,
+ hash,
+} from "@/components/atomic-crm/providers/commons/getContactAvatar";
import { webcrypto } from "node:crypto";
diff --git a/src/atomic-crm/providers/commons/getContactAvatar.ts b/src/components/atomic-crm/providers/commons/getContactAvatar.ts
similarity index 87%
rename from src/atomic-crm/providers/commons/getContactAvatar.ts
rename to src/components/atomic-crm/providers/commons/getContactAvatar.ts
index 574b4236..c85e7c30 100644
--- a/src/atomic-crm/providers/commons/getContactAvatar.ts
+++ b/src/components/atomic-crm/providers/commons/getContactAvatar.ts
@@ -1,6 +1,6 @@
-import { fetchWithTimeout } from "../../misc/fetchWithTimeout";
-import { DOMAINS_NOT_SUPPORTING_FAVICON } from "../../misc/unsupportedDomains.const";
-import type { Contact } from "../../types";
+import { fetchWithTimeout } from "@/components/atomic-crm/misc/fetchWithTimeout";
+import { DOMAINS_NOT_SUPPORTING_FAVICON } from "@/components/atomic-crm/misc/unsupportedDomains.const";
+import type { Contact } from "@/components/atomic-crm/types";
export async function hash(string: string) {
const utf8 = new TextEncoder().encode(string);
diff --git a/src/atomic-crm/providers/fakerest/authProvider.ts b/src/components/atomic-crm/providers/fakerest/authProvider.ts
similarity index 96%
rename from src/atomic-crm/providers/fakerest/authProvider.ts
rename to src/components/atomic-crm/providers/fakerest/authProvider.ts
index a44eaf4d..b77fa690 100644
--- a/src/atomic-crm/providers/fakerest/authProvider.ts
+++ b/src/components/atomic-crm/providers/fakerest/authProvider.ts
@@ -1,7 +1,7 @@
import type { AuthProvider } from "ra-core";
-import type { Sale } from "../../types";
-import { canAccess } from "../commons/canAccess";
-import { dataProvider } from "./dataProvider";
+import type { Sale } from "@/components/atomic-crm/types";
+import { canAccess } from "@/components/atomic-crm/providers/commons/canAccess";
+import { dataProvider } from "@/components/atomic-crm/providers/fakerest/dataProvider";
export const DEFAULT_USER = {
id: 0,
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/companies.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/companies.ts
similarity index 77%
rename from src/atomic-crm/providers/fakerest/dataGenerator/companies.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/companies.ts
index bc6a0fc3..54d0d54c 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/companies.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/companies.ts
@@ -7,11 +7,10 @@ import {
phone,
random,
} from "faker/locale/en_US";
-import { randomDate } from "./utils";
-
-import { defaultCompanySectors } from "../../../root/defaultConfiguration";
-import type { Company, RAFile } from "../../../types";
-import type { Db } from "./types";
+import { randomDate } from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
+import { defaultCompanySectors } from "@/components/atomic-crm/root/defaultConfiguration";
+import type { Company, RAFile } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
const sizes = [1, 10, 50, 250, 500];
@@ -25,7 +24,7 @@ export const generateCompanies = (db: Db, size = 55): Required<Company>[] => {
name: name,
logo: {
title: lorem.text(1),
- src: `./logos/${id}.png`,
+ src: `@/components/atomic-crm/dashboard/logos/${id}.png`,
} as RAFile,
sector: random.arrayElement(defaultCompanySectors),
size: random.arrayElement(sizes) as 1 | 10 | 50 | 250 | 500,
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts
similarity index 66%
rename from src/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts
index 11480ff1..5d371b84 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes.ts
@@ -1,9 +1,8 @@
import { datatype, lorem, random } from "faker/locale/en_US";
-
-import { defaultNoteStatuses } from "../../../root/defaultConfiguration";
-import type { ContactNote } from "../../../types";
-import type { Db } from "./types";
-import { randomDate } from "./utils";
+import { defaultNoteStatuses } from "@/components/atomic-crm/root/defaultConfiguration";
+import type { ContactNote } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+import { randomDate } from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
export const generateContactNotes = (db: Db): ContactNote[] => {
return Array.from(Array(1200).keys()).map((id) => {
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/contacts.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts
similarity index 88%
rename from src/atomic-crm/providers/fakerest/dataGenerator/contacts.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts
index ea58d5ed..1f63e0da 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/contacts.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/contacts.ts
@@ -6,14 +6,16 @@ import {
phone,
random,
} from "faker/locale/en_US";
-
import {
defaultContactGender,
defaultNoteStatuses,
-} from "../../../root/defaultConfiguration";
-import type { Company, Contact } from "../../../types";
-import type { Db } from "./types";
-import { randomDate, weightedBoolean } from "./utils";
+} from "@/components/atomic-crm/root/defaultConfiguration";
+import type { Company, Contact } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+import {
+ randomDate,
+ weightedBoolean,
+} from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
const maxContacts = {
1: 1,
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts
similarity index 72%
rename from src/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts
index da4303d7..a49ce0aa 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes.ts
@@ -1,7 +1,6 @@
import { datatype, lorem, random } from "faker/locale/en_US";
-
-import type { Db } from "./types";
-import { randomDate } from "./utils";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+import { randomDate } from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
export const generateDealNotes = (db: Db) => {
return Array.from(Array(300).keys()).map((id) => {
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/deals.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts
similarity index 84%
rename from src/atomic-crm/providers/fakerest/dataGenerator/deals.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts
index d264b84b..78c4ac5e 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/deals.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/deals.ts
@@ -1,13 +1,12 @@
import { add } from "date-fns";
import { datatype, lorem, random } from "faker/locale/en_US";
-
import {
defaultDealCategories,
defaultDealStages,
-} from "../../../root/defaultConfiguration";
-import type { Deal } from "../../../types";
-import type { Db } from "./types";
-import { randomDate } from "./utils";
+} from "@/components/atomic-crm/root/defaultConfiguration";
+import type { Deal } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+import { randomDate } from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
export const generateDeals = (db: Db): Deal[] => {
const deals = Array.from(Array(50).keys()).map((id) => {
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/finalize.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts
similarity index 76%
rename from src/atomic-crm/providers/fakerest/dataGenerator/finalize.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts
index d696c35a..e25be7a7 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/finalize.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/finalize.ts
@@ -1,4 +1,4 @@
-import type { Db } from "./types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
export const finalize = (db: Db) => {
// set contact status according to the latest note
diff --git a/src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts
new file mode 100644
index 00000000..f56964cc
--- /dev/null
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/index.ts
@@ -0,0 +1,25 @@
+import { generateCompanies } from "@/components/atomic-crm/providers/fakerest/dataGenerator/companies";
+import { generateContactNotes } from "@/components/atomic-crm/providers/fakerest/dataGenerator/contactNotes";
+import { generateContacts } from "@/components/atomic-crm/providers/fakerest/dataGenerator/contacts";
+import { generateDealNotes } from "@/components/atomic-crm/providers/fakerest/dataGenerator/dealNotes";
+import { generateDeals } from "@/components/atomic-crm/providers/fakerest/dataGenerator/deals";
+import { finalize } from "@/components/atomic-crm/providers/fakerest/dataGenerator/finalize";
+import { generateSales } from "@/components/atomic-crm/providers/fakerest/dataGenerator/sales";
+import { generateTags } from "@/components/atomic-crm/providers/fakerest/dataGenerator/tags";
+import { generateTasks } from "@/components/atomic-crm/providers/fakerest/dataGenerator/tasks";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+
+export default (): Db => {
+ const db = {} as Db;
+ db.sales = generateSales(db);
+ db.tags = generateTags(db);
+ db.companies = generateCompanies(db);
+ db.contacts = generateContacts(db);
+ db.contactNotes = generateContactNotes(db);
+ db.deals = generateDeals(db);
+ db.dealNotes = generateDealNotes(db);
+ db.tasks = generateTasks(db);
+ finalize(db);
+
+ return db;
+};
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/sales.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts
similarity index 97%
rename from src/atomic-crm/providers/fakerest/dataGenerator/sales.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts
index 8eeb46ce..eab10229 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/sales.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/sales.ts
@@ -1,7 +1,6 @@
import { internet, name } from "faker/locale/en_US";
-
-import type { RAFile, Sale } from "../../../types";
-import type { Db } from "./types";
+import type { RAFile, Sale } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
export const generateSales = (_: Db): Sale[] => {
const randomSales = Array.from(Array(5).keys()).map((id) => {
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/tags.ts
similarity index 80%
rename from src/atomic-crm/providers/fakerest/dataGenerator/tags.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/tags.ts
index ad30c58e..c93b399a 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/tags.ts
@@ -1,4 +1,4 @@
-import type { Db } from "./types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
const tags = [
{ id: 0, name: "football-fan", color: "#eddcd2" },
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/tasks.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts
similarity index 75%
rename from src/atomic-crm/providers/fakerest/dataGenerator/tasks.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts
index 5f200439..711a5f3e 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/tasks.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/tasks.ts
@@ -1,9 +1,8 @@
import { datatype, lorem, random } from "faker/locale/en_US";
-
-import { defaultTaskTypes } from "../../../root/defaultConfiguration";
-import type { Task } from "../../../types";
-import type { Db } from "./types";
-import { randomDate } from "./utils";
+import { defaultTaskTypes } from "@/components/atomic-crm/root/defaultConfiguration";
+import type { Task } from "@/components/atomic-crm/types";
+import type { Db } from "@/components/atomic-crm/providers/fakerest/dataGenerator/types";
+import { randomDate } from "@/components/atomic-crm/providers/fakerest/dataGenerator/utils";
type TaskType = (typeof defaultTaskTypes)[number];
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/types.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts
similarity index 88%
rename from src/atomic-crm/providers/fakerest/dataGenerator/types.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts
index b7014648..9d3f344a 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/types.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataGenerator/types.ts
@@ -7,7 +7,7 @@ import type {
Sale,
Tag,
Task,
-} from "../../../types";
+} from "@/components/atomic-crm/types";
export interface Db {
companies: Required<Company>[];
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/utils.ts b/src/components/atomic-crm/providers/fakerest/dataGenerator/utils.ts
similarity index 100%
rename from src/atomic-crm/providers/fakerest/dataGenerator/utils.ts
rename to src/components/atomic-crm/providers/fakerest/dataGenerator/utils.ts
diff --git a/src/atomic-crm/providers/fakerest/dataProvider.ts b/src/components/atomic-crm/providers/fakerest/dataProvider.ts
similarity index 95%
rename from src/atomic-crm/providers/fakerest/dataProvider.ts
rename to src/components/atomic-crm/providers/fakerest/dataProvider.ts
index 41bfff5f..f18ac2b2 100644
--- a/src/atomic-crm/providers/fakerest/dataProvider.ts
+++ b/src/components/atomic-crm/providers/fakerest/dataProvider.ts
@@ -15,14 +15,17 @@ import type {
SalesFormData,
SignUpData,
Task,
-} from "../../types";
-import { getActivityLog } from "../commons/activity";
-import { getCompanyAvatar } from "../commons/getCompanyAvatar";
-import { getContactAvatar } from "../commons/getContactAvatar";
-import type { CrmDataProvider } from "../types";
-import { authProvider, USER_STORAGE_KEY } from "./authProvider";
-import generateData from "./dataGenerator";
-import { withSupabaseFilterAdapter } from "./internal/supabaseAdapter";
+} from "@/components/atomic-crm/types";
+import { getActivityLog } from "@/components/atomic-crm/providers/commons/activity";
+import { getCompanyAvatar } from "@/components/atomic-crm/providers/commons/getCompanyAvatar";
+import { getContactAvatar } from "@/components/atomic-crm/providers/commons/getContactAvatar";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import {
+ authProvider,
+ USER_STORAGE_KEY,
+} from "@/components/atomic-crm/providers/fakerest/authProvider";
+import generateData from "@/components/atomic-crm/providers/fakerest/dataGenerator";
+import { withSupabaseFilterAdapter } from "@/components/atomic-crm/providers/fakerest/internal/supabaseAdapter";
const baseDataProvider = fakeRestDataProvider(generateData(), true, 300);
diff --git a/src/components/atomic-crm/providers/fakerest/index.ts b/src/components/atomic-crm/providers/fakerest/index.ts
new file mode 100644
index 00000000..40192bec
--- /dev/null
+++ b/src/components/atomic-crm/providers/fakerest/index.ts
@@ -0,0 +1,2 @@
+export { authProvider } from "@/components/atomic-crm/providers/fakerest/authProvider";
+export { dataProvider } from "@/components/atomic-crm/providers/fakerest/dataProvider";
diff --git a/src/atomic-crm/providers/fakerest/internal/listParser.ts b/src/components/atomic-crm/providers/fakerest/internal/listParser.ts
similarity index 100%
rename from src/atomic-crm/providers/fakerest/internal/listParser.ts
rename to src/components/atomic-crm/providers/fakerest/internal/listParser.ts
diff --git a/src/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts b/src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts
similarity index 99%
rename from src/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts
rename to src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts
index 23c31b56..bf880f85 100644
--- a/src/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.spec.ts
@@ -1,5 +1,5 @@
import type { DataProvider } from "ra-core";
-import { withSupabaseFilterAdapter } from "./supabaseAdapter";
+import { withSupabaseFilterAdapter } from "@/components/atomic-crm/providers/fakerest/internal/supabaseAdapter";
describe("getList", () => {
it("should transform '@eq'", () => {
diff --git a/src/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts b/src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts
similarity index 93%
rename from src/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts
rename to src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts
index 93209716..58201106 100644
--- a/src/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/supabaseAdapter.ts
@@ -1,5 +1,5 @@
import type { DataProvider } from "ra-core";
-import { transformFilter } from "./transformFilter";
+import { transformFilter } from "@/components/atomic-crm/providers/fakerest/internal/transformFilter";
function removeSummarySuffix(resource: string) {
return resource.endsWith("_summary")
diff --git a/src/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts b/src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts
similarity index 93%
rename from src/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts
index 3b763d04..6d00719d 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.spec.ts
@@ -2,7 +2,7 @@
import {
CONTAINS_FILTER_REGEX,
transformContainsFilter,
-} from "./transformContainsFilter";
+} from "@/components/atomic-crm/providers/fakerest/internal/transformContainsFilter";
it("should throw an error if the filter is not a string", () => {
expect(() => transformContainsFilter(1)).toThrow(
diff --git a/src/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts b/src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts
similarity index 79%
rename from src/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts
index 40706445..604f8f88 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformContainsFilter.ts
@@ -1,4 +1,7 @@
-import { LIST_REGEX_BASE, parseList } from "./listParser";
+import {
+ LIST_REGEX_BASE,
+ parseList,
+} from "@/components/atomic-crm/providers/fakerest/internal/listParser";
export const CONTAINS_FILTER_REGEX = new RegExp(`^\\{${LIST_REGEX_BASE}\\}$`);
diff --git a/src/atomic-crm/providers/fakerest/internal/transformFilter.ts b/src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts
similarity index 79%
rename from src/atomic-crm/providers/fakerest/internal/transformFilter.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts
index b6b3668f..e4b73692 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformFilter.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformFilter.ts
@@ -1,6 +1,6 @@
-import { transformContainsFilter } from "./transformContainsFilter";
-import { transformInFilter } from "./transformInFilter";
-import { transformOrFilter } from "./transformOrFilter";
+import { transformContainsFilter } from "@/components/atomic-crm/providers/fakerest/internal/transformContainsFilter";
+import { transformInFilter } from "@/components/atomic-crm/providers/fakerest/internal/transformInFilter";
+import { transformOrFilter } from "@/components/atomic-crm/providers/fakerest/internal/transformOrFilter";
export function transformFilter(filter: Record<string, any>) {
if (!filter) {
diff --git a/src/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts b/src/components/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts
similarity index 89%
rename from src/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts
index 9fe4bde2..6602230d 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformInFilter.spec.ts
@@ -1,5 +1,8 @@
// sum.test.js
-import { IN_FILTER_REGEX, transformInFilter } from "./transformInFilter";
+import {
+ IN_FILTER_REGEX,
+ transformInFilter,
+} from "@/components/atomic-crm/providers/fakerest/internal/transformInFilter";
it("should throw an error if the filter is not a string", () => {
expect(() => transformInFilter(1)).toThrow(
diff --git a/src/atomic-crm/providers/fakerest/internal/transformInFilter.ts b/src/components/atomic-crm/providers/fakerest/internal/transformInFilter.ts
similarity index 78%
rename from src/atomic-crm/providers/fakerest/internal/transformInFilter.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformInFilter.ts
index e1e70972..223de2fa 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformInFilter.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformInFilter.ts
@@ -1,4 +1,7 @@
-import { LIST_REGEX_BASE, parseList } from "./listParser";
+import {
+ LIST_REGEX_BASE,
+ parseList,
+} from "@/components/atomic-crm/providers/fakerest/internal/listParser";
export const IN_FILTER_REGEX = new RegExp(`^\\(${LIST_REGEX_BASE}\\)$`);
diff --git a/src/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts b/src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts
similarity index 84%
rename from src/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts
index bc5196b3..bc8d4d1b 100644
--- a/src/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts
+++ b/src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.spec.ts
@@ -1,5 +1,5 @@
// sum.test.js
-import { transformOrFilter } from "./transformOrFilter";
+import { transformOrFilter } from "@/components/atomic-crm/providers/fakerest/internal/transformOrFilter";
it("should throw an error if the value is not an object", () => {
expect(() => transformOrFilter([])).toThrow(
diff --git a/src/atomic-crm/providers/fakerest/internal/transformOrFilter.ts b/src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.ts
similarity index 100%
rename from src/atomic-crm/providers/fakerest/internal/transformOrFilter.ts
rename to src/components/atomic-crm/providers/fakerest/internal/transformOrFilter.ts
diff --git a/src/atomic-crm/providers/supabase/authProvider.ts b/src/components/atomic-crm/providers/supabase/authProvider.ts
similarity index 95%
rename from src/atomic-crm/providers/supabase/authProvider.ts
rename to src/components/atomic-crm/providers/supabase/authProvider.ts
index 0011fa7f..177a0e4d 100644
--- a/src/atomic-crm/providers/supabase/authProvider.ts
+++ b/src/components/atomic-crm/providers/supabase/authProvider.ts
@@ -2,8 +2,8 @@
/* eslint-disable @typescript-eslint/no-namespace */
import type { AuthProvider } from "ra-core";
import { supabaseAuthProvider } from "ra-supabase-core";
-import { canAccess } from "../commons/canAccess";
-import { supabase } from "./supabase";
+import { canAccess } from "@/components/atomic-crm/providers/commons/canAccess";
+import { supabase } from "@/components/atomic-crm/providers/supabase/supabase";
const baseAuthProvider = supabaseAuthProvider(supabase, {
getIdentity: async () => {
diff --git a/src/atomic-crm/providers/supabase/dataProvider.ts b/src/components/atomic-crm/providers/supabase/dataProvider.ts
similarity index 95%
rename from src/atomic-crm/providers/supabase/dataProvider.ts
rename to src/components/atomic-crm/providers/supabase/dataProvider.ts
index 8e0af63f..6a513ec9 100644
--- a/src/atomic-crm/providers/supabase/dataProvider.ts
+++ b/src/components/atomic-crm/providers/supabase/dataProvider.ts
@@ -17,12 +17,12 @@ import type {
Sale,
SalesFormData,
SignUpData,
-} from "../../types";
-import { getActivityLog } from "../commons/activity";
-import { getCompanyAvatar } from "../commons/getCompanyAvatar";
-import { getContactAvatar } from "../commons/getContactAvatar";
-import { getIsInitialized } from "./authProvider";
-import { supabase } from "./supabase";
+} from "@/components/atomic-crm/types";
+import { getActivityLog } from "@/components/atomic-crm/providers/commons/activity";
+import { getCompanyAvatar } from "@/components/atomic-crm/providers/commons/getCompanyAvatar";
+import { getContactAvatar } from "@/components/atomic-crm/providers/commons/getContactAvatar";
+import { getIsInitialized } from "@/components/atomic-crm/providers/supabase/authProvider";
+import { supabase } from "@/components/atomic-crm/providers/supabase/supabase";
if (import.meta.env.VITE_SUPABASE_URL === undefined) {
throw new Error("Please set the VITE_SUPABASE_URL environment variable");
diff --git a/src/components/atomic-crm/providers/supabase/index.ts b/src/components/atomic-crm/providers/supabase/index.ts
new file mode 100644
index 00000000..cbcf8aa4
--- /dev/null
+++ b/src/components/atomic-crm/providers/supabase/index.ts
@@ -0,0 +1,2 @@
+export { authProvider } from "@/components/atomic-crm/providers/supabase/authProvider";
+export { dataProvider } from "@/components/atomic-crm/providers/supabase/dataProvider";
diff --git a/src/atomic-crm/providers/supabase/supabase.ts b/src/components/atomic-crm/providers/supabase/supabase.ts
similarity index 100%
rename from src/atomic-crm/providers/supabase/supabase.ts
rename to src/components/atomic-crm/providers/supabase/supabase.ts
diff --git a/src/components/atomic-crm/providers/types.ts b/src/components/atomic-crm/providers/types.ts
new file mode 100644
index 00000000..0a0b5558
--- /dev/null
+++ b/src/components/atomic-crm/providers/types.ts
@@ -0,0 +1 @@
+export type { CrmDataProvider } from "@/components/atomic-crm/dashboard/supabase/dataProvider";
diff --git a/src/atomic-crm/root/CRM.tsx b/src/components/atomic-crm/root/CRM.tsx
similarity index 83%
rename from src/atomic-crm/root/CRM.tsx
rename to src/components/atomic-crm/root/CRM.tsx
index 66a5d2c6..44fede53 100644
--- a/src/atomic-crm/root/CRM.tsx
+++ b/src/components/atomic-crm/root/CRM.tsx
@@ -5,20 +5,20 @@ import type { AuthProvider, DataProvider } from "ra-core";
import { CustomRoutes, localStorageStore, Resource } from "ra-core";
import { useEffect } from "react";
import { Route } from "react-router";
-import companies from "../companies";
-import contacts from "../contacts";
-import { Dashboard } from "../dashboard/Dashboard";
-import deals from "../deals";
-import { Layout } from "../layout/Layout";
-import { SignupPage } from "../login/SignupPage";
+import companies from "@/components/atomic-crm/companies";
+import contacts from "@/components/atomic-crm/contacts";
+import { Dashboard } from "@/components/atomic-crm/dashboard/Dashboard";
+import deals from "@/components/atomic-crm/deals";
+import { Layout } from "@/components/atomic-crm/layout/Layout";
+import { SignupPage } from "@/components/atomic-crm/login/SignupPage";
import {
authProvider as defaultAuthProvider,
dataProvider as defaultDataProvider,
-} from "../providers/supabase";
-import sales from "../sales";
-import { SettingsPage } from "../settings/SettingsPage";
-import type { ConfigurationContextValue } from "./ConfigurationContext";
-import { ConfigurationProvider } from "./ConfigurationContext";
+} from "@/components/atomic-crm/providers/supabase";
+import sales from "@/components/atomic-crm/sales";
+import { SettingsPage } from "@/components/atomic-crm/settings/SettingsPage";
+import type { ConfigurationContextValue } from "@/components/atomic-crm/root/ConfigurationContext";
+import { ConfigurationProvider } from "@/components/atomic-crm/root/ConfigurationContext";
import {
defaultCompanySectors,
defaultContactGender,
@@ -30,9 +30,9 @@ import {
defaultNoteStatuses,
defaultTaskTypes,
defaultTitle,
-} from "./defaultConfiguration";
-import { i18nProvider } from "./i18nProvider";
-import { StartPage } from "@/atomic-crm/login/StartPage.tsx";
+} from "@/components/atomic-crm/root/defaultConfiguration";
+import { i18nProvider } from "@/components/atomic-crm/root/i18nProvider";
+import { StartPage } from "@/components/atomic-crm/login/StartPage.tsx";
export type CRMProps = {
dataProvider?: DataProvider;
@@ -63,7 +63,7 @@ export type CRMProps = {
*
* @example
* // Basic usage of the CRM component
- * import { CRM } from './CRM';
+ * import { CRM } from '@/components/atomic-crm/dashboard/CRM';
*
* const App = () => (
* <CRM
diff --git a/src/atomic-crm/root/ConfigurationContext.tsx b/src/components/atomic-crm/root/ConfigurationContext.tsx
similarity index 92%
rename from src/atomic-crm/root/ConfigurationContext.tsx
rename to src/components/atomic-crm/root/ConfigurationContext.tsx
index 402e52d4..9e20426d 100644
--- a/src/atomic-crm/root/ConfigurationContext.tsx
+++ b/src/components/atomic-crm/root/ConfigurationContext.tsx
@@ -1,7 +1,11 @@
/* eslint-disable react-refresh/only-export-components */
import type { ReactNode } from "react";
import { createContext, useContext } from "react";
-import type { ContactGender, DealStage, NoteStatus } from "../types";
+import type {
+ ContactGender,
+ DealStage,
+ NoteStatus,
+} from "@/components/atomic-crm/types";
import {
defaultCompanySectors,
defaultContactGender,
@@ -13,7 +17,7 @@ import {
defaultNoteStatuses,
defaultTaskTypes,
defaultTitle,
-} from "./defaultConfiguration";
+} from "@/components/atomic-crm/root/defaultConfiguration";
// Define types for the context value
export interface ConfigurationContextValue {
diff --git a/src/atomic-crm/root/defaultConfiguration.ts b/src/components/atomic-crm/root/defaultConfiguration.ts
similarity index 87%
rename from src/atomic-crm/root/defaultConfiguration.ts
rename to src/components/atomic-crm/root/defaultConfiguration.ts
index dda6f16a..31a6d642 100644
--- a/src/atomic-crm/root/defaultConfiguration.ts
+++ b/src/components/atomic-crm/root/defaultConfiguration.ts
@@ -1,7 +1,9 @@
import { Mars, NonBinary, Venus } from "lucide-react";
-export const defaultDarkModeLogo = "./logos/logo_atomic_crm_dark.svg";
-export const defaultLightModeLogo = "./logos/logo_atomic_crm_light.svg";
+export const defaultDarkModeLogo =
+ "@/components/atomic-crm/dashboard/logos/logo_atomic_crm_dark.svg";
+export const defaultLightModeLogo =
+ "@/components/atomic-crm/dashboard/logos/logo_atomic_crm_light.svg";
export const defaultTitle = "Atomic CRM";
diff --git a/src/atomic-crm/root/i18nProvider.tsx b/src/components/atomic-crm/root/i18nProvider.tsx
similarity index 100%
rename from src/atomic-crm/root/i18nProvider.tsx
rename to src/components/atomic-crm/root/i18nProvider.tsx
diff --git a/src/atomic-crm/sales/SaleName.tsx b/src/components/atomic-crm/sales/SaleName.tsx
similarity index 87%
rename from src/atomic-crm/sales/SaleName.tsx
rename to src/components/atomic-crm/sales/SaleName.tsx
index 0ab23a73..775c5593 100644
--- a/src/atomic-crm/sales/SaleName.tsx
+++ b/src/components/atomic-crm/sales/SaleName.tsx
@@ -1,5 +1,5 @@
import { useGetIdentity, useRecordContext } from "ra-core";
-import type { Sale } from "../types";
+import type { Sale } from "@/components/atomic-crm/types";
export const SaleName = ({ sale }: { sale?: Sale }) => {
const { identity, isPending } = useGetIdentity();
diff --git a/src/atomic-crm/sales/SalesCreate.tsx b/src/components/atomic-crm/sales/SalesCreate.tsx
similarity index 86%
rename from src/atomic-crm/sales/SalesCreate.tsx
rename to src/components/atomic-crm/sales/SalesCreate.tsx
index f49801d8..1bd6f9ed 100644
--- a/src/atomic-crm/sales/SalesCreate.tsx
+++ b/src/components/atomic-crm/sales/SalesCreate.tsx
@@ -3,9 +3,9 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { useMutation } from "@tanstack/react-query";
import { useDataProvider, useNotify, useRedirect } from "ra-core";
import type { SubmitHandler } from "react-hook-form";
-import type { CrmDataProvider } from "../providers/types";
-import type { SalesFormData } from "../types";
-import { SalesInputs } from "./SalesInputs";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import type { SalesFormData } from "@/components/atomic-crm/types";
+import { SalesInputs } from "@/components/atomic-crm/sales/SalesInputs";
export function SalesCreate() {
const dataProvider = useDataProvider<CrmDataProvider>();
diff --git a/src/atomic-crm/sales/SalesEdit.tsx b/src/components/atomic-crm/sales/SalesEdit.tsx
similarity index 89%
rename from src/atomic-crm/sales/SalesEdit.tsx
rename to src/components/atomic-crm/sales/SalesEdit.tsx
index 5fc046cd..9e9b5360 100644
--- a/src/atomic-crm/sales/SalesEdit.tsx
+++ b/src/components/atomic-crm/sales/SalesEdit.tsx
@@ -11,9 +11,9 @@ import {
useRedirect,
} from "ra-core";
import type { SubmitHandler } from "react-hook-form";
-import type { CrmDataProvider } from "../providers/types";
-import type { Sale, SalesFormData } from "../types";
-import { SalesInputs } from "./SalesInputs";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import type { Sale, SalesFormData } from "@/components/atomic-crm/types";
+import { SalesInputs } from "@/components/atomic-crm/sales/SalesInputs";
function EditToolbar() {
return (
diff --git a/src/atomic-crm/sales/SalesInputs.tsx b/src/components/atomic-crm/sales/SalesInputs.tsx
similarity index 93%
rename from src/atomic-crm/sales/SalesInputs.tsx
rename to src/components/atomic-crm/sales/SalesInputs.tsx
index d99070ed..baf09608 100644
--- a/src/atomic-crm/sales/SalesInputs.tsx
+++ b/src/components/atomic-crm/sales/SalesInputs.tsx
@@ -1,6 +1,6 @@
import { BooleanInput, TextInput } from "@/components/admin";
import { email, required, useGetIdentity, useRecordContext } from "ra-core";
-import type { Sale } from "../types";
+import type { Sale } from "@/components/atomic-crm/types";
export function SalesInputs() {
const { identity } = useGetIdentity();
diff --git a/src/atomic-crm/sales/SalesList.tsx b/src/components/atomic-crm/sales/SalesList.tsx
similarity index 95%
rename from src/atomic-crm/sales/SalesList.tsx
rename to src/components/atomic-crm/sales/SalesList.tsx
index ef9101de..c581cc05 100644
--- a/src/atomic-crm/sales/SalesList.tsx
+++ b/src/components/atomic-crm/sales/SalesList.tsx
@@ -7,7 +7,7 @@ import {
} from "@/components/admin";
import { Badge } from "@/components/ui/badge";
import { useRecordContext } from "ra-core";
-import { TopToolbar } from "../layout/TopToolbar";
+import { TopToolbar } from "@/components/atomic-crm/layout/TopToolbar";
const SalesListActions = () => (
<TopToolbar>
diff --git a/src/components/atomic-crm/sales/index.ts b/src/components/atomic-crm/sales/index.ts
new file mode 100644
index 00000000..5611258c
--- /dev/null
+++ b/src/components/atomic-crm/sales/index.ts
@@ -0,0 +1,12 @@
+import type { Sale } from "@/components/atomic-crm/types";
+import { SalesCreate } from "@/components/atomic-crm/sales/SalesCreate";
+import { SalesEdit } from "@/components/atomic-crm/sales/SalesEdit";
+import { SalesList } from "@/components/atomic-crm/sales/SalesList";
+
+export default {
+ list: SalesList,
+ create: SalesCreate,
+ edit: SalesEdit,
+ recordRepresentation: (record: Sale) =>
+ `${record.first_name} ${record.last_name}`,
+};
diff --git a/src/atomic-crm/settings/SettingsPage.tsx b/src/components/atomic-crm/settings/SettingsPage.tsx
similarity index 96%
rename from src/atomic-crm/settings/SettingsPage.tsx
rename to src/components/atomic-crm/settings/SettingsPage.tsx
index d56de9de..3d0ca97a 100644
--- a/src/atomic-crm/settings/SettingsPage.tsx
+++ b/src/components/atomic-crm/settings/SettingsPage.tsx
@@ -19,9 +19,9 @@ import {
} from "ra-core";
import { useState } from "react";
import { useFormState } from "react-hook-form";
-import ImageEditorField from "../misc/ImageEditorField";
-import type { CrmDataProvider } from "../providers/types";
-import type { Sale, SalesFormData } from "../types";
+import ImageEditorField from "@/components/atomic-crm/misc/ImageEditorField";
+import type { CrmDataProvider } from "@/components/atomic-crm/providers/types";
+import type { Sale, SalesFormData } from "@/components/atomic-crm/types";
export const SettingsPage = () => {
const [isEditMode, setEditMode] = useState(false);
diff --git a/src/atomic-crm/simple-list/ListNoResults.tsx b/src/components/atomic-crm/simple-list/ListNoResults.tsx
similarity index 100%
rename from src/atomic-crm/simple-list/ListNoResults.tsx
rename to src/components/atomic-crm/simple-list/ListNoResults.tsx
diff --git a/src/atomic-crm/simple-list/ListPlaceholder.tsx b/src/components/atomic-crm/simple-list/ListPlaceholder.tsx
similarity index 100%
rename from src/atomic-crm/simple-list/ListPlaceholder.tsx
rename to src/components/atomic-crm/simple-list/ListPlaceholder.tsx
diff --git a/src/atomic-crm/simple-list/SimpleList.tsx b/src/components/atomic-crm/simple-list/SimpleList.tsx
similarity index 95%
rename from src/atomic-crm/simple-list/SimpleList.tsx
rename to src/components/atomic-crm/simple-list/SimpleList.tsx
index 91c50431..c8d2e5cb 100644
--- a/src/atomic-crm/simple-list/SimpleList.tsx
+++ b/src/components/atomic-crm/simple-list/SimpleList.tsx
@@ -10,14 +10,14 @@ import {
} from "ra-core";
import { isValidElement, type ReactElement } from "react";
-import { ListNoResults } from "./ListNoResults.tsx";
-import type { FunctionToElement } from "./SimpleListItem.tsx";
+import { ListNoResults } from "@/components/atomic-crm/simple-list/ListNoResults.tsx";
+import type { FunctionToElement } from "@/components/atomic-crm/simple-list/SimpleListItem.tsx";
import {
type SimpleListBaseProps,
SimpleListItem,
type SimpleListItemProps,
-} from "./SimpleListItem.tsx";
-import { SimpleListLoading } from "./SimpleListLoading.tsx";
+} from "@/components/atomic-crm/simple-list/SimpleListItem.tsx";
+import { SimpleListLoading } from "@/components/atomic-crm/simple-list/SimpleListLoading.tsx";
/**
* The <SimpleList> component renders a list of records
diff --git a/src/atomic-crm/simple-list/SimpleListItem.tsx b/src/components/atomic-crm/simple-list/SimpleListItem.tsx
similarity index 100%
rename from src/atomic-crm/simple-list/SimpleListItem.tsx
rename to src/components/atomic-crm/simple-list/SimpleListItem.tsx
diff --git a/src/atomic-crm/simple-list/SimpleListLoading.tsx b/src/components/atomic-crm/simple-list/SimpleListLoading.tsx
similarity index 94%
rename from src/atomic-crm/simple-list/SimpleListLoading.tsx
rename to src/components/atomic-crm/simple-list/SimpleListLoading.tsx
index 9b11dfaf..976761ae 100644
--- a/src/atomic-crm/simple-list/SimpleListLoading.tsx
+++ b/src/components/atomic-crm/simple-list/SimpleListLoading.tsx
@@ -1,5 +1,5 @@
import { useTimeout } from "ra-core";
-import { ListPlaceholder } from "./ListPlaceholder.tsx";
+import { ListPlaceholder } from "@/components/atomic-crm/simple-list/ListPlaceholder.tsx";
export const SimpleListLoading = (props: SimpleListLoadingProps) => {
const {
diff --git a/src/atomic-crm/tags/RoundButton.tsx b/src/components/atomic-crm/tags/RoundButton.tsx
similarity index 100%
rename from src/atomic-crm/tags/RoundButton.tsx
rename to src/components/atomic-crm/tags/RoundButton.tsx
diff --git a/src/atomic-crm/tags/TagChip.tsx b/src/components/atomic-crm/tags/TagChip.tsx
similarity index 87%
rename from src/atomic-crm/tags/TagChip.tsx
rename to src/components/atomic-crm/tags/TagChip.tsx
index af0172a8..be090657 100644
--- a/src/atomic-crm/tags/TagChip.tsx
+++ b/src/components/atomic-crm/tags/TagChip.tsx
@@ -1,7 +1,7 @@
import { X } from "lucide-react";
import { useState } from "react";
-import type { Tag } from "../types";
-import { TagEditModal } from "./TagEditModal";
+import type { Tag } from "@/components/atomic-crm/types";
+import { TagEditModal } from "@/components/atomic-crm/tags/TagEditModal";
type TagChipProps = {
tag: Tag;
diff --git a/src/atomic-crm/tags/TagCreateModal.tsx b/src/components/atomic-crm/tags/TagCreateModal.tsx
similarity index 83%
rename from src/atomic-crm/tags/TagCreateModal.tsx
rename to src/components/atomic-crm/tags/TagCreateModal.tsx
index cebf0b0e..42a645ce 100644
--- a/src/atomic-crm/tags/TagCreateModal.tsx
+++ b/src/components/atomic-crm/tags/TagCreateModal.tsx
@@ -1,6 +1,6 @@
import { useCreate } from "ra-core";
-import type { Tag } from "../types";
-import { TagDialog } from "./TagDialog";
+import type { Tag } from "@/components/atomic-crm/types";
+import { TagDialog } from "@/components/atomic-crm/tags/TagDialog";
type TagCreateModalProps = {
open: boolean;
diff --git a/src/atomic-crm/tags/TagDialog.tsx b/src/components/atomic-crm/tags/TagDialog.tsx
similarity index 94%
rename from src/atomic-crm/tags/TagDialog.tsx
rename to src/components/atomic-crm/tags/TagDialog.tsx
index 4e5d7206..fa28ea59 100644
--- a/src/atomic-crm/tags/TagDialog.tsx
+++ b/src/components/atomic-crm/tags/TagDialog.tsx
@@ -11,9 +11,9 @@ import { cn } from "@/lib/utils";
import { SaveIcon } from "lucide-react";
import type { FormEvent } from "react";
import { useEffect, useState } from "react";
-import type { Tag } from "../types";
-import { colors } from "./colors";
-import { RoundButton } from "./RoundButton";
+import type { Tag } from "@/components/atomic-crm/types";
+import { colors } from "@/components/atomic-crm/tags/colors";
+import { RoundButton } from "@/components/atomic-crm/tags/RoundButton";
type TagDialogProps = {
open: boolean;
diff --git a/src/atomic-crm/tags/TagEditModal.tsx b/src/components/atomic-crm/tags/TagEditModal.tsx
similarity index 84%
rename from src/atomic-crm/tags/TagEditModal.tsx
rename to src/components/atomic-crm/tags/TagEditModal.tsx
index cff8b597..3933180b 100644
--- a/src/atomic-crm/tags/TagEditModal.tsx
+++ b/src/components/atomic-crm/tags/TagEditModal.tsx
@@ -1,6 +1,6 @@
import { useUpdate } from "ra-core";
-import type { Tag } from "../types";
-import { TagDialog } from "./TagDialog";
+import type { Tag } from "@/components/atomic-crm/types";
+import { TagDialog } from "@/components/atomic-crm/tags/TagDialog";
type TagEditModalProps = {
tag: Tag;
diff --git a/src/atomic-crm/tags/colors.ts b/src/components/atomic-crm/tags/colors.ts
similarity index 100%
rename from src/atomic-crm/tags/colors.ts
rename to src/components/atomic-crm/tags/colors.ts
diff --git a/src/atomic-crm/tasks/AddTask.tsx b/src/components/atomic-crm/tasks/AddTask.tsx
similarity index 96%
rename from src/atomic-crm/tasks/AddTask.tsx
rename to src/components/atomic-crm/tasks/AddTask.tsx
index 64caafa0..59025659 100644
--- a/src/atomic-crm/tasks/AddTask.tsx
+++ b/src/components/atomic-crm/tasks/AddTask.tsx
@@ -32,8 +32,8 @@ import {
useUpdate,
} from "ra-core";
import { useState } from "react";
-import { contactOptionText } from "../misc/ContactOption";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { contactOptionText } from "@/components/atomic-crm/misc/ContactOption";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const AddTask = ({
selectContact,
diff --git a/src/atomic-crm/tasks/Task.tsx b/src/components/atomic-crm/tasks/Task.tsx
similarity index 97%
rename from src/atomic-crm/tasks/Task.tsx
rename to src/components/atomic-crm/tasks/Task.tsx
index cc8cb4b3..31643c92 100644
--- a/src/atomic-crm/tasks/Task.tsx
+++ b/src/components/atomic-crm/tasks/Task.tsx
@@ -11,8 +11,8 @@ import { useQueryClient } from "@tanstack/react-query";
import { MoreVertical } from "lucide-react";
import { useDeleteWithUndoController, useNotify, useUpdate } from "ra-core";
import { useEffect, useState } from "react";
-import type { Contact, Task as TData } from "../types";
-import { TaskEdit } from "./TaskEdit";
+import type { Contact, Task as TData } from "@/components/atomic-crm/types";
+import { TaskEdit } from "@/components/atomic-crm/tasks/TaskEdit";
export const Task = ({
task,
diff --git a/src/atomic-crm/tasks/TaskEdit.tsx b/src/components/atomic-crm/tasks/TaskEdit.tsx
similarity index 96%
rename from src/atomic-crm/tasks/TaskEdit.tsx
rename to src/components/atomic-crm/tasks/TaskEdit.tsx
index 8fe99079..7d6d3194 100644
--- a/src/atomic-crm/tasks/TaskEdit.tsx
+++ b/src/components/atomic-crm/tasks/TaskEdit.tsx
@@ -13,7 +13,7 @@ import {
} from "@/components/ui/dialog";
import type { Identifier } from "ra-core";
import { EditBase, Form, required, useNotify } from "ra-core";
-import { useConfigurationContext } from "../root/ConfigurationContext";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const TaskEdit = ({
open,
diff --git a/src/atomic-crm/tasks/TasksIterator.tsx b/src/components/atomic-crm/tasks/TasksIterator.tsx
similarity index 92%
rename from src/atomic-crm/tasks/TasksIterator.tsx
rename to src/components/atomic-crm/tasks/TasksIterator.tsx
index 2148b870..1c1d8414 100644
--- a/src/atomic-crm/tasks/TasksIterator.tsx
+++ b/src/components/atomic-crm/tasks/TasksIterator.tsx
@@ -1,7 +1,7 @@
import { isAfter } from "date-fns";
import { useListContext } from "ra-core";
-import { Task } from "./Task";
+import { Task } from "@/components/atomic-crm/tasks/Task";
export const TasksIterator = ({
showContact,
diff --git a/src/atomic-crm/types.ts b/src/components/atomic-crm/types.ts
similarity index 99%
rename from src/atomic-crm/types.ts
rename to src/components/atomic-crm/types.ts
index e59f0438..378e805f 100644
--- a/src/atomic-crm/types.ts
+++ b/src/components/atomic-crm/types.ts
@@ -6,7 +6,7 @@ import type {
CONTACT_NOTE_CREATED,
DEAL_CREATED,
DEAL_NOTE_CREATED,
-} from "./consts";
+} from "@/components/atomic-crm/consts";
export type SignUpData = {
email: string;
diff --git a/src/components/supabase/layout.tsx b/src/components/supabase/layout.tsx
index a61cfb3f..ad27046c 100644
--- a/src/components/supabase/layout.tsx
+++ b/src/components/supabase/layout.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
import { Notification } from "@/components/admin";
-import { useConfigurationContext } from "@/atomic-crm/root/ConfigurationContext";
+import { useConfigurationContext } from "@/components/atomic-crm/root/ConfigurationContext";
export const Layout = ({ children }: React.PropsWithChildren) => {
const { darkModeLogo, title } = useConfigurationContext();
diff --git a/vitest.config.ts b/vitest.config.ts
index e2ec3329..9b4baaec 100644
--- a/vitest.config.ts
+++ b/vitest.config.ts
@@ -1,7 +1,14 @@
+import path from "node:path";
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
},
+ resolve: {
+ preserveSymlinks: true,
+ alias: {
+ "@": path.resolve(__dirname, "./src"),
+ },
+ },
});