feat: Gestion du planning [3]

This commit is contained in:
Luc SORIGNET
2025-05-03 15:12:17 +02:00
parent cb4fe74a9e
commit 58144ba0d0
39 changed files with 939 additions and 1864 deletions

View File

@ -1,30 +0,0 @@
export const WEEKDAYS = [
{ id: 1, name: 'Lundi' },
{ id: 2, name: 'Mardi' },
{ id: 3, name: 'Mercredi' },
{ id: 4, name: 'Jeudi' },
{ id: 5, name: 'Vendredi' },
{ id: 6, name: 'Samedi' },
{ id: 7, name: 'Dimanche' },
];
export const DEFAULT_EVENT = {
title: '',
description: '',
start: '',
end: '',
location: '',
planning: 'default',
color: '#10b981',
recurrence: 'none',
selectedDays: [],
recurrenceEnd: '',
};
export const VIEW_TYPES = {
WEEK: 'week',
MONTH: 'month',
YEAR: 'year',
};
export const TIME_SLOTS = Array.from({ length: 24 }, (_, i) => i);