mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(profile): ship profile timezone to everyone (#3034)
This commit is contained in:
1 parent
b30ea361d3
commit
d433a039b5
28 files changed
+71
-971
No files matched your search
@@ -75,19 +75,13 @@ export const UserUpdateRequest = z
|
||||
bio: createStringType(1, 320).nullish().describe('User biography text (max 320 characters)'),
|
||||
pronouns: createStringType(1, 40).nullish().describe('User pronouns (max 40 characters)'),
|
||||
accent_color: ColorType.nullish().describe('Profile accent color as integer'),
|
||||
timezone: createStringType(1, 128)
|
||||
.nullish()
|
||||
.describe(
|
||||
'IANA timezone identifier saved for profile local time. Ignored unless the profile_timezone experiment serves the user.',
|
||||
),
|
||||
timezone: createStringType(1, 128).nullish().describe('IANA timezone identifier saved for profile local time'),
|
||||
timezone_privacy_flags: createBitflagInt32Type(
|
||||
ProfileFieldPrivacyFlags,
|
||||
ProfileFieldPrivacyFlagsDescriptions,
|
||||
'Bitfield controlling who can see the profile timezone',
|
||||
'ProfileFieldPrivacyFlags',
|
||||
).describe(
|
||||
'Bitfield controlling who can see the profile timezone. Ignored unless the profile_timezone experiment serves the user.',
|
||||
),
|
||||
).describe('Bitfield controlling who can see the profile timezone'),
|
||||
premium_badge_hidden: z.boolean().describe('Whether to hide the premium badge'),
|
||||
premium_badge_masked: z.boolean().describe('Whether to mask the premium badge'),
|
||||
premium_badge_timestamp_hidden: z.boolean().describe('Whether to hide premium badge timestamp'),
|
||||
|
||||
Reference in new issue
Block a user