@betterstart/cli 0.1.75 → 0.1.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -5485,7 +5485,7 @@ export default async function Create${Singular}Page() {
|
|
|
5485
5485
|
return (
|
|
5486
5486
|
<>
|
|
5487
5487
|
<PageHeader title="Create ${singLabel}" back={<Button variant="ghost" size="icon" asChild><Link href="/cms/${schema.name}"><ChevronLeft /></Link></Button>} />
|
|
5488
|
-
<main className="container mx-auto max-w-5xl
|
|
5488
|
+
<main className="container mx-auto max-w-5xl pt-10 pb-20 w-full">
|
|
5489
5489
|
<${Singular}Form key={Date.now()} />
|
|
5490
5490
|
</main>
|
|
5491
5491
|
</>
|
|
@@ -5781,7 +5781,7 @@ export default async function Edit${Singular}Page({ params }: PageProps) {
|
|
|
5781
5781
|
return (
|
|
5782
5782
|
<>
|
|
5783
5783
|
<PageHeader title="Edit ${Singular}" back={<Button variant="ghost" size="icon" asChild><Link href="/cms/${schema.name}"><ChevronLeft /></Link></Button>} />
|
|
5784
|
-
<main className="container mx-auto max-w-5xl
|
|
5784
|
+
<main className="container mx-auto max-w-5xl pt-10 pb-20 w-full">
|
|
5785
5785
|
<${Singular}Form key={${camelSingular}.id} initialData={${camelSingular}} />
|
|
5786
5786
|
</main>
|
|
5787
5787
|
</>
|
|
@@ -7141,7 +7141,7 @@ ${fieldArrayHooks}
|
|
|
7141
7141
|
${fieldsJSX}
|
|
7142
7142
|
</CardContent>
|
|
7143
7143
|
<CardFooter>${group3.hint ? `
|
|
7144
|
-
<p className="text-
|
|
7144
|
+
<p className="text-sm text-muted-foreground">${group3.hint}</p>` : ""}
|
|
7145
7145
|
<Button type="submit" disabled={isPending} size="sm" className="ml-auto">
|
|
7146
7146
|
{isPending ? 'Saving...' : 'Save'}
|
|
7147
7147
|
</Button>
|
|
@@ -7903,7 +7903,7 @@ export default async function ${PageName}Page() {
|
|
|
7903
7903
|
return (
|
|
7904
7904
|
<>
|
|
7905
7905
|
<PageHeader title="${schema.label}" />
|
|
7906
|
-
<main className="container mx-auto max-w-5xl
|
|
7906
|
+
<main className="container mx-auto max-w-5xl pt-10 pb-20 w-full">
|
|
7907
7907
|
<${Singular}Form initialData={data} />
|
|
7908
7908
|
</main>
|
|
7909
7909
|
</>
|
|
@@ -10092,11 +10092,11 @@ function defaultSettingsSchema() {
|
|
|
10092
10092
|
{
|
|
10093
10093
|
type: "section",
|
|
10094
10094
|
name: "siteSettings",
|
|
10095
|
-
label: "
|
|
10096
|
-
description: "General settings for the
|
|
10095
|
+
label: "Dashboard Settings",
|
|
10096
|
+
description: "General settings for the dashboard",
|
|
10097
10097
|
fields: [
|
|
10098
|
-
{ name: "
|
|
10099
|
-
{ name: "
|
|
10098
|
+
{ name: "dashboardName", type: "string", label: "Name", hint: "Displayed in the sidebar and throughout the dashboard", default: "BetterStart" },
|
|
10099
|
+
{ name: "dashboardDescription", type: "text", label: "Description", hint: "A brief description of the application" }
|
|
10100
10100
|
]
|
|
10101
10101
|
},
|
|
10102
10102
|
{
|
|
@@ -10105,7 +10105,7 @@ function defaultSettingsSchema() {
|
|
|
10105
10105
|
label: "Branding",
|
|
10106
10106
|
description: "Logo and visual identity",
|
|
10107
10107
|
fields: [
|
|
10108
|
-
{ name: "
|
|
10108
|
+
{ name: "dashboardLogo", type: "image", label: "Logo" }
|
|
10109
10109
|
]
|
|
10110
10110
|
}
|
|
10111
10111
|
]
|