-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from CyberPlanning/developement
Release v1.2
- Loading branch information
Showing
72 changed files
with
15,306 additions
and
1,049 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,42 @@ | ||
# webclient | ||
Web calendar in ELM | ||
|
||
## Query GraphQL | ||
|
||
```js | ||
query day_planning($grs: [String], $to: DateTime!, $from: DateTime!, $hack2g2: Boolean!, $custom: Boolean!) { | ||
planning(collection: CYBER, affiliationGroups: $grs, toDate: $to, fromDate: $from) { | ||
...events | ||
} | ||
hack2g2: planning(collection: HACK2G2, toDate: $to, fromDate: $from) @include(if: $hack2g2) { | ||
...events | ||
} | ||
custom: planning(collection: CUSTOM, toDate: $to, fromDate: $from) @include(if: $custom) { | ||
...events | ||
} | ||
} | ||
|
||
fragment events on Planning { | ||
events { | ||
title | ||
eventId | ||
startDate | ||
endDate | ||
classrooms | ||
teachers | ||
groups | ||
} | ||
} | ||
|
||
``` | ||
|
||
Variables | ||
``` | ||
{ | ||
"from": "2018-11-12T12:00:00.000", | ||
"to": "2018-12-12T12:00:00.000", | ||
"grs": ["21"], | ||
"hack2g2": true, | ||
"custom": true | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.