-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into appimage
- Loading branch information
Showing
94 changed files
with
8,553 additions
and
2,565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ app.*.map.json | |
|
||
# builder | ||
**/node_modules/ | ||
**/build/ | ||
|
||
# Release | ||
/private_keys/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
const misskeyIOReactionDelay = 1500; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import 'package:misskey_dart/misskey_dart.dart'; | ||
|
||
extension UsersListsShowResponseExtension on UsersListsShowResponse { | ||
UsersList toUsersList() { | ||
return UsersList( | ||
id: id, | ||
createdAt: createdAt, | ||
name: name, | ||
userIds: userIds, | ||
isPublic: isPublic, | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
import 'package:misskey_dart/misskey_dart.dart'; | ||
|
||
part 'antenna_settings.freezed.dart'; | ||
|
||
@freezed | ||
class AntennaSettings with _$AntennaSettings { | ||
const factory AntennaSettings({ | ||
@Default("") String name, | ||
@Default(AntennaSource.all) AntennaSource src, | ||
String? userListId, | ||
@Default([]) List<List<String>> keywords, | ||
@Default([]) List<List<String>> excludeKeywords, | ||
@Default([]) List<String> users, | ||
@Default(false) bool caseSensitive, | ||
@Default(false) bool withReplies, | ||
@Default(false) bool withFile, | ||
@Default(false) bool notify, | ||
}) = _AntennaSettings; | ||
const AntennaSettings._(); | ||
|
||
factory AntennaSettings.fromAntenna(Antenna antenna) { | ||
return AntennaSettings( | ||
name: antenna.name, | ||
src: antenna.src, | ||
userListId: antenna.userListId, | ||
keywords: antenna.keywords, | ||
excludeKeywords: antenna.excludeKeywords, | ||
users: antenna.users, | ||
caseSensitive: antenna.caseSensitive, | ||
withReplies: antenna.withReplies, | ||
withFile: antenna.withFile, | ||
notify: antenna.notify, | ||
); | ||
} | ||
} |
Oops, something went wrong.