mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-10 15:10:14 -04:00
checkpoint
This commit is contained in:
parent
56d65442f4
commit
751022e743
26 changed files with 482 additions and 303 deletions
|
@ -1396,6 +1396,7 @@ class Profile extends $pb.GeneratedMessage {
|
|||
..aOS(4, _omitFieldNames ? '' : 'status')
|
||||
..e<Availability>(5, _omitFieldNames ? '' : 'availability', $pb.PbFieldType.OE, defaultOrMaker: Availability.AVAILABILITY_UNSPECIFIED, valueOf: Availability.valueOf, enumValues: Availability.values)
|
||||
..aOM<DataReference>(6, _omitFieldNames ? '' : 'avatar', subBuilder: DataReference.create)
|
||||
..a<$fixnum.Int64>(7, _omitFieldNames ? '' : 'timestamp', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
|
@ -1475,6 +1476,15 @@ class Profile extends $pb.GeneratedMessage {
|
|||
void clearAvatar() => clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
DataReference ensureAvatar() => $_ensure(5);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$fixnum.Int64 get timestamp => $_getI64(6);
|
||||
@$pb.TagNumber(7)
|
||||
set timestamp($fixnum.Int64 v) { $_setInt64(6, v); }
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasTimestamp() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearTimestamp() => clearField(7);
|
||||
}
|
||||
|
||||
class Account extends $pb.GeneratedMessage {
|
||||
|
|
|
@ -411,6 +411,7 @@ const Profile$json = {
|
|||
{'1': 'status', '3': 4, '4': 1, '5': 9, '10': 'status'},
|
||||
{'1': 'availability', '3': 5, '4': 1, '5': 14, '6': '.veilidchat.Availability', '10': 'availability'},
|
||||
{'1': 'avatar', '3': 6, '4': 1, '5': 11, '6': '.veilidchat.DataReference', '9': 0, '10': 'avatar', '17': true},
|
||||
{'1': 'timestamp', '3': 7, '4': 1, '5': 4, '10': 'timestamp'},
|
||||
],
|
||||
'8': [
|
||||
{'1': '_avatar'},
|
||||
|
@ -422,8 +423,8 @@ final $typed_data.Uint8List profileDescriptor = $convert.base64Decode(
|
|||
'CgdQcm9maWxlEhIKBG5hbWUYASABKAlSBG5hbWUSGgoIcHJvbm91bnMYAiABKAlSCHByb25vdW'
|
||||
'5zEhQKBWFib3V0GAMgASgJUgVhYm91dBIWCgZzdGF0dXMYBCABKAlSBnN0YXR1cxI8CgxhdmFp'
|
||||
'bGFiaWxpdHkYBSABKA4yGC52ZWlsaWRjaGF0LkF2YWlsYWJpbGl0eVIMYXZhaWxhYmlsaXR5Ej'
|
||||
'YKBmF2YXRhchgGIAEoCzIZLnZlaWxpZGNoYXQuRGF0YVJlZmVyZW5jZUgAUgZhdmF0YXKIAQFC'
|
||||
'CQoHX2F2YXRhcg==');
|
||||
'YKBmF2YXRhchgGIAEoCzIZLnZlaWxpZGNoYXQuRGF0YVJlZmVyZW5jZUgAUgZhdmF0YXKIAQES'
|
||||
'HAoJdGltZXN0YW1wGAcgASgEUgl0aW1lc3RhbXBCCQoHX2F2YXRhcg==');
|
||||
|
||||
@$core.Deprecated('Use accountDescriptor instead')
|
||||
const Account$json = {
|
||||
|
|
|
@ -311,6 +311,8 @@ message Profile {
|
|||
Availability availability = 5;
|
||||
// Avatar
|
||||
optional DataReference avatar = 6;
|
||||
// Timestamp of last change
|
||||
uint64 timestamp = 7;
|
||||
}
|
||||
|
||||
// A record of an individual account
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue