diff --git a/Package.resolved b/Package.resolved index 1ad24a4..364d0a4 100644 --- a/Package.resolved +++ b/Package.resolved @@ -7,7 +7,7 @@ "location" : "https://github.com/PreternaturalAI/AI.git", "state" : { "branch" : "main", - "revision" : "3bebc493f6dea616f5333c2417e4594ce5cf5a77" + "revision" : "da07ef54dade7ae04686679f0858e9dea7437a1e" } }, { @@ -34,7 +34,7 @@ "location" : "https://github.com/vmanot/CorePersistence.git", "state" : { "branch" : "main", - "revision" : "76191333e43123b0c8417094fecbb0d2a522a59a" + "revision" : "38fd5271fa906a2d8395e4b42724142886a3c763" } }, { @@ -61,7 +61,7 @@ "location" : "https://github.com/vmanot/Swallow.git", "state" : { "branch" : "master", - "revision" : "77ba4912b07d6be4ed76262b4cb6fb5426e171c0" + "revision" : "6227a1114e341daf54e90df61e173599b187a9b1" } }, { @@ -115,7 +115,7 @@ "location" : "https://github.com/SwiftUIX/SwiftUIX.git", "state" : { "branch" : "master", - "revision" : "db0412aa1ef59ddff357432bf2e416e38a34cdb2" + "revision" : "836fc284a9bb07fc9ab6d2dce6ebd0e32aabde26" } }, { diff --git a/Sources/Sideproject/Intramodular/Accounts/Sideproject.ExternalAccountTypeDescriptor.swift b/Sources/Sideproject/Intramodular/Accounts/Sideproject.ExternalAccountTypeDescriptor.swift index 8934f2b..a7fcc93 100644 --- a/Sources/Sideproject/Intramodular/Accounts/Sideproject.ExternalAccountTypeDescriptor.swift +++ b/Sources/Sideproject/Intramodular/Accounts/Sideproject.ExternalAccountTypeDescriptor.swift @@ -393,6 +393,52 @@ extension Sideproject.ExternalAccountTypeDescriptors { } } + + @HadeanIdentifier("foluv-jufuk-zuhok-hofid") + public struct PlayHT: Sideproject.ExternalAccountTypeDescriptor, _StaticInstance { + public var accountType: Sideproject.ExternalAccountTypeIdentifier { + "com.vmanot.playht" + } + + public var credentialType: any Sideproject.ExternalAccountCredential.Type { + Sideproject.ExternalAccountCredentialTypes.APIKey.self + } + + public var icon: Image? { + Image("logo/playht", bundle: .module) + } + + public var title: String { + "PlayHT" + } + + public init() { + + } + } + + @HadeanIdentifier("tohaz-zivir-bosov-minog") + public struct Rime: Sideproject.ExternalAccountTypeDescriptor, _StaticInstance { + public var accountType: Sideproject.ExternalAccountTypeIdentifier { + "com.vmanot.rime" + } + + public var credentialType: any Sideproject.ExternalAccountCredential.Type { + Sideproject.ExternalAccountCredentialTypes.APIKey.self + } + + public var icon: Image? { + Image("logo/rime", bundle: .module) + } + + public var title: String { + "Rime" + } + + public init() { + + } + } } // MARK: - Supplementary @@ -509,6 +555,21 @@ extension Sideproject.ExternalAccountTypeDescriptor where Self == Sideproject.Ex } } +extension Sideproject.ExternalAccountTypeDescriptor where Self == Sideproject.ExternalAccountTypeDescriptors.PlayHT +{ + public static var playht: Self { + Self() + } +} + +extension Sideproject.ExternalAccountTypeDescriptor where Self == Sideproject.ExternalAccountTypeDescriptors.Rime +{ + public static var rime: Self { + Self() + } +} + + // MARK: - Deprecated extension Sideproject { diff --git a/Sources/Sideproject/Intramodular/Sideproject.swift b/Sources/Sideproject/Intramodular/Sideproject.swift index 0e08c67..57ac1df 100644 --- a/Sources/Sideproject/Intramodular/Sideproject.swift +++ b/Sources/Sideproject/Intramodular/Sideproject.swift @@ -242,6 +242,10 @@ extension Sideproject.ExternalAccountTypeIdentifier: _MIServiceTypeIdentifierCon return ._Groq case Sideproject.ExternalAccountTypeDescriptors.ElevenLabs().accountType: return ._ElevenLabs + case Sideproject.ExternalAccountTypeDescriptors.PlayHT().accountType: + return ._PlayHT + case Sideproject.ExternalAccountTypeDescriptors.Rime().accountType: + return ._Rime default: throw Never.Reason.unexpected } diff --git a/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/Contents.json b/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/Contents.json new file mode 100644 index 0000000..551c011 --- /dev/null +++ b/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "playht.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/playht.png b/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/playht.png new file mode 100644 index 0000000..5b687d1 Binary files /dev/null and b/Sources/Sideproject/Resources/Assets.xcassets/logo/playht.imageset/playht.png differ diff --git a/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/Contents.json b/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/Contents.json new file mode 100644 index 0000000..5e76ae0 --- /dev/null +++ b/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "RimeSpeechTech_Logo.2582e20f.svg", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/RimeSpeechTech_Logo.2582e20f.svg b/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/RimeSpeechTech_Logo.2582e20f.svg new file mode 100644 index 0000000..f449007 --- /dev/null +++ b/Sources/Sideproject/Resources/Assets.xcassets/logo/rime.imageset/RimeSpeechTech_Logo.2582e20f.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file