MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / serialize

Method serialize

framework/framework/api.ts:136–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 serialize() {
137 const result = {};
138 for (const key in APIS) {
139 result[key] = {
140 type: APIS[key].type,
141 input: APIS[key].input.toJSON(),
142 };
143 }
144 return result;
145 }
146
147 async execute(
148 context: ApiExecutionContext, callOrName: ApiCall<ApiType, any, any> | string,

Callers 2

serializerFunction · 0.45
projectionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected