mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 02:34:52 +00:00
fix: packages (#378)
This commit is contained in:
12
pnpm-lock.yaml
generated
12
pnpm-lock.yaml
generated
@@ -46,12 +46,18 @@ importers:
|
|||||||
|
|
||||||
projects/app:
|
projects/app:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@chakra-ui/anatomy':
|
||||||
|
specifier: ^2.2.1
|
||||||
|
version: registry.npmmirror.com/@chakra-ui/anatomy@2.2.1
|
||||||
'@chakra-ui/icons':
|
'@chakra-ui/icons':
|
||||||
specifier: ^2.0.17
|
specifier: ^2.0.17
|
||||||
version: registry.npmmirror.com/@chakra-ui/icons@2.0.17(@chakra-ui/system@2.5.8)(react@18.2.0)
|
version: registry.npmmirror.com/@chakra-ui/icons@2.0.17(@chakra-ui/system@2.5.8)(react@18.2.0)
|
||||||
'@chakra-ui/react':
|
'@chakra-ui/react':
|
||||||
specifier: ^2.7.0
|
specifier: ^2.7.0
|
||||||
version: registry.npmmirror.com/@chakra-ui/react@2.7.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.28)(framer-motion@9.0.6)(react-dom@18.2.0)(react@18.2.0)
|
version: registry.npmmirror.com/@chakra-ui/react@2.7.0(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(@types/react@18.0.28)(framer-motion@9.0.6)(react-dom@18.2.0)(react@18.2.0)
|
||||||
|
'@chakra-ui/styled-system':
|
||||||
|
specifier: ^2.9.1
|
||||||
|
version: registry.npmmirror.com/@chakra-ui/styled-system@2.9.1
|
||||||
'@chakra-ui/system':
|
'@chakra-ui/system':
|
||||||
specifier: ^2.5.8
|
specifier: ^2.5.8
|
||||||
version: registry.npmmirror.com/@chakra-ui/system@2.5.8(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(react@18.2.0)
|
version: registry.npmmirror.com/@chakra-ui/system@2.5.8(@emotion/react@11.10.6)(@emotion/styled@11.10.6)(react@18.2.0)
|
||||||
@@ -2517,6 +2523,12 @@ packages:
|
|||||||
version: 2.1.2
|
version: 2.1.2
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
registry.npmmirror.com/@chakra-ui/anatomy@2.2.1:
|
||||||
|
resolution: {integrity: sha512-bbmyWTGwQo+aHYDMtLIj7k7hcWvwE7GFVDViLFArrrPhfUTDdQTNqhiDp1N7eh2HLyjNhc2MKXV8s2KTQqkmTg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@chakra-ui/anatomy/-/anatomy-2.2.1.tgz}
|
||||||
|
name: '@chakra-ui/anatomy'
|
||||||
|
version: 2.2.1
|
||||||
|
dev: false
|
||||||
|
|
||||||
registry.npmmirror.com/@chakra-ui/avatar@2.2.11(@chakra-ui/system@2.5.8)(react@18.2.0):
|
registry.npmmirror.com/@chakra-ui/avatar@2.2.11(@chakra-ui/system@2.5.8)(react@18.2.0):
|
||||||
resolution: {integrity: sha512-CJFkoWvlCTDJTUBrKA/aVyG5Zz6TBEIVmmsJtqC6VcQuVDTxkWod8ruXnjb0LT2DUveL7xR5qZM9a5IXcsH3zg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@chakra-ui/avatar/-/avatar-2.2.11.tgz}
|
resolution: {integrity: sha512-CJFkoWvlCTDJTUBrKA/aVyG5Zz6TBEIVmmsJtqC6VcQuVDTxkWod8ruXnjb0LT2DUveL7xR5qZM9a5IXcsH3zg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@chakra-ui/avatar/-/avatar-2.2.11.tgz}
|
||||||
id: registry.npmmirror.com/@chakra-ui/avatar/2.2.11
|
id: registry.npmmirror.com/@chakra-ui/avatar/2.2.11
|
||||||
|
@@ -9,8 +9,10 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@chakra-ui/anatomy": "^2.2.1",
|
||||||
"@chakra-ui/icons": "^2.0.17",
|
"@chakra-ui/icons": "^2.0.17",
|
||||||
"@chakra-ui/react": "^2.7.0",
|
"@chakra-ui/react": "^2.7.0",
|
||||||
|
"@chakra-ui/styled-system": "^2.9.1",
|
||||||
"@chakra-ui/system": "^2.5.8",
|
"@chakra-ui/system": "^2.5.8",
|
||||||
"@emotion/react": "^11.10.6",
|
"@emotion/react": "^11.10.6",
|
||||||
"@emotion/styled": "^11.10.6",
|
"@emotion/styled": "^11.10.6",
|
||||||
@@ -92,6 +94,7 @@
|
|||||||
"typescript": "4.9.5"
|
"typescript": "4.9.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=18.0.0",
|
||||||
|
"pnpm": ">=8.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,5 @@
|
|||||||
import { extendTheme, defineStyleConfig, ComponentStyleConfig } from '@chakra-ui/react';
|
import { extendTheme, defineStyleConfig, ComponentStyleConfig } from '@chakra-ui/react';
|
||||||
// @ts-ignore
|
|
||||||
import { modalAnatomy, switchAnatomy, selectAnatomy, numberInputAnatomy } from '@chakra-ui/anatomy';
|
import { modalAnatomy, switchAnatomy, selectAnatomy, numberInputAnatomy } from '@chakra-ui/anatomy';
|
||||||
// @ts-ignore
|
|
||||||
import { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';
|
import { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';
|
||||||
|
|
||||||
const { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(
|
const { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(
|
||||||
|
@@ -33,7 +33,10 @@ export const dispatchAppRequest = async (props: Record<string, any>): Promise<Re
|
|||||||
return Promise.reject('Input is empty');
|
return Promise.reject('Input is empty');
|
||||||
}
|
}
|
||||||
|
|
||||||
const appData = await App.findById(app.id);
|
const appData = await App.findOne({
|
||||||
|
_id: app.id,
|
||||||
|
userId: user._id
|
||||||
|
});
|
||||||
|
|
||||||
if (!appData) {
|
if (!appData) {
|
||||||
return Promise.reject('App not found');
|
return Promise.reject('App not found');
|
||||||
|
Reference in New Issue
Block a user