-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathschema.graphql
208 lines (185 loc) · 3.98 KB
/
schema.graphql
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
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
subscription: Subscription
}
type HostConnection {
accountId: String
hostId: HostId
remoteSiteEnv: JSON
remoteSiteId: String
}
type Job {
error: JSON
id: ID!
logs: String
status: JobStatus!
}
type Mutation {
"Placeholder field so the schema can be extended."
_empty: String
addSite(input: AddSiteInput): Job
"Stop and then start services for the specified site."
restartSite(id: ID!): Site
"Star a site."
starSite(id: ID!): Site
"Start Live Link Pro for the specified site."
startLiveLinkPro(id: ID!): SiteLiveLinkProSettings
"Start services for the specified site."
startSite(id: ID!): Site
"Stops all running sites."
stopAllSites: Boolean
"Stop Live Link Pro for the specified site."
stopLiveLinkPro(id: ID!): SiteLiveLinkProSettings
"Stop services for the specified site. Note, this will also handle dumping the site database."
stopSite(id: ID!): Site
"Toggle whether or not to sort sites by last started in the sidebar."
toggleSortSitesByLastStarted(sortByLastStarted: Boolean!): Boolean
"Unstar a site."
unstarSite(id: ID!): Site
}
type Query {
"Placeholder field so the schema can be extended."
_empty: String
job(id: ID!): Job
jobs: [Job]
site(id: ID!): Site
sites(filters: SiteFilters): [Site]
"Determine whether or not the site's sidebar should be sorted by the time's sites were last started."
sortSitesByLastStarted: Boolean
}
type Site {
autoEnableInstantReload: Boolean
callToActionBannerDismissed: Boolean
domain: String!
host: String!
hostConnections: [HostConnection]
httpPort: Int
id: ID!
isStarred: Boolean
liveLinkProSettings: SiteLiveLinkProSettings
localVersion: String
longPath: String!
multiSite: MultiSite
multiSiteDomains: [String]
mysql: SiteMySQLInfo
name: String!
path: String!
paths: SitePaths!
services: [SiteService]
siteLastStartedTimestamp: EpochTimestamp
status: SiteStatus!
url: String!
workspace: String
}
type SiteLiveLinkProSettings {
basicAuthPassword: String
basicAuthUsername: String
subdomain: String
}
type SiteMySQLInfo {
database: String
password: String
user: String
}
type SitePaths {
app: String
conf: String
confTemplates: String
logs: String
runData: String
sql: String
webRoot: String
}
type SiteService {
name: String!
ports: JSON
role: SiteServiceRole
type: SiteServiceType
version: String!
}
type Subscription {
"Placeholder field so the schema can be extended."
_empty: String
siteStatusChanged: Site
siteUpdated(id: ID): Site
sitesUpdated: [Site]
}
enum HostId {
flywheel
wpe
}
enum JobStatus {
created
failed
running
successful
}
enum MultiSite {
No
Subdir
Subdomain
}
enum SiteEnvironment {
custom
preferred
}
enum SiteServiceRole {
db
http
php
}
enum SiteServiceType {
lightning
}
enum SiteStatus {
adding
cloning
container_missing
copying
creating
deleting
exporting
exporting_db
halted
processing
provisioning
provisioning_error
pulling
pulling_finalizing
pulling_provisioning
pulling_request_backup
pushing
pushing_preparing
pushing_processing
pushing_v2
restarting
running
saving
starting
stopping
updating_wp
wordpress_install_error
}
input AddSiteInput {
blueprint: String
database: String
domain: String!
environment: SiteEnvironment
goToSite: Boolean
multiSite: MultiSite
name: String!
path: String!
phpVersion: String
skipWPInstall: Boolean
webServer: String
wpAdminEmail: String
wpAdminPassword: String
wpAdminUsername: String
}
input SiteFilters {
workspace: String
}
scalar JSON
scalar EpochTimestamp