import { b as r } from "./chunk-TATG6SFZ.js";
import { a as i } from "./chunk-YIFNKP4J.js";
import { a as o } from "./chunk-UU2MSQXY.js";
import { a as t } from "./chunk-T3LIA4YB.js";
import { b as a } from "./chunk-RGLVKILY.js";
import { c as n } from "./chunk-YBGPPF7T.js";
import { e as u } from "./chunk-VZPXXFVX.js";
import { e as l } from "./chunk-5N6MBJJ4.js";
import { a as s } from "./chunk-SFKZAUPW.js";
import { Type as e } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var w = e.Object({ colorPreset: u({ title: "Color", default: { color: "bg-base-100" } }), tags: e.Optional(e.Array(t("Tag"), { title: "Tags", description: "Tags for this page. Used for organization and filtering in navigation elements and in the dashboard.", "ui:field": "tags" })), path: t("URL path", { default: "/", description: "The URL path of the page. Use placeholders like :id or :slug for dynamic paths.", "ui:group": "location", "ui:group:title": "Location", "ui:field": "path" }), queries: e.Optional(e.Array(n(), { title: "Page Queries", description: "List of queries to use in this page. All listed queries will be executed when the page loads.", "ai:instructions": "Reference Query IDs to use at the page level.", "ui:field": "page-queries", maxItems: 5 })), title: t("Title", { default: "Untitled", "ui:group": "meta", "ui:group:title": "Meta tags", description: "The title of the page. Appears in the browser tab and search results", "ui:placeholder": "Page title" }), description: t("Description", { "ui:widget": "textarea", "ui:group": "meta", "ui:group:title": "Meta tags", description: "A short description of the page. Used by search engines", "ui:multiline": !0, "ui:textarea-class": "h-24", default: "", "ui:placeholder": "A brief description of the page" }), keywords: t("Keywords", { "ui:group": "meta", "ui:group:title": "Meta tags", description: "Keywords related to the page. Used by search engines", "ui:multiline": !0, default: "", "ui:placeholder": "keyword1, keyword2, keyword3" }), ogImage: e.Optional(a({ title: "Social share image", description: "Image shown when this page is shared on social media", "ai:hidden": !0, "ui:no-object-options": !0, "ui:no-alt-text": !0, "ui:show-img-search": !1, "ui:no-dynamic": !0, "ui:placeholder": "https://example.com/image.jpg" })), robotsIndexing: e.Optional(i("Allow search engines to index this page", !0, { description: "Disabling this will prevent search engines from indexing this page", "ai:hidden": !0 })), language: e.Optional(s(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { "ai:hidden": !0, title: "Language", description: "Overrides the site language for this page. Leave blank to use the site default language.", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"] })), additionalTags: e.Optional(o({ title: "Additional script tags", children: { headTags: e.Optional(e.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:instructions": "Don't include meta tags here, they are automatically generated.", "ui:multiline": !0, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": !0, "ui:textarea-font-size": "1", "ui:group": "external-scripts", "ui:group:title": "External scripts", "ui:no-dynamic": !0 })), bodyTags: e.Optional(e.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ui:multiline": !0, "ui:premium": !0, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:group": "external-scripts", "ui:group:title": "External scripts", "ui:no-dynamic": !0 })) } })), lastUpdated: e.Optional(r("Last updated", { "ui:hidden": !0 })) }), T = e.Object({ queries: e.Optional(e.Array(l, { title: "Site Queries", "ui:field": "site-queries", description: "List of all queries available in this site. These can be used in any page.", "ai:instructions": "This is where queries are first defined. They are then referenced in pages attributes to use them." })), language: s(["ar", "zh", "cs", "nl", "en", "fr", "de", "he", "hi", "it", "ja", "ko", "fa", "pl", "pt", "ru", "es", "tr", "vi"], { title: "Language", default: "en", enumNames: ["Arabic", "Chinese", "Czech", "Dutch", "English", "French", "German", "Hebrew", "Hindi", "Italian", "Japanese", "Korean", "Persian", "Polish", "Portuguese", "Russian", "Spanish", "Turkish", "Vietnamese"], "ai:instructions": "Choose a value based on the site description. If the site is in multiple languages, use 'en'." }), ogImage: e.Optional(a({ title: "Social share image", description: "Image shown when this site is shared on social media", "ai:hidden": !0, "ui:no-object-options": !0, "ui:no-alt-text": !0, "ui:show-img-search": !1, "ui:no-dynamic": !0 })), robotsIndexing: e.Optional(i("Allow search engines to index this site", !0, { description: "Disabling this will prevent search engines from indexing this site entirely", "ai:hidden": !0 })), headTags: e.Optional(e.String({ title: "Head script tags", description: "Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": !0, "ui:multiline": !0, "ui:textarea-class": "h-40 !font-mono", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:premium": !0, "ui:textarea-font-size": "1", "ui:group": "external-scripts", "ui:group:title": "External scripts", "ui:no-dynamic": !0 })), bodyTags: e.Optional(e.String({ title: "Body script tags", description: "Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.", "ai:hidden": !0, "ui:multiline": !0, "ui:premium": !0, "ui:textarea-class": "h-40 !font-mono", "ui:textarea-font-size": "1", "ui:placeholder": "<script src='https://example.com/script.js'><\/script>", "ui:group": "external-scripts", "ui:group:title": "External scripts", "ui:no-dynamic": !0 })) });
export {
  w as a,
  T as b
};
//# sourceMappingURL=chunk-EYPREFMH.js.map
