forked from team113/messenger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
310 lines (309 loc) · 14.1 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
targets:
$default:
sources:
- $package$
- lib/**
- schema.graphql
- test/**
builders:
artemis:
options:
fragments_glob: lib/api/backend/graphql/fragments/**.graphql
schema_mapping:
- schema: schema.graphql
output: lib/api/backend/schema.dart
queries_glob: lib/api/backend/graphql/{query,subscription,mutation}/**/**.graphql
naming_scheme: pathedWithFields
scalar_mapping:
- graphql_type: AccessToken
custom_parser_import: "package:messenger/api/backend/graphql/parsers/session.dart"
dart_type:
name: AccessToken
imports:
- "package:messenger/domain/model/session.dart"
- graphql_type: AttachmentId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: AttachmentId
imports:
- "package:messenger/domain/model/attachment.dart"
- graphql_type: BlocklistCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: BlocklistCursor
imports:
- "package:messenger/store/model/my_user.dart"
- graphql_type: BlocklistReason
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: BlocklistReason
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: ChatCallCredentials
custom_parser_import: "package:messenger/api/backend/graphql/parsers/call.dart"
dart_type:
name: ChatCallCredentials
imports:
- "package:messenger/domain/model/chat_call.dart"
- graphql_type: ChatCallDeviceId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/call.dart"
dart_type:
name: ChatCallDeviceId
imports:
- "package:messenger/domain/model/chat_call.dart"
- graphql_type: ChatCallRoomJoinLink
custom_parser_import: "package:messenger/api/backend/graphql/parsers/call.dart"
dart_type:
name: ChatCallRoomJoinLink
imports:
- "package:messenger/store/event/chat_call.dart"
- graphql_type: ChatContactId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: ChatContactId
imports:
- "package:messenger/domain/model/contact.dart"
- graphql_type: ChatContactsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: ChatContactsCursor
imports:
- "package:messenger/store/model/contact.dart"
- graphql_type: ChatContactFavoritePosition
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: ChatContactFavoritePosition
imports:
- "package:messenger/domain/model/contact.dart"
- graphql_type: ChatContactsListVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: ChatContactsListVersion
imports:
- "package:messenger/store/model/contact.dart"
- graphql_type: ChatContactVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: ChatContactVersion
imports:
- "package:messenger/store/model/contact.dart"
- graphql_type: ChatDirectLinkSlug
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: ChatDirectLinkSlug
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: ChatDirectLinkVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: ChatDirectLinkVersion
imports:
- "package:messenger/store/model/my_user.dart"
- graphql_type: ChatFavoritePosition
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatFavoritePosition
imports:
- "package:messenger/domain/model/chat.dart"
- graphql_type: ChatId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatId
imports:
- "package:messenger/domain/model/chat.dart"
- graphql_type: ChatItemId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatItemId
imports:
- "package:messenger/domain/model/chat_item.dart"
- graphql_type: ChatItemsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatItemsCursor
imports:
- "package:messenger/store/model/chat_item.dart"
- graphql_type: ChatItemVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatItemVersion
imports:
- "package:messenger/store/model/chat_item.dart"
- graphql_type: ChatMessageText
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatMessageText
imports:
- "package:messenger/domain/model/chat_item.dart"
- graphql_type: ChatName
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatName
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: ChatVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: ChatVersion
imports:
- "package:messenger/store/model/chat.dart"
- graphql_type: ConfirmationCode
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: ConfirmationCode
imports:
- "package:messenger/domain/model/my_user.dart"
- graphql_type: DateTime
custom_parser_import: "package:messenger/api/backend/graphql/parsers/precise_date_time.dart"
dart_type:
name: PreciseDateTime
imports:
- "package:messenger/domain/model/precise_date_time/precise_date_time.dart"
- graphql_type: FavoriteChatContactsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/contact.dart"
dart_type:
name: FavoriteChatContactsCursor
imports:
- "package:messenger/store/model/contact.dart"
- graphql_type: FavoriteChatsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: FavoriteChatsCursor
imports:
- "package:messenger/store/model/chat.dart"
- graphql_type: FavoriteChatsListVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: FavoriteChatsListVersion
imports:
- "package:messenger/store/model/chat.dart"
- graphql_type: FcmRegistrationToken
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: FcmRegistrationToken
imports:
- "package:messenger/domain/model/fcm_registration_token.dart"
- graphql_type: IncomingChatCallsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/call.dart"
dart_type:
name: IncomingChatCallsCursor
imports:
- "package:messenger/store/model/chat_call.dart"
- graphql_type: MyUserVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: MyUserVersion
imports:
- "package:messenger/store/model/my_user.dart"
- graphql_type: RecentChatsCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/chat.dart"
dart_type:
name: RecentChatsCursor
imports:
- "package:messenger/store/model/chat.dart"
- graphql_type: RefreshToken
custom_parser_import: "package:messenger/api/backend/graphql/parsers/session.dart"
dart_type:
name: RefreshToken
imports:
- "package:messenger/domain/model/session.dart"
- graphql_type: RememberedSessionVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/session.dart"
dart_type:
name: RememberedSessionVersion
imports:
- "package:messenger/store/model/session.dart"
- graphql_type: SessionVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/session.dart"
dart_type:
name: SessionVersion
imports:
- "package:messenger/store/model/session.dart"
- graphql_type: ThumbHash
custom_parser_import: "package:messenger/api/backend/graphql/parsers/thumbhash.dart"
dart_type:
name: ThumbHash
imports:
- "package:messenger/domain/model/file.dart"
- graphql_type: Upload
custom_parser_import: "package:messenger/api/backend/graphql/parsers/upload.dart"
dart_type:
name: MultipartFile
imports:
- "package:dio/dio.dart"
- graphql_type: UserBio
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserBio
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserEmail
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserEmail
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserId
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserId
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserLogin
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserLogin
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserName
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserName
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserNum
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserNum
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserPassword
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserPassword
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserPhone
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserPhone
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UsersCursor
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UsersCursor
imports:
- "package:messenger/store/model/user.dart"
- graphql_type: UserTextStatus
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserTextStatus
imports:
- "package:messenger/domain/model/user.dart"
- graphql_type: UserVersion
custom_parser_import: "package:messenger/api/backend/graphql/parsers/user.dart"
dart_type:
name: UserVersion
imports:
- "package:messenger/store/model/user.dart"
messenger|pubspec_builder:
enabled: true
builders:
pubspec_builder:
import: "package:messenger/util/pubspec_builder.dart"
builder_factories: ["pubspecBuilder"]
build_extensions:
"$package$": [".g.dart"]
auto_apply: dependents
build_to: source