chore: removes cms text from instances of payload name (#2793)

This commit is contained in:
Jacob Fletcher
2023-06-14 10:31:29 -04:00
committed by GitHub
parent 884f7991c4
commit 120e2936fe
37 changed files with 77 additions and 77 deletions

View File

@@ -1,5 +1,5 @@
name: Bug Report name: Bug Report
description: Create a bug report for the Payload CMS description: Create a bug report for Payload
labels: ["possible-bug"] labels: ["possible-bug"]
body: body:
- type: markdown - type: markdown

View File

@@ -2,7 +2,7 @@
<a href="https://payloadcms.com"> <a href="https://payloadcms.com">
<picture> <picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/payloadcms/payload/master/src/admin/assets/images/payload-logo-light.svg"> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/payloadcms/payload/master/src/admin/assets/images/payload-logo-light.svg">
<img width="350" alt="payload cms logo" src="https://raw.githubusercontent.com/payloadcms/payload/master/src/admin/assets/images/payload-logo-dark.svg"> <img width="350" alt="Payload Logo" src="https://raw.githubusercontent.com/payloadcms/payload/master/src/admin/assets/images/payload-logo-dark.svg">
</picture> </picture>
</a> </a>
</p> </p>
@@ -41,7 +41,7 @@
</a> </a>
&nbsp; &nbsp;
<a href="https://twitter.com/payloadcms"> <a href="https://twitter.com/payloadcms">
<img src="https://img.shields.io/badge/follow-payloadcms-1DA1F2?logo=twitter&style=flat-square" alt="Payload CMS Twitter" /> <img src="https://img.shields.io/badge/follow-payloadcms-1DA1F2?logo=twitter&style=flat-square" alt="Payload Twitter" />
</a> </a>
</p> </p>

View File

@@ -1,6 +1,6 @@
# Contributing to Payload CMS # Contributing to Payload
Below you'll find a set of guidelines for how to contribute to Payload CMS. Below you'll find a set of guidelines for how to contribute to Payload.
## Opening issues ## Opening issues

View File

@@ -8,7 +8,7 @@ keywords: documentation, getting started, guide, Content Management System, cms,
<YouTube <YouTube
id="In_lFhzmbME" id="In_lFhzmbME"
title="Payload CMS Introduction - Closing the Gap Between Headless CMS and Application Frameworks" title="Payload Introduction - Closing the Gap Between Headless CMS and Application Frameworks"
/> />
<Banner type="success"> <Banner type="success">

View File

@@ -1,6 +1,6 @@
{ {
"name": "payload-example-auth", "name": "payload-example-auth",
"description": "Payload CMS authentication example.", "description": "Payload authentication example.",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/server.js", "main": "dist/server.js",
"license": "MIT", "license": "MIT",

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
{ {
"name": "payload-example-preview", "name": "payload-example-preview",
"description": "Payload CMS preview example.", "description": "Payload preview example.",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/server.js", "main": "dist/server.js",
"license": "MIT", "license": "MIT",

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,55 +1,55 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */
export interface Config { export interface Config {
collections: { collections: {
pages: Page; pages: Page
users: User; users: User
}; }
globals: { globals: {
'main-menu': MainMenu; 'main-menu': MainMenu
}; }
} }
export interface Page { export interface Page {
id: string; id: string
title: string; title: string
slug?: string; slug?: string
richText: { richText: Array<{
[k: string]: unknown; [k: string]: unknown
}[]; }>
_status?: 'draft' | 'published'; _status?: 'draft' | 'published'
createdAt: string; createdAt: string
updatedAt: string; updatedAt: string
password?: string; password?: string
} }
export interface User { export interface User {
id: string; id: string
email?: string; email?: string
resetPasswordToken?: string; resetPasswordToken?: string
resetPasswordExpiration?: string; resetPasswordExpiration?: string
loginAttempts?: number; loginAttempts?: number
lockUntil?: string; lockUntil?: string
createdAt: string; createdAt: string
updatedAt: string; updatedAt: string
password?: string; password?: string
} }
export interface MainMenu { export interface MainMenu {
id: string; id: string
navItems: { navItems: Array<{
link: { link: {
type?: 'reference' | 'custom'; type?: 'reference' | 'custom'
newTab?: boolean; newTab?: boolean
reference: { reference: {
value: string | Page; value: string | Page
relationTo: 'pages'; relationTo: 'pages'
}; }
url: string; url: string
label: string; label: string
}; }
id?: string; id?: string
}[]; }>
} }

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -9,12 +9,12 @@
}, },
"author": { "author": {
"email": "info@payloadcms.com", "email": "info@payloadcms.com",
"name": "Payload CMS", "name": "Payload",
"url": "https://payloadcms.com" "url": "https://payloadcms.com"
}, },
"maintainers": [ "maintainers": [
{ {
"name": "Payload CMS", "name": "Payload",
"email": "info@payloadcms.com", "email": "info@payloadcms.com",
"url": "https://payloadcms.com" "url": "https://payloadcms.com"
} }

View File

@@ -31,8 +31,8 @@ const Default: React.FC<Props> = ({ children, className }) => {
<div className={classes}> <div className={classes}>
<Meta <Meta
title={t('dashboard')} title={t('dashboard')}
description={`${t('dashboard')} Payload CMS`} description={`${t('dashboard')} Payload`}
keywords={`${t('dashboard')}, Payload CMS`} keywords={`${t('dashboard')}, Payload`}
/> />
<RenderCustomComponent <RenderCustomComponent
DefaultComponent={DefaultNav} DefaultComponent={DefaultNav}

View File

@@ -39,7 +39,7 @@ export async function generateTypes(): Promise<void> {
const jsonSchema = configToJsonSchema(config); const jsonSchema = configToJsonSchema(config);
compile(jsonSchema, 'Config', { compile(jsonSchema, 'Config', {
bannerComment: '/* tslint:disable */\n/**\n* This file was automatically generated by Payload CMS.\n* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,\n* and re-run `payload generate:types` to regenerate this file.\n*/', bannerComment: '/* tslint:disable */\n/**\n* This file was automatically generated by Payload.\n* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,\n* and re-run `payload generate:types` to regenerate this file.\n*/',
style: { style: {
singleQuote: true, singleQuote: true,
}, },

View File

@@ -1,6 +1,6 @@
import { EmailOptions } from '../config/types'; import { EmailOptions } from '../config/types';
export const defaults: EmailOptions = { export const defaults: EmailOptions = {
fromName: 'Payload CMS', fromName: 'Payload',
fromAddress: 'info@payloadcms.com', fromAddress: 'info@payloadcms.com',
}; };

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */

View File

@@ -1,6 +1,6 @@
/* tslint:disable */ /* tslint:disable */
/** /**
* This file was automatically generated by Payload CMS. * This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config, * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file. * and re-run `payload generate:types` to regenerate this file.
*/ */