feat: activate payload cms collections
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
// payload/collections/Services.ts
|
||||
// Schéma Payload CMS pour les services OBC Maçonnerie.
|
||||
// COMMENTÉ — activé lors de la migration vers Payload.
|
||||
//
|
||||
// Pour activer : décommenter et importer dans payload.config.ts
|
||||
|
||||
/*
|
||||
import type { CollectionConfig } from 'payload'
|
||||
|
||||
export const Services: CollectionConfig = {
|
||||
@@ -58,21 +51,8 @@ export const Services: CollectionConfig = {
|
||||
{
|
||||
name: 'order',
|
||||
type: 'number',
|
||||
label: 'Ordre d\'affichage',
|
||||
label: "Ordre d'affichage",
|
||||
defaultValue: 0,
|
||||
},
|
||||
],
|
||||
}
|
||||
*/
|
||||
|
||||
// Type exporté pour l'autocomplétion — reste actif même sans Payload
|
||||
export type PayloadService = {
|
||||
id: string;
|
||||
slug: string;
|
||||
title: string;
|
||||
shortDescription: string;
|
||||
longDescription: string;
|
||||
icon: string;
|
||||
keywords: { keyword: string }[];
|
||||
order: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user