@refinio/one.models
    Preparing search index...

    Interface IdObjectResult<T>

    IdObjectResult is analog to [V|Unv]ersionedObjectResult.

    One.core has no such type for onIdObj events.

    interface IdObjectResult<T extends OneIdObjectTypes = OneIdObjectTypes> {
        hash?: void;
        idHash: SHA256IdHash<OneVersionedObjectInterfaces[T["$type$"]]>;
        obj: T;
        status: FileCreationStatus;
        timestamp?: void;
    }

    Type Parameters

    • T extends OneIdObjectTypes = OneIdObjectTypes
    Index

    Properties

    hash?: void
    idHash: SHA256IdHash<OneVersionedObjectInterfaces[T["$type$"]]>
    obj: T
    status: FileCreationStatus
    timestamp?: void