Bootstrap V1

This commit is contained in:
Christien Rioux 2025-05-06 13:19:30 -04:00
parent 387e297a7b
commit dad05e672b
58 changed files with 2891 additions and 1048 deletions

View file

@ -9,6 +9,7 @@ Future<VeilidConfig> getDefaultVeilidConfig({
required bool isWeb,
required String programName,
String bootstrap = '',
String? bootstrapKeys,
String namespace = '',
String deviceEncryptionKeyPassword = '',
String? newDeviceEncryptionKeyPassword,
@ -40,10 +41,15 @@ Future<VeilidConfig> getDefaultVeilidConfig({
newDeviceEncryptionKeyPassword: newDeviceEncryptionKeyPassword,
),
network: defaultConfig.network.copyWith(
networkKeyPassword: networkKeyPassword,
routingTable: defaultConfig.network.routingTable.copyWith(
bootstrap: bootstrap.isNotEmpty
? bootstrap.split(',')
: defaultConfig.network.routingTable.bootstrap),
dht: defaultConfig.network.dht.copyWith()));
networkKeyPassword: networkKeyPassword,
routingTable: defaultConfig.network.routingTable.copyWith(
bootstrap: bootstrap.isNotEmpty
? bootstrap.split(',')
: defaultConfig.network.routingTable.bootstrap,
bootstrapKeys: bootstrapKeys != null
? bootstrapKeys.isNotEmpty
? bootstrapKeys.split(',').map(TypedKey.fromString).toList()
: []
: defaultConfig.network.routingTable.bootstrapKeys),
));
}

View file

@ -310,7 +310,7 @@ abstract mixin class $DHTSchemaMemberCopyWith<$Res> {
DHTSchemaMember value, $Res Function(DHTSchemaMember) _then) =
_$DHTSchemaMemberCopyWithImpl;
@useResult
$Res call({FixedEncodedString43 mKey, int mCnt});
$Res call({PublicKey mKey, int mCnt});
}
/// @nodoc
@ -331,9 +331,9 @@ class _$DHTSchemaMemberCopyWithImpl<$Res>
}) {
return _then(_self.copyWith(
mKey: null == mKey
? _self.mKey!
? _self.mKey
: mKey // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
mCnt: null == mCnt
? _self.mCnt
: mCnt // ignore: cast_nullable_to_non_nullable
@ -351,7 +351,7 @@ class _DHTSchemaMember implements DHTSchemaMember {
_$DHTSchemaMemberFromJson(json);
@override
final FixedEncodedString43 mKey;
final PublicKey mKey;
@override
final int mCnt;
@ -397,7 +397,7 @@ abstract mixin class _$DHTSchemaMemberCopyWith<$Res>
__$DHTSchemaMemberCopyWithImpl;
@override
@useResult
$Res call({FixedEncodedString43 mKey, int mCnt});
$Res call({PublicKey mKey, int mCnt});
}
/// @nodoc
@ -420,7 +420,7 @@ class __$DHTSchemaMemberCopyWithImpl<$Res>
mKey: null == mKey
? _self.mKey
: mKey // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
mCnt: null == mCnt
? _self.mCnt
: mCnt // ignore: cast_nullable_to_non_nullable
@ -476,10 +476,10 @@ abstract mixin class $DHTRecordDescriptorCopyWith<$Res> {
_$DHTRecordDescriptorCopyWithImpl;
@useResult
$Res call(
{Typed<FixedEncodedString43> key,
FixedEncodedString43 owner,
{TypedKey key,
PublicKey owner,
DHTSchema schema,
FixedEncodedString43? ownerSecret});
PublicKey? ownerSecret});
$DHTSchemaCopyWith<$Res> get schema;
}
@ -504,21 +504,21 @@ class _$DHTRecordDescriptorCopyWithImpl<$Res>
}) {
return _then(_self.copyWith(
key: null == key
? _self.key!
? _self.key
: key // ignore: cast_nullable_to_non_nullable
as Typed<FixedEncodedString43>,
as TypedKey,
owner: null == owner
? _self.owner!
? _self.owner
: owner // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
schema: null == schema
? _self.schema
: schema // ignore: cast_nullable_to_non_nullable
as DHTSchema,
ownerSecret: freezed == ownerSecret
? _self.ownerSecret!
? _self.ownerSecret
: ownerSecret // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43?,
as PublicKey?,
));
}
@ -545,13 +545,13 @@ class _DHTRecordDescriptor implements DHTRecordDescriptor {
_$DHTRecordDescriptorFromJson(json);
@override
final Typed<FixedEncodedString43> key;
final TypedKey key;
@override
final FixedEncodedString43 owner;
final PublicKey owner;
@override
final DHTSchema schema;
@override
final FixedEncodedString43? ownerSecret;
final PublicKey? ownerSecret;
/// Create a copy of DHTRecordDescriptor
/// with the given fields replaced by the non-null parameter values.
@ -600,10 +600,10 @@ abstract mixin class _$DHTRecordDescriptorCopyWith<$Res>
@override
@useResult
$Res call(
{Typed<FixedEncodedString43> key,
FixedEncodedString43 owner,
{TypedKey key,
PublicKey owner,
DHTSchema schema,
FixedEncodedString43? ownerSecret});
PublicKey? ownerSecret});
@override
$DHTSchemaCopyWith<$Res> get schema;
@ -631,11 +631,11 @@ class __$DHTRecordDescriptorCopyWithImpl<$Res>
key: null == key
? _self.key
: key // ignore: cast_nullable_to_non_nullable
as Typed<FixedEncodedString43>,
as TypedKey,
owner: null == owner
? _self.owner
: owner // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
schema: null == schema
? _self.schema
: schema // ignore: cast_nullable_to_non_nullable
@ -643,7 +643,7 @@ class __$DHTRecordDescriptorCopyWithImpl<$Res>
ownerSecret: freezed == ownerSecret
? _self.ownerSecret
: ownerSecret // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43?,
as PublicKey?,
));
}
@ -704,7 +704,7 @@ abstract mixin class $ValueDataCopyWith<$Res> {
$Res call(
{int seq,
@Uint8ListJsonConverter.jsIsArray() Uint8List data,
FixedEncodedString43 writer});
PublicKey writer});
}
/// @nodoc
@ -733,9 +733,9 @@ class _$ValueDataCopyWithImpl<$Res> implements $ValueDataCopyWith<$Res> {
: data // ignore: cast_nullable_to_non_nullable
as Uint8List,
writer: null == writer
? _self.writer!
? _self.writer
: writer // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
));
}
}
@ -757,7 +757,7 @@ class _ValueData implements ValueData {
@Uint8ListJsonConverter.jsIsArray()
final Uint8List data;
@override
final FixedEncodedString43 writer;
final PublicKey writer;
/// Create a copy of ValueData
/// with the given fields replaced by the non-null parameter values.
@ -806,7 +806,7 @@ abstract mixin class _$ValueDataCopyWith<$Res>
$Res call(
{int seq,
@Uint8ListJsonConverter.jsIsArray() Uint8List data,
FixedEncodedString43 writer});
PublicKey writer});
}
/// @nodoc
@ -837,7 +837,7 @@ class __$ValueDataCopyWithImpl<$Res> implements _$ValueDataCopyWith<$Res> {
writer: null == writer
? _self.writer
: writer // ignore: cast_nullable_to_non_nullable
as FixedEncodedString43,
as PublicKey,
));
}
}

View file

@ -335,6 +335,7 @@ sealed class VeilidConfigRoutingTable with _$VeilidConfigRoutingTable {
required List<TypedKey> nodeId,
required List<TypedSecret> nodeIdSecret,
required List<String> bootstrap,
required List<TypedKey> bootstrapKeys,
required int limitOverAttached,
required int limitFullyAttached,
required int limitAttachedStrong,

View file

@ -5520,6 +5520,7 @@ mixin _$VeilidConfigRoutingTable implements DiagnosticableTreeMixin {
List<TypedKey> get nodeId;
List<TypedSecret> get nodeIdSecret;
List<String> get bootstrap;
List<TypedKey> get bootstrapKeys;
int get limitOverAttached;
int get limitFullyAttached;
int get limitAttachedStrong;
@ -5544,6 +5545,7 @@ mixin _$VeilidConfigRoutingTable implements DiagnosticableTreeMixin {
..add(DiagnosticsProperty('nodeId', nodeId))
..add(DiagnosticsProperty('nodeIdSecret', nodeIdSecret))
..add(DiagnosticsProperty('bootstrap', bootstrap))
..add(DiagnosticsProperty('bootstrapKeys', bootstrapKeys))
..add(DiagnosticsProperty('limitOverAttached', limitOverAttached))
..add(DiagnosticsProperty('limitFullyAttached', limitFullyAttached))
..add(DiagnosticsProperty('limitAttachedStrong', limitAttachedStrong))
@ -5560,6 +5562,8 @@ mixin _$VeilidConfigRoutingTable implements DiagnosticableTreeMixin {
const DeepCollectionEquality()
.equals(other.nodeIdSecret, nodeIdSecret) &&
const DeepCollectionEquality().equals(other.bootstrap, bootstrap) &&
const DeepCollectionEquality()
.equals(other.bootstrapKeys, bootstrapKeys) &&
(identical(other.limitOverAttached, limitOverAttached) ||
other.limitOverAttached == limitOverAttached) &&
(identical(other.limitFullyAttached, limitFullyAttached) ||
@ -5579,6 +5583,7 @@ mixin _$VeilidConfigRoutingTable implements DiagnosticableTreeMixin {
const DeepCollectionEquality().hash(nodeId),
const DeepCollectionEquality().hash(nodeIdSecret),
const DeepCollectionEquality().hash(bootstrap),
const DeepCollectionEquality().hash(bootstrapKeys),
limitOverAttached,
limitFullyAttached,
limitAttachedStrong,
@ -5587,7 +5592,7 @@ mixin _$VeilidConfigRoutingTable implements DiagnosticableTreeMixin {
@override
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
return 'VeilidConfigRoutingTable(nodeId: $nodeId, nodeIdSecret: $nodeIdSecret, bootstrap: $bootstrap, limitOverAttached: $limitOverAttached, limitFullyAttached: $limitFullyAttached, limitAttachedStrong: $limitAttachedStrong, limitAttachedGood: $limitAttachedGood, limitAttachedWeak: $limitAttachedWeak)';
return 'VeilidConfigRoutingTable(nodeId: $nodeId, nodeIdSecret: $nodeIdSecret, bootstrap: $bootstrap, bootstrapKeys: $bootstrapKeys, limitOverAttached: $limitOverAttached, limitFullyAttached: $limitFullyAttached, limitAttachedStrong: $limitAttachedStrong, limitAttachedGood: $limitAttachedGood, limitAttachedWeak: $limitAttachedWeak)';
}
}
@ -5598,9 +5603,10 @@ abstract mixin class $VeilidConfigRoutingTableCopyWith<$Res> {
_$VeilidConfigRoutingTableCopyWithImpl;
@useResult
$Res call(
{List<Typed<FixedEncodedString43>> nodeId,
List<Typed<FixedEncodedString43>> nodeIdSecret,
{List<TypedKey> nodeId,
List<TypedSecret> nodeIdSecret,
List<String> bootstrap,
List<TypedKey> bootstrapKeys,
int limitOverAttached,
int limitFullyAttached,
int limitAttachedStrong,
@ -5624,6 +5630,7 @@ class _$VeilidConfigRoutingTableCopyWithImpl<$Res>
Object? nodeId = null,
Object? nodeIdSecret = null,
Object? bootstrap = null,
Object? bootstrapKeys = null,
Object? limitOverAttached = null,
Object? limitFullyAttached = null,
Object? limitAttachedStrong = null,
@ -5632,17 +5639,21 @@ class _$VeilidConfigRoutingTableCopyWithImpl<$Res>
}) {
return _then(_self.copyWith(
nodeId: null == nodeId
? _self.nodeId!
? _self.nodeId
: nodeId // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedKey>,
nodeIdSecret: null == nodeIdSecret
? _self.nodeIdSecret!
? _self.nodeIdSecret
: nodeIdSecret // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedSecret>,
bootstrap: null == bootstrap
? _self.bootstrap
: bootstrap // ignore: cast_nullable_to_non_nullable
as List<String>,
bootstrapKeys: null == bootstrapKeys
? _self.bootstrapKeys
: bootstrapKeys // ignore: cast_nullable_to_non_nullable
as List<TypedKey>,
limitOverAttached: null == limitOverAttached
? _self.limitOverAttached
: limitOverAttached // ignore: cast_nullable_to_non_nullable
@ -5673,9 +5684,10 @@ class _VeilidConfigRoutingTable
with DiagnosticableTreeMixin
implements VeilidConfigRoutingTable {
const _VeilidConfigRoutingTable(
{required final List<Typed<FixedEncodedString43>> nodeId,
required final List<Typed<FixedEncodedString43>> nodeIdSecret,
{required final List<TypedKey> nodeId,
required final List<TypedSecret> nodeIdSecret,
required final List<String> bootstrap,
required final List<TypedKey> bootstrapKeys,
required this.limitOverAttached,
required this.limitFullyAttached,
required this.limitAttachedStrong,
@ -5683,21 +5695,22 @@ class _VeilidConfigRoutingTable
required this.limitAttachedWeak})
: _nodeId = nodeId,
_nodeIdSecret = nodeIdSecret,
_bootstrap = bootstrap;
_bootstrap = bootstrap,
_bootstrapKeys = bootstrapKeys;
factory _VeilidConfigRoutingTable.fromJson(Map<String, dynamic> json) =>
_$VeilidConfigRoutingTableFromJson(json);
final List<Typed<FixedEncodedString43>> _nodeId;
final List<TypedKey> _nodeId;
@override
List<Typed<FixedEncodedString43>> get nodeId {
List<TypedKey> get nodeId {
if (_nodeId is EqualUnmodifiableListView) return _nodeId;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_nodeId);
}
final List<Typed<FixedEncodedString43>> _nodeIdSecret;
final List<TypedSecret> _nodeIdSecret;
@override
List<Typed<FixedEncodedString43>> get nodeIdSecret {
List<TypedSecret> get nodeIdSecret {
if (_nodeIdSecret is EqualUnmodifiableListView) return _nodeIdSecret;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_nodeIdSecret);
@ -5711,6 +5724,14 @@ class _VeilidConfigRoutingTable
return EqualUnmodifiableListView(_bootstrap);
}
final List<TypedKey> _bootstrapKeys;
@override
List<TypedKey> get bootstrapKeys {
if (_bootstrapKeys is EqualUnmodifiableListView) return _bootstrapKeys;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_bootstrapKeys);
}
@override
final int limitOverAttached;
@override
@ -5745,6 +5766,7 @@ class _VeilidConfigRoutingTable
..add(DiagnosticsProperty('nodeId', nodeId))
..add(DiagnosticsProperty('nodeIdSecret', nodeIdSecret))
..add(DiagnosticsProperty('bootstrap', bootstrap))
..add(DiagnosticsProperty('bootstrapKeys', bootstrapKeys))
..add(DiagnosticsProperty('limitOverAttached', limitOverAttached))
..add(DiagnosticsProperty('limitFullyAttached', limitFullyAttached))
..add(DiagnosticsProperty('limitAttachedStrong', limitAttachedStrong))
@ -5762,6 +5784,8 @@ class _VeilidConfigRoutingTable
.equals(other._nodeIdSecret, _nodeIdSecret) &&
const DeepCollectionEquality()
.equals(other._bootstrap, _bootstrap) &&
const DeepCollectionEquality()
.equals(other._bootstrapKeys, _bootstrapKeys) &&
(identical(other.limitOverAttached, limitOverAttached) ||
other.limitOverAttached == limitOverAttached) &&
(identical(other.limitFullyAttached, limitFullyAttached) ||
@ -5781,6 +5805,7 @@ class _VeilidConfigRoutingTable
const DeepCollectionEquality().hash(_nodeId),
const DeepCollectionEquality().hash(_nodeIdSecret),
const DeepCollectionEquality().hash(_bootstrap),
const DeepCollectionEquality().hash(_bootstrapKeys),
limitOverAttached,
limitFullyAttached,
limitAttachedStrong,
@ -5789,7 +5814,7 @@ class _VeilidConfigRoutingTable
@override
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
return 'VeilidConfigRoutingTable(nodeId: $nodeId, nodeIdSecret: $nodeIdSecret, bootstrap: $bootstrap, limitOverAttached: $limitOverAttached, limitFullyAttached: $limitFullyAttached, limitAttachedStrong: $limitAttachedStrong, limitAttachedGood: $limitAttachedGood, limitAttachedWeak: $limitAttachedWeak)';
return 'VeilidConfigRoutingTable(nodeId: $nodeId, nodeIdSecret: $nodeIdSecret, bootstrap: $bootstrap, bootstrapKeys: $bootstrapKeys, limitOverAttached: $limitOverAttached, limitFullyAttached: $limitFullyAttached, limitAttachedStrong: $limitAttachedStrong, limitAttachedGood: $limitAttachedGood, limitAttachedWeak: $limitAttachedWeak)';
}
}
@ -5802,9 +5827,10 @@ abstract mixin class _$VeilidConfigRoutingTableCopyWith<$Res>
@override
@useResult
$Res call(
{List<Typed<FixedEncodedString43>> nodeId,
List<Typed<FixedEncodedString43>> nodeIdSecret,
{List<TypedKey> nodeId,
List<TypedSecret> nodeIdSecret,
List<String> bootstrap,
List<TypedKey> bootstrapKeys,
int limitOverAttached,
int limitFullyAttached,
int limitAttachedStrong,
@ -5828,6 +5854,7 @@ class __$VeilidConfigRoutingTableCopyWithImpl<$Res>
Object? nodeId = null,
Object? nodeIdSecret = null,
Object? bootstrap = null,
Object? bootstrapKeys = null,
Object? limitOverAttached = null,
Object? limitFullyAttached = null,
Object? limitAttachedStrong = null,
@ -5838,15 +5865,19 @@ class __$VeilidConfigRoutingTableCopyWithImpl<$Res>
nodeId: null == nodeId
? _self._nodeId
: nodeId // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedKey>,
nodeIdSecret: null == nodeIdSecret
? _self._nodeIdSecret
: nodeIdSecret // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedSecret>,
bootstrap: null == bootstrap
? _self._bootstrap
: bootstrap // ignore: cast_nullable_to_non_nullable
as List<String>,
bootstrapKeys: null == bootstrapKeys
? _self._bootstrapKeys
: bootstrapKeys // ignore: cast_nullable_to_non_nullable
as List<TypedKey>,
limitOverAttached: null == limitOverAttached
? _self.limitOverAttached
: limitOverAttached // ignore: cast_nullable_to_non_nullable

View file

@ -420,6 +420,9 @@ _VeilidConfigRoutingTable _$VeilidConfigRoutingTableFromJson(
.toList(),
bootstrap:
(json['bootstrap'] as List<dynamic>).map((e) => e as String).toList(),
bootstrapKeys: (json['bootstrap_keys'] as List<dynamic>)
.map(Typed<FixedEncodedString43>.fromJson)
.toList(),
limitOverAttached: (json['limit_over_attached'] as num).toInt(),
limitFullyAttached: (json['limit_fully_attached'] as num).toInt(),
limitAttachedStrong: (json['limit_attached_strong'] as num).toInt(),
@ -433,6 +436,7 @@ Map<String, dynamic> _$VeilidConfigRoutingTableToJson(
'node_id': instance.nodeId.map((e) => e.toJson()).toList(),
'node_id_secret': instance.nodeIdSecret.map((e) => e.toJson()).toList(),
'bootstrap': instance.bootstrap,
'bootstrap_keys': instance.bootstrapKeys.map((e) => e.toJson()).toList(),
'limit_over_attached': instance.limitOverAttached,
'limit_fully_attached': instance.limitFullyAttached,
'limit_attached_strong': instance.limitAttachedStrong,

View file

@ -2379,10 +2379,7 @@ abstract mixin class $PeerTableDataCopyWith<$Res> {
PeerTableData value, $Res Function(PeerTableData) _then) =
_$PeerTableDataCopyWithImpl;
@useResult
$Res call(
{List<Typed<FixedEncodedString43>> nodeIds,
String peerAddress,
PeerStats peerStats});
$Res call({List<TypedKey> nodeIds, String peerAddress, PeerStats peerStats});
$PeerStatsCopyWith<$Res> get peerStats;
}
@ -2406,9 +2403,9 @@ class _$PeerTableDataCopyWithImpl<$Res>
}) {
return _then(_self.copyWith(
nodeIds: null == nodeIds
? _self.nodeIds!
? _self.nodeIds
: nodeIds // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedKey>,
peerAddress: null == peerAddress
? _self.peerAddress
: peerAddress // ignore: cast_nullable_to_non_nullable
@ -2435,16 +2432,16 @@ class _$PeerTableDataCopyWithImpl<$Res>
@JsonSerializable()
class _PeerTableData implements PeerTableData {
const _PeerTableData(
{required final List<Typed<FixedEncodedString43>> nodeIds,
{required final List<TypedKey> nodeIds,
required this.peerAddress,
required this.peerStats})
: _nodeIds = nodeIds;
factory _PeerTableData.fromJson(Map<String, dynamic> json) =>
_$PeerTableDataFromJson(json);
final List<Typed<FixedEncodedString43>> _nodeIds;
final List<TypedKey> _nodeIds;
@override
List<Typed<FixedEncodedString43>> get nodeIds {
List<TypedKey> get nodeIds {
if (_nodeIds is EqualUnmodifiableListView) return _nodeIds;
// ignore: implicit_dynamic_type
return EqualUnmodifiableListView(_nodeIds);
@ -2501,10 +2498,7 @@ abstract mixin class _$PeerTableDataCopyWith<$Res>
__$PeerTableDataCopyWithImpl;
@override
@useResult
$Res call(
{List<Typed<FixedEncodedString43>> nodeIds,
String peerAddress,
PeerStats peerStats});
$Res call({List<TypedKey> nodeIds, String peerAddress, PeerStats peerStats});
@override
$PeerStatsCopyWith<$Res> get peerStats;
@ -2531,7 +2525,7 @@ class __$PeerTableDataCopyWithImpl<$Res>
nodeIds: null == nodeIds
? _self._nodeIds
: nodeIds // ignore: cast_nullable_to_non_nullable
as List<Typed<FixedEncodedString43>>,
as List<TypedKey>,
peerAddress: null == peerAddress
? _self.peerAddress
: peerAddress // ignore: cast_nullable_to_non_nullable
@ -2715,7 +2709,7 @@ class VeilidAppMessage implements VeilidUpdate {
@Uint8ListJsonConverter.jsIsArray()
final Uint8List message;
final Typed<FixedEncodedString43>? sender;
final TypedKey? sender;
final String? routeId;
@JsonKey(name: 'kind')
@ -2765,7 +2759,7 @@ abstract mixin class $VeilidAppMessageCopyWith<$Res>
@useResult
$Res call(
{@Uint8ListJsonConverter.jsIsArray() Uint8List message,
Typed<FixedEncodedString43>? sender,
TypedKey? sender,
String? routeId});
}
@ -2793,7 +2787,7 @@ class _$VeilidAppMessageCopyWithImpl<$Res>
sender: freezed == sender
? _self.sender
: sender // ignore: cast_nullable_to_non_nullable
as Typed<FixedEncodedString43>?,
as TypedKey?,
routeId: freezed == routeId
? _self.routeId
: routeId // ignore: cast_nullable_to_non_nullable
@ -2818,7 +2812,7 @@ class VeilidAppCall implements VeilidUpdate {
@Uint8ListJsonConverter.jsIsArray()
final Uint8List message;
final String callId;
final Typed<FixedEncodedString43>? sender;
final TypedKey? sender;
final String? routeId;
@JsonKey(name: 'kind')
@ -2870,7 +2864,7 @@ abstract mixin class $VeilidAppCallCopyWith<$Res>
$Res call(
{@Uint8ListJsonConverter.jsIsArray() Uint8List message,
String callId,
Typed<FixedEncodedString43>? sender,
TypedKey? sender,
String? routeId});
}
@ -2903,7 +2897,7 @@ class _$VeilidAppCallCopyWithImpl<$Res>
sender: freezed == sender
? _self.sender
: sender // ignore: cast_nullable_to_non_nullable
as Typed<FixedEncodedString43>?,
as TypedKey?,
routeId: freezed == routeId
? _self.routeId
: routeId // ignore: cast_nullable_to_non_nullable
@ -3358,7 +3352,7 @@ class VeilidUpdateValueChange implements VeilidUpdate {
factory VeilidUpdateValueChange.fromJson(Map<String, dynamic> json) =>
_$VeilidUpdateValueChangeFromJson(json);
final Typed<FixedEncodedString43> key;
final TypedKey key;
final List<ValueSubkeyRange> _subkeys;
List<ValueSubkeyRange> get subkeys {
if (_subkeys is EqualUnmodifiableListView) return _subkeys;
@ -3417,7 +3411,7 @@ abstract mixin class $VeilidUpdateValueChangeCopyWith<$Res>
_$VeilidUpdateValueChangeCopyWithImpl;
@useResult
$Res call(
{Typed<FixedEncodedString43> key,
{TypedKey key,
List<ValueSubkeyRange> subkeys,
int count,
ValueData? value});
@ -3446,7 +3440,7 @@ class _$VeilidUpdateValueChangeCopyWithImpl<$Res>
key: null == key
? _self.key
: key // ignore: cast_nullable_to_non_nullable
as Typed<FixedEncodedString43>,
as TypedKey,
subkeys: null == subkeys
? _self._subkeys
: subkeys // ignore: cast_nullable_to_non_nullable