Replace public legal files and switch booking to a contact request without a schedule.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,7 @@ import { Documents } from './collections/Documents'
|
||||
import { Favorites } from './collections/Favorites'
|
||||
import { Notifications } from './collections/Notifications'
|
||||
import { Invoices } from './collections/Invoices'
|
||||
import { Inquiries } from './collections/Inquiries'
|
||||
import { Settings } from './globals/Settings'
|
||||
import { settingsResendAdapter } from './lib/email'
|
||||
import { ensureSettingsSchema } from './lib/ensure-settings-schema'
|
||||
@@ -31,6 +32,7 @@ import { ensurePagesSchema } from './lib/ensure-pages-schema'
|
||||
import { ensureDocumentsSchema } from './lib/ensure-documents-schema'
|
||||
import { ensureServicesSchema } from './lib/ensure-services-schema'
|
||||
import { ensureBannersSchema } from './lib/ensure-banners-schema'
|
||||
import { ensureInquiriesSchema } from './lib/ensure-inquiries-schema'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
@@ -59,6 +61,7 @@ export default buildConfig({
|
||||
Services,
|
||||
Schedules,
|
||||
Bookings,
|
||||
Inquiries,
|
||||
Invoices,
|
||||
Reviews,
|
||||
Pages,
|
||||
@@ -80,6 +83,7 @@ export default buildConfig({
|
||||
await ensureDocumentsSchema(payload)
|
||||
await ensureServicesSchema(payload)
|
||||
await ensureBannersSchema(payload)
|
||||
await ensureInquiriesSchema(payload)
|
||||
try {
|
||||
const { seedSitePages } = await import('./seed/site-pages')
|
||||
await seedSitePages(payload)
|
||||
|
||||
Reference in New Issue
Block a user