consolidated downloads dir, nextcloud origin, upload route and chat timestamps; added webdav path tests

This commit is contained in:
2026-09-27 21:19:50 +02:00
parent aca86c506a
commit c455bb1cae
40 changed files with 464 additions and 282 deletions
@@ -1,6 +1,6 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'files_state.dart';
@@ -9,6 +9,7 @@ part of 'files_state.dart';
// FreezedGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// dart format off
T _$identity<T>(T value) => value;
@@ -28,16 +29,21 @@ $FilesStateCopyWith<FilesState> get copyWith => _$FilesStateCopyWithImpl<FilesSt
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is FilesState&&const DeepCollectionEquality().equals(other.currentPath, currentPath)&&(identical(other.listing, listing) || other.listing == listing));
final _this = this as FilesState;
return identical(this, other) || (other.runtimeType == runtimeType&&other is FilesState&&const DeepCollectionEquality().equals(other.currentPath, _this.currentPath)&&(identical(other.listing, _this.listing) || other.listing == _this.listing));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(currentPath),listing);
int get hashCode {
final _this = this as FilesState;
return Object.hash(runtimeType,const DeepCollectionEquality().hash(_this.currentPath),_this.listing);
}
@override
String toString() {
return 'FilesState(currentPath: $currentPath, listing: $listing)';
final _this = this as FilesState;
return 'FilesState(currentPath: ${_this.currentPath}, listing: ${_this.listing})';
}
@@ -66,7 +72,7 @@ class _$FilesStateCopyWithImpl<$Res>
/// Create a copy of FilesState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? currentPath = null,Object? listing = freezed,}) {
return _then(_self.copyWith(
return _then(FilesState(
currentPath: null == currentPath ? _self.currentPath : currentPath // ignore: cast_nullable_to_non_nullable
as List<String>,listing: freezed == listing ? _self.listing : listing // ignore: cast_nullable_to_non_nullable
as ListFilesResponse?,
@@ -210,7 +216,7 @@ return $default(_that.currentPath,_that.listing);case _:
@JsonSerializable()
class _FilesState implements FilesState {
const _FilesState({final List<String> currentPath = const <String>[], this.listing}): _currentPath = currentPath;
const _FilesState({ List<String> currentPath = const <String>[], this.listing}): _currentPath = currentPath;
factory _FilesState.fromJson(Map<String, dynamic> json) => _$FilesStateFromJson(json);
final List<String> _currentPath;
@@ -235,16 +241,18 @@ Map<String, dynamic> toJson() {
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _FilesState&&const DeepCollectionEquality().equals(other._currentPath, _currentPath)&&(identical(other.listing, listing) || other.listing == listing));
return identical(this, other) || (other.runtimeType == runtimeType&&other is _FilesState&&const DeepCollectionEquality().equals(other.currentPath, _currentPath)&&(identical(other.listing, listing) || other.listing == listing));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,const DeepCollectionEquality().hash(_currentPath),listing);
int get hashCode {
return Object.hash(runtimeType,const DeepCollectionEquality().hash(_currentPath),listing);
}
@override
String toString() {
return 'FilesState(currentPath: $currentPath, listing: $listing)';
return 'FilesState(currentPath: $currentPath, listing: $listing)';
}