mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2026-01-31 12:24:58 -06:00
Implemented error reporting solution
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class GithubErrorReport {
|
||||
final String? shortDescription;
|
||||
final String? longDescription;
|
||||
|
||||
GithubErrorReport({
|
||||
this.shortDescription,
|
||||
this.longDescription,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
class PaperlessServerInformation {
|
||||
static const String versionHeader = 'x-version';
|
||||
static const String apiVersionHeader = 'x-api-version';
|
||||
static const String hostHeader = 'x-served-by';
|
||||
final String? version;
|
||||
final int? apiVersion;
|
||||
final String? username;
|
||||
final String? host;
|
||||
PaperlessServerInformation({
|
||||
this.host,
|
||||
this.username,
|
||||
this.version = 'unknown',
|
||||
this.apiVersion = 1,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user