@refinio/one.ui
    Preparing search index...
    • Ensure that the object data type matches the expected type

      Type Parameters

      • T

      Parameters

      • unknownObjectData: ObjectData<unknown>

        The object data to ensure the type of

      • type: string

        The expected type

      • supportedDataTypes: (
            | "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 supported data types

      Returns ObjectData<T>

      The object data with the expected type