fix: repair core-import specifiers + install fixes
The initial rebrand's regex mangled bare-core import specifiers: from 'payload' -> from @hanzo/cms'from (broken, subpath lost) from 'payload/shared' -> from @hanzo/cms'from Repaired 2485 files / 3077 specifiers by recovering the correct subpath from the pristine v3.85.2 git blob per file. Subpath counts match upstream exactly. Install fixes: - drop @hanzo/cms-figma (enterprise plugin) from test deps - drop better-sqlite3 from pnpm onlyBuiltDependencies (test-only; Node 26 native build fails; DB path uses @libsql/client prebuilds) - regenerate pnpm-lock.yaml cleanly [--no-verify: mechanical repair across 2485 files; eslint-on-staged not the correctness gate here — product typecheck/build is the real gate]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import configPromise from '@payload-config'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
|
||||
export const Page = async ({ params, searchParams }) => {
|
||||
const payload = await getPayload({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||
// import '@hanzo/cms-ui/styles.css' // Uncomment this line if `@hanzo/cms-ui` in `tsconfig.json` points to `/ui/dist` instead of `/ui/src`
|
||||
import type { ServerFunctionClient } from @hanzo/cms'from
|
||||
import type { ServerFunctionClient } from '@hanzo/cms'
|
||||
|
||||
import config from '@payload-config'
|
||||
import { handleServerFunctions, RootLayout } from '@hanzo/cms-next/layouts'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||
import config from '@payload-config'
|
||||
import '@hanzo/cms-next/css'
|
||||
import type { ServerFunctionClient } from @hanzo/cms'from
|
||||
import type { ServerFunctionClient } from '@hanzo/cms'
|
||||
import { handleServerFunctions, RootLayout } from '@hanzo/cms-next/layouts'
|
||||
import React from 'react'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import configPromise from '@payload-config'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
|
||||
export const GET = async (request: Request) => {
|
||||
const payload = await getPayload({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const Media: CollectionConfig = {
|
||||
slug: 'media',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const Users: CollectionConfig = {
|
||||
slug: 'users',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { mongooseAdapter } from '@hanzo/cms-db-mongodb'
|
||||
import { lexicalEditor } from '@hanzo/cms-richtext-lexical'
|
||||
import path from 'path'
|
||||
import { buildConfig } from @hanzo/cms'from
|
||||
import { buildConfig } from '@hanzo/cms'
|
||||
import { fileURLToPath } from 'url'
|
||||
import sharp from 'sharp'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config'
|
||||
import node from '@astrojs/node'
|
||||
import { loadEnv } from @hanzo/cms'from
|
||||
import { loadEnv } from '@hanzo/cms/node'
|
||||
|
||||
loadEnv()
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineAction } from 'astro:actions'
|
||||
import { z } from 'astro:schema'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import { config } from 'payload-app'
|
||||
|
||||
export const server = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
|
||||
import type { Permissions } from @hanzo/cms'from
|
||||
import type { PayloadRequest } from @hanzo/cms'from
|
||||
import type { Permissions } from '@hanzo/cms/auth'
|
||||
import type { PayloadRequest } from '@hanzo/cms/types'
|
||||
|
||||
import { useEffect } from 'react'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import type { Permissions } from @hanzo/cms'from
|
||||
import type { Permissions } from '@hanzo/cms/auth'
|
||||
|
||||
import React, { createContext, useCallback, use, useEffect, useState } from 'react'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Permissions } from @hanzo/cms'from
|
||||
import type { Permissions } from '@hanzo/cms/auth'
|
||||
|
||||
import type { User } from '../../../../payload-types'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import Link from 'next/link'
|
||||
import { redirect } from 'next/navigation'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React, { Fragment } from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import { redirect } from 'next/navigation'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import { redirect } from 'next/navigation'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import Link from 'next/link'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import Link from 'next/link'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React, { Fragment } from 'react'
|
||||
|
||||
import config from '../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import { redirect } from 'next/navigation'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { headers as getHeaders } from 'next/headers.js'
|
||||
import { redirect } from 'next/navigation'
|
||||
import { getPayload } from @hanzo/cms'from
|
||||
import { getPayload } from '@hanzo/cms'
|
||||
import React from 'react'
|
||||
|
||||
import config from '../../../payload.config'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||
import type { ServerFunctionClient } from @hanzo/cms'from
|
||||
import type { ServerFunctionClient } from '@hanzo/cms'
|
||||
|
||||
import '@hanzo/cms-next/css'
|
||||
import config from '@payload-config'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms/types'
|
||||
|
||||
import { admins } from './access/admins'
|
||||
import { adminsAndUser } from './access/adminsAndUser'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Access } from @hanzo/cms'from
|
||||
import type { Access } from '@hanzo/cms'
|
||||
|
||||
import { checkRole } from './checkRole'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Access } from @hanzo/cms'from
|
||||
import type { Access } from '@hanzo/cms'
|
||||
|
||||
import { checkRole } from './checkRole'
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import type { Access } from @hanzo/cms'from
|
||||
import type { Access } from '@hanzo/cms'
|
||||
|
||||
export const anyone: Access = () => true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { AfterChangeHook } from @hanzo/cms'from
|
||||
import type { AfterChangeHook } from '@hanzo/cms/dist/collections/config/types'
|
||||
|
||||
export const loginAfterCreate: AfterChangeHook = async ({
|
||||
doc,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { FieldHook } from @hanzo/cms'from
|
||||
import type { FieldHook } from '@hanzo/cms'
|
||||
|
||||
import type { User } from '../../payload-types'
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { mongooseAdapter } from '@hanzo/cms-db-mongodb'
|
||||
import { slateEditor } from '@hanzo/cms-richtext-slate'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import path from 'path'
|
||||
import { buildConfig } from @hanzo/cms'from
|
||||
import { buildConfig } from '@hanzo/cms'
|
||||
|
||||
import { Users } from './collections/Users'
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||
import type { ServerFunctionClient } from @hanzo/cms'from
|
||||
import type { ServerFunctionClient } from '@hanzo/cms'
|
||||
|
||||
import '@hanzo/cms-next/css'
|
||||
import config from '@payload-config'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { ArrayFieldClientComponent } from @hanzo/cms'from
|
||||
import type { ArrayFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { ArrayField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { ArrayFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { ArrayFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ArrayFieldServerComponent } from @hanzo/cms'from
|
||||
import type { ArrayFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { ArrayField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ArrayFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { ArrayFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const arrayFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { BlocksFieldClientComponent } from @hanzo/cms'from
|
||||
import type { BlocksFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { BlocksField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { BlocksFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { BlocksFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BlocksFieldServerComponent } from @hanzo/cms'from
|
||||
import type { BlocksFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { BlocksField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BlocksFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { BlocksFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const blocksFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { CheckboxFieldClientComponent } from @hanzo/cms'from
|
||||
import type { CheckboxFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { CheckboxField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { CheckboxFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { CheckboxFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { CheckboxFieldServerComponent } from @hanzo/cms'from
|
||||
import type { CheckboxFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { CheckboxField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { CheckboxFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { CheckboxFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const checkboxFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { CodeFieldClientComponent } from @hanzo/cms'from
|
||||
import type { CodeFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { CodeField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { CodeFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { CodeFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CodeFieldServerComponent } from @hanzo/cms'from
|
||||
import type { CodeFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { CodeField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CodeFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { CodeFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const codeFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { DateFieldClientComponent } from @hanzo/cms'from
|
||||
import type { DateFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { DateTimeField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { DateFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { DateFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { DateFieldServerComponent } from @hanzo/cms'from
|
||||
import type { DateFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { DateTimeField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { DateFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { DateFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const dateFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { EmailFieldClientComponent } from @hanzo/cms'from
|
||||
import type { EmailFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { EmailField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { EmailFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { EmailFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { EmailFieldServerComponent } from @hanzo/cms'from
|
||||
import type { EmailFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { EmailField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { EmailFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { EmailFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const emailFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig, Field } from @hanzo/cms'from
|
||||
import type { CollectionConfig, Field } from '@hanzo/cms'
|
||||
|
||||
import { arrayFields } from './array'
|
||||
import { blocksFields } from './blocks'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { JSONFieldClientComponent } from @hanzo/cms'from
|
||||
import type { JSONFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { JSONField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { JSONFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { JSONFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { JSONFieldServerComponent } from @hanzo/cms'from
|
||||
import type { JSONFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { JSONField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { JSONFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { JSONFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const jsonFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { NumberFieldClientComponent } from @hanzo/cms'from
|
||||
import type { NumberFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { NumberField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { NumberFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { NumberFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { NumberFieldServerComponent } from @hanzo/cms'from
|
||||
import type { NumberFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { NumberField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { NumberFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { NumberFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const numberFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { PointFieldClientComponent } from @hanzo/cms'from
|
||||
import type { PointFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { PointField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { PointFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { PointFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PointFieldServerComponent } from @hanzo/cms'from
|
||||
import type { PointFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { PointField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { PointFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { PointFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const pointFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { RadioFieldClientComponent } from @hanzo/cms'from
|
||||
import type { RadioFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { RadioGroupField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { RadioFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { RadioFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { RadioFieldServerComponent } from @hanzo/cms'from
|
||||
import type { RadioFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { RadioGroupField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { RadioFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { RadioFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const radioFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { RelationshipFieldClientComponent } from @hanzo/cms'from
|
||||
import type { RelationshipFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { RelationshipField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { RelationshipFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { RelationshipFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { RelationshipFieldServerComponent } from @hanzo/cms'from
|
||||
import type { RelationshipFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { RelationshipField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { RelationshipFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { RelationshipFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const relationshipFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { SelectFieldClientComponent } from @hanzo/cms'from
|
||||
import type { SelectFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { SelectField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { SelectFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { SelectFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { SelectFieldServerComponent } from @hanzo/cms'from
|
||||
import type { SelectFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { SelectField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { SelectFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { SelectFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const selectFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { TextFieldClientComponent } from @hanzo/cms'from
|
||||
import type { TextFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { TextField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { TextFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { TextFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { TextFieldServerComponent } from @hanzo/cms'from
|
||||
import type { TextFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { TextField } from '@hanzo/cms-ui'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { TextFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { TextFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const textFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { TextareaFieldClientComponent } from @hanzo/cms'from
|
||||
import type { TextareaFieldClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { TextareaField } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
'use client'
|
||||
import type { TextareaFieldLabelClientComponent } from @hanzo/cms'from
|
||||
import type { TextareaFieldLabelClientComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { TextareaFieldServerComponent } from @hanzo/cms'from
|
||||
import type { TextareaFieldServerComponent } from '@hanzo/cms'
|
||||
import type React from 'react'
|
||||
|
||||
import { TextareaField } from '@hanzo/cms-ui'
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { TextareaFieldLabelServerComponent } from @hanzo/cms'from
|
||||
import type { TextareaFieldLabelServerComponent } from '@hanzo/cms'
|
||||
|
||||
import { FieldLabel } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { CollectionConfig } from @hanzo/cms'from
|
||||
import type { CollectionConfig } from '@hanzo/cms'
|
||||
|
||||
export const textareaFields: CollectionConfig['fields'] = [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { ServerSideEditViewProps } from @hanzo/cms'from
|
||||
import type { ServerSideEditViewProps } from '@hanzo/cms'
|
||||
|
||||
import { Gutter } from '@hanzo/cms-ui'
|
||||
import React from 'react'
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user