create-payload-app 3.0.0-beta.110 → 3.0.0-beta.112
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/template/src/app/(payload)/admin/[[...segments]]/not-found.tsx +5 -5
- package/dist/template/src/app/(payload)/admin/[[...segments]]/page.tsx +5 -5
- package/dist/template/src/app/(payload)/api/[...slug]/route.ts +1 -1
- package/dist/template/src/app/(payload)/api/graphql/route.ts +1 -1
- package/dist/template/src/app/(payload)/api/graphql-playground/route.ts +1 -1
- package/dist/template/src/app/(payload)/layout.tsx +1 -1
- package/package.json +1 -1
@@ -1,18 +1,18 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
2
3
|
import type { Metadata } from 'next'
|
3
4
|
|
4
5
|
import config from '@payload-config'
|
5
|
-
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
6
6
|
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> =>
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
2
3
|
import type { Metadata } from 'next'
|
3
4
|
|
4
5
|
import config from '@payload-config'
|
5
|
-
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
6
6
|
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> =>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
-
/* DO NOT MODIFY
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
3
3
|
import config from '@payload-config'
|
4
4
|
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
-
/* DO NOT MODIFY
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
3
3
|
import config from '@payload-config'
|
4
4
|
import { GRAPHQL_POST } from '@payloadcms/next/routes'
|
5
5
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
-
/* DO NOT MODIFY
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
3
3
|
import config from '@payload-config'
|
4
4
|
import { GRAPHQL_PLAYGROUND_GET } from '@payloadcms/next/routes'
|
5
5
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
2
|
+
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
2
3
|
import configPromise from '@payload-config'
|
3
4
|
import '@payloadcms/next/css'
|
4
5
|
import { RootLayout } from '@payloadcms/next/layouts'
|
5
|
-
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
6
6
|
import React from 'react'
|
7
7
|
|
8
8
|
import './custom.scss'
|