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

This commit is contained in:
T. R. Bernstein
2025-10-08 23:27:45 +02:00
parent cd301ea583
commit 4a5f01a78f
2945 changed files with 4597 additions and 4597 deletions

View File

@@ -1,5 +1,5 @@
import configPromise from '@payload-config'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
export const Page = async ({ params, searchParams }) => {
const payload = await getPayload({

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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 POST = REST_POST(config)

View File

@@ -1,6 +1,6 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,10 +1,10 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* 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 type { ServerFunctionClient } from 'payload'
import type { ServerFunctionClient } from 'tbsh-cms'
import config from '@payload-config'
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
import React from 'react'
import { importMap } from './admin/importMap.js'

View File

@@ -1,5 +1,5 @@
import payloadEsLintConfig from '@payloadcms/eslint-config'
import payloadPlugin from '@payloadcms/eslint-plugin'
import payloadEsLintConfig from '@tabshiftcms/eslint-config'
import payloadPlugin from '@tabshiftcms/eslint-plugin'
export const defaultESLintIgnores = [
'**/.temp',

View File

@@ -1,4 +1,4 @@
import { withPayload } from '@payloadcms/next/withPayload'
import { withPayload } from '@tabshiftcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { NotFoundPage, generatePageMetadata } from '@payloadcms/next/views'
import { NotFoundPage, generatePageMetadata } from '@tabshiftcms/next/views'
import { importMap } from '../importMap'
type Args = {

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { RootPage, generatePageMetadata } from '@payloadcms/next/views'
import { RootPage, generatePageMetadata } from '@tabshiftcms/next/views'
import { importMap } from '../importMap'
type Args = {

View File

@@ -9,7 +9,7 @@ import {
REST_PATCH,
REST_POST,
REST_PUT,
} from '@payloadcms/next/routes'
} from '@tabshiftcms/next/routes'
export const GET = REST_GET(config)
export const POST = REST_POST(config)

View File

@@ -2,6 +2,6 @@
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
import config from '@payload-config'
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)

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -2,8 +2,8 @@
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
import config from '@payload-config'
import '@payloadcms/next/css'
import type { ServerFunctionClient } from 'payload'
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
import type { ServerFunctionClient } from 'tbsh-cms'
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
import React from 'react'
import { importMap } from './admin/importMap.js'

View File

@@ -1,5 +1,5 @@
import configPromise from '@payload-config'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
export const GET = async (request: Request) => {
const payload = await getPayload({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const Media: CollectionConfig = {
slug: 'media',

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const Users: CollectionConfig = {
slug: 'users',

View File

@@ -249,6 +249,6 @@ export interface Auth {
}
declare module 'payload' {
declare module 'tbsh-cms' {
export interface GeneratedTypes extends Config {}
}

View File

@@ -1,7 +1,7 @@
import { mongooseAdapter } from '@payloadcms/db-mongodb'
import { lexicalEditor } from '@payloadcms/richtext-lexical'
import { mongooseAdapter } from '@tabshiftcms/db-mongodb'
import { lexicalEditor } from '@tabshiftcms/richtext-lexical'
import path from 'path'
import { buildConfig } from 'payload'
import { buildConfig } from 'tbsh-cms'
import { fileURLToPath } from 'url'
import sharp from 'sharp'

View File

@@ -1,7 +1,7 @@
// @ts-check
import { defineConfig } from 'astro/config'
import node from '@astrojs/node'
import { loadEnv } from 'payload/node'
import { loadEnv } from 'tbsh-cms/node'
loadEnv()

View File

@@ -1,6 +1,6 @@
import { defineAction } from 'astro:actions'
import { z } from 'astro:schema'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import { config } from 'payload-app'
export const server = {

View File

@@ -1,4 +1,4 @@
import { withPayload } from '@payloadcms/next/withPayload'
import { withPayload } from '@tabshiftcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {

View File

@@ -1,7 +1,7 @@
'use client'
import type { Permissions } from 'payload/auth'
import type { PayloadRequest } from 'payload/types'
import type { Permissions } from 'tbsh-cms/auth'
import type { PayloadRequest } from 'tbsh-cms/types'
import { useEffect } from 'react'

View File

@@ -1,6 +1,6 @@
'use client'
import type { Permissions } from 'payload/auth'
import type { Permissions } from 'tbsh-cms/auth'
import React, { createContext, useCallback, use, useEffect, useState } from 'react'

View File

@@ -1,4 +1,4 @@
import type { Permissions } from 'payload/auth'
import type { Permissions } from 'tbsh-cms/auth'
import type { User } from '../../../../payload-types'

View File

@@ -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 'payload'
import { getPayload } from 'tbsh-cms'
import React, { Fragment } from 'react'
import config from '../../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import { redirect } from 'next/navigation'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React from 'react'
import config from '../../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import { redirect } from 'next/navigation'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React from 'react'
import config from '../../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import Link from 'next/link'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React from 'react'
import config from '../../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import Link from 'next/link'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React, { Fragment } from 'react'
import config from '../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import { redirect } from 'next/navigation'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React from 'react'
import config from '../../../payload.config'

View File

@@ -1,6 +1,6 @@
import { headers as getHeaders } from 'next/headers.js'
import { redirect } from 'next/navigation'
import { getPayload } from 'payload'
import { getPayload } from 'tbsh-cms'
import React from 'react'
import config from '../../../payload.config'

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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 POST = REST_POST(config)

View File

@@ -1,6 +1,6 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,10 +1,10 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* 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 config from '@payload-config'
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
import React from 'react'
import { importMap } from './admin/importMap.js'

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload/types'
import type { CollectionConfig } from 'tbsh-cms/types'
import { admins } from './access/admins'
import { adminsAndUser } from './access/adminsAndUser'

View File

@@ -1,4 +1,4 @@
import type { Access } from 'payload'
import type { Access } from 'tbsh-cms'
import { checkRole } from './checkRole'

View File

@@ -1,4 +1,4 @@
import type { Access } from 'payload'
import type { Access } from 'tbsh-cms'
import { checkRole } from './checkRole'

View File

@@ -1,3 +1,3 @@
import type { Access } from 'payload'
import type { Access } from 'tbsh-cms'
export const anyone: Access = () => true

View File

@@ -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 ({
doc,

View File

@@ -1,4 +1,4 @@
import type { FieldHook } from 'payload'
import type { FieldHook } from 'tbsh-cms'
import type { User } from '../../payload-types'

View File

@@ -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> {
await payload.create({

View File

@@ -186,6 +186,6 @@ export interface Auth {
}
declare module 'payload' {
declare module 'tbsh-cms' {
export interface GeneratedTypes extends Config {}
}

View File

@@ -1,8 +1,8 @@
import { mongooseAdapter } from '@payloadcms/db-mongodb'
import { slateEditor } from '@payloadcms/richtext-slate'
import { mongooseAdapter } from '@tabshiftcms/db-mongodb'
import { slateEditor } from '@tabshiftcms/richtext-slate'
import { fileURLToPath } from 'node:url'
import path from 'path'
import { buildConfig } from 'payload'
import { buildConfig } from 'tbsh-cms'
import { Users } from './collections/Users'
const filename = fileURLToPath(import.meta.url)

View File

@@ -1,4 +1,4 @@
import { withPayload } from '@payloadcms/next/withPayload'
import { withPayload } from '@tabshiftcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, NotFoundPage } from '@payloadcms/next/views'
import { generatePageMetadata, NotFoundPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -3,7 +3,7 @@
import type { Metadata } from 'next'
import config from '@payload-config'
import { generatePageMetadata, RootPage } from '@payloadcms/next/views'
import { generatePageMetadata, RootPage } from '@tabshiftcms/next/views'
import { importMap } from '../importMap.js'

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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 POST = REST_POST(config)

View File

@@ -1,6 +1,6 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,7 +1,7 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* DO NOT MODIFY IT BECAUSE IT COULD BE REWRITTEN AT ANY TIME. */
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)

View File

@@ -1,10 +1,10 @@
/* THIS FILE WAS GENERATED AUTOMATICALLY BY PAYLOAD. */
/* 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 config from '@payload-config'
import { handleServerFunctions, RootLayout } from '@payloadcms/next/layouts'
import { handleServerFunctions, RootLayout } from '@tabshiftcms/next/layouts'
import React from 'react'
import { importMap } from './admin/importMap.js'

View File

@@ -1,7 +1,7 @@
'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'
export const CustomArrayFieldClient: ArrayFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomArrayFieldLabelClient: ArrayFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { ArrayFieldServerComponent } from 'payload'
import type { ArrayFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { ArrayField } from '@payloadcms/ui'
import { ArrayField } from '@tabshiftcms/ui'
export const CustomArrayFieldServer: ArrayFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomArrayFieldLabelServer: ArrayFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const arrayFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomBlocksFieldClient: BlocksFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomBlocksFieldLabelClient: BlocksFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { BlocksFieldServerComponent } from 'payload'
import type { BlocksFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { BlocksField } from '@payloadcms/ui'
import { BlocksField } from '@tabshiftcms/ui'
export const CustomBlocksFieldServer: BlocksFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomBlocksFieldLabelServer: BlocksFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const blocksFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomCheckboxFieldClient: CheckboxFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomCheckboxFieldLabelClient: CheckboxFieldLabelClientComponent = ({

View File

@@ -1,7 +1,7 @@
import type { CheckboxFieldServerComponent } from 'payload'
import type { CheckboxFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { CheckboxField } from '@payloadcms/ui'
import { CheckboxField } from '@tabshiftcms/ui'
export const CustomCheckboxFieldServer: CheckboxFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomCheckboxFieldLabelServer: CheckboxFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const checkboxFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomCodeFieldClient: CodeFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomCodeFieldLabelClient: CodeFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { CodeFieldServerComponent } from 'payload'
import type { CodeFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { CodeField } from '@payloadcms/ui'
import { CodeField } from '@tabshiftcms/ui'
export const CustomCodeFieldServer: CodeFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomCodeFieldLabelServer: CodeFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const codeFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomDateFieldClient: DateFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomDateFieldLabelClient: DateFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { DateFieldServerComponent } from 'payload'
import type { DateFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { DateTimeField } from '@payloadcms/ui'
import { DateTimeField } from '@tabshiftcms/ui'
export const CustomDateFieldServer: DateFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomDateFieldLabelServer: DateFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const dateFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomEmailFieldClient: EmailFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomEmailFieldLabelClient: EmailFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { EmailFieldServerComponent } from 'payload'
import type { EmailFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { EmailField } from '@payloadcms/ui'
import { EmailField } from '@tabshiftcms/ui'
export const CustomEmailFieldServer: EmailFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomEmailFieldLabelServer: EmailFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const emailFields: CollectionConfig['fields'] = [
{

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig, Field } from 'payload'
import type { CollectionConfig, Field } from 'tbsh-cms'
import { arrayFields } from './array'
import { blocksFields } from './blocks'

View File

@@ -1,7 +1,7 @@
'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'
export const CustomJSONFieldClient: JSONFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomJSONFieldLabelClient: JSONFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { JSONFieldServerComponent } from 'payload'
import type { JSONFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { JSONField } from '@payloadcms/ui'
import { JSONField } from '@tabshiftcms/ui'
export const CustomJSONFieldServer: JSONFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomJSONFieldLabelServer: JSONFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const jsonFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomNumberFieldClient: NumberFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomNumberFieldLabelClient: NumberFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { NumberFieldServerComponent } from 'payload'
import type { NumberFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { NumberField } from '@payloadcms/ui'
import { NumberField } from '@tabshiftcms/ui'
export const CustomNumberFieldServer: NumberFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomNumberFieldLabelServer: NumberFieldLabelServerComponent = ({

View File

@@ -1,4 +1,4 @@
import type { CollectionConfig } from 'payload'
import type { CollectionConfig } from 'tbsh-cms'
export const numberFields: CollectionConfig['fields'] = [
{

View File

@@ -1,7 +1,7 @@
'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'
export const CustomPointFieldClient: PointFieldClientComponent = (props) => {

View File

@@ -1,7 +1,7 @@
'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'
export const CustomPointFieldLabelClient: PointFieldLabelClientComponent = ({ field, path }) => {

View File

@@ -1,7 +1,7 @@
import type { PointFieldServerComponent } from 'payload'
import type { PointFieldServerComponent } from 'tbsh-cms'
import type React from 'react'
import { PointField } from '@payloadcms/ui'
import { PointField } from '@tabshiftcms/ui'
export const CustomPointFieldServer: PointFieldServerComponent = ({
clientField,

View File

@@ -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'
export const CustomPointFieldLabelServer: PointFieldLabelServerComponent = ({

Some files were not shown because too many files have changed in this diff Show More