-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.gql
159 lines (159 loc) · 3.17 KB
/
schema.gql
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
type AboutYaml implements Node {
title: String!
name: String!
occupation: String!
icon: AboutYamlIcon!
interests: [AboutYamlInterests!]!
contacts: [AboutYamlContacts!]!
}
type AboutYamlContacts {
service: String!
primary: Boolean
accounts: [AboutYamlContactsAccounts!]!
}
type AboutYamlContactsAccounts {
name: String!
url: String!
}
type AboutYamlIcon {
name: String!
url: String!
src: String!
}
type AboutYamlInterests {
type: String!
items: [AboutYamlInterestsItems!]!
}
type AboutYamlInterestsItems {
name: String!
url: String
}
type CategoriesYaml implements Node {
name: String!
path: String!
thumbnail: String!
description: String!
articles: [MarkdownRemark!]!
}
type ErrorsYaml implements Node {
code: Float!
category: String!
message: String!
}
type ErrorsYamlEdge {
next: ErrorsYaml
node: ErrorsYaml!
previous: ErrorsYaml
}
type ErrorsYamlGroupConnection {
edges: [ErrorsYamlEdge!]!
nodes: [ErrorsYaml!]!
fieldValue: String!
}
type FunctionsYaml implements Node {
name: String!
return: String!
description: String!
parameters: [FunctionsYamlParameters!]
}
type FunctionsYamlParameters {
name: String!
parameters: [FunctionsYamlParametersParameters!]
}
type FunctionsYamlParametersParameters {
name: String!
}
type GitCommit implements Node {
hash: String!
message: String!
refs: String!
body: String!
date(
difference: String
formatString: String
fromNow: Boolean
locale: String
): Date!
latest: Boolean!
}
type HomeYaml implements Node {
categories: [CategoriesYaml!] @link(by: "name")
}
type LinksYaml implements Node {
items: [LinksYamlItems!]!
}
type LinksYamlItems {
name: String!
url: String!
}
type MacrosYaml implements Node {
name: String!
parameters: [MacrosYamlParameters!]
}
type MacrosYamlParameters {
name: String!
}
type MarkdownRemark implements Node {
frontmatter: MarkdownRemarkFrontmatter!
}
type MarkdownRemarkFrontmatter {
title: String!
category: CategoriesYaml @link(by: "name")
tags: [TagsYaml!] @link(by: "name")
functions: [FunctionsYaml!] @link(by: "name")
macros: [MacrosYaml!] @link(by: "name")
navigation: [MarkdownRemarkFrontmatterNavigation!]
}
type MarkdownRemarkFrontmatterNavigation {
name: String!
to: String!
}
type NavigationsYaml implements Node {
nav: [NavigationsYamlNav!]!
sidebar: [NavigationsYamlSidebar!]!
}
type NavigationsYamlNav {
name: String!
to: String!
items: [NavigationsYamlNavItems!]
}
type NavigationsYamlNavItems {
name: String!
to: String!
}
type NavigationsYamlSidebar {
name: String!
to: String!
items: [NavigationsYamlSidebarItems!]
}
type NavigationsYamlSidebarItems {
name: String!
to: String!
}
type Site implements Node {
siteMetadata: SiteSiteMetadata!
}
type SiteSiteMetadata {
siteUrl: String!
title: String!
}
type TagsYaml implements Node {
name: String!
slug: String!
articles: [MarkdownRemark!]!
}
type UpdatesYaml implements Node {
date(
formatString: String
fromNow: Boolean
difference: String
locale: String
): Date!
file: File @link(by: "base")
version: String!
history: [UpdatesYamlHistory!]!
}
type UpdatesYamlHistory {
title: String!
message: String
}