# Copyright (c) 2024, JINGROW
# For license information, please see license.txt
from __future__ import annotations

from jingrow.model.page import Page

from jcloud.overrides import get_permission_query_conditions_for_pagetype


class SQLPlaygroundLog(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

		committed: DF.Check
		query: DF.SmallText | None
		site: DF.Link | None
		team: DF.Link | None
	# end: auto-generated types

	PAGETYPE = "SQL Playground Log"
	dashboard_fields = (
		"site",
		"query",
		"committed",
	)


get_permission_query_conditions = get_permission_query_conditions_for_pagetype("SQL Playground Log")
