update project & gitignore
This commit is contained in:
@@ -1689,8 +1689,7 @@ final class $BangFrequencyReferences
|
||||
static BangTable _triggerTable(_$BangDatabase db) => db.bang.createAlias(
|
||||
$_aliasNameGenerator(db.bangFrequency.trigger, db.bang.trigger));
|
||||
|
||||
$BangTableProcessedTableManager? get trigger {
|
||||
if ($_item.trigger == null) return null;
|
||||
$BangTableProcessedTableManager get trigger {
|
||||
final manager = $BangTableTableManager($_db, $_db.bang)
|
||||
.filter((f) => f.trigger($_item.trigger!));
|
||||
final item = $_typedResult.readTableOrNull(_triggerTable($_db));
|
||||
@@ -1927,8 +1926,7 @@ final class $BangIconReferences
|
||||
static BangTable _triggerTable(_$BangDatabase db) => db.bang
|
||||
.createAlias($_aliasNameGenerator(db.bangIcon.trigger, db.bang.trigger));
|
||||
|
||||
$BangTableProcessedTableManager? get trigger {
|
||||
if ($_item.trigger == null) return null;
|
||||
$BangTableProcessedTableManager get trigger {
|
||||
final manager = $BangTableTableManager($_db, $_db.bang)
|
||||
.filter((f) => f.trigger($_item.trigger!));
|
||||
final item = $_typedResult.readTableOrNull(_triggerTable($_db));
|
||||
|
||||
@@ -30,10 +30,10 @@ abstract class _$BangCWProxy {
|
||||
/// Bang(...).copyWith(id: 12, name: "My name")
|
||||
/// ````
|
||||
Bang call({
|
||||
String? websiteName,
|
||||
String? domain,
|
||||
String? trigger,
|
||||
String? urlTemplate,
|
||||
String websiteName,
|
||||
String domain,
|
||||
String trigger,
|
||||
String urlTemplate,
|
||||
BangGroup? group,
|
||||
String? category,
|
||||
String? subCategory,
|
||||
@@ -90,24 +90,22 @@ class _$BangCWProxyImpl implements _$BangCWProxy {
|
||||
Object? format = const $CopyWithPlaceholder(),
|
||||
}) {
|
||||
return Bang(
|
||||
websiteName:
|
||||
websiteName == const $CopyWithPlaceholder() || websiteName == null
|
||||
? _value.websiteName
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: websiteName as String,
|
||||
domain: domain == const $CopyWithPlaceholder() || domain == null
|
||||
websiteName: websiteName == const $CopyWithPlaceholder()
|
||||
? _value.websiteName
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: websiteName as String,
|
||||
domain: domain == const $CopyWithPlaceholder()
|
||||
? _value.domain
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: domain as String,
|
||||
trigger: trigger == const $CopyWithPlaceholder() || trigger == null
|
||||
trigger: trigger == const $CopyWithPlaceholder()
|
||||
? _value.trigger
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: trigger as String,
|
||||
urlTemplate:
|
||||
urlTemplate == const $CopyWithPlaceholder() || urlTemplate == null
|
||||
? _value.urlTemplate
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: urlTemplate as String,
|
||||
urlTemplate: urlTemplate == const $CopyWithPlaceholder()
|
||||
? _value.urlTemplate
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: urlTemplate as String,
|
||||
group: group == const $CopyWithPlaceholder()
|
||||
? _value.group
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
|
||||
@@ -34,10 +34,10 @@ abstract class _$BangDataCWProxy {
|
||||
/// BangData(...).copyWith(id: 12, name: "My name")
|
||||
/// ````
|
||||
BangData call({
|
||||
String? websiteName,
|
||||
String? domain,
|
||||
String? trigger,
|
||||
String? urlTemplate,
|
||||
String websiteName,
|
||||
String domain,
|
||||
String trigger,
|
||||
String urlTemplate,
|
||||
String? category,
|
||||
String? subCategory,
|
||||
Set<BangFormat>? format,
|
||||
@@ -104,24 +104,22 @@ class _$BangDataCWProxyImpl implements _$BangDataCWProxy {
|
||||
Object? icon = const $CopyWithPlaceholder(),
|
||||
}) {
|
||||
return BangData(
|
||||
websiteName:
|
||||
websiteName == const $CopyWithPlaceholder() || websiteName == null
|
||||
? _value.websiteName
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: websiteName as String,
|
||||
domain: domain == const $CopyWithPlaceholder() || domain == null
|
||||
websiteName: websiteName == const $CopyWithPlaceholder()
|
||||
? _value.websiteName
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: websiteName as String,
|
||||
domain: domain == const $CopyWithPlaceholder()
|
||||
? _value.domain
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: domain as String,
|
||||
trigger: trigger == const $CopyWithPlaceholder() || trigger == null
|
||||
trigger: trigger == const $CopyWithPlaceholder()
|
||||
? _value.trigger
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: trigger as String,
|
||||
urlTemplate:
|
||||
urlTemplate == const $CopyWithPlaceholder() || urlTemplate == null
|
||||
? _value.urlTemplate
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: urlTemplate as String,
|
||||
urlTemplate: urlTemplate == const $CopyWithPlaceholder()
|
||||
? _value.urlTemplate
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: urlTemplate as String,
|
||||
category: category == const $CopyWithPlaceholder()
|
||||
? _value.category
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
|
||||
@@ -41,18 +41,18 @@ abstract class _$TabStateCWProxy {
|
||||
/// ````
|
||||
TabState call({
|
||||
String? contextId,
|
||||
Uri? url,
|
||||
String? title,
|
||||
Uri url,
|
||||
String title,
|
||||
EquatableImage? icon,
|
||||
EquatableImage? thumbnail,
|
||||
int? progress,
|
||||
bool? isPrivate,
|
||||
bool? isFullScreen,
|
||||
bool? isLoading,
|
||||
SecurityState? securityInfoState,
|
||||
HistoryState? historyState,
|
||||
ReaderableState? readerableState,
|
||||
FindResultState? findResultState,
|
||||
int progress,
|
||||
bool isPrivate,
|
||||
bool isFullScreen,
|
||||
bool isLoading,
|
||||
SecurityState securityInfoState,
|
||||
HistoryState historyState,
|
||||
ReaderableState readerableState,
|
||||
FindResultState findResultState,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -134,11 +134,11 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
|
||||
? _value.contextId
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: contextId as String?,
|
||||
url: url == const $CopyWithPlaceholder() || url == null
|
||||
url: url == const $CopyWithPlaceholder()
|
||||
? _value.url
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: url as Uri,
|
||||
title: title == const $CopyWithPlaceholder() || title == null
|
||||
title: title == const $CopyWithPlaceholder()
|
||||
? _value.title
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: title as String,
|
||||
@@ -150,40 +150,35 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
|
||||
? _value.thumbnail
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: thumbnail as EquatableImage?,
|
||||
progress: progress == const $CopyWithPlaceholder() || progress == null
|
||||
progress: progress == const $CopyWithPlaceholder()
|
||||
? _value.progress
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: progress as int,
|
||||
isPrivate: isPrivate == const $CopyWithPlaceholder() || isPrivate == null
|
||||
isPrivate: isPrivate == const $CopyWithPlaceholder()
|
||||
? _value.isPrivate
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: isPrivate as bool,
|
||||
isFullScreen:
|
||||
isFullScreen == const $CopyWithPlaceholder() || isFullScreen == null
|
||||
? _value.isFullScreen
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: isFullScreen as bool,
|
||||
isLoading: isLoading == const $CopyWithPlaceholder() || isLoading == null
|
||||
isFullScreen: isFullScreen == const $CopyWithPlaceholder()
|
||||
? _value.isFullScreen
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: isFullScreen as bool,
|
||||
isLoading: isLoading == const $CopyWithPlaceholder()
|
||||
? _value.isLoading
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: isLoading as bool,
|
||||
securityInfoState: securityInfoState == const $CopyWithPlaceholder() ||
|
||||
securityInfoState == null
|
||||
securityInfoState: securityInfoState == const $CopyWithPlaceholder()
|
||||
? _value.securityInfoState
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: securityInfoState as SecurityState,
|
||||
historyState:
|
||||
historyState == const $CopyWithPlaceholder() || historyState == null
|
||||
? _value.historyState
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: historyState as HistoryState,
|
||||
readerableState: readerableState == const $CopyWithPlaceholder() ||
|
||||
readerableState == null
|
||||
historyState: historyState == const $CopyWithPlaceholder()
|
||||
? _value.historyState
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: historyState as HistoryState,
|
||||
readerableState: readerableState == const $CopyWithPlaceholder()
|
||||
? _value.readerableState
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: readerableState as ReaderableState,
|
||||
findResultState: findResultState == const $CopyWithPlaceholder() ||
|
||||
findResultState == null
|
||||
findResultState: findResultState == const $CopyWithPlaceholder()
|
||||
? _value.findResultState
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: findResultState as FindResultState,
|
||||
|
||||
@@ -28,8 +28,8 @@ abstract class _$WebExtensionStateCWProxy {
|
||||
/// WebExtensionState(...).copyWith(id: 12, name: "My name")
|
||||
/// ````
|
||||
WebExtensionState call({
|
||||
String? extensionId,
|
||||
bool? enabled,
|
||||
String extensionId,
|
||||
bool enabled,
|
||||
String? title,
|
||||
String? badgeText,
|
||||
Color? badgeTextColor,
|
||||
@@ -86,12 +86,11 @@ class _$WebExtensionStateCWProxyImpl implements _$WebExtensionStateCWProxy {
|
||||
Object? icon = const $CopyWithPlaceholder(),
|
||||
}) {
|
||||
return WebExtensionState(
|
||||
extensionId:
|
||||
extensionId == const $CopyWithPlaceholder() || extensionId == null
|
||||
? _value.extensionId
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: extensionId as String,
|
||||
enabled: enabled == const $CopyWithPlaceholder() || enabled == null
|
||||
extensionId: extensionId == const $CopyWithPlaceholder()
|
||||
? _value.extensionId
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: extensionId as String,
|
||||
enabled: enabled == const $CopyWithPlaceholder()
|
||||
? _value.enabled
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: enabled as bool,
|
||||
|
||||
@@ -35,15 +35,15 @@ abstract class _$SettingsCWProxy {
|
||||
/// ````
|
||||
Settings call({
|
||||
String? kagiSession,
|
||||
bool? showEarlyAccessFeatures,
|
||||
bool? incognitoMode,
|
||||
bool? enableJavascript,
|
||||
bool? launchUrlExternal,
|
||||
bool? blockHttpProtocol,
|
||||
ThemeMode? themeMode,
|
||||
bool showEarlyAccessFeatures,
|
||||
bool incognitoMode,
|
||||
bool enableJavascript,
|
||||
bool launchUrlExternal,
|
||||
bool blockHttpProtocol,
|
||||
ThemeMode themeMode,
|
||||
KagiTool? quickAction,
|
||||
bool? quickActionVoiceInput,
|
||||
bool? enableReadability,
|
||||
bool quickActionVoiceInput,
|
||||
bool enableReadability,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -116,32 +116,27 @@ class _$SettingsCWProxyImpl implements _$SettingsCWProxy {
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: kagiSession as String?,
|
||||
showEarlyAccessFeatures:
|
||||
showEarlyAccessFeatures == const $CopyWithPlaceholder() ||
|
||||
showEarlyAccessFeatures == null
|
||||
showEarlyAccessFeatures == const $CopyWithPlaceholder()
|
||||
? _value.showEarlyAccessFeatures
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: showEarlyAccessFeatures as bool,
|
||||
incognitoMode:
|
||||
incognitoMode == const $CopyWithPlaceholder() || incognitoMode == null
|
||||
? _value.incognitoMode
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: incognitoMode as bool,
|
||||
enableJavascript: enableJavascript == const $CopyWithPlaceholder() ||
|
||||
enableJavascript == null
|
||||
incognitoMode: incognitoMode == const $CopyWithPlaceholder()
|
||||
? _value.incognitoMode
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: incognitoMode as bool,
|
||||
enableJavascript: enableJavascript == const $CopyWithPlaceholder()
|
||||
? _value.enableJavascript
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: enableJavascript as bool,
|
||||
launchUrlExternal: launchUrlExternal == const $CopyWithPlaceholder() ||
|
||||
launchUrlExternal == null
|
||||
launchUrlExternal: launchUrlExternal == const $CopyWithPlaceholder()
|
||||
? _value.launchUrlExternal
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: launchUrlExternal as bool,
|
||||
blockHttpProtocol: blockHttpProtocol == const $CopyWithPlaceholder() ||
|
||||
blockHttpProtocol == null
|
||||
blockHttpProtocol: blockHttpProtocol == const $CopyWithPlaceholder()
|
||||
? _value.blockHttpProtocol
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: blockHttpProtocol as bool,
|
||||
themeMode: themeMode == const $CopyWithPlaceholder() || themeMode == null
|
||||
themeMode: themeMode == const $CopyWithPlaceholder()
|
||||
? _value.themeMode
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: themeMode as ThemeMode,
|
||||
@@ -150,13 +145,11 @@ class _$SettingsCWProxyImpl implements _$SettingsCWProxy {
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: quickAction as KagiTool?,
|
||||
quickActionVoiceInput:
|
||||
quickActionVoiceInput == const $CopyWithPlaceholder() ||
|
||||
quickActionVoiceInput == null
|
||||
quickActionVoiceInput == const $CopyWithPlaceholder()
|
||||
? _value.quickActionVoiceInput
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: quickActionVoiceInput as bool,
|
||||
enableReadability: enableReadability == const $CopyWithPlaceholder() ||
|
||||
enableReadability == null
|
||||
enableReadability: enableReadability == const $CopyWithPlaceholder()
|
||||
? _value.enableReadability
|
||||
// ignore: cast_nullable_to_non_nullable
|
||||
: enableReadability as bool,
|
||||
|
||||
Reference in New Issue
Block a user