<commit_before>import { Api } from '../api/api.service';
import { ContentContainerModel } from '../content/content-container-model';
import { ContentContext } from '../content/content-context';
import { ContentSetCacheService } from '../content/content-set-cache';
import { MediaItem } from '../media-item/media-item-model';
import { CommentableModel, Model } from '../model/model.service';
import { Registry } from '../registry/registry.service';
import { Theme } from '../theme/theme.model';

export class User extends Model implements ContentContainerModel, CommentableModel {
	static readonly TYPE_GAMER = 'User';
	static readonly TYPE_DEVELOPER = 'Developer';

	type!: 'User' | 'Developer';
	username!: string;
	name!: string;
	web_site!: string;
	display_name!: string;
	url!: string;
	slug!: string;
	img_avatar!: string;
	dogtag!: string;
	shouts_enabled!: boolean;

	status!: number;
	permission_level!: number;
	is_verified!: boolean;
	is_partner!: boolean | null;
	friend_requests_enabled!: boolean;

	created_on!: number;

	theme!: Theme | null;
	follower_count!: number;
	following_count!: number;
	comment_count!: number;
	is_following?: boolean;
	follows_you?: boolean;
	is_blocked?: boolean;
	blocked_you?: boolean;

	// exp settings.
	level?: number;
	experience?: number;
	experience_next?: number;
	level_next_percentage?: number;

	// Profile settings.
	avatar_media_item?: MediaItem;
	header_media_item?: MediaItem;
	disable_gravatar?: boolean;

	bio_content!: string;

	// Notifications settings.
	newsletter?: boolean;
	notifiy_shouts?: boolean;
	notifiy_comments?: boolean;
	notifiy_comment_replies?: boolean;
	notifiy_ratings?: boolean;
	notifiy_game_follows?: boolean;
	notifiy_user_follows?: boolean;
	notifiy_user_uploads?: boolean;
	notifiy_private_messages?: boolean;
	notifiy_friendships?: boolean;
	notifiy_forum_posts?: boolean;
	notifiy_followed_game_updates?: boolean;
	notifiy_sales?: boolean;
	notifiy_collaborator_invites?: boolean;
	notifiy_mentions?: boolean;
	notifiy_gj_news?: boolean;
	notifiy_gj_recommendations?: boolean;

	// Email settings
	email_address?: string;

	// Financials
	paypal_id?: string;<commit_msg>Fix the notification field names.<commit_after>import { Api } from '../api/api.service';
import { ContentContainerModel } from '../content/content-container-model';
import { ContentContext } from '../content/content-context';
import { ContentSetCacheService } from '../content/content-set-cache';
import { MediaItem } from '../media-item/media-item-model';
import { CommentableModel, Model } from '../model/model.service';
import { Registry } from '../registry/registry.service';
import { Theme } from '../theme/theme.model';

export class User extends Model implements ContentContainerModel, CommentableModel {
	static readonly TYPE_GAMER = 'User';
	static readonly TYPE_DEVELOPER = 'Developer';

	type!: 'User' | 'Developer';
	username!: string;
	name!: string;
	web_site!: string;
	display_name!: string;
	url!: string;
	slug!: string;
	img_avatar!: string;
	dogtag!: string;
	shouts_enabled!: boolean;

	status!: number;
	permission_level!: number;
	is_verified!: boolean;
	is_partner!: boolean | null;
	friend_requests_enabled!: boolean;

	created_on!: number;

	theme!: Theme | null;
	follower_count!: number;
	following_count!: number;
	comment_count!: number;
	is_following?: boolean;
	follows_you?: boolean;
	is_blocked?: boolean;
	blocked_you?: boolean;

	// exp settings.
	level?: number;
	experience?: number;
	experience_next?: number;
	level_next_percentage?: number;

	// Profile settings.
	avatar_media_item?: MediaItem;
	header_media_item?: MediaItem;
	disable_gravatar?: boolean;

	bio_content!: string;

	// Notifications settings.
	newsletter?: boolean;
	notify_shouts?: boolean;
	notify_comments?: boolean;
	notify_comment_replies?: boolean;
	notify_ratings?: boolean;
	notify_game_follows?: boolean;
	notify_user_follows?: boolean;
	notify_user_uploads?: boolean;
	notify_private_messages?: boolean;
	notify_friendships?: boolean;
	notify_forum_posts?: boolean;
	notify_followed_game_updates?: boolean;
	notify_sales?: boolean;
	notify_collaborator_invites?: boolean;
	notify_mentions?: boolean;
	notify_gj_news?: boolean;
	notify_gj_recommendations?: boolean;

	// Email settings
	email_address?: string;

	// Financials
	paypal_id?: string;
{'fraction_non_alphanumeric': 0.1255781683626272, 'fraction_numerical': 0.0, 'mean_word_length': 5.800314465408805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4867765', 'n_tokens_mistral': 1447, 'n_tokens_neox': 1401, 'n_words': 329}