arkitekt-next 0.7.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of arkitekt-next might be problematic. Click here for more details.
- arkitekt_next/__init__.py +43 -0
- arkitekt_next/apps/__init__.py +3 -0
- arkitekt_next/apps/easy.py +99 -0
- arkitekt_next/apps/next.py +40 -0
- arkitekt_next/apps/qt.py +97 -0
- arkitekt_next/apps/service/__init__.py +3 -0
- arkitekt_next/apps/service/fakts.py +88 -0
- arkitekt_next/apps/service/fakts_next.py +79 -0
- arkitekt_next/apps/service/fakts_qt.py +82 -0
- arkitekt_next/apps/service/fluss_next.py +31 -0
- arkitekt_next/apps/service/grant_registry.py +27 -0
- arkitekt_next/apps/service/herre.py +24 -0
- arkitekt_next/apps/service/herre_qt.py +57 -0
- arkitekt_next/apps/service/kabinet.py +31 -0
- arkitekt_next/apps/service/mikro_next.py +81 -0
- arkitekt_next/apps/service/rekuest_next.py +53 -0
- arkitekt_next/apps/service/unlok_next.py +32 -0
- arkitekt_next/apps/types.py +53 -0
- arkitekt_next/builders.py +264 -0
- arkitekt_next/cli/__init__.py +0 -0
- arkitekt_next/cli/commands/call/__init__.py +0 -0
- arkitekt_next/cli/commands/call/local.py +132 -0
- arkitekt_next/cli/commands/call/main.py +22 -0
- arkitekt_next/cli/commands/call/remote.py +90 -0
- arkitekt_next/cli/commands/gen/__init__.py +0 -0
- arkitekt_next/cli/commands/gen/compile.py +45 -0
- arkitekt_next/cli/commands/gen/init.py +122 -0
- arkitekt_next/cli/commands/gen/main.py +29 -0
- arkitekt_next/cli/commands/gen/watch.py +32 -0
- arkitekt_next/cli/commands/init/__init__.py +0 -0
- arkitekt_next/cli/commands/init/main.py +194 -0
- arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- arkitekt_next/cli/commands/inspect/definitions.py +53 -0
- arkitekt_next/cli/commands/inspect/main.py +22 -0
- arkitekt_next/cli/commands/inspect/variables.py +92 -0
- arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- arkitekt_next/cli/commands/manifest/inspect.py +42 -0
- arkitekt_next/cli/commands/manifest/main.py +25 -0
- arkitekt_next/cli/commands/manifest/scopes.py +155 -0
- arkitekt_next/cli/commands/manifest/version.py +147 -0
- arkitekt_next/cli/commands/manifest/wizard.py +94 -0
- arkitekt_next/cli/commands/port/__init__.py +0 -0
- arkitekt_next/cli/commands/port/build.py +231 -0
- arkitekt_next/cli/commands/port/init.py +82 -0
- arkitekt_next/cli/commands/port/main.py +31 -0
- arkitekt_next/cli/commands/port/publish.py +102 -0
- arkitekt_next/cli/commands/port/stage.py +59 -0
- arkitekt_next/cli/commands/port/utils.py +47 -0
- arkitekt_next/cli/commands/port/validate.py +78 -0
- arkitekt_next/cli/commands/port/wizard.py +329 -0
- arkitekt_next/cli/commands/run/__init__.py +0 -0
- arkitekt_next/cli/commands/run/dev.py +349 -0
- arkitekt_next/cli/commands/run/main.py +22 -0
- arkitekt_next/cli/commands/run/prod.py +57 -0
- arkitekt_next/cli/commands/run/utils.py +10 -0
- arkitekt_next/cli/commands/server/__init__.py +0 -0
- arkitekt_next/cli/commands/server/down.py +56 -0
- arkitekt_next/cli/commands/server/init.py +74 -0
- arkitekt_next/cli/commands/server/inspect.py +59 -0
- arkitekt_next/cli/commands/server/main.py +33 -0
- arkitekt_next/cli/commands/server/open.py +66 -0
- arkitekt_next/cli/commands/server/remove.py +60 -0
- arkitekt_next/cli/commands/server/stop.py +56 -0
- arkitekt_next/cli/commands/server/up.py +70 -0
- arkitekt_next/cli/commands/server/utils.py +33 -0
- arkitekt_next/cli/configs/base.yaml +867 -0
- arkitekt_next/cli/constants.py +63 -0
- arkitekt_next/cli/dockerfiles/vanilla.dockerfile +8 -0
- arkitekt_next/cli/errors.py +4 -0
- arkitekt_next/cli/inspect.py +1 -0
- arkitekt_next/cli/io.py +255 -0
- arkitekt_next/cli/main.py +83 -0
- arkitekt_next/cli/options.py +166 -0
- arkitekt_next/cli/schemas/fluss.schema.graphql +2446 -0
- arkitekt_next/cli/schemas/gucker.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/kabinet.schema.graphql +515 -0
- arkitekt_next/cli/schemas/kluster.schema.graphql +109 -0
- arkitekt_next/cli/schemas/konviktion.schema.graphql +70 -0
- arkitekt_next/cli/schemas/kuay.schema.graphql +356 -0
- arkitekt_next/cli/schemas/mikro.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/mikro_next.schema.graphql +1639 -0
- arkitekt_next/cli/schemas/napari.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/omero_ark.schema.graphql +100 -0
- arkitekt_next/cli/schemas/port.schema.graphql +356 -0
- arkitekt_next/cli/schemas/rekuest.schema.graphql +4630 -0
- arkitekt_next/cli/schemas/rekuest_next.schema.graphql +1159 -0
- arkitekt_next/cli/schemas/unlok.schema.graphql +1013 -0
- arkitekt_next/cli/templates/filter.py +26 -0
- arkitekt_next/cli/templates/simple.py +67 -0
- arkitekt_next/cli/texts.py +20 -0
- arkitekt_next/cli/types.py +365 -0
- arkitekt_next/cli/ui.py +111 -0
- arkitekt_next/cli/utils.py +15 -0
- arkitekt_next/cli/validators.py +17 -0
- arkitekt_next/cli/vars.py +39 -0
- arkitekt_next/cli/versions/v1.yaml +1 -0
- arkitekt_next/constants.py +6 -0
- arkitekt_next/model.py +110 -0
- arkitekt_next/qt/__init__.py +9 -0
- arkitekt_next/qt/assets/dark/gear.png +0 -0
- arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- arkitekt_next/qt/assets/light/gear.png +0 -0
- arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- arkitekt_next/qt/magic_bar.py +545 -0
- arkitekt_next/qt/utils.py +30 -0
- arkitekt_next/service_registry.py +51 -0
- arkitekt_next/tqdm.py +43 -0
- arkitekt_next/utils.py +38 -0
- arkitekt_next-0.7.8.dist-info/LICENSE +21 -0
- arkitekt_next-0.7.8.dist-info/METADATA +155 -0
- arkitekt_next-0.7.8.dist-info/RECORD +119 -0
- arkitekt_next-0.7.8.dist-info/WHEEL +4 -0
- arkitekt_next-0.7.8.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,1013 @@
|
|
|
1
|
+
"""The root Query"""
|
|
2
|
+
type Query {
|
|
3
|
+
hello: String
|
|
4
|
+
void: String
|
|
5
|
+
userapp(
|
|
6
|
+
"""Unique app name for user"""
|
|
7
|
+
name: String
|
|
8
|
+
|
|
9
|
+
"""Unique app name for user"""
|
|
10
|
+
clientId: ID
|
|
11
|
+
): Application
|
|
12
|
+
applications: [Application]
|
|
13
|
+
myapplications: [Application]
|
|
14
|
+
application(
|
|
15
|
+
"""The ID to search by"""
|
|
16
|
+
clientId: ID!
|
|
17
|
+
): Application
|
|
18
|
+
myclients: [Application]
|
|
19
|
+
scopes(
|
|
20
|
+
"""Unique app name for user"""
|
|
21
|
+
search: String
|
|
22
|
+
|
|
23
|
+
"""Unique app name for user"""
|
|
24
|
+
values: [ID]
|
|
25
|
+
): [Scope]
|
|
26
|
+
scope(
|
|
27
|
+
"""Unique app name for user"""
|
|
28
|
+
key: String!
|
|
29
|
+
): Scope
|
|
30
|
+
user(
|
|
31
|
+
"""The email of the user"""
|
|
32
|
+
email: String
|
|
33
|
+
|
|
34
|
+
"""The email of the user"""
|
|
35
|
+
id: ID
|
|
36
|
+
): User
|
|
37
|
+
me: User
|
|
38
|
+
users(
|
|
39
|
+
username: String
|
|
40
|
+
email: String
|
|
41
|
+
|
|
42
|
+
"""Filter by values"""
|
|
43
|
+
ids: [ID]
|
|
44
|
+
|
|
45
|
+
"""Search for substring of username"""
|
|
46
|
+
search: String
|
|
47
|
+
): [User]
|
|
48
|
+
|
|
49
|
+
"""Get a group"""
|
|
50
|
+
group(
|
|
51
|
+
"""Unique app name fddor user"""
|
|
52
|
+
id: ID
|
|
53
|
+
|
|
54
|
+
"""Unique app name fddor user"""
|
|
55
|
+
name: String
|
|
56
|
+
): Group
|
|
57
|
+
|
|
58
|
+
"""Get a list of users"""
|
|
59
|
+
groups(
|
|
60
|
+
name: String
|
|
61
|
+
|
|
62
|
+
"""Filter by values"""
|
|
63
|
+
ids: [ID]
|
|
64
|
+
|
|
65
|
+
"""Search for substring of username"""
|
|
66
|
+
search: String
|
|
67
|
+
): [Group]
|
|
68
|
+
|
|
69
|
+
"""Get a list of users"""
|
|
70
|
+
mygroups(
|
|
71
|
+
"""Unique app name for user"""
|
|
72
|
+
name: String
|
|
73
|
+
): [Group]
|
|
74
|
+
|
|
75
|
+
"""Get a group"""
|
|
76
|
+
channel(
|
|
77
|
+
"""Unique app name fddor user"""
|
|
78
|
+
id: ID
|
|
79
|
+
): Channel
|
|
80
|
+
|
|
81
|
+
"""Get a list of users"""
|
|
82
|
+
channels(
|
|
83
|
+
name: String
|
|
84
|
+
|
|
85
|
+
"""Filter by values"""
|
|
86
|
+
ids: [ID]
|
|
87
|
+
|
|
88
|
+
"""Search for substring of username"""
|
|
89
|
+
search: String
|
|
90
|
+
|
|
91
|
+
"""Filter by user"""
|
|
92
|
+
user: ID
|
|
93
|
+
): [Channel]
|
|
94
|
+
|
|
95
|
+
"Comments for a specific object\n\n This query returns all comments for a specific object. The object is\n specified by the `model` and `id` arguments. The `model` argument is\n a string that is the name of the model. The `id` argument is the id of\n the object.\n\n You can only query for comments for objects that you have access to.\n\n "
|
|
96
|
+
commentsfor(
|
|
97
|
+
deep: Boolean
|
|
98
|
+
|
|
99
|
+
"""The identifier of the object"""
|
|
100
|
+
identifier: String!
|
|
101
|
+
object: ID!
|
|
102
|
+
): [Comment]
|
|
103
|
+
mymentions: [Comment]
|
|
104
|
+
comment(id: ID!): Comment
|
|
105
|
+
client(
|
|
106
|
+
"""The FaktApp ID"""
|
|
107
|
+
id: ID
|
|
108
|
+
|
|
109
|
+
"""The client id of one associated oauth2 application"""
|
|
110
|
+
clientId: ID
|
|
111
|
+
|
|
112
|
+
"""The FaktApp ID"""
|
|
113
|
+
token: ID
|
|
114
|
+
): Client
|
|
115
|
+
myPrivateClients: [Client]
|
|
116
|
+
clients: [Client]
|
|
117
|
+
myPublicClients: [Client]
|
|
118
|
+
app(
|
|
119
|
+
"""The FaktApp ID"""
|
|
120
|
+
id: ID
|
|
121
|
+
|
|
122
|
+
"""Unique app name for user"""
|
|
123
|
+
identifier: String
|
|
124
|
+
|
|
125
|
+
"""Unique app name for user"""
|
|
126
|
+
version: String
|
|
127
|
+
|
|
128
|
+
"""The client id of one associated oauth2 application"""
|
|
129
|
+
clientId: ID
|
|
130
|
+
): App
|
|
131
|
+
apps(
|
|
132
|
+
"""Search for substring of identifier"""
|
|
133
|
+
search: String
|
|
134
|
+
): [App]
|
|
135
|
+
release(
|
|
136
|
+
"""The FaktApp ID"""
|
|
137
|
+
id: ID
|
|
138
|
+
|
|
139
|
+
"""Unique app name for user"""
|
|
140
|
+
identifier: String
|
|
141
|
+
|
|
142
|
+
"""Unique app name for user"""
|
|
143
|
+
version: String
|
|
144
|
+
|
|
145
|
+
"""The client id of one associated oauth2 application"""
|
|
146
|
+
clientId: ID
|
|
147
|
+
): Release
|
|
148
|
+
releases(
|
|
149
|
+
"""Filter by app"""
|
|
150
|
+
app: ID
|
|
151
|
+
): [Release]
|
|
152
|
+
filter(
|
|
153
|
+
"""The FaktApp ID"""
|
|
154
|
+
id: ID
|
|
155
|
+
|
|
156
|
+
"""Unique app name for user"""
|
|
157
|
+
name: String
|
|
158
|
+
): Filter
|
|
159
|
+
filters(
|
|
160
|
+
"""Filter by linker"""
|
|
161
|
+
linker: ID
|
|
162
|
+
|
|
163
|
+
"""Search for methods of identifier"""
|
|
164
|
+
methods: [FilterMethod]
|
|
165
|
+
): [Filter]
|
|
166
|
+
linker(
|
|
167
|
+
"""The FaktApp ID"""
|
|
168
|
+
id: ID
|
|
169
|
+
|
|
170
|
+
"""Unique app name for user"""
|
|
171
|
+
name: String
|
|
172
|
+
): Linker
|
|
173
|
+
linkers(
|
|
174
|
+
"""Filter by template"""
|
|
175
|
+
template: ID
|
|
176
|
+
|
|
177
|
+
"""Search for substring of identifier"""
|
|
178
|
+
search: String
|
|
179
|
+
): [Linker]
|
|
180
|
+
configuration(
|
|
181
|
+
"""The FaktApp ID"""
|
|
182
|
+
id: ID
|
|
183
|
+
|
|
184
|
+
"""Unique app name for user"""
|
|
185
|
+
name: String
|
|
186
|
+
): Configuration
|
|
187
|
+
configurations(
|
|
188
|
+
"""Search for substring of identifier"""
|
|
189
|
+
search: String
|
|
190
|
+
): [Configuration]
|
|
191
|
+
|
|
192
|
+
"""Get information on your Docker Template"""
|
|
193
|
+
member(
|
|
194
|
+
"""The Whale ID"""
|
|
195
|
+
id: ID!
|
|
196
|
+
): Member
|
|
197
|
+
graphs: [Graph]
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
type Application {
|
|
201
|
+
""""""
|
|
202
|
+
id: ID!
|
|
203
|
+
|
|
204
|
+
""""""
|
|
205
|
+
clientId: String!
|
|
206
|
+
|
|
207
|
+
""""""
|
|
208
|
+
user: User
|
|
209
|
+
|
|
210
|
+
"""The associated Redirect Uris"""
|
|
211
|
+
redirectUris: [String]
|
|
212
|
+
|
|
213
|
+
""""""
|
|
214
|
+
clientType: ApplicationClientType!
|
|
215
|
+
|
|
216
|
+
""""""
|
|
217
|
+
authorizationGrantType: ApplicationAuthorizationGrantType!
|
|
218
|
+
|
|
219
|
+
""""""
|
|
220
|
+
name: String!
|
|
221
|
+
|
|
222
|
+
""""""
|
|
223
|
+
skipAuthorization: Boolean!
|
|
224
|
+
|
|
225
|
+
""""""
|
|
226
|
+
created: DateTime!
|
|
227
|
+
|
|
228
|
+
""""""
|
|
229
|
+
updated: DateTime!
|
|
230
|
+
|
|
231
|
+
""""""
|
|
232
|
+
algorithm: ApplicationAlgorithm
|
|
233
|
+
client: Client
|
|
234
|
+
|
|
235
|
+
"""The Url of the Image"""
|
|
236
|
+
image: String
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
type User {
|
|
240
|
+
""""""
|
|
241
|
+
id: ID!
|
|
242
|
+
|
|
243
|
+
"""
|
|
244
|
+
The groups this user belongs to. A user will get all permissions granted to each of their groups.
|
|
245
|
+
"""
|
|
246
|
+
groups: [Group!]!
|
|
247
|
+
|
|
248
|
+
"""Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only."""
|
|
249
|
+
username: String!
|
|
250
|
+
|
|
251
|
+
""""""
|
|
252
|
+
firstName: String!
|
|
253
|
+
|
|
254
|
+
""""""
|
|
255
|
+
lastName: String!
|
|
256
|
+
|
|
257
|
+
""""""
|
|
258
|
+
email: String!
|
|
259
|
+
|
|
260
|
+
"""
|
|
261
|
+
Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
|
|
262
|
+
"""
|
|
263
|
+
isActive: Boolean!
|
|
264
|
+
profile: Profile
|
|
265
|
+
|
|
266
|
+
"""The associated rules of this """
|
|
267
|
+
roles: [String]
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
type Group {
|
|
271
|
+
""""""
|
|
272
|
+
id: ID!
|
|
273
|
+
|
|
274
|
+
""""""
|
|
275
|
+
name: String!
|
|
276
|
+
|
|
277
|
+
"""
|
|
278
|
+
The groups this user belongs to. A user will get all permissions granted to each of their groups.
|
|
279
|
+
"""
|
|
280
|
+
userSet: [User!]!
|
|
281
|
+
profile: GroupProfile
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
type GroupProfile {
|
|
285
|
+
""""""
|
|
286
|
+
id: ID!
|
|
287
|
+
|
|
288
|
+
""""""
|
|
289
|
+
name: String
|
|
290
|
+
|
|
291
|
+
""""""
|
|
292
|
+
group: Group!
|
|
293
|
+
avatar: String
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
type Profile {
|
|
297
|
+
""""""
|
|
298
|
+
id: ID!
|
|
299
|
+
|
|
300
|
+
""""""
|
|
301
|
+
name: String
|
|
302
|
+
|
|
303
|
+
""""""
|
|
304
|
+
user: User!
|
|
305
|
+
avatar: String
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
"""An enumeration."""
|
|
309
|
+
enum ApplicationClientType {
|
|
310
|
+
"""Confidential"""
|
|
311
|
+
CONFIDENTIAL
|
|
312
|
+
|
|
313
|
+
"""Public"""
|
|
314
|
+
PUBLIC
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
"""An enumeration."""
|
|
318
|
+
enum ApplicationAuthorizationGrantType {
|
|
319
|
+
"""Authorization code"""
|
|
320
|
+
AUTHORIZATION_CODE
|
|
321
|
+
|
|
322
|
+
"""Implicit"""
|
|
323
|
+
IMPLICIT
|
|
324
|
+
|
|
325
|
+
"""Resource owner password-based"""
|
|
326
|
+
PASSWORD
|
|
327
|
+
|
|
328
|
+
"""Client credentials"""
|
|
329
|
+
CLIENT_CREDENTIALS
|
|
330
|
+
|
|
331
|
+
"""OpenID connect hybrid"""
|
|
332
|
+
OPENID_HYBRID
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
"""
|
|
336
|
+
The `DateTime` scalar type represents a DateTime
|
|
337
|
+
value as specified by
|
|
338
|
+
[iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
339
|
+
"""
|
|
340
|
+
scalar DateTime
|
|
341
|
+
|
|
342
|
+
"""An enumeration."""
|
|
343
|
+
enum ApplicationAlgorithm {
|
|
344
|
+
"""No OIDC support"""
|
|
345
|
+
A_
|
|
346
|
+
|
|
347
|
+
"""RSA with SHA-2 256"""
|
|
348
|
+
RS256
|
|
349
|
+
|
|
350
|
+
"""HMAC with SHA-2 256"""
|
|
351
|
+
HS256
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
type Client {
|
|
355
|
+
""""""
|
|
356
|
+
id: ID!
|
|
357
|
+
|
|
358
|
+
""""""
|
|
359
|
+
release: Release
|
|
360
|
+
|
|
361
|
+
""""""
|
|
362
|
+
oauth2Client: Application!
|
|
363
|
+
|
|
364
|
+
""""""
|
|
365
|
+
kind: ClientKind
|
|
366
|
+
|
|
367
|
+
""""""
|
|
368
|
+
token: String!
|
|
369
|
+
|
|
370
|
+
""""""
|
|
371
|
+
clientId: String!
|
|
372
|
+
|
|
373
|
+
""""""
|
|
374
|
+
clientSecret: String!
|
|
375
|
+
scopes: [String]!
|
|
376
|
+
|
|
377
|
+
""""""
|
|
378
|
+
creator: User!
|
|
379
|
+
|
|
380
|
+
""""""
|
|
381
|
+
user: User
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
type Release {
|
|
385
|
+
""""""
|
|
386
|
+
id: ID!
|
|
387
|
+
|
|
388
|
+
""""""
|
|
389
|
+
app: App!
|
|
390
|
+
|
|
391
|
+
""""""
|
|
392
|
+
version: String!
|
|
393
|
+
|
|
394
|
+
""""""
|
|
395
|
+
name: String!
|
|
396
|
+
logo: String
|
|
397
|
+
|
|
398
|
+
""""""
|
|
399
|
+
clients: [Client!]!
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
type App {
|
|
403
|
+
""""""
|
|
404
|
+
id: ID!
|
|
405
|
+
|
|
406
|
+
""""""
|
|
407
|
+
name: String!
|
|
408
|
+
|
|
409
|
+
""""""
|
|
410
|
+
identifier: String!
|
|
411
|
+
logo: String
|
|
412
|
+
|
|
413
|
+
""""""
|
|
414
|
+
releases: [Release!]!
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
"""An enumeration."""
|
|
418
|
+
enum ClientKind {
|
|
419
|
+
"""Website"""
|
|
420
|
+
WEBSITE
|
|
421
|
+
|
|
422
|
+
"""Dekstop"""
|
|
423
|
+
DESKTOP
|
|
424
|
+
|
|
425
|
+
"""User"""
|
|
426
|
+
USER
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
type Scope {
|
|
430
|
+
value: String!
|
|
431
|
+
label: String!
|
|
432
|
+
description: String
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
type Channel {
|
|
436
|
+
""""""
|
|
437
|
+
id: ID!
|
|
438
|
+
|
|
439
|
+
""""""
|
|
440
|
+
name: String
|
|
441
|
+
|
|
442
|
+
""""""
|
|
443
|
+
user: User!
|
|
444
|
+
|
|
445
|
+
""""""
|
|
446
|
+
token: String
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
"""
|
|
450
|
+
A comment
|
|
451
|
+
|
|
452
|
+
A comment is a user generated comment on a commentable object. A comment can be a reply to another comment or a top level comment.
|
|
453
|
+
Comments can be nested to any depth. A comment can be edited and deleted by the user that created it.
|
|
454
|
+
"""
|
|
455
|
+
type Comment {
|
|
456
|
+
""""""
|
|
457
|
+
id: ID!
|
|
458
|
+
|
|
459
|
+
"""The identifier of the object that this comment is on"""
|
|
460
|
+
identifier: String
|
|
461
|
+
|
|
462
|
+
"""The Object this comment is on"""
|
|
463
|
+
object: ID!
|
|
464
|
+
|
|
465
|
+
""""""
|
|
466
|
+
user: User!
|
|
467
|
+
|
|
468
|
+
""""""
|
|
469
|
+
text: String!
|
|
470
|
+
|
|
471
|
+
""""""
|
|
472
|
+
createdAt: DateTime!
|
|
473
|
+
|
|
474
|
+
""""""
|
|
475
|
+
parent: Comment
|
|
476
|
+
|
|
477
|
+
"""The descendents of the comment (this referes to the Comment Tree)"""
|
|
478
|
+
descendents: [Descendent]
|
|
479
|
+
|
|
480
|
+
""""""
|
|
481
|
+
mentions: [User!]!
|
|
482
|
+
|
|
483
|
+
""""""
|
|
484
|
+
resolved: DateTime
|
|
485
|
+
|
|
486
|
+
""""""
|
|
487
|
+
resolvedBy: User
|
|
488
|
+
|
|
489
|
+
"""Comments that are replies to this comment"""
|
|
490
|
+
children(
|
|
491
|
+
"""How many children to return"""
|
|
492
|
+
limit: Int
|
|
493
|
+
|
|
494
|
+
"""The offset for the children"""
|
|
495
|
+
offset: Int
|
|
496
|
+
): [Comment]
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
"""A descendent of a node in the comment tree"""
|
|
500
|
+
interface Descendent {
|
|
501
|
+
typename: String
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
type Filter {
|
|
505
|
+
""""""
|
|
506
|
+
id: ID!
|
|
507
|
+
|
|
508
|
+
""""""
|
|
509
|
+
linker: Linker!
|
|
510
|
+
method: FilterMethod!
|
|
511
|
+
|
|
512
|
+
""""""
|
|
513
|
+
value: String!
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
type Linker {
|
|
517
|
+
""""""
|
|
518
|
+
id: ID!
|
|
519
|
+
|
|
520
|
+
""""""
|
|
521
|
+
name: String!
|
|
522
|
+
|
|
523
|
+
""""""
|
|
524
|
+
template: Configuration!
|
|
525
|
+
|
|
526
|
+
""""""
|
|
527
|
+
priority: Int!
|
|
528
|
+
|
|
529
|
+
""""""
|
|
530
|
+
filters: [Filter!]!
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
type Configuration {
|
|
534
|
+
""""""
|
|
535
|
+
id: ID!
|
|
536
|
+
|
|
537
|
+
""""""
|
|
538
|
+
name: String!
|
|
539
|
+
|
|
540
|
+
""""""
|
|
541
|
+
body: String!
|
|
542
|
+
|
|
543
|
+
""""""
|
|
544
|
+
linkers: [Linker!]!
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
enum FilterMethod {
|
|
548
|
+
HOST_REGEX
|
|
549
|
+
HOST_IS
|
|
550
|
+
HOST_IS_NOT
|
|
551
|
+
PORT_IS
|
|
552
|
+
PORT_IS_NOT
|
|
553
|
+
VERSION_IS
|
|
554
|
+
VERSION_IS_NOT
|
|
555
|
+
VERSION_REGEX
|
|
556
|
+
IDENTIFIER_IS
|
|
557
|
+
IDENTIFIER_IS_NOT
|
|
558
|
+
IDENTIFIER_REGEX
|
|
559
|
+
USER_IS
|
|
560
|
+
USER_IS_DEVELOPER
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
type Member {
|
|
564
|
+
""""""
|
|
565
|
+
id: ID!
|
|
566
|
+
|
|
567
|
+
""""""
|
|
568
|
+
name: String!
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
type Graph {
|
|
572
|
+
""""""
|
|
573
|
+
id: ID!
|
|
574
|
+
|
|
575
|
+
""""""
|
|
576
|
+
name: String!
|
|
577
|
+
|
|
578
|
+
""""""
|
|
579
|
+
version: String!
|
|
580
|
+
|
|
581
|
+
"""Is this appearing on a selection of hosts?"""
|
|
582
|
+
host: String!
|
|
583
|
+
|
|
584
|
+
""""""
|
|
585
|
+
elements: [Element!]!
|
|
586
|
+
|
|
587
|
+
""""""
|
|
588
|
+
codes: [DeviceCode!]!
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
type Element {
|
|
592
|
+
""""""
|
|
593
|
+
id: ID!
|
|
594
|
+
|
|
595
|
+
""""""
|
|
596
|
+
graph: Graph!
|
|
597
|
+
|
|
598
|
+
""""""
|
|
599
|
+
name: String!
|
|
600
|
+
values: GenericScalar
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
"""
|
|
604
|
+
The `GenericScalar` scalar type represents a generic
|
|
605
|
+
GraphQL scalar value that could be:
|
|
606
|
+
String, Boolean, Int, Float, List or Object.
|
|
607
|
+
"""
|
|
608
|
+
scalar GenericScalar
|
|
609
|
+
|
|
610
|
+
type DeviceCode {
|
|
611
|
+
""""""
|
|
612
|
+
id: ID!
|
|
613
|
+
|
|
614
|
+
""""""
|
|
615
|
+
createdAt: DateTime!
|
|
616
|
+
|
|
617
|
+
""""""
|
|
618
|
+
code: String!
|
|
619
|
+
|
|
620
|
+
""""""
|
|
621
|
+
user: User
|
|
622
|
+
|
|
623
|
+
""""""
|
|
624
|
+
name: String
|
|
625
|
+
|
|
626
|
+
""""""
|
|
627
|
+
version: String
|
|
628
|
+
|
|
629
|
+
""""""
|
|
630
|
+
identifier: String
|
|
631
|
+
scopes: GenericScalar
|
|
632
|
+
|
|
633
|
+
""""""
|
|
634
|
+
graph: Graph
|
|
635
|
+
|
|
636
|
+
""""""
|
|
637
|
+
logo: String
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
"""The root Mutation"""
|
|
641
|
+
type Mutation {
|
|
642
|
+
deleteApplication(
|
|
643
|
+
"""The ID of the application"""
|
|
644
|
+
clientId: ID!
|
|
645
|
+
): DeleteApplicationResult
|
|
646
|
+
createApplication(
|
|
647
|
+
"""The Grant Type"""
|
|
648
|
+
grantType: GrantType!
|
|
649
|
+
|
|
650
|
+
"""The Name of this Application"""
|
|
651
|
+
name: String!
|
|
652
|
+
|
|
653
|
+
"""Available Redirect Uris for this Grant (required for implicit)"""
|
|
654
|
+
redirectUris: [String]
|
|
655
|
+
): Application
|
|
656
|
+
createUserLoginApp(
|
|
657
|
+
"""The Name of this Application"""
|
|
658
|
+
name: String!
|
|
659
|
+
|
|
660
|
+
"""Available Redirect Uris for this Grant (required for code)"""
|
|
661
|
+
redirectUris: [String]
|
|
662
|
+
): Application
|
|
663
|
+
createUserApp(
|
|
664
|
+
"""The Identifier of this Application"""
|
|
665
|
+
identifier: String!
|
|
666
|
+
|
|
667
|
+
"""The Name of this Application"""
|
|
668
|
+
name: String!
|
|
669
|
+
|
|
670
|
+
"""The Version of this Application"""
|
|
671
|
+
version: String!
|
|
672
|
+
): CreatedBackendApp
|
|
673
|
+
changeMe(email: Email, firstName: String, lastName: String): User
|
|
674
|
+
updateUser(active: Boolean, avatar: Upload, email: Email, firstName: String, id: ID!, lastName: String): User
|
|
675
|
+
updateGroup(
|
|
676
|
+
avatar: Upload
|
|
677
|
+
id: ID!
|
|
678
|
+
|
|
679
|
+
"""The name of the group (non unique)"""
|
|
680
|
+
name: String
|
|
681
|
+
): Group
|
|
682
|
+
deleteChannel(
|
|
683
|
+
"""The ID of the application"""
|
|
684
|
+
token: String!
|
|
685
|
+
): DeleteChannelResult
|
|
686
|
+
createChannel(
|
|
687
|
+
"""The channel you want to create or update"""
|
|
688
|
+
name: String
|
|
689
|
+
|
|
690
|
+
"""The expo token"""
|
|
691
|
+
token: String!
|
|
692
|
+
): Channel
|
|
693
|
+
publishToChannel(channel: ID!, message: String!, title: String!): PublishResult
|
|
694
|
+
notifyUser(channels: [String], message: String!, title: String!, user: ID!): [PublishResult]
|
|
695
|
+
|
|
696
|
+
"""
|
|
697
|
+
Create an Comment
|
|
698
|
+
|
|
699
|
+
This mutation creates a comment. It takes a commentable_id and a commentable_type.
|
|
700
|
+
If this is the first comment on the commentable, it will create a new comment thread.
|
|
701
|
+
If there is already a comment thread, it will add the comment to the thread (by setting
|
|
702
|
+
it's parent to the last parent comment in the thread).
|
|
703
|
+
|
|
704
|
+
CreateComment takes a list of Descendents, which are the comment tree. The Descendents
|
|
705
|
+
are a recursive structure, where each Descendent can have a list of Descendents as children.
|
|
706
|
+
The Descendents are either a Leaf, which is a text node, or a MentionDescendent, which is a
|
|
707
|
+
reference to another user on the platform.
|
|
708
|
+
|
|
709
|
+
Please convert your comment tree to a list of Descendents before sending it to the server.
|
|
710
|
+
TODO: Add a converter from a comment tree to a list of Descendents.
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
(only signed in users)
|
|
714
|
+
"""
|
|
715
|
+
createComment(
|
|
716
|
+
"""The comment tree"""
|
|
717
|
+
descendents: [DescendendInput]!
|
|
718
|
+
|
|
719
|
+
"""The commentable identifier"""
|
|
720
|
+
identifier: String!
|
|
721
|
+
|
|
722
|
+
"""Should we notify the mentioned users?"""
|
|
723
|
+
notifyMentions: Boolean
|
|
724
|
+
|
|
725
|
+
"""The Representationss this sROI belongs to"""
|
|
726
|
+
object: ID!
|
|
727
|
+
|
|
728
|
+
"""The parent comment"""
|
|
729
|
+
parent: ID
|
|
730
|
+
): Comment
|
|
731
|
+
|
|
732
|
+
"""
|
|
733
|
+
Reply to an Comment
|
|
734
|
+
|
|
735
|
+
This mutation creates a comment. It takes a commentable_id and a commentable_type.
|
|
736
|
+
If this is the first comment on the commentable, it will create a new comment thread.
|
|
737
|
+
If there is already a comment thread, it will add the comment to the thread (by setting
|
|
738
|
+
it's parent to the last parent comment in the thread).
|
|
739
|
+
|
|
740
|
+
CreateComment takes a list of Descendents, which are the comment tree. The Descendents
|
|
741
|
+
are a recursive structure, where each Descendent can have a list of Descendents as children.
|
|
742
|
+
The Descendents are either a Leaf, which is a text node, or a MentionDescendent, which is a
|
|
743
|
+
reference to another user on the platform.
|
|
744
|
+
|
|
745
|
+
Please convert your comment tree to a list of Descendents before sending it to the server.
|
|
746
|
+
TODO: Add a converter from a comment tree to a list of Descendents.
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
(only signed in users)
|
|
750
|
+
"""
|
|
751
|
+
replyTo(
|
|
752
|
+
"""The comment tree"""
|
|
753
|
+
descendents: [DescendendInput]!
|
|
754
|
+
|
|
755
|
+
"""The parent comment"""
|
|
756
|
+
parent: ID!
|
|
757
|
+
): Comment
|
|
758
|
+
|
|
759
|
+
"""
|
|
760
|
+
Create an Comment
|
|
761
|
+
|
|
762
|
+
This mutation resolves a comment. By resolving a comment, it will be marked as resolved,
|
|
763
|
+
and the user that resolved it will be set as the resolver.
|
|
764
|
+
|
|
765
|
+
(only signed in users)
|
|
766
|
+
"""
|
|
767
|
+
resolveComment(
|
|
768
|
+
"""The comments id"""
|
|
769
|
+
id: ID!
|
|
770
|
+
|
|
771
|
+
"""
|
|
772
|
+
Should we imitate the resolving by another user (requires imitate permission)
|
|
773
|
+
"""
|
|
774
|
+
imitate: ID
|
|
775
|
+
): Comment
|
|
776
|
+
createPrivateClient(
|
|
777
|
+
"""The Name of this Elemet"""
|
|
778
|
+
identifier: String!
|
|
779
|
+
|
|
780
|
+
"""The ID of the User to imitate (only managers can do this)"""
|
|
781
|
+
imitate: ID
|
|
782
|
+
|
|
783
|
+
"""The Logo of this Apps"""
|
|
784
|
+
logoUrl: String
|
|
785
|
+
|
|
786
|
+
"""A list of potential scopes for this app"""
|
|
787
|
+
scopes: [String]!
|
|
788
|
+
|
|
789
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
790
|
+
version: String!
|
|
791
|
+
): Client
|
|
792
|
+
createPublicClient(
|
|
793
|
+
"""The Name of this Elemet"""
|
|
794
|
+
identifier: String!
|
|
795
|
+
|
|
796
|
+
"""The kind of this app"""
|
|
797
|
+
kind: PublicFaktType!
|
|
798
|
+
|
|
799
|
+
"""The Logo of this Apps"""
|
|
800
|
+
logoUrl: String
|
|
801
|
+
|
|
802
|
+
"""A list of potential redirects for this app"""
|
|
803
|
+
redirectUris: [String]!
|
|
804
|
+
|
|
805
|
+
"""A list of potential scopes for this app"""
|
|
806
|
+
scopes: [String]!
|
|
807
|
+
|
|
808
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
809
|
+
version: String!
|
|
810
|
+
): Client
|
|
811
|
+
deleteClient(
|
|
812
|
+
"""The ID of the application"""
|
|
813
|
+
id: ID!
|
|
814
|
+
): DeleteClientResult
|
|
815
|
+
updateApp(
|
|
816
|
+
"""The id of the app"""
|
|
817
|
+
id: ID!
|
|
818
|
+
|
|
819
|
+
"""The Logo of this Apps"""
|
|
820
|
+
logo: Upload
|
|
821
|
+
): App
|
|
822
|
+
createLinker(
|
|
823
|
+
"""The Filters of this Elemet"""
|
|
824
|
+
filters: [FilterInput]!
|
|
825
|
+
|
|
826
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
827
|
+
name: String!
|
|
828
|
+
|
|
829
|
+
"""The Priority of this Elemet"""
|
|
830
|
+
priority: Int!
|
|
831
|
+
|
|
832
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
833
|
+
template: ID!
|
|
834
|
+
): Linker
|
|
835
|
+
deleteLinker(
|
|
836
|
+
"""The ID of the application"""
|
|
837
|
+
id: ID!
|
|
838
|
+
): DeleteLinkerResult
|
|
839
|
+
createConfiguration(
|
|
840
|
+
"""The Name of this Elemet"""
|
|
841
|
+
body: String!
|
|
842
|
+
|
|
843
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
844
|
+
name: String!
|
|
845
|
+
): Configuration
|
|
846
|
+
deleteConfiguration(
|
|
847
|
+
"""The ID of the application"""
|
|
848
|
+
id: ID!
|
|
849
|
+
): DeleteConfigurationResult
|
|
850
|
+
createElement(
|
|
851
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
852
|
+
graph: ID!
|
|
853
|
+
|
|
854
|
+
"""The Name of this Elemet"""
|
|
855
|
+
name: String!
|
|
856
|
+
|
|
857
|
+
"""The configuraiton"""
|
|
858
|
+
values: Config!
|
|
859
|
+
): Element
|
|
860
|
+
createGraph(
|
|
861
|
+
"""The Name of this Elemet"""
|
|
862
|
+
name: String!
|
|
863
|
+
): Graph
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
type DeleteApplicationResult {
|
|
867
|
+
clientId: ID
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
enum GrantType {
|
|
871
|
+
CLIENT_CREDENTIALS
|
|
872
|
+
IMPLICIT
|
|
873
|
+
PASSWORD
|
|
874
|
+
AUTHORIZATION_CODE
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
type CreatedBackendApp {
|
|
878
|
+
clientSecret: String
|
|
879
|
+
clientId: String
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
scalar Email
|
|
883
|
+
|
|
884
|
+
"""
|
|
885
|
+
Create scalar that ignores normal serialization/deserialization, since
|
|
886
|
+
that will be handled by the multipart request spec
|
|
887
|
+
"""
|
|
888
|
+
scalar Upload
|
|
889
|
+
|
|
890
|
+
type DeleteChannelResult {
|
|
891
|
+
token: String
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
type PublishResult {
|
|
895
|
+
channel: Channel
|
|
896
|
+
status: String
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
input DescendendInput {
|
|
900
|
+
children: [DescendendInput]
|
|
901
|
+
|
|
902
|
+
"""The type of the descendent"""
|
|
903
|
+
kind: DescendendKind
|
|
904
|
+
|
|
905
|
+
"""The user that is mentioned"""
|
|
906
|
+
user: String
|
|
907
|
+
|
|
908
|
+
"""Is this a bold leaf?"""
|
|
909
|
+
bold: Boolean
|
|
910
|
+
|
|
911
|
+
"""Is this a italic leaf?"""
|
|
912
|
+
italic: Boolean
|
|
913
|
+
|
|
914
|
+
"""Is this a code leaf?"""
|
|
915
|
+
code: Boolean
|
|
916
|
+
|
|
917
|
+
"""The text of the leaf"""
|
|
918
|
+
text: String
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
"""The kind of the comment"""
|
|
922
|
+
enum DescendendKind {
|
|
923
|
+
MENTION
|
|
924
|
+
PARAGRAPH
|
|
925
|
+
LEAF
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
enum PublicFaktType {
|
|
929
|
+
DEKSTOP
|
|
930
|
+
WEBSITE
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
type DeleteClientResult {
|
|
934
|
+
id: ID
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
input FilterInput {
|
|
938
|
+
method: FilterMethod!
|
|
939
|
+
value: String!
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
type DeleteLinkerResult {
|
|
943
|
+
id: ID
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
type DeleteConfigurationResult {
|
|
947
|
+
id: ID
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
"""The configuration"""
|
|
951
|
+
scalar Config
|
|
952
|
+
|
|
953
|
+
"""The root Subscriptions"""
|
|
954
|
+
type Subscription {
|
|
955
|
+
"My Mentions\n\n Returns an event of a new mention for the user if the user\n was mentioned in a comment.\n "
|
|
956
|
+
mymentions(
|
|
957
|
+
"""The identifier of the objects you want to listen to?"""
|
|
958
|
+
identifier: String
|
|
959
|
+
): MentionEvent
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
type MentionEvent {
|
|
963
|
+
deleted: ID
|
|
964
|
+
update: Comment
|
|
965
|
+
create: Comment
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
"""A node in the comment tree"""
|
|
969
|
+
interface CommentNode {
|
|
970
|
+
children: [Descendent]
|
|
971
|
+
untypedChildren: GenericScalar
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
"""A leaf in the comment tree. Representations some sort of text"""
|
|
975
|
+
type Leaf implements Descendent {
|
|
976
|
+
typename: String
|
|
977
|
+
|
|
978
|
+
"""Is this a bold leaf?"""
|
|
979
|
+
bold: Boolean
|
|
980
|
+
|
|
981
|
+
"""Is this a italic leaf?"""
|
|
982
|
+
italic: Boolean
|
|
983
|
+
|
|
984
|
+
"""Is this a code leaf?"""
|
|
985
|
+
code: Boolean
|
|
986
|
+
|
|
987
|
+
"""The text of the leaf"""
|
|
988
|
+
text: String
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
"""
|
|
992
|
+
A mention in the comment tree. This is a reference to another user on the platform
|
|
993
|
+
"""
|
|
994
|
+
type MentionDescendent implements CommentNode & Descendent {
|
|
995
|
+
children: [Descendent]
|
|
996
|
+
untypedChildren: GenericScalar
|
|
997
|
+
typename: String
|
|
998
|
+
|
|
999
|
+
"""The user that is mentioned"""
|
|
1000
|
+
user: User!
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
"""
|
|
1004
|
+
A paragraph in the comment tree. This paragraph contains other nodes (list nodes)
|
|
1005
|
+
"""
|
|
1006
|
+
type ParagraphDescendent implements CommentNode & Descendent {
|
|
1007
|
+
children: [Descendent]
|
|
1008
|
+
untypedChildren: GenericScalar
|
|
1009
|
+
typename: String
|
|
1010
|
+
|
|
1011
|
+
"""The size of the paragraph"""
|
|
1012
|
+
size: String
|
|
1013
|
+
}
|