Variable defaultConst

    default: {
        add: ((simulation: {
            name: string;
            project: string;
            scheme: object;
        }) => Promise<INewSimulation>);
        del: ((simulation: {
            id: string;
        }) => Promise<void>);
        get: (<T>(id: string, data: T) => Promise<undefined | ISimulation<T>>);
        getAll: (<T>(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>)
        • (simulation): Promise<INewSimulation>
        • Add

          Parameters

          • simulation: {
                name: string;
                project: string;
                scheme: object;
            }

            Simulation

            • name: string
            • project: string
            • scheme: object

          Returns Promise<INewSimulation>

          New simulation

    • del: ((simulation: {
          id: string;
      }) => Promise<void>)
        • (simulation): Promise<void>
        • Delete

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string

          Returns Promise<void>

    • get: (<T>(id: string, data: T) => Promise<undefined | ISimulation<T>>)
    • getAll: (<T>(data: T) => Promise<ISimulation<T>[]>)
    • update: ((simulation: {
          id: string;
      }, data: any[]) => Promise<void>)
        • (simulation, data): Promise<void>
        • Update

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string
          • data: any[]

            Data

          Returns Promise<void>

    Generated using TypeDoc and TypeDoc Airthium Plugin