-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.yaml
43 lines (43 loc) · 1.64 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
targets:
$default:
sources:
- $package$
- lib/**
- graphql/**
- schema.graphql
builders:
artemis:
options:
fragments_glob: graphql/fragments/**.graphql
schema_mapping:
- output: lib/graphql/queries_graphql_api.dart
schema: graphql/schema.graphql
queries_glob: graphql/queries/**.graphql
naming_scheme: pathedWithFields
- output: lib/graphql/subscriptions_graphql_api.dart
schema: graphql/schema.graphql
queries_glob: graphql/subscriptions/**.graphql
naming_scheme: pathedWithFields
- output: lib/graphql/mutations_graphql_api.dart
schema: graphql/schema.graphql
queries_glob: graphql/mutations/**.graphql
naming_scheme: pathedWithFields
scalar_mapping:
- custom_parser_import: 'package:whatado/utils/coercers.dart'
graphql_type: DateTime
dart_type: DateTime
- custom_parser_import: 'package:whatado/utils/coercers.dart'
graphql_type: DateTime?
dart_type: DateTime?
- custom_parser_import: 'package:whatado/utils/coercers.dart'
graphql_type: Point
dart_type:
name: GeoJsonPoint
imports:
- 'package:geojson/geojson.dart'
- custom_parser_import: 'package:whatado/utils/coercers.dart'
graphql_type: Point?
dart_type:
name: GeoJsonPoint?
imports:
- 'package:geojson/geojson.dart'