-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.yaml
31 lines (28 loc) · 888 Bytes
/
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
targets:
$default:
sources:
- lib/**
- graphql/**
- my.schema.graphql
builders:
artemis:
options:
# fragments_glob: graphql/fragments/common.graphql
schema_mapping:
- schema: my.schema.graphql
queries_glob: graphql/*.graphql
output: lib/models/graphql/graphql_api.dart
naming_scheme: pathedWithFields
scalar_mapping:
- graphql_type: UUID
dart_type: String
- graphql_type: Upload
custom_parser_import: 'package:graphql_toolchain/artemis.dart'
dart_type:
name: MultipartFile
imports:
- 'package:http/http.dart'
- graphql_type: DateTime
dart_type: DateTime
- graphql_type: JWT
dart_type: String