Skip to content
Snippets Groups Projects
Commit 52430089 authored by magicfelix's avatar magicfelix
Browse files

Query IDs for CRUD list editing mode

parent c0e431c7
No related branches found
No related tags found
1 merge request!7Resolve "Implement Absence model based on FreeBusy"
...@@ -2,9 +2,11 @@ query absences($orderBy: [String], $filters: JSONString) { ...@@ -2,9 +2,11 @@ query absences($orderBy: [String], $filters: JSONString) {
items: absences(orderBy: $orderBy, filters: $filters) { items: absences(orderBy: $orderBy, filters: $filters) {
id id
person { person {
id
fullName fullName
} }
reason { reason {
id
shortName shortName
name name
} }
...@@ -21,9 +23,11 @@ mutation createAbsence($input: CreateAbsenceInput!) { ...@@ -21,9 +23,11 @@ mutation createAbsence($input: CreateAbsenceInput!) {
absence { absence {
id id
person { person {
id
fullName fullName
} }
reason { reason {
id
shortName shortName
name name
} }
...@@ -47,9 +51,11 @@ mutation updateAbsences($input: [BatchPatchAbsenceInput]!) { ...@@ -47,9 +51,11 @@ mutation updateAbsences($input: [BatchPatchAbsenceInput]!) {
items: absences { items: absences {
id id
person { person {
id
fullName fullName
} }
reason { reason {
id
shortName shortName
name name
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment