Skip to content

Commit

Permalink
update/task type
Browse files Browse the repository at this point in the history
  • Loading branch information
udovichenk0 committed Mar 8, 2024
1 parent 9609cde commit 71c8090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/entities/task/task-item/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SpritesMap } from "@/shared/ui/icon/sprite.h"
export type Task = {
id: TaskId
title: string
description: string
description: Nullable<string>
status: TaskStatus
type: TaskType
start_date: Nullable<Date>
Expand Down
2 changes: 1 addition & 1 deletion client/src/shared/api/task/task.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { z } from "zod"
export const TaskSchemaDto = z.object({
id: z.string(),
title: z.string(),
description: z.string(),
description: z.string().nullable(),
status: z.enum(["FINISHED", "INPROGRESS"]),
start_date: z.coerce.date().nullable(),
user_id: z.string(),
Expand Down

0 comments on commit 71c8090

Please sign in to comment.