mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00

Co-authored-by: Mufei <327958099@qq.com> Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
23 lines
500 B
TypeScript
23 lines
500 B
TypeScript
export enum AuthUserTypeEnum {
|
|
token = 'token',
|
|
root = 'root',
|
|
apikey = 'apikey',
|
|
outLink = 'outLink',
|
|
teamDomain = 'teamDomain'
|
|
}
|
|
|
|
export enum PermissionTypeEnum {
|
|
'private' = 'private',
|
|
'public' = 'public'
|
|
}
|
|
export const PermissionTypeMap = {
|
|
[PermissionTypeEnum.private]: {
|
|
iconLight: 'support/permission/privateLight',
|
|
label: 'permission.Private'
|
|
},
|
|
[PermissionTypeEnum.public]: {
|
|
iconLight: 'support/permission/publicLight',
|
|
label: 'permission.Public'
|
|
}
|
|
};
|