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

Method create

out/cli.cjs:31915–31930  ·  view source on GitHub ↗
(first, second, third)

Source from the content-addressed store, hash-verified

31913 return this._def.valueType;
31914 }
31915 static create(first, second, third) {
31916 if (second instanceof ZodType) {
31917 return new _ZodRecord({
31918 keyType: first,
31919 valueType: second,
31920 typeName: ZodFirstPartyTypeKind.ZodRecord,
31921 ...processCreateParams(third)
31922 });
31923 }
31924 return new _ZodRecord({
31925 keyType: ZodString.create(),
31926 valueType: first,
31927 typeName: ZodFirstPartyTypeKind.ZodRecord,
31928 ...processCreateParams(second)
31929 });
31930 }
31931 };
31932 exports2.ZodRecord = ZodRecord;
31933 var ZodMap = class extends ZodType {

Callers

nothing calls this directly

Calls 2

processCreateParamsFunction · 0.85
createMethod · 0.45

Tested by

no test coverage detected