betterstart-cli 0.0.110 → 0.0.111
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/assets/adapters/next/templates/init/components/shared/dev-mode-integrate.tsx +2 -2
- package/dist/assets/adapters/next/templates/init/components/shared/entity-filters-bar.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/components/shared/entity-versions/entity-versions-drawer.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/components/shared/media/media-filters-bar.tsx +2 -2
- package/dist/assets/adapters/next/templates/init/components/shared/media/media-gallery-dialog.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/components/shared/media/media-preview.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/hooks/content-editor/use-color-highlight.ts +1 -3
- package/dist/assets/adapters/next/templates/init/hooks/content-editor/use-content-editor-media-insertion.ts +1 -3
- package/dist/assets/adapters/next/templates/init/hooks/content-editor/use-content-editor.ts +2 -6
- package/dist/assets/adapters/next/templates/init/pages/account-shell.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/auth-gate.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/forgot-password-form.tsx +4 -4
- package/dist/assets/adapters/next/templates/init/pages/forgot-password-page-skeleton.tsx +3 -3
- package/dist/assets/adapters/next/templates/init/pages/forgot-password-page.tsx +2 -2
- package/dist/assets/adapters/next/templates/init/pages/login-form.tsx +4 -4
- package/dist/assets/adapters/next/templates/init/pages/login-page-skeleton.tsx +3 -3
- package/dist/assets/adapters/next/templates/init/pages/login-page.tsx +2 -2
- package/dist/assets/adapters/next/templates/init/pages/media/media-page-content.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/reset-password-form.tsx +8 -8
- package/dist/assets/adapters/next/templates/init/pages/reset-password-page-skeleton.tsx +3 -3
- package/dist/assets/adapters/next/templates/init/pages/reset-password-page.tsx +2 -2
- package/dist/assets/adapters/next/templates/init/pages/settings/audit-log/audit-log-detail-drawer.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/audit-log/audit-log-page.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/forms/form-notifications-drawer.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/forms/forms-settings-page.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/webhooks/delete-webhook-dialog.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/webhooks/webhook-endpoint-dialog.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/webhooks/webhooks-logs-page.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/settings/webhooks/webhooks-page.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/users/change-password-dialog.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/users/create-user-dialog.tsx +1 -1
- package/dist/assets/adapters/next/templates/init/pages/users/edit-role-dialog.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/custom/content-editor/index.tsx +5 -30
- package/dist/assets/shared-assets/react-admin/custom/content-editor/main-toolbar-content.tsx +6 -28
- package/dist/assets/shared-assets/react-admin/custom/content-editor/tiptap-node/removable-image-node/removable-image-node.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/custom/gallery-field.tsx +3 -3
- package/dist/assets/shared-assets/react-admin/ui/alert-dialog.tsx +6 -6
- package/dist/assets/shared-assets/react-admin/ui/alert.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/breadcrumb.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/calendar.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/card.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/dialog.tsx +2 -2
- package/dist/assets/shared-assets/react-admin/ui/drawer.tsx +2 -2
- package/dist/assets/shared-assets/react-admin/ui/field.tsx +2 -4
- package/dist/assets/shared-assets/react-admin/ui/input.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/pagination.tsx +2 -2
- package/dist/assets/shared-assets/react-admin/ui/sheet.tsx +1 -1
- package/dist/assets/shared-assets/react-admin/ui/sidebar.tsx +13 -63
- package/dist/assets/shared-assets/react-admin/ui/textarea.tsx +1 -1
- package/dist/cli.js +45 -113
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/dist/assets/adapters/next/templates/init/hooks/content-editor/use-content-editor-mobile-toolbar.ts +0 -17
- package/dist/assets/adapters/next/templates/init/hooks/content-editor/use-is-breakpoint.ts +0 -24
- package/dist/assets/adapters/next/templates/init/hooks/use-mobile.ts +0 -19
- package/dist/assets/shared-assets/react-admin/custom/content-editor/mobile-toolbar-content.tsx +0 -56
package/dist/cli.js
CHANGED
|
@@ -2849,9 +2849,7 @@ var STATIC_CUSTOM_DEPENDENCIES = {
|
|
|
2849
2849
|
"use-content-editor",
|
|
2850
2850
|
"use-content-editor-table-add-controls",
|
|
2851
2851
|
"use-content-editor-source-mode",
|
|
2852
|
-
"use-content-editor-mobile-toolbar",
|
|
2853
2852
|
"use-content-editor-slash-menu",
|
|
2854
|
-
"use-mobile",
|
|
2855
2853
|
"tiptap",
|
|
2856
2854
|
"tiptap-utils"
|
|
2857
2855
|
],
|
|
@@ -2935,11 +2933,6 @@ var STATIC_CUSTOM_DEPENDENCIES = {
|
|
|
2935
2933
|
"tiptap-utils"
|
|
2936
2934
|
],
|
|
2937
2935
|
"content-editor/media-gallery-block": ["media-field"],
|
|
2938
|
-
"content-editor/mobile-toolbar-content": [
|
|
2939
|
-
"content-editor/math-popover",
|
|
2940
|
-
"content-editor/use-tiptap-editor",
|
|
2941
|
-
"tiptap-utils"
|
|
2942
|
-
],
|
|
2943
2936
|
"content-editor/selection-bubble-menu": ["content-editor/math-popover"],
|
|
2944
2937
|
"content-editor/slash-command-menu": ["content-editor-slash-commands-utils", "tiptap-utils"],
|
|
2945
2938
|
"content-editor/source-mode": [
|
|
@@ -2986,7 +2979,6 @@ var TIPTAP_TEMPLATE_DEPENDENCIES = [
|
|
|
2986
2979
|
"use-blockquote",
|
|
2987
2980
|
"use-code-block",
|
|
2988
2981
|
"use-color-highlight",
|
|
2989
|
-
"content-editor/use-is-breakpoint",
|
|
2990
2982
|
"content-editor/use-menu-navigation",
|
|
2991
2983
|
"content-editor/use-tiptap-editor",
|
|
2992
2984
|
"use-content-editor-table-add-controls",
|
|
@@ -4690,7 +4682,7 @@ ${errorMessageLine2}
|
|
|
4690
4682
|
|
|
4691
4683
|
// adapters/next/generators/form-pipeline/form-component-shared/input-class.ts
|
|
4692
4684
|
function inputClass(height) {
|
|
4693
|
-
const base = "h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-
|
|
4685
|
+
const base = "h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50";
|
|
4694
4686
|
return height === "fill" ? `${base} flex-1` : base;
|
|
4695
4687
|
}
|
|
4696
4688
|
|
|
@@ -5112,7 +5104,7 @@ function generateNumberFieldJSX(name, label, placeholder, hintJSX, requiredStar,
|
|
|
5112
5104
|
|
|
5113
5105
|
// adapters/next/generators/form-pipeline/form-component-shared/textarea-class.ts
|
|
5114
5106
|
function textareaClass(height) {
|
|
5115
|
-
const base = "min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-
|
|
5107
|
+
const base = "min-h-24 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-xs outline-none transition-[color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50";
|
|
5116
5108
|
return height === "fill" ? `${base} flex-1` : base;
|
|
5117
5109
|
}
|
|
5118
5110
|
|
|
@@ -5346,7 +5338,7 @@ function renderFieldsJSX(fields) {
|
|
|
5346
5338
|
if (f.type === "group" && f.fields) {
|
|
5347
5339
|
const cols = f.columns || 2;
|
|
5348
5340
|
const innerJSX = renderFieldsJSX(f.fields);
|
|
5349
|
-
const groupJSX = ` <div className="grid grid-cols
|
|
5341
|
+
const groupJSX = ` <div className="grid grid-cols-${cols} gap-5">
|
|
5350
5342
|
${innerJSX}
|
|
5351
5343
|
</div>`;
|
|
5352
5344
|
return f.showWhen ? wrapShowWhen(f, groupJSX) : groupJSX;
|
|
@@ -7199,7 +7191,7 @@ export function ${pascal}SubmissionDrawer({
|
|
|
7199
7191
|
|
|
7200
7192
|
return (
|
|
7201
7193
|
<Drawer swipeDirection="right" open={open} onOpenChange={onOpenChange} modal>
|
|
7202
|
-
<DrawerContent className="h-full w-full overflow-hidden data-[swipe-direction=right]:
|
|
7194
|
+
<DrawerContent className="h-full w-full overflow-hidden data-[swipe-direction=right]:max-w-xl">
|
|
7203
7195
|
<DrawerHeader>
|
|
7204
7196
|
<DrawerTitle>${label} Submission</DrawerTitle>
|
|
7205
7197
|
<DrawerDescription>{description}</DrawerDescription>
|
|
@@ -15030,30 +15022,7 @@ function generateDatabase(schema, dbDir, options = {}, relatedSchemas = /* @__PU
|
|
|
15030
15022
|
};
|
|
15031
15023
|
}
|
|
15032
15024
|
|
|
15033
|
-
// adapters/next/templates/renderers/generators/edit-page.ts
|
|
15034
|
-
function renderEditPageShellTemplate({
|
|
15035
|
-
singular,
|
|
15036
|
-
kebabSingular
|
|
15037
|
-
}) {
|
|
15038
|
-
return `import * as React from 'react'
|
|
15039
|
-
import { Edit${singular}PageContent } from './edit-${kebabSingular}-page-content'
|
|
15040
|
-
import { Edit${singular}PageSkeleton } from './edit-${kebabSingular}-page-skeleton'
|
|
15041
|
-
|
|
15042
|
-
interface PageProps {
|
|
15043
|
-
params: Promise<{
|
|
15044
|
-
id: string
|
|
15045
|
-
}>
|
|
15046
|
-
}
|
|
15047
|
-
|
|
15048
|
-
export default function Edit${singular}Page({ params }: PageProps) {
|
|
15049
|
-
return (
|
|
15050
|
-
<React.Suspense fallback={<Edit${singular}PageSkeleton />}>
|
|
15051
|
-
<Edit${singular}PageContent params={params} />
|
|
15052
|
-
</React.Suspense>
|
|
15053
|
-
)
|
|
15054
|
-
}
|
|
15055
|
-
`;
|
|
15056
|
-
}
|
|
15025
|
+
// adapters/next/templates/renderers/generators/edit-page-content.ts
|
|
15057
15026
|
function renderEditPageContentTemplate({
|
|
15058
15027
|
singular,
|
|
15059
15028
|
actionImportPath,
|
|
@@ -15076,22 +15045,30 @@ export async function Edit${singular}PageContent({ params }: { params: Promise<{
|
|
|
15076
15045
|
}
|
|
15077
15046
|
`;
|
|
15078
15047
|
}
|
|
15079
|
-
|
|
15048
|
+
|
|
15049
|
+
// adapters/next/templates/renderers/generators/edit-page.ts
|
|
15050
|
+
function renderEditPageTemplate({
|
|
15080
15051
|
singular,
|
|
15081
|
-
|
|
15082
|
-
kebabName,
|
|
15083
|
-
kebabSingular,
|
|
15084
|
-
camelSingular
|
|
15052
|
+
kebabSingular
|
|
15085
15053
|
}) {
|
|
15086
|
-
return
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15054
|
+
return `import * as React from 'react'
|
|
15055
|
+
import { Edit${singular}PageContent } from './edit-${kebabSingular}-page-content'
|
|
15056
|
+
import { Edit${singular}PageSkeleton } from './edit-${kebabSingular}-page-skeleton'
|
|
15057
|
+
|
|
15058
|
+
interface PageProps {
|
|
15059
|
+
params: Promise<{
|
|
15060
|
+
id: string
|
|
15061
|
+
}>
|
|
15062
|
+
}
|
|
15063
|
+
|
|
15064
|
+
export default function Edit${singular}Page({ params }: PageProps) {
|
|
15065
|
+
return (
|
|
15066
|
+
<React.Suspense fallback={<Edit${singular}PageSkeleton />}>
|
|
15067
|
+
<Edit${singular}PageContent params={params} />
|
|
15068
|
+
</React.Suspense>
|
|
15069
|
+
)
|
|
15070
|
+
}
|
|
15071
|
+
`;
|
|
15095
15072
|
}
|
|
15096
15073
|
|
|
15097
15074
|
// adapters/next/generators/edit-page.ts
|
|
@@ -15103,11 +15080,11 @@ function generateEditPage(schema, pagesDir, options = {}) {
|
|
|
15103
15080
|
const kebabSingular = toKebabCase(singular);
|
|
15104
15081
|
const actionImportPath = resolveSchemaActionImportPath(schema.name, options.outputNamespace);
|
|
15105
15082
|
const displayNouns = resolveDisplayNouns(schema);
|
|
15106
|
-
const {
|
|
15083
|
+
const page = renderEditPageTemplate({ singular: Singular, kebabSingular });
|
|
15084
|
+
const content = renderEditPageContentTemplate({
|
|
15107
15085
|
singular: Singular,
|
|
15108
15086
|
actionImportPath,
|
|
15109
15087
|
kebabName,
|
|
15110
|
-
kebabSingular,
|
|
15111
15088
|
camelSingular
|
|
15112
15089
|
});
|
|
15113
15090
|
const skeleton = buildLoadingSkeletonSource(`Edit${Singular}PageSkeleton`, displayNouns.singular);
|
|
@@ -16042,15 +16019,15 @@ ${join}
|
|
|
16042
16019
|
}
|
|
16043
16020
|
function renderFormLayoutDetailsTemplate() {
|
|
16044
16021
|
return `className={initialData?.id != null
|
|
16045
|
-
? '
|
|
16046
|
-
: '
|
|
16022
|
+
? 'sticky top-32 space-y-4 pb-4'
|
|
16023
|
+
: 'sticky top-14 space-y-4 pb-4'}`;
|
|
16047
16024
|
}
|
|
16048
16025
|
function renderFormCardContentGridTemplate({
|
|
16049
16026
|
tabSidebarEntriesGrid,
|
|
16050
16027
|
tabMainFieldsJsx,
|
|
16051
16028
|
sidebarColumn
|
|
16052
16029
|
}) {
|
|
16053
|
-
return ` <div className="grid
|
|
16030
|
+
return ` <div className="grid ${tabSidebarEntriesGrid} h-full min-h-0 gap-4 items-stretch">
|
|
16054
16031
|
<div className="h-full min-h-0 min-w-0">
|
|
16055
16032
|
<Card className="min-h-0 min-w-0 h-full">
|
|
16056
16033
|
<CardContent className="space-y-5 gap-0 h-full min-h-0">
|
|
@@ -16066,7 +16043,7 @@ function renderFormLayoutDetailsBranchTemplate() {
|
|
|
16066
16043
|
className={cn(
|
|
16067
16044
|
'grid grid-cols-1 gap-4 items-start h-full',
|
|
16068
16045
|
{
|
|
16069
|
-
'
|
|
16046
|
+
'grid-cols-[1fr_360px]': hasVisibleSidebarFields
|
|
16070
16047
|
}
|
|
16071
16048
|
)}
|
|
16072
16049
|
>`;
|
|
@@ -16519,7 +16496,7 @@ function renderFormLayoutDetailsBranchBodyTemplate({
|
|
|
16519
16496
|
return ` {initialData?.id != null && (
|
|
16520
16497
|
<div
|
|
16521
16498
|
className={cn(
|
|
16522
|
-
'sticky z-100 flex flex-
|
|
16499
|
+
'sticky z-100 flex flex-row items-center justify-between gap-1 px-4 bg-background h-14 top-14 transition-shadow overflow-x-clip',
|
|
16523
16500
|
{
|
|
16524
16501
|
'shadow-modal/2': hasScrolled,
|
|
16525
16502
|
'border-b border-border/80': !hasScrolled
|
|
@@ -19409,7 +19386,7 @@ function buildEntityFormLayout({
|
|
|
19409
19386
|
return renderEntityFormContentRenderer({
|
|
19410
19387
|
kind: "renderFormContentClassNameTemplate",
|
|
19411
19388
|
props: {
|
|
19412
|
-
optionsScrollableClassName: options.scrollable ? 'className="relative h-fit max-h-full space-y-4 overflow-y-auto pb-4
|
|
19389
|
+
optionsScrollableClassName: options.scrollable ? 'className="relative h-fit max-h-full space-y-4 overflow-y-auto pb-4 sticky top-0"' : showMetadataWidget ? renderEntityFormContentRenderer({ kind: "renderFormLayoutDetailsTemplate" }) : 'className="sticky top-14 space-y-4 pb-4"',
|
|
19413
19390
|
join: cards.join("\n")
|
|
19414
19391
|
}
|
|
19415
19392
|
});
|
|
@@ -19435,7 +19412,7 @@ function buildEntityFormLayout({
|
|
|
19435
19412
|
return renderEntityFormContentRenderer({
|
|
19436
19413
|
kind: "renderFormCardContentGridTemplate",
|
|
19437
19414
|
props: {
|
|
19438
|
-
tabSidebarEntriesGrid: tabSidebarEntries.length > 0 ? "
|
|
19415
|
+
tabSidebarEntriesGrid: tabSidebarEntries.length > 0 ? "grid-cols-[1fr_360px]" : "grid-cols-1",
|
|
19439
19416
|
tabMainFieldsJsx: tabMainFieldsJSX,
|
|
19440
19417
|
sidebarColumn
|
|
19441
19418
|
}
|
|
@@ -19491,7 +19468,7 @@ function buildEntityFormLayout({
|
|
|
19491
19468
|
const sidebarVisibilityState = shouldGuardSidebarByTab ? `
|
|
19492
19469
|
const hasVisibleSidebarFields = ${sidebarTabNames.map((tabName) => `activeTab === ${JSON.stringify(tabName)}`).join(" || ")}
|
|
19493
19470
|
` : "";
|
|
19494
|
-
const formGridOpen = shouldGuardSidebarByTab ? renderEntityFormContentRenderer({ kind: "renderFormLayoutDetailsBranchTemplate" }) : ` <div className="grid
|
|
19471
|
+
const formGridOpen = shouldGuardSidebarByTab ? renderEntityFormContentRenderer({ kind: "renderFormLayoutDetailsBranchTemplate" }) : ` <div className="grid ${hasSidebarFields ? "grid-cols-[1fr_360px]" : "grid-cols-1"} gap-4 items-start h-full">`;
|
|
19495
19472
|
const sidebarCardJSX = !hasSidebarFields ? "" : shouldGuardSidebarByTab ? renderEntityFormContentRenderer({
|
|
19496
19473
|
kind: "renderFormContentSidebarColumnTemplate",
|
|
19497
19474
|
props: {
|
|
@@ -31816,10 +31793,6 @@ function scaffoldComponents({ cwd, config }) {
|
|
|
31816
31793
|
"hooks/content-editor/use-table-button.ts",
|
|
31817
31794
|
readTemplate("hooks/content-editor/use-table-button.ts")
|
|
31818
31795
|
);
|
|
31819
|
-
write(
|
|
31820
|
-
"hooks/content-editor/use-content-editor-mobile-toolbar.ts",
|
|
31821
|
-
readTemplate("hooks/content-editor/use-content-editor-mobile-toolbar.ts")
|
|
31822
|
-
);
|
|
31823
31796
|
write(
|
|
31824
31797
|
"hooks/content-editor/use-content-editor-slash-menu.ts",
|
|
31825
31798
|
readTemplate("hooks/content-editor/use-content-editor-slash-menu.ts")
|
|
@@ -31829,10 +31802,6 @@ function scaffoldComponents({ cwd, config }) {
|
|
|
31829
31802
|
"hooks/content-editor/use-heading-dropdown-menu.ts",
|
|
31830
31803
|
readTemplate("hooks/content-editor/use-heading-dropdown-menu.ts")
|
|
31831
31804
|
);
|
|
31832
|
-
write(
|
|
31833
|
-
"hooks/content-editor/use-is-breakpoint.ts",
|
|
31834
|
-
readTemplate("hooks/content-editor/use-is-breakpoint.ts")
|
|
31835
|
-
);
|
|
31836
31805
|
write(
|
|
31837
31806
|
"hooks/content-editor/use-link-popover.ts",
|
|
31838
31807
|
readTemplate("hooks/content-editor/use-link-popover.ts")
|
|
@@ -31861,7 +31830,6 @@ function scaffoldComponents({ cwd, config }) {
|
|
|
31861
31830
|
write("hooks/use-audit-log.ts", readTemplate("hooks/use-audit-log.ts"));
|
|
31862
31831
|
write("hooks/use-users.ts", readTemplate("hooks/use-users.ts"));
|
|
31863
31832
|
write("hooks/use-webhooks.ts", readTemplate("hooks/use-webhooks.ts"));
|
|
31864
|
-
write("hooks/use-mobile.ts", readTemplate("hooks/use-mobile.ts"));
|
|
31865
31833
|
write("hooks/use-failed-image-url.ts", readTemplate("hooks/use-failed-image-url.ts"));
|
|
31866
31834
|
write("hooks/use-media.ts", readTemplate("hooks/use-media.ts"));
|
|
31867
31835
|
write("hooks/use-entity-versions.ts", readTemplate("hooks/use-entity-versions.ts"));
|
|
@@ -36500,7 +36468,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
36500
36468
|
"role-gate": {
|
|
36501
36469
|
relPath: "components/layouts/role-gate.tsx",
|
|
36502
36470
|
content: () => readTemplate("components/layouts/role-gate.tsx"),
|
|
36503
|
-
dependencies: ["auth-
|
|
36471
|
+
dependencies: ["auth-session", "auth-types"]
|
|
36504
36472
|
},
|
|
36505
36473
|
"page-header": {
|
|
36506
36474
|
relPath: "components/shared/page-header.tsx",
|
|
@@ -36766,7 +36734,6 @@ var TEMPLATE_REGISTRY = {
|
|
|
36766
36734
|
"content-editor-editor-view-utils",
|
|
36767
36735
|
"content-editor-table-bubble-utils",
|
|
36768
36736
|
"use-content-editor-slash-menu",
|
|
36769
|
-
"use-mobile",
|
|
36770
36737
|
"tiptap",
|
|
36771
36738
|
"tiptap-utils",
|
|
36772
36739
|
"content-editor/media-gallery-block",
|
|
@@ -36776,11 +36743,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
36776
36743
|
"use-content-editor-media-insertion": {
|
|
36777
36744
|
relPath: "hooks/content-editor/use-content-editor-media-insertion.ts",
|
|
36778
36745
|
content: () => readTemplate("hooks/content-editor/use-content-editor-media-insertion.ts"),
|
|
36779
|
-
dependencies: [
|
|
36780
|
-
"content-editor/use-is-breakpoint",
|
|
36781
|
-
"content-editor/use-tiptap-editor",
|
|
36782
|
-
"tiptap-utils"
|
|
36783
|
-
]
|
|
36746
|
+
dependencies: ["content-editor/use-tiptap-editor", "tiptap-utils"]
|
|
36784
36747
|
},
|
|
36785
36748
|
"use-blockquote": {
|
|
36786
36749
|
relPath: "hooks/content-editor/use-blockquote.ts",
|
|
@@ -36795,11 +36758,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
36795
36758
|
"use-color-highlight": {
|
|
36796
36759
|
relPath: "hooks/content-editor/use-color-highlight.ts",
|
|
36797
36760
|
content: () => readTemplate("hooks/content-editor/use-color-highlight.ts"),
|
|
36798
|
-
dependencies: [
|
|
36799
|
-
"content-editor/use-is-breakpoint",
|
|
36800
|
-
"content-editor/use-tiptap-editor",
|
|
36801
|
-
"tiptap-utils"
|
|
36802
|
-
]
|
|
36761
|
+
dependencies: ["content-editor/use-tiptap-editor", "tiptap-utils"]
|
|
36803
36762
|
},
|
|
36804
36763
|
"use-heading": {
|
|
36805
36764
|
relPath: "hooks/content-editor/use-heading.ts",
|
|
@@ -36846,20 +36805,11 @@ var TEMPLATE_REGISTRY = {
|
|
|
36846
36805
|
content: () => readTemplate("hooks/content-editor/use-table-button.ts"),
|
|
36847
36806
|
dependencies: ["content-editor-table-input-utils", "tiptap-utils"]
|
|
36848
36807
|
},
|
|
36849
|
-
"use-content-editor-mobile-toolbar": {
|
|
36850
|
-
relPath: "hooks/content-editor/use-content-editor-mobile-toolbar.ts",
|
|
36851
|
-
content: () => readTemplate("hooks/content-editor/use-content-editor-mobile-toolbar.ts"),
|
|
36852
|
-
dependencies: ["use-mobile"]
|
|
36853
|
-
},
|
|
36854
36808
|
"use-content-editor-slash-menu": {
|
|
36855
36809
|
relPath: "hooks/content-editor/use-content-editor-slash-menu.ts",
|
|
36856
36810
|
content: () => readTemplate("hooks/content-editor/use-content-editor-slash-menu.ts"),
|
|
36857
36811
|
dependencies: ["content-editor-slash-commands-utils", "tiptap-utils"]
|
|
36858
36812
|
},
|
|
36859
|
-
"content-editor/use-is-breakpoint": {
|
|
36860
|
-
relPath: "hooks/content-editor/use-is-breakpoint.ts",
|
|
36861
|
-
content: () => readTemplate("hooks/content-editor/use-is-breakpoint.ts")
|
|
36862
|
-
},
|
|
36863
36813
|
"content-editor/use-menu-navigation": {
|
|
36864
36814
|
relPath: "hooks/content-editor/use-menu-navigation.ts",
|
|
36865
36815
|
content: () => readTemplate("hooks/content-editor/use-menu-navigation.ts")
|
|
@@ -36891,10 +36841,6 @@ var TEMPLATE_REGISTRY = {
|
|
|
36891
36841
|
content: () => readTemplate("hooks/use-webhooks.ts"),
|
|
36892
36842
|
dependencies: ["webhooks-action", "form-settings-action"]
|
|
36893
36843
|
},
|
|
36894
|
-
"use-mobile": {
|
|
36895
|
-
relPath: "hooks/use-mobile.ts",
|
|
36896
|
-
content: () => readTemplate("hooks/use-mobile.ts")
|
|
36897
|
-
},
|
|
36898
36844
|
"use-failed-image-url": {
|
|
36899
36845
|
relPath: "hooks/use-failed-image-url.ts",
|
|
36900
36846
|
content: () => readTemplate("hooks/use-failed-image-url.ts")
|
|
@@ -38117,7 +38063,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
38117
38063
|
relPath: "app/(admin)/admin/(account)/profile/profile-page-content.tsx",
|
|
38118
38064
|
content: () => readTemplate("pages/profile/profile-page-content.tsx"),
|
|
38119
38065
|
base: "cwd",
|
|
38120
|
-
dependencies: ["auth-
|
|
38066
|
+
dependencies: ["auth-session", "auth-types", "page-header", "profile-form"]
|
|
38121
38067
|
},
|
|
38122
38068
|
"profile-page-skeleton": {
|
|
38123
38069
|
relPath: "app/(admin)/admin/(account)/profile/profile-page-skeleton.tsx",
|
|
@@ -38246,8 +38192,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
38246
38192
|
content: () => readTemplate("pages/settings/forms/forms-settings-page.tsx"),
|
|
38247
38193
|
base: "cwd",
|
|
38248
38194
|
dependencies: [
|
|
38249
|
-
"auth-
|
|
38250
|
-
"auth-session",
|
|
38195
|
+
"auth-types",
|
|
38251
38196
|
"role-gate",
|
|
38252
38197
|
"forms-settings-page-skeleton",
|
|
38253
38198
|
"forms-settings-page-content"
|
|
@@ -38299,13 +38244,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
38299
38244
|
relPath: "app/(admin)/admin/(authenticated)/settings/webhooks/page.tsx",
|
|
38300
38245
|
content: () => readTemplate("pages/settings/webhooks/webhooks-page.tsx"),
|
|
38301
38246
|
base: "cwd",
|
|
38302
|
-
dependencies: [
|
|
38303
|
-
"auth-roles-utils",
|
|
38304
|
-
"auth-session",
|
|
38305
|
-
"role-gate",
|
|
38306
|
-
"webhooks-page-skeleton",
|
|
38307
|
-
"webhooks-page-content"
|
|
38308
|
-
]
|
|
38247
|
+
dependencies: ["auth-types", "role-gate", "webhooks-page-skeleton", "webhooks-page-content"]
|
|
38309
38248
|
},
|
|
38310
38249
|
"webhooks-page-skeleton": {
|
|
38311
38250
|
relPath: "app/(admin)/admin/(authenticated)/settings/webhooks/webhooks-page-skeleton.tsx",
|
|
@@ -38366,8 +38305,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
38366
38305
|
content: () => readTemplate("pages/settings/webhooks/webhooks-logs-page.tsx"),
|
|
38367
38306
|
base: "cwd",
|
|
38368
38307
|
dependencies: [
|
|
38369
|
-
"auth-
|
|
38370
|
-
"auth-session",
|
|
38308
|
+
"auth-types",
|
|
38371
38309
|
"role-gate",
|
|
38372
38310
|
"webhooks-logs-page-content",
|
|
38373
38311
|
"webhooks-page-skeleton"
|
|
@@ -39055,13 +38993,7 @@ var TEMPLATE_REGISTRY = {
|
|
|
39055
38993
|
relPath: "app/(admin)/admin/(authenticated)/settings/audit-log/page.tsx",
|
|
39056
38994
|
content: () => readTemplate("pages/settings/audit-log/audit-log-page.tsx"),
|
|
39057
38995
|
base: "cwd",
|
|
39058
|
-
dependencies: [
|
|
39059
|
-
"auth-roles-utils",
|
|
39060
|
-
"auth-session",
|
|
39061
|
-
"role-gate",
|
|
39062
|
-
"audit-log-page-content",
|
|
39063
|
-
"audit-log-page-skeleton"
|
|
39064
|
-
]
|
|
38996
|
+
dependencies: ["auth-types", "role-gate", "audit-log-page-content", "audit-log-page-skeleton"]
|
|
39065
38997
|
},
|
|
39066
38998
|
"audit-log-page-skeleton": {
|
|
39067
38999
|
relPath: "app/(admin)/admin/(authenticated)/settings/audit-log/audit-log-page-skeleton.tsx",
|