test refactor
This commit is contained in:
Generated
+29
-29
@@ -1520,9 +1520,9 @@
|
|||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/@mui/core-downloads-tracker": {
|
"node_modules/@mui/core-downloads-tracker": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-9.0.1.tgz",
|
||||||
"integrity": "sha512-uwQNGkhv0lf7ufxw6QXev77BW6pWbW+7uxYjU5+rfp4lBkFtMEgJCsarTM3Tn+i0lGx6+Ol2u88JdGXr0GDskA==",
|
"integrity": "sha512-GzamIIhZ1bH77dq7eKaeyRgJdkypsxin4jBFq2EMs4lBWRR0LFO1CSVMsoebn/VvjcNrnrOrjy48MkrkQUK2iw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -1530,9 +1530,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mui/icons-material": {
|
"node_modules/@mui/icons-material": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-9.0.1.tgz",
|
||||||
"integrity": "sha512-oDwyvI6LgjWRC9MBcSGvLkPud9S9ELgSBQFYxa1rYcZn6Br55dn22SyvsPDMsn0G8OndFk53iMT45W5mNqrogw==",
|
"integrity": "sha512-5PRpQjVLTNLyV/2J9J53Yz4R0tVbodG0BQDN2zQI1QBG1OPYM25ar+4N20eyFOfJT6zKglLzsnU70+zdVLaTkw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.29.2"
|
"@babel/runtime": "^7.29.2"
|
||||||
@@ -1545,7 +1545,7 @@
|
|||||||
"url": "https://opencollective.com/mui-org"
|
"url": "https://opencollective.com/mui-org"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@mui/material": "^9.0.0",
|
"@mui/material": "^9.0.1",
|
||||||
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||||
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||||
},
|
},
|
||||||
@@ -1556,17 +1556,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mui/material": {
|
"node_modules/@mui/material": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/material/-/material-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/material/-/material-9.0.1.tgz",
|
||||||
"integrity": "sha512-+VP/oQCDhDR87NQQgXnNBG8dwy6GNuQLnenS1pZvkbn2dKFSxRSRMybTpH9xUxXP+316mlYDy5CSbYtusnCWtw==",
|
"integrity": "sha512-voyCpeUxcSWLN7KPZuq0pGCIt726T9K6kiVM3XUcywZDAlZSarLHaUxJVQpospbjjOzN53hwyjo8s6KoWl6utw==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peer": true,
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.29.2",
|
"@babel/runtime": "^7.29.2",
|
||||||
"@mui/core-downloads-tracker": "^9.0.0",
|
"@mui/core-downloads-tracker": "^9.0.1",
|
||||||
"@mui/system": "^9.0.0",
|
"@mui/system": "^9.0.1",
|
||||||
"@mui/types": "^9.0.0",
|
"@mui/types": "^9.0.0",
|
||||||
"@mui/utils": "^9.0.0",
|
"@mui/utils": "^9.0.1",
|
||||||
"@popperjs/core": "^2.11.8",
|
"@popperjs/core": "^2.11.8",
|
||||||
"@types/react-transition-group": "^4.4.12",
|
"@types/react-transition-group": "^4.4.12",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
@@ -1585,7 +1585,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@emotion/react": "^11.5.0",
|
"@emotion/react": "^11.5.0",
|
||||||
"@emotion/styled": "^11.3.0",
|
"@emotion/styled": "^11.3.0",
|
||||||
"@mui/material-pigment-css": "^9.0.0",
|
"@mui/material-pigment-css": "^9.0.1",
|
||||||
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||||
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||||
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
||||||
@@ -1606,13 +1606,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mui/private-theming": {
|
"node_modules/@mui/private-theming": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-9.0.1.tgz",
|
||||||
"integrity": "sha512-JtuZoaiCqwD6vjgYu6Xp3T7DZkrxJlgtDz5yESzhI34fEX5hHMh2VJUbuL9UOg8xrfIFMrq6dcYoH/7Zi4G0RA==",
|
"integrity": "sha512-pSIGq4Yw749KHEwlkYZWVERgHgwJELP6ODtBNUfV8V4oIb5H+h7IQDFXuk/b2oQccODK1enJAtiEzlgLZmq+8g==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.29.2",
|
"@babel/runtime": "^7.29.2",
|
||||||
"@mui/utils": "^9.0.0",
|
"@mui/utils": "^9.0.1",
|
||||||
"prop-types": "^15.8.1"
|
"prop-types": "^15.8.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -1667,16 +1667,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mui/system": {
|
"node_modules/@mui/system": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/system/-/system-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/system/-/system-9.0.1.tgz",
|
||||||
"integrity": "sha512-YnC5Zg6j04IxiLc/boAKs0464jfZlLFVa7mf5E8lF0XOtZVUvG6R6gJK50lgUYdaaLdyLfxF6xR7LaPuEpeT/g==",
|
"integrity": "sha512-WvlioaLxk6ewUIOfh0StxUvOPDS1mCfzaulcudsL1brZNXuh0N9FMk7RpH7ImJKjEz412SEy/V/yvqmtxbqxCQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.29.2",
|
"@babel/runtime": "^7.29.2",
|
||||||
"@mui/private-theming": "^9.0.0",
|
"@mui/private-theming": "^9.0.1",
|
||||||
"@mui/styled-engine": "^9.0.0",
|
"@mui/styled-engine": "^9.0.0",
|
||||||
"@mui/types": "^9.0.0",
|
"@mui/types": "^9.0.0",
|
||||||
"@mui/utils": "^9.0.0",
|
"@mui/utils": "^9.0.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"csstype": "^3.2.3",
|
"csstype": "^3.2.3",
|
||||||
"prop-types": "^15.8.1"
|
"prop-types": "^15.8.1"
|
||||||
@@ -1724,9 +1724,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@mui/utils": {
|
"node_modules/@mui/utils": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@mui/utils/-/utils-9.0.1.tgz",
|
||||||
"integrity": "sha512-bQcqyg/gjULUqTuyUjSAFr6LQGLvtkNtDbJerAtoUn9kGZ0hg5QJiN1PLHMLbeFpe3te1831uq7GFl2ITokGdg==",
|
"integrity": "sha512-f3UO3jNN1pYg5zxqXC81Bvv8hx5ACcYc0387382ZI7M5ono1heIwHYLrKsz85myguWdeVKPRZGmDdynWUBjK2g==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.29.2",
|
"@babel/runtime": "^7.29.2",
|
||||||
@@ -8310,9 +8310,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/react-is": {
|
"node_modules/react-is": {
|
||||||
"version": "19.2.5",
|
"version": "19.2.6",
|
||||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.6.tgz",
|
||||||
"integrity": "sha512-Dn0t8IQhCmeIT3wu+Apm1/YVsJXsGWi6k4sPdnBIdqMVtHtv0IGi6dcpNpNkNac0zB2uUAqNX3MHzN8c+z2rwQ==",
|
"integrity": "sha512-XjBR15BhXuylgWGuslhDKqlSayuqvqBX91BP8pauG8kd1zY8kotkNWbXksTCNRarse4kuGbe2kIY05ARtwNIvw==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/react-map-gl": {
|
"node_modules/react-map-gl": {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.1",
|
"@emotion/styled": "^11.14.1",
|
||||||
|
"@mui/icons-material": "^9.0.0",
|
||||||
"@mui/material": "^9.0.0",
|
"@mui/material": "^9.0.0",
|
||||||
"@tanstack/react-query": "^5.100.5",
|
"@tanstack/react-query": "^5.100.5",
|
||||||
"@tiptap/extension-placeholder": "^3.22.5",
|
"@tiptap/extension-placeholder": "^3.22.5",
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ echo ">>> Клиент: $changed_client, Сервер: $changed_server"
|
|||||||
# --- Deploy: Client ---
|
# --- Deploy: Client ---
|
||||||
if [[ "$changed_client" == true ]]; then
|
if [[ "$changed_client" == true ]]; then
|
||||||
echo ">>> Сборка клиента..."
|
echo ">>> Сборка клиента..."
|
||||||
(cd "$ROOT/client" && npm ci && npm run build)
|
(cd "$ROOT/client" && npm install && npm run build)
|
||||||
|
|
||||||
remote_exec mkdir -p "$DEPLOY_FRONTEND_DIST"
|
remote_exec mkdir -p "$DEPLOY_FRONTEND_DIST"
|
||||||
|
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ const CREATE_PRODUCT_SCHEMA = {
|
|||||||
slug: { type: 'string' },
|
slug: { type: 'string' },
|
||||||
categoryId: { type: 'string' },
|
categoryId: { type: 'string' },
|
||||||
priceCents: { type: 'number', minimum: 0 },
|
priceCents: { type: 'number', minimum: 0 },
|
||||||
quantity: { type: 'number', minimum: 0 },
|
quantity: { type: 'number', minimum: 0, nullable: true },
|
||||||
inStock: { type: 'boolean' },
|
inStock: { type: 'boolean' },
|
||||||
leadTimeDays: { type: 'number', minimum: 1 },
|
leadTimeDays: { type: 'number', minimum: 1, nullable: true },
|
||||||
shortDescription: { type: 'string' },
|
shortDescription: { type: 'string', nullable: true },
|
||||||
description: { type: 'string' },
|
description: { type: 'string', nullable: true },
|
||||||
materials: { anyOf: [{ type: 'array', items: { type: 'string' } }, { type: 'string' }] },
|
materials: { anyOf: [{ type: 'array', items: { type: 'string' } }, { type: 'string' }] },
|
||||||
imageUrl: { type: 'string' },
|
imageUrl: { type: 'string', nullable: true },
|
||||||
imageUrls: { type: 'array', items: { type: 'string' } },
|
imageUrls: { type: 'array', items: { type: 'string' } },
|
||||||
published: { type: 'boolean' },
|
published: { type: 'boolean' },
|
||||||
},
|
},
|
||||||
@@ -38,13 +38,13 @@ const PATCH_PRODUCT_SCHEMA = {
|
|||||||
slug: { type: 'string' },
|
slug: { type: 'string' },
|
||||||
categoryId: { type: 'string' },
|
categoryId: { type: 'string' },
|
||||||
priceCents: { type: 'number', minimum: 0 },
|
priceCents: { type: 'number', minimum: 0 },
|
||||||
quantity: { type: 'number', minimum: 0 },
|
quantity: { type: 'number', minimum: 0, nullable: true },
|
||||||
inStock: { type: 'boolean' },
|
inStock: { type: 'boolean' },
|
||||||
leadTimeDays: { type: 'number', minimum: 1 },
|
leadTimeDays: { type: 'number', minimum: 1, nullable: true },
|
||||||
shortDescription: { type: 'string' },
|
shortDescription: { type: 'string', nullable: true },
|
||||||
description: { type: 'string' },
|
description: { type: 'string', nullable: true },
|
||||||
materials: { anyOf: [{ type: 'array', items: { type: 'string' } }, { type: 'string' }] },
|
materials: { anyOf: [{ type: 'array', items: { type: 'string' } }, { type: 'string' }] },
|
||||||
imageUrl: { type: 'string' },
|
imageUrl: { type: 'string', nullable: true },
|
||||||
imageUrls: { type: 'array', items: { type: 'string' } },
|
imageUrls: { type: 'array', items: { type: 'string' } },
|
||||||
published: { type: 'boolean' },
|
published: { type: 'boolean' },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user