Move crash-report object to it's own struct
authorSamuel Attard <samuel.r.attard@gmail.com>
Tue, 8 Nov 2016 04:54:34 +0000 (15:54 +1100)
committerZeke Sikelianos <zeke@sikelianos.com>
Fri, 11 Nov 2016 17:22:55 +0000 (09:22 -0800)
docs/api/crash-reporter.md
docs/api/structures/crash-report.md [new file with mode: 0644]

index 32d27b8..171a099 100644 (file)
@@ -58,20 +58,14 @@ crash reports.
 
 ### `crashReporter.getLastCrashReport()`
 
-Returns `Object`:
-
-* `date` String
-* `ID` Integer
+Returns [`CrashReport`](structures/crash-report.md):
 
 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.
 
 ### `crashReporter.getUploadedReports()`
 
-Returns `Object[]`:
-
-* `date` String
-* `ID` Integer
+Returns [`CrashReport[]`](structures/crash-report.md):
 
 Returns all uploaded crash reports. Each report contains the date and uploaded
 ID.
diff --git a/docs/api/structures/crash-report.md b/docs/api/structures/crash-report.md
new file mode 100644 (file)
index 0000000..b26d4ad
--- /dev/null
@@ -0,0 +1,4 @@
+# CrashReport Object
+
+* `date` String
+* `ID` Integer
\ No newline at end of file