adk-typescript
Version:
TypeScript port of Google's Agent Development Kit (ADK)
15 lines (14 loc) • 395 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Part = void 0;
// Create a namespace with the same name as the interface to add static methods
var Part;
(function (Part) {
function fromBytes(data, mimeType) {
return {
data,
mimeType
};
}
Part.fromBytes = fromBytes;
})(Part || (exports.Part = Part = {}));