default: { add: ( simulation: { name: string; project: string; scheme: object }, ) => Promise<INewSimulation>; del: (simulation: { id: string }) => Promise<void>; get: <T extends TSimulationGet>( id: string, data: T, ) => Promise<undefined | ISimulation<T>>; getAll: <T extends TSimulationGet>(data: T) => Promise<ISimulation<T>[]>; update: (simulation: { id: string }, data: any[]) => Promise<void>;} = ... Type declaration
add: (
simulation: { name: string; project: string; scheme: object },
) => Promise<INewSimulation>
del: (simulation: { id: string }) => Promise<void>
get: <T extends TSimulationGet>(
id: string,
data: T,
) => Promise<undefined | ISimulation<T>>
update: (simulation: { id: string }, data: any[]) => Promise<void>