File tree 4 files changed +7
-4
lines changed
4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const InfoModal = ({ onClose }: { onClose: () => void }) => {
111
111
members ?: string [ ] ;
112
112
groups ?: string [ ] ;
113
113
orgs ?: string [ ] ;
114
- permission : PermissionValueType ;
114
+ permission ? : PermissionValueType ;
115
115
} ) =>
116
116
postUpdateAppCollaborators ( {
117
117
members,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ import { useSystem } from '@fastgpt/web/hooks/useSystem';
36
36
import { useChatStore } from '@/web/core/chat/context/useChatStore' ;
37
37
import { RequireOnlyOne } from '@fastgpt/global/common/type/utils' ;
38
38
import UserBox from '@fastgpt/web/components/common/UserBox' ;
39
+ import { PermissionValueType } from '@fastgpt/global/support/permission/type' ;
39
40
const HttpEditModal = dynamic ( ( ) => import ( './HttpPluginEditModal' ) ) ;
40
41
41
42
const ListItem = ( ) => {
@@ -429,7 +430,7 @@ const ListItem = () => {
429
430
members ?: string [ ] ;
430
431
groups ?: string [ ] ;
431
432
orgs ?: string [ ] ;
432
- permission : number ;
433
+ permission ?: PermissionValueType ;
433
434
} ) =>
434
435
postUpdateAppCollaborators ( {
435
436
...props ,
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import MyIcon from '@fastgpt/web/components/common/Icon';
31
31
import TemplateMarketModal from '@/pageComponents/app/list/TemplateMarketModal' ;
32
32
import MyImage from '@fastgpt/web/components/common/Image/MyImage' ;
33
33
import JsonImportModal from '@/pageComponents/app/list/JsonImportModal' ;
34
+ import { PermissionValueType } from '@fastgpt/global/support/permission/type' ;
34
35
35
36
const CreateModal = dynamic ( ( ) => import ( '@/pageComponents/app/list/CreateModal' ) ) ;
36
37
const EditFolderModal = dynamic (
@@ -327,7 +328,7 @@ const MyApps = () => {
327
328
} : {
328
329
members ?: string [ ] ;
329
330
groups ?: string [ ] ;
330
- permission : number ;
331
+ permission ?: PermissionValueType ;
331
332
} ) => {
332
333
return postUpdateAppCollaborators ( {
333
334
members,
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import { DatasetTypeEnum } from '@fastgpt/global/core/dataset/constants';
29
29
import { useToast } from '@fastgpt/web/hooks/useToast' ;
30
30
import MyBox from '@fastgpt/web/components/common/MyBox' ;
31
31
import { useSystemStore } from '@/web/common/system/useSystemStore' ;
32
+ import { PermissionValueType } from '@fastgpt/global/support/permission/type' ;
32
33
33
34
const EditFolderModal = dynamic (
34
35
( ) => import ( '@fastgpt/web/components/common/MyModal/EditFolderModal' )
@@ -248,7 +249,7 @@ const Dataset = () => {
248
249
} : {
249
250
members ?: string [ ] ;
250
251
groups ?: string [ ] ;
251
- permission : number ;
252
+ permission ?: PermissionValueType ;
252
253
} ) =>
253
254
postUpdateDatasetCollaborators ( {
254
255
members,
You can’t perform that action at this time.
0 commit comments