openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines (10 loc) • 367 B
JavaScript
import { Type } from "typebox";
//#region packages/gateway-protocol/src/schema/closed-object.ts
const identityKey = "~openclawClosedObjectIdentity";
function closedObject(e) {
const t = Type.Object(e, { additionalProperties: false });
Object.defineProperty(t, identityKey, { value: Symbol("closedObject") });
return t;
}
//#endregion
export { closedObject as t };