Files
mastodon-sakyey/app/javascript/flavours/glitch/features/account_timeline/common.ts
2026-02-25 19:11:38 +01:00

13 lines
384 B
TypeScript

import type { AccountFieldShape } from '@/flavours/glitch/models/account';
import { isServerFeatureEnabled } from '@/flavours/glitch/utils/environment';
export function isRedesignEnabled() {
return isServerFeatureEnabled('profile_redesign');
}
export interface AccountField extends AccountFieldShape {
nameHasEmojis: boolean;
value_plain: string;
valueHasEmojis: boolean;
}