app links initial

This commit is contained in:
Fabian Freund
2026-07-30 03:58:46 +02:00
parent 1b0c2b0d06
commit 4bc267969b
97 changed files with 9138 additions and 1054 deletions
@@ -1,4 +1,4 @@
// Autogenerated from Pigeon (v26.3.4), do not edit directly.
// Autogenerated from Pigeon (v27.1.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
@file:Suppress("UNCHECKED_CAST", "ArrayInDataClass")
@@ -289,6 +289,9 @@ data class SingboxProxyProfile (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.secretJson)
return result
}
override fun toString(): String {
return "SingboxProxyProfile(id=$id, name=$name, type=$type, configJson=$configJson, secretJson=$secretJson)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -352,6 +355,9 @@ data class SingboxProxyRuntimeOptions (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.bootstrapDohUrl)
return result
}
override fun toString(): String {
return "SingboxProxyRuntimeOptions(preferredBasePort=$preferredBasePort, blockUnmatchedTraffic=$blockUnmatchedTraffic, dnsConfig=$dnsConfig, bootstrapDohUrl=$bootstrapDohUrl)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -440,6 +446,9 @@ data class SingboxProxyDnsServerConfig (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.matchInbounds)
return result
}
override fun toString(): String {
return "SingboxProxyDnsServerConfig(tag=$tag, address=$address, detourTag=$detourTag, matchDomainSuffixes=$matchDomainSuffixes, matchGeosites=$matchGeosites, matchOutbounds=$matchOutbounds, matchInbounds=$matchInbounds)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -487,6 +496,9 @@ data class SingboxProxyDnsConfig (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.domainStrategy)
return result
}
override fun toString(): String {
return "SingboxProxyDnsConfig(servers=$servers, finalServerTag=$finalServerTag, domainStrategy=$domainStrategy)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -537,6 +549,9 @@ data class SingboxProxyRuntimeEndpoint (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.password)
return result
}
override fun toString(): String {
return "SingboxProxyRuntimeEndpoint(profileId=$profileId, host=$host, port=$port, username=$username, password=$password)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -579,6 +594,9 @@ data class SingboxProxyRuntimeState (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.message)
return result
}
override fun toString(): String {
return "SingboxProxyRuntimeState(status=$status, endpoints=$endpoints, message=$message)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -617,6 +635,9 @@ data class SingboxProxyConfigResult (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.endpoints)
return result
}
override fun toString(): String {
return "SingboxProxyConfigResult(configJson=$configJson, endpoints=$endpoints)"
}
}
/** Generated class from Pigeon that represents data sent in messages. */
@@ -663,6 +684,9 @@ data class SingboxProxyLogMessage (
result = 31 * result + SingboxProxyApiPigeonUtils.deepHash(this.profileId)
return result
}
override fun toString(): String {
return "SingboxProxyLogMessage(level=$level, message=$message, timestamp=$timestamp, profileId=$profileId)"
}
}
private open class SingboxProxyApiPigeonCodec : StandardMessageCodec() {
override fun readValueOfType(type: Byte, buffer: ByteBuffer): Any? {
@@ -1,4 +1,4 @@
// Autogenerated from Pigeon (v26.3.4), do not edit directly.
// Autogenerated from Pigeon (v27.1.0), do not edit directly.
// See also: https://pub.dev/packages/pigeon
// ignore_for_file: unused_import, unused_shown_name
// ignore_for_file: type=lint
@@ -195,6 +195,11 @@ class SingboxProxyProfile {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyProfile(id: $id, name: $name, type: $type, configJson: $configJson, secretJson: $secretJson)';
}
}
class SingboxProxyRuntimeOptions {
@@ -261,6 +266,11 @@ class SingboxProxyRuntimeOptions {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyRuntimeOptions(preferredBasePort: $preferredBasePort, blockUnmatchedTraffic: $blockUnmatchedTraffic, dnsConfig: $dnsConfig, bootstrapDohUrl: $bootstrapDohUrl)';
}
}
class SingboxProxyDnsServerConfig {
@@ -351,6 +361,11 @@ class SingboxProxyDnsServerConfig {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyDnsServerConfig(tag: $tag, address: $address, detourTag: $detourTag, matchDomainSuffixes: $matchDomainSuffixes, matchGeosites: $matchGeosites, matchOutbounds: $matchOutbounds, matchInbounds: $matchInbounds)';
}
}
class SingboxProxyDnsConfig {
@@ -404,6 +419,11 @@ class SingboxProxyDnsConfig {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyDnsConfig(servers: $servers, finalServerTag: $finalServerTag, domainStrategy: $domainStrategy)';
}
}
class SingboxProxyRuntimeEndpoint {
@@ -464,6 +484,11 @@ class SingboxProxyRuntimeEndpoint {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyRuntimeEndpoint(profileId: $profileId, host: $host, port: $port, username: $username, password: $password)';
}
}
class SingboxProxyRuntimeState {
@@ -514,6 +539,11 @@ class SingboxProxyRuntimeState {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyRuntimeState(status: $status, endpoints: $endpoints, message: $message)';
}
}
class SingboxProxyConfigResult {
@@ -559,6 +589,11 @@ class SingboxProxyConfigResult {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyConfigResult(configJson: $configJson, endpoints: $endpoints)';
}
}
class SingboxProxyLogMessage {
@@ -614,6 +649,11 @@ class SingboxProxyLogMessage {
@override
// ignore: avoid_equals_and_hash_code_on_mutable_classes
int get hashCode => _deepHash(<Object?>[runtimeType, ..._toList()]);
@override
String toString() {
return 'SingboxProxyLogMessage(level: $level, message: $message, timestamp: $timestamp, profileId: $profileId)';
}
}
@@ -691,8 +731,8 @@ class _PigeonCodec extends StandardMessageCodec {
}
class SingboxProxyApi {
/// Constructor for [SingboxProxyApi]. The [binaryMessenger] named argument is
/// available for dependency injection. If it is left null, the default
/// Constructor for [SingboxProxyApi]. The [binaryMessenger] named argument is
/// available for dependency injection. If it is left null, the default
/// BinaryMessenger will be used which routes to the host platform.
SingboxProxyApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
: pigeonVar_binaryMessenger = binaryMessenger,