feat: Implement duplicate event and product stores using Zustand with immer middleware
- Created `duplicateEventStore` to manage events with actions for adding, removing, updating events, points, actions, and triggers.
- Implemented helper functions to retrieve events, points, actions, and triggers by their unique identifiers.
- Created `duplicateProductStore` to manage products and their associated events, including actions for adding, removing, updating products, events, points, actions, and triggers.
- Added renaming functions for products, actions, and triggers.
- Included comprehensive helper functions to retrieve products and their related data by various identifiers.
2025-06-13 12:10:55 +00:00
|
|
|
import React from 'react'
|
|
|
|
import ProductsDuplicate from './duplicateProduct/duplicateProduct'
|
|
|
|
import PointsDuplicate from './duplicatePoint/duplicatePoint'
|
|
|
|
import TriggerDuplicate from './duplicateTrigger/duplicateTrigger'
|
|
|
|
|
2025-06-13 13:48:32 +00:00
|
|
|
function SimulationDuplicate() {
|
feat: Implement duplicate event and product stores using Zustand with immer middleware
- Created `duplicateEventStore` to manage events with actions for adding, removing, updating events, points, actions, and triggers.
- Implemented helper functions to retrieve events, points, actions, and triggers by their unique identifiers.
- Created `duplicateProductStore` to manage products and their associated events, including actions for adding, removing, updating products, events, points, actions, and triggers.
- Added renaming functions for products, actions, and triggers.
- Included comprehensive helper functions to retrieve products and their related data by various identifiers.
2025-06-13 12:10:55 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
|
|
|
|
<PointsDuplicate />
|
|
|
|
|
|
|
|
<TriggerDuplicate />
|
|
|
|
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default SimulationDuplicate
|