# Copyright (c) 2015, JINGROW and Contributors
# License: MIT. See LICENSE

# License: MIT. See LICENSE

import jingrow
from jingrow.model.page import Page


class AboutUsSettings(Page):
	# begin: auto-generated types
	# This code is auto-generated. Do not modify anything in this block.

	from typing import TYPE_CHECKING

	if TYPE_CHECKING:
		from jingrow.types import DF
		from jingrow.website.pagetype.about_us_team_member.about_us_team_member import AboutUsTeamMember
		from jingrow.website.pagetype.company_history.company_history import CompanyHistory

		company_history: DF.Table[CompanyHistory]
		company_history_heading: DF.Data | None
		company_introduction: DF.TextEditor | None
		footer: DF.TextEditor | None
		page_title: DF.Data | None
		team_members: DF.Table[AboutUsTeamMember]
		team_members_heading: DF.Data | None
		team_members_subtitle: DF.SmallText | None

	# end: auto-generated types
	def on_update(self):
		from jingrow.website.utils import clear_cache

		clear_cache("about")


def get_args():
	obj = jingrow.get_pg("About Us Settings")
	return {"obj": obj}
