@refinio/one.ui
    Preparing search index...
    • Export data using command pattern to handle different data types

      Parameters

      • iterator: AsyncIterableIterator<ObjectData<unknown>>

        The iterator to export data from

      • dataTypes: (
            | "Keys"
            | "VersionNodeEdge"
            | "VersionNodeChange"
            | "VersionNodeMerge"
            | "License"
            | "OneInstanceEndpoint"
            | "Email"
            | "PhoneNumber"
            | "PersonName"
            | "ProfileImage"
            | "PersonStatus"
            | "PersonImage"
            | "SignKey"
            | "EncryptionKey"
            | "OrganisationName"
            | "CreationTime"
            | "LinkedListEntry"
            | "Questionnaire_2_0_0"
            | "Questionnaire_2_1_0"
            | "Questionnaire_2_1_1"
            | "Questionnaire"
            | "QuestionnaireResponses"
            | "QuestionnaireResponses_2_0_0"
            | "WbcObservation"
            | "DocumentInfo"
            | "DocumentInfo_1_1_0"
            | "BodyTemperature"
            | "DiaryEntry"
            | "BlobCollection"
            | "BlobDescriptor"
            | "Electrocardiogram"
            | "HeartEvent"
            | "ChatMessage"
            | "ChatRequest"
            | "Topic"
            | "Consent_1_1_0"
            | "Signature"
            | "IoMRequest"
            | "AffirmationCertificate"
            | "TrustKeysCertificate"
            | "RightToDeclareTrustedKeysForEverybodyCertificate"
            | "RightToDeclareTrustedKeysForSelfCertificate"
            | "Access"
            | "Chum"
            | "Group"
            | "IdAccess"
            | "Instance"
            | "Person"
            | "Recipe"
            | "Profile"
            | "ChannelInfo"
            | "ChannelRegistry"
            | "GroupProfile"
            | "Someone"
            | "TopicAppRegistry"
        )[]

        The data types to export

      • exportTypes: Exporters

        The export types

      • Optionaloptions: { filename?: string; limit?: number } & ExporterOptions

        The options for the export

        • Optionalfilename?: string

          The filename to export the data as

        • Optionallimit?: number

          The limit on the number of data to export

      Returns Promise<void>