Variable defaultConst

    default: {
        archive: ((simulation: {
            id: string;
        }) => Promise<ICallResponse>);
        download: ((simulation: {
            id: string;
        }, result: {
            fileName: string;
            originPath: string;
        }) => Promise<ICallResponse>);
        load: ((simulation: {
            id: string;
        }, result: {
            glb: string;
            originPath: string;
        }) => Promise<IGeometryPart>);
    } = ...

    Type declaration

    • archive: ((simulation: {
          id: string;
      }) => Promise<ICallResponse>)
        • (simulation): Promise<ICallResponse>
        • Archive

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string

          Returns Promise<ICallResponse>

          Archive read stream

    • download: ((simulation: {
          id: string;
      }, result: {
          fileName: string;
          originPath: string;
      }) => Promise<ICallResponse>)
        • (simulation, result): Promise<ICallResponse>
        • Download

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string
          • result: {
                fileName: string;
                originPath: string;
            }

            Result

            • fileName: string
            • originPath: string

          Returns Promise<ICallResponse>

          Download read stream

    • load: ((simulation: {
          id: string;
      }, result: {
          glb: string;
          originPath: string;
      }) => Promise<IGeometryPart>)
        • (simulation, result): Promise<IGeometryPart>
        • Load

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string
          • result: {
                glb: string;
                originPath: string;
            }

            Result

            • glb: string
            • originPath: string

          Returns Promise<IGeometryPart>

          Result

    Generated using TypeDoc and TypeDoc Airthium Plugin