"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toQueryResult = toQueryResult;
function toQueryResult(value) {
    const result = {
        data: value.data,
    };
    if (value.error) {
        result.error = value.error;
    }
    return result;
}
//# sourceMappingURL=toQueryResult.cjs.map
