4.8.18 test (#3543)
* perf: login check * doc * perf: llm model config * perf: team clb config
This commit is contained in:
@@ -20,40 +20,8 @@ export type UpdateClbPermissionProps = {
|
||||
permission: PermissionValueType;
|
||||
};
|
||||
|
||||
export type DeleteClbPermissionProps = RequireOnlyOne<{
|
||||
tmbId: string;
|
||||
groupId: string;
|
||||
orgId: string;
|
||||
}>;
|
||||
|
||||
export type UpdatePermissionBody = {
|
||||
permission: PermissionValueType;
|
||||
} & RequireOnlyOne<{
|
||||
memberId: string;
|
||||
groupId: string;
|
||||
orgId: string;
|
||||
}>;
|
||||
|
||||
export type CreatePermissionBody = {
|
||||
tmbId: string[];
|
||||
groupId: string[];
|
||||
orgId: string[];
|
||||
};
|
||||
|
||||
export type DeletePermissionQuery = RequireOnlyOne<{
|
||||
tmbId?: string;
|
||||
groupId?: string;
|
||||
orgId?: string;
|
||||
}>;
|
||||
|
||||
export type TeamClbsListType = {
|
||||
permission: number;
|
||||
name: string;
|
||||
avatar: string;
|
||||
};
|
||||
|
||||
export type ListPermissionResponse = {
|
||||
tmb: (TeamClbsListType & { tmbId: string })[];
|
||||
group: (TeamClbsListType & { groupId: string })[];
|
||||
org: (TeamClbsListType & { orgId: string })[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user