@dxos/echo
    Preparing search index...

    Variable makeConst

    make: (
        { spaceId, entityId }: {
            entityId?: Key.EntityId;
            spaceId?: Key.SpaceId;
        },
    ) => EID.EID

    Constructs an EID. Validates the result via parse.

    • { spaceId, entityId } → echo://<spaceId>/<entityId> (fully qualified)
    • { entityId } → echo:///<entityId> (local — current space)
    • { spaceId } → echo://<spaceId> (space-only)

    Throws if neither id is provided, or if the result is not a valid EID.

    Type declaration