-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgqlgen.yml
60 lines (59 loc) · 2.15 KB
/
gqlgen.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# .gqlgen.yml example
#
# Refer to https://gqlgen.com/config/
# for detailed .gqlgen.yml documentation.
schema:
- ./internal/web/schema.graphql
- ./internal/web/twitter/schema.graphql
- ./internal/web/blog/schema.graphql
- ./internal/web/telegram/schema.graphql
- ./internal/web/general/schema.graphql
- ./internal/web/arweave/schema.graphql
exec:
filename: ./internal/web/generated.go
model:
filename: ./internal/library/models/models.go
resolver:
filename: ./internal/web/resolver.go
type: Resolver
models:
# general
Date:
model: github.com/Laisky/laisky-blog-graphql/library.Datetime
QuotedString:
model: github.com/Laisky/laisky-blog-graphql/library.QuotedString
JSONString:
model: github.com/Laisky/laisky-blog-graphql/library.JSONString
# twitter
Tweet:
model: github.com/Laisky/laisky-blog-graphql/internal/web/twitter/model.Tweet
EmbededTweet:
model: github.com/Laisky/laisky-blog-graphql/internal/web/twitter/model.EmbededTweet
TwitterUser:
model: github.com/Laisky/laisky-blog-graphql/internal/web/twitter/model.User
# blog
BlogPost:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/model.Post
PostInfo:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/dto.PostInfo
BlogUser:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/model.User
BlogCategory:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/model.Category
BlogPostSeries:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/model.PostSeries
ArweaveItem:
model: github.com/Laisky/laisky-blog-graphql/internal/web/blog/model.ArweaveHistoryItem
# telegram
TelegramMonitorUser:
model: github.com/Laisky/laisky-blog-graphql/internal/web/telegram/model.MonitorUsers
TelegramAlertType:
model: github.com/Laisky/laisky-blog-graphql/internal/web/telegram/model.AlertTypes
# GCP General
Lock:
model: github.com/Laisky/laisky-blog-graphql/internal/web/general/model.Lock
# GeneralUser:
# model: laisky-blog-graphql/general.User
# Arweave
ArweaveUploadResponse:
model: github.com/Laisky/laisky-blog-graphql/internal/web/arweave/dto.UploadResponse