Variable defaultConst

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

    Type declaration

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

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

            • id: string

          Returns Promise<ReadStream>

          Read stream

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

          Parameters

          • simulation: {
                id: string;
            }

            Simulation

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

            Result

            • fileName: string
            • originPath: string

          Returns ReadStream

          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>

          New result

    Generated using TypeDoc and TypeDoc Airthium Plugin