fix(editor): Fix role DTO exported types (#18977)

This commit is contained in:
Guillaume Jacquart
2025-08-29 16:45:52 +02:00
committed by GitHub
parent 6a400732ae
commit 2882547a69
2 changed files with 9 additions and 3 deletions

View File

@@ -78,8 +78,8 @@ export {
USERS_LIST_SORT_OPTIONS,
} from './user/users-list-filter.dto';
export { UpdateRoleDto } from './roles/update-role.dto';
export { CreateRoleDto } from './roles/create-role.dto';
export type { UpdateRoleDto } from './roles/update-role.dto';
export type { CreateRoleDto } from './roles/create-role.dto';
export { OidcConfigDto } from './oidc/config.dto';

View File

@@ -6,7 +6,13 @@ export * from './scope-information';
export * from './roles/role-maps.ee';
export * from './roles/all-roles';
export { projectRoleSchema, teamRoleSchema, roleSchema, Role, scopeSchema } from './schemas.ee';
export {
projectRoleSchema,
teamRoleSchema,
roleSchema,
type Role,
scopeSchema,
} from './schemas.ee';
export { hasScope } from './utilities/has-scope.ee';
export { hasGlobalScope } from './utilities/has-global-scope.ee';