account work

This commit is contained in:
Christien Rioux 2023-07-25 01:04:34 -04:00
parent b7236befd1
commit b502bc20a7
20 changed files with 168 additions and 95 deletions

View file

@ -1038,7 +1038,7 @@ class Profile extends $pb.GeneratedMessage {
..aOS(2, _omitFieldNames ? '' : 'title')
..aOS(3, _omitFieldNames ? '' : 'status')
..e<Availability>(4, _omitFieldNames ? '' : 'availability', $pb.PbFieldType.OE, defaultOrMaker: Availability.AVAILABILITY_UNSPECIFIED, valueOf: Availability.valueOf, enumValues: Availability.values)
..aOM<TypedKey>(5, _omitFieldNames ? '' : 'icon', subBuilder: TypedKey.create)
..aOM<TypedKey>(5, _omitFieldNames ? '' : 'avatar', subBuilder: TypedKey.create)
..hasRequiredFields = false
;
@ -1100,15 +1100,15 @@ class Profile extends $pb.GeneratedMessage {
void clearAvailability() => clearField(4);
@$pb.TagNumber(5)
TypedKey get icon => $_getN(4);
TypedKey get avatar => $_getN(4);
@$pb.TagNumber(5)
set icon(TypedKey v) { setField(5, v); }
set avatar(TypedKey v) { setField(5, v); }
@$pb.TagNumber(5)
$core.bool hasIcon() => $_has(4);
$core.bool hasAvatar() => $_has(4);
@$pb.TagNumber(5)
void clearIcon() => clearField(5);
void clearAvatar() => clearField(5);
@$pb.TagNumber(5)
TypedKey ensureIcon() => $_ensure(4);
TypedKey ensureAvatar() => $_ensure(4);
}
class Account extends $pb.GeneratedMessage {

View file

@ -279,7 +279,10 @@ const Profile$json = {
{'1': 'title', '3': 2, '4': 1, '5': 9, '10': 'title'},
{'1': 'status', '3': 3, '4': 1, '5': 9, '10': 'status'},
{'1': 'availability', '3': 4, '4': 1, '5': 14, '6': '.Availability', '10': 'availability'},
{'1': 'icon', '3': 5, '4': 1, '5': 11, '6': '.TypedKey', '10': 'icon'},
{'1': 'avatar', '3': 5, '4': 1, '5': 11, '6': '.TypedKey', '9': 0, '10': 'avatar', '17': true},
],
'8': [
{'1': '_avatar'},
],
};
@ -287,7 +290,8 @@ const Profile$json = {
final $typed_data.Uint8List profileDescriptor = $convert.base64Decode(
'CgdQcm9maWxlEhIKBG5hbWUYASABKAlSBG5hbWUSFAoFdGl0bGUYAiABKAlSBXRpdGxlEhYKBn'
'N0YXR1cxgDIAEoCVIGc3RhdHVzEjEKDGF2YWlsYWJpbGl0eRgEIAEoDjINLkF2YWlsYWJpbGl0'
'eVIMYXZhaWxhYmlsaXR5Eh0KBGljb24YBSABKAsyCS5UeXBlZEtleVIEaWNvbg==');
'eVIMYXZhaWxhYmlsaXR5EiYKBmF2YXRhchgFIAEoCzIJLlR5cGVkS2V5SABSBmF2YXRhcogBAU'
'IJCgdfYXZhdGFy');
@$core.Deprecated('Use accountDescriptor instead')
const Account$json = {