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

+75 -3
View File
@@ -3535,11 +3535,23 @@ class $ProjectViewConfigurationsTable extends ProjectViewConfigurations
type: DriftSqlType.double,
requiredDuringInsert: false,
);
static const VerificationMeta _mediaWidthMeta = const VerificationMeta(
'mediaWidth',
);
@override
late final GeneratedColumn<double> mediaWidth = GeneratedColumn<double>(
'media_width',
aliasedName,
true,
type: DriftSqlType.double,
requiredDuringInsert: false,
);
@override
List<GeneratedColumn> get $columns => [
projectId,
propertiesOpen,
timelineHeight,
mediaWidth,
];
@override
String get aliasedName => _alias ?? actualTableName;
@@ -3581,6 +3593,12 @@ class $ProjectViewConfigurationsTable extends ProjectViewConfigurations
),
);
}
if (data.containsKey('media_width')) {
context.handle(
_mediaWidthMeta,
mediaWidth.isAcceptableOrUnknown(data['media_width']!, _mediaWidthMeta),
);
}
return context;
}
@@ -3605,6 +3623,10 @@ class $ProjectViewConfigurationsTable extends ProjectViewConfigurations
DriftSqlType.double,
data['${effectivePrefix}timeline_height'],
),
mediaWidth: attachedDatabase.typeMapping.read(
DriftSqlType.double,
data['${effectivePrefix}media_width'],
),
);
}
@@ -3619,10 +3641,12 @@ class ProjectViewConfiguration extends DataClass
final String projectId;
final bool propertiesOpen;
final double? timelineHeight;
final double? mediaWidth;
const ProjectViewConfiguration({
required this.projectId,
required this.propertiesOpen,
this.timelineHeight,
this.mediaWidth,
});
@override
Map<String, Expression> toColumns(bool nullToAbsent) {
@@ -3632,6 +3656,9 @@ class ProjectViewConfiguration extends DataClass
if (!nullToAbsent || timelineHeight != null) {
map['timeline_height'] = Variable<double>(timelineHeight);
}
if (!nullToAbsent || mediaWidth != null) {
map['media_width'] = Variable<double>(mediaWidth);
}
return map;
}
@@ -3642,6 +3669,9 @@ class ProjectViewConfiguration extends DataClass
timelineHeight: timelineHeight == null && nullToAbsent
? const Value.absent()
: Value(timelineHeight),
mediaWidth: mediaWidth == null && nullToAbsent
? const Value.absent()
: Value(mediaWidth),
);
}
@@ -3654,6 +3684,7 @@ class ProjectViewConfiguration extends DataClass
projectId: serializer.fromJson<String>(json['projectId']),
propertiesOpen: serializer.fromJson<bool>(json['propertiesOpen']),
timelineHeight: serializer.fromJson<double?>(json['timelineHeight']),
mediaWidth: serializer.fromJson<double?>(json['mediaWidth']),
);
}
@override
@@ -3663,6 +3694,7 @@ class ProjectViewConfiguration extends DataClass
'projectId': serializer.toJson<String>(projectId),
'propertiesOpen': serializer.toJson<bool>(propertiesOpen),
'timelineHeight': serializer.toJson<double?>(timelineHeight),
'mediaWidth': serializer.toJson<double?>(mediaWidth),
};
}
@@ -3670,12 +3702,14 @@ class ProjectViewConfiguration extends DataClass
String? projectId,
bool? propertiesOpen,
Value<double?> timelineHeight = const Value.absent(),
Value<double?> mediaWidth = const Value.absent(),
}) => ProjectViewConfiguration(
projectId: projectId ?? this.projectId,
propertiesOpen: propertiesOpen ?? this.propertiesOpen,
timelineHeight: timelineHeight.present
? timelineHeight.value
: this.timelineHeight,
mediaWidth: mediaWidth.present ? mediaWidth.value : this.mediaWidth,
);
ProjectViewConfiguration copyWithCompanion(
ProjectViewConfigurationsCompanion data,
@@ -3688,6 +3722,9 @@ class ProjectViewConfiguration extends DataClass
timelineHeight: data.timelineHeight.present
? data.timelineHeight.value
: this.timelineHeight,
mediaWidth: data.mediaWidth.present
? data.mediaWidth.value
: this.mediaWidth,
);
}
@@ -3696,20 +3733,23 @@ class ProjectViewConfiguration extends DataClass
return (StringBuffer('ProjectViewConfiguration(')
..write('projectId: $projectId, ')
..write('propertiesOpen: $propertiesOpen, ')
..write('timelineHeight: $timelineHeight')
..write('timelineHeight: $timelineHeight, ')
..write('mediaWidth: $mediaWidth')
..write(')'))
.toString();
}
@override
int get hashCode => Object.hash(projectId, propertiesOpen, timelineHeight);
int get hashCode =>
Object.hash(projectId, propertiesOpen, timelineHeight, mediaWidth);
@override
bool operator ==(Object other) =>
identical(this, other) ||
(other is ProjectViewConfiguration &&
other.projectId == this.projectId &&
other.propertiesOpen == this.propertiesOpen &&
other.timelineHeight == this.timelineHeight);
other.timelineHeight == this.timelineHeight &&
other.mediaWidth == this.mediaWidth);
}
class ProjectViewConfigurationsCompanion
@@ -3717,17 +3757,20 @@ class ProjectViewConfigurationsCompanion
final Value<String> projectId;
final Value<bool> propertiesOpen;
final Value<double?> timelineHeight;
final Value<double?> mediaWidth;
final Value<int> rowid;
const ProjectViewConfigurationsCompanion({
this.projectId = const Value.absent(),
this.propertiesOpen = const Value.absent(),
this.timelineHeight = const Value.absent(),
this.mediaWidth = const Value.absent(),
this.rowid = const Value.absent(),
});
ProjectViewConfigurationsCompanion.insert({
required String projectId,
required bool propertiesOpen,
this.timelineHeight = const Value.absent(),
this.mediaWidth = const Value.absent(),
this.rowid = const Value.absent(),
}) : projectId = Value(projectId),
propertiesOpen = Value(propertiesOpen);
@@ -3735,12 +3778,14 @@ class ProjectViewConfigurationsCompanion
Expression<String>? projectId,
Expression<bool>? propertiesOpen,
Expression<double>? timelineHeight,
Expression<double>? mediaWidth,
Expression<int>? rowid,
}) {
return RawValuesInsertable({
if (projectId != null) 'project_id': projectId,
if (propertiesOpen != null) 'properties_open': propertiesOpen,
if (timelineHeight != null) 'timeline_height': timelineHeight,
if (mediaWidth != null) 'media_width': mediaWidth,
if (rowid != null) 'rowid': rowid,
});
}
@@ -3749,12 +3794,14 @@ class ProjectViewConfigurationsCompanion
Value<String>? projectId,
Value<bool>? propertiesOpen,
Value<double?>? timelineHeight,
Value<double?>? mediaWidth,
Value<int>? rowid,
}) {
return ProjectViewConfigurationsCompanion(
projectId: projectId ?? this.projectId,
propertiesOpen: propertiesOpen ?? this.propertiesOpen,
timelineHeight: timelineHeight ?? this.timelineHeight,
mediaWidth: mediaWidth ?? this.mediaWidth,
rowid: rowid ?? this.rowid,
);
}
@@ -3771,6 +3818,9 @@ class ProjectViewConfigurationsCompanion
if (timelineHeight.present) {
map['timeline_height'] = Variable<double>(timelineHeight.value);
}
if (mediaWidth.present) {
map['media_width'] = Variable<double>(mediaWidth.value);
}
if (rowid.present) {
map['rowid'] = Variable<int>(rowid.value);
}
@@ -3783,6 +3833,7 @@ class ProjectViewConfigurationsCompanion
..write('projectId: $projectId, ')
..write('propertiesOpen: $propertiesOpen, ')
..write('timelineHeight: $timelineHeight, ')
..write('mediaWidth: $mediaWidth, ')
..write('rowid: $rowid')
..write(')'))
.toString();
@@ -6782,6 +6833,7 @@ typedef $$ProjectViewConfigurationsTableCreateCompanionBuilder =
required String projectId,
required bool propertiesOpen,
Value<double?> timelineHeight,
Value<double?> mediaWidth,
Value<int> rowid,
});
typedef $$ProjectViewConfigurationsTableUpdateCompanionBuilder =
@@ -6789,6 +6841,7 @@ typedef $$ProjectViewConfigurationsTableUpdateCompanionBuilder =
Value<String> projectId,
Value<bool> propertiesOpen,
Value<double?> timelineHeight,
Value<double?> mediaWidth,
Value<int> rowid,
});
@@ -6815,6 +6868,11 @@ class $$ProjectViewConfigurationsTableFilterComposer
column: $table.timelineHeight,
builder: (column) => ColumnFilters(column),
);
ColumnFilters<double> get mediaWidth => $composableBuilder(
column: $table.mediaWidth,
builder: (column) => ColumnFilters(column),
);
}
class $$ProjectViewConfigurationsTableOrderingComposer
@@ -6840,6 +6898,11 @@ class $$ProjectViewConfigurationsTableOrderingComposer
column: $table.timelineHeight,
builder: (column) => ColumnOrderings(column),
);
ColumnOrderings<double> get mediaWidth => $composableBuilder(
column: $table.mediaWidth,
builder: (column) => ColumnOrderings(column),
);
}
class $$ProjectViewConfigurationsTableAnnotationComposer
@@ -6863,6 +6926,11 @@ class $$ProjectViewConfigurationsTableAnnotationComposer
column: $table.timelineHeight,
builder: (column) => column,
);
GeneratedColumn<double> get mediaWidth => $composableBuilder(
column: $table.mediaWidth,
builder: (column) => column,
);
}
class $$ProjectViewConfigurationsTableTableManager
@@ -6914,11 +6982,13 @@ class $$ProjectViewConfigurationsTableTableManager
Value<String> projectId = const Value.absent(),
Value<bool> propertiesOpen = const Value.absent(),
Value<double?> timelineHeight = const Value.absent(),
Value<double?> mediaWidth = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => ProjectViewConfigurationsCompanion(
projectId: projectId,
propertiesOpen: propertiesOpen,
timelineHeight: timelineHeight,
mediaWidth: mediaWidth,
rowid: rowid,
),
createCompanionCallback:
@@ -6926,11 +6996,13 @@ class $$ProjectViewConfigurationsTableTableManager
required String projectId,
required bool propertiesOpen,
Value<double?> timelineHeight = const Value.absent(),
Value<double?> mediaWidth = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => ProjectViewConfigurationsCompanion.insert(
projectId: projectId,
propertiesOpen: propertiesOpen,
timelineHeight: timelineHeight,
mediaWidth: mediaWidth,
rowid: rowid,
),
withReferenceMapper: (p0) => p0