mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 10:26:52 -06:00
Just a commit point while I'm testing stuff. Already decided at this point to simplify and revert away from PayloadCMS.
21 lines
329 B
TypeScript
21 lines
329 B
TypeScript
import type { CollectionConfig } from "payload";
|
|
|
|
export const Technologies: CollectionConfig = {
|
|
slug: "technologies",
|
|
admin: {
|
|
useAsTitle: "name",
|
|
},
|
|
fields: [
|
|
{
|
|
name: "name",
|
|
type: "text",
|
|
required: true,
|
|
},
|
|
{
|
|
name: "url",
|
|
type: "text",
|
|
label: "URL",
|
|
},
|
|
],
|
|
};
|