<commit_before>export type CampusLocation = {
	display: string
	buildingabbr: string
	building: string
	phone: string
	room: number
	// added from ccc-server
	shortLocation: string
}

export type Department = {
	href: string
	name: string
}

type Address = {
	zip: string
	city: string
	country: string
	state: string
	street: Array<string>
}

export type OfficeHours = {
	display: string
	prefix: string
	hrefLabel: string
	href: string
	content: string
	// added from ccc-server
	description: string
	title: string
}

type OnLeave = {
	start: string
	end: string
	type: string
}

export type DirectoryItem = {
	campusLocations: Array<CampusLocation>
	classYear: ?number
	departments: Array<Department>
	displayName: ?string
	displayTitle: ?string
	email: ?string
	firstName: ?string
	homeAddress: Address
	homePhone: ?string
	lastName: ?string
	officeHours: ?OfficeHours
	onLeave: ?OnLeave
	photo: string
	profileUrl: ?string
	suffixName: ?string
	thumbnail: string
	title: ?string
	username: ?string
	// added from ccc-server
	description: string
}

export type SearchResults = {
	meta: {
		count: number
		fullCount: number
	}
	results: Array<DirectoryItem><commit_msg>Clean up some of the directory types<commit_after>export type CampusLocation = {
	display: string
	buildingabbr: string
	building: string
	phone: string
	room: number
	// added from ccc-server
	shortLocation: string
}

export type Department = {
	href: string
	name: string
}

type Address = {
	zip: string
	city: string
	country: string
	state: string
	street: Array<string>
}

export type OfficeHours = {
	display: string
	prefix: string
	hrefLabel: string | null
	href: string | null
	content: string
	// added from ccc-server
	description: string
	title: string
}

type OnLeave = {
	start: string
	end: string
	type: string
}

export type DirectoryItem = {
	campusLocations: Array<CampusLocation>
	classYear: string | null
	departments: Array<Department>
	displayName: string
	displayTitle: string | null
	email: string | null
	firstName: string
	homeAddress: Address
	homePhone: string | null
	lastName: string
	officeHours: OfficeHours | null
	onLeave: OnLeave | null
	photo: string
	profileUrl: string | null
	suffixName: string | null
	thumbnail: string
	title: string | null
	username: string | null
	// added from ccc-server
	description: string | null
}

export type SearchResults = {
	meta: {
		count: number
		fullCount: number
	}
	results: Array<DirectoryItem>
{'fraction_non_alphanumeric': 0.08255006129955048, 'fraction_numerical': 0.0, 'mean_word_length': 4.403973509933775, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6488899', 'n_tokens_mistral': 806, 'n_tokens_neox': 786, 'n_words': 256}