MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / createChannelWithDeps

Function createChannelWithDeps

packages/core/src/channel.ts:298–306  ·  view source on GitHub ↗
(
	data: z.infer<typeof zChannelCreateWithDeps>,
)

Source from the content-addressed store, hash-verified

296}
297
298export async function createChannelWithDeps(
299 data: z.infer<typeof zChannelCreateWithDeps>,
300) {
301 await upsertServer(data.server);
302 return createChannel({
303 serverId: data.server.create.id,
304 ...omit(data, 'server'),
305 });
306}
307
308export function upsertChannel(data: z.infer<typeof zChannelUpsert>) {
309 return upsert({

Callers

nothing calls this directly

Calls 3

upsertServerFunction · 0.90
omitFunction · 0.90
createChannelFunction · 0.85

Tested by

no test coverage detected