Removed notes
This commit is contained in:
parent
fc921703cf
commit
f9517c4262
|
@ -1,20 +0,0 @@
|
|||
import { CollectionConfig } from "payload/types";
|
||||
import { Collections } from "../../constants";
|
||||
import { buildCollectionConfig } from "../../utils/collectionConfig";
|
||||
import { createEditor } from "../../utils/editor";
|
||||
|
||||
export const Notes: CollectionConfig = buildCollectionConfig({
|
||||
slug: Collections.Notes,
|
||||
labels: { singular: "Note", plural: "Notes" },
|
||||
admin: {
|
||||
// TODO: Reenable when we can use rich text as titles useAsTitle: fields.biography,
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
name: "note",
|
||||
type: "richText",
|
||||
required: true,
|
||||
editor: createEditor({ inlines: true, lists: true, links: true }),
|
||||
},
|
||||
],
|
||||
});
|
|
@ -5,9 +5,7 @@ import type { BreakBlock, Image, SectionBlock, TranscriptBlock } from "./types/c
|
|||
export enum Collections {
|
||||
ChronologyEvents = "chronology-events",
|
||||
Currencies = "currencies",
|
||||
Files = "files",
|
||||
Languages = "languages",
|
||||
Notes = "notes",
|
||||
Pages = "pages",
|
||||
PagesThumbnails = "pages-thumbnails",
|
||||
Recorders = "recorders",
|
||||
|
|
|
@ -46,7 +46,6 @@ export default buildConfig({
|
|||
Collectibles,
|
||||
Folders,
|
||||
ChronologyEvents,
|
||||
Notes,
|
||||
|
||||
Images,
|
||||
Videos,
|
||||
|
|
Loading…
Reference in New Issue