chore: Update code to new repo
Some checks failed
ci / changes (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / build (push) Has been cancelled
ci / tests-unit (push) Has been cancelled
ci / tests-types (push) Has been cancelled
ci / int-cosmosdb (push) Has been cancelled
ci / int-documentdb (push) Has been cancelled
ci / int-firestore (push) Has been cancelled
ci / int-mongodb (push) Has been cancelled
ci / int-postgres (push) Has been cancelled
ci / int-postgres-custom-schema (push) Has been cancelled
ci / int-postgres-uuid (push) Has been cancelled
ci / int-sqlite (push) Has been cancelled
ci / int-sqlite-uuid (push) Has been cancelled
ci / int-supabase (push) Has been cancelled
ci / e2e-_community (push) Has been cancelled
ci / e2e-access-control (push) Has been cancelled
ci / e2e-admin-bar (push) Has been cancelled
ci / e2e-admin-root (push) Has been cancelled
ci / e2e-admin__e2e__document-view (push) Has been cancelled
ci / e2e-admin__e2e__general (push) Has been cancelled
ci / e2e-admin__e2e__list-view (push) Has been cancelled
ci / e2e-auth (push) Has been cancelled
ci / e2e-auth-basic (push) Has been cancelled
ci / e2e-bulk-edit (push) Has been cancelled
ci / e2e-field-error-states (push) Has been cancelled
ci / e2e-fields-relationship (push) Has been cancelled
ci / e2e-fields__collections__Array (push) Has been cancelled
ci / e2e-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-fields__collections__Blocks (push) Has been cancelled
ci / e2e-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-fields__collections__CustomID (push) Has been cancelled
ci / e2e-fields__collections__Date (push) Has been cancelled
ci / e2e-fields__collections__Email (push) Has been cancelled
ci / e2e-fields__collections__Indexed (push) Has been cancelled
ci / e2e-fields__collections__JSON (push) Has been cancelled
ci / e2e-fields__collections__Number (push) Has been cancelled
ci / e2e-fields__collections__Point (push) Has been cancelled
ci / e2e-fields__collections__Radio (push) Has been cancelled
ci / e2e-fields__collections__Relationship (push) Has been cancelled
ci / e2e-fields__collections__Row (push) Has been cancelled
ci / e2e-fields__collections__Select (push) Has been cancelled
ci / e2e-fields__collections__Tabs (push) Has been cancelled
ci / e2e-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-fields__collections__Text (push) Has been cancelled
ci / e2e-fields__collections__UI (push) Has been cancelled
ci / e2e-fields__collections__Upload (push) Has been cancelled
ci / e2e-folders (push) Has been cancelled
ci / e2e-form-state (push) Has been cancelled
ci / e2e-group-by (push) Has been cancelled
ci / e2e-hooks (push) Has been cancelled
ci / e2e-i18n (push) Has been cancelled
ci / e2e-joins (push) Has been cancelled
ci / e2e-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-lexical__collections__RichText (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-live-preview (push) Has been cancelled
ci / e2e-localization (push) Has been cancelled
ci / e2e-locked-documents (push) Has been cancelled
ci / e2e-plugin-cloud-storage (push) Has been cancelled
ci / e2e-plugin-form-builder (push) Has been cancelled
ci / e2e-plugin-import-export (push) Has been cancelled
ci / e2e-plugin-multi-tenant (push) Has been cancelled
ci / e2e-plugin-nested-docs (push) Has been cancelled
ci / e2e-plugin-seo (push) Has been cancelled
ci / e2e-query-presets (push) Has been cancelled
ci / e2e-sort (push) Has been cancelled
ci / e2e-trash (push) Has been cancelled
ci / e2e-uploads (push) Has been cancelled
ci / e2e-versions (push) Has been cancelled
ci / e2e-turbo-_community (push) Has been cancelled
ci / e2e-turbo-access-control (push) Has been cancelled
ci / e2e-turbo-admin-bar (push) Has been cancelled
ci / e2e-turbo-admin-root (push) Has been cancelled
ci / e2e-turbo-admin__e2e__document-view (push) Has been cancelled
ci / e2e-turbo-admin__e2e__general (push) Has been cancelled
ci / e2e-turbo-admin__e2e__list-view (push) Has been cancelled
ci / e2e-turbo-auth (push) Has been cancelled
ci / e2e-turbo-auth-basic (push) Has been cancelled
ci / e2e-turbo-bulk-edit (push) Has been cancelled
ci / e2e-turbo-field-error-states (push) Has been cancelled
ci / e2e-turbo-fields-relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Array (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks (push) Has been cancelled
ci / e2e-turbo-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-turbo-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-turbo-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-turbo-fields__collections__CustomID (push) Has been cancelled
ci / e2e-turbo-fields__collections__Date (push) Has been cancelled
ci / e2e-turbo-fields__collections__Email (push) Has been cancelled
ci / e2e-turbo-fields__collections__Indexed (push) Has been cancelled
ci / e2e-turbo-fields__collections__JSON (push) Has been cancelled
ci / e2e-turbo-fields__collections__Number (push) Has been cancelled
ci / e2e-turbo-fields__collections__Point (push) Has been cancelled
ci / e2e-turbo-fields__collections__Radio (push) Has been cancelled
ci / e2e-turbo-fields__collections__Relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Row (push) Has been cancelled
ci / e2e-turbo-fields__collections__Select (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-turbo-fields__collections__Text (push) Has been cancelled
ci / e2e-turbo-fields__collections__UI (push) Has been cancelled
ci / e2e-turbo-fields__collections__Upload (push) Has been cancelled
ci / e2e-turbo-folders (push) Has been cancelled
ci / e2e-turbo-form-state (push) Has been cancelled
ci / e2e-turbo-group-by (push) Has been cancelled
ci / e2e-turbo-hooks (push) Has been cancelled
ci / e2e-turbo-i18n (push) Has been cancelled
ci / e2e-turbo-joins (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-turbo-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-turbo-lexical__collections__RichText (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-turbo-live-preview (push) Has been cancelled
ci / e2e-turbo-localization (push) Has been cancelled
ci / e2e-turbo-locked-documents (push) Has been cancelled
ci / e2e-turbo-plugin-cloud-storage (push) Has been cancelled
ci / e2e-turbo-plugin-form-builder (push) Has been cancelled
ci / e2e-turbo-plugin-import-export (push) Has been cancelled
ci / e2e-turbo-plugin-multi-tenant (push) Has been cancelled
ci / e2e-turbo-plugin-nested-docs (push) Has been cancelled
ci / e2e-turbo-plugin-seo (push) Has been cancelled
ci / e2e-turbo-query-presets (push) Has been cancelled
ci / e2e-turbo-sort (push) Has been cancelled
ci / e2e-turbo-trash (push) Has been cancelled
ci / e2e-turbo-uploads (push) Has been cancelled
ci / e2e-turbo-versions (push) Has been cancelled
ci / build-template-blank-mongodb (push) Has been cancelled
ci / build-template-website-mongodb (push) Has been cancelled
ci / build-template-with-payload-cloud-mongodb (push) Has been cancelled
ci / build-template-with-vercel-mongodb-mongodb (push) Has been cancelled
ci / build-template-plugin- (push) Has been cancelled
ci / build-template-with-postgres-postgres (push) Has been cancelled
ci / build-template-with-vercel-postgres-postgres (push) Has been cancelled
ci / tests-type-generation (push) Has been cancelled
ci / All Green (push) Has been cancelled
ci / Publish Canary (push) Has been cancelled
ci / analyze (push) Has been cancelled
publish-prerelease / publish-prerelease-${{ github.ref_name }}-${{ github.sha }} (push) Has been cancelled
lock-issues / lock_issues (push) Has been cancelled
stale / stale (push) Has been cancelled
audit-dependencies / audit (push) Has been cancelled
activity-notifications / run (push) Has been cancelled
Some checks failed
ci / changes (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / build (push) Has been cancelled
ci / tests-unit (push) Has been cancelled
ci / tests-types (push) Has been cancelled
ci / int-cosmosdb (push) Has been cancelled
ci / int-documentdb (push) Has been cancelled
ci / int-firestore (push) Has been cancelled
ci / int-mongodb (push) Has been cancelled
ci / int-postgres (push) Has been cancelled
ci / int-postgres-custom-schema (push) Has been cancelled
ci / int-postgres-uuid (push) Has been cancelled
ci / int-sqlite (push) Has been cancelled
ci / int-sqlite-uuid (push) Has been cancelled
ci / int-supabase (push) Has been cancelled
ci / e2e-_community (push) Has been cancelled
ci / e2e-access-control (push) Has been cancelled
ci / e2e-admin-bar (push) Has been cancelled
ci / e2e-admin-root (push) Has been cancelled
ci / e2e-admin__e2e__document-view (push) Has been cancelled
ci / e2e-admin__e2e__general (push) Has been cancelled
ci / e2e-admin__e2e__list-view (push) Has been cancelled
ci / e2e-auth (push) Has been cancelled
ci / e2e-auth-basic (push) Has been cancelled
ci / e2e-bulk-edit (push) Has been cancelled
ci / e2e-field-error-states (push) Has been cancelled
ci / e2e-fields-relationship (push) Has been cancelled
ci / e2e-fields__collections__Array (push) Has been cancelled
ci / e2e-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-fields__collections__Blocks (push) Has been cancelled
ci / e2e-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-fields__collections__CustomID (push) Has been cancelled
ci / e2e-fields__collections__Date (push) Has been cancelled
ci / e2e-fields__collections__Email (push) Has been cancelled
ci / e2e-fields__collections__Indexed (push) Has been cancelled
ci / e2e-fields__collections__JSON (push) Has been cancelled
ci / e2e-fields__collections__Number (push) Has been cancelled
ci / e2e-fields__collections__Point (push) Has been cancelled
ci / e2e-fields__collections__Radio (push) Has been cancelled
ci / e2e-fields__collections__Relationship (push) Has been cancelled
ci / e2e-fields__collections__Row (push) Has been cancelled
ci / e2e-fields__collections__Select (push) Has been cancelled
ci / e2e-fields__collections__Tabs (push) Has been cancelled
ci / e2e-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-fields__collections__Text (push) Has been cancelled
ci / e2e-fields__collections__UI (push) Has been cancelled
ci / e2e-fields__collections__Upload (push) Has been cancelled
ci / e2e-folders (push) Has been cancelled
ci / e2e-form-state (push) Has been cancelled
ci / e2e-group-by (push) Has been cancelled
ci / e2e-hooks (push) Has been cancelled
ci / e2e-i18n (push) Has been cancelled
ci / e2e-joins (push) Has been cancelled
ci / e2e-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-lexical__collections__RichText (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-live-preview (push) Has been cancelled
ci / e2e-localization (push) Has been cancelled
ci / e2e-locked-documents (push) Has been cancelled
ci / e2e-plugin-cloud-storage (push) Has been cancelled
ci / e2e-plugin-form-builder (push) Has been cancelled
ci / e2e-plugin-import-export (push) Has been cancelled
ci / e2e-plugin-multi-tenant (push) Has been cancelled
ci / e2e-plugin-nested-docs (push) Has been cancelled
ci / e2e-plugin-seo (push) Has been cancelled
ci / e2e-query-presets (push) Has been cancelled
ci / e2e-sort (push) Has been cancelled
ci / e2e-trash (push) Has been cancelled
ci / e2e-uploads (push) Has been cancelled
ci / e2e-versions (push) Has been cancelled
ci / e2e-turbo-_community (push) Has been cancelled
ci / e2e-turbo-access-control (push) Has been cancelled
ci / e2e-turbo-admin-bar (push) Has been cancelled
ci / e2e-turbo-admin-root (push) Has been cancelled
ci / e2e-turbo-admin__e2e__document-view (push) Has been cancelled
ci / e2e-turbo-admin__e2e__general (push) Has been cancelled
ci / e2e-turbo-admin__e2e__list-view (push) Has been cancelled
ci / e2e-turbo-auth (push) Has been cancelled
ci / e2e-turbo-auth-basic (push) Has been cancelled
ci / e2e-turbo-bulk-edit (push) Has been cancelled
ci / e2e-turbo-field-error-states (push) Has been cancelled
ci / e2e-turbo-fields-relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Array (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks (push) Has been cancelled
ci / e2e-turbo-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-turbo-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-turbo-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-turbo-fields__collections__CustomID (push) Has been cancelled
ci / e2e-turbo-fields__collections__Date (push) Has been cancelled
ci / e2e-turbo-fields__collections__Email (push) Has been cancelled
ci / e2e-turbo-fields__collections__Indexed (push) Has been cancelled
ci / e2e-turbo-fields__collections__JSON (push) Has been cancelled
ci / e2e-turbo-fields__collections__Number (push) Has been cancelled
ci / e2e-turbo-fields__collections__Point (push) Has been cancelled
ci / e2e-turbo-fields__collections__Radio (push) Has been cancelled
ci / e2e-turbo-fields__collections__Relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Row (push) Has been cancelled
ci / e2e-turbo-fields__collections__Select (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-turbo-fields__collections__Text (push) Has been cancelled
ci / e2e-turbo-fields__collections__UI (push) Has been cancelled
ci / e2e-turbo-fields__collections__Upload (push) Has been cancelled
ci / e2e-turbo-folders (push) Has been cancelled
ci / e2e-turbo-form-state (push) Has been cancelled
ci / e2e-turbo-group-by (push) Has been cancelled
ci / e2e-turbo-hooks (push) Has been cancelled
ci / e2e-turbo-i18n (push) Has been cancelled
ci / e2e-turbo-joins (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-turbo-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-turbo-lexical__collections__RichText (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-turbo-live-preview (push) Has been cancelled
ci / e2e-turbo-localization (push) Has been cancelled
ci / e2e-turbo-locked-documents (push) Has been cancelled
ci / e2e-turbo-plugin-cloud-storage (push) Has been cancelled
ci / e2e-turbo-plugin-form-builder (push) Has been cancelled
ci / e2e-turbo-plugin-import-export (push) Has been cancelled
ci / e2e-turbo-plugin-multi-tenant (push) Has been cancelled
ci / e2e-turbo-plugin-nested-docs (push) Has been cancelled
ci / e2e-turbo-plugin-seo (push) Has been cancelled
ci / e2e-turbo-query-presets (push) Has been cancelled
ci / e2e-turbo-sort (push) Has been cancelled
ci / e2e-turbo-trash (push) Has been cancelled
ci / e2e-turbo-uploads (push) Has been cancelled
ci / e2e-turbo-versions (push) Has been cancelled
ci / build-template-blank-mongodb (push) Has been cancelled
ci / build-template-website-mongodb (push) Has been cancelled
ci / build-template-with-payload-cloud-mongodb (push) Has been cancelled
ci / build-template-with-vercel-mongodb-mongodb (push) Has been cancelled
ci / build-template-plugin- (push) Has been cancelled
ci / build-template-with-postgres-postgres (push) Has been cancelled
ci / build-template-with-vercel-postgres-postgres (push) Has been cancelled
ci / tests-type-generation (push) Has been cancelled
ci / All Green (push) Has been cancelled
ci / Publish Canary (push) Has been cancelled
ci / analyze (push) Has been cancelled
publish-prerelease / publish-prerelease-${{ github.ref_name }}-${{ github.sha }} (push) Has been cancelled
lock-issues / lock_issues (push) Has been cancelled
stale / stale (push) Has been cancelled
audit-dependencies / audit (push) Has been cancelled
activity-notifications / run (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import configPromise from '@payload-config'
|
import configPromise from '@payload-config'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
|
|
||||||
export const Page = async ({ params, searchParams }) => {
|
export const Page = async ({ params, searchParams }) => {
|
||||||
const payload = await getPayload({
|
const payload = await getPayload({
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = REST_GET(config)
|
export const GET = REST_GET(config)
|
||||||
export const POST = REST_POST(config)
|
export const POST = REST_POST(config)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_PLAYGROUND_GET } from '@payloadcms/next/routes'
|
import { GRAPHQL_PLAYGROUND_GET } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_POST, REST_OPTIONS } from '@payloadcms/next/routes'
|
import { GRAPHQL_POST, REST_OPTIONS } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const POST = GRAPHQL_POST(config)
|
export const POST = GRAPHQL_POST(config)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
// import '@payloadcms/ui/styles.css' // Uncomment this line if `@payloadcms/ui` in `tsconfig.json` points to `/ui/dist` instead of `/ui/src`
|
// import '@payloadcms/ui/styles.css' // Uncomment this line if `@payloadcms/ui` in `tsconfig.json` points to `/ui/dist` instead of `/ui/src`
|
||||||
import type { ServerFunctionClient } from 'payload'
|
import type { ServerFunctionClient } from 'tbsh-cms'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
|
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import { importMap } from './admin/importMap.js'
|
import { importMap } from './admin/importMap.js'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import payloadEsLintConfig from '@payloadcms/eslint-config'
|
import payloadEsLintConfig from '@tabshiftcms/eslint-config'
|
||||||
import payloadPlugin from '@payloadcms/eslint-plugin'
|
import payloadPlugin from '@tabshiftcms/eslint-plugin'
|
||||||
|
|
||||||
export const defaultESLintIgnores = [
|
export const defaultESLintIgnores = [
|
||||||
'**/.temp',
|
'**/.temp',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { withPayload } from '@payloadcms/next/withPayload'
|
import { withPayload } from '@tabshiftcms/next/withPayload'
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
|
import { NotFoundPage, generatePageMetadata } from '@tabshiftcms/next/views'
|
||||||
import { importMap } from '../importMap'
|
import { importMap } from '../importMap'
|
||||||
|
|
||||||
type Args = {
|
type Args = {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { RootPage, generatePageMetadata } from '@payloadcms/next/views'
|
import { RootPage, generatePageMetadata } from '@tabshiftcms/next/views'
|
||||||
import { importMap } from '../importMap'
|
import { importMap } from '../importMap'
|
||||||
|
|
||||||
type Args = {
|
type Args = {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
REST_PATCH,
|
REST_PATCH,
|
||||||
REST_POST,
|
REST_POST,
|
||||||
REST_PUT,
|
REST_PUT,
|
||||||
} from '@payloadcms/next/routes'
|
} from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = REST_GET(config)
|
export const GET = REST_GET(config)
|
||||||
export const POST = REST_POST(config)
|
export const POST = REST_POST(config)
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import '@payloadcms/next/css'
|
import '@payloadcms/next/css'
|
||||||
import { GRAPHQL_PLAYGROUND_GET } from '@payloadcms/next/routes'
|
import { GRAPHQL_PLAYGROUND_GET } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_POST, REST_OPTIONS } from '@payloadcms/next/routes'
|
import { GRAPHQL_POST, REST_OPTIONS } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const POST = GRAPHQL_POST(config)
|
export const POST = GRAPHQL_POST(config)
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import '@payloadcms/next/css'
|
import '@payloadcms/next/css'
|
||||||
import type { ServerFunctionClient } from 'payload'
|
import type { ServerFunctionClient } from 'tbsh-cms'
|
||||||
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
|
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import { importMap } from './admin/importMap.js'
|
import { importMap } from './admin/importMap.js'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import configPromise from '@payload-config'
|
import configPromise from '@payload-config'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
|
|
||||||
export const GET = async (request: Request) => {
|
export const GET = async (request: Request) => {
|
||||||
const payload = await getPayload({
|
const payload = await getPayload({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const Media: CollectionConfig = {
|
export const Media: CollectionConfig = {
|
||||||
slug: 'media',
|
slug: 'media',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const Users: CollectionConfig = {
|
export const Users: CollectionConfig = {
|
||||||
slug: 'users',
|
slug: 'users',
|
||||||
|
|||||||
@@ -249,6 +249,6 @@ export interface Auth {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
declare module 'payload' {
|
declare module 'tbsh-cms' {
|
||||||
export interface GeneratedTypes extends Config {}
|
export interface GeneratedTypes extends Config {}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import { mongooseAdapter } from '@payloadcms/db-mongodb'
|
import { mongooseAdapter } from '@tabshiftcms/db-mongodb'
|
||||||
import { lexicalEditor } from '@payloadcms/richtext-lexical'
|
import { lexicalEditor } from '@tabshiftcms/richtext-lexical'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { buildConfig } from 'payload'
|
import { buildConfig } from 'tbsh-cms'
|
||||||
import { fileURLToPath } from 'url'
|
import { fileURLToPath } from 'url'
|
||||||
import sharp from 'sharp'
|
import sharp from 'sharp'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config'
|
||||||
import node from '@astrojs/node'
|
import node from '@astrojs/node'
|
||||||
import { loadEnv } from 'payload/node'
|
import { loadEnv } from 'tbsh-cms/node'
|
||||||
|
|
||||||
loadEnv()
|
loadEnv()
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { defineAction } from 'astro:actions'
|
import { defineAction } from 'astro:actions'
|
||||||
import { z } from 'astro:schema'
|
import { z } from 'astro:schema'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import { config } from 'payload-app'
|
import { config } from 'payload-app'
|
||||||
|
|
||||||
export const server = {
|
export const server = {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { withPayload } from '@payloadcms/next/withPayload'
|
import { withPayload } from '@tabshiftcms/next/withPayload'
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import type { Permissions } from 'payload/auth'
|
import type { Permissions } from 'tbsh-cms/auth'
|
||||||
import type { PayloadRequest } from 'payload/types'
|
import type { PayloadRequest } from 'tbsh-cms/types'
|
||||||
|
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import type { Permissions } from 'payload/auth'
|
import type { Permissions } from 'tbsh-cms/auth'
|
||||||
|
|
||||||
import React, { createContext, useCallback, use, useEffect, useState } from 'react'
|
import React, { createContext, useCallback, use, useEffect, useState } from 'react'
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Permissions } from 'payload/auth'
|
import type { Permissions } from 'tbsh-cms/auth'
|
||||||
|
|
||||||
import type { User } from '../../../../payload-types'
|
import type { User } from '../../../../payload-types'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React, { Fragment } from 'react'
|
import React, { Fragment } from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React, { Fragment } from 'react'
|
import React, { Fragment } from 'react'
|
||||||
|
|
||||||
import config from '../../payload.config'
|
import config from '../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { headers as getHeaders } from 'next/headers.js'
|
import { headers as getHeaders } from 'next/headers.js'
|
||||||
import { redirect } from 'next/navigation'
|
import { redirect } from 'next/navigation'
|
||||||
import { getPayload } from 'payload'
|
import { getPayload } from 'tbsh-cms'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import config from '../../../payload.config'
|
import config from '../../../payload.config'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = REST_GET(config)
|
export const GET = REST_GET(config)
|
||||||
export const POST = REST_POST(config)
|
export const POST = REST_POST(config)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_PLAYGROUND_GET } from '@payloadcms/next/routes'
|
import { GRAPHQL_PLAYGROUND_GET } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_POST, REST_OPTIONS } from '@payloadcms/next/routes'
|
import { GRAPHQL_POST, REST_OPTIONS } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const POST = GRAPHQL_POST(config)
|
export const POST = GRAPHQL_POST(config)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import type { ServerFunctionClient } from 'payload'
|
import type { ServerFunctionClient } from 'tbsh-cms'
|
||||||
|
|
||||||
import '@payloadcms/next/css'
|
import '@payloadcms/next/css'
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
|
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import { importMap } from './admin/importMap.js'
|
import { importMap } from './admin/importMap.js'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload/types'
|
import type { CollectionConfig } from 'tbsh-cms/types'
|
||||||
|
|
||||||
import { admins } from './access/admins'
|
import { admins } from './access/admins'
|
||||||
import { adminsAndUser } from './access/adminsAndUser'
|
import { adminsAndUser } from './access/adminsAndUser'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Access } from 'payload'
|
import type { Access } from 'tbsh-cms'
|
||||||
|
|
||||||
import { checkRole } from './checkRole'
|
import { checkRole } from './checkRole'
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { Access } from 'payload'
|
import type { Access } from 'tbsh-cms'
|
||||||
|
|
||||||
import { checkRole } from './checkRole'
|
import { checkRole } from './checkRole'
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
import type { Access } from 'payload'
|
import type { Access } from 'tbsh-cms'
|
||||||
|
|
||||||
export const anyone: Access = () => true
|
export const anyone: Access = () => true
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { AfterChangeHook } from 'payload/dist/collections/config/types'
|
import type { AfterChangeHook } from 'tbsh-cms/dist/collections/config/types'
|
||||||
|
|
||||||
export const loginAfterCreate: AfterChangeHook = async ({
|
export const loginAfterCreate: AfterChangeHook = async ({
|
||||||
doc,
|
doc,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { FieldHook } from 'payload'
|
import type { FieldHook } from 'tbsh-cms'
|
||||||
|
|
||||||
import type { User } from '../../payload-types'
|
import type { User } from '../../payload-types'
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { MigrateUpArgs } from '@payloadcms/db-mongodb'
|
import type { MigrateUpArgs } from '@tabshiftcms/db-mongodb'
|
||||||
|
|
||||||
export async function up({ payload }: MigrateUpArgs): Promise<void> {
|
export async function up({ payload }: MigrateUpArgs): Promise<void> {
|
||||||
await payload.create({
|
await payload.create({
|
||||||
|
|||||||
@@ -186,6 +186,6 @@ export interface Auth {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
declare module 'payload' {
|
declare module 'tbsh-cms' {
|
||||||
export interface GeneratedTypes extends Config {}
|
export interface GeneratedTypes extends Config {}
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { mongooseAdapter } from '@payloadcms/db-mongodb'
|
import { mongooseAdapter } from '@tabshiftcms/db-mongodb'
|
||||||
import { slateEditor } from '@payloadcms/richtext-slate'
|
import { slateEditor } from '@tabshiftcms/richtext-slate'
|
||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import path from 'path'
|
import path from 'path'
|
||||||
import { buildConfig } from 'payload'
|
import { buildConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
import { Users } from './collections/Users'
|
import { Users } from './collections/Users'
|
||||||
const filename = fileURLToPath(import.meta.url)
|
const filename = fileURLToPath(import.meta.url)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { withPayload } from '@payloadcms/next/withPayload'
|
import { withPayload } from '@tabshiftcms/next/withPayload'
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
|
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
|
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
|
||||||
|
|
||||||
import { importMap } from '../importMap.js'
|
import { importMap } from '../importMap.js'
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@payloadcms/next/routes'
|
import { REST_DELETE, REST_GET, REST_OPTIONS, REST_PATCH, REST_POST } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = REST_GET(config)
|
export const GET = REST_GET(config)
|
||||||
export const POST = REST_POST(config)
|
export const POST = REST_POST(config)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_PLAYGROUND_GET } from '@payloadcms/next/routes'
|
import { GRAPHQL_PLAYGROUND_GET } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
export const GET = GRAPHQL_PLAYGROUND_GET(config)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { GRAPHQL_POST, REST_OPTIONS } from '@payloadcms/next/routes'
|
import { GRAPHQL_POST, REST_OPTIONS } from '@tabshiftcms/next/routes'
|
||||||
|
|
||||||
export const POST = GRAPHQL_POST(config)
|
export const POST = GRAPHQL_POST(config)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
|
||||||
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
|
||||||
import type { ServerFunctionClient } from 'payload'
|
import type { ServerFunctionClient } from 'tbsh-cms'
|
||||||
|
|
||||||
import '@payloadcms/next/css'
|
import '@payloadcms/next/css'
|
||||||
import config from '@payload-config'
|
import config from '@payload-config'
|
||||||
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
|
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
import { importMap } from './admin/importMap.js'
|
import { importMap } from './admin/importMap.js'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { ArrayFieldClientComponent } from 'payload'
|
import type { ArrayFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { ArrayField } from '@payloadcms/ui'
|
import { ArrayField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomArrayFieldClient: ArrayFieldClientComponent = (props) => {
|
export const CustomArrayFieldClient: ArrayFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { ArrayFieldLabelClientComponent } from 'payload'
|
import type { ArrayFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomArrayFieldLabelClient: ArrayFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomArrayFieldLabelClient: ArrayFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { ArrayFieldServerComponent } from 'payload'
|
import type { ArrayFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { ArrayField } from '@payloadcms/ui'
|
import { ArrayField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomArrayFieldServer: ArrayFieldServerComponent = ({
|
export const CustomArrayFieldServer: ArrayFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { ArrayFieldLabelServerComponent } from 'payload'
|
import type { ArrayFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomArrayFieldLabelServer: ArrayFieldLabelServerComponent = ({
|
export const CustomArrayFieldLabelServer: ArrayFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const arrayFields: CollectionConfig['fields'] = [
|
export const arrayFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { BlocksFieldClientComponent } from 'payload'
|
import type { BlocksFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { BlocksField } from '@payloadcms/ui'
|
import { BlocksField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomBlocksFieldClient: BlocksFieldClientComponent = (props) => {
|
export const CustomBlocksFieldClient: BlocksFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { BlocksFieldLabelClientComponent } from 'payload'
|
import type { BlocksFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomBlocksFieldLabelClient: BlocksFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomBlocksFieldLabelClient: BlocksFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { BlocksFieldServerComponent } from 'payload'
|
import type { BlocksFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { BlocksField } from '@payloadcms/ui'
|
import { BlocksField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomBlocksFieldServer: BlocksFieldServerComponent = ({
|
export const CustomBlocksFieldServer: BlocksFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { BlocksFieldLabelServerComponent } from 'payload'
|
import type { BlocksFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomBlocksFieldLabelServer: BlocksFieldLabelServerComponent = ({
|
export const CustomBlocksFieldLabelServer: BlocksFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const blocksFields: CollectionConfig['fields'] = [
|
export const blocksFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { CheckboxFieldClientComponent } from 'payload'
|
import type { CheckboxFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { CheckboxField } from '@payloadcms/ui'
|
import { CheckboxField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCheckboxFieldClient: CheckboxFieldClientComponent = (props) => {
|
export const CustomCheckboxFieldClient: CheckboxFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { CheckboxFieldLabelClientComponent } from 'payload'
|
import type { CheckboxFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCheckboxFieldLabelClient: CheckboxFieldLabelClientComponent = ({
|
export const CustomCheckboxFieldLabelClient: CheckboxFieldLabelClientComponent = ({
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { CheckboxFieldServerComponent } from 'payload'
|
import type { CheckboxFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { CheckboxField } from '@payloadcms/ui'
|
import { CheckboxField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomCheckboxFieldServer: CheckboxFieldServerComponent = ({
|
export const CustomCheckboxFieldServer: CheckboxFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { CheckboxFieldLabelServerComponent } from 'payload'
|
import type { CheckboxFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCheckboxFieldLabelServer: CheckboxFieldLabelServerComponent = ({
|
export const CustomCheckboxFieldLabelServer: CheckboxFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const checkboxFields: CollectionConfig['fields'] = [
|
export const checkboxFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { CodeFieldClientComponent } from 'payload'
|
import type { CodeFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { CodeField } from '@payloadcms/ui'
|
import { CodeField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCodeFieldClient: CodeFieldClientComponent = (props) => {
|
export const CustomCodeFieldClient: CodeFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { CodeFieldLabelClientComponent } from 'payload'
|
import type { CodeFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCodeFieldLabelClient: CodeFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomCodeFieldLabelClient: CodeFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { CodeFieldServerComponent } from 'payload'
|
import type { CodeFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { CodeField } from '@payloadcms/ui'
|
import { CodeField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomCodeFieldServer: CodeFieldServerComponent = ({
|
export const CustomCodeFieldServer: CodeFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { CodeFieldLabelServerComponent } from 'payload'
|
import type { CodeFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomCodeFieldLabelServer: CodeFieldLabelServerComponent = ({
|
export const CustomCodeFieldLabelServer: CodeFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const codeFields: CollectionConfig['fields'] = [
|
export const codeFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { DateFieldClientComponent } from 'payload'
|
import type { DateFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { DateTimeField } from '@payloadcms/ui'
|
import { DateTimeField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomDateFieldClient: DateFieldClientComponent = (props) => {
|
export const CustomDateFieldClient: DateFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { DateFieldLabelClientComponent } from 'payload'
|
import type { DateFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomDateFieldLabelClient: DateFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomDateFieldLabelClient: DateFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { DateFieldServerComponent } from 'payload'
|
import type { DateFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { DateTimeField } from '@payloadcms/ui'
|
import { DateTimeField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomDateFieldServer: DateFieldServerComponent = ({
|
export const CustomDateFieldServer: DateFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { DateFieldLabelServerComponent } from 'payload'
|
import type { DateFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomDateFieldLabelServer: DateFieldLabelServerComponent = ({
|
export const CustomDateFieldLabelServer: DateFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const dateFields: CollectionConfig['fields'] = [
|
export const dateFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { EmailFieldClientComponent } from 'payload'
|
import type { EmailFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { EmailField } from '@payloadcms/ui'
|
import { EmailField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomEmailFieldClient: EmailFieldClientComponent = (props) => {
|
export const CustomEmailFieldClient: EmailFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { EmailFieldLabelClientComponent } from 'payload'
|
import type { EmailFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomEmailFieldLabelClient: EmailFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomEmailFieldLabelClient: EmailFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { EmailFieldServerComponent } from 'payload'
|
import type { EmailFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { EmailField } from '@payloadcms/ui'
|
import { EmailField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomEmailFieldServer: EmailFieldServerComponent = ({
|
export const CustomEmailFieldServer: EmailFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { EmailFieldLabelServerComponent } from 'payload'
|
import type { EmailFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomEmailFieldLabelServer: EmailFieldLabelServerComponent = ({
|
export const CustomEmailFieldLabelServer: EmailFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const emailFields: CollectionConfig['fields'] = [
|
export const emailFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig, Field } from 'payload'
|
import type { CollectionConfig, Field } from 'tbsh-cms'
|
||||||
|
|
||||||
import { arrayFields } from './array'
|
import { arrayFields } from './array'
|
||||||
import { blocksFields } from './blocks'
|
import { blocksFields } from './blocks'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { JSONFieldClientComponent } from 'payload'
|
import type { JSONFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { JSONField } from '@payloadcms/ui'
|
import { JSONField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomJSONFieldClient: JSONFieldClientComponent = (props) => {
|
export const CustomJSONFieldClient: JSONFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { JSONFieldLabelClientComponent } from 'payload'
|
import type { JSONFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomJSONFieldLabelClient: JSONFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomJSONFieldLabelClient: JSONFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { JSONFieldServerComponent } from 'payload'
|
import type { JSONFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { JSONField } from '@payloadcms/ui'
|
import { JSONField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomJSONFieldServer: JSONFieldServerComponent = ({
|
export const CustomJSONFieldServer: JSONFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { JSONFieldLabelServerComponent } from 'payload'
|
import type { JSONFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomJSONFieldLabelServer: JSONFieldLabelServerComponent = ({
|
export const CustomJSONFieldLabelServer: JSONFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const jsonFields: CollectionConfig['fields'] = [
|
export const jsonFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { NumberFieldClientComponent } from 'payload'
|
import type { NumberFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { NumberField } from '@payloadcms/ui'
|
import { NumberField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomNumberFieldClient: NumberFieldClientComponent = (props) => {
|
export const CustomNumberFieldClient: NumberFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { NumberFieldLabelClientComponent } from 'payload'
|
import type { NumberFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomNumberFieldLabelClient: NumberFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomNumberFieldLabelClient: NumberFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { NumberFieldServerComponent } from 'payload'
|
import type { NumberFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { NumberField } from '@payloadcms/ui'
|
import { NumberField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomNumberFieldServer: NumberFieldServerComponent = ({
|
export const CustomNumberFieldServer: NumberFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { NumberFieldLabelServerComponent } from 'payload'
|
import type { NumberFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomNumberFieldLabelServer: NumberFieldLabelServerComponent = ({
|
export const CustomNumberFieldLabelServer: NumberFieldLabelServerComponent = ({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import type { CollectionConfig } from 'payload'
|
import type { CollectionConfig } from 'tbsh-cms'
|
||||||
|
|
||||||
export const numberFields: CollectionConfig['fields'] = [
|
export const numberFields: CollectionConfig['fields'] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { PointFieldClientComponent } from 'payload'
|
import type { PointFieldClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { PointField } from '@payloadcms/ui'
|
import { PointField } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomPointFieldClient: PointFieldClientComponent = (props) => {
|
export const CustomPointFieldClient: PointFieldClientComponent = (props) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import type { PointFieldLabelClientComponent } from 'payload'
|
import type { PointFieldLabelClientComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomPointFieldLabelClient: PointFieldLabelClientComponent = ({ field, path }) => {
|
export const CustomPointFieldLabelClient: PointFieldLabelClientComponent = ({ field, path }) => {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import type { PointFieldServerComponent } from 'payload'
|
import type { PointFieldServerComponent } from 'tbsh-cms'
|
||||||
import type React from 'react'
|
import type React from 'react'
|
||||||
|
|
||||||
import { PointField } from '@payloadcms/ui'
|
import { PointField } from '@tabshiftcms/ui'
|
||||||
|
|
||||||
export const CustomPointFieldServer: PointFieldServerComponent = ({
|
export const CustomPointFieldServer: PointFieldServerComponent = ({
|
||||||
clientField,
|
clientField,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { PointFieldLabelServerComponent } from 'payload'
|
import type { PointFieldLabelServerComponent } from 'tbsh-cms'
|
||||||
|
|
||||||
import { FieldLabel } from '@payloadcms/ui'
|
import { FieldLabel } from '@tabshiftcms/ui'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
export const CustomPointFieldLabelServer: PointFieldLabelServerComponent = ({
|
export const CustomPointFieldLabelServer: PointFieldLabelServerComponent = ({
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user