chore: update frontend configuration

This commit is contained in:
Matthieu
2025-09-26 11:29:47 +02:00
parent b7caa4f552
commit a78938a4d1
64 changed files with 5790 additions and 5129 deletions

View File

@@ -5,7 +5,7 @@ import { useApi } from './useApi'
const machines = ref([])
const loading = ref(false)
export function useMachines() {
export function useMachines () {
const { showSuccess, showError, showInfo } = useToast()
const { get, post, patch, delete: del } = useApi()
@@ -45,7 +45,7 @@ export function useMachines() {
// Créer la machine avec la structure héritée du type
const machineWithStructure = {
...machineData,
typeMachineId: typeMachine.id,
typeMachineId: typeMachine.id
// La structure sera automatiquement héritée du type
// Les composants et pièces seront créés automatiquement
}