Move crash-report object to it's own struct
This commit is contained in:
parent
11f8923c43
commit
c1af62a3b3
2 changed files with 6 additions and 8 deletions
|
@ -58,20 +58,14 @@ crash reports.
|
||||||
|
|
||||||
### `crashReporter.getLastCrashReport()`
|
### `crashReporter.getLastCrashReport()`
|
||||||
|
|
||||||
Returns `Object`:
|
Returns [`CrashReport`](structures/crash-report.md):
|
||||||
|
|
||||||
* `date` String
|
|
||||||
* `ID` Integer
|
|
||||||
|
|
||||||
Returns the date and ID of the last crash report. If no crash reports have been
|
Returns the date and ID of the last crash report. If no crash reports have been
|
||||||
sent or the crash reporter has not been started, `null` is returned.
|
sent or the crash reporter has not been started, `null` is returned.
|
||||||
|
|
||||||
### `crashReporter.getUploadedReports()`
|
### `crashReporter.getUploadedReports()`
|
||||||
|
|
||||||
Returns `Object[]`:
|
Returns [`CrashReport[]`](structures/crash-report.md):
|
||||||
|
|
||||||
* `date` String
|
|
||||||
* `ID` Integer
|
|
||||||
|
|
||||||
Returns all uploaded crash reports. Each report contains the date and uploaded
|
Returns all uploaded crash reports. Each report contains the date and uploaded
|
||||||
ID.
|
ID.
|
||||||
|
|
4
docs/api/structures/crash-report.md
Normal file
4
docs/api/structures/crash-report.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# CrashReport Object
|
||||||
|
|
||||||
|
* `date` String
|
||||||
|
* `ID` Integer
|
Loading…
Reference in a new issue