@dolittle/sdk.protobuf
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
15 lines • 516 B
TypeScript
import { Guid } from '@dolittle/rudiments';
import { Uuid } from '@dolittle/contracts/Protobuf/Uuid_pb';
/**
* Convert a guid to protobuf representation.
* @param {Guid} guid - The GUID to convert.
* @returns {Uuid} The converted UUID.
*/
export declare function toProtobuf(guid: Guid): Uuid;
/**
* Convert an uuid to SDK representation.
* @param {Uuid} uuid - The UUID to convert.
* @returns {Guid} The converted GUID.
*/
export declare function toSDK(uuid?: Uuid): Guid;
//# sourceMappingURL=Guids.d.ts.map