MCPcopy Create free account
hub / github.com/AnswerOverflow/AnswerOverflow / stripPrivateChannelData

Function stripPrivateChannelData

packages/core/src/permissions.ts:94–96  ·  view source on GitHub ↗
(channel: ChannelWithFlags)

Source from the content-addressed store, hash-verified

92}
93
94export function stripPrivateChannelData(channel: ChannelWithFlags) {
95 return zChannelPublic.parse(channel);
96}
97
98export function stripPrivateServerData(server: ServerWithFlags) {
99 return zServerPublic.parse(server);

Callers 3

findMessageResultPageFunction · 0.90
messages.tsFile · 0.90

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected