MCPcopy
hub / github.com/di-sukharev/opencommit / transform

Method transform

out/cli.cjs:29768–29775  ·  view source on GitHub ↗
(transform)

Source from the content-addressed store, hash-verified

29766 return ZodIntersection.create(this, incoming, this._def);
29767 }
29768 transform(transform) {
29769 return new ZodEffects({
29770 ...processCreateParams(this._def),
29771 schema: this,
29772 typeName: ZodFirstPartyTypeKind.ZodEffects,
29773 effect: { type: "transform", transform }
29774 });
29775 }
29776 default(def) {
29777 const defaultValueFunc = typeof def === "function" ? def : () => def;
29778 return new ZodDefault({

Calls 1

processCreateParamsFunction · 0.85

Tested by

no test coverage detected