chore: fix linting errors and ts bugs.

This commit is contained in:
syntaxbullet
2026-06-17 17:41:21 +02:00
parent 3e04a3c7e3
commit 51494e25a8
41 changed files with 285 additions and 251 deletions

View File

@@ -201,7 +201,7 @@ export const seed = async ({
payload.logger.info(`— Seeding pages...`)
const [_, contactPage] = await Promise.all([
await Promise.all([
payload.create({
collection: 'pages',
depth: 0,
@@ -222,11 +222,11 @@ export const seed = async ({
await Promise.all([
payload.updateGlobal({
slug: 'header',
data: headerSeedData as any,
data: headerSeedData as never,
}),
payload.updateGlobal({
slug: 'footer',
data: footerSeedData as any,
data: footerSeedData as never,
}),
])