create-payload-app 3.0.0-canary.28c161d → 3.0.0-canary.291e44c

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,12 +7,12 @@ import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
7
7
  import { importMap } from '../importMap'
8
8
 
9
9
  type Args = {
10
- params: {
10
+ params: Promise<{
11
11
  segments: string[]
12
- }
13
- searchParams: {
12
+ }>
13
+ searchParams: Promise<{
14
14
  [key: string]: string | string[]
15
- }
15
+ }>
16
16
  }
17
17
 
18
18
  export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
@@ -7,12 +7,12 @@ import { RootPage, generatePageMetadata } from '@payloadcms/next/views'
7
7
  import { importMap } from '../importMap'
8
8
 
9
9
  type Args = {
10
- params: {
10
+ params: Promise<{
11
11
  segments: string[]
12
- }
13
- searchParams: {
12
+ }>
13
+ searchParams: Promise<{
14
14
  [key: string]: string | string[]
15
- }
15
+ }>
16
16
  }
17
17
 
18
18
  export const generateMetadata = ({ params, searchParams }: Args): Promise<Metadata> =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-payload-app",
3
- "version": "3.0.0-canary.28c161d",
3
+ "version": "3.0.0-canary.291e44c",
4
4
  "homepage": "https://payloadcms.com",
5
5
  "repository": {
6
6
  "type": "git",