fix: correct role description schema to accept null

This commit is contained in:
Scott Wilson
2024-12-18 22:15:40 -08:00
parent 89848a2f5c
commit 3fa84c578c
7 changed files with 11 additions and 10 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ export type TGetUserProjectPermissionDTO = {
export type TCreateOrgRoleDTO = {
orgId: string;
name: string;
description?: string;
description?: string | null;
slug: string;
permissions: TPermission[];
};
@@ -74,7 +74,7 @@ export type TDeleteOrgRoleDTO = {
export type TCreateProjectRoleDTO = {
projectId: string;
name: string;
description?: string;
description?: string | null;
slug: string;
permissions: TProjectPermission[];
};