Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawk.api",
"version": "1.4.3",
"version": "1.4.4",
"main": "index.ts",
"license": "BUSL-1.1",
"scripts": {
Expand Down
35 changes: 8 additions & 27 deletions src/typeDefs/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,29 +116,6 @@ type EventUser {
photo: String
}

"""
Breadcrumb severity level
"""
enum BreadcrumbLevel {
fatal
error
warning
info
debug
}

"""
Breadcrumb type - controls categorization and UI appearance
"""
enum BreadcrumbType {
default
request
ui
navigation
logic
error
}

"""
Single breadcrumb entry - represents an event that occurred before the error
"""
Expand All @@ -149,9 +126,11 @@ type Breadcrumb {
timestamp: Float!

"""
Type of breadcrumb - controls UI categorization
Type of breadcrumb - controls UI categorization.
Common values: default, request, ui, navigation, logic, error.
Accepts any string since SDK users may send custom types.
"""
type: BreadcrumbType
type: String

"""
Category of the event - more specific than type
Expand All @@ -164,9 +143,11 @@ type Breadcrumb {
message: String

"""
Severity level of the breadcrumb
Severity level of the breadcrumb.
Common values: fatal, error, warning, info, debug.
Accepts any string since SDK users may send custom levels.
"""
level: BreadcrumbLevel
level: String

"""
Arbitrary key-value data associated with the breadcrumb
Expand Down
Loading