Use simulations

  • Parameters

    • Optionalids: string[]

      [Simulations ids]

    Returns [
        IFrontSimulations,
        {
            addOneSimulation: (simulation: IFrontNewSimulation) => Promise<void>;
            delOneSimulation: (
                simulation: IFrontMutateSimulationsItem,
            ) => Promise<void>;
            errorSimulations: Error;
            loadingSimulations: boolean;
            mutateOneSimulation: (
                simulation: IFrontMutateSimulationsItem,
                revalidate?: boolean,
            ) => Promise<void>;
        },
    ]

    Simulations