Tanatloc documentation
    Preparing search index...

    Variable defaultConst

    default: {
        add: (
            project: { id: string },
            geometry: { buffer: Buffer; name: string; uid: string },
        ) => Promise<INewGeometryWithData>;
        archive: (geometry: { id: string }, to: string) => Promise<void>;
        del: (
            geometry: { brep?: string; glb?: string; id: string },
        ) => Promise<void>;
        get: <T extends TGeometryGet>(
            id: string,
            data: T,
        ) => Promise<IGeometry<T> | undefined>;
        read: (geometry: { id: string }) => Promise<IGeometryFile>;
        readPart: (geometry: { id: string }) => Promise<IGeometryPart>;
        splitStep: (
            project: { id: string },
            geometry: { id: string },
        ) => Promise<string>;
        update: (geometry: { id: string }, data: any[]) => Promise<void>;
    } = ...

    Type Declaration

    • add: (
          project: { id: string },
          geometry: { buffer: Buffer; name: string; uid: string },
      ) => Promise<INewGeometryWithData>

      Add

    • archive: (geometry: { id: string }, to: string) => Promise<void>

      Archive geometry

    • del: (geometry: { brep?: string; glb?: string; id: string }) => Promise<void>

      Delete

    • get: <T extends TGeometryGet>(
          id: string,
          data: T,
      ) => Promise<IGeometry<T> | undefined>

      Get

    • read: (geometry: { id: string }) => Promise<IGeometryFile>

      Read

    • readPart: (geometry: { id: string }) => Promise<IGeometryPart>

      Read part

    • splitStep: (project: { id: string }, geometry: { id: string }) => Promise<string>

      Split step

    • update: (geometry: { id: string }, data: any[]) => Promise<void>

      Update geometry