-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.yaml
89 lines (89 loc) · 2.59 KB
/
build.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
targets:
$default:
sources:
- lib/**
- graphql/**
builders:
ferry_generator|graphql_builder:
enabled: true
options:
schema: diohub|lib/graphql/schema.graphql
# output_dir: ''
when_extensions:
when: true
maybeWhen: true
# output_dir: 'test'
type_overrides:
Base64String:
name: String
BigInt:
name: BigInt
Date:
name: DateTime
DateTime:
name: DateTime
GitObjectID:
name: String
GitSSHRemote:
name: String
GitTimestamp:
name: DateTime
HTML:
name: String
PreciseDateTime:
name: DateTime
URI:
name: Uri
X509Certificate:
name: String
custom_serializers:
- import: "package:diohub/lib/graphql/serializer/date.dart"
name: DateSerializer
- import: "package:diohub/lib/graphql/serializer/date.dart"
name: DateTimeSerializer
ferry_generator|serializer_builder:
enabled: true
options:
schema: diohub|lib/graphql/schema.graphql
custom_serializers:
- import: "package:diohub/graphql/serializer/date.dart"
name: DateSerializer
- import: "package:diohub/graphql/serializer/date.dart"
name: DateTimeSerializer
source_gen:combining_builder:
options:
ignore_for_file:
- "type=lint"
# artemis:
# options:
# fragments_glob: graphql/**.fragment.graphql
# scalar_mapping:
# Date
# name: DateTime
# DateTime
# name: DateTime
# GitTimestamp
# name: DateTime
# PreciseDateTime
# name: DateTime
# X509Certificate
# name: DateTime
# GitRefname
# name: DateTime
# HTML
# name: String
# DeclineTopicSuggestionInput
# name: String
# GitObjectID
# name: String
# GitSignature
# name: String
# URI
# name: Uri
# schema_mapping:
# - schema: graphql/schema.docs.graphql
# queries_glob: graphql/queries/**.query.graphql
# output: lib/graphql/graphql.dart
# naming_scheme: pathedWithFields
# ignore_for_file:
# - "type=lint"