Skip to content

Commit dfba9ff

Browse files
committed
feat: added camel case and fixed graphql errors
1 parent f0b017b commit dfba9ff

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

backend/typescript/graphql/types/taskType.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -15,35 +15,35 @@ const taskType = gql`
1515
}
1616
1717
input InputTaskDTO {
18-
category_id: Int!
18+
categoryId: Int!
1919
title: String!
2020
status: Status
2121
description: String!
22-
assignee_id: Int!
23-
assigner_id: Int!
24-
credit_value: Int!
25-
start_date: String!
26-
end_date: String
22+
assigneeId: Int!
23+
assignerId: Int!
24+
creditValue: Int!
25+
startDate: String!
26+
endDate: String
2727
comments: String!
28-
recurrence_frequency: Recurrence_Frequency!
28+
recurrenceFrequency: Recurrence_Frequency!
2929
}
3030
3131
type TaskDTO {
3232
id: Int!
3333
category: String!
34-
category_id: Int!
34+
categoryId: Int!
3535
title: String!
3636
status: Status!
3737
description: String!
38-
assignee_id: Int!
38+
assigneeId: Int!
3939
assignee: String!
40-
assigner_id: Int!
40+
assignerId: Int!
4141
assigner: String!
42-
credit_value: Int!
43-
start_date: String!
44-
end_date: String
42+
creditValue: Int!
43+
startDate: String!
44+
endDate: String
4545
comments: String!
46-
recurrence_frequency: Recurrence_Frequency!
46+
recurrenceFrequency: Recurrence_Frequency!
4747
}
4848
`;
4949

0 commit comments

Comments
 (0)