chore: types update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||
/* DO NOT MODIFY it because it could be re-written at any time. */
|
||||
import config from '@payload-config'
|
||||
import { REST_GET, REST_DELETE, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
||||
import { REST_DELETE, REST_GET, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
||||
|
||||
export const GET = REST_GET(config)
|
||||
export const POST = REST_POST(config)
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
export const GET = async () => {
|
||||
console.log('1')
|
||||
console.log('1')
|
||||
console.log('1')
|
||||
console.log('1')
|
||||
console.log('1')
|
||||
export const GET = () => {
|
||||
return Response.json({
|
||||
hello: 'elliot',
|
||||
})
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import type { SanitizedClientEditorConfig } from '@payloadcms/richtext-lexical'
|
||||
import type { FieldMap, FormFieldBase, FormState } from '@payloadcms/ui'
|
||||
import type { FieldMap, FormFieldBase } from '@payloadcms/ui'
|
||||
import type { ReducedBlock } from '@payloadcms/ui/types'
|
||||
import type { FormState } from 'payload/types'
|
||||
import type { Data } from 'payload/types'
|
||||
|
||||
import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { FormState } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
import type { Data } from 'payload/types'
|
||||
import type React from 'react'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { FormState } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
|
||||
import type { LinkPayload } from '../plugins/floatingLinkEditor/types'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { FormState } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
import type { Data } from 'payload/types'
|
||||
|
||||
import { useModal } from '@faceless-ui/modal'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import type { FormState } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
|
||||
import { useModal } from '@faceless-ui/modal'
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import type { FormState } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
|
||||
import { useModal } from '@faceless-ui/modal'
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { FieldMap, FormState } from '@payloadcms/ui'
|
||||
import type { FieldMap } from '@payloadcms/ui'
|
||||
import type { FormState } from 'payload/types'
|
||||
|
||||
export type Props = {
|
||||
drawerSlug: string
|
||||
|
||||
Reference in New Issue
Block a user