Type alias AddExternalTreeParams

AddExternalTreeParams: {
    componentSubtype: ResearchObjectComponentSubtypes;
    componentType: ResearchObjectComponentType;
    contextPath: string;
    externalCids: {
        cid: string;
        name: string;
    }[];
    uuid: string;
}

Parameters requried for adding an externally pinned file or UnixFS tree

Type declaration

  • componentSubtype: ResearchObjectComponentSubtypes

    The subtype of the imported data

  • componentType: ResearchObjectComponentType

    The type of the imported data

  • contextPath: string

    The absolute path in the drive where the entries should be

  • externalCids: {
        cid: string;
        name: string;
    }[]

    Which external CIDs to include, and their associated names in the drive

  • uuid: string

    The node to add the data to

Generated using TypeDoc