-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodegen.yml
38 lines (38 loc) · 999 Bytes
/
codegen.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
overwrite: true
schema: "http://localhost:8080/graphql"
documents: "src/**/*.graphql"
generates:
src/app/model/graphql-types.ts:
plugins:
- "typescript"
- "typescript-operations"
- "typescript-apollo-angular"
config:
namingConvention:
enumValues: keep
scalars:
LocalDate: Date
LocalDateTime: string
enumValues:
Day:
MONDAY: 'Montag'
THUESDAY: 'Dienstag'
WEDNESDAY: 'Mittwoch'
THURSDAY: 'Donnerstag'
FRIDAY: 'Freitag'
Title:
PROF: 'Prof.'
PROF_DR: 'Prof. Dr.'
DR: 'Dr.'
PROF_DR_ING: 'Prof. Dr. Ing.'
Faculty:
WI: 'Wirtschaftsinformatik'
AIN: 'Informatik'
MIB: 'Medieninformatik'
Campus:
FURTWANGEN: 'Furtwangen'
TUTTLINGEN: 'Tuttlingen'
VILLINGEN_SCHWENNINGEN: 'Villingen Schwenningen'
./graphql.schema.json:
plugins:
- "introspection"