mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: build runner error
This commit is contained in:
parent
a4162dc2ad
commit
0d6d482630
@ -16,12 +16,16 @@ class $AssetsBrandingGen {
|
|||||||
AssetGenImage get spotubeLogoLight =>
|
AssetGenImage get spotubeLogoLight =>
|
||||||
const AssetGenImage('assets/branding/spotube-logo-light.png');
|
const AssetGenImage('assets/branding/spotube-logo-light.png');
|
||||||
|
|
||||||
|
/// File path: assets/branding/spotube-logo.ico
|
||||||
|
String get spotubeLogoIco => 'assets/branding/spotube-logo.ico';
|
||||||
|
|
||||||
/// File path: assets/branding/spotube-logo.png
|
/// File path: assets/branding/spotube-logo.png
|
||||||
AssetGenImage get spotubeLogo =>
|
AssetGenImage get spotubeLogoPng =>
|
||||||
const AssetGenImage('assets/branding/spotube-logo.png');
|
const AssetGenImage('assets/branding/spotube-logo.png');
|
||||||
|
|
||||||
/// List of all assets
|
/// List of all assets
|
||||||
List<AssetGenImage> get values => [spotubeLogoLight, spotubeLogo];
|
List<dynamic> get values =>
|
||||||
|
[spotubeLogoLight, spotubeLogoIco, spotubeLogoPng];
|
||||||
}
|
}
|
||||||
|
|
||||||
class $AssetsImagesGen {
|
class $AssetsImagesGen {
|
||||||
|
@ -3889,7 +3889,9 @@ class $MetadataPluginsTableTable extends MetadataPluginsTable
|
|||||||
@override
|
@override
|
||||||
late final GeneratedColumn<String> pluginApiVersion = GeneratedColumn<String>(
|
late final GeneratedColumn<String> pluginApiVersion = GeneratedColumn<String>(
|
||||||
'plugin_api_version', aliasedName, false,
|
'plugin_api_version', aliasedName, false,
|
||||||
type: DriftSqlType.string, requiredDuringInsert: true);
|
type: DriftSqlType.string,
|
||||||
|
requiredDuringInsert: false,
|
||||||
|
defaultValue: const Constant('1.0.0'));
|
||||||
@override
|
@override
|
||||||
List<GeneratedColumn> get $columns => [
|
List<GeneratedColumn> get $columns => [
|
||||||
id,
|
id,
|
||||||
@ -3969,8 +3971,6 @@ class $MetadataPluginsTableTable extends MetadataPluginsTable
|
|||||||
_pluginApiVersionMeta,
|
_pluginApiVersionMeta,
|
||||||
pluginApiVersion.isAcceptableOrUnknown(
|
pluginApiVersion.isAcceptableOrUnknown(
|
||||||
data['plugin_api_version']!, _pluginApiVersionMeta));
|
data['plugin_api_version']!, _pluginApiVersionMeta));
|
||||||
} else if (isInserting) {
|
|
||||||
context.missing(_pluginApiVersionMeta);
|
|
||||||
}
|
}
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
@ -4245,15 +4245,14 @@ class MetadataPluginsTableCompanion
|
|||||||
required List<String> abilities,
|
required List<String> abilities,
|
||||||
this.selected = const Value.absent(),
|
this.selected = const Value.absent(),
|
||||||
this.repository = const Value.absent(),
|
this.repository = const Value.absent(),
|
||||||
required String pluginApiVersion,
|
this.pluginApiVersion = const Value.absent(),
|
||||||
}) : name = Value(name),
|
}) : name = Value(name),
|
||||||
description = Value(description),
|
description = Value(description),
|
||||||
version = Value(version),
|
version = Value(version),
|
||||||
author = Value(author),
|
author = Value(author),
|
||||||
entryPoint = Value(entryPoint),
|
entryPoint = Value(entryPoint),
|
||||||
apis = Value(apis),
|
apis = Value(apis),
|
||||||
abilities = Value(abilities),
|
abilities = Value(abilities);
|
||||||
pluginApiVersion = Value(pluginApiVersion);
|
|
||||||
static Insertable<MetadataPluginsTableData> custom({
|
static Insertable<MetadataPluginsTableData> custom({
|
||||||
Expression<int>? id,
|
Expression<int>? id,
|
||||||
Expression<String>? name,
|
Expression<String>? name,
|
||||||
@ -6365,7 +6364,7 @@ typedef $$MetadataPluginsTableTableCreateCompanionBuilder
|
|||||||
required List<String> abilities,
|
required List<String> abilities,
|
||||||
Value<bool> selected,
|
Value<bool> selected,
|
||||||
Value<String?> repository,
|
Value<String?> repository,
|
||||||
required String pluginApiVersion,
|
Value<String> pluginApiVersion,
|
||||||
});
|
});
|
||||||
typedef $$MetadataPluginsTableTableUpdateCompanionBuilder
|
typedef $$MetadataPluginsTableTableUpdateCompanionBuilder
|
||||||
= MetadataPluginsTableCompanion Function({
|
= MetadataPluginsTableCompanion Function({
|
||||||
@ -6583,7 +6582,7 @@ class $$MetadataPluginsTableTableTableManager extends RootTableManager<
|
|||||||
required List<String> abilities,
|
required List<String> abilities,
|
||||||
Value<bool> selected = const Value.absent(),
|
Value<bool> selected = const Value.absent(),
|
||||||
Value<String?> repository = const Value.absent(),
|
Value<String?> repository = const Value.absent(),
|
||||||
required String pluginApiVersion,
|
Value<String> pluginApiVersion = const Value.absent(),
|
||||||
}) =>
|
}) =>
|
||||||
MetadataPluginsTableCompanion.insert(
|
MetadataPluginsTableCompanion.insert(
|
||||||
id: id,
|
id: id,
|
||||||
|
Loading…
Reference in New Issue
Block a user