Move editor UI into the app and release verified Core dependencies (#14)
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m47s
Gitea CI / Check code and tests (push) Successful in 7m15s
Gitea CI / Build Android APK (push) Successful in 4m6s
Gitea CI / Build Windows x64 app (push) Successful in 3m34s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m29s
Gitea CI / Gitea CI passed (push) Successful in 1s
Gitea Release / Prepare draft Release (push) Failing after 8s
Gitea Release / Upload Android to draft Release (push) Skipped
Gitea Release / Upload Windows to draft Release (push) Skipped
Gitea Release / Verify and publish Release (push) Skipped

This commit was merged in pull request #14.
This commit is contained in:
lingjhf committed 2026-10-11 19:59:40 +00:00
1 parent abc1868550
commit 06f1c26681
452 files changed
+43806 -2329

No files matched your search

@@ -12,318 +12,6 @@ part of 'picture_edits.dart';
// GENERATED CODE - DO NOT MODIFY BY HAND
T _$identity<T>(T value) => value;
/// @nodoc
mixin _$PictureEditTarget {
TimelineVersion get version;
int get tick;
/// Create a copy of PictureEditTarget
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$PictureEditTargetCopyWith<PictureEditTarget> get copyWith =>
_$PictureEditTargetCopyWithImpl<PictureEditTarget>(
this as PictureEditTarget,
_$identity,
);
@override
bool operator ==(Object other) {
final _this = this as PictureEditTarget;
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is PictureEditTarget &&
(identical(other.version, _this.version) ||
other.version == _this.version) &&
(identical(other.tick, _this.tick) || other.tick == _this.tick));
}
@override
int get hashCode {
final _this = this as PictureEditTarget;
return Object.hash(runtimeType, _this.version, _this.tick);
}
@override
String toString() {
final _this = this as PictureEditTarget;
return 'PictureEditTarget(version: ${_this.version}, tick: ${_this.tick})';
}
}
/// @nodoc
abstract mixin class $PictureEditTargetCopyWith<$Res> {
factory $PictureEditTargetCopyWith(
PictureEditTarget value,
$Res Function(PictureEditTarget) _then,
) = _$PictureEditTargetCopyWithImpl;
@useResult
$Res call({TimelineVersion version, int tick});
}
/// @nodoc
class _$PictureEditTargetCopyWithImpl<$Res>
implements $PictureEditTargetCopyWith<$Res> {
_$PictureEditTargetCopyWithImpl(this._self, this._then);
final PictureEditTarget _self;
final $Res Function(PictureEditTarget) _then;
/// Create a copy of PictureEditTarget
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({Object? version = null, Object? tick = null}) {
return _then(
PictureEditTarget(
version: null == version
? _self.version
: version // ignore: cast_nullable_to_non_nullable
as TimelineVersion,
tick: null == tick
? _self.tick
: tick // ignore: cast_nullable_to_non_nullable
as int,
),
);
}
}
/// Adds pattern-matching-related methods to [PictureEditTarget].
extension PictureEditTargetPatterns on PictureEditTarget {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
TResult Function(_PictureEditTarget value)? $default, {
required TResult orElse(),
}) {
final _that = this;
switch (_that) {
case _PictureEditTarget() when $default != null:
return $default(_that);
case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs
TResult map<TResult extends Object?>(
TResult Function(_PictureEditTarget value) $default,
) {
final _that = this;
switch (_that) {
case _PictureEditTarget():
return $default(_that);
case _:
throw StateError('Unexpected subclass');
}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
TResult? Function(_PictureEditTarget value)? $default,
) {
final _that = this;
switch (_that) {
case _PictureEditTarget() when $default != null:
return $default(_that);
case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>(
TResult Function(TimelineVersion version, int tick)? $default, {
required TResult orElse(),
}) {
final _that = this;
switch (_that) {
case _PictureEditTarget() when $default != null:
return $default(_that.version, _that.tick);
case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs
TResult when<TResult extends Object?>(
TResult Function(TimelineVersion version, int tick) $default,
) {
final _that = this;
switch (_that) {
case _PictureEditTarget():
return $default(_that.version, _that.tick);
case _:
throw StateError('Unexpected subclass');
}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
TResult? Function(TimelineVersion version, int tick)? $default,
) {
final _that = this;
switch (_that) {
case _PictureEditTarget() when $default != null:
return $default(_that.version, _that.tick);
case _:
return null;
}
}
}
/// @nodoc
class _PictureEditTarget implements PictureEditTarget {
const _PictureEditTarget({required this.version, required this.tick});
@override
final TimelineVersion version;
@override
final int tick;
/// Create a copy of PictureEditTarget
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$PictureEditTargetCopyWith<_PictureEditTarget> get copyWith =>
__$PictureEditTargetCopyWithImpl<_PictureEditTarget>(this, _$identity);
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _PictureEditTarget &&
(identical(other.version, version) || other.version == version) &&
(identical(other.tick, tick) || other.tick == tick));
}
@override
int get hashCode {
return Object.hash(runtimeType, version, tick);
}
@override
String toString() {
return 'PictureEditTarget(version: $version, tick: $tick)';
}
}
/// @nodoc
abstract mixin class _$PictureEditTargetCopyWith<$Res>
implements $PictureEditTargetCopyWith<$Res> {
factory _$PictureEditTargetCopyWith(
_PictureEditTarget value,
$Res Function(_PictureEditTarget) _then,
) = __$PictureEditTargetCopyWithImpl;
@override
@useResult
$Res call({TimelineVersion version, int tick});
}
/// @nodoc
class __$PictureEditTargetCopyWithImpl<$Res>
implements _$PictureEditTargetCopyWith<$Res> {
__$PictureEditTargetCopyWithImpl(this._self, this._then);
final _PictureEditTarget _self;
final $Res Function(_PictureEditTarget) _then;
/// Create a copy of PictureEditTarget
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$Res call({Object? version = null, Object? tick = null}) {
return _then(
_PictureEditTarget(
version: null == version
? _self.version
: version // ignore: cast_nullable_to_non_nullable
as TimelineVersion,
tick: null == tick
? _self.tick
: tick // ignore: cast_nullable_to_non_nullable
as int,
),
);
}
}
/// @nodoc
mixin _$PictureEditException {
PictureEditFailure get failure;