-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathschema_def.graphql
60 lines (57 loc) · 1.54 KB
/
schema_def.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
# A list of options for the type of the report
enum ReportType {
STATE
ACTION
STATES
ACTIONS
}
type Report {
# Report ID
id: ID!
# Type of the report, can be: STATE, ACTION, STATES, ACTIONS
type: ReportType
# Briefly what happened
title: String
# Details supplied by the user
description: String
# The last dispatched action before the report was sent
action: String
# Stringified actions or the state or both, which should be loaded the application to reproduce the exact behavior
payload: String
# Stringified preloaded state object. Could be the initial state of the app or committed state (after dispatching COMMIT action or reaching maxAge)
preloadedState: String
# Screenshot url or blob as a string
screenshot: String
# User Agent String
userAgent: String
# Application version to group the reports and versioning
version: String
# Used to identify the user who sent the report
userId: String
# More detailed data about the user, usually it's a stringified object
user: String
# Everything else you want to send
meta: String
# Error message which invoked sending the report
exception: String
# Id to identify the store in case there are multiple stores
instanceId: String
# Timestamp when the report was added
added: String
# Id to identify the application (from apps table)
appId: ID
}
# Explore GraphQL query schema
type Query {
# List all reports
reports: [Report]
# Get a report by ID
report(
# Report ID
id: ID!
): Report
}
schema {
query: Query
#mutation: Mutation
}